@carbon/web-components 2.60.0 → 2.61.0-rc.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 (205) hide show
  1. package/custom-elements.json +1401 -361
  2. package/es/components/date-picker/date-picker-input.d.ts +13 -1
  3. package/es/components/date-picker/date-picker-input.d.ts.map +1 -1
  4. package/es/components/date-picker/date-picker-input.js +36 -16
  5. package/es/components/date-picker/date-picker-input.js.map +1 -1
  6. package/es/components/date-picker/date-picker.d.ts +6 -0
  7. package/es/components/date-picker/date-picker.d.ts.map +1 -1
  8. package/es/components/date-picker/date-picker.js +10 -2
  9. package/es/components/date-picker/date-picker.js.map +1 -1
  10. package/es/components/date-picker/date-picker.scss.js +1 -1
  11. package/es/components/date-picker/date-picker.scss.js.map +1 -1
  12. package/es/components/date-picker/defs.d.ts +18 -1
  13. package/es/components/date-picker/defs.d.ts.map +1 -1
  14. package/es/components/date-picker/defs.js +19 -1
  15. package/es/components/date-picker/defs.js.map +1 -1
  16. package/es/components/date-picker/next/adapters/web-component-adapter.d.ts +143 -0
  17. package/es/components/date-picker/next/adapters/web-component-adapter.d.ts.map +1 -0
  18. package/es/components/date-picker/next/adapters/web-component-adapter.js +215 -0
  19. package/es/components/date-picker/next/adapters/web-component-adapter.js.map +1 -0
  20. package/es/components/date-picker/next/components/calendar-renderer.d.ts +136 -0
  21. package/es/components/date-picker/next/components/calendar-renderer.d.ts.map +1 -0
  22. package/es/components/date-picker/next/components/calendar-renderer.js +278 -0
  23. package/es/components/date-picker/next/components/calendar-renderer.js.map +1 -0
  24. package/es/components/date-picker/next/components/date-picker-input-skeleton.d.ts +35 -0
  25. package/es/components/date-picker/next/components/date-picker-input-skeleton.d.ts.map +1 -0
  26. package/es/components/date-picker/next/components/date-picker-input-skeleton.js +73 -0
  27. package/es/components/date-picker/next/components/date-picker-input-skeleton.js.map +1 -0
  28. package/es/components/date-picker/next/components/date-picker-input.d.ts +196 -0
  29. package/es/components/date-picker/next/components/date-picker-input.d.ts.map +1 -0
  30. package/es/components/date-picker/next/components/date-picker-input.js +334 -0
  31. package/es/components/date-picker/next/components/date-picker-input.js.map +1 -0
  32. package/es/components/date-picker/next/components/date-picker.d.ts +329 -0
  33. package/es/components/date-picker/next/components/date-picker.d.ts.map +1 -0
  34. package/es/components/date-picker/next/components/date-picker.js +621 -0
  35. package/es/components/date-picker/next/components/date-picker.js.map +1 -0
  36. package/es/components/date-picker/next/components/date-picker.scss.js +14 -0
  37. package/es/components/date-picker/next/components/date-picker.scss.js.map +1 -0
  38. package/es/components/date-picker/next/index.d.ts +11 -0
  39. package/es/components/date-picker/next/index.d.ts.map +1 -0
  40. package/es/components/date-picker/next/index.js +11 -0
  41. package/es/components/dropdown/dropdown.d.ts +8 -0
  42. package/es/components/dropdown/dropdown.d.ts.map +1 -1
  43. package/es/components/dropdown/dropdown.js +4 -2
  44. package/es/components/dropdown/dropdown.js.map +1 -1
  45. package/es/components/fluid-date-picker/fluid-date-picker-input.d.ts +39 -0
  46. package/es/components/fluid-date-picker/fluid-date-picker-input.d.ts.map +1 -0
  47. package/es/components/fluid-date-picker/fluid-date-picker-input.js +59 -0
  48. package/es/components/fluid-date-picker/fluid-date-picker-input.js.map +1 -0
  49. package/es/components/fluid-date-picker/fluid-date-picker-skeleton.d.ts +20 -0
  50. package/es/components/fluid-date-picker/fluid-date-picker-skeleton.d.ts.map +1 -0
  51. package/es/components/fluid-date-picker/fluid-date-picker-skeleton.js +74 -0
  52. package/es/components/fluid-date-picker/fluid-date-picker-skeleton.js.map +1 -0
  53. package/es/components/fluid-date-picker/fluid-date-picker.d.ts +24 -0
  54. package/es/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -0
  55. package/es/components/fluid-date-picker/fluid-date-picker.js +51 -0
  56. package/es/components/fluid-date-picker/fluid-date-picker.js.map +1 -0
  57. package/es/components/fluid-date-picker/fluid-date-picker.scss.js +14 -0
  58. package/es/components/fluid-date-picker/fluid-date-picker.scss.js.map +1 -0
  59. package/es/components/fluid-date-picker/index.d.ts +10 -0
  60. package/es/components/fluid-date-picker/index.d.ts.map +1 -0
  61. package/es/components/fluid-date-picker/index.js +10 -0
  62. package/es/components/pagination/pagination.scss.js +1 -1
  63. package/es/components/password-input/password-input.d.ts.map +1 -1
  64. package/es/components/password-input/password-input.js +3 -2
  65. package/es/components/password-input/password-input.js.map +1 -1
  66. package/es/components/radio-button/radio-button.js +1 -1
  67. package/es/components/radio-button/radio-button.js.map +1 -1
  68. package/es/components/select/select.d.ts +8 -0
  69. package/es/components/select/select.d.ts.map +1 -1
  70. package/es/components/select/select.js +4 -2
  71. package/es/components/select/select.js.map +1 -1
  72. package/es/components/skip-to-content/skip-to-content.scss.js +1 -1
  73. package/es/components/text-input/text-input.d.ts +17 -0
  74. package/es/components/text-input/text-input.d.ts.map +1 -1
  75. package/es/components/text-input/text-input.js +28 -6
  76. package/es/components/text-input/text-input.js.map +1 -1
  77. package/es/components/textarea/textarea.d.ts.map +1 -1
  78. package/es/components/textarea/textarea.js +2 -1
  79. package/es/components/textarea/textarea.js.map +1 -1
  80. package/es/components/ui-shell/header.scss.js +1 -1
  81. package/es/components/ui-shell/header.scss.js.map +1 -1
  82. package/es/index.js +1 -1
  83. package/es-custom/components/date-picker/date-picker-input.d.ts +13 -1
  84. package/es-custom/components/date-picker/date-picker-input.d.ts.map +1 -1
  85. package/es-custom/components/date-picker/date-picker-input.js +36 -16
  86. package/es-custom/components/date-picker/date-picker-input.js.map +1 -1
  87. package/es-custom/components/date-picker/date-picker.d.ts +6 -0
  88. package/es-custom/components/date-picker/date-picker.d.ts.map +1 -1
  89. package/es-custom/components/date-picker/date-picker.js +10 -2
  90. package/es-custom/components/date-picker/date-picker.js.map +1 -1
  91. package/es-custom/components/date-picker/date-picker.scss.js +1 -1
  92. package/es-custom/components/date-picker/date-picker.scss.js.map +1 -1
  93. package/es-custom/components/date-picker/defs.d.ts +18 -1
  94. package/es-custom/components/date-picker/defs.d.ts.map +1 -1
  95. package/es-custom/components/date-picker/defs.js +19 -1
  96. package/es-custom/components/date-picker/defs.js.map +1 -1
  97. package/es-custom/components/date-picker/next/adapters/web-component-adapter.d.ts +143 -0
  98. package/es-custom/components/date-picker/next/adapters/web-component-adapter.d.ts.map +1 -0
  99. package/es-custom/components/date-picker/next/adapters/web-component-adapter.js +215 -0
  100. package/es-custom/components/date-picker/next/adapters/web-component-adapter.js.map +1 -0
  101. package/es-custom/components/date-picker/next/components/calendar-renderer.d.ts +136 -0
  102. package/es-custom/components/date-picker/next/components/calendar-renderer.d.ts.map +1 -0
  103. package/es-custom/components/date-picker/next/components/calendar-renderer.js +278 -0
  104. package/es-custom/components/date-picker/next/components/calendar-renderer.js.map +1 -0
  105. package/es-custom/components/date-picker/next/components/date-picker-input-skeleton.d.ts +35 -0
  106. package/es-custom/components/date-picker/next/components/date-picker-input-skeleton.d.ts.map +1 -0
  107. package/es-custom/components/date-picker/next/components/date-picker-input-skeleton.js +73 -0
  108. package/es-custom/components/date-picker/next/components/date-picker-input-skeleton.js.map +1 -0
  109. package/es-custom/components/date-picker/next/components/date-picker-input.d.ts +196 -0
  110. package/es-custom/components/date-picker/next/components/date-picker-input.d.ts.map +1 -0
  111. package/es-custom/components/date-picker/next/components/date-picker-input.js +334 -0
  112. package/es-custom/components/date-picker/next/components/date-picker-input.js.map +1 -0
  113. package/es-custom/components/date-picker/next/components/date-picker.d.ts +329 -0
  114. package/es-custom/components/date-picker/next/components/date-picker.d.ts.map +1 -0
  115. package/es-custom/components/date-picker/next/components/date-picker.js +621 -0
  116. package/es-custom/components/date-picker/next/components/date-picker.js.map +1 -0
  117. package/es-custom/components/date-picker/next/components/date-picker.scss.js +14 -0
  118. package/es-custom/components/date-picker/next/components/date-picker.scss.js.map +1 -0
  119. package/es-custom/components/date-picker/next/index.d.ts +11 -0
  120. package/es-custom/components/date-picker/next/index.d.ts.map +1 -0
  121. package/es-custom/components/date-picker/next/index.js +11 -0
  122. package/es-custom/components/dropdown/dropdown.d.ts +8 -0
  123. package/es-custom/components/dropdown/dropdown.d.ts.map +1 -1
  124. package/es-custom/components/dropdown/dropdown.js +4 -2
  125. package/es-custom/components/dropdown/dropdown.js.map +1 -1
  126. package/es-custom/components/fluid-date-picker/fluid-date-picker-input.d.ts +39 -0
  127. package/es-custom/components/fluid-date-picker/fluid-date-picker-input.d.ts.map +1 -0
  128. package/es-custom/components/fluid-date-picker/fluid-date-picker-input.js +59 -0
  129. package/es-custom/components/fluid-date-picker/fluid-date-picker-input.js.map +1 -0
  130. package/es-custom/components/fluid-date-picker/fluid-date-picker-skeleton.d.ts +20 -0
  131. package/es-custom/components/fluid-date-picker/fluid-date-picker-skeleton.d.ts.map +1 -0
  132. package/es-custom/components/fluid-date-picker/fluid-date-picker-skeleton.js +74 -0
  133. package/es-custom/components/fluid-date-picker/fluid-date-picker-skeleton.js.map +1 -0
  134. package/es-custom/components/fluid-date-picker/fluid-date-picker.d.ts +24 -0
  135. package/es-custom/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -0
  136. package/es-custom/components/fluid-date-picker/fluid-date-picker.js +51 -0
  137. package/es-custom/components/fluid-date-picker/fluid-date-picker.js.map +1 -0
  138. package/es-custom/components/fluid-date-picker/fluid-date-picker.scss.js +14 -0
  139. package/es-custom/components/fluid-date-picker/fluid-date-picker.scss.js.map +1 -0
  140. package/es-custom/components/fluid-date-picker/index.d.ts +10 -0
  141. package/es-custom/components/fluid-date-picker/index.d.ts.map +1 -0
  142. package/es-custom/components/fluid-date-picker/index.js +10 -0
  143. package/es-custom/components/pagination/pagination.scss.js +1 -1
  144. package/es-custom/components/password-input/password-input.d.ts.map +1 -1
  145. package/es-custom/components/password-input/password-input.js +3 -2
  146. package/es-custom/components/password-input/password-input.js.map +1 -1
  147. package/es-custom/components/radio-button/radio-button.js +1 -1
  148. package/es-custom/components/radio-button/radio-button.js.map +1 -1
  149. package/es-custom/components/select/select.d.ts +8 -0
  150. package/es-custom/components/select/select.d.ts.map +1 -1
  151. package/es-custom/components/select/select.js +4 -2
  152. package/es-custom/components/select/select.js.map +1 -1
  153. package/es-custom/components/skip-to-content/skip-to-content.scss.js +1 -1
  154. package/es-custom/components/text-input/text-input.d.ts +17 -0
  155. package/es-custom/components/text-input/text-input.d.ts.map +1 -1
  156. package/es-custom/components/text-input/text-input.js +28 -6
  157. package/es-custom/components/text-input/text-input.js.map +1 -1
  158. package/es-custom/components/textarea/textarea.d.ts.map +1 -1
  159. package/es-custom/components/textarea/textarea.js +2 -1
  160. package/es-custom/components/textarea/textarea.js.map +1 -1
  161. package/es-custom/components/ui-shell/header.scss.js +1 -1
  162. package/es-custom/components/ui-shell/header.scss.js.map +1 -1
  163. package/es-custom/index.js +1 -1
  164. package/lib/components/date-picker/date-picker-input.d.ts +13 -1
  165. package/lib/components/date-picker/date-picker-input.d.ts.map +1 -1
  166. package/lib/components/date-picker/date-picker.d.ts +6 -0
  167. package/lib/components/date-picker/date-picker.d.ts.map +1 -1
  168. package/lib/components/date-picker/defs.d.ts +18 -1
  169. package/lib/components/date-picker/defs.d.ts.map +1 -1
  170. package/lib/components/date-picker/defs.js +19 -0
  171. package/lib/components/date-picker/defs.js.map +1 -1
  172. package/lib/components/date-picker/next/adapters/web-component-adapter.d.ts +143 -0
  173. package/lib/components/date-picker/next/adapters/web-component-adapter.d.ts.map +1 -0
  174. package/lib/components/date-picker/next/components/calendar-renderer.d.ts +136 -0
  175. package/lib/components/date-picker/next/components/calendar-renderer.d.ts.map +1 -0
  176. package/lib/components/date-picker/next/components/date-picker-input-skeleton.d.ts +35 -0
  177. package/lib/components/date-picker/next/components/date-picker-input-skeleton.d.ts.map +1 -0
  178. package/lib/components/date-picker/next/components/date-picker-input.d.ts +196 -0
  179. package/lib/components/date-picker/next/components/date-picker-input.d.ts.map +1 -0
  180. package/lib/components/date-picker/next/components/date-picker.d.ts +329 -0
  181. package/lib/components/date-picker/next/components/date-picker.d.ts.map +1 -0
  182. package/lib/components/date-picker/next/index.d.ts +11 -0
  183. package/lib/components/date-picker/next/index.d.ts.map +1 -0
  184. package/lib/components/dropdown/dropdown.d.ts +8 -0
  185. package/lib/components/dropdown/dropdown.d.ts.map +1 -1
  186. package/lib/components/fluid-date-picker/fluid-date-picker-input.d.ts +39 -0
  187. package/lib/components/fluid-date-picker/fluid-date-picker-input.d.ts.map +1 -0
  188. package/lib/components/fluid-date-picker/fluid-date-picker-skeleton.d.ts +20 -0
  189. package/lib/components/fluid-date-picker/fluid-date-picker-skeleton.d.ts.map +1 -0
  190. package/lib/components/fluid-date-picker/fluid-date-picker.d.ts +24 -0
  191. package/lib/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -0
  192. package/lib/components/fluid-date-picker/index.d.ts +10 -0
  193. package/lib/components/fluid-date-picker/index.d.ts.map +1 -0
  194. package/lib/components/password-input/password-input.d.ts.map +1 -1
  195. package/lib/components/select/select.d.ts +8 -0
  196. package/lib/components/select/select.d.ts.map +1 -1
  197. package/lib/components/text-input/text-input.d.ts +17 -0
  198. package/lib/components/text-input/text-input.d.ts.map +1 -1
  199. package/lib/components/textarea/textarea.d.ts.map +1 -1
  200. package/package.json +10 -10
  201. package/scss/components/date-picker/date-picker.scss +6 -0
  202. package/scss/components/date-picker/next/components/date-picker.scss +124 -0
  203. package/scss/components/fluid-date-picker/fluid-date-picker.scss +282 -0
  204. package/scss/components/ui-shell/header.scss +14 -8
  205. package/telemetry.yml +29 -11
