@aurodesignsystem-dev/auro-formkit 0.0.0-pr1594.2 → 0.0.0-pr1595.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/auro-bibtemplate.d.ts +11 -0
- package/components/bibtemplate/dist/index.js +13 -0
- package/components/bibtemplate/dist/registered.js +13 -0
- package/components/checkbox/demo/api.md +17 -11
- package/components/checkbox/demo/customize.min.js +23 -6
- package/components/checkbox/demo/getting-started.min.js +23 -6
- package/components/checkbox/demo/index.min.js +23 -6
- package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
- package/components/checkbox/dist/index.js +23 -6
- package/components/checkbox/dist/registered.js +23 -6
- package/components/combobox/demo/api.md +26 -18
- package/components/combobox/demo/customize.min.js +426 -126
- package/components/combobox/demo/getting-started.min.js +426 -126
- package/components/combobox/demo/index.min.js +426 -126
- package/components/combobox/dist/auro-combobox.d.ts +38 -21
- package/components/combobox/dist/index.js +338 -111
- package/components/combobox/dist/registered.js +338 -111
- package/components/counter/demo/api.md +34 -16
- package/components/counter/demo/customize.min.js +204 -64
- package/components/counter/demo/index.min.js +204 -64
- package/components/counter/dist/auro-counter-button.d.ts +4 -0
- package/components/counter/dist/auro-counter-group.d.ts +27 -4
- package/components/counter/dist/auro-counter.d.ts +7 -0
- package/components/counter/dist/index.js +204 -64
- package/components/counter/dist/registered.js +204 -64
- package/components/datepicker/demo/api.md +55 -49
- package/components/datepicker/demo/customize.min.js +515 -134
- package/components/datepicker/demo/index.min.js +515 -134
- package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
- package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
- package/components/datepicker/dist/auro-calendar.d.ts +25 -6
- package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
- package/components/datepicker/dist/index.js +515 -134
- package/components/datepicker/dist/registered.js +515 -134
- package/components/dropdown/demo/api.md +25 -22
- package/components/dropdown/demo/customize.min.js +107 -37
- package/components/dropdown/demo/getting-started.min.js +245 -82
- package/components/dropdown/demo/index.min.js +107 -37
- package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
- package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
- package/components/dropdown/dist/index.js +107 -37
- package/components/dropdown/dist/registered.js +107 -37
- package/components/form/demo/customize.min.js +1518 -466
- package/components/form/demo/getting-started.min.js +1518 -466
- package/components/form/demo/index.min.js +1518 -466
- package/components/form/demo/registerDemoDeps.min.js +1518 -466
- package/components/helptext/dist/auro-helptext.d.ts +8 -7
- package/components/helptext/dist/index.js +7 -2
- package/components/helptext/dist/registered.js +7 -2
- package/components/input/demo/api.md +30 -30
- package/components/input/demo/customize.min.js +138 -45
- package/components/input/demo/getting-started.min.js +138 -45
- package/components/input/demo/index.min.js +138 -45
- package/components/input/dist/base-input.d.ts +79 -25
- package/components/input/dist/index.js +138 -45
- package/components/input/dist/registered.js +138 -45
- package/components/layoutElement/dist/auroElement.d.ts +10 -17
- package/components/layoutElement/dist/index.js +20 -20
- package/components/layoutElement/dist/registered.js +20 -20
- package/components/menu/demo/api.md +31 -27
- package/components/menu/demo/index.min.js +108 -35
- package/components/menu/dist/auro-menu.d.ts +26 -21
- package/components/menu/dist/auro-menuoption.d.ts +27 -1
- package/components/menu/dist/index.js +108 -35
- package/components/menu/dist/registered.js +108 -35
- package/components/radio/demo/api.md +8 -7
- package/components/radio/demo/customize.min.js +21 -7
- package/components/radio/demo/getting-started.min.js +21 -7
- package/components/radio/demo/index.min.js +21 -7
- package/components/radio/dist/auro-radio-group.d.ts +8 -3
- package/components/radio/dist/auro-radio.d.ts +1 -0
- package/components/radio/dist/index.js +21 -7
- package/components/radio/dist/registered.js +21 -7
- package/components/select/demo/api.md +18 -15
- package/components/select/demo/customize.min.js +259 -79
- package/components/select/demo/getting-started.min.js +259 -79
- package/components/select/demo/index.min.js +259 -79
- package/components/select/dist/auro-select.d.ts +17 -0
- package/components/select/dist/index.js +171 -64
- package/components/select/dist/registered.js +171 -64
- package/custom-elements.json +1189 -1336
- package/package.json +1 -1
|
@@ -10,23 +10,25 @@ The `auro-counter-group` element provides a flexible interface for grouping mult
|
|
|
10
10
|
| Property | Attribute | Type | Default | Description |
|
|
11
11
|
|---------------------------|---------------------------|--------------------------------------------------|------------------|--------------------------------------------------|
|
|
12
12
|
| `appearance` | `appearance` | `'default' \| 'inverse'` | "'default'" | Defines whether the component will be on lighter or darker backgrounds. |
|
|
13
|
-
| `autoPlacement` | `
|
|
13
|
+
| `autoPlacement` | `autoplacement` | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
|
|
14
14
|
| `error` | `error` | `string` | | The current error message to display when the component is invalid. |
|
|
15
|
-
| `fullscreenBreakpoint` | `
|
|
16
|
-
| `isDropdown` | `
|
|
17
|
-
| `largeFullscreenHeadline` | `
|
|
15
|
+
| `fullscreenBreakpoint` | `fullscreenbreakpoint` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'disabled'` | "'sm'" | Defines the screen size breakpoint 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. |
|
|
16
|
+
| `isDropdown` | `isdropdown` | `boolean` | false | If true, the counter group is displayed as a dropdown. |
|
|
17
|
+
| `largeFullscreenHeadline` | `largefullscreenheadline` | `boolean` | false | If declared, make bib.fullscreen.headline in HeadingDisplay.<br />Otherwise, Heading 600. |
|
|
18
18
|
| `layout` | `layout` | `'classic' \| 'snowflake'` | "'classic'" | Determines the layout style of the counter group when it is a dropdown. |
|
|
19
|
-
| `matchWidth` | `
|
|
19
|
+
| `matchWidth` | `matchwidth` | `boolean` | false | If declared, the dropdown will expand to the width of its parent container.<br />Otherwise, the dropdown width will be determined by its content. |
|
|
20
20
|
| `max` | `max` | `number` | "undefined" | The maximum value allowed for the whole group of counters. |
|
|
21
21
|
| `min` | `min` | `number` | "undefined" | The minimum value allowed for the whole group of counters. |
|
|
22
|
-
| `noFlip` | `
|
|
22
|
+
| `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`. |
|
|
23
23
|
| `offset` | `offset` | `number` | "0" | Gap between the trigger element and bib. |
|
|
24
|
-
| `onDark` | `
|
|
24
|
+
| `onDark` | `ondark` | `boolean` | false | DEPRECATED - use `appearance` instead. |
|
|
25
25
|
| `placement` | `placement` | `'top' \| 'right' \| 'bottom' \| 'left' \| 'bottom-start' \| 'top-start' \| 'top-end' \| 'right-start' \| 'right-end' \| 'bottom-end' \| 'left-start' \| 'left-end'` | "'bottom-start'" | Position where the bib should appear relative to the trigger. |
|
|
26
|
+
| `shape` | `shape` | `'box' \| 'classic' \| 'pill' \| 'pill-left' \| 'pill-right' \| 'rounded' \| 'snowflake'` | "'classic'" | Sets the shape of the counter group when it is a dropdown. |
|
|
26
27
|
| `shift` | `shift` | `boolean` | false | If declared, the dropdown will shift its position to avoid being cut off by the viewport. |
|
|
28
|
+
| `size` | `size` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | "'xl'" | Sets the size of the counter group when it is a dropdown. |
|
|
27
29
|
| `total` | `total` | `number` | "undefined" | The total value of the counters. |
|
|
28
30
|
| `validity` | `validity` | `string` | "undefined" | Reflects the validity state. |
|
|
29
|
-
| `value` | `value` | `
|
|
31
|
+
| `value` | `value` | `Record<string, number>` | "undefined" | The current individual values of the nested counters. |
|
|
30
32
|
|
|
31
33
|
## Methods
|
|
32
34
|
|
|
@@ -38,9 +40,9 @@ The `auro-counter-group` element provides a flexible interface for grouping mult
|
|
|
38
40
|
|
|
39
41
|
## Events
|
|
40
42
|
|
|
41
|
-
| Event | Type |
|
|
42
|
-
|
|
43
|
-
| `input` | `CustomEvent<{ total: number \| undefined; value: {} \| undefined; }>` |
|
|
43
|
+
| Event | Type | Description |
|
|
44
|
+
|---------|--------------------------------------------------|--------------------------------------------------|
|
|
45
|
+
| `input` | `CustomEvent<{ total: number \| undefined; value: {} \| undefined; }>` | Notifies that the counter group's value has changed. |
|
|
44
46
|
|
|
45
47
|
## Slots
|
|
46
48
|
|
|
@@ -52,7 +54,14 @@ The `auro-counter-group` element provides a flexible interface for grouping mult
|
|
|
52
54
|
| `default` | Slot for counter elements. |
|
|
53
55
|
| `helpText` | Dropdown help text content. Only used when `isDropdown` is true. |
|
|
54
56
|
| `label` | Dropdown label content. Only used when `isDropdown` is true. |
|
|
55
|
-
| `valueText` | Dropdown value text display. Only used when `isDropdown` is true. |
|
|
57
|
+
| `valueText` | Dropdown value text display. Only used when `isDropdown` is true. |
|
|
58
|
+
|
|
59
|
+
## CSS Shadow Parts
|
|
60
|
+
|
|
61
|
+
| Part | Description |
|
|
62
|
+
|------------|--------------------------------------------------|
|
|
63
|
+
| `dropdown` | The dropdown element rendered when `isDropdown` is true. |
|
|
64
|
+
| `helpText` | The help text and error message container. |
|
|
56
65
|
|
|
57
66
|
# auro-counter
|
|
58
67
|
|
|
@@ -67,7 +76,7 @@ The `auro-counter` element provides a flexible counter interface with increment
|
|
|
67
76
|
| `error` | `error` | `string` | | Error state and message.<br />True if set, value is the error message. |
|
|
68
77
|
| `max` | `max` | `number` | | The maximum value for the counter. |
|
|
69
78
|
| `min` | `min` | `number` | | The minimum value for the counter. |
|
|
70
|
-
| `onDark` | `
|
|
79
|
+
| `onDark` | `ondark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
|
|
71
80
|
| `validity` | `validity` | `string` | | The validity state of the counter. |
|
|
72
81
|
| `value` | `value` | `number \| undefined` | | Gets the current value of the counter. |
|
|
73
82
|
|
|
@@ -81,9 +90,9 @@ The `auro-counter` element provides a flexible counter interface with increment
|
|
|
81
90
|
|
|
82
91
|
## Events
|
|
83
92
|
|
|
84
|
-
| Event | Type |
|
|
85
|
-
|
|
86
|
-
| `input` | `CustomEvent<{ value: number \| undefined; }>` |
|
|
93
|
+
| Event | Type | Description |
|
|
94
|
+
|---------|------------------------------------------------|------------------------------------------------|
|
|
95
|
+
| `input` | `CustomEvent<{ value: number \| undefined; }>` | Notifies that the counter's value has changed. |
|
|
87
96
|
|
|
88
97
|
## Slots
|
|
89
98
|
|
|
@@ -94,4 +103,13 @@ The `auro-counter` element provides a flexible counter interface with increment
|
|
|
94
103
|
| `default` | Main label content for the counter. |
|
|
95
104
|
| `description` | Descriptive content for the counter. |
|
|
96
105
|
| `helpText` | Help text content for the counter. |
|
|
106
|
+
|
|
107
|
+
## CSS Shadow Parts
|
|
108
|
+
|
|
109
|
+
| Part | Description |
|
|
110
|
+
|------------------|--------------------------------------------------|
|
|
111
|
+
| `controlMinus` | The decrement button. |
|
|
112
|
+
| `controlPlus` | The increment button. |
|
|
113
|
+
| `counterControl` | The container for the counter's spinbutton controls and value. |
|
|
114
|
+
| `helpText` | The help text and error message container. |
|
|
97
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|