@aurodesignsystem-dev/auro-formkit 0.0.0-pr1166.0 → 0.0.0-pr1167.0

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 (51) hide show
  1. package/components/bibtemplate/dist/buttonVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +91 -1080
  3. package/components/bibtemplate/dist/registered.js +91 -1080
  4. package/components/checkbox/demo/api.min.js +26 -0
  5. package/components/checkbox/demo/index.min.js +26 -0
  6. package/components/checkbox/dist/index.js +26 -0
  7. package/components/checkbox/dist/registered.js +26 -0
  8. package/components/combobox/demo/api.min.js +959 -2872
  9. package/components/combobox/demo/index.min.js +959 -2872
  10. package/components/combobox/dist/index.js +929 -2842
  11. package/components/combobox/dist/registered.js +929 -2842
  12. package/components/counter/demo/api.md +11 -4
  13. package/components/counter/demo/api.min.js +5508 -7435
  14. package/components/counter/demo/index.min.js +5508 -7435
  15. package/components/counter/dist/auro-counter-button.d.ts +2 -11
  16. package/components/counter/dist/auro-counter.d.ts +8 -1
  17. package/components/counter/dist/index.js +5536 -7463
  18. package/components/counter/dist/registered.js +5536 -7463
  19. package/components/datepicker/demo/api.md +112 -27
  20. package/components/datepicker/demo/api.min.js +10343 -13252
  21. package/components/datepicker/demo/index.min.js +10343 -13252
  22. package/components/datepicker/dist/auro-datepicker.d.ts +2 -0
  23. package/components/datepicker/dist/index.js +10420 -13329
  24. package/components/datepicker/dist/registered.js +10420 -13329
  25. package/components/dropdown/demo/api.min.js +28 -2
  26. package/components/dropdown/demo/index.min.js +28 -2
  27. package/components/dropdown/dist/index.js +28 -2
  28. package/components/dropdown/dist/registered.js +28 -2
  29. package/components/form/demo/api.min.js +13 -0
  30. package/components/form/demo/index.min.js +13 -0
  31. package/components/form/dist/index.js +13 -0
  32. package/components/form/dist/registered.js +13 -0
  33. package/components/helptext/dist/index.js +13 -0
  34. package/components/helptext/dist/registered.js +13 -0
  35. package/components/input/demo/api.min.js +183 -1159
  36. package/components/input/demo/index.min.js +183 -1159
  37. package/components/input/dist/index.js +146 -1122
  38. package/components/input/dist/registered.js +146 -1122
  39. package/components/menu/demo/api.min.js +13 -0
  40. package/components/menu/demo/index.min.js +13 -0
  41. package/components/menu/dist/index.js +13 -0
  42. package/components/menu/dist/registered.js +13 -0
  43. package/components/radio/demo/api.min.js +26 -0
  44. package/components/radio/demo/index.min.js +26 -0
  45. package/components/radio/dist/index.js +26 -0
  46. package/components/radio/dist/registered.js +26 -0
  47. package/components/select/demo/api.min.js +273 -1210
  48. package/components/select/demo/index.min.js +273 -1210
  49. package/components/select/dist/index.js +246 -1183
  50. package/components/select/dist/registered.js +246 -1183
  51. package/package.json +3 -3
@@ -75,16 +75,18 @@
75
75
 
76
76
  ## Slots
77
77
 