@@ -5470,6 +5470,12 @@
5470
5470
  "description": "Provide the text that is displayed when the control is in warning state",
5471
5471
  "type": "string",
5472
5472
  "default": "\"\""
5473
+ },
5474
+ {
5475
+ "name": "is-fluid",
5476
+ "description": "Specify whether this is a fluid variant",
5477
+ "type": "boolean",
5478
+ "default": "false"
5473
5479
  }
5474
5480
  ],
5475
5481
  "properties": [
@@ -5592,6 +5598,13 @@
5592
5598
  "type": "string",
5593
5599
  "default": "\"\""
5594
5600
  },
5601
+ {
5602
+ "name": "isFluid",
5603
+ "attribute": "is-fluid",
5604
+ "description": "Specify whether this is a fluid variant",
5605
+ "type": "boolean",
5606
+ "default": "false"
5607
+ },
5595
5608
  {
5596
5609
  "name": "defaultPattern",
5597
5610
  "description": "The default value for `pattern` property.",
@@ -5806,217 +5819,744 @@
5806
5819
  ]
5807
5820
  },
5808
5821
  {
5809
- "name": "cds-dialog-body",
5810
- "path": "./src/components/dialog/dialog-body.ts",
5811
- "description": "Dialog body.",
5812
- "properties": [
5813
- {
5814
- "name": "styles",
5815
- "default": "\"styles\""
5816
- }
5817
- ]
5818
- },
5819
- {
5820
- "name": "cds-dialog-close-button",
5821
- "path": "./src/components/dialog/dialog-close-button.ts",
5822
- "description": "Dialog close button.",
5822
+ "name": "cds-preview-date-picker-calendar",
5823
+ "path": "./src/components/date-picker/next/components/calendar-renderer.ts",
5824
+ "description": "Calendar renderer for date picker.\nReplaces Flatpickr's calendar UI with a lightweight, framework-agnostic implementation.",
5823
5825
  "attributes": [
5824
5826
  {
5825
- "name": "close-button-label",
5826
- "description": "Specify a label for the close button of the modal; defaults to close",
5827
+ "name": "selectedDates",
5828
+ "description": "The selected date(s)",
5829
+ "type": "Temporal.PlainDate[]",
5830
+ "default": "[]"
5831
+ },
5832
+ {
5833
+ "name": "viewDate",
5834
+ "description": "The view date from the state machine (used to sync calendar month)"
5835
+ },
5836
+ {
5837
+ "name": "focusedDate",
5838
+ "description": "The focused date for keyboard navigation"
5839
+ },
5840
+ {
5841
+ "name": "minDate",
5842
+ "description": "The minimum selectable date"
5843
+ },
5844
+ {
5845
+ "name": "maxDate",
5846
+ "description": "The maximum selectable date"
5847
+ },
5848
+ {
5849
+ "name": "rangeMode",
5850
+ "description": "Whether range selection is enabled",
5851
+ "type": "boolean",
5852
+ "default": "false"
5853
+ },
5854
+ {
5855
+ "name": "dateFormat",
5856
+ "description": "The date format for display",
5827
5857
  "type": "string",
5828
- "default": "\"Close\""
5858
+ "default": "\"m/d/Y\""
5859
+ },
5860
+ {
5861
+ "name": "locale",
5862
+ "description": "Locale for date formatting",
5863
+ "type": "string",
5864
+ "default": "\"en-US\""
5829
5865
  }
5830
5866
  ],
5831
5867
  "properties": [
5832
5868
  {
5833
- "name": "closeButtonLabel",
5834
- "attribute": "close-button-label",
5835
- "description": "Specify a label for the close button of the modal; defaults to close",
5869
+ "name": "selectedDates",
5870
+ "attribute": "selectedDates",
5871
+ "description": "The selected date(s)",
5872
+ "type": "Temporal.PlainDate[]",
5873
+ "default": "[]"
5874
+ },
5875
+ {
5876
+ "name": "viewDate",
5877
+ "attribute": "viewDate",
5878
+ "description": "The view date from the state machine (used to sync calendar month)"
5879
+ },
5880
+ {
5881
+ "name": "focusedDate",
5882
+ "attribute": "focusedDate",
5883
+ "description": "The focused date for keyboard navigation"
5884
+ },
5885
+ {
5886
+ "name": "minDate",
5887
+ "attribute": "minDate",
5888
+ "description": "The minimum selectable date"
5889
+ },
5890
+ {
5891
+ "name": "maxDate",
5892
+ "attribute": "maxDate",
5893
+ "description": "The maximum selectable date"
5894
+ },
5895
+ {
5896
+ "name": "rangeMode",
5897
+ "attribute": "rangeMode",
5898
+ "description": "Whether range selection is enabled",
5899
+ "type": "boolean",
5900
+ "default": "false"
5901
+ },
5902
+ {
5903
+ "name": "dateFormat",
5904
+ "attribute": "dateFormat",
5905
+ "description": "The date format for display",
5836
5906
  "type": "string",
5837
- "default": "\"Close\""
5907
+ "default": "\"m/d/Y\""
5838
5908
  },
5839
5909
  {
5840
- "name": "shadowRootOptions",
5841
- "type": "{ delegatesFocus: boolean; mode: ShadowRootMode; slotAssignment?: SlotAssignmentMode | undefined; customElements?: CustomElementRegistry | undefined; registry?: CustomElementRegistry | undefined; }",
5842
- "default": "{\"delegatesFocus\":true}"
5910
+ "name": "locale",
5911
+ "attribute": "locale",
5912
+ "description": "Locale for date formatting",
5913
+ "type": "string",
5914
+ "default": "\"en-US\""
5843
5915
  },
5844
5916
  {
5845
5917
  "name": "styles",
5846
5918
  "default": "\"styles\""
5847
5919
  }
5848
5920
  ],
5849
- "cssParts": [
5921
+ "events": [
5850
5922
  {
5851
- "name": "close",
5852
- "description": "icon The close icon."
5853
- }
5854
- ]
5855
- },
5856
- {
5857
- "name": "cds-dialog-controls",
5858
- "path": "./src/components/dialog/dialog-controls.ts",
5859
- "description": "Dialog header controls.",
5860
- "properties": [
5923
+ "name": "cds-preview-date-picker-calendar-date-select",
5924
+ "description": "Fired when a date is selected"
5925
+ },
5861
5926
  {
5862
- "name": "styles",
5863
- "default": "\"styles\""
5927
+ "name": "cds-preview-date-picker-calendar-month-change",
5928
+ "description": "Fired when the month changes"
5864
5929
  }
5865
5930
  ]
5866
5931
  },
