@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.5 → 0.0.0-pr624.50
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/auro-bibtemplate.d.ts +13 -2
- package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1292 -79
- package/components/bibtemplate/dist/registered.js +1292 -79
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.md +47 -14
- package/components/checkbox/demo/api.min.js +47 -34
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +47 -34
- 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 +3 -3
- package/components/checkbox/dist/index.js +47 -34
- package/components/checkbox/dist/registered.js +47 -34
- package/components/combobox/demo/api.md +112 -8
- package/components/combobox/demo/api.min.js +3203 -760
- package/components/combobox/demo/index.md +6 -30
- package/components/combobox/demo/index.min.js +3203 -760
- package/components/combobox/dist/auro-combobox.d.ts +37 -16
- package/components/combobox/dist/index.js +3093 -791
- package/components/combobox/dist/registered.js +3093 -791
- package/components/counter/demo/api.html +1 -0
- package/components/counter/demo/api.md +29 -21
- package/components/counter/demo/api.min.js +3332 -615
- package/components/counter/demo/index.html +1 -0
- package/components/counter/demo/index.md +103 -34
- package/components/counter/demo/index.min.js +3332 -615
- package/components/counter/dist/auro-counter-button.d.ts +2 -0
- package/components/counter/dist/auro-counter-group.d.ts +90 -7
- package/components/counter/dist/auro-counter.d.ts +6 -0
- package/components/counter/dist/helptextVersion.d.ts +2 -0
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +3332 -615
- package/components/counter/dist/registered.js +3332 -615
- package/components/datepicker/demo/api.md +36 -19
- package/components/datepicker/demo/api.min.js +14940 -10964
- package/components/datepicker/demo/index.md +80 -0
- package/components/datepicker/demo/index.min.js +14940 -10964
- package/components/datepicker/dist/auro-datepicker.d.ts +71 -3
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +11817 -7841
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +11817 -7841
- package/components/dropdown/demo/api.md +25 -12
- package/components/dropdown/demo/api.min.js +552 -148
- package/components/dropdown/demo/index.md +57 -9
- package/components/dropdown/demo/index.min.js +552 -148
- package/components/dropdown/dist/auro-dropdown.d.ts +28 -9
- package/components/dropdown/dist/auro-dropdownBib.d.ts +22 -0
- package/components/dropdown/dist/index.js +552 -148
- package/components/dropdown/dist/registered.js +552 -148
- package/components/form/demo/api.min.js +1 -1
- package/components/form/demo/index.min.js +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/helptext/dist/index.js +2 -2
- package/components/helptext/dist/registered.js +2 -2
- package/components/input/README.md +5 -2
- package/components/input/demo/api.md +271 -176
- package/components/input/demo/api.min.js +958 -272
- package/components/input/demo/index.md +48 -32
- package/components/input/demo/index.min.js +957 -271
- package/components/input/demo/readme.md +5 -2
- package/components/input/dist/auro-input.d.ts +23 -15
- package/components/input/dist/base-input.d.ts +33 -9
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +957 -271
- package/components/input/dist/registered.js +957 -271
- package/components/layoutElement/dist/index.js +13 -10
- package/components/menu/demo/api.html +38 -0
- package/components/menu/demo/api.md +68 -7
- package/components/menu/demo/api.min.js +278 -42
- package/components/menu/demo/index.min.js +278 -42
- package/components/menu/dist/auro-menu.d.ts +28 -5
- package/components/menu/dist/auro-menuoption.d.ts +15 -3
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +278 -42
- package/components/menu/dist/registered.js +278 -42
- package/components/menu/dist/styles/default/color-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menu-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
- package/components/radio/demo/api.md +7 -8
- package/components/radio/demo/api.min.js +71 -83
- package/components/radio/demo/index.min.js +71 -83
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +9 -12
- package/components/radio/dist/index.js +71 -83
- package/components/radio/dist/registered.js +71 -83
- package/components/select/demo/api.js +0 -2
- package/components/select/demo/api.md +100 -45
- package/components/select/demo/api.min.js +3009 -526
- package/components/select/demo/index.html +1 -0
- package/components/select/demo/index.md +176 -768
- package/components/select/demo/index.min.js +3013 -518
- package/components/select/dist/auro-select.d.ts +126 -11
- package/components/select/dist/helptextVersion.d.ts +2 -0
- package/components/select/dist/index.js +2892 -538
- package/components/select/dist/registered.js +2892 -538
- package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/select/dist/styles/tokens-css.d.ts +2 -0
- package/package.json +28 -26
- /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown → datepicker}/dist/styles/default/color-css.d.ts +0 -0
- /package/components/{dropdown/dist/styles/default/bibStyles-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/default/style-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/classic/bibColors-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menuoption-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{tokens-css.d.ts → default/color-menu-css.d.ts} +0 -0
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
| [autoPlacement](#autoPlacement) | `autoPlacement` | | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
20
20
|
| [chevron](#chevron) | `chevron` | | ` Boolean ` | | If declared, the dropdown displays a chevron on the right. |
|
|
21
21
|
| [common](#common) | `common` | | ` Boolean ` | | If declared, the dropdown will be styled with the common theme. |
|
|
22
|
-
| [
|
|
23
|
-
| [
|
|
22
|
+
| [commonWrapperClasses](#commonWrapperClasses) | | readonly | `{ trigger: boolean; wrapper: boolean; hasFocus: boolean \| undefined; simple: boolean \| undefined; parentBorder: boolean; }` | | |
|
|
23
|
+
| [disableFocusTrap](#disableFocusTrap) | `disableFocusTrap` | | `boolean` | | If declare, the focus trap inside of bib will be turned off. |
|
|
24
24
|
| [disabled](#disabled) | `disabled` | | ` Boolean ` | | If declared, the dropdown is not interactive. |
|
|
25
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
26
|
| [errorMessage](#errorMessage) | `errorMessage` | | `string` | "" | Contains the help text message for the current validity error. |
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| [onSlotChange](#onSlotChange) | `onSlotChange` | | | | |
|
|
42
42
|
| [placement](#placement) | `placement` | | `string` | "bottom-start" | Position where the bib should appear relative to the trigger. |
|
|
43
43
|
| [rounded](#rounded) | `rounded` | | ` Boolean ` | | If declared, will apply border-radius to trigger and default slots. |
|
|
44
|
-
| [shape](#shape) | | | `string` | "
|
|
44
|
+
| [shape](#shape) | | | `string` | "classic" | |
|
|
45
45
|
| [simple](#simple) | `simple` | | `boolean` | | If declared, applies a border around the trigger slot. |
|
|
46
46
|
| [size](#size) | | | `string` | "xl" | |
|
|
47
47
|
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
| Method | Type | Description |
|
|
51
51
|
|------------------|------------|--------------------------------------------------|
|
|
52
52
|
| [exposeCssParts](#exposeCssParts) | `(): void` | Exposes CSS parts for styling from parent components. |
|
|
53
|
+
| [focus](#focus) | `(): void` | When bib is open, focus on the first element inside of bib.<br />If not, trigger element will get focus. |
|
|
53
54
|
| [hide](#hide) | `(): void` | Public method to hide the dropdown. |
|
|
54
55
|
| [show](#show) | `(): void` | Public method to show the dropdown. |
|
|
55
56
|
|
|
@@ -847,8 +848,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
847
848
|
</p>
|
|
848
849
|
</div>
|
|
849
850
|
<div slot="trigger">
|
|
850
|
-
Trigger
|
|
851
|
+
Trigger
|
|
851
852
|
</div>
|
|
853
|
+
<span slot="helpText">Trigger for bottom-end bib with 20px offset and noFlip</span>
|
|
852
854
|
</auro-dropdown>
|
|
853
855
|
</div>
|
|
854
856
|
<div aria-label="custom label">
|
|
@@ -865,6 +867,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
865
867
|
</p>
|
|
866
868
|
</div>
|
|
867
869
|
<div slot="trigger">
|
|
870
|
+
Trigger
|
|
871
|
+
</div>
|
|
872
|
+
<div slot="helpText">
|
|
868
873
|
Trigger for bottom-end bib with 20px offset and flip
|
|
869
874
|
</div>
|
|
870
875
|
</auro-dropdown>
|
|
@@ -883,6 +888,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
883
888
|
</p>
|
|
884
889
|
</div>
|
|
885
890
|
<div slot="trigger">
|
|
891
|
+
Trigger
|
|
892
|
+
</div>
|
|
893
|
+
<div slot="helpText">
|
|
886
894
|
Trigger for right bib with 20px offset, autoPlacement and noFlip
|
|
887
895
|
</div>
|
|
888
896
|
</auro-dropdown>
|
|
@@ -915,8 +923,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
915
923
|
</p>
|
|
916
924
|
</div>
|
|
917
925
|
<div slot="trigger">
|
|
918
|
-
Trigger
|
|
926
|
+
Trigger
|
|
919
927
|
</div>
|
|
928
|
+
<span slot="helpText">Trigger for bottom-end bib with 20px offset and noFlip</span>
|
|
920
929
|
</auro-dropdown>
|
|
921
930
|
</div>
|
|
922
931
|
<div aria-label="custom label">
|
|
@@ -933,6 +942,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
933
942
|
</p>
|
|
934
943
|
</div>
|
|
935
944
|
<div slot="trigger">
|
|
945
|
+
Trigger
|
|
946
|
+
</div>
|
|
947
|
+
<div slot="helpText">
|
|
936
948
|
Trigger for bottom-end bib with 20px offset and flip
|
|
937
949
|
</div>
|
|
938
950
|
</auro-dropdown>
|
|
@@ -951,6 +963,9 @@ The bib position can be customized with `placement`, `offset`, `flip`, `autoPlac
|
|
|
951
963
|
</p>
|
|
952
964
|
</div>
|
|
953
965
|
<div slot="trigger">
|
|
966
|
+
Trigger
|
|
967
|
+
</div>
|
|
968
|
+
<div slot="helpText">
|
|
954
969
|
Trigger for right bib with 20px offset, autoPlacement and noFlip
|
|
955
970
|
</div>
|
|
956
971
|
</auro-dropdown>
|
|
@@ -1020,7 +1035,7 @@ Content defined in the `label` slot will be rendered left aligned inside the tri
|
|
|
1020
1035
|
|
|
1021
1036
|
#### helpText
|
|
1022
1037
|
|
|
1023
|
-
Content defined in the `helpText` slot will be rendered left aligned below the trigger.
|
|
1038
|
+
Content defined in the `helpText` slot will be rendered left aligned below the trigger. This slot requires the `auro-helptext` component be used as slot content for the helptext to render with the same styles as other form elements.
|
|
1024
1039
|
|
|
1025
1040
|
<div class="exampleWrapper">
|
|
1026
1041
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
@@ -1424,17 +1439,16 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1424
1439
|
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
1425
1440
|
|
|
1426
1441
|
```scss
|
|
1427
|
-
@use "@aurodesignsystem/design-tokens/dist/alaska/SCSSVariables--alaska" as v;
|
|
1428
|
-
@use "@aurodesignsystem/design-tokens/dist/auro-classic/SCSSVariables" as vac;
|
|
1442
|
+
@use "@aurodesignsystem/design-tokens/dist/themes/alaska/SCSSVariables--alaska" as v;
|
|
1443
|
+
@use "@aurodesignsystem/design-tokens/dist/legacy/auro-classic/SCSSVariables" as vac;
|
|
1429
1444
|
|
|
1430
1445
|
:host(:not([ondark])) {
|
|
1431
1446
|
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-muted, #{v.$ds-basic-color-texticon-muted});
|
|
1432
1447
|
--ds-auro-dropdown-trigger-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1433
1448
|
--ds-auro-dropdown-trigger-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1434
|
-
--ds-auro-dropdown-trigger-border-color:
|
|
1449
|
+
--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-bold, #{v.$ds-basic-color-border-bold});
|
|
1435
1450
|
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
1436
1451
|
--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
1452
|
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
1439
1453
|
--ds-auro-dropdownbib-background-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
1440
1454
|
--ds-auro-dropdownbib-container-color: var(--ds-basic-color-surface-default, #{v.$ds-basic-color-surface-default});
|
|
@@ -1445,10 +1459,9 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1445
1459
|
--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #{v.$ds-basic-color-texticon-inverse-muted});
|
|
1446
1460
|
--ds-auro-dropdown-trigger-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1447
1461
|
--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:
|
|
1462
|
+
--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-inverse, #{v.$ds-basic-color-border-inverse});
|
|
1449
1463
|
--ds-auro-dropdown-trigger-outline-color: transparent;
|
|
1450
1464
|
--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
1465
|
--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, #{vac.$ds-elevation-200});
|
|
1453
1466
|
--ds-auro-dropdownbib-background-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|
|
1454
1467
|
--ds-auro-dropdownbib-container-color: var(--ds-advanced-color-shared-background-inverse, #{v.$ds-advanced-color-shared-background-inverse});
|