@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.
Files changed (83) hide show
  1. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +11 -0
  2. package/components/bibtemplate/dist/index.js +13 -0
  3. package/components/bibtemplate/dist/registered.js +13 -0
  4. package/components/checkbox/demo/api.md +17 -11
  5. package/components/checkbox/demo/customize.min.js +23 -6
  6. package/components/checkbox/demo/getting-started.min.js +23 -6
  7. package/components/checkbox/demo/index.min.js +23 -6
  8. package/components/checkbox/dist/auro-checkbox-group.d.ts +8 -0
  9. package/components/checkbox/dist/auro-checkbox.d.ts +4 -0
  10. package/components/checkbox/dist/index.js +23 -6
  11. package/components/checkbox/dist/registered.js +23 -6
  12. package/components/combobox/demo/api.md +26 -18
  13. package/components/combobox/demo/customize.min.js +426 -126
  14. package/components/combobox/demo/getting-started.min.js +426 -126
  15. package/components/combobox/demo/index.min.js +426 -126
  16. package/components/combobox/dist/auro-combobox.d.ts +38 -21
  17. package/components/combobox/dist/index.js +338 -111
  18. package/components/combobox/dist/registered.js +338 -111
  19. package/components/counter/demo/api.md +34 -16
  20. package/components/counter/demo/customize.min.js +204 -64
  21. package/components/counter/demo/index.min.js +204 -64
  22. package/components/counter/dist/auro-counter-button.d.ts +4 -0
  23. package/components/counter/dist/auro-counter-group.d.ts +27 -4
  24. package/components/counter/dist/auro-counter.d.ts +7 -0
  25. package/components/counter/dist/index.js +204 -64
  26. package/components/counter/dist/registered.js +204 -64
  27. package/components/datepicker/demo/api.md +55 -49
  28. package/components/datepicker/demo/customize.min.js +515 -134
  29. package/components/datepicker/demo/index.min.js +515 -134
  30. package/components/datepicker/dist/auro-calendar-cell.d.ts +58 -4
  31. package/components/datepicker/dist/auro-calendar-month.d.ts +10 -4
  32. package/components/datepicker/dist/auro-calendar.d.ts +25 -6
  33. package/components/datepicker/dist/auro-datepicker.d.ts +70 -22
  34. package/components/datepicker/dist/index.js +515 -134
  35. package/components/datepicker/dist/registered.js +515 -134
  36. package/components/dropdown/demo/api.md +25 -22
  37. package/components/dropdown/demo/customize.min.js +107 -37
  38. package/components/dropdown/demo/getting-started.min.js +245 -82
  39. package/components/dropdown/demo/index.min.js +107 -37
  40. package/components/dropdown/dist/auro-dropdown.d.ts +34 -8
  41. package/components/dropdown/dist/auro-dropdownBib.d.ts +17 -5
  42. package/components/dropdown/dist/index.js +107 -37
  43. package/components/dropdown/dist/registered.js +107 -37
  44. package/components/form/demo/customize.min.js +1518 -466
  45. package/components/form/demo/getting-started.min.js +1518 -466
  46. package/components/form/demo/index.min.js +1518 -466
  47. package/components/form/demo/registerDemoDeps.min.js +1518 -466
  48. package/components/helptext/dist/auro-helptext.d.ts +8 -7
  49. package/components/helptext/dist/index.js +7 -2
  50. package/components/helptext/dist/registered.js +7 -2
  51. package/components/input/demo/api.md +30 -30
  52. package/components/input/demo/customize.min.js +138 -45
  53. package/components/input/demo/getting-started.min.js +138 -45
  54. package/components/input/demo/index.min.js +138 -45
  55. package/components/input/dist/base-input.d.ts +79 -25
  56. package/components/input/dist/index.js +138 -45
  57. package/components/input/dist/registered.js +138 -45
  58. package/components/layoutElement/dist/auroElement.d.ts +10 -17
  59. package/components/layoutElement/dist/index.js +20 -20
  60. package/components/layoutElement/dist/registered.js +20 -20
  61. package/components/menu/demo/api.md +31 -27
  62. package/components/menu/demo/index.min.js +108 -35
  63. package/components/menu/dist/auro-menu.d.ts +26 -21
  64. package/components/menu/dist/auro-menuoption.d.ts +27 -1
  65. package/components/menu/dist/index.js +108 -35
  66. package/components/menu/dist/registered.js +108 -35
  67. package/components/radio/demo/api.md +8 -7
  68. package/components/radio/demo/customize.min.js +21 -7
  69. package/components/radio/demo/getting-started.min.js +21 -7
  70. package/components/radio/demo/index.min.js +21 -7
  71. package/components/radio/dist/auro-radio-group.d.ts +8 -3
  72. package/components/radio/dist/auro-radio.d.ts +1 -0
  73. package/components/radio/dist/index.js +21 -7
  74. package/components/radio/dist/registered.js +21 -7
  75. package/components/select/demo/api.md +18 -15
  76. package/components/select/demo/customize.min.js +259 -79
  77. package/components/select/demo/getting-started.min.js +259 -79
  78. package/components/select/demo/index.min.js +259 -79
  79. package/components/select/dist/auro-select.d.ts +17 -0
  80. package/components/select/dist/index.js +171 -64
  81. package/components/select/dist/registered.js +171 -64
  82. package/custom-elements.json +1189 -1336
  83. 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` | `autoPlacement` | `boolean` | "false" | If declared, bib's position will be automatically calculated where to appear. |
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` | `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. |
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` | `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. |
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` | `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`. |
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` | `onDark` | `boolean` | false | DEPRECATED - use `appearance` instead. |
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` | `object` | "undefined" | The current individual values of the nested counters. |
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` | `onDark` | `boolean` | | DEPRECATED - use `appearance="inverse"` instead. |
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 -->