5867
5932
  {
5868
- "name": "cds-dialog-footer-button",
5869
- "path": "./src/components/dialog/dialog-footer-button.ts",
5870
- "description": "Dialog footer button.",
5933
+ "name": "cds-preview-date-picker-input",
5934
+ "path": "./src/components/date-picker/next/components/date-picker-input.ts",
5935
+ "description": "The input box for date picker.",
5871
5936
  "attributes": [
5872
5937
  {
5873
- "name": "autofocus",
5874
- "description": "`true` if the button should have input focus when the page loads.",
5938
+ "name": "color-scheme",
5939
+ "description": "The color scheme.",
5940
+ "type": "FORM_ELEMENT_COLOR_SCHEME",
5941
+ "default": "\"\""
5942
+ },
5943
+ {
5944
+ "name": "disabled",
5945
+ "description": "`true` if the check box should be disabled.",
5875
5946
  "type": "boolean",
5876
5947
  "default": "false"
5877
5948
  },
5878
5949
  {
5879
- "name": "batch-action",
5880
- "description": "`true` if the button is being used within a data table batch action toolbar",
5950
+ "name": "hide-label",
5951
+ "description": "`true` if the label should be hidden.",
5881
5952
  "type": "boolean",
5882
5953
  "default": "false"
5883
5954
  },
5884
5955
  {
5885
- "name": "button-class-name",
5886
- "description": "Specify an optional className to be added to your Button"
5956
+ "name": "invalid",
5957
+ "description": "Controls the invalid state and visibility of the `validityMessage`.",
5958
+ "type": "boolean",
5959
+ "default": "false"
5887
5960
  },
5888
5961
  {
5889
- "name": "danger-description",
5890
- "description": "Specify the message read by screen readers for the danger button variants",
5962
+ "name": "invalid-text",
5963
+ "description": "Message which is displayed if the value is invalid.",
5891
5964
  "type": "string",
5892
5965
  "default": "\"\""
5893
5966
  },
5894
5967
  {
5895
- "name": "disabled",
5896
- "description": "Specify whether the Button should be disabled, or not",
5897
- "type": "boolean",
5898
- "default": "false"
5968
+ "name": "kind",
5969
+ "description": "Date picker input kind.",
5970
+ "type": "DATE_PICKER_INPUT_KIND",
5971
+ "default": "\"simple\""
5899
5972
  },
5900
5973
  {
5901
- "name": "download",
5902
- "description": "The default file name, used if this button is rendered as `<a>`.",
5974
+ "name": "label-text",
5975
+ "description": "The label text.",
5903
5976
  "type": "string"
5904
5977
  },
5905
5978
  {
5906
- "name": "has-main-content",
5907
- "description": "`true` if there is a non-icon content.",
5908
- "type": "boolean",
5909
- "default": "false"
5910
- },
5911
- {
5912
- "name": "href",
5913
- "description": "Optionally specify an href for your Button to become an `<a>` element",
5979
+ "name": "pattern",
5980
+ "description": "The `pattern` attribute for the `<input>` in the shadow DOM.",
5914
5981
  "type": "string"
5915
5982
  },
5916
5983
  {
5917
- "name": "hreflang",
5918
- "description": "The language of what `href` points to, if this button is rendered as `<a>`.",
5984
+ "name": "placeholder",
5985
+ "description": "The placeholder text.",
5919
5986
  "type": "string"
5920
5987
  },
5921
5988
  {
5922
- "name": "isExpressive",
5923
- "description": "Specify whether the Button is expressive, or not.",
5989
+ "name": "readonly",
5990
+ "description": "Specify if the component should be read-only",
5924
5991
  "type": "boolean",
5925
5992
  "default": "false"
5926
5993
  },
5927
5994
  {
5928
- "name": "isSelected",
5929
- "description": "Specify whether the Button is currently selected. Only applies to the icon only Ghost variant.",
5995
+ "name": "required",
5996
+ "description": "`true` if the value is required.",
5930
5997
  "type": "boolean",
5931
5998
  "default": "false"
5932
5999
  },
5933
6000
  {
5934
- "name": "kind",
5935
- "description": "Specify the kind of Button you want to create. `primary`, `secondary`,`tertiary`, `ghost`, `danger`, `danger-tertiary`, `danger-ghost`",
5936
- "type": "BUTTON_KIND",
5937
- "default": "\"primary\""
5938
- },
5939
- {
5940
- "name": "link-role",
5941
- "description": "The a11y role for `<a>`.",
5942
- "type": "string",
5943
- "default": "\"button\""
5944
- },
5945
- {
5946
- "name": "openTooltip",
5947
- "description": "Boolean to determine if tooltip is open.",
6001
+ "name": "short",
6002
+ "description": "true to use the short version.",
5948
6003
  "type": "boolean",
5949
6004
  "default": "false"
5950
6005
  },
5951
6006
  {
5952
- "name": "ping",
5953
- "description": "URLs to ping, if this button is rendered as `<a>`.",
5954
- "type": "string"
6007
+ "name": "size",
6008
+ "description": "Vertical size of this date picker input.",
6009
+ "type": "INPUT_SIZE",
6010
+ "default": "\"md\""
5955
6011
  },
5956
6012
  {
5957
- "name": "rel",
5958
- "description": "Optionally specify a `rel` when using an `<a>` element.",
6013
+ "name": "type",
6014
+ "description": "The `type` attribute for the `<input>` in the shadow DOM.",
5959
6015
  "type": "string"
5960
6016
  },
5961
6017
  {
5962
- "name": "size",
5963
- "description": "Specify the size of the button, from the following list of sizes: `xs`, `sm`, `md`, `lg`, `xl`, `2xl`",
5964
- "type": "string | undefined",
5965
- "default": "\"lg\""
5966
- },
5967
- {
5968
- "name": "tab-index",
5969
- "description": "Optional prop to specify the tabIndex of the Button",
5970
- "type": "number",
5971
- "default": "0"
6018
+ "name": "value",
6019
+ "description": "The value.",
6020
+ "type": "string"
5972
6021
  },
5973
6022
  {
5974
- "name": "target",
5975
- "description": "Optionally specify a `target` when using an `<a>` element.",
5976
- "type": "string"
6023
+ "name": "warn",
6024
+ "description": "Specify whether the control is currently in warning state",
6025
+ "type": "boolean",
6026
+ "default": "false"
5977
6027
  },
5978
6028
  {
5979
- "name": "tooltip-alignment",
5980
- "description": "Specify the alignment of the tooltip to the icon-only button.\nCan be one of: start, center, or end.",
5981
- "type": "BUTTON_TOOLTIP_ALIGNMENT",
6029
+ "name": "warn-text",
6030
+ "description": "Provide the text that is displayed when the control is in warning state",
6031
+ "type": "string",
5982
6032
  "default": "\"\""
5983
- },
6033
+ }
6034
+ ],
6035
+ "properties": [
5984
6036
  {
5985
- "name": "tooltip-position",
5986
- "description": "Specify the direction of the tooltip for icon-only buttons.\nCan be either top, right, bottom, or left.",
5987
- "type": "BUTTON_TOOLTIP_POSITION",
5988
- "default": "\"top\""
6037
+ "name": "input",
6038
+ "description": "The `<input>`, used for Flatpickr to grab.",
6039
+ "type": "HTMLInputElement"
5989
6040
  },
5990
6041
  {
5991
- "name": "tooltip-text",
5992
- "description": "If rendering an `icon-only` button through `slot=\"icon\"`, Specify the text to be rendered in the tooltip. If using\n`cds-badge-indicator` with no count prop then the text should include describing there is a new notification.",
5993
- "type": "string"
6042
+ "name": "colorScheme",
6043
+ "attribute": "color-scheme",
6044
+ "description": "The color scheme.",
6045
+ "type": "FORM_ELEMENT_COLOR_SCHEME",
6046
+ "default": "\"\""
5994
6047
  },
5995
6048
  {
5996
- "name": "type",
5997
- "description": "Optional prop to specify the type of the Button.",
5998
- "type": "BUTTON_TYPE",
5999
- "default": "\"button\""
6000
- }
6001
- ],
6002
- "properties": [
6049
+ "name": "disabled",
6050
+ "attribute": "disabled",
6051
+ "description": "`true` if the check box should be disabled.",
6052
+ "type": "boolean",
6053
+ "default": "false"
6054
+ },
6003
6055
  {
6004
- "name": "autofocus",
6005
- "attribute": "autofocus",
6006
- "description": "`true` if the button should have input focus when the page loads.",
6056
+ "name": "hideLabel",
6057
+ "attribute": "hide-label",
6058
+ "description": "`true` if the label should be hidden.",
6007
6059
  "type": "boolean",
6008
6060
  "default": "false"
6009
6061
  },
6010
6062
  {
6011
- "name": "batchAction",
6012
- "attribute": "batch-action",
6013
- "description": "`true` if the button is being used within a data table batch action toolbar",
6063
+ "name": "invalid",
6064
+ "attribute": "invalid",
6065
+ "description": "Controls the invalid state and visibility of the `validityMessage`.",
6014
6066
  "type": "boolean",
6015
6067
  "default": "false"
6016
6068
  },
