@cumulus-ui/components 0.1.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 (394) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +25 -0
  3. package/dist/alert/interfaces.d.ts +107 -0
  4. package/dist/alert/interfaces.d.ts.map +1 -0
  5. package/dist/anchor-navigation/index.d.ts +5 -0
  6. package/dist/anchor-navigation/index.d.ts.map +1 -0
  7. package/dist/anchor-navigation/interfaces.d.ts +54 -0
  8. package/dist/anchor-navigation/interfaces.d.ts.map +1 -0
  9. package/dist/anchor-navigation/internal.d.ts +23 -0
  10. package/dist/anchor-navigation/internal.d.ts.map +1 -0
  11. package/dist/anchor-navigation/styles.d.ts +5 -0
  12. package/dist/anchor-navigation/styles.d.ts.map +1 -0
  13. package/dist/annotation-context/interfaces.d.ts +47 -0
  14. package/dist/annotation-context/interfaces.d.ts.map +1 -0
  15. package/dist/app-layout/interfaces.d.ts +264 -0
  16. package/dist/app-layout/interfaces.d.ts.map +1 -0
  17. package/dist/app-layout-toolbar/interfaces.d.ts +51 -0
  18. package/dist/app-layout-toolbar/interfaces.d.ts.map +1 -0
  19. package/dist/area-chart/interfaces.d.ts +55 -0
  20. package/dist/area-chart/interfaces.d.ts.map +1 -0
  21. package/dist/attribute-editor/interfaces.d.ts +159 -0
  22. package/dist/attribute-editor/interfaces.d.ts.map +1 -0
  23. package/dist/autosuggest/interfaces.d.ts +239 -0
  24. package/dist/autosuggest/interfaces.d.ts.map +1 -0
  25. package/dist/badge/index.d.ts +5 -0
  26. package/dist/badge/index.d.ts.map +1 -0
  27. package/dist/badge/interfaces.d.ts +26 -0
  28. package/dist/badge/interfaces.d.ts.map +1 -0
  29. package/dist/badge/internal.d.ts +8 -0
  30. package/dist/badge/internal.d.ts.map +1 -0
  31. package/dist/badge/styles.d.ts +5 -0
  32. package/dist/badge/styles.d.ts.map +1 -0
  33. package/dist/bar-chart/interfaces.d.ts +32 -0
  34. package/dist/bar-chart/interfaces.d.ts.map +1 -0
  35. package/dist/box/index.d.ts +5 -0
  36. package/dist/box/index.d.ts.map +1 -0
  37. package/dist/box/interfaces.d.ts +131 -0
  38. package/dist/box/interfaces.d.ts.map +1 -0
  39. package/dist/box/internal.d.ts +18 -0
  40. package/dist/box/internal.d.ts.map +1 -0
  41. package/dist/box/styles.d.ts +5 -0
  42. package/dist/box/styles.d.ts.map +1 -0
  43. package/dist/breadcrumb-group/interfaces.d.ts +53 -0
  44. package/dist/breadcrumb-group/interfaces.d.ts.map +1 -0
  45. package/dist/button/interfaces.d.ts +190 -0
  46. package/dist/button/interfaces.d.ts.map +1 -0
  47. package/dist/button-dropdown/interfaces.d.ts +380 -0
  48. package/dist/button-dropdown/interfaces.d.ts.map +1 -0
  49. package/dist/button-group/interfaces.d.ts +224 -0
  50. package/dist/button-group/interfaces.d.ts.map +1 -0
  51. package/dist/calendar/interfaces.d.ts +116 -0
  52. package/dist/calendar/interfaces.d.ts.map +1 -0
  53. package/dist/cards/interfaces.d.ts +212 -0
  54. package/dist/cards/interfaces.d.ts.map +1 -0
  55. package/dist/checkbox/base-checkbox.d.ts +44 -0
  56. package/dist/checkbox/base-checkbox.d.ts.map +1 -0
  57. package/dist/checkbox/index.d.ts +5 -0
  58. package/dist/checkbox/index.d.ts.map +1 -0
  59. package/dist/checkbox/interfaces.d.ts +73 -0
  60. package/dist/checkbox/interfaces.d.ts.map +1 -0
  61. package/dist/checkbox/internal.d.ts +22 -0
  62. package/dist/checkbox/internal.d.ts.map +1 -0
  63. package/dist/checkbox/styles.d.ts +5 -0
  64. package/dist/checkbox/styles.d.ts.map +1 -0
  65. package/dist/code-editor/interfaces.d.ts +132 -0
  66. package/dist/code-editor/interfaces.d.ts.map +1 -0
  67. package/dist/collection-preferences/interfaces.d.ts +287 -0
  68. package/dist/collection-preferences/interfaces.d.ts.map +1 -0
  69. package/dist/column-layout/interfaces.d.ts +41 -0
  70. package/dist/column-layout/interfaces.d.ts.map +1 -0
  71. package/dist/container/interfaces.d.ts +124 -0
  72. package/dist/container/interfaces.d.ts.map +1 -0
  73. package/dist/content-layout/interfaces.d.ts +44 -0
  74. package/dist/content-layout/interfaces.d.ts.map +1 -0
  75. package/dist/copy-to-clipboard/interfaces.d.ts +66 -0
  76. package/dist/copy-to-clipboard/interfaces.d.ts.map +1 -0
  77. package/dist/date-input/interfaces.d.ts +39 -0
  78. package/dist/date-input/interfaces.d.ts.map +1 -0
  79. package/dist/date-picker/interfaces.d.ts +111 -0
  80. package/dist/date-picker/interfaces.d.ts.map +1 -0
  81. package/dist/date-range-picker/interfaces.d.ts +496 -0
  82. package/dist/date-range-picker/interfaces.d.ts.map +1 -0
  83. package/dist/drawer/interfaces.d.ts +25 -0
  84. package/dist/drawer/interfaces.d.ts.map +1 -0
  85. package/dist/dropdown/interfaces.d.ts +111 -0
  86. package/dist/dropdown/interfaces.d.ts.map +1 -0
  87. package/dist/error-boundary/interfaces.d.ts +93 -0
  88. package/dist/error-boundary/interfaces.d.ts.map +1 -0
  89. package/dist/expandable-section/interfaces.d.ts +70 -0
  90. package/dist/expandable-section/interfaces.d.ts.map +1 -0
  91. package/dist/file-dropzone/index.d.ts +5 -0
  92. package/dist/file-dropzone/index.d.ts.map +1 -0
  93. package/dist/file-dropzone/interfaces.d.ts +8 -0
  94. package/dist/file-dropzone/interfaces.d.ts.map +1 -0
  95. package/dist/file-dropzone/internal.d.ts +14 -0
  96. package/dist/file-dropzone/internal.d.ts.map +1 -0
  97. package/dist/file-dropzone/styles.d.ts +5 -0
  98. package/dist/file-dropzone/styles.d.ts.map +1 -0
  99. package/dist/file-input/interfaces.d.ts +46 -0
  100. package/dist/file-input/interfaces.d.ts.map +1 -0
  101. package/dist/file-token-group/interfaces.d.ts +79 -0
  102. package/dist/file-token-group/interfaces.d.ts.map +1 -0
  103. package/dist/file-upload/interfaces.d.ts +92 -0
  104. package/dist/file-upload/interfaces.d.ts.map +1 -0
  105. package/dist/flashbar/interfaces.d.ts +210 -0
  106. package/dist/flashbar/interfaces.d.ts.map +1 -0
  107. package/dist/form/interfaces.d.ts +37 -0
  108. package/dist/form/interfaces.d.ts.map +1 -0
  109. package/dist/form-field/interfaces.d.ts +78 -0
  110. package/dist/form-field/interfaces.d.ts.map +1 -0
  111. package/dist/grid/index.d.ts +5 -0
  112. package/dist/grid/index.d.ts.map +1 -0
  113. package/dist/grid/interfaces.d.ts +47 -0
  114. package/dist/grid/interfaces.d.ts.map +1 -0
  115. package/dist/grid/internal.d.ts +16 -0
  116. package/dist/grid/internal.d.ts.map +1 -0
  117. package/dist/grid/styles.d.ts +5 -0
  118. package/dist/grid/styles.d.ts.map +1 -0
  119. package/dist/header/interfaces.d.ts +22 -0
  120. package/dist/header/interfaces.d.ts.map +1 -0
  121. package/dist/help-panel/interfaces.d.ts +15 -0
  122. package/dist/help-panel/interfaces.d.ts.map +1 -0
  123. package/dist/hotspot/interfaces.d.ts +19 -0
  124. package/dist/hotspot/interfaces.d.ts.map +1 -0
  125. package/dist/icon/icons/index.d.ts +4 -0
  126. package/dist/icon/icons/index.d.ts.map +1 -0
  127. package/dist/icon/index.d.ts +5 -0
  128. package/dist/icon/index.d.ts.map +1 -0
  129. package/dist/icon/interfaces.d.ts +45 -0
  130. package/dist/icon/interfaces.d.ts.map +1 -0
  131. package/dist/icon/internal.d.ts +17 -0
  132. package/dist/icon/internal.d.ts.map +1 -0
  133. package/dist/icon/styles.d.ts +5 -0
  134. package/dist/icon/styles.d.ts.map +1 -0
  135. package/dist/icon-provider/index.d.ts +5 -0
  136. package/dist/icon-provider/index.d.ts.map +1 -0
  137. package/dist/icon-provider/interfaces.d.ts +43 -0
  138. package/dist/icon-provider/interfaces.d.ts.map +1 -0
  139. package/dist/icon-provider/internal.d.ts +14 -0
  140. package/dist/icon-provider/internal.d.ts.map +1 -0
  141. package/dist/index.d.ts +33 -0
  142. package/dist/index.d.ts.map +1 -0
  143. package/dist/index.js +4541 -0
  144. package/dist/input/interfaces.d.ts +181 -0
  145. package/dist/input/interfaces.d.ts.map +1 -0
  146. package/dist/internal/components/dropdown/internal.d.ts +27 -0
  147. package/dist/internal/components/dropdown/internal.d.ts.map +1 -0
  148. package/dist/internal/components/dropdown/styles.d.ts +2 -0
  149. package/dist/internal/components/dropdown/styles.d.ts.map +1 -0
  150. package/dist/internal/components/navigable-group/index.d.ts +3 -0
  151. package/dist/internal/components/navigable-group/index.d.ts.map +1 -0
  152. package/dist/internal/components/navigable-group/navigable-group-controller.d.ts +42 -0
  153. package/dist/internal/components/navigable-group/navigable-group-controller.d.ts.map +1 -0
  154. package/dist/internal/context/form-field-context.d.ts +11 -0
  155. package/dist/internal/context/form-field-context.d.ts.map +1 -0
  156. package/dist/internal/events.d.ts +10 -0
  157. package/dist/internal/events.d.ts.map +1 -0
  158. package/dist/internal/focus.d.ts +28 -0
  159. package/dist/internal/focus.d.ts.map +1 -0
  160. package/dist/internal/generated/cloudscape-types.d.ts +49 -0
  161. package/dist/internal/generated/cloudscape-types.d.ts.map +1 -0
  162. package/dist/internal/generated/component-manifest.d.ts +457 -0
  163. package/dist/internal/generated/component-manifest.d.ts.map +1 -0
  164. package/dist/internal/hooks/use-controllable.d.ts +25 -0
  165. package/dist/internal/hooks/use-controllable.d.ts.map +1 -0
  166. package/dist/internal/hooks/use-focus-tracker.d.ts +24 -0
  167. package/dist/internal/hooks/use-focus-tracker.d.ts.map +1 -0
  168. package/dist/internal/hooks/use-unique-id.d.ts +2 -0
  169. package/dist/internal/hooks/use-unique-id.d.ts.map +1 -0
  170. package/dist/internal/mixins/form-associated.d.ts +40 -0
  171. package/dist/internal/mixins/form-associated.d.ts.map +1 -0
  172. package/dist/internal/slot-utils.d.ts +10 -0
  173. package/dist/internal/slot-utils.d.ts.map +1 -0
  174. package/dist/internal/styles/abstract-switch.d.ts +2 -0
  175. package/dist/internal/styles/abstract-switch.d.ts.map +1 -0
  176. package/dist/internal/styles/autosuggest-input.d.ts +2 -0
  177. package/dist/internal/styles/autosuggest-input.d.ts.map +1 -0
  178. package/dist/internal/styles/button-trigger.d.ts +2 -0
  179. package/dist/internal/styles/button-trigger.d.ts.map +1 -0
  180. package/dist/internal/styles/cartesian-chart.d.ts +2 -0
  181. package/dist/internal/styles/cartesian-chart.d.ts.map +1 -0
  182. package/dist/internal/styles/chart-filter.d.ts +2 -0
  183. package/dist/internal/styles/chart-filter.d.ts.map +1 -0
  184. package/dist/internal/styles/chart-legend.d.ts +2 -0
  185. package/dist/internal/styles/chart-legend.d.ts.map +1 -0
  186. package/dist/internal/styles/chart-plot.d.ts +2 -0
  187. package/dist/internal/styles/chart-plot.d.ts.map +1 -0
  188. package/dist/internal/styles/chart-popover.d.ts +2 -0
  189. package/dist/internal/styles/chart-popover.d.ts.map +1 -0
  190. package/dist/internal/styles/chart-series-details.d.ts +2 -0
  191. package/dist/internal/styles/chart-series-details.d.ts.map +1 -0
  192. package/dist/internal/styles/chart-series-marker.d.ts +2 -0
  193. package/dist/internal/styles/chart-series-marker.d.ts.map +1 -0
  194. package/dist/internal/styles/chart-status-container.d.ts +2 -0
  195. package/dist/internal/styles/chart-status-container.d.ts.map +1 -0
  196. package/dist/internal/styles/chart-wrapper.d.ts +2 -0
  197. package/dist/internal/styles/chart-wrapper.d.ts.map +1 -0
  198. package/dist/internal/styles/checkbox-icon.d.ts +2 -0
  199. package/dist/internal/styles/checkbox-icon.d.ts.map +1 -0
  200. package/dist/internal/styles/drag-handle-wrapper.d.ts +2 -0
  201. package/dist/internal/styles/drag-handle-wrapper.d.ts.map +1 -0
  202. package/dist/internal/styles/drag-handle.d.ts +2 -0
  203. package/dist/internal/styles/drag-handle.d.ts.map +1 -0
  204. package/dist/internal/styles/dropdown-footer.d.ts +2 -0
  205. package/dist/internal/styles/dropdown-footer.d.ts.map +1 -0
  206. package/dist/internal/styles/dropdown-status.d.ts +2 -0
  207. package/dist/internal/styles/dropdown-status.d.ts.map +1 -0
  208. package/dist/internal/styles/dropdown.d.ts +2 -0
  209. package/dist/internal/styles/dropdown.d.ts.map +1 -0
  210. package/dist/internal/styles/expand-toggle-button.d.ts +2 -0
  211. package/dist/internal/styles/expand-toggle-button.d.ts.map +1 -0
  212. package/dist/internal/styles/global.d.ts +3 -0
  213. package/dist/internal/styles/global.d.ts.map +1 -0
  214. package/dist/internal/styles/menu-dropdown.d.ts +2 -0
  215. package/dist/internal/styles/menu-dropdown.d.ts.map +1 -0
  216. package/dist/internal/styles/option.d.ts +2 -0
  217. package/dist/internal/styles/option.d.ts.map +1 -0
  218. package/dist/internal/styles/options-list.d.ts +2 -0
  219. package/dist/internal/styles/options-list.d.ts.map +1 -0
  220. package/dist/internal/styles/panel-resize-handle.d.ts +2 -0
  221. package/dist/internal/styles/panel-resize-handle.d.ts.map +1 -0
  222. package/dist/internal/styles/radio-button.d.ts +2 -0
  223. package/dist/internal/styles/radio-button.d.ts.map +1 -0
  224. package/dist/internal/styles/screenreader-only.d.ts +2 -0
  225. package/dist/internal/styles/screenreader-only.d.ts.map +1 -0
  226. package/dist/internal/styles/selectable-item.d.ts +2 -0
  227. package/dist/internal/styles/selectable-item.d.ts.map +1 -0
  228. package/dist/internal/styles/shared.d.ts +3 -0
  229. package/dist/internal/styles/shared.d.ts.map +1 -0
  230. package/dist/internal/styles/sortable-area.d.ts +2 -0
  231. package/dist/internal/styles/sortable-area.d.ts.map +1 -0
  232. package/dist/internal/styles/structured-item.d.ts +2 -0
  233. package/dist/internal/styles/structured-item.d.ts.map +1 -0
  234. package/dist/internal/styles/tab-trap.d.ts +2 -0
  235. package/dist/internal/styles/tab-trap.d.ts.map +1 -0
  236. package/dist/internal/styles/token-list.d.ts +2 -0
  237. package/dist/internal/styles/token-list.d.ts.map +1 -0
  238. package/dist/internal/styles/tooltip.d.ts +2 -0
  239. package/dist/internal/styles/tooltip.d.ts.map +1 -0
  240. package/dist/internal/theming.d.ts +2 -0
  241. package/dist/internal/theming.d.ts.map +1 -0
  242. package/dist/internal/token-utils.d.ts +46 -0
  243. package/dist/internal/token-utils.d.ts.map +1 -0
  244. package/dist/internal/tokens.d.ts +119 -0
  245. package/dist/internal/tokens.d.ts.map +1 -0
  246. package/dist/internal/utils/debounce.d.ts +8 -0
  247. package/dist/internal/utils/debounce.d.ts.map +1 -0
  248. package/dist/internal/utils/dom.d.ts +12 -0
  249. package/dist/internal/utils/dom.d.ts.map +1 -0
  250. package/dist/internal/utils/strings.d.ts +5 -0
  251. package/dist/internal/utils/strings.d.ts.map +1 -0
  252. package/dist/internal/utils/throttle.d.ts +7 -0
  253. package/dist/internal/utils/throttle.d.ts.map +1 -0
  254. package/dist/item-card/interfaces.d.ts +86 -0
  255. package/dist/item-card/interfaces.d.ts.map +1 -0
  256. package/dist/key-value-pairs/interfaces.d.ts +59 -0
  257. package/dist/key-value-pairs/interfaces.d.ts.map +1 -0
  258. package/dist/line-chart/interfaces.d.ts +18 -0
  259. package/dist/line-chart/interfaces.d.ts.map +1 -0
  260. package/dist/link/interfaces.d.ts +107 -0
  261. package/dist/link/interfaces.d.ts.map +1 -0
  262. package/dist/list/index.d.ts +5 -0
  263. package/dist/list/index.d.ts.map +1 -0
  264. package/dist/list/interfaces.d.ts +77 -0
  265. package/dist/list/interfaces.d.ts.map +1 -0
  266. package/dist/list/internal.d.ts +28 -0
  267. package/dist/list/internal.d.ts.map +1 -0
  268. package/dist/list/styles.d.ts +5 -0
  269. package/dist/list/styles.d.ts.map +1 -0
  270. package/dist/live-region/index.d.ts +5 -0
  271. package/dist/live-region/index.d.ts.map +1 -0
  272. package/dist/live-region/interfaces.d.ts +20 -0
  273. package/dist/live-region/interfaces.d.ts.map +1 -0
  274. package/dist/live-region/internal.d.ts +10 -0
  275. package/dist/live-region/internal.d.ts.map +1 -0
  276. package/dist/live-region/styles.d.ts +5 -0
  277. package/dist/live-region/styles.d.ts.map +1 -0
  278. package/dist/mixed-line-bar-chart/interfaces.d.ts +118 -0
  279. package/dist/mixed-line-bar-chart/interfaces.d.ts.map +1 -0
  280. package/dist/modal/interfaces.d.ts +91 -0
  281. package/dist/modal/interfaces.d.ts.map +1 -0
  282. package/dist/multiselect/interfaces.d.ts +121 -0
  283. package/dist/multiselect/interfaces.d.ts.map +1 -0
  284. package/dist/navigable-group/interfaces.d.ts +26 -0
  285. package/dist/navigable-group/interfaces.d.ts.map +1 -0
  286. package/dist/pagination/interfaces.d.ts +59 -0
  287. package/dist/pagination/interfaces.d.ts.map +1 -0
  288. package/dist/panel-layout/interfaces.d.ts +88 -0
  289. package/dist/panel-layout/interfaces.d.ts.map +1 -0
  290. package/dist/pie-chart/interfaces.d.ts +209 -0
  291. package/dist/pie-chart/interfaces.d.ts.map +1 -0
  292. package/dist/popover/interfaces.d.ts +92 -0
  293. package/dist/popover/interfaces.d.ts.map +1 -0
  294. package/dist/progress-bar/interfaces.d.ts +74 -0
  295. package/dist/progress-bar/interfaces.d.ts.map +1 -0
  296. package/dist/prompt-input/interfaces.d.ts +123 -0
  297. package/dist/prompt-input/interfaces.d.ts.map +1 -0
  298. package/dist/property-filter/interfaces.d.ts +344 -0
  299. package/dist/property-filter/interfaces.d.ts.map +1 -0
  300. package/dist/radio-button/interfaces.d.ts +2 -0
  301. package/dist/radio-button/interfaces.d.ts.map +1 -0
  302. package/dist/radio-group/index.d.ts +5 -0
  303. package/dist/radio-group/index.d.ts.map +1 -0
  304. package/dist/radio-group/interfaces.d.ts +76 -0
  305. package/dist/radio-group/interfaces.d.ts.map +1 -0
  306. package/dist/radio-group/internal.d.ts +33 -0
  307. package/dist/radio-group/internal.d.ts.map +1 -0
  308. package/dist/radio-group/styles.d.ts +5 -0
  309. package/dist/radio-group/styles.d.ts.map +1 -0
  310. package/dist/s3-resource-selector/interfaces.d.ts +234 -0
  311. package/dist/s3-resource-selector/interfaces.d.ts.map +1 -0
  312. package/dist/segmented-control/interfaces.d.ts +82 -0
  313. package/dist/segmented-control/interfaces.d.ts.map +1 -0
  314. package/dist/select/interfaces.d.ts +207 -0
  315. package/dist/select/interfaces.d.ts.map +1 -0
  316. package/dist/side-navigation/interfaces.d.ts +148 -0
  317. package/dist/side-navigation/interfaces.d.ts.map +1 -0
  318. package/dist/slider/interfaces.d.ts +98 -0
  319. package/dist/slider/interfaces.d.ts.map +1 -0
  320. package/dist/space-between/index.d.ts +5 -0
  321. package/dist/space-between/index.d.ts.map +1 -0
  322. package/dist/space-between/interfaces.d.ts +21 -0
  323. package/dist/space-between/interfaces.d.ts.map +1 -0
  324. package/dist/space-between/internal.d.ts +10 -0
  325. package/dist/space-between/internal.d.ts.map +1 -0
  326. package/dist/space-between/styles.d.ts +5 -0
  327. package/dist/space-between/styles.d.ts.map +1 -0
  328. package/dist/spinner/index.d.ts +5 -0
  329. package/dist/spinner/index.d.ts.map +1 -0
  330. package/dist/spinner/interfaces.d.ts +15 -0
  331. package/dist/spinner/interfaces.d.ts.map +1 -0
  332. package/dist/spinner/internal.d.ts +9 -0
  333. package/dist/spinner/internal.d.ts.map +1 -0
  334. package/dist/spinner/styles.d.ts +5 -0
  335. package/dist/spinner/styles.d.ts.map +1 -0
  336. package/dist/split-panel/interfaces.d.ts +64 -0
  337. package/dist/split-panel/interfaces.d.ts.map +1 -0
  338. package/dist/status-indicator/interfaces.d.ts +26 -0
  339. package/dist/status-indicator/interfaces.d.ts.map +1 -0
  340. package/dist/steps/interfaces.d.ts +53 -0
  341. package/dist/steps/interfaces.d.ts.map +1 -0
  342. package/dist/table/interfaces.d.ts +534 -0
  343. package/dist/table/interfaces.d.ts.map +1 -0
  344. package/dist/tabs/interfaces.d.ts +214 -0
  345. package/dist/tabs/interfaces.d.ts.map +1 -0
  346. package/dist/tag-editor/interfaces.d.ts +121 -0
  347. package/dist/tag-editor/interfaces.d.ts.map +1 -0
  348. package/dist/text-content/index.d.ts +5 -0
  349. package/dist/text-content/index.d.ts.map +1 -0
  350. package/dist/text-content/interfaces.d.ts +3 -0
  351. package/dist/text-content/interfaces.d.ts.map +1 -0
  352. package/dist/text-content/internal.d.ts +6 -0
  353. package/dist/text-content/internal.d.ts.map +1 -0
  354. package/dist/text-content/styles.d.ts +5 -0
  355. package/dist/text-content/styles.d.ts.map +1 -0
  356. package/dist/text-filter/interfaces.d.ts +102 -0
  357. package/dist/text-filter/interfaces.d.ts.map +1 -0
  358. package/dist/textarea/interfaces.d.ts +83 -0
  359. package/dist/textarea/interfaces.d.ts.map +1 -0
  360. package/dist/tiles/index.d.ts +5 -0
  361. package/dist/tiles/index.d.ts.map +1 -0
  362. package/dist/tiles/interfaces.d.ts +71 -0
  363. package/dist/tiles/interfaces.d.ts.map +1 -0
  364. package/dist/tiles/internal.d.ts +34 -0
  365. package/dist/tiles/internal.d.ts.map +1 -0
  366. package/dist/tiles/styles.d.ts +5 -0
  367. package/dist/tiles/styles.d.ts.map +1 -0
  368. package/dist/time-input/interfaces.d.ts +31 -0
  369. package/dist/time-input/interfaces.d.ts.map +1 -0
  370. package/dist/toggle/interfaces.d.ts +53 -0
  371. package/dist/toggle/interfaces.d.ts.map +1 -0
  372. package/dist/toggle-button/interfaces.d.ts +49 -0
  373. package/dist/toggle-button/interfaces.d.ts.map +1 -0
  374. package/dist/token/interfaces.d.ts +89 -0
  375. package/dist/token/interfaces.d.ts.map +1 -0
  376. package/dist/token-group/interfaces.d.ts +76 -0
  377. package/dist/token-group/interfaces.d.ts.map +1 -0
  378. package/dist/tooltip/interfaces.d.ts +30 -0
  379. package/dist/tooltip/interfaces.d.ts.map +1 -0
  380. package/dist/top-navigation/interfaces.d.ts +112 -0
  381. package/dist/top-navigation/interfaces.d.ts.map +1 -0
  382. package/dist/tree-view/index.d.ts +5 -0
  383. package/dist/tree-view/index.d.ts.map +1 -0
  384. package/dist/tree-view/interfaces.d.ts +79 -0
  385. package/dist/tree-view/interfaces.d.ts.map +1 -0
  386. package/dist/tree-view/internal.d.ts +24 -0
  387. package/dist/tree-view/internal.d.ts.map +1 -0
  388. package/dist/tree-view/styles.d.ts +5 -0
  389. package/dist/tree-view/styles.d.ts.map +1 -0
  390. package/dist/tutorial-panel/interfaces.d.ts +180 -0
  391. package/dist/tutorial-panel/interfaces.d.ts.map +1 -0
  392. package/dist/wizard/interfaces.d.ts +128 -0
  393. package/dist/wizard/interfaces.d.ts.map +1 -0
  394. package/package.json +62 -0
