@bloomreach/react-banana-ui 1.27.0 → 1.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/dist/bloomreach-react-banana-ui.es.js +8236 -8106
  2. package/dist/bloomreach-react-banana-ui.es.js.map +1 -1
  3. package/dist/bloomreach-react-banana-ui.umd.js +21 -20
  4. package/dist/bloomreach-react-banana-ui.umd.js.map +1 -1
  5. package/dist/components/buttons/button/button.qa.stories.d.ts +1 -1
  6. package/dist/components/buttons/button/button.stories.d.ts +1 -1
  7. package/dist/components/buttons/button/button.types.d.ts +2 -2
  8. package/dist/components/buttons/button-group/button-group.qa.stories.d.ts +1 -1
  9. package/dist/components/buttons/button-group/button-group.stories.d.ts +1 -1
  10. package/dist/components/buttons/toggle-button/toggle-button.d.ts +2 -2
  11. package/dist/components/buttons/toggle-button/toggle-button.stories.d.ts +2 -2
  12. package/dist/components/buttons/toggle-button/toggle-button.types.d.ts +1 -1
  13. package/dist/components/buttons/toggle-button-group/toggle-button-group.d.ts +3 -4
  14. package/dist/components/buttons/toggle-button-group/toggle-button-group.stories.d.ts +1 -1
  15. package/dist/components/buttons/toggle-button-group/toggle-button-group.types.d.ts +14 -14
  16. package/dist/components/data-display/actions-container/actions-container.qa.stories.d.ts +1 -1
  17. package/dist/components/data-display/actions-container/actions-container.stories.d.ts +1 -1
  18. package/dist/components/data-display/actions-container/actions-container.types.d.ts +4 -4
  19. package/dist/components/data-display/asset-tag/asset-tag.qa.stories.d.ts +1 -1
  20. package/dist/components/data-display/asset-tag/asset-tag.stories.d.ts +1 -1
  21. package/dist/components/data-display/asset-tag/asset-tag.types.d.ts +9 -9
  22. package/dist/components/data-display/badge/badge.qa.stories.d.ts +1 -1
  23. package/dist/components/data-display/badge/badge.stories.d.ts +1 -1
  24. package/dist/components/data-display/badge/badge.types.d.ts +1 -1
  25. package/dist/components/data-display/description/description.qa.stories.d.ts +1 -1
  26. package/dist/components/data-display/description/description.stories.d.ts +1 -1
  27. package/dist/components/data-display/description/description.types.d.ts +4 -4
  28. package/dist/components/data-display/filter-tag/filter-tag.qa.stories.d.ts +1 -1
  29. package/dist/components/data-display/filter-tag/filter-tag.stories.d.ts +1 -1
  30. package/dist/components/data-display/filter-tag/filter-tag.types.d.ts +8 -8
  31. package/dist/components/data-display/header/header.qa.stories.d.ts +1 -1
  32. package/dist/components/data-display/header/header.stories.d.ts +1 -1
  33. package/dist/components/data-display/header/header.types.d.ts +4 -4
  34. package/dist/components/data-display/index.d.ts +2 -2
  35. package/dist/components/data-display/input-tag/input-tag.qa.stories.d.ts +1 -1
  36. package/dist/components/data-display/input-tag/input-tag.stories.d.ts +1 -1
  37. package/dist/components/data-display/input-tag/input-tag.types.d.ts +16 -16
  38. package/dist/components/data-display/table/table-context.d.ts +1 -1
  39. package/dist/components/data-display/table/table-section-context.d.ts +1 -1
  40. package/dist/components/data-display/table/table.qa.stories.d.ts +1 -1
  41. package/dist/components/data-display/table/table.stories.d.ts +1 -1
  42. package/dist/components/data-display/table/table.types.d.ts +9 -9
  43. package/dist/components/data-display/table-body/table-body.types.d.ts +4 -4
  44. package/dist/components/data-display/table-cell/table-cell.types.d.ts +5 -5
  45. package/dist/components/data-display/table-cell-action/table-cell-action.types.d.ts +4 -4
  46. package/dist/components/data-display/table-foot/table-foot.types.d.ts +4 -4
  47. package/dist/components/data-display/table-head/table-head.types.d.ts +4 -4
  48. package/dist/components/data-display/table-row/table-row-context.d.ts +1 -1
  49. package/dist/components/data-display/table-row/table-row.types.d.ts +4 -4
  50. package/dist/components/data-display/table-sort-label/table-sort-label.types.d.ts +5 -5
  51. package/dist/components/data-display/tag/tag.types.d.ts +18 -18
  52. package/dist/components/data-display/tag-group/tag-group.qa.stories.d.ts +1 -1
  53. package/dist/components/data-display/tag-group/tag-group.stories.d.ts +1 -1
  54. package/dist/components/data-display/tag-group/tag-group.types.d.ts +4 -4
  55. package/dist/components/data-display/typography/typography.d.ts +23 -2
  56. package/dist/components/data-display/typography/typography.qa.stories.d.ts +1 -1
  57. package/dist/components/data-display/typography/typography.stories.d.ts +1 -1
  58. package/dist/components/data-display/typography/typography.types.d.ts +22 -23
  59. package/dist/components/dropdowns/menu/index.d.ts +6 -6
  60. package/dist/components/dropdowns/menu/menu/menu.stories.d.ts +1 -1
  61. package/dist/components/dropdowns/menu/menu/menu.types.d.ts +4 -4
  62. package/dist/components/dropdowns/menu/menu-button/menu-button.d.ts +1 -2
  63. package/dist/components/dropdowns/menu/menu-button/menu-button.stories.d.ts +1 -1
  64. package/dist/components/dropdowns/menu/menu-button/menu-button.types.d.ts +1 -2
  65. package/dist/components/dropdowns/menu/menu-content/menu-content.stories.d.ts +1 -1
  66. package/dist/components/dropdowns/menu/menu-group/menu-group.stories.d.ts +1 -1
  67. package/dist/components/dropdowns/menu/menu-group-label/menu-group-label.stories.d.ts +1 -1
  68. package/dist/components/dropdowns/menu/menu-item/menu-item.stories.d.ts +1 -1
  69. package/dist/components/dropdowns/menu/menu-item/menu-item.types.d.ts +4 -4
  70. package/dist/components/dropdowns/menu/menu-separator/menu-separator.stories.d.ts +1 -1
  71. package/dist/components/dropdowns/menu/menu.stories.d.ts +1 -1
  72. package/dist/components/feedback/alert/alert.qa.stories.d.ts +1 -1
  73. package/dist/components/feedback/alert/alert.stories.d.ts +1 -1
  74. package/dist/components/feedback/alert/alert.types.d.ts +8 -8
  75. package/dist/components/foundations/icon/deprecated/index.d.ts +4 -4
  76. package/dist/components/foundations/icon/icon.d.ts +1 -1
  77. package/dist/components/foundations/icon/icon.qa.stories.d.ts +1 -1
  78. package/dist/components/foundations/icon/icon.stories.d.ts +1 -1
  79. package/dist/components/foundations/icon/icon.types.d.ts +4 -4
  80. package/dist/components/foundations/icon/icons/index.d.ts +245 -245
  81. package/dist/components/foundations/icon/index.d.ts +1 -1
  82. package/dist/components/inputs/autocomplete/autocomplete.qa.stories.d.ts +2 -2
  83. package/dist/components/inputs/autocomplete/autocomplete.stories.d.ts +3 -3
  84. package/dist/components/inputs/autocomplete/autocomplete.types.d.ts +10 -11
  85. package/dist/components/inputs/base-field/base-field.d.ts +0 -1
  86. package/dist/components/inputs/base-field/base-field.types.d.ts +1 -1
  87. package/dist/components/inputs/base-input/base-input.d.ts +0 -5
  88. package/dist/components/inputs/base-input/base-input.types.d.ts +5 -5
  89. package/dist/components/inputs/calendar/calendar.qa.stories.d.ts +1 -1
  90. package/dist/components/inputs/calendar/calendar.stories.d.ts +2 -2
  91. package/dist/components/inputs/calendar/calendar.types.d.ts +3 -3
  92. package/dist/components/inputs/calendar-cell/calendar-cell.types.d.ts +4 -4
  93. package/dist/components/inputs/checkbox/checkbox.qa.stories.d.ts +1 -1
  94. package/dist/components/inputs/checkbox/checkbox.stories.d.ts +1 -1
  95. package/dist/components/inputs/checkbox/checkbox.types.d.ts +13 -13
  96. package/dist/components/inputs/checkbox-field/checkbox-field.qa.stories.d.ts +1 -1
  97. package/dist/components/inputs/checkbox-field/checkbox-field.stories.d.ts +1 -1
  98. package/dist/components/inputs/checkbox-group/checkbox-group-context.d.ts +2 -2
  99. package/dist/components/inputs/checkbox-group/checkbox-group.qa.stories.d.ts +1 -1
  100. package/dist/components/inputs/checkbox-group/checkbox-group.stories.d.ts +1 -1
  101. package/dist/components/inputs/date-input/date-input.qa.stories.d.ts +1 -1
  102. package/dist/components/inputs/date-input/date-input.stories.d.ts +1 -1
  103. package/dist/components/inputs/date-picker/date-picker.stories.d.ts +1 -1
  104. package/dist/components/inputs/date-picker/use-date-picker.d.ts +1 -1
  105. package/dist/components/inputs/date-segment/date-segment.types.d.ts +4 -4
  106. package/dist/components/inputs/field-label/field-label.types.d.ts +5 -5
  107. package/dist/components/inputs/index.d.ts +2 -2
  108. package/dist/components/inputs/input-field/input-field.qa.stories.d.ts +1 -1
  109. package/dist/components/inputs/input-field/input-field.stories.d.ts +1 -1
  110. package/dist/components/inputs/internal.d.ts +1 -1
  111. package/dist/components/inputs/radio/radio.qa.stories.d.ts +1 -1
  112. package/dist/components/inputs/radio/radio.stories.d.ts +1 -1
  113. package/dist/components/inputs/radio-field/radio-field.qa.stories.d.ts +1 -1
  114. package/dist/components/inputs/radio-field/radio-field.stories.d.ts +1 -1
  115. package/dist/components/inputs/radio-group/radio-group-context.d.ts +3 -3
  116. package/dist/components/inputs/radio-group/radio-group.qa.stories.d.ts +1 -1
  117. package/dist/components/inputs/radio-group/radio-group.stories.d.ts +1 -1
  118. package/dist/components/inputs/radio-group/radio-group.types.d.ts +2 -2
  119. package/dist/components/inputs/select/select.types.d.ts +9 -9
  120. package/dist/components/inputs/select-field/select-field.qa.stories.d.ts +1 -1
  121. package/dist/components/inputs/select-field/select-field.stories.d.ts +1 -1
  122. package/dist/components/inputs/select-field/select-field.types.d.ts +6 -6
  123. package/dist/components/inputs/select-option/select-option.types.d.ts +14 -14
  124. package/dist/components/inputs/text-field/text-field.qa.stories.d.ts +1 -1
  125. package/dist/components/inputs/text-field/text-field.stories.d.ts +1 -1
  126. package/dist/components/inputs/toggle-field/toggle-field.qa.stories.d.ts +1 -1
  127. package/dist/components/inputs/toggle-field/toggle-field.stories.d.ts +1 -1
  128. package/dist/components/layout/box/box.qa.stories.d.ts +1 -1
  129. package/dist/components/layout/box/box.stories.d.ts +1 -1
  130. package/dist/components/layout/box/box.types.d.ts +4 -4
  131. package/dist/components/layout/flex/flex.qa.stories.d.ts +1 -1
  132. package/dist/components/layout/flex/flex.stories.d.ts +1 -1
  133. package/dist/components/layout/flex/flex.types.d.ts +4 -4
  134. package/dist/components/layout/index.d.ts +1 -1
  135. package/dist/components/lists/internal.d.ts +2 -2
  136. package/dist/components/lists/listbox/listbox.types.d.ts +4 -4
  137. package/dist/components/lists/listbox-group/listbox-group.types.d.ts +4 -4
  138. package/dist/components/lists/listbox-group-label/listbox-group-label.types.d.ts +4 -4
  139. package/dist/components/lists/listbox-item/listbox-item.types.d.ts +8 -8
  140. package/dist/components/navigation/pagination/pagination-context.d.ts +1 -1
  141. package/dist/components/navigation/pagination/pagination-navigation-helpers.d.ts +3 -3
  142. package/dist/components/navigation/pagination/pagination.qa.stories.d.ts +1 -1
  143. package/dist/components/navigation/pagination/pagination.stories.d.ts +1 -1
  144. package/dist/components/navigation/pagination/pagination.types.d.ts +9 -9
  145. package/dist/components/navigation/tabs/tab/tab.types.d.ts +9 -9
  146. package/dist/components/navigation/tabs/tab-list/tab-list.types.d.ts +4 -4
  147. package/dist/components/navigation/tabs/tab-panel/tab-panel.types.d.ts +8 -8
  148. package/dist/components/navigation/tabs/tabs/tabs.types.d.ts +11 -11
  149. package/dist/components/navigation/tabs/tabs.qa.stories.d.ts +1 -1
  150. package/dist/components/navigation/tabs/tabs.stories.d.ts +1 -1
  151. package/dist/components/popovers/modal/index.d.ts +4 -4
  152. package/dist/components/popovers/modal/modal.qa.stories.d.ts +1 -1
  153. package/dist/components/popovers/modal/modal.types.d.ts +32 -32
  154. package/dist/components/popovers/popup/popup/index.d.ts +1 -1
  155. package/dist/components/popovers/popup/popup/popup.types.d.ts +6 -7
  156. package/dist/components/popovers/popup/popup/use-popup.d.ts +8 -8
  157. package/dist/components/popovers/popup/popup-content/popup-content.types.d.ts +10 -10
  158. package/dist/components/popovers/popup/popup.stories.d.ts +1 -1
  159. package/dist/components/popovers/tooltip/tooltip.qa.stories.d.ts +1 -1
  160. package/dist/components/popovers/tooltip/tooltip.stories.d.ts +1 -1
  161. package/dist/components/popovers/tooltip/tooltip.types.d.ts +13 -13
  162. package/dist/components/surfaces/accordion/accordion/accordion.types.d.ts +4 -4
  163. package/dist/components/surfaces/accordion/accordion-content/accordion-content.types.d.ts +4 -4
  164. package/dist/components/surfaces/accordion/accordion-filter-header/accordion-filter-header.types.d.ts +5 -5
  165. package/dist/components/surfaces/accordion/accordion-group/accordion-group.types.d.ts +29 -29
  166. package/dist/components/surfaces/accordion/accordion-header/accordion-header.types.d.ts +4 -4
  167. package/dist/components/surfaces/accordion/accordion.qa.stories.d.ts +1 -1
  168. package/dist/components/surfaces/accordion/accordion.stories.d.ts +1 -1
  169. package/dist/style.css +1 -1
  170. package/dist/utils/date/aria-date-conversion.d.ts +10 -10
  171. package/dist/utils/date/date-validation.d.ts +5 -5
  172. package/dist/utils/filter-style-props.d.ts +29 -29
  173. package/dist/utils/hooks/index.d.ts +1 -1
  174. package/dist/utils/hooks/use-controlled-value.d.ts +1 -1
  175. package/dist/utils/hooks/use-hover.d.ts +3 -3
  176. package/dist/utils/types/index.d.ts +2 -2
  177. package/dist/utils/types/polymorphic-prop.types.d.ts +7 -7
  178. package/dist/utils/types/slots.types.d.ts +16 -16
  179. package/dist/utils/types/styles.types.d.ts +170 -170
  180. package/package.json +79 -69
  181. /package/dist/components/foundations/icon/deprecated/{NextStepIcon.d.ts → next-step-icon.d.ts} +0 -0
  182. /package/dist/components/foundations/icon/deprecated/{SortAscIcon.d.ts → sort-asc-icon.d.ts} +0 -0
  183. /package/dist/components/foundations/icon/deprecated/{SortDescIcon.d.ts → sort-desc-icon.d.ts} +0 -0
  184. /package/dist/components/foundations/icon/deprecated/{SortInactiveIcon.d.ts → sort-inactive-icon.d.ts} +0 -0
  185. /package/dist/components/foundations/icon/icons/{AbTestIcon.d.ts → ab-test-icon.d.ts} +0 -0
  186. /package/dist/components/foundations/icon/icons/{AggregateIcon.d.ts → aggregate-icon.d.ts} +0 -0
  187. /package/dist/components/foundations/icon/icons/{AnalyticsIcon.d.ts → analytics-icon.d.ts} +0 -0
  188. /package/dist/components/foundations/icon/icons/{AndroidIcon.d.ts → android-icon.d.ts} +0 -0
  189. /package/dist/components/foundations/icon/icons/{AnonymizeIcon.d.ts → anonymize-icon.d.ts} +0 -0
  190. /package/dist/components/foundations/icon/icons/{AppleIcon.d.ts → apple-icon.d.ts} +0 -0
  191. /package/dist/components/foundations/icon/icons/{ArchiveAltIcon.d.ts → archive-alt-icon.d.ts} +0 -0
  192. /package/dist/components/foundations/icon/icons/{ArchiveIcon.d.ts → archive-icon.d.ts} +0 -0
  193. /package/dist/components/foundations/icon/icons/{ArrowCollapseIcon.d.ts → arrow-collapse-icon.d.ts} +0 -0
  194. /package/dist/components/foundations/icon/icons/{ArrowDownIcon.d.ts → arrow-down-icon.d.ts} +0 -0
  195. /package/dist/components/foundations/icon/icons/{ArrowExpandIcon.d.ts → arrow-expand-icon.d.ts} +0 -0
  196. /package/dist/components/foundations/icon/icons/{ArrowKeyboardNextIcon.d.ts → arrow-keyboard-next-icon.d.ts} +0 -0
  197. /package/dist/components/foundations/icon/icons/{ArrowKeyboardPreviousIcon.d.ts → arrow-keyboard-previous-icon.d.ts} +0 -0
  198. /package/dist/components/foundations/icon/icons/{ArrowKeyboardUpIcon.d.ts → arrow-keyboard-up-icon.d.ts} +0 -0
  199. /package/dist/components/foundations/icon/icons/{ArrowLeftIcon.d.ts → arrow-left-icon.d.ts} +0 -0
  200. /package/dist/components/foundations/icon/icons/{ArrowRightIcon.d.ts → arrow-right-icon.d.ts} +0 -0
  201. /package/dist/components/foundations/icon/icons/{ArrowUpIcon.d.ts → arrow-up-icon.d.ts} +0 -0
  202. /package/dist/components/foundations/icon/icons/{AttributeSlotIcon.d.ts → attribute-slot-icon.d.ts} +0 -0
  203. /package/dist/components/foundations/icon/icons/{AxisIcon.d.ts → axis-icon.d.ts} +0 -0
  204. /package/dist/components/foundations/icon/icons/{AxisLimtIcon.d.ts → axis-limt-icon.d.ts} +0 -0
  205. /package/dist/components/foundations/icon/icons/{BarChartIcon.d.ts → bar-chart-icon.d.ts} +0 -0
  206. /package/dist/components/foundations/icon/icons/{BooleanIcon.d.ts → boolean-icon.d.ts} +0 -0
  207. /package/dist/components/foundations/icon/icons/{BoostIcon.d.ts → boost-icon.d.ts} +0 -0
  208. /package/dist/components/foundations/icon/icons/{BracketsCancelIcon.d.ts → brackets-cancel-icon.d.ts} +0 -0
  209. /package/dist/components/foundations/icon/icons/{BracketsIcon.d.ts → brackets-icon.d.ts} +0 -0
  210. /package/dist/components/foundations/icon/icons/{BrowserIcon.d.ts → browser-icon.d.ts} +0 -0
  211. /package/dist/components/foundations/icon/icons/{BrowserPushIcon.d.ts → browser-push-icon.d.ts} +0 -0
  212. /package/dist/components/foundations/icon/icons/{BuryIcon.d.ts → bury-icon.d.ts} +0 -0
  213. /package/dist/components/foundations/icon/icons/{CalendarAltIcon.d.ts → calendar-alt-icon.d.ts} +0 -0
  214. /package/dist/components/foundations/icon/icons/{CalendarIcon.d.ts → calendar-icon.d.ts} +0 -0
  215. /package/dist/components/foundations/icon/icons/{CatalogIcon.d.ts → catalog-icon.d.ts} +0 -0
  216. /package/dist/components/foundations/icon/icons/{ChatAddIcon.d.ts → chat-add-icon.d.ts} +0 -0
  217. /package/dist/components/foundations/icon/icons/{ChatIcon.d.ts → chat-icon.d.ts} +0 -0
  218. /package/dist/components/foundations/icon/icons/{ChatsIcon.d.ts → chats-icon.d.ts} +0 -0
  219. /package/dist/components/foundations/icon/icons/{CheckCircleIcon.d.ts → check-circle-icon.d.ts} +0 -0
  220. /package/dist/components/foundations/icon/icons/{CheckFilledIcon.d.ts → check-filled-icon.d.ts} +0 -0
  221. /package/dist/components/foundations/icon/icons/{CheckIcon.d.ts → check-icon.d.ts} +0 -0
  222. /package/dist/components/foundations/icon/icons/{CheckSmallIcon.d.ts → check-small-icon.d.ts} +0 -0
  223. /package/dist/components/foundations/icon/icons/{ChevronDownFillIcon.d.ts → chevron-down-fill-icon.d.ts} +0 -0
  224. /package/dist/components/foundations/icon/icons/{ChevronDownIcon.d.ts → chevron-down-icon.d.ts} +0 -0
  225. /package/dist/components/foundations/icon/icons/{ChevronLeftFillIcon.d.ts → chevron-left-fill-icon.d.ts} +0 -0
  226. /package/dist/components/foundations/icon/icons/{ChevronLeftIcon.d.ts → chevron-left-icon.d.ts} +0 -0
  227. /package/dist/components/foundations/icon/icons/{ChevronRightFillIcon.d.ts → chevron-right-fill-icon.d.ts} +0 -0
  228. /package/dist/components/foundations/icon/icons/{ChevronRightIcon.d.ts → chevron-right-icon.d.ts} +0 -0
  229. /package/dist/components/foundations/icon/icons/{ChevronUpFillIcon.d.ts → chevron-up-fill-icon.d.ts} +0 -0
  230. /package/dist/components/foundations/icon/icons/{ChevronUpIcon.d.ts → chevron-up-icon.d.ts} +0 -0
  231. /package/dist/components/foundations/icon/icons/{ClearFillIcon.d.ts → clear-fill-icon.d.ts} +0 -0
  232. /package/dist/components/foundations/icon/icons/{ClearIcon.d.ts → clear-icon.d.ts} +0 -0
  233. /package/dist/components/foundations/icon/icons/{ClipboardAddIcon.d.ts → clipboard-add-icon.d.ts} +0 -0
  234. /package/dist/components/foundations/icon/icons/{ClockCircleIcon.d.ts → clock-circle-icon.d.ts} +0 -0
  235. /package/dist/components/foundations/icon/icons/{CloneIcon.d.ts → clone-icon.d.ts} +0 -0
  236. /package/dist/components/foundations/icon/icons/{CloseIcon.d.ts → close-icon.d.ts} +0 -0
  237. /package/dist/components/foundations/icon/icons/{CloseSmallIcon.d.ts → close-small-icon.d.ts} +0 -0
  238. /package/dist/components/foundations/icon/icons/{CloudCheckIcon.d.ts → cloud-check-icon.d.ts} +0 -0
  239. /package/dist/components/foundations/icon/icons/{CloudDownloadIcon.d.ts → cloud-download-icon.d.ts} +0 -0
  240. /package/dist/components/foundations/icon/icons/{CodeIcon.d.ts → code-icon.d.ts} +0 -0
  241. /package/dist/components/foundations/icon/icons/{ColorPickerAltIcon.d.ts → color-picker-alt-icon.d.ts} +0 -0
  242. /package/dist/components/foundations/icon/icons/{ColorPickerIcon.d.ts → color-picker-icon.d.ts} +0 -0
  243. /package/dist/components/foundations/icon/icons/{ColumnsIcon.d.ts → columns-icon.d.ts} +0 -0
  244. /package/dist/components/foundations/icon/icons/{ConditionAltIcon.d.ts → condition-alt-icon.d.ts} +0 -0
  245. /package/dist/components/foundations/icon/icons/{ConditionIcon.d.ts → condition-icon.d.ts} +0 -0
  246. /package/dist/components/foundations/icon/icons/{ConsoleIcon.d.ts → console-icon.d.ts} +0 -0
  247. /package/dist/components/foundations/icon/icons/{ConstantAltIcon.d.ts → constant-alt-icon.d.ts} +0 -0
  248. /package/dist/components/foundations/icon/icons/{ConstantIcon.d.ts → constant-icon.d.ts} +0 -0
  249. /package/dist/components/foundations/icon/icons/{ContextualPersonalizationIcon.d.ts → contextual-personalization-icon.d.ts} +0 -0
  250. /package/dist/components/foundations/icon/icons/{CopyIcon.d.ts → copy-icon.d.ts} +0 -0
  251. /package/dist/components/foundations/icon/icons/{CopyToDashboardIcon.d.ts → copy-to-dashboard-icon.d.ts} +0 -0
  252. /package/dist/components/foundations/icon/icons/{CsvIcon.d.ts → csv-icon.d.ts} +0 -0
  253. /package/dist/components/foundations/icon/icons/{CustomRowIcon.d.ts → custom-row-icon.d.ts} +0 -0
  254. /package/dist/components/foundations/icon/icons/{CustomerIcon.d.ts → customer-icon.d.ts} +0 -0
  255. /package/dist/components/foundations/icon/icons/{CustomersFilterIcon.d.ts → customers-filter-icon.d.ts} +0 -0
  256. /package/dist/components/foundations/icon/icons/{CustomersSegmentationIcon.d.ts → customers-segmentation-icon.d.ts} +0 -0
  257. /package/dist/components/foundations/icon/icons/{DateTimeIcon.d.ts → date-time-icon.d.ts} +0 -0
  258. /package/dist/components/foundations/icon/icons/{DescriptionIcon.d.ts → description-icon.d.ts} +0 -0
  259. /package/dist/components/foundations/icon/icons/{DesktopIcon.d.ts → desktop-icon.d.ts} +0 -0
  260. /package/dist/components/foundations/icon/icons/{DisabledIcon.d.ts → disabled-icon.d.ts} +0 -0
  261. /package/dist/components/foundations/icon/icons/{DivideIcon.d.ts → divide-icon.d.ts} +0 -0
  262. /package/dist/components/foundations/icon/icons/{DocumentationIcon.d.ts → documentation-icon.d.ts} +0 -0
  263. /package/dist/components/foundations/icon/icons/{DownloadIcon.d.ts → download-icon.d.ts} +0 -0
  264. /package/dist/components/foundations/icon/icons/{DragHorizontalIcon.d.ts → drag-horizontal-icon.d.ts} +0 -0
  265. /package/dist/components/foundations/icon/icons/{DragVericalIcon.d.ts → drag-verical-icon.d.ts} +0 -0
  266. /package/dist/components/foundations/icon/icons/{EditIcon.d.ts → edit-icon.d.ts} +0 -0
  267. /package/dist/components/foundations/icon/icons/{EducationHubIcon.d.ts → education-hub-icon.d.ts} +0 -0
  268. /package/dist/components/foundations/icon/icons/{EllipsisVerticalIcon.d.ts → ellipsis-vertical-icon.d.ts} +0 -0
  269. /package/dist/components/foundations/icon/icons/{EllipsissHorizontalIcon.d.ts → ellipsiss-horizontal-icon.d.ts} +0 -0
  270. /package/dist/components/foundations/icon/icons/{EmailIcon.d.ts → email-icon.d.ts} +0 -0
  271. /package/dist/components/foundations/icon/icons/{EmojiPickerIcon.d.ts → emoji-picker-icon.d.ts} +0 -0
  272. /package/dist/components/foundations/icon/icons/{EmptyIcon.d.ts → empty-icon.d.ts} +0 -0
  273. /package/dist/components/foundations/icon/icons/{ErrorFillIcon.d.ts → error-fill-icon.d.ts} +0 -0
  274. /package/dist/components/foundations/icon/icons/{EventIcon.d.ts → event-icon.d.ts} +0 -0
  275. /package/dist/components/foundations/icon/icons/{EventsSegmentationIcon.d.ts → events-segmentation-icon.d.ts} +0 -0
  276. /package/dist/components/foundations/icon/icons/{ExperimentIcon.d.ts → experiment-icon.d.ts} +0 -0
  277. /package/dist/components/foundations/icon/icons/{ExposeIcon.d.ts → expose-icon.d.ts} +0 -0
  278. /package/dist/components/foundations/icon/icons/{ExpressionIcon.d.ts → expression-icon.d.ts} +0 -0
  279. /package/dist/components/foundations/icon/icons/{ExternalLinkIcon.d.ts → external-link-icon.d.ts} +0 -0
  280. /package/dist/components/foundations/icon/icons/{EyeCrossedIcon.d.ts → eye-crossed-icon.d.ts} +0 -0
  281. /package/dist/components/foundations/icon/icons/{EyeIcon.d.ts → eye-icon.d.ts} +0 -0
  282. /package/dist/components/foundations/icon/icons/{FastForwardIcon.d.ts → fast-forward-icon.d.ts} +0 -0
  283. /package/dist/components/foundations/icon/icons/{FileIcon.d.ts → file-icon.d.ts} +0 -0
  284. /package/dist/components/foundations/icon/icons/{FileVideoIcon.d.ts → file-video-icon.d.ts} +0 -0
  285. /package/dist/components/foundations/icon/icons/{FilterIcon.d.ts → filter-icon.d.ts} +0 -0
  286. /package/dist/components/foundations/icon/icons/{FireIcon.d.ts → fire-icon.d.ts} +0 -0
  287. /package/dist/components/foundations/icon/icons/{FolderEmptyIcon.d.ts → folder-empty-icon.d.ts} +0 -0
  288. /package/dist/components/foundations/icon/icons/{FolderFullIcon.d.ts → folder-full-icon.d.ts} +0 -0
  289. /package/dist/components/foundations/icon/icons/{ForceAddToRecallIcon.d.ts → force-add-to-recall-icon.d.ts} +0 -0
  290. /package/dist/components/foundations/icon/icons/{ForceAddToRecallUndoIcon.d.ts → force-add-to-recall-undo-icon.d.ts} +0 -0
  291. /package/dist/components/foundations/icon/icons/{FormulaExpressionIcon.d.ts → formula-expression-icon.d.ts} +0 -0
  292. /package/dist/components/foundations/icon/icons/{FormulaIcon.d.ts → formula-icon.d.ts} +0 -0
  293. /package/dist/components/foundations/icon/icons/{FromStartAltIcon.d.ts → from-start-alt-icon.d.ts} +0 -0
  294. /package/dist/components/foundations/icon/icons/{FullscreenIcon.d.ts → fullscreen-icon.d.ts} +0 -0
  295. /package/dist/components/foundations/icon/icons/{GiftIcon.d.ts → gift-icon.d.ts} +0 -0
  296. /package/dist/components/foundations/icon/icons/{GoToIcon.d.ts → go-to-icon.d.ts} +0 -0
  297. /package/dist/components/foundations/icon/icons/{GraphStatsIcon.d.ts → graph-stats-icon.d.ts} +0 -0
  298. /package/dist/components/foundations/icon/icons/{GridAltIcon.d.ts → grid-alt-icon.d.ts} +0 -0
  299. /package/dist/components/foundations/icon/icons/{GridIcon.d.ts → grid-icon.d.ts} +0 -0
  300. /package/dist/components/foundations/icon/icons/{HelpIcon.d.ts → help-icon.d.ts} +0 -0
  301. /package/dist/components/foundations/icon/icons/{HistoryIcon.d.ts → history-icon.d.ts} +0 -0
  302. /package/dist/components/foundations/icon/icons/{HomeIcon.d.ts → home-icon.d.ts} +0 -0
  303. /package/dist/components/foundations/icon/icons/{HtmlIcon.d.ts → html-icon.d.ts} +0 -0
  304. /package/dist/components/foundations/icon/icons/{ImageSearchIcon.d.ts → image-search-icon.d.ts} +0 -0
  305. /package/dist/components/foundations/icon/icons/{ImagesIcon.d.ts → images-icon.d.ts} +0 -0
  306. /package/dist/components/foundations/icon/icons/{ImpactDownIcon.d.ts → impact-down-icon.d.ts} +0 -0
  307. /package/dist/components/foundations/icon/icons/{InfoFilledIcon.d.ts → info-filled-icon.d.ts} +0 -0
  308. /package/dist/components/foundations/icon/icons/{InfoIcon.d.ts → info-icon.d.ts} +0 -0
  309. /package/dist/components/foundations/icon/icons/{InfoSmallIcon.d.ts → info-small-icon.d.ts} +0 -0
  310. /package/dist/components/foundations/icon/icons/{InternetIcon.d.ts → internet-icon.d.ts} +0 -0
  311. /package/dist/components/foundations/icon/icons/{KeyIcon.d.ts → key-icon.d.ts} +0 -0
  312. /package/dist/components/foundations/icon/icons/{LayoutIcon.d.ts → layout-icon.d.ts} +0 -0
  313. /package/dist/components/foundations/icon/icons/{LikeIcon.d.ts → like-icon.d.ts} +0 -0
  314. /package/dist/components/foundations/icon/icons/{LineChartIcon.d.ts → line-chart-icon.d.ts} +0 -0
  315. /package/dist/components/foundations/icon/icons/{LinkIcon.d.ts → link-icon.d.ts} +0 -0
  316. /package/dist/components/foundations/icon/icons/{ListIcon.d.ts → list-icon.d.ts} +0 -0
  317. /package/dist/components/foundations/icon/icons/{LoaderIcon.d.ts → loader-icon.d.ts} +0 -0
  318. /package/dist/components/foundations/icon/icons/{LockIcon.d.ts → lock-icon.d.ts} +0 -0
  319. /package/dist/components/foundations/icon/icons/{MapIcon.d.ts → map-icon.d.ts} +0 -0
  320. /package/dist/components/foundations/icon/icons/{MetricAltIcon.d.ts → metric-alt-icon.d.ts} +0 -0
  321. /package/dist/components/foundations/icon/icons/{MinusIcon.d.ts → minus-icon.d.ts} +0 -0
  322. /package/dist/components/foundations/icon/icons/{MobileAppInboxIcon.d.ts → mobile-app-inbox-icon.d.ts} +0 -0
  323. /package/dist/components/foundations/icon/icons/{MobileImageMessageIcon.d.ts → mobile-image-message-icon.d.ts} +0 -0
  324. /package/dist/components/foundations/icon/icons/{MobilePhoneLandscapeIcon.d.ts → mobile-phone-landscape-icon.d.ts} +0 -0
  325. /package/dist/components/foundations/icon/icons/{MobilePhonePortraitIcon.d.ts → mobile-phone-portrait-icon.d.ts} +0 -0
  326. /package/dist/components/foundations/icon/icons/{MobilePushIcon.d.ts → mobile-push-icon.d.ts} +0 -0
  327. /package/dist/components/foundations/icon/icons/{MobileSmsIcon.d.ts → mobile-sms-icon.d.ts} +0 -0
  328. /package/dist/components/foundations/icon/icons/{MobileTextMessageIcon.d.ts → mobile-text-message-icon.d.ts} +0 -0
  329. /package/dist/components/foundations/icon/icons/{MoveIcon.d.ts → move-icon.d.ts} +0 -0
  330. /package/dist/components/foundations/icon/icons/{MultiParentRejectedIcon.d.ts → multi-parent-rejected-icon.d.ts} +0 -0
  331. /package/dist/components/foundations/icon/icons/{MultiParentSelectedIcon.d.ts → multi-parent-selected-icon.d.ts} +0 -0
  332. /package/dist/components/foundations/icon/icons/{MultiParentUnassignedIcon.d.ts → multi-parent-unassigned-icon.d.ts} +0 -0
  333. /package/dist/components/foundations/icon/icons/{NegationIcon.d.ts → negation-icon.d.ts} +0 -0
  334. /package/dist/components/foundations/icon/icons/{NotificationIcon.d.ts → notification-icon.d.ts} +0 -0
  335. /package/dist/components/foundations/icon/icons/{NumberIcon.d.ts → number-icon.d.ts} +0 -0
  336. /package/dist/components/foundations/icon/icons/{OfflineFillIcon.d.ts → offline-fill-icon.d.ts} +0 -0
  337. /package/dist/components/foundations/icon/icons/{OfflineIcon.d.ts → offline-icon.d.ts} +0 -0
  338. /package/dist/components/foundations/icon/icons/{OutOfStockIcon.d.ts → out-of-stock-icon.d.ts} +0 -0
  339. /package/dist/components/foundations/icon/icons/{PagesIcon.d.ts → pages-icon.d.ts} +0 -0
  340. /package/dist/components/foundations/icon/icons/{PaintIcon.d.ts → paint-icon.d.ts} +0 -0
  341. /package/dist/components/foundations/icon/icons/{ParagraphCenterAlignIcon.d.ts → paragraph-center-align-icon.d.ts} +0 -0
  342. /package/dist/components/foundations/icon/icons/{ParagraphLeftAlignIcon.d.ts → paragraph-left-align-icon.d.ts} +0 -0
  343. /package/dist/components/foundations/icon/icons/{ParagraphRightAlignIcon.d.ts → paragraph-right-align-icon.d.ts} +0 -0
  344. /package/dist/components/foundations/icon/icons/{PassDownIcon.d.ts → pass-down-icon.d.ts} +0 -0
  345. /package/dist/components/foundations/icon/icons/{PassThroughIcon.d.ts → pass-through-icon.d.ts} +0 -0
  346. /package/dist/components/foundations/icon/icons/{PercentageIcon.d.ts → percentage-icon.d.ts} +0 -0
  347. /package/dist/components/foundations/icon/icons/{PersAlt1Icon.d.ts → pers-alt-1-icon.d.ts} +0 -0
  348. /package/dist/components/foundations/icon/icons/{PersAlt2Icon.d.ts → pers-alt-2-icon.d.ts} +0 -0
  349. /package/dist/components/foundations/icon/icons/{PersAlt3Icon.d.ts → pers-alt-3-icon.d.ts} +0 -0
  350. /package/dist/components/foundations/icon/icons/{PersAlt4Icon.d.ts → pers-alt-4-icon.d.ts} +0 -0
  351. /package/dist/components/foundations/icon/icons/{PictureAltIcon.d.ts → picture-alt-icon.d.ts} +0 -0
  352. /package/dist/components/foundations/icon/icons/{PictureIcon.d.ts → picture-icon.d.ts} +0 -0
  353. /package/dist/components/foundations/icon/icons/{PinIcon.d.ts → pin-icon.d.ts} +0 -0
  354. /package/dist/components/foundations/icon/icons/{PlugPlayIcon.d.ts → plug-play-icon.d.ts} +0 -0
  355. /package/dist/components/foundations/icon/icons/{PlusCircleFillIcon.d.ts → plus-circle-fill-icon.d.ts} +0 -0
  356. /package/dist/components/foundations/icon/icons/{PlusCircleIcon.d.ts → plus-circle-icon.d.ts} +0 -0
  357. /package/dist/components/foundations/icon/icons/{PlusIcon.d.ts → plus-icon.d.ts} +0 -0
  358. /package/dist/components/foundations/icon/icons/{PoverButtonIcon.d.ts → pover-button-icon.d.ts} +0 -0
  359. /package/dist/components/foundations/icon/icons/{ProductSlotsIcon.d.ts → product-slots-icon.d.ts} +0 -0
  360. /package/dist/components/foundations/icon/icons/{ReceiveIcon.d.ts → receive-icon.d.ts} +0 -0
  361. /package/dist/components/foundations/icon/icons/{RefreshIcon.d.ts → refresh-icon.d.ts} +0 -0
  362. /package/dist/components/foundations/icon/icons/{ReleaseNotesIcon.d.ts → release-notes-icon.d.ts} +0 -0
  363. /package/dist/components/foundations/icon/icons/{RenameAltIcon.d.ts → rename-alt-icon.d.ts} +0 -0
  364. /package/dist/components/foundations/icon/icons/{RenameIcon.d.ts → rename-icon.d.ts} +0 -0
  365. /package/dist/components/foundations/icon/icons/{ReorderIcon.d.ts → reorder-icon.d.ts} +0 -0
  366. /package/dist/components/foundations/icon/icons/{ReportIcon.d.ts → report-icon.d.ts} +0 -0
  367. /package/dist/components/foundations/icon/icons/{RetentionIcon.d.ts → retention-icon.d.ts} +0 -0
  368. /package/dist/components/foundations/icon/icons/{RewertLeftIcon.d.ts → rewert-left-icon.d.ts} +0 -0
  369. /package/dist/components/foundations/icon/icons/{RewertRightIcon.d.ts → rewert-right-icon.d.ts} +0 -0
  370. /package/dist/components/foundations/icon/icons/{RibbonIcon.d.ts → ribbon-icon.d.ts} +0 -0
  371. /package/dist/components/foundations/icon/icons/{RoadmapIcon.d.ts → roadmap-icon.d.ts} +0 -0
  372. /package/dist/components/foundations/icon/icons/{RobotIcon.d.ts → robot-icon.d.ts} +0 -0
  373. /package/dist/components/foundations/icon/icons/{RuleLabelIcon.d.ts → rule-label-icon.d.ts} +0 -0
  374. /package/dist/components/foundations/icon/icons/{RunningAggregateIcon.d.ts → running-aggregate-icon.d.ts} +0 -0
  375. /package/dist/components/foundations/icon/icons/{SaveIcon.d.ts → save-icon.d.ts} +0 -0
  376. /package/dist/components/foundations/icon/icons/{ScenarioIcon.d.ts → scenario-icon.d.ts} +0 -0
  377. /package/dist/components/foundations/icon/icons/{SearchIcon.d.ts → search-icon.d.ts} +0 -0
  378. /package/dist/components/foundations/icon/icons/{SecurityShieldIcon.d.ts → security-shield-icon.d.ts} +0 -0
  379. /package/dist/components/foundations/icon/icons/{SendIcon.d.ts → send-icon.d.ts} +0 -0
  380. /package/dist/components/foundations/icon/icons/{SettingsAltIcon.d.ts → settings-alt-icon.d.ts} +0 -0
  381. /package/dist/components/foundations/icon/icons/{SettingsIcon.d.ts → settings-icon.d.ts} +0 -0
  382. /package/dist/components/foundations/icon/icons/{ShareIcon.d.ts → share-icon.d.ts} +0 -0
  383. /package/dist/components/foundations/icon/icons/{ShopIcon.d.ts → shop-icon.d.ts} +0 -0
  384. /package/dist/components/foundations/icon/icons/{ShrinkIcon.d.ts → shrink-icon.d.ts} +0 -0
  385. /package/dist/components/foundations/icon/icons/{SortIcon.d.ts → sort-icon.d.ts} +0 -0
  386. /package/dist/components/foundations/icon/icons/{SplitFlowIcon.d.ts → split-flow-icon.d.ts} +0 -0
  387. /package/dist/components/foundations/icon/icons/{SqlIcon.d.ts → sql-icon.d.ts} +0 -0
  388. /package/dist/components/foundations/icon/icons/{StarFillIcon.d.ts → star-fill-icon.d.ts} +0 -0
  389. /package/dist/components/foundations/icon/icons/{StarIcon.d.ts → star-icon.d.ts} +0 -0
  390. /package/dist/components/foundations/icon/icons/{StartFillIcon.d.ts → start-fill-icon.d.ts} +0 -0
  391. /package/dist/components/foundations/icon/icons/{StartIcon.d.ts → start-icon.d.ts} +0 -0
  392. /package/dist/components/foundations/icon/icons/{StatusDotIcon.d.ts → status-dot-icon.d.ts} +0 -0
  393. /package/dist/components/foundations/icon/icons/{StopIcon.d.ts → stop-icon.d.ts} +0 -0
  394. /package/dist/components/foundations/icon/icons/{StopwatchIcon.d.ts → stopwatch-icon.d.ts} +0 -0
  395. /package/dist/components/foundations/icon/icons/{StringComponentIcon.d.ts → string-component-icon.d.ts} +0 -0
  396. /package/dist/components/foundations/icon/icons/{StringIcon.d.ts → string-icon.d.ts} +0 -0
  397. /package/dist/components/foundations/icon/icons/{SuggestionIcon.d.ts → suggestion-icon.d.ts} +0 -0
  398. /package/dist/components/foundations/icon/icons/{SurveyIcon.d.ts → survey-icon.d.ts} +0 -0
  399. /package/dist/components/foundations/icon/icons/{SwapIcon.d.ts → swap-icon.d.ts} +0 -0
  400. /package/dist/components/foundations/icon/icons/{TabletLangscapeIcon.d.ts → tablet-langscape-icon.d.ts} +0 -0
  401. /package/dist/components/foundations/icon/icons/{TabletPortraitIcon.d.ts → tablet-portrait-icon.d.ts} +0 -0
  402. /package/dist/components/foundations/icon/icons/{TagAltIcon.d.ts → tag-alt-icon.d.ts} +0 -0
  403. /package/dist/components/foundations/icon/icons/{TagIcon.d.ts → tag-icon.d.ts} +0 -0
  404. /package/dist/components/foundations/icon/icons/{TemplateIcon.d.ts → template-icon.d.ts} +0 -0
  405. /package/dist/components/foundations/icon/icons/{TextBoldIcon.d.ts → text-bold-icon.d.ts} +0 -0
  406. /package/dist/components/foundations/icon/icons/{TextItalicIcon.d.ts → text-italic-icon.d.ts} +0 -0
  407. /package/dist/components/foundations/icon/icons/{TextStyleIcon.d.ts → text-style-icon.d.ts} +0 -0
  408. /package/dist/components/foundations/icon/icons/{TragetIcon.d.ts → traget-icon.d.ts} +0 -0
  409. /package/dist/components/foundations/icon/icons/{TransferIcon.d.ts → transfer-icon.d.ts} +0 -0
  410. /package/dist/components/foundations/icon/icons/{TrashIcon.d.ts → trash-icon.d.ts} +0 -0
  411. /package/dist/components/foundations/icon/icons/{TrendIcon.d.ts → trend-icon.d.ts} +0 -0
  412. /package/dist/components/foundations/icon/icons/{UnExposeIcon.d.ts → un-expose-icon.d.ts} +0 -0
  413. /package/dist/components/foundations/icon/icons/{UnarchiveAltIcon.d.ts → unarchive-alt-icon.d.ts} +0 -0
  414. /package/dist/components/foundations/icon/icons/{UndoIcon.d.ts → undo-icon.d.ts} +0 -0
  415. /package/dist/components/foundations/icon/icons/{UnlinkIcon.d.ts → unlink-icon.d.ts} +0 -0
  416. /package/dist/components/foundations/icon/icons/{UnlockIcon.d.ts → unlock-icon.d.ts} +0 -0
  417. /package/dist/components/foundations/icon/icons/{UntilNowAltIcon.d.ts → until-now-alt-icon.d.ts} +0 -0
  418. /package/dist/components/foundations/icon/icons/{UploadIcon.d.ts → upload-icon.d.ts} +0 -0
  419. /package/dist/components/foundations/icon/icons/{UsagesIcon.d.ts → usages-icon.d.ts} +0 -0
  420. /package/dist/components/foundations/icon/icons/{UsersIcon.d.ts → users-icon.d.ts} +0 -0
  421. /package/dist/components/foundations/icon/icons/{VariantsIcon.d.ts → variants-icon.d.ts} +0 -0
  422. /package/dist/components/foundations/icon/icons/{VisualIcon.d.ts → visual-icon.d.ts} +0 -0
  423. /package/dist/components/foundations/icon/icons/{VoucherIcon.d.ts → voucher-icon.d.ts} +0 -0
  424. /package/dist/components/foundations/icon/icons/{WaitIcon.d.ts → wait-icon.d.ts} +0 -0
  425. /package/dist/components/foundations/icon/icons/{WalkthroughsIcon.d.ts → walkthroughs-icon.d.ts} +0 -0
  426. /package/dist/components/foundations/icon/icons/{WarningFillIcon.d.ts → warning-fill-icon.d.ts} +0 -0
  427. /package/dist/components/foundations/icon/icons/{WebhookIcon.d.ts → webhook-icon.d.ts} +0 -0
  428. /package/dist/components/foundations/icon/icons/{WeblayerIcon.d.ts → weblayer-icon.d.ts} +0 -0
  429. /package/dist/components/foundations/icon/icons/{WrenchIcon.d.ts → wrench-icon.d.ts} +0 -0
  430. /package/dist/{setupTests.d.ts → setup-tests.d.ts} +0 -0
  431. /package/dist/utils/{Slot.d.ts → slot.d.ts} +0 -0
  432. /package/dist/utils/{SlotsContext.d.ts → slots-context.d.ts} +0 -0