6017
6069
  {
6018
- "name": "buttonClassName",
6019
- "attribute": "button-class-name",
6070
+ "name": "invalidText",
6071
+ "attribute": "invalid-text",
6072
+ "description": "Message which is displayed if the value is invalid.",
6073
+ "type": "string",
6074
+ "default": "\"\""
6075
+ },
6076
+ {
6077
+ "name": "kind",
6078
+ "attribute": "kind",
6079
+ "description": "Date picker input kind.",
6080
+ "type": "DATE_PICKER_INPUT_KIND",
6081
+ "default": "\"simple\""
6082
+ },
6083
+ {
6084
+ "name": "labelText",
6085
+ "attribute": "label-text",
6086
+ "description": "The label text.",
6087
+ "type": "string"
6088
+ },
6089
+ {
6090
+ "name": "pattern",
6091
+ "attribute": "pattern",
6092
+ "description": "The `pattern` attribute for the `<input>` in the shadow DOM.",
6093
+ "type": "string"
6094
+ },
6095
+ {
6096
+ "name": "placeholder",
6097
+ "attribute": "placeholder",
6098
+ "description": "The placeholder text.",
6099
+ "type": "string"
6100
+ },
6101
+ {
6102
+ "name": "readonly",
6103
+ "attribute": "readonly",
6104
+ "description": "Specify if the component should be read-only",
6105
+ "type": "boolean",
6106
+ "default": "false"
6107
+ },
6108
+ {
6109
+ "name": "required",
6110
+ "attribute": "required",
6111
+ "description": "`true` if the value is required.",
6112
+ "type": "boolean",
6113
+ "default": "false"
6114
+ },
6115
+ {
6116
+ "name": "short",
6117
+ "attribute": "short",
6118
+ "description": "true to use the short version.",
6119
+ "type": "boolean",
6120
+ "default": "false"
6121
+ },
6122
+ {
6123
+ "name": "size",
6124
+ "attribute": "size",
6125
+ "description": "Vertical size of this date picker input.",
6126
+ "type": "INPUT_SIZE",
6127
+ "default": "\"md\""
6128
+ },
6129
+ {
6130
+ "name": "type",
6131
+ "attribute": "type",
6132
+ "description": "The `type` attribute for the `<input>` in the shadow DOM.",
6133
+ "type": "string"
6134
+ },
6135
+ {
6136
+ "name": "value",
6137
+ "attribute": "value",
6138
+ "description": "The value.",
6139
+ "type": "string"
6140
+ },
6141
+ {
6142
+ "name": "warn",
6143
+ "attribute": "warn",
6144
+ "description": "Specify whether the control is currently in warning state",
6145
+ "type": "boolean",
6146
+ "default": "false"
6147
+ },
6148
+ {
6149
+ "name": "warnText",
6150
+ "attribute": "warn-text",
6151
+ "description": "Provide the text that is displayed when the control is in warning state",
6152
+ "type": "string",
6153
+ "default": "\"\""
6154
+ },
6155
+ {
6156
+ "name": "defaultPattern",
6157
+ "description": "The default value for `pattern` property.",
6158
+ "type": "string",
6159
+ "default": "\"\\\\d{1,2}\\\\/\\\\d{1,2}\\\\/\\\\d{4}\""
6160
+ },
6161
+ {
6162
+ "name": "defaultType",
6163
+ "description": "The default value for `type` property.",
6164
+ "type": "string",
6165
+ "default": "\"text\""
6166
+ },
6167
+ {
6168
+ "name": "shadowRootOptions",
6169
+ "type": "{ delegatesFocus: boolean; mode: ShadowRootMode; slotAssignment?: SlotAssignmentMode | undefined; customElements?: CustomElementRegistry | undefined; registry?: CustomElementRegistry | undefined; }",
6170
+ "default": "{\"delegatesFocus\":true}"
6171
+ },
6172
+ {
6173
+ "name": "styles",
6174
+ "default": "\"styles\""
6175
+ }
6176
+ ]
6177
+ },
6178
+ {
6179
+ "name": "cds-preview-date-picker",
6180
+ "path": "./src/components/date-picker/next/components/date-picker.ts",
6181
+ "description": "Date picker.",
6182
+ "attributes": [
6183
+ {
6184
+ "name": "allow-input",
6185
+ "description": "Allows the user to enter a date directly into the input field",
6186
+ "type": "boolean",
6187
+ "default": "true"
6188
+ },
6189
+ {
6190
+ "name": "close-on-select",
6191
+ "description": "Controls whether the calendar dropdown closes upon selection.",
6192
+ "type": "boolean",
6193
+ "default": "true"
6194
+ },
6195
+ {
6196
+ "name": "date-format",
6197
+ "description": "The date format.",
6198
+ "type": "string"
6199
+ },
6200
+ {
6201
+ "name": "locale",
6202
+ "description": "BCP 47 locale tag used to localize the calendar's month and weekday labels.",
6203
+ "type": "string",
6204
+ "default": "\"en\""
6205
+ },
6206
+ {
6207
+ "name": "disabled",
6208
+ "description": "Controls the disabled state of the input",
6209
+ "type": "boolean",
6210
+ "default": "false"
6211
+ },
6212
+ {
6213
+ "name": "max-date",
6214
+ "description": "The maximum date that a user can start picking from.",
6215
+ "type": "string"
6216
+ },
6217
+ {
6218
+ "name": "min-date",
6219
+ "description": "The minimum date that a user can start picking from.",
6220
+ "type": "string"
6221
+ },
6222
+ {
6223
+ "name": "name",
6224
+ "description": "Name for the input in the `FormData`",
6225
+ "type": "string",
6226
+ "default": "\"\""
6227
+ },
6228
+ {
6229
+ "name": "open",
6230
+ "description": "`true` if the date picker should be open.",
6231
+ "type": "boolean",
6232
+ "default": "false"
6233
+ },
6234
+ {
6235
+ "name": "readonly",
6236
+ "description": "Specify if the component should be read-only",
6237
+ "type": "boolean",
6238
+ "default": "false"
6239
+ },
6240
+ {
6241
+ "name": "value",
6242
+ "description": "The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.",
6243
+ "type": "string"
6244
+ }
6245
+ ],
6246
+ "properties": [
6247
+ {
6248
+ "name": "allowInput",
6249
+ "attribute": "allow-input",
6250
+ "description": "Allows the user to enter a date directly into the input field",
6251
+ "type": "boolean",
6252
+ "default": "true"
6253
+ },
6254
+ {
6255
+ "name": "closeOnSelect",
6256
+ "attribute": "close-on-select",
6257
+ "description": "Controls whether the calendar dropdown closes upon selection.",
6258
+ "type": "boolean",
6259
+ "default": "true"
6260
+ },
6261
+ {
6262
+ "name": "dateFormat",
6263
+ "attribute": "date-format",
6264
+ "description": "The date format.",
6265
+ "type": "string"
6266
+ },
6267
+ {
6268
+ "name": "locale",
6269
+ "attribute": "locale",
6270
+ "description": "BCP 47 locale tag used to localize the calendar's month and weekday labels.",
6271
+ "type": "string",
6272
+ "default": "\"en\""
6273
+ },
6274
+ {
6275
+ "name": "disabled",
6276
+ "attribute": "disabled",
6277
+ "description": "Controls the disabled state of the input",
6278
+ "type": "boolean",
6279
+ "default": "false"
6280
+ },
6281
+ {
6282
+ "name": "maxDate",
6283
+ "attribute": "max-date",
6284
+ "description": "The maximum date that a user can start picking from.",
6285
+ "type": "string"
6286
+ },
6287
+ {
6288
+ "name": "minDate",
6289
+ "attribute": "min-date",
6290
+ "description": "The minimum date that a user can start picking from.",
6291
+ "type": "string"
6292
+ },
6293
+ {
6294
+ "name": "name",
6295
+ "attribute": "name",
6296
+ "description": "Name for the input in the `FormData`",
6297
+ "type": "string",
6298
+ "default": "\"\""
6299
+ },
6300
+ {
6301
+ "name": "open",
6302
+ "attribute": "open",
6303
+ "description": "`true` if the date picker should be open.",
6304
+ "type": "boolean",
6305
+ "default": "false"
6306
+ },
6307
+ {
6308
+ "name": "readonly",
6309
+ "attribute": "readonly",
6310
+ "description": "Specify if the component should be read-only",
6311
+ "type": "boolean",
6312
+ "default": "false"
6313
+ },
6314
+ {
6315
+ "name": "value",
6316
+ "attribute": "value",
6317
+ "description": "The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.",
6318
+ "type": "string"
6319
+ },
6320
+ {
6321
+ "name": "classNoBorder",
6322
+ "description": "The CSS class applied to the \"today\" highlight if there are any dates selected.",
6323
+ "type": "string",
6324
+ "default": "\"no-border\""
6325
+ },
6326
+ {
6327
+ "name": "defaultDateFormat",
6328
+ "description": "The default date format.",
6329
+ "type": "string",
6330
+ "default": "\"m/d/Y\""
6331
+ },
6332
+ {
6333
+ "name": "styles",
6334
+ "default": "\"styles\""
6335
+ }
6336
+ ],
6337
+ "events": [
6338
+ {
6339
+ "name": "cds-preview-date-picker-changed",
6340
+ "description": "The custom event fired when the date selection changes."
6341
+ },
6342
+ {
6343
+ "name": "cds-preview-date-picker-error",
6344
+ "description": "The custom event fired when an error occurs."
6345
+ }
6346
+ ]
6347
+ },
6348
+ {
6349
+ "name": "cds-dialog-body",
6350
+ "path": "./src/components/dialog/dialog-body.ts",
6351
+ "description": "Dialog body.",
6352
+ "properties": [
6353
+ {
6354
+ "name": "styles",
6355
+ "default": "\"styles\""
6356
+ }
6357
+ ]
6358
+ },
6359
+ {
6360
+ "name": "cds-dialog-close-button",
6361
+ "path": "./src/components/dialog/dialog-close-button.ts",
6362
+ "description": "Dialog close button.",
6363
+ "attributes": [
6364
+ {
6365
+ "name": "close-button-label",
6366
+ "description": "Specify a label for the close button of the modal; defaults to close",
6367
+ "type": "string",
6368
+ "default": "\"Close\""
6369
+ }
6370
+ ],
6371
+ "properties": [
6372
+ {
6373
+ "name": "closeButtonLabel",
6374
+ "attribute": "close-button-label",
6375
+ "description": "Specify a label for the close button of the modal; defaults to close",
6376
+ "type": "string",
6377
+ "default": "\"Close\""
6378
+ },
6379
+ {
6380
+ "name": "shadowRootOptions",
6381
+ "type": "{ delegatesFocus: boolean; mode: ShadowRootMode; slotAssignment?: SlotAssignmentMode | undefined; customElements?: CustomElementRegistry | undefined; registry?: CustomElementRegistry | undefined; }",
6382
+ "default": "{\"delegatesFocus\":true}"
6383
+ },
6384
+ {
6385
+ "name": "styles",
6386
+ "default": "\"styles\""
6387
+ }
6388
+ ],
6389
+ "cssParts": [
6390
+ {
6391
+ "name": "close",
6392
+ "description": "icon The close icon."
6393
+ }
6394
+ ]
6395
+ },
6396
+ {
6397
+ "name": "cds-dialog-controls",
6398
+ "path": "./src/components/dialog/dialog-controls.ts",
6399
+ "description": "Dialog header controls.",
6400
+ "properties": [
6401
+ {
6402
+ "name": "styles",
6403
+ "default": "\"styles\""
6404
+ }
6405
+ ]
6406
+ },
6407
+ {
6408
+ "name": "cds-dialog-footer-button",
6409
+ "path": "./src/components/dialog/dialog-footer-button.ts",
6410
+ "description": "Dialog footer button.",
6411
+ "attributes": [
6412
+ {
6413
+ "name": "autofocus",
6414
+ "description": "`true` if the button should have input focus when the page loads.",
6415
+ "type": "boolean",
6416
+ "default": "false"
6417
+ },
6418
+ {
6419
+ "name": "batch-action",
6420
+ "description": "`true` if the button is being used within a data table batch action toolbar",
6421
+ "type": "boolean",
6422
+ "default": "false"
6423
+ },
6424
+ {
6425
+ "name": "button-class-name",
6426
+ "description": "Specify an optional className to be added to your Button"
6427
+ },
6428
+ {
6429
+ "name": "danger-description",
6430
+ "description": "Specify the message read by screen readers for the danger button variants",
6431
+ "type": "string",
6432
+ "default": "\"\""
6433
+ },
6434
+ {
6435
+ "name": "disabled",
6436
+ "description": "Specify whether the Button should be disabled, or not",
6437
+ "type": "boolean",
6438
+ "default": "false"
6439
+ },
6440
+ {
6441
+ "name": "download",
6442
+ "description": "The default file name, used if this button is rendered as `<a>`.",
6443
+ "type": "string"
6444
+ },
6445
+ {
6446
+ "name": "has-main-content",
6447
+ "description": "`true` if there is a non-icon content.",
6448
+ "type": "boolean",
6449
+ "default": "false"
6450
+ },
6451
+ {
6452
+ "name": "href",
6453
+ "description": "Optionally specify an href for your Button to become an `<a>` element",
6454
+ "type": "string"
6455
+ },
6456
+ {
6457
+ "name": "hreflang",
6458
+ "description": "The language of what `href` points to, if this button is rendered as `<a>`.",
6459
+ "type": "string"
6460
+ },
6461
+ {
6462
+ "name": "isExpressive",
6463
+ "description": "Specify whether the Button is expressive, or not.",
6464
+ "type": "boolean",
6465
+ "default": "false"
6466
+ },
6467
+ {
6468
+ "name": "isSelected",
6469
+ "description": "Specify whether the Button is currently selected. Only applies to the icon only Ghost variant.",
6470
+ "type": "boolean",
6471
+ "default": "false"
6472
+ },
6473
+ {
6474
+ "name": "kind",
6475
+ "description": "Specify the kind of Button you want to create. `primary`, `secondary`,`tertiary`, `ghost`, `danger`, `danger-tertiary`, `danger-ghost`",
6476
+ "type": "BUTTON_KIND",
6477
+ "default": "\"primary\""
6478
+ },
6479
+ {
6480
+ "name": "link-role",
6481
+ "description": "The a11y role for `<a>`.",
6482
+ "type": "string",
6483
+ "default": "\"button\""
6484
+ },
6485
+ {
6486
+ "name": "openTooltip",
6487
+ "description": "Boolean to determine if tooltip is open.",
6488
+ "type": "boolean",
6489
+ "default": "false"
6490
+ },
6491
+ {
6492
+ "name": "ping",
6493
+ "description": "URLs to ping, if this button is rendered as `<a>`.",
6494
+ "type": "string"
6495
+ },
6496
+ {
6497
+ "name": "rel",
6498
+ "description": "Optionally specify a `rel` when using an `<a>` element.",
6499
+ "type": "string"
6500
+ },
6501
+ {
6502
+ "name": "size",
6503
+ "description": "Specify the size of the button, from the following list of sizes: `xs`, `sm`, `md`, `lg`, `xl`, `2xl`",
6504
+ "type": "string | undefined",
6505
+ "default": "\"lg\""
6506
+ },
6507
+ {
6508
+ "name": "tab-index",
6509
+ "description": "Optional prop to specify the tabIndex of the Button",
6510
+ "type": "number",
6511
+ "default": "0"
6512
+ },
6513
+ {
6514
+ "name": "target",
6515
+ "description": "Optionally specify a `target` when using an `<a>` element.",
6516
+ "type": "string"
6517
+ },
6518
+ {
6519
+ "name": "tooltip-alignment",
6520
+ "description": "Specify the alignment of the tooltip to the icon-only button.\nCan be one of: start, center, or end.",
6521
+ "type": "BUTTON_TOOLTIP_ALIGNMENT",
6522
+ "default": "\"\""
6523
+ },
6524
+ {
6525
+ "name": "tooltip-position",
6526
+ "description": "Specify the direction of the tooltip for icon-only buttons.\nCan be either top, right, bottom, or left.",
6527
+ "type": "BUTTON_TOOLTIP_POSITION",
6528
+ "default": "\"top\""
6529
+ },
6530
+ {
6531
+ "name": "tooltip-text",
6532
+ "description": "If rendering an `icon-only` button through `slot=\"icon\"`, Specify the text to be rendered in the tooltip. If using\n`cds-badge-indicator` with no count prop then the text should include describing there is a new notification.",
6533
+ "type": "string"
6534
+ },
6535
+ {
6536
+ "name": "type",
6537
+ "description": "Optional prop to specify the type of the Button.",
6538
+ "type": "BUTTON_TYPE",
6539
+ "default": "\"button\""
6540
+ }
6541
+ ],
6542
+ "properties": [
6543
+ {
6544
+ "name": "autofocus",
6545
+ "attribute": "autofocus",
6546
+ "description": "`true` if the button should have input focus when the page loads.",
6547
+ "type": "boolean",
6548
+ "default": "false"
6549
+ },
6550
+ {
6551
+ "name": "batchAction",
6552
+ "attribute": "batch-action",
6553
+ "description": "`true` if the button is being used within a data table batch action toolbar",
6554
+ "type": "boolean",
6555
+ "default": "false"
6556
+ },
6557
+ {
6558
+ "name": "buttonClassName",
6559
+ "attribute": "button-class-name",
6020
6560
  "description": "Specify an optional className to be added to your Button"
6021
6561
  },
6022
6562
  {
@@ -7328,169 +7868,562 @@
7328
7868
  "description": "Fluid combo box skeleton.",
7329
7869
  "properties": [
7330
7870
  {
7331
- "name": "styles",
7332
- "default": "\"styles\""
7871
+ "name": "styles",
7872
+ "default": "\"styles\""
7873
+ }
7874
+ ]
7875
+ },
7876
+ {
7877
+ "name": "cds-fluid-combo-box",
7878
+ "path": "./src/components/fluid-combo-box/fluid-combo-box.ts",
7879
+ "description": "Fluid combo box.",
7880
+ "attributes": [
7881
+ {
7882
+ "name": "is-condensed",
7883
+ "description": "Specify if the combo box should render its menu items in condensed mode.",
7884
+ "type": "boolean",
7885
+ "default": "false"
7886
+ },
7887
+ {
7888
+ "name": "clear-selection-label",
7889
+ "description": "The `aria-label` attribute for the icon to clear selection.",
7890
+ "type": "string",
7891
+ "default": "\"Clear selection\""
7892
+ },
7893
+ {
7894
+ "name": "input-label",
7895
+ "description": "The `aria-label` attribute for the `<input>` for filtering.",
7896
+ "type": "string",
7897
+ "default": "\"\""
7898
+ },
7899
+ {
7900
+ "name": "should-filter-item",
7901
+ "description": "Provide custom filtering behavior. This attribute will be ignored if\n`typeahead` is enabled and will default to `true`",
7902
+ "type": "boolean | ShouldFilterItem",
7903
+ "default": "false"
7904
+ },
7905
+ {
7906
+ "name": "typeahead",
7907
+ "description": "**Experimental**: will enable autocomplete and typeahead for the input field.",
7908
+ "type": "boolean",
7909
+ "default": "false"
7910
+ },
7911
+ {
7912
+ "name": "allow-custom-value",
7913
+ "description": "`true` to allow custom values that do not match any item in the list.",
7914
+ "type": "boolean",
7915
+ "default": "false"
7916
+ },
7917
+ {
7918
+ "name": "aria-label",
7919
+ "description": "'aria-label' of the ListBox component.\nSpecify a label to be read by screen readers on the container node",
7920
+ "type": "string",
7921
+ "default": "\"\""
7922
+ },
7923
+ {
7924
+ "name": "direction",
7925
+ "description": "Specify the direction of the dropdown. Can be either top or bottom.",
7926
+ "type": "DROPDOWN_DIRECTION",
7927
+ "default": "\"bottom\""
7928
+ },
7929
+ {
7930
+ "name": "autoalign",
7931
+ "description": "Specify whether auto align functionality should be applied",
7932
+ "type": "boolean",
7933
+ "default": "false"
7934
+ },
7935
+ {
7936
+ "name": "disabled",
7937
+ "description": "`true` if this dropdown should be disabled.",
7938
+ "type": "boolean",
7939
+ "default": "false"
7940
+ },
7941
+ {
7942
+ "name": "helper-text",
7943
+ "description": "The helper text.",
7944
+ "type": "string",
7945
+ "default": "\"\""
7946
+ },
7947
+ {
7948
+ "name": "hide-label",
7949
+ "description": "Specify whether the title text should be hidden or not",
7950
+ "type": "boolean",
7951
+ "default": "false"
7952
+ },
7953
+ {
7954
+ "name": "invalid-text",
7955
+ "description": "Message which is displayed if the value is invalid.",
7956
+ "type": "string",
7957
+ "default": "\"\""
7958
+ },
7959
+ {
7960
+ "name": "title-text",
7961
+ "description": "Provide the title text that will be read by a screen reader when visiting this control",
7962
+ "type": "string",
7963
+ "default": "\"\""
7964
+ },
7965
+ {
7966
+ "name": "name",
7967
+ "description": "Name for the dropdown in the `FormData`",
7968
+ "type": "string",
7969
+ "default": "\"\""
7970
+ },
7971
+ {
7972
+ "name": "open",
7973
+ "description": "`true` if this dropdown should be open.",
7974
+ "type": "boolean",
7975
+ "default": "false"
7976
+ },
7977
+ {
7978
+ "name": "read-only",
7979
+ "description": "Whether or not the Dropdown is readonly",
7980
+ "type": "boolean",
7981
+ "default": "false"
7982
+ },
7983
+ {
7984
+ "name": "isFluid",
7985
+ "description": "Specify whether the dropdown is fluid or not",
7986
+ "type": "boolean",
7987
+ "default": "false"
7988
+ },
7989
+ {
7990
+ "name": "size",
7991
+ "description": "Dropdown size.",
7992
+ "type": "DROPDOWN_SIZE",
7993
+ "default": "\"md\""
7994
+ },
7995
+ {
7996
+ "name": "toggle-label-closed",
7997
+ "description": "The `aria-label` attribute for the UI indicating the closed state.",
7998
+ "type": "string",
7999
+ "default": "\"\""
8000
+ },
8001
+ {
8002
+ "name": "toggle-label-open",
8003
+ "description": "The `aria-label` attribute for the UI indicating the open state.",
8004
+ "type": "string",
8005
+ "default": "\"\""
8006
+ },
8007
+ {
8008
+ "name": "label",
8009
+ "description": "Generic label that will be used as the textual representation of what this field is for",
8010
+ "type": "string",
8011
+ "default": "\"\""
8012
+ },
8013
+ {
8014
+ "name": "type",
8015
+ "description": "`true` if this dropdown should use the inline UI variant.",
8016
+ "type": "DROPDOWN_TYPE",
8017
+ "default": "\"\""
8018
+ },
8019
+ {
8020
+ "name": "warn",
8021
+ "description": "Specify whether the control is currently in warning state",
8022
+ "type": "boolean",
8023
+ "default": "false"
8024
+ },
8025
+ {
8026
+ "name": "warn-text",
8027
+ "description": "Provide the text that is displayed when the control is in warning state",
8028
+ "type": "string",
8029
+ "default": "\"\""
8030
+ },
8031
+ {
8032
+ "name": "invalid",
8033
+ "description": "`true` to show the UI of the invalid state.",
8034
+ "type": "boolean",
8035
+ "default": "false"
8036
+ },
8037
+ {
8038
+ "name": "required",
8039
+ "description": "`true` if the value is required.",
8040
+ "type": "boolean",
8041
+ "default": "false"
8042
+ },
8043
+ {
8044
+ "name": "required-validity-message",
8045
+ "description": "The special validity message for `required`.",
8046
+ "type": "string",
8047
+ "default": "\"Please fill out this field.\""
8048
+ },
8049
+ {
8050
+ "name": "validity-message",
8051
+ "description": "The validity message.",
8052
+ "type": "string",
8053
+ "default": "\"\""
8054
+ },
8055
+ {
8056
+ "name": "value",
8057
+ "description": "The value of the selected item.",
8058
+ "type": "string",
8059
+ "default": "\"\""
7333
8060
  }
7334
- ]
7335
- },
7336
- {
7337
- "name": "cds-fluid-combo-box",
7338
- "path": "./src/components/fluid-combo-box/fluid-combo-box.ts",
7339
- "description": "Fluid combo box.",
7340
- "attributes": [
8061
+ ],
8062
+ "properties": [
7341
8063
  {
7342
- "name": "is-condensed",
8064
+ "name": "isCondensed",
8065
+ "attribute": "is-condensed",
7343
8066
  "description": "Specify if the combo box should render its menu items in condensed mode.",
7344
8067
  "type": "boolean",
7345
8068
  "default": "false"
7346
8069
  },
7347
8070
  {
7348
- "name": "clear-selection-label",
8071
+ "name": "clearSelectionLabel",
8072
+ "attribute": "clear-selection-label",
7349
8073
  "description": "The `aria-label` attribute for the icon to clear selection.",
7350
8074
  "type": "string",
7351
8075
  "default": "\"Clear selection\""
7352
8076
  },
7353
8077
  {
7354
- "name": "input-label",
8078
+ "name": "inputLabel",
8079
+ "attribute": "input-label",
7355
8080
  "description": "The `aria-label` attribute for the `<input>` for filtering.",
7356
8081
  "type": "string",
7357
8082
  "default": "\"\""
7358
8083
  },
7359
8084
  {
7360
- "name": "should-filter-item",
8085
+ "name": "itemMatches",
8086
+ "description": "The custom item matching callback.",
8087
+ "type": "(item: CDSComboBoxItem, queryText: string) => boolean"
8088
+ },
8089
+ {
8090
+ "name": "shouldFilterItem",
8091
+ "attribute": "should-filter-item",
7361
8092
  "description": "Provide custom filtering behavior. This attribute will be ignored if\n`typeahead` is enabled and will default to `true`",
7362
8093
  "type": "boolean | ShouldFilterItem",
7363
8094
  "default": "false"
7364
8095
  },
7365
8096
  {
7366
8097
  "name": "typeahead",
8098
+ "attribute": "typeahead",
7367
8099
  "description": "**Experimental**: will enable autocomplete and typeahead for the input field.",
7368
8100
  "type": "boolean",
7369
8101
  "default": "false"
7370
8102
  },
7371
8103
  {
7372
- "name": "allow-custom-value",
8104
+ "name": "allowCustomValue",
8105
+ "attribute": "allow-custom-value",
7373
8106
  "description": "`true` to allow custom values that do not match any item in the list.",
7374
8107
  "type": "boolean",
7375
8108
  "default": "false"
7376
8109
  },
7377
8110
  {
7378
- "name": "aria-label",
8111
+ "name": "inputProps",
8112
+ "description": "Additional input attributes to apply to the internal input element.\nAllows passing native HTML input attributes like `maxlength`, `pattern`,\n`autocomplete`, etc.",
8113
+ "type": "Record<string, string | number | boolean> | undefined"
8114
+ },
8115
+ {
8116
+ "name": "ariaLabel",
8117
+ "attribute": "aria-label",
7379
8118
  "description": "'aria-label' of the ListBox component.\nSpecify a label to be read by screen readers on the container node",
7380
8119
  "type": "string",
7381
8120
  "default": "\"\""
7382
8121
  },
7383
8122
  {
7384
8123
  "name": "direction",
8124
+ "attribute": "direction",
7385
8125
  "description": "Specify the direction of the dropdown. Can be either top or bottom.",
7386
8126
  "type": "DROPDOWN_DIRECTION",
7387
8127
  "default": "\"bottom\""
7388
8128
  },
7389
8129
  {
7390
8130
  "name": "autoalign",
8131
+ "attribute": "autoalign",
7391
8132
  "description": "Specify whether auto align functionality should be applied",
7392
8133
  "type": "boolean",
7393
8134
  "default": "false"
7394
8135
  },
7395
8136
  {
7396
8137
  "name": "disabled",
8138
+ "attribute": "disabled",
7397
8139
  "description": "`true` if this dropdown should be disabled.",
7398
8140
  "type": "boolean",
7399
8141
  "default": "false"
7400
8142
  },
7401
8143
  {
7402
- "name": "helper-text",
8144
+ "name": "helperText",
8145
+ "attribute": "helper-text",
7403
8146
  "description": "The helper text.",
7404
8147
  "type": "string",
7405
8148
  "default": "\"\""
7406
8149
  },
7407
8150
  {
7408
- "name": "hide-label",
8151
+ "name": "hideLabel",
8152
+ "attribute": "hide-label",
7409
8153
  "description": "Specify whether the title text should be hidden or not",
7410
8154
  "type": "boolean",
7411
8155
  "default": "false"
7412
8156
  },
7413
8157
  {
7414
- "name": "invalid-text",
8158
+ "name": "invalidText",
8159
+ "attribute": "invalid-text",
7415
8160
  "description": "Message which is displayed if the value is invalid.",
7416
8161
  "type": "string",
7417
8162
  "default": "\"\""
7418
8163
  },
7419
8164
  {
7420
- "name": "title-text",
8165
+ "name": "titleText",
8166
+ "attribute": "title-text",
7421
8167
  "description": "Provide the title text that will be read by a screen reader when visiting this control",
7422
8168
  "type": "string",
7423
8169
  "default": "\"\""
7424
8170
  },
7425
8171
  {
7426
8172
  "name": "name",
8173
+ "attribute": "name",
7427
8174
  "description": "Name for the dropdown in the `FormData`",
7428
8175
  "type": "string",
7429
8176
  "default": "\"\""
7430
8177
  },
7431
8178
  {
7432
8179
  "name": "open",
8180
+ "attribute": "open",
7433
8181
  "description": "`true` if this dropdown should be open.",
7434
8182
  "type": "boolean",
7435
8183
  "default": "false"
7436
8184
  },
7437
8185
  {
7438
- "name": "read-only",
8186
+ "name": "readOnly",
8187
+ "attribute": "read-only",
7439
8188
  "description": "Whether or not the Dropdown is readonly",
7440
8189
  "type": "boolean",
7441
8190
  "default": "false"
7442
8191
  },
7443
8192
  {
7444
- "name": "isFluid",
7445
- "description": "Specify whether the dropdown is fluid or not",
8193
+ "name": "isFluid",
8194
+ "attribute": "isFluid",
8195
+ "description": "Specify whether the dropdown is fluid or not",
8196
+ "type": "boolean",
8197
+ "default": "false"
8198
+ },
8199
+ {
8200
+ "name": "size",
8201
+ "attribute": "size",
8202
+ "description": "Dropdown size.",
8203
+ "type": "DROPDOWN_SIZE",
8204
+ "default": "\"md\""
8205
+ },
8206
+ {
8207
+ "name": "toggleLabelClosed",
8208
+ "attribute": "toggle-label-closed",
8209
+ "description": "The `aria-label` attribute for the UI indicating the closed state.",
8210
+ "type": "string",
8211
+ "default": "\"\""
8212
+ },
8213
+ {
8214
+ "name": "toggleLabelOpen",
8215
+ "attribute": "toggle-label-open",
8216
+ "description": "The `aria-label` attribute for the UI indicating the open state.",
8217
+ "type": "string",
8218
+ "default": "\"\""
8219
+ },
8220
+ {
8221
+ "name": "label",
8222
+ "attribute": "label",
8223
+ "description": "Generic label that will be used as the textual representation of what this field is for",
8224
+ "type": "string",
8225
+ "default": "\"\""
8226
+ },
8227
+ {
8228
+ "name": "type",
8229
+ "attribute": "type",
8230
+ "description": "`true` if this dropdown should use the inline UI variant.",
8231
+ "type": "DROPDOWN_TYPE",
8232
+ "default": "\"\""
8233
+ },
8234
+ {
8235
+ "name": "warn",
8236
+ "attribute": "warn",
8237
+ "description": "Specify whether the control is currently in warning state",
8238
+ "type": "boolean",
8239
+ "default": "false"
8240
+ },
8241
+ {
8242
+ "name": "warnText",
8243
+ "attribute": "warn-text",
8244
+ "description": "Provide the text that is displayed when the control is in warning state",
8245
+ "type": "string",
8246
+ "default": "\"\""
8247
+ },
8248
+ {
8249
+ "name": "toggleLabel",
8250
+ "description": "The computed aria-label for the toggle button based on open state.",
8251
+ "type": "string"
8252
+ },
8253
+ {
8254
+ "name": "TRIGGER_KEYS",
8255
+ "description": "Symbols of keys that triggers opening/closing menu and selecting/deselecting menu item.",
8256
+ "type": "Set<string>",
8257
+ "default": "\"new Set(['Enter'])\""
8258
+ },
8259
+ {
8260
+ "name": "shadowRootOptions",
8261
+ "type": "{ delegatesFocus: boolean; mode: ShadowRootMode; slotAssignment?: SlotAssignmentMode | undefined; customElements?: CustomElementRegistry | undefined; registry?: CustomElementRegistry | undefined; }",
8262
+ "default": "{\"delegatesFocus\":true}"
8263
+ },
8264
+ {
8265
+ "name": "styles",
8266
+ "type": "array",
8267
+ "default": "[\"styles\",\"styles\"]"
8268
+ },
8269
+ {
8270
+ "name": "invalid",
8271
+ "attribute": "invalid",
8272
+ "description": "`true` to show the UI of the invalid state.",
8273
+ "type": "boolean",
8274
+ "default": "false"
8275
+ },
8276
+ {
8277
+ "name": "required",
8278
+ "attribute": "required",
8279
+ "description": "`true` if the value is required.",
8280
+ "type": "boolean",
8281
+ "default": "false"
8282
+ },
8283
+ {
8284
+ "name": "requiredValidityMessage",
8285
+ "attribute": "required-validity-message",
8286
+ "description": "The special validity message for `required`.",
8287
+ "type": "string",
8288
+ "default": "\"Please fill out this field.\""
8289
+ },
8290
+ {
8291
+ "name": "validityMessage",
8292
+ "attribute": "validity-message",
8293
+ "description": "The validity message.",
8294
+ "type": "string",
8295
+ "default": "\"\""
8296
+ },
8297
+ {
8298
+ "name": "value",
8299
+ "attribute": "value",
8300
+ "description": "The value of the selected item.",
8301
+ "type": "string",
8302
+ "default": "\"\""
8303
+ }
8304
+ ],
8305
+ "events": [
8306
+ {
8307
+ "name": "cds-combo-box-beingselected",
8308
+ "description": "The custom event fired before a combo box item is selected upon a user gesture.\nCancellation of this event stops changing the user-initiated selection."
8309
+ },
8310
+ {
8311
+ "name": "cds-combo-box-beingtoggled",
8312
+ "description": "The custom event fired before the open state of this combo box is toggled upon a user gesture.\nCancellation of this event stops the user-initiated toggling."
8313
+ },
8314
+ {
8315
+ "name": "cds-combo-box-selected",
8316
+ "description": "The custom event fired after a combo box item is selected upon a user gesture."
8317
+ },
8318
+ {
8319
+ "name": "cds-combo-box-toggled",
8320
+ "description": "The custom event fired after the open state of this combo box is toggled upon a user gesture."
8321
+ },
8322
+ {
8323
+ "name": "cds-dropdown-beingselected",
8324
+ "description": "The custom event fired before a dropdown item is selected upon a user gesture.\nCancellation of this event stops changing the user-initiated selection."
8325
+ },
8326
+ {
8327
+ "name": "cds-dropdown-beingtoggled",
8328
+ "description": "The custom event fired before the open state of this dropdown is toggled upon a user gesture.\nCancellation of this event stops the user-initiated toggling."
8329
+ },
8330
+ {
8331
+ "name": "cds-dropdown-selected",
8332
+ "description": "The custom event fired after a dropdown item is selected upon a user gesture."
8333
+ },
8334
+ {
8335
+ "name": "cds-dropdown-toggled",
8336
+ "description": "The custom event fired after the open state of this dropdown is toggled upon a user gesture."
8337
+ },
8338
+ {
8339
+ "name": "input"
8340
+ },
8341
+ {
8342
+ "name": "invalid"
8343
+ }
8344
+ ],
8345
+ "cssParts": [
8346
+ {
8347
+ "name": "label",
8348
+ "description": "text The label text."
8349
+ },
8350
+ {
8351
+ "name": "helper",
8352
+ "description": "text The helper text."
8353
+ },
8354
+ {
8355
+ "name": "trigger",
8356
+ "description": "button The trigger button."
8357
+ },
8358
+ {
8359
+ "name": "menu",
8360
+ "description": "body The menu body."
8361
+ },
8362
+ {
8363
+ "name": "validity",
8364
+ "description": "message The validity message."
8365
+ }
8366
+ ]
8367
+ },
8368
+ {
8369
+ "name": "cds-fluid-date-picker-input",
8370
+ "path": "./src/components/fluid-date-picker/fluid-date-picker-input.ts",
8371
+ "description": "Fluid date picker input.",
8372
+ "attributes": [
8373
+ {
8374
+ "name": "color-scheme",
8375
+ "description": "The color scheme.",
8376
+ "type": "FORM_ELEMENT_COLOR_SCHEME",
8377
+ "default": "\"\""
8378
+ },
8379
+ {
8380
+ "name": "disabled",
8381
+ "description": "`true` if the check box should be disabled.",
8382
+ "type": "boolean",
8383
+ "default": "false"
8384
+ },
8385
+ {
8386
+ "name": "hide-label",
8387
+ "description": "`true` if the label should be hidden.",
7446
8388
  "type": "boolean",
7447
8389
  "default": "false"
7448
8390
  },
7449
8391
  {
7450
- "name": "size",
7451
- "description": "Dropdown size.",
7452
- "type": "DROPDOWN_SIZE",
7453
- "default": "\"md\""
7454
- },
7455
- {
7456
- "name": "toggle-label-closed",
7457
- "description": "The `aria-label` attribute for the UI indicating the closed state.",
7458
- "type": "string",
7459
- "default": "\"\""
8392
+ "name": "invalid",
8393
+ "description": "Controls the invalid state and visibility of the `validityMessage`.",
8394
+ "type": "boolean",
8395
+ "default": "false"
7460
8396
  },
7461
8397
  {
7462
- "name": "toggle-label-open",
7463
- "description": "The `aria-label` attribute for the UI indicating the open state.",
8398
+ "name": "invalid-text",
8399
+ "description": "Message which is displayed if the value is invalid.",
7464
8400
  "type": "string",
7465
8401
  "default": "\"\""
7466
8402
  },
7467
8403
  {
7468
- "name": "label",
7469
- "description": "Generic label that will be used as the textual representation of what this field is for",
7470
- "type": "string",
7471
- "default": "\"\""
8404
+ "name": "kind",
8405
+ "description": "Date picker input kind.",
8406
+ "type": "DATE_PICKER_INPUT_KIND",
8407
+ "default": "\"simple\""
7472
8408
  },
7473
8409
  {
7474
- "name": "type",
7475
- "description": "`true` if this dropdown should use the inline UI variant.",
7476
- "type": "DROPDOWN_TYPE",
7477
- "default": "\"\""
8410
+ "name": "label-text",
8411
+ "description": "The label text.",
8412
+ "type": "string"
7478
8413
  },
7479
8414
  {
7480
- "name": "warn",
7481
- "description": "Specify whether the control is currently in warning state",
7482
- "type": "boolean",
7483
- "default": "false"
8415
+ "name": "pattern",
8416
+ "description": "The `pattern` attribute for the `<input>` in the shadow DOM.",
8417
+ "type": "string"
7484
8418
  },
7485
8419
  {
7486
- "name": "warn-text",
7487
- "description": "Provide the text that is displayed when the control is in warning state",
7488
- "type": "string",
7489
- "default": "\"\""
8420
+ "name": "placeholder",
8421
+ "description": "The placeholder text.",
8422
+ "type": "string"
7490
8423
  },
7491
8424
  {
7492
- "name": "invalid",
7493
- "description": "`true` to show the UI of the invalid state.",
8425
+ "name": "readonly",
8426
+ "description": "Specify if the component should be read-only",
7494
8427
  "type": "boolean",
7495
8428
  "default": "false"
7496
8429
  },
@@ -7501,116 +8434,77 @@
7501
8434
  "default": "false"
7502
8435
  },
7503
8436
  {
7504
- "name": "required-validity-message",
7505
- "description": "The special validity message for `required`.",
7506
- "type": "string",
7507
- "default": "\"Please fill out this field.\""
7508
- },
7509
- {
7510
- "name": "validity-message",
7511
- "description": "The validity message.",
7512
- "type": "string",
7513
- "default": "\"\""
7514
- },
7515
- {
7516
- "name": "value",
7517
- "description": "The value of the selected item.",
7518
- "type": "string",
7519
- "default": "\"\""
7520
- }
7521
- ],
7522
- "properties": [
7523
- {
7524
- "name": "isCondensed",
7525
- "attribute": "is-condensed",
7526
- "description": "Specify if the combo box should render its menu items in condensed mode.",
8437
+ "name": "short",
8438
+ "description": "true to use the short version.",
7527
8439
  "type": "boolean",
7528
8440
  "default": "false"
7529
8441
  },
7530
8442
  {
7531
- "name": "clearSelectionLabel",
7532
- "attribute": "clear-selection-label",
7533
- "description": "The `aria-label` attribute for the icon to clear selection.",
7534
- "type": "string",
7535
- "default": "\"Clear selection\""
7536
- },
7537
- {
7538
- "name": "inputLabel",
7539
- "attribute": "input-label",
7540
- "description": "The `aria-label` attribute for the `<input>` for filtering.",
7541
- "type": "string",
7542
- "default": "\"\""
7543
- },
7544
- {
7545
- "name": "itemMatches",
7546
- "description": "The custom item matching callback.",
7547
- "type": "(item: CDSComboBoxItem, queryText: string) => boolean"
8443
+ "name": "size",
8444
+ "description": "Vertical size of this date picker input.",
8445
+ "type": "INPUT_SIZE",
8446
+ "default": "\"md\""
7548
8447
  },
7549
8448
  {
7550
- "name": "shouldFilterItem",
7551
- "attribute": "should-filter-item",
7552
- "description": "Provide custom filtering behavior. This attribute will be ignored if\n`typeahead` is enabled and will default to `true`",
7553
- "type": "boolean | ShouldFilterItem",
7554
- "default": "false"
8449
+ "name": "type",
8450
+ "description": "The `type` attribute for the `<input>` in the shadow DOM.",
8451
+ "type": "string"
7555
8452
  },
7556
8453
  {
7557
- "name": "typeahead",
7558
- "attribute": "typeahead",
7559
- "description": "**Experimental**: will enable autocomplete and typeahead for the input field.",
7560
- "type": "boolean",
7561
- "default": "false"
8454
+ "name": "value",
8455
+ "description": "The value.",
8456
+ "type": "string"
7562
8457
  },
7563
8458
  {
7564
- "name": "allowCustomValue",
7565
- "attribute": "allow-custom-value",
7566
- "description": "`true` to allow custom values that do not match any item in the list.",
8459
+ "name": "warn",
8460
+ "description": "Specify whether the control is currently in warning state",
7567
8461
  "type": "boolean",
7568
8462
  "default": "false"
7569
8463
  },
7570
8464
  {
7571
- "name": "inputProps",
7572
- "description": "Additional input attributes to apply to the internal input element.\nAllows passing native HTML input attributes like `maxlength`, `pattern`,\n`autocomplete`, etc.",
7573
- "type": "Record<string, string | number | boolean> | undefined"
7574
- },
7575
- {
7576
- "name": "ariaLabel",
7577
- "attribute": "aria-label",
7578
- "description": "'aria-label' of the ListBox component.\nSpecify a label to be read by screen readers on the container node",
8465
+ "name": "warn-text",
8466
+ "description": "Provide the text that is displayed when the control is in warning state",
7579
8467
  "type": "string",
7580
8468
  "default": "\"\""
7581
8469
  },
7582
8470
  {
7583
- "name": "direction",
7584
- "attribute": "direction",
7585
- "description": "Specify the direction of the dropdown. Can be either top or bottom.",
7586
- "type": "DROPDOWN_DIRECTION",
7587
- "default": "\"bottom\""
8471
+ "name": "is-fluid",
8472
+ "description": "Fluid variant is always true for this component.\nOverrides the base class default of false.",
8473
+ "type": "boolean",
8474
+ "default": "true"
8475
+ }
8476
+ ],
8477
+ "properties": [
8478
+ {
8479
+ "name": "input",
8480
+ "description": "The `<input>`, used for Flatpickr to grab.",
8481
+ "type": "HTMLInputElement"
7588
8482
  },
7589
8483
  {
7590
- "name": "autoalign",
7591
- "attribute": "autoalign",
7592
- "description": "Specify whether auto align functionality should be applied",
7593
- "type": "boolean",
7594
- "default": "false"
8484
+ "name": "colorScheme",
8485
+ "attribute": "color-scheme",
8486
+ "description": "The color scheme.",
8487
+ "type": "FORM_ELEMENT_COLOR_SCHEME",
8488
+ "default": "\"\""
7595
8489
  },
7596
8490
  {
7597
8491
  "name": "disabled",
7598
8492
  "attribute": "disabled",
7599
- "description": "`true` if this dropdown should be disabled.",
8493
+ "description": "`true` if the check box should be disabled.",
7600
8494
  "type": "boolean",
7601
8495
  "default": "false"
7602
8496
  },
7603
- {
7604
- "name": "helperText",
7605
- "attribute": "helper-text",
7606
- "description": "The helper text.",
7607
- "type": "string",
7608
- "default": "\"\""
7609
- },
7610
8497
  {
7611
8498
  "name": "hideLabel",
7612
8499
  "attribute": "hide-label",
7613
- "description": "Specify whether the title text should be hidden or not",
8500
+ "description": "`true` if the label should be hidden.",
8501
+ "type": "boolean",
8502
+ "default": "false"
8503
+ },
8504
+ {
8505
+ "name": "invalid",
8506
+ "attribute": "invalid",
8507
+ "description": "Controls the invalid state and visibility of the `validityMessage`.",
7614
8508
  "type": "boolean",
7615
8509
  "default": "false"
7616
8510
  },
@@ -7622,74 +8516,69 @@
7622
8516
  "default": "\"\""
7623
8517
  },
7624
8518
  {
7625
- "name": "titleText",
7626
- "attribute": "title-text",
7627
- "description": "Provide the title text that will be read by a screen reader when visiting this control",
7628
- "type": "string",
7629
- "default": "\"\""
8519
+ "name": "kind",
8520
+ "attribute": "kind",
8521
+ "description": "Date picker input kind.",
8522
+ "type": "DATE_PICKER_INPUT_KIND",
8523
+ "default": "\"simple\""
7630
8524
  },
7631
8525
  {
7632
- "name": "name",
7633
- "attribute": "name",
7634
- "description": "Name for the dropdown in the `FormData`",
7635
- "type": "string",
7636
- "default": "\"\""
8526
+ "name": "labelText",
8527
+ "attribute": "label-text",
8528
+ "description": "The label text.",
8529
+ "type": "string"
7637
8530
  },
7638
8531
  {
7639
- "name": "open",
7640
- "attribute": "open",
7641
- "description": "`true` if this dropdown should be open.",
8532
+ "name": "pattern",
8533
+ "attribute": "pattern",
8534
+ "description": "The `pattern` attribute for the `<input>` in the shadow DOM.",
8535
+ "type": "string"
8536
+ },
8537
+ {
8538
+ "name": "placeholder",
8539
+ "attribute": "placeholder",
8540
+ "description": "The placeholder text.",
8541
+ "type": "string"
8542
+ },
8543
+ {
8544
+ "name": "readonly",
8545
+ "attribute": "readonly",
8546
+ "description": "Specify if the component should be read-only",
7642
8547
  "type": "boolean",
7643
8548
  "default": "false"
7644
8549
  },
7645
8550
  {
7646
- "name": "readOnly",
7647
- "attribute": "read-only",
7648
- "description": "Whether or not the Dropdown is readonly",
8551
+ "name": "required",
8552
+ "attribute": "required",
8553
+ "description": "`true` if the value is required.",
7649
8554
  "type": "boolean",
7650
8555
  "default": "false"
7651
8556
  },
7652
8557
  {
7653
- "name": "isFluid",
7654
- "attribute": "isFluid",
7655
- "description": "Specify whether the dropdown is fluid or not",
8558
+ "name": "short",
8559
+ "attribute": "short",
8560
+ "description": "true to use the short version.",
7656
8561
  "type": "boolean",
7657
8562
  "default": "false"
7658
8563
  },
7659
8564
  {
7660
8565
  "name": "size",
7661
8566
  "attribute": "size",
7662
- "description": "Dropdown size.",
7663
- "type": "DROPDOWN_SIZE",
8567
+ "description": "Vertical size of this date picker input.",
8568
+ "type": "INPUT_SIZE",
7664
8569
  "default": "\"md\""
7665
8570
  },
7666
- {
7667
- "name": "toggleLabelClosed",
7668
- "attribute": "toggle-label-closed",
7669
- "description": "The `aria-label` attribute for the UI indicating the closed state.",
7670
- "type": "string",
7671
- "default": "\"\""
7672
- },
7673
- {
7674
- "name": "toggleLabelOpen",
7675
- "attribute": "toggle-label-open",
7676
- "description": "The `aria-label` attribute for the UI indicating the open state.",
7677
- "type": "string",
7678
- "default": "\"\""
7679
- },
7680
- {
7681
- "name": "label",
7682
- "attribute": "label",
7683
- "description": "Generic label that will be used as the textual representation of what this field is for",
7684
- "type": "string",
7685
- "default": "\"\""
7686
- },
7687
8571
  {
7688
8572
  "name": "type",
7689
8573
  "attribute": "type",
7690
- "description": "`true` if this dropdown should use the inline UI variant.",
7691
- "type": "DROPDOWN_TYPE",
7692
- "default": "\"\""
8574
+ "description": "The `type` attribute for the `<input>` in the shadow DOM.",
8575
+ "type": "string"
8576
+ },
8577
+ {
8578
+ "name": "value",
8579
+ "attribute": "value",
8580
+ "description": "The value.",
8581
+ "type": "string"
7693
8582
  },
7694
8583
  {
7695
8584
  "name": "warn",
@@ -7706,15 +8595,23 @@
7706
8595
  "default": "\"\""
7707
8596
  },
7708
8597
  {
7709
- "name": "toggleLabel",
7710
- "description": "The computed aria-label for the toggle button based on open state.",
7711
- "type": "string"
8598
+ "name": "isFluid",
8599
+ "attribute": "is-fluid",
8600
+ "description": "Fluid variant is always true for this component.\nOverrides the base class default of false.",
8601
+ "type": "boolean",
8602
+ "default": "true"
7712
8603
  },
7713
8604
  {
7714
- "name": "TRIGGER_KEYS",
7715
- "description": "Symbols of keys that triggers opening/closing menu and selecting/deselecting menu item.",
7716
- "type": "Set<string>",
7717
- "default": "\"new Set(['Enter'])\""
8605
+ "name": "defaultPattern",
8606
+ "description": "The default value for `pattern` property.",
8607
+ "type": "string",
8608
+ "default": "\"\\\\d{1,2}\\\\/\\\\d{1,2}\\\\/\\\\d{4}\""
8609
+ },
8610
+ {
8611
+ "name": "defaultType",
8612
+ "description": "The default value for `type` property.",
8613
+ "type": "string",
8614
+ "default": "\"text\""
7718
8615
  },
7719
8616
  {
7720
8617
  "name": "shadowRootOptions",
@@ -7725,103 +8622,222 @@
7725
8622
  "name": "styles",
7726
8623
  "type": "array",
7727
8624
  "default": "[\"styles\",\"styles\"]"
8625
+ }
8626
+ ]
8627
+ },
8628
+ {
8629
+ "name": "cds-fluid-date-picker-skeleton",
8630
+ "path": "./src/components/fluid-date-picker/fluid-date-picker-skeleton.ts",
8631
+ "description": "Fluid date picker skeleton.",
8632
+ "attributes": [
8633
+ {
8634
+ "name": "date-picker-type",
8635
+ "type": "\"simple\" | \"single\" | \"range\"",
8636
+ "default": "\"single\""
8637
+ }
8638
+ ],
8639
+ "properties": [
8640
+ {
8641
+ "name": "datePickerType",
8642
+ "attribute": "date-picker-type",
8643
+ "type": "\"simple\" | \"single\" | \"range\"",
8644
+ "default": "\"single\""
7728
8645
  },
7729
8646
  {
7730
- "name": "invalid",
7731
- "attribute": "invalid",
7732
- "description": "`true` to show the UI of the invalid state.",
8647
+ "name": "styles",
8648
+ "type": "array",
8649
+ "default": "[\"styles\"]"
8650
+ }
8651
+ ]
8652
+ },
8653
+ {
8654
+ "name": "cds-fluid-date-picker",
8655
+ "path": "./src/components/fluid-date-picker/fluid-date-picker.ts",
8656
+ "description": "Fluid date picker.",
8657
+ "attributes": [
8658
+ {
8659
+ "name": "allow-input",
8660
+ "description": "flatpickr prop passthrough. Allows the user to enter a date directly into the input field",
7733
8661
  "type": "boolean",
7734
- "default": "false"
8662
+ "default": "true"
7735
8663
  },
7736
8664
  {
7737
- "name": "required",
7738
- "attribute": "required",
7739
- "description": "`true` if the value is required.",
8665
+ "name": "close-on-select",
8666
+ "description": "flatpickr prop passthrough. Controls whether the calendar dropdown closes upon selection.",
8667
+ "type": "boolean",
8668
+ "default": "true"
8669
+ },
8670
+ {
8671
+ "name": "date-format",
8672
+ "description": "The date format to let Flatpickr use.",
8673
+ "type": "string"
8674
+ },
8675
+ {
8676
+ "name": "disabled",
8677
+ "description": "Controls the disabled state of the input",
7740
8678
  "type": "boolean",
7741
8679
  "default": "false"
7742
8680
  },
7743
8681
  {
7744
- "name": "requiredValidityMessage",
7745
- "attribute": "required-validity-message",
7746
- "description": "The special validity message for `required`.",
7747
- "type": "string",
7748
- "default": "\"Please fill out this field.\""
8682
+ "name": "enabled-range",
8683
+ "description": "The date range that a user can pick in calendar dropdown.",
8684
+ "type": "string"
7749
8685
  },
7750
8686
  {
7751
- "name": "validityMessage",
7752
- "attribute": "validity-message",
7753
- "description": "The validity message.",
8687
+ "name": "max-date",
8688
+ "description": "The maximum date that a user can start picking from.",
8689
+ "type": "string"
8690
+ },
8691
+ {
8692
+ "name": "min-date",
8693
+ "description": "The minimum date that a user can start picking from.",
8694
+ "type": "string"
8695
+ },
8696
+ {
8697
+ "name": "name",
8698
+ "description": "Name for the input in the `FormData`",
7754
8699
  "type": "string",
7755
8700
  "default": "\"\""
7756
8701
  },
8702
+ {
8703
+ "name": "open",
8704
+ "description": "`true` if the date picker should be open.",
8705
+ "type": "boolean",
8706
+ "default": "false"
8707
+ },
8708
+ {
8709
+ "name": "readonly",
8710
+ "description": "Specify if the component should be read-only",
8711
+ "type": "boolean",
8712
+ "default": "false"
8713
+ },
7757
8714
  {
7758
8715
  "name": "value",
7759
- "attribute": "value",
7760
- "description": "The value of the selected item.",
7761
- "type": "string",
7762
- "default": "\"\""
8716
+ "description": "The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.",
8717
+ "type": "string"
7763
8718
  }
7764
8719
  ],
7765
- "events": [
8720
+ "properties": [
7766
8721
  {
7767
- "name": "cds-combo-box-beingselected",
7768
- "description": "The custom event fired before a combo box item is selected upon a user gesture.\nCancellation of this event stops changing the user-initiated selection."
8722
+ "name": "calendar",
8723
+ "description": "The Flatpickr instance.",
8724
+ "type": "Instance | null"
7769
8725
  },
7770
8726
  {
7771
- "name": "cds-combo-box-beingtoggled",
7772
- "description": "The custom event fired before the open state of this combo box is toggled upon a user gesture.\nCancellation of this event stops the user-initiated toggling."
8727
+ "name": "allowInput",
8728
+ "attribute": "allow-input",
8729
+ "description": "flatpickr prop passthrough. Allows the user to enter a date directly into the input field",
8730
+ "type": "boolean",
8731
+ "default": "true"
7773
8732
  },
7774
8733
  {
7775
- "name": "cds-combo-box-selected",
7776
- "description": "The custom event fired after a combo box item is selected upon a user gesture."
8734
+ "name": "closeOnSelect",
8735
+ "attribute": "close-on-select",
8736
+ "description": "flatpickr prop passthrough. Controls whether the calendar dropdown closes upon selection.",
8737
+ "type": "boolean",
8738
+ "default": "true"
7777
8739
  },
7778
8740
  {
7779
- "name": "cds-combo-box-toggled",
7780
- "description": "The custom event fired after the open state of this combo box is toggled upon a user gesture."
8741
+ "name": "dateFormat",
8742
+ "attribute": "date-format",
8743
+ "description": "The date format to let Flatpickr use.",
8744
+ "type": "string"
7781
8745
  },
7782
8746
  {
7783
- "name": "cds-dropdown-beingselected",
7784
- "description": "The custom event fired before a dropdown item is selected upon a user gesture.\nCancellation of this event stops changing the user-initiated selection."
8747
+ "name": "disabled",
8748
+ "attribute": "disabled",
8749
+ "description": "Controls the disabled state of the input",
8750
+ "type": "boolean",
8751
+ "default": "false"
7785
8752
  },
7786
8753
  {
7787
- "name": "cds-dropdown-beingtoggled",
7788
- "description": "The custom event fired before the open state of this dropdown is toggled upon a user gesture.\nCancellation of this event stops the user-initiated toggling."
8754
+ "name": "enabledRange",
8755
+ "attribute": "enabled-range",
8756
+ "description": "The date range that a user can pick in calendar dropdown.",
8757
+ "type": "string"
7789
8758
  },
7790
8759
  {
7791
- "name": "cds-dropdown-selected",
7792
- "description": "The custom event fired after a dropdown item is selected upon a user gesture."
8760
+ "name": "locale",
8761
+ "description": "The localization data.",
8762
+ "type": "Locale"
7793
8763
  },
7794
8764
  {
7795
- "name": "cds-dropdown-toggled",
7796
- "description": "The custom event fired after the open state of this dropdown is toggled upon a user gesture."
8765
+ "name": "maxDate",
8766
+ "attribute": "max-date",
8767
+ "description": "The maximum date that a user can start picking from.",
8768
+ "type": "string"
7797
8769
  },
7798
8770
  {
7799
- "name": "input"
8771
+ "name": "minDate",
8772
+ "attribute": "min-date",
8773
+ "description": "The minimum date that a user can start picking from.",
8774
+ "type": "string"
7800
8775
  },
7801
8776
  {
7802
- "name": "invalid"
7803
- }
7804
- ],
7805
- "cssParts": [
8777
+ "name": "name",
8778
+ "attribute": "name",
8779
+ "description": "Name for the input in the `FormData`",
8780
+ "type": "string",
8781
+ "default": "\"\""
8782
+ },
7806
8783
  {
7807
- "name": "label",
7808
- "description": "text The label text."
8784
+ "name": "open",
8785
+ "attribute": "open",
8786
+ "description": "`true` if the date picker should be open.",
8787
+ "type": "boolean",
8788
+ "default": "false"
7809
8789
  },
7810
8790
  {
7811
- "name": "helper",
7812
- "description": "text The helper text."
8791
+ "name": "readonly",
8792
+ "attribute": "readonly",
8793
+ "description": "Specify if the component should be read-only",
8794
+ "type": "boolean",
8795
+ "default": "false"
7813
8796
  },
7814
8797
  {
7815
- "name": "trigger",
7816
- "description": "button The trigger button."
8798
+ "name": "value",
8799
+ "attribute": "value",
8800
+ "description": "The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.",
8801
+ "type": "string"
7817
8802
  },
7818
8803
  {
7819
- "name": "menu",
7820
- "description": "body The menu body."
8804
+ "name": "classNoBorder",
8805
+ "description": "The CSS class applied to the \"today\" highlight if there are any dates selected.",
8806
+ "type": "string",
8807
+ "default": "\"no-border\""
7821
8808
  },
7822
8809
  {
7823
- "name": "validity",
7824
- "description": "message The validity message."
8810
+ "name": "defaultAriaDateFormat",
8811
+ "description": "The default aria date format.",
8812
+ "type": "string",
8813
+ "default": "\"l, F j, Y\""
8814
+ },
8815
+ {
8816
+ "name": "defaultDateFormat",
8817
+ "description": "The default date format.",
8818
+ "type": "string",
8819
+ "default": "\"m/d/Y\""
8820
+ },
8821
+ {
8822
+ "name": "defaultLocale",
8823
+ "description": "The default localization data.",
8824
+ "type": "CustomLocale & Locale",
8825
+ "default": "\"default\""
8826
+ },
8827
+ {
8828
+ "name": "styles",
8829
+ "type": "array",
8830
+ "default": "[\"styles\",\"styles\"]"
8831
+ }
8832
+ ],
8833
+ "events": [
8834
+ {
8835
+ "name": "cds-date-picker-changed",
8836
+ "description": "The custom event fired on this element when Flatpickr updates its value."
8837
+ },
8838
+ {
8839
+ "name": "cds-date-picker-flatpickr-error",
8840
+ "description": "The name of the custom event when Flatpickr throws an error."
7825
8841
  }
7826
8842
  ]
7827
8843
  },