78
- | Name | Description |
79
- |----------------------------|--------------------------------------------------|
80
- | `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
81
- | `bib.fullscreen.dateLabel` | Defines the content to display above selected dates in the mobile layout. |
82
- | `bib.fullscreen.headline` | Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout. |
83
- | `date_MM_DD_YYYY` | Defines the content to display in the auro-calendar-cell for the specified date. The content text is colored using the success state token when the `highlight` attribute is applied to the slot. |
84
- | [fromLabel](#fromLabel) | Defines the label content for the first input. |
85
- | [helpText](#helpText) | Defines the content of the helpText. |
86
- | `popover_MM_DD_YYYY` | Defines the content to display in the auro-calendar-cell popover for the specified date. |
87
- | [toLabel](#toLabel) | Defines the label content for the second input when the `range` attribute is used. |
78
+ | Name | Description |
79
+ |-------------------------------|--------------------------------------------------|
80
+ | `ariaLabel.bib.close` | Sets aria-label on close button in fullscreen bib |
81
+ | `ariaLabel.input.clear` | Sets aria-label on clear button |
82
+ | `ariaLabel.input.clear.range` | Sets aria-label on clear button for return date input in `layout="classic"` ONLY. |
83
+ | `bib.fullscreen.dateLabel` | Defines the content to display above selected dates in the mobile layout. |
84
+ | `bib.fullscreen.headline` | Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout. |
85
+ | `date_MM_DD_YYYY` | Defines the content to display in the auro-calendar-cell for the specified date. The content text is colored using the success state token when the `highlight` attribute is applied to the slot. |
86
+ | [fromLabel](#fromLabel) | Defines the label content for the first input. |
87
+ | [helpText](#helpText) | Defines the content of the helpText. |
88
+ | `popover_MM_DD_YYYY` | Defines the content to display in the auro-calendar-cell popover for the specified date. |
89
+ | [toLabel](#toLabel) | Defines the label content for the second input when the `range` attribute is used. |
88
90
 
89
91
  ## CSS Shadow Parts
90
92
 
@@ -962,6 +964,39 @@ Sets the label used for the input. When the `range` attribute is used this is th
962
964
  <!-- AURO-GENERATED-CONTENT:END -->
963
965
  </auro-accordion>
964
966
 
967
+ #### toLabel
968
+
969
+ Only for use with the `range` attribute. Sets the label for the second input.
970
+
971
+ <div class="exampleWrapper">
972
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
973
+ <!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
974
+ <auro-datepicker range minDate="07/08/2025">
975
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
976
+ <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
977
+ <span slot="fromLabel">Departure</span>
978
+ <span slot="toLabel">Return</span>
979
+ <span slot="bib.fullscreen.dateLabel">Roundtrip</span>
980
+ </auro-datepicker>
981
+ <!-- AURO-GENERATED-CONTENT:END -->
982
+ </div>
983
+ <auro-accordion alignRight>
984
+ <span slot="trigger">See code</span>
985
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicRange.html) -->
986
+ <!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
987
+
988
+ ```html
989
+ <auro-datepicker range minDate="07/08/2025">
990
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
991
+ <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
992
+ <span slot="fromLabel">Departure</span>
993
+ <span slot="toLabel">Return</span>
994
+ <span slot="bib.fullscreen.dateLabel">Roundtrip</span>
995
+ </auro-datepicker>
996
+ ```
997
+ <!-- AURO-GENERATED-CONTENT:END -->
998
+ </auro-accordion>
999
+
965
1000
  #### helpText
966
1001
 
967
1002
  Sets the help text displayed below the trigger. The `helpText` slot can be used to provide additional context for the combobox. When using the `error` attribute, the `helpText` slot can be used to describe the error.
@@ -1025,34 +1060,84 @@ To view this demo, set your window to a mobile screen size.
1025
1060
  <!-- AURO-GENERATED-CONTENT:END -->
1026
1061
  </auro-accordion>
1027
1062
 
1028
- #### toLabel
1063
+ #### ariaLabel.input.clear
1029
1064
 
1030
- Only for use with the `range` attribute. Sets the label for the second input.
1065
+ Use the `ariaLabel.input.clear` slot to set the `aria-label` for the clear button in the trigger input.
1066
+
1067
+ <div class="exampleWrapper">
1068
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/ariaLabelInputClear.html) -->
1069
+ <!-- The below content is automatically added from ./../apiExamples/ariaLabelInputClear.html -->
1070
+ <auro-datepicker>
1071
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
1072
+ <span slot="bib.fullscreen.headline">Datepicker Headline</span>
1073
+ <span slot="fromLabel">Choose a date</span>
1074
+ <span slot="bib.fullscreen.dateLabel">Choose a date</span>
1075
+ <span slot="ariaLabel.input.clear">Custom Clear Input Button</span>
1076
+ </auro-datepicker>
1077
+ <!-- AURO-GENERATED-CONTENT:END -->
1078
+ </div>
1079
+ <div class="exampleWrapper--ondark">
1080
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/snowflake/ariaLabelInputClear.html) -->
1081
+ <!-- The below content is automatically added from ./../apiExamples/snowflake/ariaLabelInputClear.html -->
1082
+ <auro-datepicker layout="snowflake" shape="snowflake" ondark placeholder="MM/DD/YYYY">
1083
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
1084
+ <span slot="label">Date</span>
1085
+ <span slot="bib.fullscreen.headline">Datepicker Headline</span>
1086
+ <span slot="fromLabel">Choose a date</span>
1087
+ <span slot="bib.fullscreen.dateLabel">Choose a date</span>
1088
+ <span slot="ariaLabel.input.clear">Snowflake Clear Input Button</span>
1089
+ </auro-datepicker>
1090
+ <!-- AURO-GENERATED-CONTENT:END -->
1091
+ </div>
1092
+ <auro-accordion alignRight>
1093
+ <span slot="trigger">See code</span>
1094
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/ariaLabelInputClear.html) -->
1095
+ <!-- The below code snippet is automatically added from ./../apiExamples/ariaLabelInputClear.html -->
1096
+
1097
+ ```html
1098
+ <auro-datepicker>
1099
+ <span slot="ariaLabel.bib.close">Close Calendar</span>
1100
+ <span slot="bib.fullscreen.headline">Datepicker Headline</span>
1101
+ <span slot="fromLabel">Choose a date</span>
1102
+ <span slot="bib.fullscreen.dateLabel">Choose a date</span>
1103
+ <span slot="ariaLabel.input.clear">Custom Clear Input Button</span>
1104
+ </auro-datepicker>
1105
+ ```
1106
+ <!-- AURO-GENERATED-CONTENT:END -->
1107
+ </auro-accordion>
1031
1108
 
1109
+ #### ariaLabel.input.clear.range
1110
+
1111
+ In the `classic` layout with the `range` attribute, use the `ariaLabel.input.clear.range` slot to set the `aria-label` for the clear button in the return date input. This slot is ignored in all other configurations. Otherwise, the `ariaLabel.input.clear` slot is used for both clear buttons.
1112
+
1032
1113
  <div class="exampleWrapper">
1033
- <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
1034
- <!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
1035
- <auro-datepicker range minDate="07/08/2025">
1114
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/ariaLabelInputClearRange.html) -->
1115
+ <!-- The below content is automatically added from ./../apiExamples/ariaLabelInputClearRange.html -->
1116
+ <auro-datepicker range>
1036
1117
  <span slot="ariaLabel.bib.close">Close Calendar</span>
1037
- <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
1038
- <span slot="fromLabel">Departure</span>
1039
- <span slot="toLabel">Return</span>
1040
- <span slot="bib.fullscreen.dateLabel">Roundtrip</span>
1118
+ <span slot="bib.fullscreen.headline">Datepicker Headline</span>
1119
+ <span slot="fromLabel">Choose a date</span>
1120
+ <span slot="toLabel">Choose a return date</span>
1121
+ <span slot="bib.fullscreen.dateLabel">Choose a date</span>
1122
+ <span slot="ariaLabel.input.clear">Custom Clear Input Button</span>
1123
+ <span slot="ariaLabel.input.clear.range">Return Date Clear Input Button</span>
1041
1124
  </auro-datepicker>
1042
1125
  <!-- AURO-GENERATED-CONTENT:END -->
1043
- </div>
1126
+ </div>
1044
1127
  <auro-accordion alignRight>
1045
1128
  <span slot="trigger">See code</span>
1046
- <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicRange.html) -->
1047
- <!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
1129
+ <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/ariaLabelInputClearRange.html) -->
1130
+ <!-- The below code snippet is automatically added from ./../apiExamples/ariaLabelInputClearRange.html -->
1048
1131
 
1049
1132
  ```html
1050
- <auro-datepicker range minDate="07/08/2025">
1133
+ <auro-datepicker range>
1051
1134
  <span slot="ariaLabel.bib.close">Close Calendar</span>
1052
- <span slot="bib.fullscreen.headline">Datepicker Range Headline</span>
1053
- <span slot="fromLabel">Departure</span>
1054
- <span slot="toLabel">Return</span>
1055
- <span slot="bib.fullscreen.dateLabel">Roundtrip</span>
1135
+ <span slot="bib.fullscreen.headline">Datepicker Headline</span>
1136
+ <span slot="fromLabel">Choose a date</span>
1137
+ <span slot="toLabel">Choose a return date</span>
1138
+ <span slot="bib.fullscreen.dateLabel">Choose a date</span>
1139
+ <span slot="ariaLabel.input.clear">Custom Clear Input Button</span>
1140
+ <span slot="ariaLabel.input.clear.range">Return Date Clear Input Button</span>
1056
1141
  </auro-datepicker>
1057
1142
  ```
1058
1143
  <!-- AURO-GENERATED-CONTENT:END -->