@aurodesignsystem-dev/auro-formkit 0.0.0-pr622.1 → 0.0.0-pr624.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +2 -2
- package/components/bibtemplate/dist/registered.js +2 -2
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +14 -3
- package/components/checkbox/demo/index.min.js +14 -3
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +5 -1
- package/components/checkbox/dist/index.js +14 -3
- package/components/checkbox/dist/registered.js +14 -3
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/api.md +3 -0
- package/components/combobox/demo/api.min.js +1479 -395
- package/components/combobox/demo/index.html +2 -0
- package/components/combobox/demo/index.md +75 -0
- package/components/combobox/demo/index.min.js +1479 -395
- package/components/combobox/demo/readme.md +1 -1
- package/components/combobox/dist/auro-combobox.d.ts +19 -9
- package/components/combobox/dist/index.js +1471 -387
- package/components/combobox/dist/registered.js +1471 -387
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +433 -104
- package/components/counter/demo/index.min.js +433 -104
- package/components/counter/demo/readme.md +1 -1
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +433 -104
- package/components/counter/dist/registered.js +433 -104
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/api.min.js +1157 -376
- package/components/datepicker/demo/index.min.js +1157 -376
- package/components/datepicker/demo/readme.md +1 -1
- package/components/datepicker/dist/index.js +1156 -375
- package/components/datepicker/dist/registered.js +1156 -375
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +59 -35
- package/components/dropdown/demo/api.min.js +361 -88
- package/components/dropdown/demo/index.md +52 -0
- package/components/dropdown/demo/index.min.js +361 -88
- package/components/dropdown/demo/readme.md +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +70 -21
- package/components/dropdown/dist/index.js +331 -58
- package/components/dropdown/dist/registered.js +331 -58
- package/components/dropdown/dist/styles/default/style-css.d.ts +2 -0
- package/components/dropdown/dist/styles/emphasized/style-css.d.ts +2 -0
- package/components/dropdown/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/dropdown/dist/styles/snowflake/style-css.d.ts +2 -0
- package/components/form/README.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/input/README.md +2 -2
- package/components/input/demo/api.md +76 -64
- package/components/input/demo/api.min.js +747 -295
- package/components/input/demo/index.html +1 -1
- package/components/input/demo/index.md +49 -4
- package/components/input/demo/index.min.js +747 -295
- package/components/input/demo/readme.md +2 -2
- package/components/input/dist/auro-input.d.ts +97 -3
- package/components/input/dist/base-input.d.ts +36 -18
- package/components/input/dist/index.js +681 -229
- package/components/input/dist/registered.js +681 -229
- package/components/input/dist/styles/classic/color-css.d.ts +2 -0
- package/components/input/dist/styles/classic/style-css.d.ts +2 -0
- package/components/input/dist/styles/default/borders-css.d.ts +2 -0
- package/components/input/dist/styles/default/color-css.d.ts +2 -0
- package/components/input/dist/styles/default/input-css.d.ts +2 -0
- package/components/input/dist/styles/default/label-css.d.ts +2 -0
- package/components/input/dist/styles/default/mixins-css.d.ts +2 -0
- package/components/input/dist/styles/default/notificationIcons-css.d.ts +2 -0
- package/components/input/dist/styles/default/style-css.d.ts +2 -0
- package/components/input/dist/styles/emphasized/color-css.d.ts +2 -0
- package/components/input/dist/styles/emphasized/style-css.d.ts +2 -0
- package/components/input/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/input/dist/styles/snowflake/style-css.d.ts +2 -0
- package/components/layoutElement/dist/auroElement.d.ts +34 -0
- package/components/layoutElement/dist/index.d.ts +1 -0
- package/components/layoutElement/dist/index.js +1 -0
- package/components/layoutElement/dist/registered.js +1 -0
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.min.js +2 -2
- package/components/menu/demo/index.min.js +2 -2
- package/components/menu/demo/readme.md +1 -1
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +2 -2
- package/components/menu/dist/registered.js +2 -2
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.md +8 -0
- package/components/radio/demo/api.min.js +13 -5
- package/components/radio/demo/index.min.js +13 -5
- package/components/radio/demo/readme.md +1 -1
- package/components/radio/dist/auro-radio.d.ts +4 -0
- package/components/radio/dist/index.js +13 -5
- package/components/radio/dist/registered.js +13 -5
- package/components/select/README.md +1 -1
- package/components/select/demo/api.html +15 -0
- package/components/select/demo/api.md +178 -0
- package/components/select/demo/api.min.js +403 -62
- package/components/select/demo/index.html +15 -0
- package/components/select/demo/index.md +177 -0
- package/components/select/demo/index.min.js +403 -62
- package/components/select/demo/readme.md +1 -1
- package/components/select/dist/auro-select.d.ts +27 -0
- package/components/select/dist/index.js +400 -58
- package/components/select/dist/registered.js +400 -58
- package/package.json +2 -2
- /package/components/{dropdown/dist/styles/bibColors-css.d.ts → combobox/dist/styles/emphasized/style-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/bibStyles-css.d.ts → combobox/dist/styles/snowflake/style-css.d.ts} +0 -0
- /package/components/{input/dist/styles/borders-css.d.ts → dropdown/dist/styles/default/bibColors-css.d.ts} +0 -0
- /package/components/{input/dist/styles/label-css.d.ts → dropdown/dist/styles/default/bibStyles-css.d.ts} +0 -0
- /package/components/{input/dist/styles/notificationIcons-css.d.ts → dropdown/dist/styles/default/color-css.d.ts} +0 -0
|
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
107
107
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
108
108
|
|
|
109
109
|
```html
|
|
110
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@
|
|
110
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@latest/auro-dropdown/+esm"></script>
|
|
111
111
|
```
|
|
112
112
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
113
|
|
|
@@ -7,36 +7,43 @@
|
|
|
7
7
|
|
|
8
8
|
| Attribute | Type | Description |
|
|
9
9
|
|--------------------|-------------|--------------------------------------------------|
|
|
10
|
+
| [bordered](#bordered) | ` Boolean ` | If declared, applies a border around the trigger slot. |
|
|
10
11
|
| [disableEventShow](#disableEventShow) | ` Boolean ` | If declared, the dropdown will only show by calling the API .show() public method. |
|
|
11
12
|
|
|
12
13
|
## Properties
|
|
13
14
|
|
|
14
|
-
| Property | Attribute | Type
|
|
15
|
-
|
|
16
|
-
| `a11yAutocomplete` | | `string`
|
|
17
|
-
| `a11yRole` | |
|
|
18
|
-
| [autoPlacement](#autoPlacement) | `autoPlacement` | `boolean`
|
|
19
|
-
| [
|
|
20
|
-
| [
|
|
21
|
-
| [
|
|
22
|
-
| [
|
|
23
|
-
| [
|
|
24
|
-
| [
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
27
|
-
| [
|
|
28
|
-
| [
|
|
29
|
-
| [
|
|
30
|
-
| [
|
|
31
|
-
| [
|
|
32
|
-
| [
|
|
33
|
-
| [
|
|
34
|
-
| [
|
|
35
|
-
| [
|
|
36
|
-
| [
|
|
37
|
-
| [
|
|
38
|
-
| [
|
|
39
|
-
| [
|
|
15
|
+
| Property | Attribute | Modifiers | Type | Default | Description |
|
|
16
|
+
|-------------------------|-------------------------|-----------|--------------------------------------------------|----------------|--------------------------------------------------|
|
|
17
|
+
| `a11yAutocomplete` | | | `string` | | The value for the aria-autocomplete attribute of the trigger element. |
|
|
18
|
+
| `a11yRole` | | | | | The value for the role attribute of the trigger element. |
|
|
19
|
+
| [autoPlacement](#autoPlacement) | `autoPlacement` | | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
20
|
+
| [chevron](#chevron) | `chevron` | | ` Boolean ` | | If declared, the dropdown displays a chevron on the right. |
|
|
21
|
+
| [common](#common) | `common` | | ` Boolean ` | | If declared, the dropdown will be styled with the common theme. |
|
|
22
|
+
| [commonLabelClasses](#commonLabelClasses) | | readonly | `object` | | |
|
|
23
|
+
| [commonWrapperClasses](#commonWrapperClasses) | | readonly | `{ trigger: boolean; wrapper: boolean; hasFocus: boolean \| undefined; simple: boolean \| undefined; }` | | |
|
|
24
|
+
| [disabled](#disabled) | `disabled` | | ` Boolean ` | | If declared, the dropdown is not interactive. |
|
|
25
|
+
| [error](#error) | `error` | | ` Boolean ` | | If declared in combination with not using the `simple` property or `helpText` slot content, will apply red color to both. |
|
|
26
|
+
| [errorMessage](#errorMessage) | `errorMessage` | | `string` | "" | Contains the help text message for the current validity error. |
|
|
27
|
+
| [fluid](#fluid) | `fluid` | | `Boolean` | | Makes the trigger to be full width of its parent container. |
|
|
28
|
+
| [focusShow](#focusShow) | `focusShow` | | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
|
|
29
|
+
| [fullscreenBreakpoint](#fullscreenBreakpoint) | `fullscreenBreakpoint` | | ` String ` | "sm" | Defines the screen size breakpoint (`xs`, `sm`, `md`, `lg`, `xl`, `disabled`)<br />at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.<br /><br />When expanded, the dropdown will automatically display in fullscreen mode<br />if the screen size is equal to or smaller than the selected breakpoint. |
|
|
30
|
+
| [hoverToggle](#hoverToggle) | `hoverToggle` | | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
|
|
31
|
+
| [inset](#inset) | `inset` | | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
|
|
32
|
+
| [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open. |
|
|
33
|
+
| [isPopoverVisible](#isPopoverVisible) | `isPopoverVisible` | | ` Boolean ` | false | If true, the dropdown bib is displayed. |
|
|
34
|
+
| [layout](#layout) | | | `string` | "default" | |
|
|
35
|
+
| [matchWidth](#matchWidth) | `matchWidth` | | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
|
|
36
|
+
| [noFlip](#noFlip) | `noFlip` | | `boolean` | "false" | If declared, the bib will NOT flip to an alternate position<br />when there isn't enough space in the specified `placement`. |
|
|
37
|
+
| [noHideOnThisFocusLoss](#noHideOnThisFocusLoss) | `noHideOnThisFocusLoss` | | ` Boolean ` | false | If declared, the dropdown will not hide when moving focus outside the element. |
|
|
38
|
+
| [noToggle](#noToggle) | `noToggle` | | ` Boolean ` | | If declared, the trigger will only show the dropdown bib. |
|
|
39
|
+
| [offset](#offset) | `offset` | | `number` | "0" | Gap between the trigger element and bib. |
|
|
40
|
+
| [onDark](#onDark) | `onDark` | | `boolean` | | If declared, onDark styles will be applied. |
|
|
41
|
+
| [onSlotChange](#onSlotChange) | `onSlotChange` | | | | |
|
|
42
|
+
| [placement](#placement) | `placement` | | `string` | "bottom-start" | Position where the bib should appear relative to the trigger. |
|
|
43
|
+
| [rounded](#rounded) | `rounded` | | ` Boolean ` | | If declared, will apply border-radius to trigger and default slots. |
|
|
44
|
+
| [shape](#shape) | | | `string` | "rounded" | |
|
|
45
|
+
| [simple](#simple) | `simple` | | `boolean` | | If declared, applies a border around the trigger slot. |
|
|
46
|
+
| [size](#size) | | | `string` | "xl" | |
|
|
40
47
|
|
|
41
48
|
## Methods
|
|
42
49
|
|
|
@@ -1417,18 +1424,35 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1417
1424
|
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
1418
1425
|
|
|
1419
1426
|
```scss
|
|
1420
|
-
@
|
|
1421
|
-
@
|
|
1427
|
+
@use "@aurodesignsystem/design-tokens/dist/alaska/SCSSVariables--alaska" as v;
|
|
1428
|
+
@use "@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables" as vac;
|
|
1422
1429
|
|
|
1423
|
-
:host {
|
|
1424
|
-
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #{
|
|
1425
|
-
--ds-auro-dropdown-trigger-
|
|
1430
|
+
:host(:not([ondark])) {
|
|
1431
|
+
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1432
|
+
--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1433
|
+
--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1426
1434
|
--ds-auro-dropdown-trigger-border-color: transparent;
|
|
1427
1435
|
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
1428
|
-
--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #{
|
|
1429
|
-
--ds-auro-
|
|
1430
|
-
--ds-auro-dropdownbib-
|
|
1431
|
-
--ds-auro-dropdownbib-
|
|
1436
|
+
--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1437
|
+
--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1438
|
+
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
1439
|
+
--ds-auro-dropdownbib-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1440
|
+
--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1441
|
+
--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-default, #{v.$ds-basic-color-texticon-default});
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
:host([ondark]) {
|
|
1445
|
+
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #{v.$ds-basic-color-texticon-inverse-muted});
|
|
1446
|
+
--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1447
|
+
--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1448
|
+
--ds-auro-dropdown-trigger-border-color: transparent;
|
|
1449
|
+
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
1450
|
+
--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
|
|
1451
|
+
--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
|
|
1452
|
+
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
1453
|
+
--ds-auro-dropdownbib-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1454
|
+
--ds-auro-dropdownbib-container-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1455
|
+
--ds-auro-dropdownbib-text-color: var(--ds-basic-color-texticon-inverse, #{v.$ds-basic-color-texticon-inverse});
|
|
1432
1456
|
}
|
|
1433
1457
|
```
|
|
1434
1458
|
<!-- AURO-GENERATED-CONTENT:END -->
|