Skip to content

Commit

Permalink
various changes and chores
Browse files Browse the repository at this point in the history
  • Loading branch information
mhawkinsbasis committed Oct 2, 2023
1 parent 8981e6d commit fa41e42
Show file tree
Hide file tree
Showing 26 changed files with 42 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Chip from '@mui/material/Chip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-button" href="https://basishub.github.io/basis-next/#/web-components/bbj-button" clickable={true} iconName='code'/>
<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-button" href="https://basishub.github.io/basis-next/#/web-components/bbj-button" clickable={false} iconName='code'/>


<JavadocLink type="engine" location="org/dwcj/component/button/Button" top='true'/>
Expand Down
2 changes: 1 addition & 1 deletion docs/components/checkbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import DocChip from '@site/src/components/DocsTools/DocChip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-checkbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-checkbox" clickable={true} iconName='code'/>
<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-checkbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-checkbox" clickable={false} iconName='code'/>

<JavadocLink type="engine" location="org/dwcj/component/optioninput/CheckBox" top='true'/>

Expand Down
9 changes: 0 additions & 9 deletions docs/components/common-events.md

This file was deleted.

5 changes: 3 additions & 2 deletions docs/components/events/_category_.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"label": "Events",
"position": 10,
"position": 1000000,
"link": {
"type": "generated-index"
"type": "doc",
"id": "event"
},
"className": "sidebar--item__hidden"
}
1 change: 1 addition & 0 deletions docs/components/events/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sidebar_position: 0
title: Event
sidebar_class_name: sidebar--item__hidden
slug: event
pagination_prev: null
---

import JavadocLink from '@site/src/components/DocsTools/JavadocLink';
Expand Down
1 change: 1 addition & 0 deletions docs/components/events/uncheck-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sidebar_position: 0
title: UncheckEvent
sidebar_class_name: sidebar--item__hidden
slug: UncheckEvent
pagination_next: null
---

import JavadocLink from '@site/src/components/DocsTools/JavadocLink';
Expand Down
2 changes: 1 addition & 1 deletion docs/components/fields/color-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import DocChip from '@site/src/components/DocsTools/DocChip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={true} iconName='code'/>
<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={false} iconName='code'/>

<JavadocLink type="engine" location="org/dwcj/component/field/ColorField" top='true'/>

Expand Down
2 changes: 1 addition & 1 deletion docs/components/fields/date-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import DocChip from '@site/src/components/DocsTools/DocChip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={true} iconName='code'/>
<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={false} iconName='code'/>

<JavadocLink type="engine" location="org/dwcj/component/field/DateField" top='true'/>

Expand Down
6 changes: 6 additions & 0 deletions docs/components/fields/date-time-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ slug: datetimefield
import ComponentDemo from '@site/src/components/DocsTools/ComponentDemo';
import TableBuilder from '@site/src/components/DocsTools/TableBuilder';
import JavadocLink from '@site/src/components/DocsTools/JavadocLink';
import DocChip from '@site/src/components/DocsTools/DocChip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={false} iconName='code'/>


<JavadocLink type="engine" location="org/dwcj/component/field/DateTimeField" top='true'/>

Expand Down
5 changes: 5 additions & 0 deletions docs/components/fields/number-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ slug: numberfield
import ComponentDemo from '@site/src/components/DocsTools/ComponentDemo';
import TableBuilder from '@site/src/components/DocsTools/TableBuilder';
import JavadocLink from '@site/src/components/DocsTools/JavadocLink';
import DocChip from '@site/src/components/DocsTools/DocChip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={false} iconName='code'/>

<JavadocLink type="engine" location="org/dwcj/component/field/NumberField" top='true' />

Expand Down
5 changes: 5 additions & 0 deletions docs/components/fields/password-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ slug: passwordfield
import ComponentDemo from '@site/src/components/DocsTools/ComponentDemo';
import TableBuilder from '@site/src/components/DocsTools/TableBuilder';
import JavadocLink from '@site/src/components/DocsTools/JavadocLink';
import DocChip from '@site/src/components/DocsTools/DocChip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={false} iconName='code'/>

<JavadocLink type="engine" location="org/dwcj/component/field/PasswordField" top='true'/>

Expand Down
5 changes: 5 additions & 0 deletions docs/components/fields/text-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ slug: textfield
import ComponentDemo from '@site/src/components/DocsTools/ComponentDemo';
import TableBuilder from '@site/src/components/DocsTools/TableBuilder';
import JavadocLink from '@site/src/components/DocsTools/JavadocLink';
import DocChip from '@site/src/components/DocsTools/DocChip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={false} iconName='code'/>

<JavadocLink type="engine" location="org/dwcj/component/field/TextField" top='true'/>

Expand Down
5 changes: 5 additions & 0 deletions docs/components/fields/time-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ slug: timefield
import ComponentDemo from '@site/src/components/DocsTools/ComponentDemo';
import TableBuilder from '@site/src/components/DocsTools/TableBuilder';
import JavadocLink from '@site/src/components/DocsTools/JavadocLink';
import DocChip from '@site/src/components/DocsTools/DocChip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-editbox" href="https://basishub.github.io/basis-next/#/web-components/bbj-editbox" clickable={false} iconName='code'/>

<JavadocLink type="engine" location="org/dwcj/component/field/TimeField" top='true'/>

Expand Down
2 changes: 1 addition & 1 deletion docs/components/radio-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Chip from '@mui/material/Chip';

<DocChip tooltipText="This component will render with a shadow DOM, an API built into the browser that facilitates encapsulation." label="Shadow" component="a" href="../glossary#shadow-dom" target="_blank" clickable={true} iconName="shadow" />

<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-radio" href="https://basishub.github.io/basis-next/#/dwc/BBjRadioButton" clickable={true} iconName='code'/>
<DocChip tooltipText="The name of the web component that will render in the DOM." label="bbj-radio" href="https://basishub.github.io/basis-next/#/dwc/BBjRadioButton" clickable={false} iconName='code'/>

<JavadocLink type="engine" location="org/dwcj/component/optioninput/RadioButton" top='true'/>

Expand Down
1 change: 1 addition & 0 deletions docs/components/text-area.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
sidebar_position: 140
title: TextArea
pagination_next: "styling/styling_intro"
---

import ComponentDemo from '@site/src/components/DocsTools/ComponentDemo';
Expand Down
2 changes: 1 addition & 1 deletion docs/styling/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"position": 7,
"link": {
"type": "doc",
"id" : "getting_started"
"id" : "styling/styling_intro"
}
}

2 changes: 2 additions & 0 deletions docs/styling/getting_started.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
sidebar_position: 1
displayed_sidebar: documentationSidebar
id: "styling_intro"
pagination_prev: "components/text-area"
---

# Styling
Expand Down
2 changes: 1 addition & 1 deletion src/components/DocsTools/ComponentCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function ComponentCard({ imagePath, title, description, link}) {
`

const imageStyles = css`
width: 200px;
width: 250px;
height: 150px;
object-fit: contain;
margin: 0 0 5px -3px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/DocsTools/DocChip.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function DocChip( { label, href, clickable, iconName, tooltipText

return (
<Tooltip title={tooltipText} arrow css={mainStyles}>
<Chip label={label} component="a" href={href} icon={icon} clickable color={color} target="_blank" />
<Chip label={label} component="a" href={clickable ? href : null} icon={icon} clickable={clickable} color={color} target="_blank" />
</Tooltip>
)
}
Binary file modified static/img/component_images/button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/component_images/checkbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/component_images/choicebox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/component_images/combobox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/component_images/combobox2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fa41e42

Please sign in to comment.