@@ -0,0 +1,287 @@
1
+ import { BaseModalProps } from '../modal/interfaces.js';
2
+ export interface CollectionPreferencesProps<CustomPreferenceType = any> extends BaseModalProps {
3
+ /**
4
+ * Specifies the title of the preferences modal dialog. It is also used as an `aria-label` for the trigger button.
5
+ * @i18n
6
+ */
7
+ title?: string;
8
+ /**
9
+ * Label of the confirm button in the modal footer.
10
+ * @i18n
11
+ */
12
+ confirmLabel?: string;
13
+ /**
14
+ * Label of the cancel button in the modal footer.
15
+ * @i18n
16
+ */
17
+ cancelLabel?: string;
18
+ /**
19
+ * Adds an aria-label to the close button, for accessibility.
20
+ * @i18n
21
+ */
22
+ closeAriaLabel?: string;
23
+ /**
24
+ * Determines whether the preferences trigger button is disabled.
25
+ */
26
+ disabled?: boolean;
27
+ /**
28
+ * Configures the built-in "page size selection" preference.
29
+ *
30
+ * If you set it, the component displays this preference in the modal.
31
+ *
32
+ * It contains the following:
33
+ * - `title` (string) - Specifies the text displayed at the top of the preference.
34
+ * - `options` - Specifies an array of options for page size selection. Each entry contains:
35
+ * - `value` (number) - The value for the radio button (that is, the number of items per page).
36
+ * - `label` (string) - A label for the radio button (for example, "10 resources").
37
+ *
38
+ * You must set the current value in the `preferences.pageSize` property.
39
+ * @i18n
40
+ */
41
+ pageSizePreference?: CollectionPreferencesProps.PageSizePreference;
42
+ /**
43
+ * Configures the built-in "wrap lines" preference.
44
+ *
45
+ * If you set it, the component displays this preference in the modal.
46
+ *
47
+ * It contains the following:
48
+ * - `label` (string) - Specifies the label for the option checkbox.
49
+ * - `description` (string) - Specifies the text displayed below the checkbox label.
50
+ *
51
+ * You must set the current value in the `preferences.wrapLines` property.
52
+ * @i18n
53
+ */
54
+ wrapLinesPreference?: CollectionPreferencesProps.WrapLinesPreference;
55
+ /**
56
+ * Configures the built-in "striped rows" preference.
57
+ *
58
+ * If you set it, the component displays this preference in the modal.
59
+ *
60
+ * It contains the following:
61
+ * - `label` (string) - Specifies the label for the option checkbox.
62
+ * - `description` (string) - Specifies the text displayed below the checkbox label.
63
+ *
64
+ * You must set the current value in the `preferences.stripedRows` property.
65
+ * @i18n
66
+ */
67
+ stripedRowsPreference?: CollectionPreferencesProps.StripedRowsPreference;
68
+ /**
69
+ * Configures the content density preference (Comfortable / Compact).
70
+ *
71
+ * If you set it, the component displays this preference in the modal.
72
+ *
73
+ * It contains the following:
74
+ * - `label` (string) - Specifies the label for the option checkbox.
75
+ * - `description` (string) - Specifies the text displayed below the checkbox label.
76
+ *
77
+ * You must set the current value in the `preferences.contentDensity` property.
78
+ * @i18n
79
+ */
80
+ contentDensityPreference?: CollectionPreferencesProps.ContentDensityPreference;
81
+ /**
82
+ * Configures the sticky columns preference that can be set for both left and right columns.
83
+ *
84
+ * If you set it, the component displays this preference in the modal.
85
+ *
86
+ * It contains the following:
87
+ * - `label` (string) - Specifies the label for each radio group.
88
+ * - `description` (string) - Specifies the text displayed below each radio group label.
89
+ *
90
+ * You must set the current value in the `preferences.stickyColumns` property.
91
+ */
92
+ stickyColumnsPreference?: CollectionPreferencesProps.StickyColumnsPreference;
93
+ /**
94
+ * Configures the built-in content display preference for order and visibility of the table columns.
95
+ *
96
+ * Recommended for table and not applicable for cards.
97
+ *
98
+ * Cannot be used together with `visibleContentPreference`.
99
+ *
100
+ * If you set it, the component displays this preference in the modal.
101
+ *
102
+ * It contains the following:
103
+ * - `title` (string) - Specifies the text displayed at the top of the preference.
104
+ * - `description` (string) - Specifies the description displayed below the title.
105
+ * - `options` - Specifies an array of options for reordering and visible content selection.
106
+ * - `enableColumnFiltering` (boolean) - Adds a columns filter.
107
+ * - `liveAnnouncementDndStarted` ((position: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when an option is picked.
108
+ * - `liveAnnouncementDndDiscarded` (string) - (Optional) Adds a message to be announced by screen readers when a reordering action is canceled.
109
+ * - `liveAnnouncementDndItemReordered` ((initialPosition: number, currentPosition: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when an item is being moved.
110
+ * - `liveAnnouncementDndItemCommitted` ((initialPosition: number, finalPosition: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when a reordering action is committed.
111
+ * - `dragHandleAriaDescription` (string) - (Optional) Adds an ARIA description for the drag handle.
112
+ * - `dragHandleAriaLabel` (string) - (Optional) Adds an ARIA label for the drag handle.
113
+ *
114
+ * Each option contains the following:
115
+ * - `id` (string) - Corresponds to a table column `id`.
116
+ * - `label` (string) - Specifies a short description of the content.
117
+ * - `alwaysVisible` (boolean) - (Optional) Determines whether the visibility is always on and therefore cannot be toggled. This is set to `false` by default.
118
+ *
119
+ * You must provide an ordered list of the items to display in the `preferences.contentDisplay` property.
120
+ * @i18n
121
+ */
122
+ contentDisplayPreference?: CollectionPreferencesProps.ContentDisplayPreference;
123
+ /**
124
+ * Configures the built-in visible sections preference for cards or visible columns for table.
125
+ *
126
+ * Recommended for cards. For table use `contentDisplayPreference` instead.
127
+ *
128
+ * Cannot be used together with `contentDisplayPreference`.
129
+ *
130
+ * If you set it, the component displays this preference in the modal.
131
+ *
132
+ * It contains the following:
133
+ * - `title` (string) - Specifies the text displayed at the top of the preference.
134
+ * - `options` - Specifies an array of groups of options for visible content selection.
135
+ *
136
+ * Each group of options contains the following:
137
+ * - `label` (string) - The text to display as a title for the options group.
138
+ * - `options` - Specifies an array of options in the group. Each option contains the following:
139
+ * - `id` (string) - Corresponds to a column `id` for tables or to a section `id` for cards.
140
+ * - `label` (string) - Specifies a short description of the content.
141
+ * - `editable` (boolean) - (Optional) Determines whether the user is able to toggle its visibility. This is `true` by default.
142
+ *
143
+ * You must set the current list of visible content `id`s in the `preferences.visibleContent` property.
144
+ *
145
+ * **Deprecated** in table, replaced by `contentDisplayPreference`.
146
+ */
147
+ visibleContentPreference?: CollectionPreferencesProps.VisibleContentPreference;
148
+ /**
149
+ * Specifies the current preference values. This includes both built-in and custom preferences.
150
+ *
151
+ * It contains the following:
152
+ * - `pageSize` (number) - (Optional)
153
+ * - `wrapLines` (boolean) - (Optional)
154
+ * - `contentDisplay` (ReadonlyArray<ContentDisplayItem>) - (Optional) Specifies the list of content and their visibility. The order of the elements influences the display.
155
+ * - `visibleContent` (ReadonlyArray<string>) - Specifies the list of visible content `id`s. The order of the `id`s does not influence the display. If the `contentDisplay` property is set, this property is ignored.
156
+ * - `custom` (CustomPreferenceType) - Specifies the value for your custom preference.
157
+ */
158
+ preferences?: CollectionPreferencesProps.Preferences<CustomPreferenceType>;
159
+ /**
160
+ * Configures custom preferences. The function receives two parameters:
161
+ *
162
+ * - `customValue` (CustomPreferenceType) - Current value for your custom preference. It is initialized using the value you provide in `preferences.custom`.
163
+ * - `setCustomValue` - A function that is called to notify a state update.
164
+ *
165
+ * It should return the content of your custom preference, for example:
166
+ * ```
167
+ * (customValue, setCustomValue) => (
168
+ * <Checkbox checked={customValue} onChange={({ detail }) => setCustomValue(detail.checked)} />
169
+ * )
170
+ * ```
171
+ *
172
+ * When the user confirms the changes, the new value is passed in the `detail.custom` property of the `onConfirm` listener.
173
+ * When the user cancels the changes, the `customValue` is reset to the one present in `preferences.custom` property.
174
+ *
175
+ * **Display**
176
+ * - If any of the built-in preferences (`pageSizePreference`, `wrapLinesPreference`, or `visibleContentPreference`) are displayed,
177
+ * the custom content is displayed at the bottom of the left column within the modal.
178
+ * - If no built-in preference is displayed, the custom content occupies the whole modal.
179
+ */
180
+ customPreference?: (customValue: CustomPreferenceType, setCustomValue: (value: CustomPreferenceType) => void) => unknown;
181
+ }
182
+ export declare namespace CollectionPreferencesProps {
183
+ export interface Preferences<CustomPreferenceType = any> {
184
+ pageSize?: number;
185
+ wrapLines?: boolean;
186
+ stripedRows?: boolean;
187
+ contentDensity?: 'comfortable' | 'compact';
188
+ visibleContent?: ReadonlyArray<string>;
189
+ stickyColumns?: StickyColumns;
190
+ contentDisplay?: ReadonlyArray<ContentDisplayItem>;
191
+ custom?: CustomPreferenceType;
192
+ }
193
+ export interface ContentDisplayPreference extends SortableAreaProps.DndAreaI18nStrings {
194
+ title?: string;
195
+ description?: string;
196
+ options: ReadonlyArray<CollectionPreferencesProps.ContentDisplayOption>;
197
+ enableColumnFiltering?: boolean;
198
+ i18nStrings?: ContentDisplayPreferenceI18nStrings;
199
+ }
200
+ export interface ContentDisplayOption {
201
+ id: string;
202
+ label: string;
203
+ alwaysVisible?: boolean;
204
+ }
205
+ export interface ContentDisplayItem {
206
+ id: string;
207
+ visible: boolean;
208
+ }
209
+ export interface VisibleContentPreference {
210
+ title: string;
211
+ options: ReadonlyArray<CollectionPreferencesProps.VisibleContentOptionsGroup>;
212
+ }
213
+ export interface VisibleContentOptionsGroup {
214
+ label: string;
215
+ options: ReadonlyArray<CollectionPreferencesProps.VisibleContentOption>;
216
+ }
217
+ export interface VisibleContentOption {
218
+ id: string;
219
+ label: string;
220
+ editable?: boolean;
221
+ }
222
+ export interface PageSizePreference {
223
+ title?: string;
224
+ options: ReadonlyArray<PageSizeOption>;
225
+ }
226
+ export interface PageSizeOption {
227
+ value: number;
228
+ label?: string;
229
+ }
230
+ export interface WrapLinesPreference {
231
+ label?: string;
232
+ description?: string;
233
+ }
234
+ export interface StripedRowsPreference {
235
+ label?: string;
236
+ description?: string;
237
+ }
238
+ export interface ContentDensityPreference {
239
+ label?: string;
240
+ description?: string;
241
+ }
242
+ interface StickyColumns {
243
+ first?: number;
244
+ last?: number;
245
+ }
246
+ interface StickyColumnPreference {
247
+ title: string;
248
+ description: string;
249
+ options: ReadonlyArray<{
250
+ label: string;
251
+ value: number;
252
+ }>;
253
+ }
254
+ export interface StickyColumnsPreference {
255
+ firstColumns?: StickyColumnPreference;
256
+ lastColumns?: StickyColumnPreference;
257
+ }
258
+ export interface ContentDisplayPreferenceI18nStrings {
259
+ /**
260
+ * Specifies a `placeholder` for the filtering input.
261
+ * @i18n
262
+ */
263
+ columnFilteringPlaceholder?: string;
264
+ /**
265
+ * Specifies an `aria-label` for the filtering input.
266
+ * @i18n
267
+ */
268
+ columnFilteringAriaLabel?: string;
269
+ /**
270
+ * Specifies the `count text` for the filtering input to reflect matches found.
271
+ * @i18n
272
+ */
273
+ columnFilteringCountText?: (count: number) => string;
274
+ /**
275
+ * Specifies the `no match` text for when there are no matching options in the filtering.
276
+ * @i18n
277
+ */
278
+ columnFilteringNoMatchText?: string;
279
+ /**
280
+ * Specifies both an `aria-label` for the clear filtering input action and the `clear filter button` text for the no match button.
281
+ * @i18n
282
+ */
283
+ columnFilteringClearFilterText?: string;
284
+ }
285
+ export {};
286
+ }
287
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/collection-preferences/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,MAAM,WAAW,0BAA0B,CAAC,oBAAoB,GAAG,GAAG,CAAE,SAAQ,cAAc;IAC5F;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;;;;;;;OAaG;IACH,kBAAkB,CAAC,EAAE,0BAA0B,CAAC,kBAAkB,CAAC;IACnE;;;;;;;;;;;OAWG;IACH,mBAAmB,CAAC,EAAE,0BAA0B,CAAC,mBAAmB,CAAC;IACrE;;;;;;;;;;;OAWG;IACH,qBAAqB,CAAC,EAAE,0BAA0B,CAAC,qBAAqB,CAAC;IACzE;;;;;;;;;;;OAWG;IACH,wBAAwB,CAAC,EAAE,0BAA0B,CAAC,wBAAwB,CAAC;IAC/E;;;;;;;;;;OAUG;IACH,uBAAuB,CAAC,EAAE,0BAA0B,CAA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,MAAM,CAAC;QACpB,OAAO,EAAE,aAAa,CAAC;YACrB,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;SACf,CAAC,CAAC;KACJ;IACD,MAAM,WAAW,uBAAuB;QACtC,YAAY,CAAC,EAAE,sBAAsB,CAAC;QACtC,WAAW,CAAC,EAAE,sBAAsB,CAAC;KACtC;IACD,MAAM,WAAW,mCAAmC;QAClD;;;WAGG;QACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;QACpC;;;WAGG;QACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;QAClC;;;WAGG;QACH,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;QACrD;;;WAGG;QACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;QACpC;;;WAGG;QACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;KACzC;IACD,OAAO,EAAE,CAAC;CACX"}
@@ -0,0 +1,41 @@
1
+ import { ColumnLayoutBreakpoint } from './internal.js';
2
+ export interface ColumnLayoutProps {
3
+ /**
4
+ * Specifies the number of columns in each grid row.
5
+ * When `minColumnWidth` is not set, only up to 4 columns are supported.
6
+ */
7
+ columns?: number;
8
+ /**
9
+ * Specifies the content type. This determines the spacing of the grid.
10
+ */
11
+ variant?: ColumnLayoutProps.Variant;
12
+ /**
13
+ * Controls whether dividers are placed between rows and columns.
14
+ *
15
+ * Note: This is not supported when used with `minColumnWidth`.
16
+ */
17
+ borders?: ColumnLayoutProps.Borders;
18
+ /**
19
+ * Determines whether the default gutters between columns are removed.
20
+ */
21
+ disableGutters?: boolean;
22
+ /**
23
+ * Use together with `columns` to specify the desired minimum width for each column in pixels.
24
+ *
25
+ * The number of columns is determined by the value of this property, the available space,
26
+ * and the maximum number of columns as defined by the `columns` property.
27
+ */
28
+ minColumnWidth?: number;
29
+ }
30
+ export declare namespace ColumnLayoutProps {
31
+ type Variant = 'default' | 'text-grid';
32
+ type Borders = 'none' | 'vertical' | 'horizontal' | 'all';
33
+ }
34
+ export interface InternalColumnLayoutProps extends ColumnLayoutProps {
35
+ __breakpoint?: ColumnLayoutBreakpoint;
36
+ /**
37
+ * Overrides the default wrapper HTML tag.
38
+ */
39
+ __tagOverride?: 'dl';
40
+ }
41
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/column-layout/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC;IACpC;;;;OAIG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC;IACpC;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAEzB;AACD,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,KAAK,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;IACvC,KAAK,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,KAAK,CAAC;CAC3D;AACD,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;CACtB"}
@@ -0,0 +1,124 @@
1
+ export interface ContainerProps {
2
+ /**
3
+ * Specifies additional analytics-related metadata.
4
+ * * `instanceIdentifier` - A unique string that identifies this component instance in your application.
5
+ * @analytics
6
+ */
7
+ analyticsMetadata?: ContainerProps.AnalyticsMetadata;
8
+ /** @slot header — Heading element of the container */
9
+ /**
10
+ * Determines whether the container header has padding. If `true`, removes the default padding from the header.
11
+ */
12
+ disableHeaderPaddings?: boolean;
13
+ /**
14
+ *
15
+ * Use this slot to render a media element. Supported element types are 'img', 'video', and 'picture'.
16
+ * You can define different positions and sizes for the media element within the container.
17
+ *
18
+ * * `content` - Use this slot to render your media element. We support `img`, `video`, `picture`, and `iframe` elements.
19
+ *
20
+ * * `position` - Defines the media slot's position within the container. Defaults to `top`.
21
+ *
22
+ * * `width` - Defines the width of the media slot when positioned on the side. Corresponds to the `width` CSS-property.
23
+ * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it.
24
+ * Note: This value is considered only when `position` is set to `side`.
25
+ * If no width is provided, the media slot will take a maximum of 66% of the container's width.
26
+ *
27
+ * * `height` - Defines the height of the media slot when position on the top. Corresponds to the `height` CSS-property.
28
+ * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it. * Note: This value is only considered if `position` is set to `top`.
29
+ * If no height is provided, the media slot will be displayed at its full height.
30
+ *
31
+ */
32
+ media?: ContainerProps.Media;
33
+ /** @slot default — Main content of the container */
34
+ /**
35
+ * Determines whether the container content has padding. If `true`, removes the default padding from the content area.
36
+ */
37
+ disableContentPaddings?: boolean;
38
+ /**
39
+ * Enabling this property will make the container to fit into available height. If content is too short, the container
40
+ * will stretch, if too long, the container will shrink and show vertical scrollbar.
41
+ *
42
+ * Use this property to align heights of multiple containers displayed in a single row. It is recommended to stretch
43
+ * all containers to the height of the longest one, to avoid extra vertical scroll areas.
44
+ */
45
+ fitHeight?: boolean;
46
+ /** @slot footer — Footer of the container */
47
+ /**
48
+ * Determines whether the container footer has padding. If `true`, removes the default padding from the footer.
49
+ */
50
+ disableFooterPaddings?: boolean;
51
+ /**
52
+ * Specify a container variant with one of the following:
53
+ * * `default` - Use this variant in standalone context.
54
+ * * `stacked` - Use this variant adjacent to other stacked containers (such as a container,
55
+ * table).
56
+ * @visualrefresh `stacked` variant
57
+ */
58
+ variant?: 'default' | 'stacked';
59
+ /**
60
+ * An object containing CSS properties to customize the container's visual appearance.
61
+ * Refer to the [style](/components/container/?tabId=style) tab for more details.
62
+ */
63
+ style?: ContainerProps.Style;
64
+ }
65
+ export declare namespace ContainerProps {
66
+ interface AnalyticsMetadata {
67
+ instanceIdentifier?: string;
68
+ }
69
+ interface Media {
70
+ /**
71
+ * Use this slot to render your media element. We support `img`, `video`, `picture`, and `iframe` elements.
72
+ */
73
+ content: unknown;
74
+ /**
75
+ * Defines the media slot's position within the container. Defaults to `top`.
76
+ */
77
+ position?: 'top' | 'side';
78
+ /**
79
+ * Defines the width of the media slot when positioned on the side. Corresponds to the `width` CSS-property.
80
+ * When this value is set, the media element may be cropped, with `object-fit: cover` centering it.
81
+ *
82
+ * Note: This value is considered only when `position` is set to `side`.
83
+ * If no width is provided, the media slot will take a maximum of 66% of the container's width.
84
+ */
85
+ width?: string | number;
86
+ /**
87
+ * Defines the height of the media slot when position on the top. Corresponds to the `height` CSS-property.
88
+ * When this value is set, the media element may be cropped, with `object-fit: cover` centering it.
89
+ *
90
+ * Note: This value is only considered if `position` is set to `top`.
91
+ * If no height is provided, the media slot will be displayed at its full height.
92
+ */
93
+ height?: string | number;
94
+ }
95
+ interface Style {
96
+ root?: {
97
+ background?: string;
98
+ borderColor?: string;
99
+ borderRadius?: string;
100
+ borderWidth?: string;
101
+ boxShadow?: string;
102
+ color?: string;
103
+ };
104
+ content?: {
105
+ paddingBlock?: string;
106
+ paddingInline?: string;
107
+ };
108
+ header?: {
109
+ paddingBlock?: string;
110
+ paddingInline?: string;
111
+ };
112
+ footer?: {
113
+ root: {
114
+ paddingBlock?: string;
115
+ paddingInline?: string;
116
+ };
117
+ divider: {
118
+ borderColor?: string;
119
+ borderWidth?: string;
120
+ };
121
+ };
122
+ }
123
+ }
124
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/container/interfaces.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE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F,MAAM,CAAC,EAAE;YACP,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,MAAM,CAAC,EAAE;YACP,IAAI,EAAE;gBACJ,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,aAAa,CAAC,EAAE,MAAM,CAAC;aACxB,CAAC;YACF,OAAO,EAAE;gBACP,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,WAAW,CAAC,EAAE,MAAM,CAAC;aACtB,CAAC;SACH,CAAC;KACH;CACF"}
@@ -0,0 +1,44 @@
1
+ export interface ContentLayoutProps {
2
+ /** @slot default — Use this slot to render the main content of the layout below the header */
3
+ /**
4
+ * Determines whether the layout has an overlap between the header and content.
5
+ * If true, the overlap will be removed.
6
+ * @visualrefresh
7
+ */
8
+ disableOverlap?: boolean;
9
+ /** @slot header — Use this slot to render the header content for the layout */
10
+ /**
11
+ * Determines the visual treatment for the header. Specifically:
12
+ * * `default` - Does not apply any visual treatment.
13
+ * * `high-contrast` - Applies high-contrast to the background of the header and the elements contained within it.
14
+ * If you are using the AppLayout component, set `headerVariant="high-contrast"` to apply the same treatment to the breadcrumbs and notifications slots.
15
+ * * `divider` - Adds a horizontal separator between the header and the content.
16
+ * @visualrefresh `high-contrast` headerVariant
17
+ */
18
+ headerVariant?: 'default' | 'high-contrast' | 'divider';
19
+ /**
20
+ * Maximum width for the content.
21
+ * If set, all elements of the content layout (header, content, notifications, breadcrumbs) will be center-aligned and have the desired maximum width.
22
+ * If not set, all elements will occupy the full available width.
23
+ */
24
+ maxContentWidth?: number;
25
+ /**
26
+ * Set it to `true` if your page uses the [app layout component](/components/app-layout/) with `disableContentPaddings=true`.
27
+ * In that case, the content layout will become sensitive to the state of drawers in app layout and leave the necessary padding to avoid visual overlap with those elements.
28
+ */
29
+ defaultPadding?: boolean;
30
+ /** @slot notifications — Use this slot to display [notifications](/components/flashbar/) to the content layout: */
31
+ /** @slot breadcrumbs — Use this slot to add the [breadcrumb group component](/components/breadcrumb-group/) to the content layout: */
32
+ /**
33
+ * Use this property to style the background of the header.
34
+ *
35
+ * It can be:
36
+ * * a string representing the CSS `background` value for the header element.
37
+ * * a function that receives the mode ("light" or "dark") as a parameter and returns a string.
38
+ *
39
+ * The header background spans across the full available width, independent of the specified `maxContentWidth`.
40
+ * If set, the component will not add the default background color to the header.
41
+ */
42
+ headerBackgroundStyle?: string | ((mode: 'light' | 'dark') => string);
43
+ }
44
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/content-layout/interfaces.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IACjC,8FAA8F;IAC9F;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,+EAA+E;IAC/E;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,CAAC;IACxD;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mHAAmH;IACnH,sIAAsI;IACtI;;;;;;;;;OASG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,KAAK,MAAM,CAAC,CAAC;CAEvE"}
@@ -0,0 +1,66 @@
1
+ export interface CopyToClipboardProps {
2
+ /** Determines the general styling of the copy button as follows:
3
+ *
4
+ * * `button` to display a standalone secondary button with an icon, and `copyButtonText` as text.
5
+ * * `icon` to display a standalone icon-only (no text) button.
6
+ * * `inline` to display an icon-only (no text) button within a text context.
7
+ *
8
+ * Defaults to `button`.
9
+ */
10
+ variant?: CopyToClipboardProps.Variant;
11
+ /**
12
+ * The text of the copy button (for variant="button").
13
+ */
14
+ copyButtonText?: string;
15
+ /**
16
+ * Adds `aria-label` to the copy button. Use this to provide an accessible name for buttons that don't have visible text,
17
+ * and to distinguish between multiple buttons with identical visible text. The text will also be added to the `title` attribute of the button.
18
+ */
19
+ copyButtonAriaLabel?: string;
20
+ /**
21
+ * The text content to be copied. It is displayed next to the copy button when `variant="inline"` unless when `content` is specified, and is not shown otherwise.
22
+ */
23
+ textToCopy: string;
24
+ /**
25
+ * The text content to display next to the copy button when `variant="inline"`. If not provided, `textToCopy` will be displayed instead.
26
+ */
27
+ textToDisplay?: string;
28
+ /**
29
+ * The message shown when the text is copied successfully.
30
+ */
31
+ copySuccessText: string;
32
+ /**
33
+ * The message shown when the text is not copied due to an error, see [https://w3c.github.io/clipboard-apis/#dom-clipboard-writetext](https://w3c.github.io/clipboard-apis/#dom-clipboard-writetext).
34
+ */
35
+ copyErrorText: string;
36
+ /**
37
+ * By default, the popover is constrained to fit inside its parent
38
+ * [stacking context](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context).
39
+ * Enabling this property will allow the popover to be rendered in the root stack context using
40
+ * [React Portals](https://reactjs.org/docs/portals.html).
41
+ * Enable this setting if you need the popover to ignore its parent stacking context.
42
+ */
43
+ popoverRenderWithPortal?: boolean;
44
+ /**
45
+ * Renders the copy to clipboard button as disabled and prevents clicks.
46
+ */
47
+ disabled?: boolean;
48
+ /**
49
+ * Provides a reason why the copy to clipboard button is disabled (only when `disabled` is `true`).
50
+ * If provided, the copy to clipboard button becomes focusable.
51
+ * Applicable for all variants except inline.
52
+ */
53
+ disabledReason?: string;
54
+ }
55
+ export declare namespace CopyToClipboardProps {
56
+ type Variant = 'button' | 'icon' | 'inline';
57
+ interface CopySuccessDetail {
58
+ /** The text that was copied to the clipboard */
59
+ text: string;
60
+ }
61
+ interface CopyFailureDetail {
62
+ /** The text that failed to copy to the clipboard */
63
+ text: string;
64
+ }
65
+ }
66
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/copy-to-clipboard/interfaces.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC;IACvC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;;;OAMG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAGzB;AACD,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,KAAK,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC5C,UAAU,iBAAiB;QACzB,gDAAgD;QAChD,IAAI,EAAE,MAAM,CAAC;KACd;IACD,UAAU,iBAAiB;QACzB,oDAAoD;QACpD,IAAI,EAAE,MAAM,CAAC;KACd;CACF"}
@@ -0,0 +1,39 @@
1
+ import { BaseInputProps, InputProps } from '../input/interfaces.js';
2
+ export interface DateInputProps extends BaseInputProps {
3
+ /**
4
+ * The current input value, in YYYY-MM-DD format.
5
+ */
6
+ value: string;
7
+ /**
8
+ * Specifies the locale to use to render month names and determine the starting day of the week.
9
+ * If you don't provide this, the locale is determined by the page and browser locales.
10
+ * Supported values and formats are listed in the [JavaScript Intl API specification](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
11
+ */
12
+ locale?: string;
13
+ /**
14
+ * Specifies the granularity at which users will be able to select a date.
15
+ * Defaults to `day`.
16
+ **/
17
+ granularity?: DateInputProps.Granularity;
18
+ /**
19
+ * The format as it is displayed. It can take the following values:
20
+ * * `iso`: ISO 8601 format without time, e.g.: 2024-01-30 (or 2024-01).
21
+ * * `long-localized`: a more human-readable, localized format, e.g.: January 30, 2024 (or January, 2024).
22
+ * * `slashed`: similar to ISO 8601 but with '/' in place of '-'. e.g.: 2024/01/30 (or 2024/01).
23
+ */
24
+ format?: DateInputProps.Format;
25
+ /**
26
+ * Specifies the date format to use when the format is 'long-localized' and editing the date.
27
+ * The format of the input as it is being interacted with. It can take the following values:
28
+ * * `iso`: ISO 8601 format without time, e.g.: 2024-01-30 (or 2024-01).
29
+ * * `slashed`: similar to ISO 8601 but with '/' in place of '-'. e.g.: 2024/01/30 (or 2024/01).
30
+ */
31
+ inputFormat?: DateInputProps.InputFormat;
32
+ }
33
+ export declare namespace DateInputProps {
34
+ type Ref = InputProps.Ref;
35
+ type Format = DateFormat;
36
+ type InputFormat = EditableDateFormat;
37
+ type Granularity = DateGranularity;
38
+ }
39
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/date-input/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpE,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;QAGI;IACJ,WAAW,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC;IACzC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAC/B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC;CAC1C;AACD,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,KAAK,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC1B,KAAK,MAAM,GAAG,UAAU,CAAC;IACzB,KAAK,WAAW,GAAG,kBAAkB,CAAC;IACtC,KAAK,WAAW,GAAG,eAAe,CAAC;CACpC"}