@@ -9439,6 +10455,9 @@
9439
10455
  "name": "cds-number-input",
9440
10456
  "description": "The name of the custom event fired after the value is changed upon a user gesture."
9441
10457
  },
10458
+ {
10459
+ "name": "change"
10460
+ },
9442
10461
  {
9443
10462
  "name": "invalid"
9444
10463
  }
@@ -9852,6 +10871,9 @@
9852
10871
  }
9853
10872
  ],
9854
10873
  "events": [
10874
+ {
10875
+ "name": "change"
10876
+ },
9855
10877
  {
9856
10878
  "name": "invalid"
9857
10879
  }
@@ -10917,6 +11939,9 @@
10917
11939
  }
10918
11940
  ],
10919
11941
  "events": [
11942
+ {
11943
+ "name": "change"
11944
+ },
10920
11945
  {
10921
11946
  "name": "invalid"
10922
11947
  }
@@ -11408,6 +12433,9 @@
11408
12433
  {
11409
12434
  "name": "input"
11410
12435
  },
12436
+ {
12437
+ "name": "change"
12438
+ },
11411
12439
  {
11412
12440
  "name": "invalid"
11413
12441
  }
@@ -16780,6 +17808,9 @@
16780
17808
  "name": "cds-number-input",
16781
17809
  "description": "The name of the custom event fired after the value is changed upon a user gesture."
16782
17810
  },
17811
+ {
17812
+ "name": "change"
17813
+ },
16783
17814
  {
16784
17815
  "name": "invalid"
16785
17816
  }
@@ -18487,6 +19518,9 @@
18487
19518
  }
18488
19519
  ],
18489
19520
  "events": [
19521
+ {
19522
+ "name": "change"
19523
+ },
18490
19524
  {
18491
19525
  "name": "invalid"
18492
19526
  }
@@ -23527,6 +24561,9 @@
23527
24561
  }
23528
24562
  ],
23529
24563
  "events": [
24564
+ {
24565
+ "name": "change"
24566
+ },
23530
24567
  {
23531
24568
  "name": "invalid"
23532
24569
  }
@@ -24015,6 +25052,9 @@
24015
25052
  {
24016
25053
  "name": "input"
24017
25054
  },
25055
+ {
25056
+ "name": "change"
25057
+ },
24018
25058
  {
24019
25059
  "name": "invalid"
24020
25060
  }