@@ -1,45 +1,45 @@
1
1
  /**
2
2
  * Filters out style-related props from the given props object based on the provided style handlers.
3
3
  */
4
- export default function filterStyleProps<T extends Record<string, any>>(props: Record<string, any>, styleHandlers?: {
4
+ export default function filterStyleProps<T extends Record<string, unknown>>(props: Record<string, unknown>, styleHandlers?: {
5
5
  display: [string, (value: any) => string];
6
+ backgroundColor: [string, (value: any) => string];
7
+ borderEndEndRadius: [string, (value: any) => string];
8
+ borderEndStartRadius: [string, (value: any) => string];
9
+ borderRadius: [string, (value: any) => string];
10
+ borderStartEndRadius: [string, (value: any) => string];
11
+ borderStartStartRadius: [string, (value: any) => string];
12
+ alignSelf: [string, (value: any) => string];
6
13
  flex: [string, (value: any) => string];
14
+ flexBasis: [string, (value: any) => string];
7
15
  flexGrow: [string, (value: any) => string];
8
16
  flexShrink: [string, (value: any) => string];
9
- flexBasis: [string, (value: any) => string];
10
- order: [string, (value: any) => string];
11
- alignSelf: [string, (value: any) => string];
12
17
  justifySelf: [string, (value: any) => string];
18
+ order: [string, (value: any) => string];
13
19
  overflow: [string, (value: any) => string];
20
+ bottom: [string, (value: any) => string];
21
+ insetInlineEnd: [string, (value: any) => string];
22
+ insetInlineStart: [string, (value: any) => string];
23
+ position: [string, (value: any) => string];
24
+ top: [string, (value: any) => string];
25
+ height: [string, (value: any) => string];
26
+ maxHeight: [string, (value: any) => string];
27
+ maxWidth: [string, (value: any) => string];
28
+ minHeight: [string, (value: any) => string];
29
+ minWidth: [string, (value: any) => string];
30
+ width: [string, (value: any) => string];
14
31
  margin: [string, (value: any) => string];
15
- marginBlockStart: [string, (value: any) => string];
16
- marginBlockEnd: [string, (value: any) => string];
17
32
  marginBlock: [string, (value: any) => string];
18
- marginInlineStart: [string, (value: any) => string];
19
- marginInlineEnd: [string, (value: any) => string];
33
+ marginBlockEnd: [string, (value: any) => string];
34
+ marginBlockStart: [string, (value: any) => string];
20
35
  marginInline: [string, (value: any) => string];
36
+ marginInlineEnd: [string, (value: any) => string];
37
+ marginInlineStart: [string, (value: any) => string];
21
38
  padding: [string, (value: any) => string];
22
- paddingBlockStart: [string, (value: any) => string];
23
- paddingBlockEnd: [string, (value: any) => string];
24
39
  paddingBlock: [string, (value: any) => string];
25
- paddingInlineStart: [string, (value: any) => string];
26
- paddingInlineEnd: [string, (value: any) => string];
40
+ paddingBlockEnd: [string, (value: any) => string];
41
+ paddingBlockStart: [string, (value: any) => string];
27
42
  paddingInline: [string, (value: any) => string];
28
- width: [string, (value: any) => string];
29
- minWidth: [string, (value: any) => string];
30
- maxWidth: [string, (value: any) => string];
31
- height: [string, (value: any) => string];
32
- minHeight: [string, (value: any) => string];
33
- maxHeight: [string, (value: any) => string];
34
- backgroundColor: [string, (value: any) => string];
35
- borderRadius: [string, (value: any) => string];
36
- borderStartStartRadius: [string, (value: any) => string];
37
- borderStartEndRadius: [string, (value: any) => string];
38
- borderEndStartRadius: [string, (value: any) => string];
39
- borderEndEndRadius: [string, (value: any) => string];
40
- position: [string, (value: any) => string];
41
- top: [string, (value: any) => string];
42
- bottom: [string, (value: any) => string];
43
- insetInlineStart: [string, (value: any) => string];
44
- insetInlineEnd: [string, (value: any) => string];
43
+ paddingInlineEnd: [string, (value: any) => string];
44
+ paddingInlineStart: [string, (value: any) => string];
45
45
  }): T;
@@ -1,4 +1,4 @@
1
+ export { default as useElementWidth } from './use-element-width';
1
2
  export { default as useHover } from './use-hover';
2
3
  export { default as useStyleProps } from './use-style-props';
3
- export { default as useElementWidth } from './use-element-width';
4
4
  export * from './use-style-props';
@@ -17,5 +17,5 @@ export interface UseControlledProps<Value> {
17
17
  */
18
18
  state?: string;
19
19
  }
20
- declare const useControlledValue: <Value>(props: UseControlledProps<Value>) => [Value | undefined, (newValue: Value) => void];
20
+ declare const useControlledValue: <Value>(props: UseControlledProps<Value>) => [undefined | Value, (newValue: Value) => void];
21
21
  export default useControlledValue;
@@ -1,11 +1,11 @@
1
1
  import { MouseEventHandler } from 'react';
2
- export default function useHover<T = Element>({ onEnter, onLeave, }?: {
2
+ export default function useHover<T = Element>({ onEnter, onLeave, }?: undefined | {
3
3
  onEnter?: MouseEventHandler<T>;
4
4
  onLeave?: MouseEventHandler<T>;
5
- } | undefined): {
6
- hovered: boolean;
5
+ }): {
7
6
  handlers: {
8
7
  onMouseEnter: MouseEventHandler<T>;
9
8
  onMouseLeave: MouseEventHandler<T>;
10
9
  };
10
+ hovered: boolean;
11
11
  };
@@ -1,3 +1,3 @@
1
- export * from './styles.types';
2
- export type { Simplify } from './simplify';
3
1
  export type * from './polymorphic-prop.types';
2
+ export type { Simplify } from './simplify';
3
+ export type * from './styles.types';
@@ -1,12 +1,12 @@
1
- export type AsProp<RootComponent extends React.ElementType> = {
1
+ export interface AsProp<RootComponent extends React.ElementType> {
2
2
  as?: RootComponent;
3
- };
4
- export type VariantMapping<DefaultComponent extends React.ElementType = React.ElementType> = {
5
- default: DefaultComponent;
6
- };
7
- export type ResolveRoot<RootElement extends React.ElementType | undefined, Variant extends keyof VariantMap | undefined, VariantMap extends VariantMapping> = RootElement extends React.ElementType ? RootElement : Variant extends keyof VariantMap ? VariantMap[Variant] : VariantMap['default'];
8
- export type PolymorphicComponentPropsWithoutRef<RootComponent extends React.ElementType, Props = Record<string, never>> = React.PropsWithChildren<Props & AsProp<RootComponent>> & Omit<React.ComponentPropsWithoutRef<RootComponent>, keyof (AsProp<RootComponent> & Props)>;
3
+ }
4
+ export type PolymorphicComponentPropsWithoutRef<RootComponent extends React.ElementType, Props = Record<string, never>> = Omit<React.ComponentPropsWithoutRef<RootComponent>, keyof (AsProp<RootComponent> & Props)> & React.PropsWithChildren<AsProp<RootComponent> & Props>;
9
5
  export type PolymorphicComponentPropsWithRef<RootComponent extends React.ElementType, Props = Record<string, never>> = PolymorphicComponentPropsWithoutRef<RootComponent, Props> & {
10
6
  ref?: PolymorphicRef<RootComponent>;
11
7
  };
12
8
  export type PolymorphicRef<RootComponent extends React.ElementType> = React.ComponentPropsWithRef<RootComponent>['ref'];
9
+ export type ResolveRoot<RootElement extends React.ElementType | undefined, Variant extends keyof VariantMap | undefined, VariantMap extends VariantMapping> = RootElement extends React.ElementType ? RootElement : Variant extends keyof VariantMap ? VariantMap[Variant] : VariantMap['default'];
10
+ export interface VariantMapping<DefaultComponent extends React.ElementType = React.ElementType> {
11
+ default: DefaultComponent;
12
+ }
@@ -1,21 +1,21 @@
1
- type SlotNames = 'Description' | 'ActionsContainer';
2
- type Slots = {
3
- [key in SlotNames]?: React.ReactNode;
4
- };
5
- type SlotContextProps = {
1
+ interface SlotContextProps {
2
+ context?: Record<string, unknown>;
6
3
  registerSlot: (name: SlotNames, contents: React.ReactNode) => void;
7
4
  unregisterSlot: (name: SlotNames) => void;
8
- context?: Record<string, unknown>;
5
+ }
6
+ type SlotNames = 'ActionsContainer' | 'Description';
7
+ interface SlotProps {
8
+ children: ((context: SlotContextProps['context']) => React.ReactNode) | React.ReactNode;
9
+ name: SlotNames;
10
+ }
11
+ type Slots = {
12
+ [key in SlotNames]?: React.ReactNode;
9
13
  };
10
- type UseSlotsProps = {
14
+ interface UseSlotsProps {
11
15
  slotNames: SlotNames[];
12
- };
13
- type UseSlotsPropsReturn = {
14
- slots: Slots;
16
+ }
17
+ interface UseSlotsPropsReturn {
15
18
  contextValue: SlotContextProps;
16
- };
17
- type SlotProps = {
18
- name: SlotNames;
19
- children: React.ReactNode | ((context: SlotContextProps['context']) => React.ReactNode);
20
- };
21
- export type { SlotNames, Slots, SlotContextProps, UseSlotsProps, UseSlotsPropsReturn, SlotProps };
19
+ slots: Slots;
20
+ }
21
+ export type { SlotContextProps, SlotNames, SlotProps, Slots, UseSlotsProps, UseSlotsPropsReturn };
@@ -1,13 +1,65 @@
1
1
  import { CSSProperties } from 'react';
2
- export type CSSSpacingValue = 'space-0x' | 'space-1x' | 'space-2x' | 'space-3x' | 'space-4x' | 'space-5x' | 'space-6x' | 'space-7x' | 'space-8x' | 'space-9x' | 'space-10x';
3
- export type CSSColorValue = 'accent-100' | 'accent-150' | 'accent-200' | 'accent-250' | 'accent-300' | 'accent-350' | 'accent-400' | 'accent-450' | 'accent-500' | 'accent-550' | 'accent-600' | 'accent-650' | 'accent-700' | 'accent-750' | 'accent-800' | 'accent-850' | 'blue-50' | 'blue-100' | 'blue-200' | 'blue-300' | 'blue-400' | 'blue-500' | 'blue-600' | 'blue-700' | 'gold-50' | 'gold-100' | 'gold-200' | 'gold-300' | 'gold-400' | 'gold-500' | 'gold-600' | 'gold-700' | 'green-50' | 'green-100' | 'green-200' | 'green-300' | 'green-400' | 'green-500' | 'green-600' | 'green-700' | 'neutral-000' | 'neutral-100' | 'neutral-200' | 'neutral-300' | 'neutral-400' | 'neutral-500' | 'neutral-600' | 'neutral-700' | 'orange-50' | 'orange-100' | 'orange-200' | 'orange-300' | 'orange-400' | 'orange-500' | 'orange-600' | 'orange-700' | 'red-50' | 'red-100' | 'red-200' | 'red-300' | 'red-400' | 'red-500' | 'red-600' | 'red-700';
2
+ export interface BaseStyleProps extends CSSBackgroundProps, CSSBorderProps, CSSLayoutProps, CSSPositioningProps, CSSSizingProps, CSSSpacingProps {
3
+ }
4
+ export interface BoxStyleProps extends BaseStyleProps {
5
+ /**
6
+ * Display of the container.
7
+ * Use `Flex` component for flex related display.
8
+ */
9
+ display?: 'block' | 'inline' | 'inline-block' | 'none';
10
+ }
11
+ export interface CSSBackgroundProps {
12
+ /**
13
+ * The background color for the element.
14
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/background-color}
15
+ */
16
+ backgroundColor?: CSSColorValue;
17
+ }
18
+ export interface CSSBorderProps {
19
+ /**
20
+ * The border radius for the bottom end corner of the element, depending on the layout direction.
21
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-end-end-radius}
22
+ */
23
+ borderEndEndRadius?: CSSBorderValue;
24
+ /**
25
+ * The border radius for the bottom start corner of the element, depending on the layout direction.
26
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-end-start-radius}
27
+ */
28
+ borderEndStartRadius?: CSSBorderValue;
29
+ /**
30
+ * The border radius on all four sides of the element.
31
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius}
32
+ */
33
+ borderRadius?: CSSBorderValue;
34
+ /**
35
+ * The border radius for the top end corner of the element, depending on the layout direction.
36
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-start-end-radius}
37
+ */
38
+ borderStartEndRadius?: CSSBorderValue;
39
+ /**
40
+ * The border radius for the top start corner of the element, depending on the layout direction.
41
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-start-start-radius}
42
+ */
43
+ borderStartStartRadius?: CSSBorderValue;
44
+ }
4
45
  export type CSSBorderValue = 'radius-0x' | 'radius-1x' | 'radius-2x' | 'radius-full' | 'radius-non';
46
+ export type CSSColorValue = 'accent-100' | 'accent-150' | 'accent-200' | 'accent-250' | 'accent-300' | 'accent-350' | 'accent-400' | 'accent-450' | 'accent-500' | 'accent-550' | 'accent-600' | 'accent-650' | 'accent-700' | 'accent-750' | 'accent-800' | 'accent-850' | 'blue-50' | 'blue-100' | 'blue-200' | 'blue-300' | 'blue-400' | 'blue-500' | 'blue-600' | 'blue-700' | 'gold-50' | 'gold-100' | 'gold-200' | 'gold-300' | 'gold-400' | 'gold-500' | 'gold-600' | 'gold-700' | 'green-50' | 'green-100' | 'green-200' | 'green-300' | 'green-400' | 'green-500' | 'green-600' | 'green-700' | 'neutral-000' | 'neutral-100' | 'neutral-200' | 'neutral-300' | 'neutral-400' | 'neutral-500' | 'neutral-600' | 'neutral-700' | 'orange-50' | 'orange-100' | 'orange-200' | 'orange-300' | 'orange-400' | 'orange-500' | 'orange-600' | 'orange-700' | 'red-50' | 'red-100' | 'red-200' | 'red-300' | 'red-400' | 'red-500' | 'red-600' | 'red-700';
5
47
  export interface CSSLayoutProps {
48
+ /**
49
+ * Overrides the alignItems property of a flex or grid container.
50
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/align-self}
51
+ */
52
+ alignSelf?: CSSProperties['alignSelf'];
6
53
  /**
7
54
  * When used in a flex layout, specifies how the element will grow or shrink to fit the space available.
8
55
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/flex}
9
56
  */
10
57
  flex?: CSSProperties['flex'];
58
+ /**
59
+ * When used in a flex layout, specifies the initial main size of the element.
60
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis}
61
+ */
62
+ flexBasis?: CSSProperties['flexBasis'];
11
63
  /**
12
64
  * When used in a flex layout, specifies how the element will grow to fit the space available.
13
65
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow}
@@ -19,55 +71,86 @@ export interface CSSLayoutProps {
19
71
  */
20
72
  flexShrink?: CSSProperties['flexShrink'];
21
73
  /**
22
- * When used in a flex layout, specifies the initial main size of the element.
23
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis}
74
+ * Specifies how the element is justified inside a flex or grid container.
75
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self}
24
76
  */
25
- flexBasis?: CSSProperties['flexBasis'];
77
+ justifySelf?: CSSProperties['justifySelf'];
26
78
  /**
27
79
  * The layout order for the element within a flex or grid container.
28
80
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/order}
29
81
  */
30
82
  order?: CSSProperties['order'];
31
83
  /**
32
- * Overrides the alignItems property of a flex or grid container.
33
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/align-self}
84
+ * Species what to do when the element's content is too long to fit its size.
85
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/overflow}
34
86
  */
35
- alignSelf?: CSSProperties['alignSelf'];
87
+ overflow?: CSSProperties['overflow'];
88
+ }
89
+ export interface CSSPositioningProps {
36
90
  /**
37
- * Specifies how the element is justified inside a flex or grid container.
38
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self}
91
+ * The bottom position for the element.
92
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/bottom}
39
93
  */
40
- justifySelf?: CSSProperties['justifySelf'];
94
+ bottom?: CSSProperties['bottom'] | CSSSpacingValue;
41
95
  /**
42
- * Species what to do when the element's content is too long to fit its size.
43
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/overflow}
96
+ * The logical end position for the element, depending on layout direction.
97
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-end}
44
98
  */
45
- overflow?: CSSProperties['overflow'];
99
+ insetInlineEnd?: CSSProperties['insetInlineEnd'] | CSSSpacingValue;
100
+ /**
101
+ * The logical start position for the element, depending on layout direction.
102
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-start}
103
+ */
104
+ insetInlineStart?: CSSProperties['insetInlineStart'] | CSSSpacingValue;
105
+ /**
106
+ * Specifies how the element is positioned.
107
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/position}
108
+ */
109
+ position?: CSSProperties['position'];
110
+ /**
111
+ * The top position for the element.
112
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/top}
113
+ */
114
+ top?: CSSProperties['top'] | CSSSpacingValue;
46
115
  }
47
- export interface CSSSpacingProps {
116
+ export interface CSSSizingProps {
48
117
  /**
49
- * The margin for all four sides of the element.
50
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin}
118
+ * The height of the element.
119
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/height}
51
120
  */
52
- margin?: CSSSpacingValue;
121
+ height?: CSSProperties['height'];
53
122
  /**
54
- * The `margin-block-start` CSS property defines the logical block start margin of an element,
55
- * which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
56
- *
57
- * It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending
58
- * on the values defined for `writing-mode`, `direction`, and `text-orientation`.
59
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-start}
123
+ * The maximum height of the element.
124
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/max-height}
60
125
  */
61
- marginBlockStart?: CSSSpacingValue;
126
+ maxHeight?: CSSProperties['maxHeight'];
62
127
  /**
63
- * The `margin-block-end` CSS property defines the logical block end margin of an element,
64
- * which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
65
- *
66
- * It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending
67
- * on the values defined for `writing-mode`, `direction`, and `text-orientation`.
68
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-end}
128
+ * The maximum width of the element.
129
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/max-width}
69
130
  */
70
- marginBlockEnd?: CSSSpacingValue;
131
+ maxWidth?: CSSProperties['maxWidth'];
132
+ /**
133
+ * The minimum height of the element.
134
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/min-height}
135
+ */
136
+ minHeight?: CSSProperties['minHeight'];
137
+ /**
138
+ * The minimum width of the element.
139
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/min-width}
140
+ */
141
+ minWidth?: CSSProperties['minWidth'];
142
+ /**
143
+ * The width of the element.
144
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/width}
145
+ */
146
+ width?: CSSProperties['width'];
147
+ }
148
+ export interface CSSSpacingProps {
149
+ /**
150
+ * The margin for all four sides of the element.
151
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin}
152
+ */
153
+ margin?: CSSSpacingValue;
71
154
  /**
72
155
  * The `margin-block` CSS shorthand property defines the logical block start and end margins of an element,
73
156
  * which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
@@ -79,23 +162,23 @@ export interface CSSSpacingProps {
79
162
  */
80
163
  marginBlock?: CSSSpacingValue;
81
164
  /**
82
- * The `margin-inline-start` CSS property defines the logical inline start margin of an element,
165
+ * The `margin-block-end` CSS property defines the logical block end margin of an element,
83
166
  * which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
84
167
  *
85
168
  * It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending
86
169
  * on the values defined for `writing-mode`, `direction`, and `text-orientation`.
87
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-inline-start}
170
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-end}
88
171
  */
89
- marginInlineStart?: CSSSpacingValue;
172
+ marginBlockEnd?: CSSSpacingValue;
90
173
  /**
91
- * The `margin-inline-end` CSS property defines the logical inline end margin of an element,
174
+ * The `margin-block-start` CSS property defines the logical block start margin of an element,
92
175
  * which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
93
176
  *
94
- * In other words, it corresponds to the `margin-top`, `margin-right`, `margin-bottom` or `margin-left` property
95
- * depending on the values defined for writing-mode, direction, and text-orientation.
96
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-inline-end}
177
+ * It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending
178
+ * on the values defined for `writing-mode`, `direction`, and `text-orientation`.
179
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-start}
97
180
  */
98
- marginInlineEnd?: CSSSpacingValue;
181
+ marginBlockStart?: CSSSpacingValue;
99
182
  /**
100
183
  * The margin-inline CSS shorthand property defines both the logical inline start and end margins of an element,
101
184
  * which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
@@ -106,6 +189,24 @@ export interface CSSSpacingProps {
106
189
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-inline}
107
190
  */
108
191
  marginInline?: CSSSpacingValue;
192
+ /**
193
+ * The `margin-inline-end` CSS property defines the logical inline end margin of an element,
194
+ * which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
195
+ *
196
+ * In other words, it corresponds to the `margin-top`, `margin-right`, `margin-bottom` or `margin-left` property
197
+ * depending on the values defined for writing-mode, direction, and text-orientation.
198
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-inline-end}
199
+ */
200
+ marginInlineEnd?: CSSSpacingValue;
201
+ /**
202
+ * The `margin-inline-start` CSS property defines the logical inline start margin of an element,
203
+ * which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
204
+ *
205
+ * It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending
206
+ * on the values defined for `writing-mode`, `direction`, and `text-orientation`.
207
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/margin-inline-start}
208
+ */
209
+ marginInlineStart?: CSSSpacingValue;
109
210
  /**
110
211
  * The padding for all four sides of the element.
111
212
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding}
@@ -115,7 +216,7 @@ export interface CSSSpacingProps {
115
216
  *
116
217
  * @see {@link }
117
218
  */
118
- paddingBlockStart?: CSSSpacingValue;
219
+ paddingBlock?: CSSSpacingValue;
119
220
  /**
120
221
  *
121
222
  * @see {@link }
@@ -125,168 +226,67 @@ export interface CSSSpacingProps {
125
226
  *
126
227
  * @see {@link }
127
228
  */
128
- paddingBlock?: CSSSpacingValue;
129
- /**
130
- * The padding for the logical start side of the element, depending on layout direction.
131
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline-start}
132
- */
133
- paddingInlineStart?: CSSSpacingValue;
134
- /**
135
- * The padding for the logical end side of an element, depending on layout direction.
136
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline-end}
137
- */
138
- paddingInlineEnd?: CSSSpacingValue;
229
+ paddingBlockStart?: CSSSpacingValue;
139
230
  /**
140
231
  * The padding for both the logical inline start and end sides of the element.
141
232
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline}
142
233
  */
143
234
  paddingInline?: CSSSpacingValue;
144
- }
145
- export interface CSSSizingProps {
146
- /**
147
- * The width of the element.
148
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/width}
149
- */
150
- width?: CSSProperties['width'];
151
- /**
152
- * The minimum width of the element.
153
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/min-width}
154
- */
155
- minWidth?: CSSProperties['minWidth'];
156
- /**
157
- * The maximum width of the element.
158
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/max-width}
159
- */
160
- maxWidth?: CSSProperties['maxWidth'];
161
- /**
162
- * The height of the element.
163
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/height}
164
- */
165
- height?: CSSProperties['height'];
166
- /**
167
- * The minimum height of the element.
168
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/min-height}
169
- */
170
- minHeight?: CSSProperties['minHeight'];
171
- /**
172
- * The maximum height of the element.
173
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/max-height}
174
- */
175
- maxHeight?: CSSProperties['maxHeight'];
176
- }
177
- export interface CSSBackgroundProps {
178
- /**
179
- * The background color for the element.
180
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/background-color}
181
- */
182
- backgroundColor?: CSSColorValue;
183
- }
184
- export interface CSSBorderProps {
185
- /**
186
- * The border radius on all four sides of the element.
187
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius}
188
- */
189
- borderRadius?: CSSBorderValue;
190
- /**
191
- * The border radius for the top start corner of the element, depending on the layout direction.
192
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-start-start-radius}
193
- */
194
- borderStartStartRadius?: CSSBorderValue;
195
- /**
196
- * The border radius for the top end corner of the element, depending on the layout direction.
197
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-start-end-radius}
198
- */
199
- borderStartEndRadius?: CSSBorderValue;
200
235
  /**
201
- * The border radius for the bottom start corner of the element, depending on the layout direction.
202
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-end-start-radius}
203
- */
204
- borderEndStartRadius?: CSSBorderValue;
205
- /**
206
- * The border radius for the bottom end corner of the element, depending on the layout direction.
207
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/border-end-end-radius}
208
- */
209
- borderEndEndRadius?: CSSBorderValue;
210
- }
211
- export interface CSSPositioningProps {
212
- /**
213
- * Specifies how the element is positioned.
214
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/position}
215
- */
216
- position?: CSSProperties['position'];
217
- /**
218
- * The top position for the element.
219
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/top}
220
- */
221
- top?: CSSSpacingValue | CSSProperties['top'];
222
- /**
223
- * The bottom position for the element.
224
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/bottom}
225
- */
226
- bottom?: CSSSpacingValue | CSSProperties['bottom'];
227
- /**
228
- * The logical start position for the element, depending on layout direction.
229
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-start}
236
+ * The padding for the logical end side of an element, depending on layout direction.
237
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline-end}
230
238
  */
231
- insetInlineStart?: CSSSpacingValue | CSSProperties['insetInlineStart'];
239
+ paddingInlineEnd?: CSSSpacingValue;
232
240
  /**
233
- * The logical end position for the element, depending on layout direction.
234
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-end}
241
+ * The padding for the logical start side of the element, depending on layout direction.
242
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline-start}
235
243
  */
236
- insetInlineEnd?: CSSSpacingValue | CSSProperties['insetInlineEnd'];
237
- }
238
- export interface BaseStyleProps extends CSSLayoutProps, CSSSpacingProps, CSSSizingProps, CSSBackgroundProps, CSSBorderProps, CSSPositioningProps {
244
+ paddingInlineStart?: CSSSpacingValue;
239
245
  }
240
- export interface BoxStyleProps extends BaseStyleProps {
246
+ export type CSSSpacingValue = 'space-0x' | 'space-1x' | 'space-2x' | 'space-3x' | 'space-4x' | 'space-5x' | 'space-6x' | 'space-7x' | 'space-8x' | 'space-9x' | 'space-10x';
247
+ export interface FlexStyleProps extends BaseStyleProps {
241
248
  /**
242
- * Display of the container.
243
- * Use `Flex` component for flex related display.
249
+ * The distribution of space around child items along the cross axis.
250
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/align-content}
244
251
  */
245
- display?: 'none' | 'block' | 'inline' | 'inline-block';
246
- }
247
- export interface FlexStyleProps extends BaseStyleProps {
252
+ alignContent?: CSSProperties['alignContent'];
248
253
  /**
249
- * Flex display of the container.
254
+ * The alignment of children within their container.
255
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/align-items}
250
256
  */
251
- display?: 'none' | 'flex' | 'inline-flex';
257
+ alignItems?: CSSProperties['alignItems'];
252
258
  /**
253
- * Whether to wrap items onto multiple lines.
254
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap}
259
+ * The space to display between columns.
260
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/column-gap}
255
261
  */
256
- wrap?: CSSProperties['flexWrap'];
262
+ columnGap?: CSSSpacingValue;
257
263
  /**
258
264
  * The direction in which to layout children.
259
265
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction}
260
266
  */
261
267
  direction?: CSSProperties['flexDirection'];
262
268
  /**
263
- * The distribution of space around items along the main axis.
264
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content}
265
- */
266
- justifyContent?: CSSProperties['justifyContent'];
267
- /**
268
- * The alignment of children within their container.
269
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/align-items}
270
- */
271
- alignItems?: CSSProperties['alignItems'];
272
- /**
273
- * The distribution of space around child items along the cross axis.
274
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/align-content}
269
+ * Flex display of the container.
275
270
  */
276
- alignContent?: CSSProperties['alignContent'];
271
+ display?: 'flex' | 'inline-flex' | 'none';
277
272
  /**
278
273
  * The space to display between both rows and columns.
279
274
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/gap}
280
275
  */
281
276
  gap?: CSSSpacingValue;
282
277
  /**
283
- * The space to display between columns.
284
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/column-gap}
278
+ * The distribution of space around items along the main axis.
279
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content}
285
280
  */
286
- columnGap?: CSSSpacingValue;
281
+ justifyContent?: CSSProperties['justifyContent'];
287
282
  /**
288
283
  * The space to display between rows.
289
284
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/row-gap}
290
285
  */
291
286
  rowGap?: CSSSpacingValue;
287
+ /**
288
+ * Whether to wrap items onto multiple lines.
289
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap}
290
+ */
291
+ wrap?: CSSProperties['flexWrap'];
292
292
  }