origam 2.14.1 → 2.16.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 (1022) hide show
  1. package/CHANGELOG.md +233 -0
  2. package/dist/src/components/Alert/OrigamAlert.vue +14 -16
  3. package/dist/src/components/App/OrigamApp.vue +1 -0
  4. package/dist/src/components/App/OrigamAppBar.vue +6 -5
  5. package/dist/src/components/Audio/OrigamAudio.vue +7 -6
  6. package/dist/src/components/Avatar/OrigamAvatar.vue +6 -5
  7. package/dist/src/components/Avatar/OrigamAvatarGroup.vue +1 -0
  8. package/dist/src/components/Badge/OrigamBadge.vue +87 -58
  9. package/dist/src/components/Blockquote/OrigamBlockquote.vue +9 -8
  10. package/dist/src/components/BottomNav/OrigamBottomNav.vue +11 -8
  11. package/dist/src/components/Bracket/OrigamBracket.vue +13 -16
  12. package/dist/src/components/Bracket/OrigamBracketCompetitor.vue +6 -6
  13. package/dist/src/components/Bracket/OrigamBracketMatch.vue +29 -9
  14. package/dist/src/components/Bracket/OrigamBracketRound.vue +7 -6
  15. package/dist/src/components/Breadcrumb/OrigamBreadcrumb.vue +12 -8
  16. package/dist/src/components/Breadcrumb/OrigamBreadcrumbDivider.vue +1 -0
  17. package/dist/src/components/Breadcrumb/OrigamBreadcrumbItem.vue +1 -0
  18. package/dist/src/components/Btn/OrigamBtn.vue +8 -7
  19. package/dist/src/components/Btn/OrigamBtnGroup.vue +1 -0
  20. package/dist/src/components/Btn/OrigamBtnToggle.vue +1 -0
  21. package/dist/src/components/Calendar/OrigamCalendar.vue +26 -39
  22. package/dist/src/components/Card/OrigamCard.vue +5 -4
  23. package/dist/src/components/Card/OrigamCardHeader.vue +22 -5
  24. package/dist/src/components/Card/OrigamCardText.vue +28 -6
  25. package/dist/src/components/Carousel/OrigamCarousel.vue +1 -0
  26. package/dist/src/components/Carousel/OrigamCarouselItem.vue +1 -0
  27. package/dist/src/components/Chart/OrigamChart.vue +54 -2
  28. package/dist/src/components/Chart/OrigamChartBoxPlot.vue +4 -3
  29. package/dist/src/components/Chart/OrigamChartBullet.vue +10 -8
  30. package/dist/src/components/Chart/OrigamChartCandlestick.vue +11 -10
  31. package/dist/src/components/Chart/OrigamChartCartesian.vue +6 -5
  32. package/dist/src/components/Chart/OrigamChartGauge.vue +4 -3
  33. package/dist/src/components/Chart/OrigamChartHeatmap.vue +15 -4
  34. package/dist/src/components/Chart/OrigamChartHoneycomb.vue +4 -3
  35. package/dist/src/components/Chart/OrigamChartLegend.vue +2 -1
  36. package/dist/src/components/Chart/OrigamChartMap.vue +7 -6
  37. package/dist/src/components/Chart/OrigamChartPareto.vue +13 -13
  38. package/dist/src/components/Chart/OrigamChartPictorial.vue +20 -19
  39. package/dist/src/components/Chart/OrigamChartPolar.vue +5 -4
  40. package/dist/src/components/Chart/OrigamChartPolarBar.vue +4 -3
  41. package/dist/src/components/Chart/OrigamChartPyramid.vue +4 -3
  42. package/dist/src/components/Chart/OrigamChartRadar.vue +4 -3
  43. package/dist/src/components/Chart/OrigamChartSankey.vue +4 -3
  44. package/dist/src/components/Chart/OrigamChartSparkline.vue +4 -3
  45. package/dist/src/components/Chart/OrigamChartStreamgraph.vue +5 -4
  46. package/dist/src/components/Chart/OrigamChartSunburst.vue +4 -3
  47. package/dist/src/components/Chart/OrigamChartTooltip.vue +1 -0
  48. package/dist/src/components/Chart/OrigamChartTreemap.vue +5 -4
  49. package/dist/src/components/Chart/OrigamChartVariwide.vue +11 -11
  50. package/dist/src/components/Chart/OrigamChartWordCloud.vue +3 -2
  51. package/dist/src/components/Checkbox/OrigamCheckbox.vue +5 -5
  52. package/dist/src/components/Chip/OrigamChip.vue +19 -7
  53. package/dist/src/components/Chip/OrigamChipGroup.vue +10 -7
  54. package/dist/src/components/ClientOnly/OrigamClientOnly.vue +1 -0
  55. package/dist/src/components/Clipboard/OrigamClipboard.vue +6 -5
  56. package/dist/src/components/Code/OrigamCode.vue +6 -5
  57. package/dist/src/components/ColorPicker/OrigamColorPicker.vue +7 -6
  58. package/dist/src/components/ColorPicker/OrigamColorPickerCanvas.vue +2 -2
  59. package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +6 -5
  60. package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +5 -5
  61. package/dist/src/components/ContextualMenu/OrigamContextualMenu.vue +5 -5
  62. package/dist/src/components/Counter/OrigamCounter.vue +43 -2
  63. package/dist/src/components/DataList/OrigamDataList.vue +7 -6
  64. package/dist/src/components/DataList/OrigamDataText.vue +1 -0
  65. package/dist/src/components/DataList/OrigamDataTitle.vue +1 -0
  66. package/dist/src/components/DataTable/OrigamDataTable.vue +8 -10
  67. package/dist/src/components/DataTable/OrigamDataTableColumnCell.vue +1 -0
  68. package/dist/src/components/DataTable/OrigamDataTableFooter.vue +1 -0
  69. package/dist/src/components/DataTable/OrigamDataTableGroupHeaderRow.vue +1 -0
  70. package/dist/src/components/DataTable/OrigamDataTableHeaderCell.vue +1 -0
  71. package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +3 -2
  72. package/dist/src/components/DataTable/OrigamDataTableHeadersCellMobile.vue +5 -0
  73. package/dist/src/components/DataTable/OrigamDataTableRow.vue +4 -3
  74. package/dist/src/components/DataTable/OrigamDataTableRows.vue +4 -2
  75. package/dist/src/components/DatePicker/OrigamDatePicker.vue +7 -6
  76. package/dist/src/components/DatePicker/OrigamDatePickerHeader.vue +1 -0
  77. package/dist/src/components/DatePicker/OrigamDatePickerMonth.vue +1 -0
  78. package/dist/src/components/DatePicker/OrigamDatePickerMonths.vue +1 -0
  79. package/dist/src/components/DatePicker/OrigamDatePickerYears.vue +1 -0
  80. package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +6 -5
  81. package/dist/src/components/Dialog/OrigamDialog.vue +1 -0
  82. package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +2 -1
  83. package/dist/src/components/Drawer/OrigamDrawer.vue +1 -0
  84. package/dist/src/components/EmptyState/OrigamEmptyState.vue +9 -8
  85. package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +9 -8
  86. package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +3 -2
  87. package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +6 -5
  88. package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +13 -8
  89. package/dist/src/components/Field/OrigamField.vue +7 -7
  90. package/dist/src/components/FileField/OrigamFileField.vue +12 -12
  91. package/dist/src/components/FileField/OrigamFileFieldDragNDropItem.vue +5 -5
  92. package/dist/src/components/FileField/OrigamFileFieldListItem.vue +5 -5
  93. package/dist/src/components/Form/OrigamForm.vue +6 -6
  94. package/dist/src/components/Grid/OrigamGrid.vue +9 -8
  95. package/dist/src/components/Grid/OrigamGridItem.vue +3 -2
  96. package/dist/src/components/Grids/OrigamCol.vue +1 -0
  97. package/dist/src/components/Grids/OrigamContainer.vue +1 -0
  98. package/dist/src/components/Grids/OrigamRow.vue +1 -0
  99. package/dist/src/components/Grids/OrigamSpacer.vue +1 -0
  100. package/dist/src/components/Icon/OrigamClassIcon.vue +28 -3
  101. package/dist/src/components/Icon/OrigamComponentIcon.vue +29 -3
  102. package/dist/src/components/Icon/OrigamIcon.vue +1 -1
  103. package/dist/src/components/Icon/OrigamLigatureIcon.vue +28 -3
  104. package/dist/src/components/Icon/OrigamSvgIcon.vue +28 -3
  105. package/dist/src/components/Img/OrigamImg.vue +1 -0
  106. package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +6 -5
  107. package/dist/src/components/InlineEdit/OrigamInlineEdit.vue +6 -5
  108. package/dist/src/components/Input/OrigamInput.vue +25 -5
  109. package/dist/src/components/ItemGroup/OrigamItem.vue +5 -4
  110. package/dist/src/components/ItemGroup/OrigamItemGroup.vue +7 -3
  111. package/dist/src/components/Kbd/OrigamKbd.vue +9 -7
  112. package/dist/src/components/Label/OrigamLabel.vue +5 -5
  113. package/dist/src/components/Layout/OrigamLayout.vue +1 -0
  114. package/dist/src/components/Lazy/OrigamLazy.vue +1 -0
  115. package/dist/src/components/List/OrigamList.vue +10 -7
  116. package/dist/src/components/List/OrigamListChildren.vue +1 -0
  117. package/dist/src/components/List/OrigamListGroup.vue +8 -4
  118. package/dist/src/components/List/OrigamListGroupActivator.vue +1 -0
  119. package/dist/src/components/List/OrigamListItem.vue +6 -5
  120. package/dist/src/components/List/OrigamListSubheader.vue +6 -5
  121. package/dist/src/components/Loader/OrigamLoader.vue +1 -0
  122. package/dist/src/components/Main/OrigamMain.vue +1 -0
  123. package/dist/src/components/Masonry/OrigamMasonry.vue +9 -5
  124. package/dist/src/components/Media/OrigamMediaController.vue +0 -5
  125. package/dist/src/components/Media/OrigamMediaScrubber.vue +18 -14
  126. package/dist/src/components/Menu/OrigamMenu.vue +26 -12
  127. package/dist/src/components/Messages/OrigamMessages.vue +5 -5
  128. package/dist/src/components/NumberField/OrigamNumberField.vue +5 -5
  129. package/dist/src/components/NumberFormat/OrigamNumberFormat.vue +8 -7
  130. package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +5 -5
  131. package/dist/src/components/Overlay/OrigamOverlay.vue +1 -0
  132. package/dist/src/components/Pagination/OrigamPagination.vue +34 -6
  133. package/dist/src/components/Parallax/OrigamParallax.vue +36 -8
  134. package/dist/src/components/Parallax/OrigamParallaxElement.vue +5 -4
  135. package/dist/src/components/Parallax/OrigamParallaxLayer.vue +1 -0
  136. package/dist/src/components/PasswordField/OrigamPasswordField.vue +5 -5
  137. package/dist/src/components/Picker/OrigamPicker.vue +7 -6
  138. package/dist/src/components/Picker/OrigamPickerTitle.vue +6 -5
  139. package/dist/src/components/Progress/OrigamProgress.vue +1 -0
  140. package/dist/src/components/Progress/OrigamProgressCircular.vue +1 -0
  141. package/dist/src/components/Progress/OrigamProgressLinear.vue +1 -0
  142. package/dist/src/components/QrCode/OrigamQrCode.vue +1 -1
  143. package/dist/src/components/Radio/OrigamRadio.vue +6 -5
  144. package/dist/src/components/Radio/OrigamRadioBtn.vue +1 -0
  145. package/dist/src/components/Radio/OrigamRadioGroup.vue +16 -12
  146. package/dist/src/components/RatingField/OrigamRatingField.vue +6 -5
  147. package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +1 -0
  148. package/dist/src/components/Responsive/OrigamResponsive.vue +1 -0
  149. package/dist/src/components/Select/OrigamSelect.vue +6 -5
  150. package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +4 -2
  151. package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +17 -15
  152. package/dist/src/components/Sheet/OrigamSheet.vue +3 -2
  153. package/dist/src/components/Skeleton/OrigamSkeleton.vue +2 -1
  154. package/dist/src/components/Slide/OrigamSlideGroup.vue +2 -1
  155. package/dist/src/components/SliderField/OrigamSliderField.vue +6 -5
  156. package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +2 -4
  157. package/dist/src/components/Snackbar/OrigamSnackbar.vue +2 -0
  158. package/dist/src/components/Snackbar/OrigamSnackbarGroup.vue +11 -7
  159. package/dist/src/components/Snackbar/OrigamSnackbarItem.vue +18 -11
  160. package/dist/src/components/Stepper/OrigamStepper.vue +4 -3
  161. package/dist/src/components/Stepper/OrigamStepperItem.vue +10 -10
  162. package/dist/src/components/Switch/OrigamSwitch.vue +12 -54
  163. package/dist/src/components/SystemBar/OrigamSystemBar.vue +6 -5
  164. package/dist/src/components/Table/OrigamTable.vue +6 -5
  165. package/dist/src/components/Tabs/OrigamTab.vue +43 -15
  166. package/dist/src/components/Tabs/OrigamTabPanel.vue +1 -0
  167. package/dist/src/components/Tabs/OrigamTabPanels.vue +7 -3
  168. package/dist/src/components/Tabs/OrigamTabs.vue +10 -6
  169. package/dist/src/components/TextField/OrigamTextField.vue +5 -5
  170. package/dist/src/components/TextMask/OrigamTextMask.vue +8 -7
  171. package/dist/src/components/TextareaField/OrigamTextareaField.vue +8 -6
  172. package/dist/src/components/ThemeProvider/OrigamThemeProvider.vue +3 -2
  173. package/dist/src/components/Timeline/OrigamTimeline.vue +9 -6
  174. package/dist/src/components/Timeline/OrigamTimelineItem.vue +13 -11
  175. package/dist/src/components/Title/OrigamTitle.vue +6 -5
  176. package/dist/src/components/Toolbar/OrigamToolbar.vue +6 -5
  177. package/dist/src/components/Tooltip/OrigamTooltip.vue +6 -5
  178. package/dist/src/components/Transition/OrigamExpandX.vue +1 -0
  179. package/dist/src/components/Transition/OrigamExpandY.vue +1 -0
  180. package/dist/src/components/Transition/OrigamFade.vue +1 -0
  181. package/dist/src/components/Transition/OrigamReverseTranslatePicker.vue +1 -0
  182. package/dist/src/components/Transition/OrigamScaleRotate.vue +1 -0
  183. package/dist/src/components/Transition/OrigamSlideX.vue +1 -0
  184. package/dist/src/components/Transition/OrigamSlideY.vue +1 -0
  185. package/dist/src/components/Transition/OrigamSnack.vue +1 -0
  186. package/dist/src/components/Transition/OrigamTransition.vue +1 -0
  187. package/dist/src/components/Transition/OrigamTranslateBottom.vue +1 -0
  188. package/dist/src/components/Transition/OrigamTranslatePicker.vue +1 -0
  189. package/dist/src/components/Transition/OrigamTranslateScale.vue +1 -0
  190. package/dist/src/components/Transition/OrigamWindowXReverseTranslate.vue +1 -0
  191. package/dist/src/components/Transition/OrigamWindowXTranslate.vue +1 -0
  192. package/dist/src/components/Transition/OrigamWindowYReverseTranslate.vue +1 -0
  193. package/dist/src/components/Transition/OrigamWindowYTranslate.vue +1 -0
  194. package/dist/src/components/Treeview/OrigamTreeview.vue +8 -8
  195. package/dist/src/components/Treeview/OrigamTreeviewNode.vue +5 -4
  196. package/dist/src/components/Video/OrigamVideo.vue +10 -56
  197. package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +1 -0
  198. package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +1 -0
  199. package/dist/src/components/Watermark/OrigamWatermark.vue +1 -0
  200. package/dist/src/components/Window/OrigamWindow.vue +1 -0
  201. package/dist/src/components/Window/OrigamWindowItem.vue +1 -0
  202. package/dist/src/composables/Calendar/calendar.composable.cjs +11 -10
  203. package/dist/src/composables/Calendar/calendar.composable.d.ts +2 -26
  204. package/dist/src/composables/Calendar/calendar.composable.js +11 -10
  205. package/dist/src/composables/CommandPalette/command.composable.d.ts +2 -24
  206. package/dist/src/composables/Commons/border.composable.cjs +18 -0
  207. package/dist/src/composables/Commons/border.composable.d.ts +12 -8
  208. package/dist/src/composables/Commons/border.composable.js +16 -1
  209. package/dist/src/composables/Commons/defaults.composable.cjs +1 -0
  210. package/dist/src/composables/Commons/defaults.composable.d.ts +11 -0
  211. package/dist/src/composables/Commons/defaults.composable.js +1 -1
  212. package/dist/src/composables/Commons/loader.composable.cjs +2 -1
  213. package/dist/src/composables/Commons/loader.composable.d.ts +3 -24
  214. package/dist/src/composables/Commons/loader.composable.js +2 -1
  215. package/dist/src/composables/Commons/margin.composable.cjs +26 -12
  216. package/dist/src/composables/Commons/margin.composable.d.ts +37 -0
  217. package/dist/src/composables/Commons/margin.composable.js +22 -25
  218. package/dist/src/composables/Commons/nested.composable.cjs +3 -3
  219. package/dist/src/composables/Commons/nested.composable.d.ts +3 -2
  220. package/dist/src/composables/Commons/nested.composable.js +4 -4
  221. package/dist/src/composables/Commons/padding.composable.cjs +26 -12
  222. package/dist/src/composables/Commons/padding.composable.d.ts +26 -0
  223. package/dist/src/composables/Commons/padding.composable.js +22 -25
  224. package/dist/src/composables/Commons/props.composable.d.ts +45 -0
  225. package/dist/src/composables/Commons/rounded.composable.cjs +18 -23
  226. package/dist/src/composables/Commons/rounded.composable.d.ts +29 -11
  227. package/dist/src/composables/Commons/rounded.composable.js +27 -31
  228. package/dist/src/composables/Commons/stateEffect.composable.cjs +59 -1
  229. package/dist/src/composables/Commons/stateEffect.composable.d.ts +2 -6
  230. package/dist/src/composables/Commons/stateEffect.composable.js +71 -7
  231. package/dist/src/composables/Commons/theme-props-resolver.composable.cjs +82 -0
  232. package/dist/src/composables/Commons/theme-props-resolver.composable.d.ts +38 -0
  233. package/dist/src/composables/Commons/theme-props-resolver.composable.js +75 -0
  234. package/dist/src/composables/CssSupport/cssSupport.composable.d.ts +5 -43
  235. package/dist/src/composables/Mask/mask.composable.d.ts +3 -23
  236. package/dist/src/composables/Masonry/masonry.composable.d.ts +4 -58
  237. package/dist/src/composables/Parallax/parallax.composable.d.ts +2 -20
  238. package/dist/src/composables/PasswordField/passwordStrength.composable.cjs +3 -2
  239. package/dist/src/composables/PasswordField/passwordStrength.composable.js +6 -5
  240. package/dist/src/composables/Sheet/sheetSwipe.composable.cjs +4 -5
  241. package/dist/src/composables/Sheet/sheetSwipe.composable.d.ts +1 -1
  242. package/dist/src/composables/Sheet/sheetSwipe.composable.js +2 -3
  243. package/dist/src/composables/Snackbar/snackbar-group.composable.cjs +8 -3
  244. package/dist/src/composables/Snackbar/snackbar-group.composable.d.ts +3 -22
  245. package/dist/src/composables/Snackbar/snackbar-group.composable.js +8 -3
  246. package/dist/src/composables/Theme/theme.composable.d.ts +1 -1
  247. package/dist/src/composables/Transition/transition.composable.cjs +2 -2
  248. package/dist/src/composables/Transition/transition.composable.d.ts +3 -3
  249. package/dist/src/composables/Transition/transition.composable.js +2 -2
  250. package/dist/src/composables/index.cjs +12 -0
  251. package/dist/src/composables/index.d.ts +1 -0
  252. package/dist/src/composables/index.js +1 -0
  253. package/dist/src/consts/Blockquote/blockquote.const.cjs +3 -2
  254. package/dist/src/consts/Blockquote/blockquote.const.js +3 -14
  255. package/dist/src/consts/Bracket/bracket.const.cjs +3 -2
  256. package/dist/src/consts/Bracket/bracket.const.js +3 -11
  257. package/dist/src/consts/Chart/{world-geographic.const.cjs → chart-map.const.cjs} +75 -1
  258. package/dist/src/consts/Chart/{world-geographic.const.d.ts → chart-map.const.d.ts} +24 -0
  259. package/dist/src/consts/Chart/{world-geographic.const.js → chart-map.const.js} +74 -0
  260. package/dist/src/consts/ColorPicker/color-picker.const.cjs +7 -7
  261. package/dist/src/consts/ColorPicker/color-picker.const.js +1 -1
  262. package/dist/src/consts/Commons/border.const.cjs +8 -1
  263. package/dist/src/consts/Commons/border.const.d.ts +17 -0
  264. package/dist/src/consts/Commons/border.const.js +5 -1
  265. package/dist/src/consts/Commons/color.const.cjs +3 -2
  266. package/dist/src/consts/Commons/color.const.js +5 -19
  267. package/dist/src/consts/Commons/spacing.const.cjs +78 -0
  268. package/dist/src/consts/Commons/spacing.const.d.ts +102 -0
  269. package/dist/src/consts/Commons/spacing.const.js +56 -0
  270. package/dist/src/consts/DataTable/{select.const.cjs → data-table.const.cjs} +15 -2
  271. package/dist/src/consts/DataTable/data-table.const.d.ts +53 -0
  272. package/dist/src/consts/DataTable/{select.const.js → data-table.const.js} +7 -0
  273. package/dist/src/consts/EmptyState/empty-state.const.cjs +6 -6
  274. package/dist/src/consts/EmptyState/empty-state.const.js +7 -13
  275. package/dist/src/consts/Media/media.const.cjs +3 -2
  276. package/dist/src/consts/Media/media.const.d.ts +17 -0
  277. package/dist/src/consts/Media/media.const.js +1 -0
  278. package/dist/src/consts/PasswordField/password-field.const.cjs +18 -1
  279. package/dist/src/consts/PasswordField/password-field.const.d.ts +18 -0
  280. package/dist/src/consts/PasswordField/password-field.const.js +22 -0
  281. package/dist/src/consts/QrCode/qr-code.const.cjs +2 -1
  282. package/dist/src/consts/QrCode/qr-code.const.js +2 -1
  283. package/dist/src/consts/Sheet/{sheet-snap-points.const.cjs → sheet.const.cjs} +3 -2
  284. package/dist/src/consts/Sheet/{sheet-snap-points.const.d.ts → sheet.const.d.ts} +11 -0
  285. package/dist/src/consts/Sheet/{sheet-snap-points.const.js → sheet.const.js} +1 -0
  286. package/dist/src/consts/TextField/text-field.const.cjs +61 -2
  287. package/dist/src/consts/TextField/text-field.const.d.ts +20 -0
  288. package/dist/src/consts/TextField/text-field.const.js +60 -0
  289. package/dist/src/consts/index.cjs +36 -113
  290. package/dist/src/consts/index.d.ts +8 -15
  291. package/dist/src/consts/index.js +8 -15
  292. package/dist/src/enums/Audio/audio.enum.cjs +26 -0
  293. package/dist/src/enums/Audio/audio.enum.d.ts +56 -0
  294. package/dist/src/enums/Audio/audio.enum.js +15 -0
  295. package/dist/src/enums/Blockquote/{blockquote-variant.enum.cjs → blockquote.enum.cjs} +9 -1
  296. package/dist/src/enums/Blockquote/{blockquote-variant.enum.d.ts → blockquote.enum.d.ts} +7 -0
  297. package/dist/src/enums/Blockquote/{blockquote-variant.enum.js → blockquote.enum.js} +8 -0
  298. package/dist/src/enums/BottomNav/bottom-nav.enum.cjs +13 -0
  299. package/dist/src/enums/BottomNav/{bottom-nav-position.enum.d.ts → bottom-nav.enum.d.ts} +5 -0
  300. package/dist/src/enums/BottomNav/bottom-nav.enum.js +7 -0
  301. package/dist/src/enums/Bracket/bracket-round.enum.cjs +12 -0
  302. package/dist/src/enums/Bracket/bracket-round.enum.d.ts +10 -0
  303. package/dist/src/enums/Bracket/bracket-round.enum.js +6 -0
  304. package/dist/src/enums/Calendar/calendar.enum.cjs +24 -0
  305. package/dist/src/enums/Calendar/calendar.enum.d.ts +28 -0
  306. package/dist/src/enums/Calendar/calendar.enum.js +18 -0
  307. package/dist/src/enums/Chart/chart-honeycomb.enum.cjs +16 -0
  308. package/dist/src/enums/Chart/{chart-honeycomb-orientation.enum.d.ts → chart-honeycomb.enum.d.ts} +4 -0
  309. package/dist/src/enums/Chart/{chart-honeycomb-orientation.enum.js → chart-honeycomb.enum.js} +5 -0
  310. package/dist/src/enums/Chart/chart-sunburst.enum.cjs +12 -0
  311. package/dist/src/enums/Chart/chart-sunburst.enum.d.ts +12 -0
  312. package/dist/src/enums/Chart/chart-sunburst.enum.js +6 -0
  313. package/dist/src/enums/Chart/chart.enum.cjs +13 -2
  314. package/dist/src/enums/Chart/chart.enum.d.ts +35 -0
  315. package/dist/src/enums/Chart/chart.enum.js +11 -0
  316. package/dist/src/enums/Code/{code-lang.enum.cjs → code.enum.cjs} +7 -0
  317. package/dist/src/enums/Code/{code-lang.enum.d.ts → code.enum.d.ts} +14 -0
  318. package/dist/src/enums/Code/{code-lang.enum.js → code.enum.js} +1 -0
  319. package/dist/src/enums/Commons/align.enum.cjs +8 -2
  320. package/dist/src/enums/Commons/align.enum.d.ts +14 -0
  321. package/dist/src/enums/Commons/align.enum.js +6 -0
  322. package/dist/src/enums/Commons/border.enum.cjs +7 -2
  323. package/dist/src/enums/Commons/border.enum.d.ts +9 -0
  324. package/dist/src/enums/Commons/border.enum.js +5 -0
  325. package/dist/src/enums/Commons/color.enum.cjs +13 -0
  326. package/dist/src/enums/Commons/color.enum.d.ts +17 -0
  327. package/dist/src/enums/Commons/color.enum.js +7 -0
  328. package/dist/src/enums/Commons/controls.enum.cjs +12 -0
  329. package/dist/src/enums/Commons/controls.enum.d.ts +18 -0
  330. package/dist/src/enums/Commons/controls.enum.js +6 -0
  331. package/dist/src/enums/Commons/font-family.enum.cjs +12 -0
  332. package/dist/src/enums/Commons/font-family.enum.d.ts +10 -0
  333. package/dist/src/enums/Commons/font-family.enum.js +6 -0
  334. package/dist/src/enums/Commons/font-size.enum.cjs +18 -0
  335. package/dist/src/enums/Commons/font-size.enum.d.ts +21 -0
  336. package/dist/src/enums/Commons/font-size.enum.js +12 -0
  337. package/dist/src/enums/Commons/font-weight.enum.cjs +15 -0
  338. package/dist/src/enums/Commons/font-weight.enum.d.ts +12 -0
  339. package/dist/src/enums/Commons/font-weight.enum.js +9 -0
  340. package/dist/src/enums/Commons/intent.enum.cjs +17 -0
  341. package/dist/src/enums/Commons/intent.enum.d.ts +22 -0
  342. package/dist/src/enums/Commons/intent.enum.js +11 -0
  343. package/dist/src/enums/Commons/letter-spacing.enum.cjs +14 -0
  344. package/dist/src/enums/Commons/letter-spacing.enum.d.ts +12 -0
  345. package/dist/src/enums/Commons/letter-spacing.enum.js +8 -0
  346. package/dist/src/enums/Commons/line-height.enum.cjs +15 -0
  347. package/dist/src/enums/Commons/line-height.enum.d.ts +12 -0
  348. package/dist/src/enums/Commons/line-height.enum.js +9 -0
  349. package/dist/src/enums/Commons/loader.enum.cjs +12 -0
  350. package/dist/src/enums/Commons/loader.enum.d.ts +14 -0
  351. package/dist/src/enums/Commons/loader.enum.js +6 -0
  352. package/dist/src/enums/Commons/theme.enum.cjs +12 -0
  353. package/dist/src/enums/Commons/theme.enum.d.ts +19 -0
  354. package/dist/src/enums/Commons/theme.enum.js +6 -0
  355. package/dist/src/enums/DataList/data-list.enum.cjs +11 -0
  356. package/dist/src/enums/DataList/data-list.enum.d.ts +15 -0
  357. package/dist/src/enums/DataList/data-list.enum.js +5 -0
  358. package/dist/src/enums/FileField/file-field.enum.cjs +12 -0
  359. package/dist/src/enums/FileField/file-field.enum.d.ts +9 -0
  360. package/dist/src/enums/FileField/file-field.enum.js +6 -0
  361. package/dist/src/enums/Grid/grid.enum.cjs +13 -0
  362. package/dist/src/enums/Grid/grid.enum.d.ts +15 -0
  363. package/dist/src/enums/Grid/grid.enum.js +7 -0
  364. package/dist/src/enums/Kbd/kbd.enum.cjs +12 -0
  365. package/dist/src/enums/Kbd/kbd.enum.d.ts +10 -0
  366. package/dist/src/enums/Kbd/kbd.enum.js +6 -0
  367. package/dist/src/enums/Masonry/masonry.enum.cjs +11 -0
  368. package/dist/src/enums/Masonry/masonry.enum.d.ts +10 -0
  369. package/dist/src/enums/Masonry/masonry.enum.js +5 -0
  370. package/dist/src/enums/NumberFormat/number-format.enum.cjs +55 -0
  371. package/dist/src/enums/NumberFormat/number-format.enum.d.ts +78 -0
  372. package/dist/src/enums/NumberFormat/number-format.enum.js +49 -0
  373. package/dist/src/enums/Parallax/parallax.enum.cjs +13 -1
  374. package/dist/src/enums/Parallax/parallax.enum.d.ts +10 -0
  375. package/dist/src/enums/Parallax/parallax.enum.js +12 -0
  376. package/dist/src/enums/PasswordField/password-field.enum.cjs +13 -0
  377. package/dist/src/enums/PasswordField/password-field.enum.d.ts +12 -0
  378. package/dist/src/enums/PasswordField/password-field.enum.js +7 -0
  379. package/dist/src/enums/QrCode/qr-code.enum.cjs +13 -0
  380. package/dist/src/enums/QrCode/qr-code.enum.d.ts +11 -0
  381. package/dist/src/enums/QrCode/qr-code.enum.js +7 -0
  382. package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.cjs → RichToolbar/rich-toolbar.enum.cjs} +8 -2
  383. package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.d.ts → RichToolbar/rich-toolbar.enum.d.ts} +10 -0
  384. package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.js → RichToolbar/rich-toolbar.enum.js} +6 -0
  385. package/dist/src/enums/Sheet/sheet.enum.cjs +13 -0
  386. package/dist/src/enums/Sheet/sheet.enum.d.ts +14 -0
  387. package/dist/src/enums/Sheet/sheet.enum.js +7 -0
  388. package/dist/src/enums/Skeleton/skeleton.enum.cjs +14 -0
  389. package/dist/src/enums/Skeleton/skeleton.enum.d.ts +11 -0
  390. package/dist/src/enums/Skeleton/skeleton.enum.js +8 -0
  391. package/dist/src/enums/Snackbar/snackbar-group.enum.cjs +22 -0
  392. package/dist/src/enums/Snackbar/snackbar-group.enum.d.ts +22 -0
  393. package/dist/src/enums/Snackbar/snackbar-group.enum.js +16 -0
  394. package/dist/src/enums/Stepper/stepper.enum.cjs +13 -0
  395. package/dist/src/enums/Stepper/stepper.enum.d.ts +11 -0
  396. package/dist/src/enums/Stepper/stepper.enum.js +7 -0
  397. package/dist/src/enums/TextField/text-field.enum.cjs +30 -1
  398. package/dist/src/enums/TextField/text-field.enum.d.ts +48 -0
  399. package/dist/src/enums/TextField/text-field.enum.js +29 -0
  400. package/dist/src/enums/TextMask/text-mask.enum.cjs +13 -0
  401. package/dist/src/enums/TextMask/text-mask.enum.d.ts +11 -0
  402. package/dist/src/enums/TextMask/text-mask.enum.js +7 -0
  403. package/dist/src/enums/TextareaField/textarea-field.enum.cjs +16 -0
  404. package/dist/src/enums/{Textarea/textarea-output.enum.d.ts → TextareaField/textarea-field.enum.d.ts} +13 -0
  405. package/dist/src/enums/{Textarea/textarea-output.enum.js → TextareaField/textarea-field.enum.js} +5 -0
  406. package/dist/src/enums/Timeline/timeline.enum.cjs +12 -0
  407. package/dist/src/enums/Timeline/timeline.enum.d.ts +10 -0
  408. package/dist/src/enums/Timeline/timeline.enum.js +6 -0
  409. package/dist/src/enums/Treeview/treeview.enum.cjs +17 -0
  410. package/dist/src/enums/Treeview/treeview.enum.d.ts +18 -0
  411. package/dist/src/enums/Treeview/treeview.enum.js +11 -0
  412. package/dist/src/enums/Video/video.enum.cjs +13 -0
  413. package/dist/src/enums/Video/video.enum.d.ts +12 -0
  414. package/dist/src/enums/Video/video.enum.js +7 -0
  415. package/dist/src/enums/index.cjs +375 -199
  416. package/dist/src/enums/index.d.ts +52 -36
  417. package/dist/src/enums/index.js +52 -36
  418. package/dist/src/interfaces/Alert/alert.interface.d.ts +10 -1
  419. package/dist/src/interfaces/App/app-bar.interface.d.ts +8 -0
  420. package/dist/src/interfaces/App/app.interface.d.ts +4 -0
  421. package/dist/src/interfaces/Audio/audio-player.interface.d.ts +11 -0
  422. package/dist/src/interfaces/Avatar/avatar-group.interface.d.ts +15 -0
  423. package/dist/src/interfaces/Avatar/avatar.interface.d.ts +9 -0
  424. package/dist/src/interfaces/Badge/badge.interface.d.ts +23 -2
  425. package/dist/src/interfaces/BottomNav/bottom-nav.interface.d.ts +13 -0
  426. package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.d.ts +6 -1
  427. package/dist/src/interfaces/Bracket/bracket-match-component.interface.d.ts +22 -1
  428. package/dist/src/interfaces/Bracket/bracket-round-component.interface.d.ts +27 -0
  429. package/dist/src/interfaces/Bracket/bracket-surface.interface.d.ts +56 -0
  430. package/dist/src/interfaces/Bracket/bracket.interface.d.ts +31 -1
  431. package/dist/src/interfaces/Breadcrumb/breadcrumb-divider.interface.d.ts +4 -0
  432. package/dist/src/interfaces/Breadcrumb/breadcrumb-item.interface.d.ts +6 -1
  433. package/dist/src/interfaces/Breadcrumb/breadcrumb.interface.d.ts +22 -0
  434. package/dist/src/interfaces/Btn/btn-group.interface.d.ts +10 -0
  435. package/dist/src/interfaces/Btn/btn-toggle.interface.d.ts +15 -1
  436. package/dist/src/interfaces/Btn/btn.interface.d.ts +10 -1
  437. package/dist/src/interfaces/Calendar/calendar-drag.interface.d.ts +17 -0
  438. package/dist/src/interfaces/Calendar/calendar.interface.d.ts +25 -0
  439. package/dist/src/interfaces/Calendar/rrule.interface.d.ts +26 -0
  440. package/dist/src/interfaces/Card/card-header.interface.d.ts +13 -1
  441. package/dist/src/interfaces/Card/card-text.interface.d.ts +4 -0
  442. package/dist/src/interfaces/Card/card.interface.d.ts +17 -0
  443. package/dist/src/interfaces/Carousel/carousel-item.interface.d.ts +9 -0
  444. package/dist/src/interfaces/Carousel/carousel.interface.d.ts +42 -1
  445. package/dist/src/interfaces/Chart/chart-bullet.interface.d.ts +8 -2
  446. package/dist/src/interfaces/Chart/chart-gauge.interface.d.ts +13 -2
  447. package/dist/src/interfaces/Chart/chart-heatmap.interface.d.ts +9 -2
  448. package/dist/src/interfaces/Chart/chart-map.interface.d.ts +10 -3
  449. package/dist/src/interfaces/Chart/chart-pictorial.interface.d.ts +10 -2
  450. package/dist/src/interfaces/Chart/chart-radar.interface.d.ts +12 -1
  451. package/dist/src/interfaces/Chart/chart-range-selector.interface.d.ts +26 -0
  452. package/dist/src/interfaces/Chart/chart-sunburst.interface.d.ts +2 -8
  453. package/dist/src/interfaces/Chart/chart-treemap.interface.d.ts +13 -0
  454. package/dist/src/interfaces/Chart/chart-word-cloud.interface.d.ts +1 -1
  455. package/dist/src/interfaces/Chip/chip-group.interface.d.ts +8 -1
  456. package/dist/src/interfaces/Chip/chip.interface.d.ts +21 -1
  457. package/dist/src/interfaces/ClientOnly/client-only.interface.d.ts +6 -0
  458. package/dist/src/interfaces/Code/code.interface.d.ts +18 -0
  459. package/dist/src/interfaces/ColorPicker/color-picker.interface.d.ts +5 -1
  460. package/dist/src/interfaces/ColorPickerField/color-picker-field.interface.d.ts +9 -1
  461. package/dist/src/interfaces/CommandPalette/command-palette-rendered-group.interface.d.ts +11 -0
  462. package/dist/src/interfaces/CommandPalette/command.interface.d.ts +47 -0
  463. package/dist/src/interfaces/Commons/border.interface.d.ts +16 -0
  464. package/dist/src/interfaces/Commons/lazy.interface.d.ts +4 -0
  465. package/dist/src/interfaces/Commons/loader.interface.d.ts +28 -1
  466. package/dist/src/interfaces/Commons/margin.interface.d.ts +30 -0
  467. package/dist/src/interfaces/Commons/padding.interface.d.ts +29 -0
  468. package/dist/src/interfaces/Commons/rounded.interface.d.ts +24 -0
  469. package/dist/src/interfaces/Counter/counter.interface.d.ts +10 -0
  470. package/dist/src/interfaces/CssSupport/css-support.interface.d.ts +43 -0
  471. package/dist/src/interfaces/DataList/data-list.interface.d.ts +61 -15
  472. package/dist/src/interfaces/DataList/data-text.interface.d.ts +5 -1
  473. package/dist/src/interfaces/DataList/data-title.interface.d.ts +7 -1
  474. package/dist/src/interfaces/DataTable/column.interface.d.ts +6 -0
  475. package/dist/src/interfaces/DataTable/data-table.interface.d.ts +41 -4
  476. package/dist/src/interfaces/DataTable/footer.interface.d.ts +6 -1
  477. package/dist/src/interfaces/DataTable/group.interface.d.ts +25 -0
  478. package/dist/src/interfaces/DataTable/headers.interface.d.ts +62 -1
  479. package/dist/src/interfaces/DataTable/items.interface.d.ts +11 -5
  480. package/dist/src/interfaces/DataTable/row.interface.d.ts +31 -1
  481. package/dist/src/interfaces/DatePicker/date-picker-header.interface.d.ts +7 -1
  482. package/dist/src/interfaces/DatePicker/date-picker-month.interface.d.ts +14 -1
  483. package/dist/src/interfaces/DatePicker/date-picker-months.interface.d.ts +27 -0
  484. package/dist/src/interfaces/DatePicker/date-picker-years.interface.d.ts +32 -0
  485. package/dist/src/interfaces/DatePicker/date-picker.interface.d.ts +18 -1
  486. package/dist/src/interfaces/DatePickerField/date-picker-field.interface.d.ts +17 -1
  487. package/dist/src/interfaces/Dialog/dialog-confirmation.interface.d.ts +10 -2
  488. package/dist/src/interfaces/Dialog/dialog.interface.d.ts +27 -0
  489. package/dist/src/interfaces/Drawer/drawer.interface.d.ts +7 -1
  490. package/dist/src/interfaces/ExpensionPanel/expansion-panel-content.interface.d.ts +5 -0
  491. package/dist/src/interfaces/ExpensionPanel/expansion-panel-header.interface.d.ts +19 -0
  492. package/dist/src/interfaces/ExpensionPanel/expansion-panel.interface.d.ts +15 -1
  493. package/dist/src/interfaces/ExpensionPanel/expansion-panels.interface.d.ts +35 -1
  494. package/dist/src/interfaces/Form/form.interface.d.ts +9 -2
  495. package/dist/src/interfaces/Icon/icon.interface.d.ts +16 -1
  496. package/dist/src/interfaces/Img/img.interface.d.ts +6 -0
  497. package/dist/src/interfaces/InfiniteScroll/infinite-scroll.interface.d.ts +19 -1
  498. package/dist/src/interfaces/ItemGroup/item-group.interface.d.ts +21 -1
  499. package/dist/src/interfaces/Kbd/kbd.interface.d.ts +5 -0
  500. package/dist/src/interfaces/List/list-children.interface.d.ts +28 -0
  501. package/dist/src/interfaces/List/list-group.interface.d.ts +19 -0
  502. package/dist/src/interfaces/List/list-item.interface.d.ts +17 -1
  503. package/dist/src/interfaces/List/list-subheader.interface.d.ts +6 -0
  504. package/dist/src/interfaces/List/list.interface.d.ts +21 -1
  505. package/dist/src/interfaces/Mask/mask-options.interface.d.ts +23 -2
  506. package/dist/src/interfaces/Masonry/masonry.interface.d.ts +55 -0
  507. package/dist/src/interfaces/Media/media-config-menu-item.interface.d.ts +21 -0
  508. package/dist/src/interfaces/Media/media-controller.interface.d.ts +8 -0
  509. package/dist/src/interfaces/Media/media-scrubber.interface.d.ts +25 -3
  510. package/dist/src/interfaces/Menu/menu.interface.d.ts +20 -2
  511. package/dist/src/interfaces/Overlay/overlay.interface.d.ts +12 -0
  512. package/dist/src/interfaces/Pagination/pagination.interface.d.ts +32 -0
  513. package/dist/src/interfaces/Parallax/parallax-element.interface.d.ts +4 -0
  514. package/dist/src/interfaces/Parallax/parallax-layer.interface.d.ts +4 -0
  515. package/dist/src/interfaces/Parallax/parallax.interface.d.ts +29 -0
  516. package/dist/src/interfaces/Picker/picker-title.interface.d.ts +5 -0
  517. package/dist/src/interfaces/Picker/picker.interface.d.ts +7 -0
  518. package/dist/src/interfaces/Progress/progress-circular.interface.d.ts +6 -0
  519. package/dist/src/interfaces/Progress/progress-linear.interface.d.ts +7 -0
  520. package/dist/src/interfaces/Progress/progress.interface.d.ts +4 -0
  521. package/dist/src/interfaces/QrCode/qr-code.interface.d.ts +15 -1
  522. package/dist/src/interfaces/Radio/radio-btn.interface.d.ts +14 -0
  523. package/dist/src/interfaces/Radio/radio-group.interface.d.ts +28 -1
  524. package/dist/src/interfaces/Radio/radio.interface.d.ts +35 -1
  525. package/dist/src/interfaces/RatingField/rating-field-item.interface.d.ts +9 -0
  526. package/dist/src/interfaces/RatingField/rating-field.interface.d.ts +27 -1
  527. package/dist/src/interfaces/Responsive/responsive.interface.d.ts +5 -0
  528. package/dist/src/interfaces/Select/select.interface.d.ts +27 -1
  529. package/dist/src/interfaces/Sheet/sheet-emits.interface.d.ts +11 -1
  530. package/dist/src/interfaces/Slide/slide-group.interface.d.ts +9 -1
  531. package/dist/src/interfaces/SliderField/slider-field-track.interface.d.ts +16 -0
  532. package/dist/src/interfaces/SliderField/slider-field.interface.d.ts +27 -1
  533. package/dist/src/interfaces/Snackbar/snackbar-group.interface.d.ts +62 -2
  534. package/dist/src/interfaces/Snackbar/snackbar-item.interface.d.ts +14 -0
  535. package/dist/src/interfaces/Snackbar/snackbar.interface.d.ts +17 -1
  536. package/dist/src/interfaces/Stepper/stepper.interface.d.ts +13 -0
  537. package/dist/src/interfaces/Switch/switch.interface.d.ts +10 -1
  538. package/dist/src/interfaces/Table/table.interface.d.ts +8 -0
  539. package/dist/src/interfaces/Tabs/tab-panel.interface.d.ts +4 -0
  540. package/dist/src/interfaces/Tabs/tab-panels.interface.d.ts +13 -1
  541. package/dist/src/interfaces/Tabs/tab.interface.d.ts +33 -6
  542. package/dist/src/interfaces/Tabs/tabs.interface.d.ts +12 -1
  543. package/dist/src/interfaces/Theme/origam-theme.interface.d.ts +16 -1
  544. package/dist/src/interfaces/ThemeProvider/theme-provider.interface.d.ts +31 -0
  545. package/dist/src/interfaces/Timeline/timeline.interface.d.ts +16 -4
  546. package/dist/src/interfaces/Title/title.interface.d.ts +5 -0
  547. package/dist/src/interfaces/Toolbar/toolbar.interface.d.ts +15 -0
  548. package/dist/src/interfaces/Tooltip/tooltip.interface.d.ts +12 -0
  549. package/dist/src/interfaces/Transition/transition.interface.d.ts +6 -0
  550. package/dist/src/interfaces/Treeview/treeview.interface.d.ts +8 -0
  551. package/dist/src/interfaces/Video/video.interface.d.ts +2 -2
  552. package/dist/src/interfaces/VirtualScroll/virtual-scroll-item.interface.d.ts +11 -0
  553. package/dist/src/interfaces/VirtualScroll/virtual-scroll.interface.d.ts +39 -0
  554. package/dist/src/interfaces/Watermark/watermark.interface.d.ts +19 -0
  555. package/dist/src/interfaces/Window/window-item.interface.d.ts +4 -0
  556. package/dist/src/interfaces/Window/window.interface.d.ts +31 -1
  557. package/dist/src/interfaces/index.cjs +55 -0
  558. package/dist/src/interfaces/index.d.ts +5 -0
  559. package/dist/src/interfaces/index.js +5 -0
  560. package/dist/src/origam.cjs +2 -0
  561. package/dist/src/origam.js +14 -1
  562. package/dist/src/types/Audio/audio.type.d.ts +37 -0
  563. package/dist/src/types/Blockquote/blockquote.type.d.ts +43 -0
  564. package/dist/src/types/BottomNav/bottom-nav.type.d.ts +5 -0
  565. package/dist/src/types/Bracket/bracket-competitor.type.d.ts +2 -0
  566. package/dist/src/types/Bracket/bracket-match.type.d.ts +4 -0
  567. package/dist/src/types/Bracket/{bracket-round-side.type.d.ts → bracket-round.type.d.ts} +4 -1
  568. package/dist/src/types/Bracket/bracket.type.d.ts +104 -0
  569. package/dist/src/types/Calendar/calendar.type.d.ts +26 -0
  570. package/dist/src/types/Chart/chart-axis.type.d.ts +2 -0
  571. package/dist/src/types/Chart/chart-box-plot.type.d.ts +2 -0
  572. package/dist/src/types/Chart/chart-bullet.type.d.ts +2 -0
  573. package/dist/src/types/Chart/chart-candlestick.type.d.ts +2 -0
  574. package/dist/src/types/Chart/{chart-cartesian-kind.type.d.ts → chart-cartesian.type.d.ts} +4 -1
  575. package/dist/src/types/Chart/chart-gauge.type.d.ts +2 -0
  576. package/dist/src/types/Chart/chart-heatmap.type.d.ts +2 -0
  577. package/dist/src/types/Chart/chart-honeycomb.type.d.ts +5 -0
  578. package/dist/src/types/Chart/chart-legend.type.d.ts +12 -0
  579. package/dist/src/types/Chart/{chart-map-mode.type.d.ts → chart-map.type.d.ts} +3 -1
  580. package/dist/src/types/Chart/chart-pareto.type.d.ts +2 -0
  581. package/dist/src/types/Chart/chart-pictorial.type.d.ts +4 -0
  582. package/dist/src/types/Chart/chart-polar-bar.type.d.ts +2 -0
  583. package/dist/src/types/Chart/{chart-polar-kind.type.d.ts → chart-polar.type.d.ts} +4 -1
  584. package/dist/src/types/Chart/{chart-pyramid-kind.type.d.ts → chart-pyramid.type.d.ts} +2 -0
  585. package/dist/src/types/Chart/chart-radar.type.d.ts +2 -0
  586. package/dist/src/types/Chart/chart-range-selector.type.d.ts +2 -0
  587. package/dist/src/types/Chart/chart-sankey.type.d.ts +21 -0
  588. package/dist/src/types/Chart/{chart-sparkline-kind.type.d.ts → chart-sparkline.type.d.ts} +2 -0
  589. package/dist/src/types/Chart/chart-streamgraph.type.d.ts +4 -0
  590. package/dist/src/types/Chart/chart-sunburst.type.d.ts +10 -0
  591. package/dist/src/types/Chart/chart-tooltip.type.d.ts +2 -0
  592. package/dist/src/types/Chart/{chart-treemap-algorithm.type.d.ts → chart-treemap.type.d.ts} +4 -1
  593. package/dist/src/types/Chart/chart-variwide.type.d.ts +2 -0
  594. package/dist/src/types/Chart/chart-word-cloud.type.d.ts +21 -0
  595. package/dist/src/types/Chart/chart.type.d.ts +56 -0
  596. package/dist/src/types/ClientOnly/client-only.type.d.ts +2 -0
  597. package/dist/src/types/Clipboard/clipboard.type.d.ts +2 -0
  598. package/dist/src/types/Code/code.type.d.ts +24 -0
  599. package/dist/src/types/ColorPickerField/color-picker-field.type.d.ts +2 -0
  600. package/dist/src/types/CommandPalette/{command-palette-hotkey.type.d.ts → command-palette.type.d.ts} +2 -0
  601. package/dist/src/types/Commons/align.type.d.ts +6 -1
  602. package/dist/src/types/Commons/border.type.d.ts +11 -1
  603. package/dist/src/types/Commons/color.type.d.ts +2 -1
  604. package/dist/src/types/Commons/controls.type.d.ts +2 -0
  605. package/dist/src/types/Commons/css-support.type.d.ts +26 -0
  606. package/dist/src/types/Commons/font-family.type.d.ts +2 -1
  607. package/dist/src/types/Commons/font-size.type.d.ts +2 -1
  608. package/dist/src/types/Commons/font-weight.type.d.ts +2 -1
  609. package/dist/src/types/Commons/intent.type.d.ts +2 -1
  610. package/dist/src/types/Commons/letter-spacing.type.d.ts +2 -1
  611. package/dist/src/types/Commons/line-height.type.d.ts +2 -1
  612. package/dist/src/types/Commons/loader.type.d.ts +5 -4
  613. package/dist/src/types/Commons/rounded.type.d.ts +12 -0
  614. package/dist/src/types/Commons/state-effect.type.d.ts +30 -0
  615. package/dist/src/types/ConfirmWrapper/confirm-wrapper.type.d.ts +2 -0
  616. package/dist/src/types/DataList/data-list.type.d.ts +16 -0
  617. package/dist/src/types/DefaultsProvider/defaults-provider.type.d.ts +2 -0
  618. package/dist/src/types/EmptyState/empty-state.type.d.ts +46 -0
  619. package/dist/src/types/FileField/file-field-drag-n-drop-item.type.d.ts +2 -0
  620. package/dist/src/types/FileField/file-field-list-item.type.d.ts +2 -0
  621. package/dist/src/types/FileField/file-field.type.d.ts +2 -1
  622. package/dist/src/types/Grid/grid-item.type.d.ts +9 -0
  623. package/dist/src/types/Grid/grid.type.d.ts +50 -0
  624. package/dist/src/types/InlineEdit/inline-edit.type.d.ts +13 -0
  625. package/dist/src/types/ItemGroup/item-group.type.d.ts +2 -0
  626. package/dist/src/types/ItemGroup/item.type.d.ts +2 -0
  627. package/dist/src/types/Kbd/kbd.type.d.ts +2 -1
  628. package/dist/src/types/Masonry/{masonry-align.type.d.ts → masonry.type.d.ts} +4 -1
  629. package/dist/src/types/Media/index.cjs +30 -8
  630. package/dist/src/types/Media/index.d.ts +3 -1
  631. package/dist/src/types/Media/index.js +3 -1
  632. package/dist/src/types/Media/media-controller.type.d.ts +2 -0
  633. package/dist/src/types/Media/media-scrubber.type.d.ts +12 -0
  634. package/dist/src/types/Media/media-volume-control.type.cjs +1 -0
  635. package/dist/src/types/Media/media-volume-control.type.d.ts +2 -0
  636. package/dist/src/types/Media/media-volume-control.type.js +0 -0
  637. package/dist/src/types/Media/quality-option.type.d.ts +16 -5
  638. package/dist/src/types/NumberFormat/number-format.type.cjs +1 -0
  639. package/dist/src/types/NumberFormat/{number-format-format.type.d.ts → number-format.type.d.ts} +10 -7
  640. package/dist/src/types/NumberFormat/number-format.type.js +0 -0
  641. package/dist/src/types/Parallax/parallax-layer.type.cjs +1 -0
  642. package/dist/src/types/Parallax/parallax-layer.type.d.ts +2 -0
  643. package/dist/src/types/Parallax/parallax-layer.type.js +0 -0
  644. package/dist/src/types/Parallax/parallax.type.d.ts +3 -0
  645. package/dist/src/types/PasswordField/password-field.type.d.ts +16 -0
  646. package/dist/src/types/QrCode/qr-code.type.cjs +1 -0
  647. package/dist/src/types/QrCode/{qr-code-error-correction.type.d.ts → qr-code.type.d.ts} +4 -1
  648. package/dist/src/types/QrCode/qr-code.type.js +0 -0
  649. package/dist/src/types/RichToolbar/rich-toolbar.type.cjs +1 -0
  650. package/dist/src/types/RichToolbar/rich-toolbar.type.d.ts +5 -0
  651. package/dist/src/types/RichToolbar/rich-toolbar.type.js +0 -0
  652. package/dist/src/types/Section/section.type.cjs +1 -0
  653. package/dist/src/types/Section/section.type.d.ts +2 -0
  654. package/dist/src/types/Section/section.type.js +0 -0
  655. package/dist/src/types/Sheet/sheet.type.d.ts +23 -0
  656. package/dist/src/types/Skeleton/skeleton.type.d.ts +2 -1
  657. package/dist/src/types/SliderField/slider-field.type.d.ts +10 -0
  658. package/dist/src/types/Snackbar/snackbar-group.type.d.ts +21 -0
  659. package/dist/src/types/Snackbar/snackbar-item.type.cjs +1 -0
  660. package/dist/src/types/Snackbar/snackbar-item.type.d.ts +2 -0
  661. package/dist/src/types/Snackbar/snackbar-item.type.js +0 -0
  662. package/dist/src/types/Stepper/stepper.type.d.ts +9 -2
  663. package/dist/src/types/Tabs/tab.type.d.ts +2 -0
  664. package/dist/src/types/TextField/text-field.type.d.ts +41 -1
  665. package/dist/src/types/TextMask/text-mask.type.d.ts +17 -0
  666. package/dist/src/types/TextareaField/textarea-field.type.d.ts +3 -0
  667. package/dist/src/types/Theme/theme.type.d.ts +3 -2
  668. package/dist/src/types/ThemeProvider/theme-provider.type.cjs +1 -0
  669. package/dist/src/types/ThemeProvider/theme-provider.type.d.ts +2 -0
  670. package/dist/src/types/ThemeProvider/theme-provider.type.js +0 -0
  671. package/dist/src/types/Timeline/timeline.type.d.ts +9 -2
  672. package/dist/src/types/Transition/reverse-translate-picker.type.cjs +1 -0
  673. package/dist/src/types/Transition/reverse-translate-picker.type.d.ts +2 -0
  674. package/dist/src/types/Transition/reverse-translate-picker.type.js +0 -0
  675. package/dist/src/types/Transition/translate-picker.type.cjs +1 -0
  676. package/dist/src/types/Transition/translate-picker.type.d.ts +2 -0
  677. package/dist/src/types/Transition/translate-picker.type.js +0 -0
  678. package/dist/src/types/Treeview/treeview.type.d.ts +3 -2
  679. package/dist/src/types/Video/video.type.cjs +1 -0
  680. package/dist/src/types/Video/video.type.d.ts +36 -0
  681. package/dist/src/types/Video/video.type.js +0 -0
  682. package/dist/src/types/Watermark/watermark.type.cjs +1 -0
  683. package/dist/src/types/Watermark/watermark.type.d.ts +2 -0
  684. package/dist/src/types/Watermark/watermark.type.js +0 -0
  685. package/dist/src/types/index.cjs +369 -336
  686. package/dist/src/types/index.d.ts +64 -61
  687. package/dist/src/types/index.js +64 -61
  688. package/dist/src/types/tokens.type.d.ts +0 -2
  689. package/dist/src/utils/Bracket/bracket-surface.util.cjs +26 -0
  690. package/dist/src/utils/Bracket/bracket-surface.util.d.ts +3 -24
  691. package/dist/src/utils/Bracket/bracket-surface.util.js +16 -0
  692. package/dist/src/utils/Calendar/rrule.util.d.ts +2 -10
  693. package/dist/src/utils/Chart/path.util.d.ts +2 -2
  694. package/dist/src/utils/CommandPalette/fuzzy-match.util.d.ts +2 -10
  695. package/dist/src/utils/Commons/border.util.d.ts +14 -8
  696. package/dist/src/utils/Commons/color.util.cjs +2 -1
  697. package/dist/src/utils/Commons/color.util.js +2 -1
  698. package/dist/src/utils/Commons/nested.util.cjs +10 -9
  699. package/dist/src/utils/Commons/nested.util.js +10 -9
  700. package/dist/src/utils/Commons/spacing.util.cjs +34 -0
  701. package/dist/src/utils/Commons/spacing.util.d.ts +55 -0
  702. package/dist/src/utils/Commons/spacing.util.js +27 -0
  703. package/dist/src/utils/Mask/apply-mask.util.cjs +8 -7
  704. package/dist/src/utils/Mask/apply-mask.util.js +8 -7
  705. package/dist/src/utils/Parallax/parallax-element.util.cjs +4 -3
  706. package/dist/src/utils/Parallax/parallax-element.util.js +4 -3
  707. package/dist/src/utils/index.cjs +11 -0
  708. package/dist/src/utils/index.d.ts +1 -0
  709. package/dist/src/utils/index.js +1 -0
  710. package/package.json +5 -3
  711. package/dist/src/consts/Chart/country-centroids.const.cjs +0 -43
  712. package/dist/src/consts/Chart/country-centroids.const.d.ts +0 -10
  713. package/dist/src/consts/Chart/country-centroids.const.js +0 -37
  714. package/dist/src/consts/Chart/world-map.const.cjs +0 -43
  715. package/dist/src/consts/Chart/world-map.const.d.ts +0 -14
  716. package/dist/src/consts/Chart/world-map.const.js +0 -37
  717. package/dist/src/consts/DataTable/expand.const.cjs +0 -7
  718. package/dist/src/consts/DataTable/expand.const.d.ts +0 -9
  719. package/dist/src/consts/DataTable/expand.const.js +0 -1
  720. package/dist/src/consts/DataTable/group.const.cjs +0 -7
  721. package/dist/src/consts/DataTable/group.const.d.ts +0 -10
  722. package/dist/src/consts/DataTable/group.const.js +0 -1
  723. package/dist/src/consts/DataTable/headers.const.cjs +0 -15
  724. package/dist/src/consts/DataTable/headers.const.d.ts +0 -15
  725. package/dist/src/consts/DataTable/headers.const.js +0 -3
  726. package/dist/src/consts/DataTable/pagination.const.cjs +0 -7
  727. package/dist/src/consts/DataTable/pagination.const.d.ts +0 -13
  728. package/dist/src/consts/DataTable/pagination.const.js +0 -1
  729. package/dist/src/consts/DataTable/select.const.d.ts +0 -8
  730. package/dist/src/consts/DataTable/sort.const.cjs +0 -7
  731. package/dist/src/consts/DataTable/sort.const.d.ts +0 -7
  732. package/dist/src/consts/DataTable/sort.const.js +0 -1
  733. package/dist/src/consts/Mask/built-in-patterns.const.cjs +0 -66
  734. package/dist/src/consts/Mask/built-in-patterns.const.d.ts +0 -20
  735. package/dist/src/consts/Mask/built-in-patterns.const.js +0 -60
  736. package/dist/src/consts/PasswordField/password-requirements.const.cjs +0 -23
  737. package/dist/src/consts/PasswordField/password-requirements.const.d.ts +0 -18
  738. package/dist/src/consts/PasswordField/password-requirements.const.js +0 -22
  739. package/dist/src/consts/Sheet/sheet-swipe.const.cjs +0 -7
  740. package/dist/src/consts/Sheet/sheet-swipe.const.d.ts +0 -11
  741. package/dist/src/consts/Sheet/sheet-swipe.const.js +0 -1
  742. package/dist/src/enums/Audio/audio-loop-mode.enum.cjs +0 -12
  743. package/dist/src/enums/Audio/audio-loop-mode.enum.d.ts +0 -17
  744. package/dist/src/enums/Audio/audio-loop-mode.enum.js +0 -6
  745. package/dist/src/enums/Audio/audio-variant.enum.cjs +0 -13
  746. package/dist/src/enums/Audio/audio-variant.enum.d.ts +0 -26
  747. package/dist/src/enums/Audio/audio-variant.enum.js +0 -7
  748. package/dist/src/enums/Audio/cover-position.enum.cjs +0 -11
  749. package/dist/src/enums/Audio/cover-position.enum.d.ts +0 -9
  750. package/dist/src/enums/Audio/cover-position.enum.js +0 -5
  751. package/dist/src/enums/Blockquote/blockquote-lang.enum.cjs +0 -14
  752. package/dist/src/enums/Blockquote/blockquote-lang.enum.d.ts +0 -7
  753. package/dist/src/enums/Blockquote/blockquote-lang.enum.js +0 -8
  754. package/dist/src/enums/BottomNav/bottom-nav-position.enum.cjs +0 -12
  755. package/dist/src/enums/BottomNav/bottom-nav-position.enum.js +0 -6
  756. package/dist/src/enums/Chart/chart-bullet-orientation.enum.cjs +0 -11
  757. package/dist/src/enums/Chart/chart-bullet-orientation.enum.d.ts +0 -4
  758. package/dist/src/enums/Chart/chart-bullet-orientation.enum.js +0 -5
  759. package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.cjs +0 -11
  760. package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.d.ts +0 -4
  761. package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.js +0 -5
  762. package/dist/src/enums/Chart/chart-honeycomb-orientation.enum.cjs +0 -11
  763. package/dist/src/enums/Chart/chart-pictorial-direction.enum.cjs +0 -11
  764. package/dist/src/enums/Chart/chart-pictorial-direction.enum.d.ts +0 -4
  765. package/dist/src/enums/Chart/chart-pictorial-direction.enum.js +0 -5
  766. package/dist/src/enums/Chart/chart-stacking.enum.cjs +0 -11
  767. package/dist/src/enums/Chart/chart-stacking.enum.d.ts +0 -14
  768. package/dist/src/enums/Chart/chart-stacking.enum.js +0 -5
  769. package/dist/src/enums/Code/code-theme.enum.cjs +0 -12
  770. package/dist/src/enums/Code/code-theme.enum.d.ts +0 -12
  771. package/dist/src/enums/Code/code-theme.enum.js +0 -6
  772. package/dist/src/enums/Mask/mask.enum.cjs +0 -28
  773. package/dist/src/enums/Mask/mask.enum.d.ts +0 -36
  774. package/dist/src/enums/Mask/mask.enum.js +0 -22
  775. package/dist/src/enums/Parallax/parallax-direction.enum.cjs +0 -12
  776. package/dist/src/enums/Parallax/parallax-direction.enum.d.ts +0 -5
  777. package/dist/src/enums/Parallax/parallax-direction.enum.js +0 -6
  778. package/dist/src/enums/Parallax/parallax-easing.enum.cjs +0 -12
  779. package/dist/src/enums/Parallax/parallax-easing.enum.d.ts +0 -5
  780. package/dist/src/enums/Parallax/parallax-easing.enum.js +0 -6
  781. package/dist/src/enums/Textarea/textarea-mode.enum.cjs +0 -11
  782. package/dist/src/enums/Textarea/textarea-mode.enum.d.ts +0 -13
  783. package/dist/src/enums/Textarea/textarea-mode.enum.js +0 -5
  784. package/dist/src/enums/Textarea/textarea-output.enum.cjs +0 -11
  785. package/dist/src/enums/Textarea/textarea-toolbar-position.enum.cjs +0 -12
  786. package/dist/src/enums/Textarea/textarea-toolbar-position.enum.d.ts +0 -10
  787. package/dist/src/enums/Textarea/textarea-toolbar-position.enum.js +0 -6
  788. package/dist/src/types/Audio/audio-controls.type.d.ts +0 -12
  789. package/dist/src/types/Audio/audio-loop-mode.type.d.ts +0 -5
  790. package/dist/src/types/Audio/audio-variant.type.d.ts +0 -7
  791. package/dist/src/types/Audio/cover-position.type.d.ts +0 -6
  792. package/dist/src/types/Blockquote/blockquote-align.type.d.ts +0 -5
  793. package/dist/src/types/Blockquote/blockquote-lang.type.d.ts +0 -18
  794. package/dist/src/types/Blockquote/blockquote-variant.type.d.ts +0 -17
  795. package/dist/src/types/Bracket/bracket-direction.type.d.ts +0 -13
  796. package/dist/src/types/Bracket/bracket-match-status.type.d.ts +0 -2
  797. package/dist/src/types/Bracket/bracket-variant.type.d.ts +0 -2
  798. package/dist/src/types/Calendar/calendar-time-format.type.d.ts +0 -13
  799. package/dist/src/types/Calendar/calendar-view.type.d.ts +0 -10
  800. package/dist/src/types/Chart/chart-bullet-orientation.type.d.ts +0 -1
  801. package/dist/src/types/Chart/chart-honeycomb-color-mode.type.d.ts +0 -2
  802. package/dist/src/types/Chart/chart-honeycomb-orientation.type.d.ts +0 -2
  803. package/dist/src/types/Chart/chart-item.type.d.ts +0 -9
  804. package/dist/src/types/Chart/chart-legend-position.type.d.ts +0 -6
  805. package/dist/src/types/Chart/chart-pictorial-direction.type.d.ts +0 -1
  806. package/dist/src/types/Chart/chart-pictorial-mode.type.d.ts +0 -1
  807. package/dist/src/types/Chart/chart-smoothing.type.d.ts +0 -17
  808. package/dist/src/types/Chart/chart-stacking.type.d.ts +0 -9
  809. package/dist/src/types/Chart/chart-streamgraph-offset.type.d.ts +0 -1
  810. package/dist/src/types/Chart/chart-type.type.d.ts +0 -7
  811. package/dist/src/types/Chart/chart-word-cloud-rotation.type.d.ts +0 -8
  812. package/dist/src/types/Code/code-lang.type.d.ts +0 -2
  813. package/dist/src/types/Code/code-theme.type.d.ts +0 -2
  814. package/dist/src/types/EmptyState/empty-state-align.type.d.ts +0 -10
  815. package/dist/src/types/EmptyState/empty-state-preset.type.d.ts +0 -14
  816. package/dist/src/types/EmptyState/empty-state-size.type.d.ts +0 -9
  817. package/dist/src/types/Grid/grid-align.type.d.ts +0 -28
  818. package/dist/src/types/Grid/grid-flow.type.d.ts +0 -10
  819. package/dist/src/types/InlineEdit/inline-edit-input-type.type.d.ts +0 -7
  820. package/dist/src/types/Mask/built-in-pattern.type.d.ts +0 -7
  821. package/dist/src/types/Mask/mask.type.d.ts +0 -19
  822. package/dist/src/types/Mask/pattern-validator.type.d.ts +0 -16
  823. package/dist/src/types/Media/media-scrubber-orientation.type.d.ts +0 -6
  824. package/dist/src/types/Parallax/parallax-direction.type.d.ts +0 -2
  825. package/dist/src/types/Parallax/parallax-easing.type.d.ts +0 -2
  826. package/dist/src/types/PasswordField/password-strength.type.d.ts +0 -15
  827. package/dist/src/types/Sheet/sheet-snap-point.type.d.ts +0 -22
  828. package/dist/src/types/SliderField/slider-field-variant.type.d.ts +0 -10
  829. package/dist/src/types/Snackbar/snackbar-group-direction.type.d.ts +0 -11
  830. package/dist/src/types/Snackbar/snackbar-group-location.type.d.ts +0 -9
  831. package/dist/src/types/Tabs/tab-variant.type.d.ts +0 -2
  832. package/dist/src/types/TextMask/text-mask-animation.type.d.ts +0 -16
  833. package/dist/src/types/Textarea/textarea-mode.type.d.ts +0 -2
  834. package/dist/src/types/Textarea/textarea-output.type.d.ts +0 -2
  835. package/dist/src/types/Textarea/textarea-toolbar-command.type.d.ts +0 -2
  836. package/dist/src/types/Textarea/textarea-toolbar-position.type.d.ts +0 -2
  837. package/dist/src/types/Video/video-controls.type.d.ts +0 -17
  838. package/dist/src/types/Video/video-track-kind.type.d.ts +0 -11
  839. /package/dist/src/consts/Chart/{pictorial-icons.const.cjs → chart-pictorial.const.cjs} +0 -0
  840. /package/dist/src/consts/Chart/{pictorial-icons.const.d.ts → chart-pictorial.const.d.ts} +0 -0
  841. /package/dist/src/consts/Chart/{pictorial-icons.const.js → chart-pictorial.const.js} +0 -0
  842. /package/dist/src/consts/{Icon → Commons}/mdi.const.cjs +0 -0
  843. /package/dist/src/consts/{Icon → Commons}/mdi.const.d.ts +0 -0
  844. /package/dist/src/consts/{Icon → Commons}/mdi.const.js +0 -0
  845. /package/dist/src/consts/Parallax/{parallax-container.const.cjs → parallax.const.cjs} +0 -0
  846. /package/dist/src/consts/Parallax/{parallax-container.const.d.ts → parallax.const.d.ts} +0 -0
  847. /package/dist/src/consts/Parallax/{parallax-container.const.js → parallax.const.js} +0 -0
  848. /package/dist/src/consts/{Textarea/textarea.const.cjs → TextareaField/textarea-field.const.cjs} +0 -0
  849. /package/dist/src/consts/{Textarea/textarea.const.d.ts → TextareaField/textarea-field.const.d.ts} +0 -0
  850. /package/dist/src/consts/{Textarea/textarea.const.js → TextareaField/textarea-field.const.js} +0 -0
  851. /package/dist/src/enums/Bracket/{bracket-match-status.enum.cjs → bracket-match.enum.cjs} +0 -0
  852. /package/dist/src/enums/Bracket/{bracket-match-status.enum.d.ts → bracket-match.enum.d.ts} +0 -0
  853. /package/dist/src/enums/Bracket/{bracket-match-status.enum.js → bracket-match.enum.js} +0 -0
  854. /package/dist/src/enums/Bracket/{bracket-variant.enum.cjs → bracket.enum.cjs} +0 -0
  855. /package/dist/src/enums/Bracket/{bracket-variant.enum.d.ts → bracket.enum.d.ts} +0 -0
  856. /package/dist/src/enums/Bracket/{bracket-variant.enum.js → bracket.enum.js} +0 -0
  857. /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.cjs → chart-cartesian.enum.cjs} +0 -0
  858. /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.d.ts → chart-cartesian.enum.d.ts} +0 -0
  859. /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.js → chart-cartesian.enum.js} +0 -0
  860. /package/dist/src/enums/Chart/{chart-map-mode.enum.cjs → chart-map.enum.cjs} +0 -0
  861. /package/dist/src/enums/Chart/{chart-map-mode.enum.d.ts → chart-map.enum.d.ts} +0 -0
  862. /package/dist/src/enums/Chart/{chart-map-mode.enum.js → chart-map.enum.js} +0 -0
  863. /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.cjs → chart-pictorial.enum.cjs} +0 -0
  864. /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.d.ts → chart-pictorial.enum.d.ts} +0 -0
  865. /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.js → chart-pictorial.enum.js} +0 -0
  866. /package/dist/src/enums/Chart/{chart-polar-kind.enum.cjs → chart-polar.enum.cjs} +0 -0
  867. /package/dist/src/enums/Chart/{chart-polar-kind.enum.d.ts → chart-polar.enum.d.ts} +0 -0
  868. /package/dist/src/enums/Chart/{chart-polar-kind.enum.js → chart-polar.enum.js} +0 -0
  869. /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.cjs → chart-pyramid.enum.cjs} +0 -0
  870. /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.d.ts → chart-pyramid.enum.d.ts} +0 -0
  871. /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.js → chart-pyramid.enum.js} +0 -0
  872. /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.cjs → chart-sparkline.enum.cjs} +0 -0
  873. /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.d.ts → chart-sparkline.enum.d.ts} +0 -0
  874. /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.js → chart-sparkline.enum.js} +0 -0
  875. /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.cjs → chart-streamgraph.enum.cjs} +0 -0
  876. /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.d.ts → chart-streamgraph.enum.d.ts} +0 -0
  877. /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.js → chart-streamgraph.enum.js} +0 -0
  878. /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.cjs → chart-treemap.enum.cjs} +0 -0
  879. /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.d.ts → chart-treemap.enum.d.ts} +0 -0
  880. /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.js → chart-treemap.enum.js} +0 -0
  881. /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.cjs → chart-word-cloud.enum.cjs} +0 -0
  882. /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.d.ts → chart-word-cloud.enum.d.ts} +0 -0
  883. /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.js → chart-word-cloud.enum.js} +0 -0
  884. /package/dist/src/enums/{Icon → Commons}/mdi.enum.cjs +0 -0
  885. /package/dist/src/enums/{Icon → Commons}/mdi.enum.d.ts +0 -0
  886. /package/dist/src/enums/{Icon → Commons}/mdi.enum.js +0 -0
  887. /package/dist/src/enums/EmptyState/{empty-state-preset.enum.cjs → empty-state.enum.cjs} +0 -0
  888. /package/dist/src/enums/EmptyState/{empty-state-preset.enum.d.ts → empty-state.enum.d.ts} +0 -0
  889. /package/dist/src/enums/EmptyState/{empty-state-preset.enum.js → empty-state.enum.js} +0 -0
  890. /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.cjs → inline-edit.enum.cjs} +0 -0
  891. /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.d.ts → inline-edit.enum.d.ts} +0 -0
  892. /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.js → inline-edit.enum.js} +0 -0
  893. /package/dist/src/enums/SliderField/{slider-field-variant.enum.cjs → slider-field.enum.cjs} +0 -0
  894. /package/dist/src/enums/SliderField/{slider-field-variant.enum.d.ts → slider-field.enum.d.ts} +0 -0
  895. /package/dist/src/enums/SliderField/{slider-field-variant.enum.js → slider-field.enum.js} +0 -0
  896. /package/dist/src/enums/Tabs/{tab-variant.enum.cjs → tab.enum.cjs} +0 -0
  897. /package/dist/src/enums/Tabs/{tab-variant.enum.d.ts → tab.enum.d.ts} +0 -0
  898. /package/dist/src/enums/Tabs/{tab-variant.enum.js → tab.enum.js} +0 -0
  899. /package/dist/src/{types/Audio/audio-controls.type.cjs → interfaces/Bracket/bracket-surface.interface.cjs} +0 -0
  900. /package/dist/src/{types/Audio/audio-controls.type.js → interfaces/Bracket/bracket-surface.interface.js} +0 -0
  901. /package/dist/src/{types/Audio/audio-loop-mode.type.cjs → interfaces/Calendar/calendar-drag.interface.cjs} +0 -0
  902. /package/dist/src/{types/Audio/audio-loop-mode.type.js → interfaces/Calendar/calendar-drag.interface.js} +0 -0
  903. /package/dist/src/{types/Audio/audio-variant.type.cjs → interfaces/Calendar/rrule.interface.cjs} +0 -0
  904. /package/dist/src/{types/Audio/audio-variant.type.js → interfaces/Calendar/rrule.interface.js} +0 -0
  905. /package/dist/src/{types/Audio/cover-position.type.cjs → interfaces/ClientOnly/client-only.interface.cjs} +0 -0
  906. /package/dist/src/{types/Audio/cover-position.type.js → interfaces/ClientOnly/client-only.interface.js} +0 -0
  907. /package/dist/src/{types/Blockquote/blockquote-align.type.cjs → interfaces/CommandPalette/command-palette-rendered-group.interface.cjs} +0 -0
  908. /package/dist/src/{types/Blockquote/blockquote-align.type.js → interfaces/CommandPalette/command-palette-rendered-group.interface.js} +0 -0
  909. /package/dist/src/{types/Blockquote/blockquote-lang.type.cjs → interfaces/CssSupport/css-support.interface.cjs} +0 -0
  910. /package/dist/src/{types/Blockquote/blockquote-lang.type.js → interfaces/CssSupport/css-support.interface.js} +0 -0
  911. /package/dist/src/{types/Blockquote/blockquote-variant.type.cjs → interfaces/Media/media-config-menu-item.interface.cjs} +0 -0
  912. /package/dist/src/{types/Blockquote/blockquote-variant.type.js → interfaces/Media/media-config-menu-item.interface.js} +0 -0
  913. /package/dist/src/{types/Bracket/bracket-direction.type.cjs → interfaces/ThemeProvider/theme-provider.interface.cjs} +0 -0
  914. /package/dist/src/{types/Bracket/bracket-direction.type.js → interfaces/ThemeProvider/theme-provider.interface.js} +0 -0
  915. /package/dist/src/types/{Bracket/bracket-match-status.type.cjs → Audio/audio.type.cjs} +0 -0
  916. /package/dist/src/types/{Bracket/bracket-match-status.type.js → Audio/audio.type.js} +0 -0
  917. /package/dist/src/types/{Bracket/bracket-round-side.type.cjs → Blockquote/blockquote.type.cjs} +0 -0
  918. /package/dist/src/types/{Bracket/bracket-round-side.type.js → Blockquote/blockquote.type.js} +0 -0
  919. /package/dist/src/types/Bracket/{bracket-variant.type.cjs → bracket-competitor.type.cjs} +0 -0
  920. /package/dist/src/types/Bracket/{bracket-variant.type.js → bracket-competitor.type.js} +0 -0
  921. /package/dist/src/types/{Calendar/calendar-time-format.type.cjs → Bracket/bracket-match.type.cjs} +0 -0
  922. /package/dist/src/types/{Calendar/calendar-time-format.type.js → Bracket/bracket-match.type.js} +0 -0
  923. /package/dist/src/types/{Calendar/calendar-view.type.cjs → Bracket/bracket-round.type.cjs} +0 -0
  924. /package/dist/src/types/{Calendar/calendar-view.type.js → Bracket/bracket-round.type.js} +0 -0
  925. /package/dist/src/types/{Chart/chart-bullet-orientation.type.cjs → Bracket/bracket.type.cjs} +0 -0
  926. /package/dist/src/types/{Chart/chart-bullet-orientation.type.js → Bracket/bracket.type.js} +0 -0
  927. /package/dist/src/types/{Chart/chart-cartesian-kind.type.cjs → Calendar/calendar.type.cjs} +0 -0
  928. /package/dist/src/types/{Chart/chart-cartesian-kind.type.js → Calendar/calendar.type.js} +0 -0
  929. /package/dist/src/types/Chart/{chart-honeycomb-color-mode.type.cjs → chart-axis.type.cjs} +0 -0
  930. /package/dist/src/types/Chart/{chart-honeycomb-color-mode.type.js → chart-axis.type.js} +0 -0
  931. /package/dist/src/types/Chart/{chart-honeycomb-orientation.type.cjs → chart-box-plot.type.cjs} +0 -0
  932. /package/dist/src/types/Chart/{chart-honeycomb-orientation.type.js → chart-box-plot.type.js} +0 -0
  933. /package/dist/src/types/Chart/{chart-item.type.cjs → chart-bullet.type.cjs} +0 -0
  934. /package/dist/src/types/Chart/{chart-item.type.js → chart-bullet.type.js} +0 -0
  935. /package/dist/src/types/Chart/{chart-legend-position.type.cjs → chart-candlestick.type.cjs} +0 -0
  936. /package/dist/src/types/Chart/{chart-legend-position.type.js → chart-candlestick.type.js} +0 -0
  937. /package/dist/src/types/Chart/{chart-map-mode.type.cjs → chart-cartesian.type.cjs} +0 -0
  938. /package/dist/src/types/Chart/{chart-map-mode.type.js → chart-cartesian.type.js} +0 -0
  939. /package/dist/src/types/Chart/{chart-pictorial-direction.type.cjs → chart-gauge.type.cjs} +0 -0
  940. /package/dist/src/types/Chart/{chart-pictorial-direction.type.js → chart-gauge.type.js} +0 -0
  941. /package/dist/src/types/Chart/{chart-pictorial-mode.type.cjs → chart-heatmap.type.cjs} +0 -0
  942. /package/dist/src/types/Chart/{chart-pictorial-mode.type.js → chart-heatmap.type.js} +0 -0
  943. /package/dist/src/types/Chart/{chart-polar-kind.type.cjs → chart-honeycomb.type.cjs} +0 -0
  944. /package/dist/src/types/Chart/{chart-polar-kind.type.js → chart-honeycomb.type.js} +0 -0
  945. /package/dist/src/types/Chart/{chart-pyramid-kind.type.cjs → chart-legend.type.cjs} +0 -0
  946. /package/dist/src/types/Chart/{chart-pyramid-kind.type.js → chart-legend.type.js} +0 -0
  947. /package/dist/src/types/Chart/{chart-smoothing.type.cjs → chart-map.type.cjs} +0 -0
  948. /package/dist/src/types/Chart/{chart-smoothing.type.js → chart-map.type.js} +0 -0
  949. /package/dist/src/types/Chart/{chart-sparkline-kind.type.cjs → chart-pareto.type.cjs} +0 -0
  950. /package/dist/src/types/Chart/{chart-sparkline-kind.type.js → chart-pareto.type.js} +0 -0
  951. /package/dist/src/types/Chart/{chart-stacking.type.cjs → chart-pictorial.type.cjs} +0 -0
  952. /package/dist/src/types/Chart/{chart-stacking.type.js → chart-pictorial.type.js} +0 -0
  953. /package/dist/src/types/Chart/{chart-streamgraph-offset.type.cjs → chart-polar-bar.type.cjs} +0 -0
  954. /package/dist/src/types/Chart/{chart-streamgraph-offset.type.js → chart-polar-bar.type.js} +0 -0
  955. /package/dist/src/types/Chart/{chart-treemap-algorithm.type.cjs → chart-polar.type.cjs} +0 -0
  956. /package/dist/src/types/Chart/{chart-treemap-algorithm.type.js → chart-polar.type.js} +0 -0
  957. /package/dist/src/types/Chart/{chart-type.type.cjs → chart-pyramid.type.cjs} +0 -0
  958. /package/dist/src/types/Chart/{chart-type.type.js → chart-pyramid.type.js} +0 -0
  959. /package/dist/src/types/Chart/{chart-word-cloud-rotation.type.cjs → chart-radar.type.cjs} +0 -0
  960. /package/dist/src/types/Chart/{chart-word-cloud-rotation.type.js → chart-radar.type.js} +0 -0
  961. /package/dist/src/types/{Code/code-lang.type.cjs → Chart/chart-range-selector.type.cjs} +0 -0
  962. /package/dist/src/types/{Code/code-lang.type.js → Chart/chart-range-selector.type.js} +0 -0
  963. /package/dist/src/types/{Code/code-theme.type.cjs → Chart/chart-sankey.type.cjs} +0 -0
  964. /package/dist/src/types/{Code/code-theme.type.js → Chart/chart-sankey.type.js} +0 -0
  965. /package/dist/src/types/{CommandPalette/command-palette-hotkey.type.cjs → Chart/chart-sparkline.type.cjs} +0 -0
  966. /package/dist/src/types/{CommandPalette/command-palette-hotkey.type.js → Chart/chart-sparkline.type.js} +0 -0
  967. /package/dist/src/types/{EmptyState/empty-state-align.type.cjs → Chart/chart-streamgraph.type.cjs} +0 -0
  968. /package/dist/src/types/{EmptyState/empty-state-align.type.js → Chart/chart-streamgraph.type.js} +0 -0
  969. /package/dist/src/types/{EmptyState/empty-state-preset.type.cjs → Chart/chart-sunburst.type.cjs} +0 -0
  970. /package/dist/src/types/{EmptyState/empty-state-preset.type.js → Chart/chart-sunburst.type.js} +0 -0
  971. /package/dist/src/types/{EmptyState/empty-state-size.type.cjs → Chart/chart-tooltip.type.cjs} +0 -0
  972. /package/dist/src/types/{EmptyState/empty-state-size.type.js → Chart/chart-tooltip.type.js} +0 -0
  973. /package/dist/src/types/{Grid/grid-align.type.cjs → Chart/chart-treemap.type.cjs} +0 -0
  974. /package/dist/src/types/{Grid/grid-align.type.js → Chart/chart-treemap.type.js} +0 -0
  975. /package/dist/src/types/{Grid/grid-flow.type.cjs → Chart/chart-variwide.type.cjs} +0 -0
  976. /package/dist/src/types/{Grid/grid-flow.type.js → Chart/chart-variwide.type.js} +0 -0
  977. /package/dist/src/types/{InlineEdit/inline-edit-input-type.type.cjs → Chart/chart-word-cloud.type.cjs} +0 -0
  978. /package/dist/src/types/{InlineEdit/inline-edit-input-type.type.js → Chart/chart-word-cloud.type.js} +0 -0
  979. /package/dist/src/types/{Mask/built-in-pattern.type.cjs → Chart/chart.type.cjs} +0 -0
  980. /package/dist/src/types/{Mask/built-in-pattern.type.js → Chart/chart.type.js} +0 -0
  981. /package/dist/src/types/{Mask/mask.type.cjs → ClientOnly/client-only.type.cjs} +0 -0
  982. /package/dist/src/types/{Mask/mask.type.js → ClientOnly/client-only.type.js} +0 -0
  983. /package/dist/src/types/{Mask/pattern-validator.type.cjs → Clipboard/clipboard.type.cjs} +0 -0
  984. /package/dist/src/types/{Mask/pattern-validator.type.js → Clipboard/clipboard.type.js} +0 -0
  985. /package/dist/src/types/{Masonry/masonry-align.type.cjs → Code/code.type.cjs} +0 -0
  986. /package/dist/src/types/{Masonry/masonry-align.type.js → Code/code.type.js} +0 -0
  987. /package/dist/src/types/{Media/media-scrubber-orientation.type.cjs → ColorPickerField/color-picker-field.type.cjs} +0 -0
  988. /package/dist/src/types/{Media/media-scrubber-orientation.type.js → ColorPickerField/color-picker-field.type.js} +0 -0
  989. /package/dist/src/types/{NumberFormat/number-format-format.type.cjs → CommandPalette/command-palette.type.cjs} +0 -0
  990. /package/dist/src/types/{NumberFormat/number-format-format.type.js → CommandPalette/command-palette.type.js} +0 -0
  991. /package/dist/src/types/{Parallax/parallax-direction.type.cjs → Commons/controls.type.cjs} +0 -0
  992. /package/dist/src/types/{Parallax/parallax-direction.type.js → Commons/controls.type.js} +0 -0
  993. /package/dist/src/types/{Parallax/parallax-easing.type.cjs → Commons/css-support.type.cjs} +0 -0
  994. /package/dist/src/types/{Parallax/parallax-easing.type.js → Commons/css-support.type.js} +0 -0
  995. /package/dist/src/types/{PasswordField/password-strength.type.cjs → Commons/state-effect.type.cjs} +0 -0
  996. /package/dist/src/types/{PasswordField/password-strength.type.js → Commons/state-effect.type.js} +0 -0
  997. /package/dist/src/types/{QrCode/qr-code-error-correction.type.cjs → ConfirmWrapper/confirm-wrapper.type.cjs} +0 -0
  998. /package/dist/src/types/{QrCode/qr-code-error-correction.type.js → ConfirmWrapper/confirm-wrapper.type.js} +0 -0
  999. /package/dist/src/types/{Sheet/sheet-snap-point.type.cjs → DefaultsProvider/defaults-provider.type.cjs} +0 -0
  1000. /package/dist/src/types/{Sheet/sheet-snap-point.type.js → DefaultsProvider/defaults-provider.type.js} +0 -0
  1001. /package/dist/src/types/{SliderField/slider-field-variant.type.cjs → EmptyState/empty-state.type.cjs} +0 -0
  1002. /package/dist/src/types/{SliderField/slider-field-variant.type.js → EmptyState/empty-state.type.js} +0 -0
  1003. /package/dist/src/types/{Snackbar/snackbar-group-direction.type.cjs → FileField/file-field-drag-n-drop-item.type.cjs} +0 -0
  1004. /package/dist/src/types/{Snackbar/snackbar-group-direction.type.js → FileField/file-field-drag-n-drop-item.type.js} +0 -0
  1005. /package/dist/src/types/{Snackbar/snackbar-group-location.type.cjs → FileField/file-field-list-item.type.cjs} +0 -0
  1006. /package/dist/src/types/{Snackbar/snackbar-group-location.type.js → FileField/file-field-list-item.type.js} +0 -0
  1007. /package/dist/src/types/{Tabs/tab-variant.type.cjs → Grid/grid-item.type.cjs} +0 -0
  1008. /package/dist/src/types/{Tabs/tab-variant.type.js → Grid/grid-item.type.js} +0 -0
  1009. /package/dist/src/types/{TextMask/text-mask-animation.type.cjs → Grid/grid.type.cjs} +0 -0
  1010. /package/dist/src/types/{TextMask/text-mask-animation.type.js → Grid/grid.type.js} +0 -0
  1011. /package/dist/src/types/{Textarea/textarea-mode.type.cjs → InlineEdit/inline-edit.type.cjs} +0 -0
  1012. /package/dist/src/types/{Textarea/textarea-mode.type.js → InlineEdit/inline-edit.type.js} +0 -0
  1013. /package/dist/src/types/{Textarea/textarea-output.type.cjs → ItemGroup/item-group.type.cjs} +0 -0
  1014. /package/dist/src/types/{Textarea/textarea-output.type.js → ItemGroup/item-group.type.js} +0 -0
  1015. /package/dist/src/types/{Textarea/textarea-toolbar-command.type.cjs → ItemGroup/item.type.cjs} +0 -0
  1016. /package/dist/src/types/{Textarea/textarea-toolbar-command.type.js → ItemGroup/item.type.js} +0 -0
  1017. /package/dist/src/types/{Textarea/textarea-toolbar-position.type.cjs → Masonry/masonry.type.cjs} +0 -0
  1018. /package/dist/src/types/{Textarea/textarea-toolbar-position.type.js → Masonry/masonry.type.js} +0 -0
  1019. /package/dist/src/types/{Video/video-controls.type.cjs → Media/media-controller.type.cjs} +0 -0
  1020. /package/dist/src/types/{Video/video-controls.type.js → Media/media-controller.type.js} +0 -0
  1021. /package/dist/src/types/{Video/video-track-kind.type.cjs → Media/media-scrubber.type.cjs} +0 -0
  1022. /package/dist/src/types/{Video/video-track-kind.type.js → Media/media-scrubber.type.js} +0 -0
@@ -7,9 +7,8 @@ exports.useMargin = useMargin;
7
7
  var _vue = require("vue");
8
8
  var _consts = require("../../consts/index.cjs");
9
9
  var _utils = require("../../utils/index.cjs");
10
- const UTILITY_MARGIN_SCALE = /* @__PURE__ */new Set(["0", "1", "2", "3", "4", "5", "6", "8", "10", "12"]);
11
10
  function isUtilityMarginScale(value) {
12
- return typeof value === "string" && UTILITY_MARGIN_SCALE.has(value);
11
+ return typeof value === "string" && _consts.SPACING_SCALE_STEPS.includes(value);
13
12
  }
14
13
  function useMargin(props, name = (0, _utils.getCurrentInstanceName)()) {
15
14
  const marginClasses = (0, _vue.computed)(() => {
@@ -26,18 +25,33 @@ function useMargin(props, name = (0, _utils.getCurrentInstanceName)()) {
26
25
  const marginStyles = (0, _vue.computed)(() => {
27
26
  const margin = props.margin;
28
27
  const styles = [];
29
- if (isUtilityMarginScale(margin)) return styles;
30
- if (typeof margin === "string" && margin !== "") {
31
- const match = _consts.MARGIN_REGEX.exec(margin)?.groups;
32
- if (match) {
33
- Object.keys(match).forEach(key => {
34
- const values = String(match[key]).split(" ");
35
- styles.push(...(0, _utils.formatMarginStylesVar)(values));
36
- });
28
+ if (!isUtilityMarginScale(margin)) {
29
+ if (typeof margin === "string" && margin !== "") {
30
+ const match = _consts.MARGIN_REGEX.exec(margin)?.groups;
31
+ if (match) {
32
+ Object.keys(match).forEach(key => {
33
+ const values = String(match[key]).split(" ");
34
+ styles.push(...(0, _utils.formatMarginStylesVar)(values));
35
+ });
36
+ }
37
+ } else if (typeof margin === "number") {
38
+ styles.push(`margin: ${(0, _utils.convertToUnit)(margin)}`);
37
39
  }
38
- } else if (typeof margin === "number") {
39
- styles.push(`margin: ${(0, _utils.convertToUnit)(margin)}`);
40
40
  }
41
+ _consts.MARGIN_LOGICAL_AXIS_MAP.forEach(({
42
+ axis,
43
+ prop
44
+ }) => {
45
+ const resolved = (0, _utils.resolveSpacingValue)(props[prop]);
46
+ if (resolved) styles.push(`margin-${axis}: ${resolved}`);
47
+ });
48
+ _consts.MARGIN_POSITION_MAP.forEach(({
49
+ side,
50
+ prop
51
+ }) => {
52
+ const resolved = (0, _utils.resolveSpacingValue)(props[prop]);
53
+ if (resolved) styles.push(`margin-${side}: ${resolved}`);
54
+ });
41
55
  return styles;
42
56
  });
43
57
  return {
@@ -1,6 +1,43 @@
1
1
  import type { IMarginProps } from '../../interfaces';
2
2
  /*********************************************************
3
3
  * useMargin
4
+ *
5
+ * @description
6
+ * Precedence rule — SPECIFIC beats GLOBAL, always in this order, enforced
7
+ * purely by PUSH ORDER onto the `styles` array (later declarations win
8
+ * within the same inline `style` attribute — this holds even across
9
+ * logical vs physical property syntax for the same box edge). Mirrors
10
+ * `useBorder` / `usePadding` exactly:
11
+ *
12
+ * 1. global `margin` shorthand (1/2/4-value, logical properties)
13
+ * 2. logical-axis `marginBlock` / `marginInline`
14
+ * 3. physical per-side `marginTop` / `marginRight` / `marginBottom` /
15
+ * `marginLeft`
16
+ *
17
+ * So `marginBlock` beats `margin` for the top+bottom edges, and
18
+ * `marginTop` beats both `margin` and `marginBlock` for the top edge
19
+ * specifically.
20
+ *
21
+ * ⚠️ The 4-value `margin` shorthand distributes in the DS's
22
+ * **Haut/Gauche/Bas/Droite** order, NOT the CSS clockwise order — an
23
+ * intentional convention arbitrated in issue #216 (see
24
+ * `formatMarginStylesVar`). The per-side props exist precisely so a
25
+ * consumer never has to know that.
26
+ *
27
+ * NOTE ON THE UTILITY CLASSES — the scale steps
28
+ * (`SPACING_SCALE_STEPS`) are mirrored by global utility classes
29
+ * (`.origam--m-0` … `.origam--m-12`) that a STRING value opts into
30
+ * (`margin="4"` → `var(--origam-space---4)`); the NUMBER form keeps its
31
+ * legacy raw-pixel meaning (`margin={4}` → `4px`). Axis-specific
32
+ * utilities (`mx`, `my`, `mt`, …) do NOT exist in the manifest, so the
33
+ * directional props resolve through the INLINE-STYLE path below.
34
+ *
35
+ * (An earlier version of this comment claimed `marginTop` / `marginInline`
36
+ * "continue to fall through to the inline style path until Phase 1.5
37
+ * lands". That was false in a way worth naming: no such path existed —
38
+ * the props were parsed by nothing at all and emitted nothing. They now
39
+ * genuinely do fall through to the inline path, which is what rungs 2
40
+ * and 3 below implement.)
4
41
  ********************************************************/
5
42
  export declare function useMargin(props: IMarginProps, name?: string): {
6
43
  marginClasses: import("vue").ComputedRef<string[]>;
@@ -1,20 +1,8 @@
1
1
  import { computed } from "vue";
2
- import { MARGIN_REGEX } from "../../consts/index.js";
3
- import { convertToUnit, formatMarginStylesVar, getCurrentInstanceName } from "../../utils/index.js";
4
- const UTILITY_MARGIN_SCALE = /* @__PURE__ */ new Set([
5
- "0",
6
- "1",
7
- "2",
8
- "3",
9
- "4",
10
- "5",
11
- "6",
12
- "8",
13
- "10",
14
- "12"
15
- ]);
2
+ import { MARGIN_LOGICAL_AXIS_MAP, MARGIN_POSITION_MAP, MARGIN_REGEX, SPACING_SCALE_STEPS } from "../../consts/index.js";
3
+ import { convertToUnit, formatMarginStylesVar, getCurrentInstanceName, resolveSpacingValue } from "../../utils/index.js";
16
4
  function isUtilityMarginScale(value) {
17
- return typeof value === "string" && UTILITY_MARGIN_SCALE.has(value);
5
+ return typeof value === "string" && SPACING_SCALE_STEPS.includes(value);
18
6
  }
19
7
  export function useMargin(props, name = getCurrentInstanceName()) {
20
8
  const marginClasses = computed(() => {
@@ -31,18 +19,27 @@ export function useMargin(props, name = getCurrentInstanceName()) {
31
19
  const marginStyles = computed(() => {
32
20
  const margin = props.margin;
33
21
  const styles = [];
34
- if (isUtilityMarginScale(margin)) return styles;
35
- if (typeof margin === "string" && margin !== "") {
36
- const match = MARGIN_REGEX.exec(margin)?.groups;
37
- if (match) {
38
- Object.keys(match).forEach((key) => {
39
- const values = String(match[key]).split(" ");
40
- styles.push(...formatMarginStylesVar(values));
41
- });
22
+ if (!isUtilityMarginScale(margin)) {
23
+ if (typeof margin === "string" && margin !== "") {
24
+ const match = MARGIN_REGEX.exec(margin)?.groups;
25
+ if (match) {
26
+ Object.keys(match).forEach((key) => {
27
+ const values = String(match[key]).split(" ");
28
+ styles.push(...formatMarginStylesVar(values));
29
+ });
30
+ }
31
+ } else if (typeof margin === "number") {
32
+ styles.push(`margin: ${convertToUnit(margin)}`);
42
33
  }
43
- } else if (typeof margin === "number") {
44
- styles.push(`margin: ${convertToUnit(margin)}`);
45
34
  }
35
+ MARGIN_LOGICAL_AXIS_MAP.forEach(({ axis, prop }) => {
36
+ const resolved = resolveSpacingValue(props[prop]);
37
+ if (resolved) styles.push(`margin-${axis}: ${resolved}`);
38
+ });
39
+ MARGIN_POSITION_MAP.forEach(({ side, prop }) => {
40
+ const resolved = resolveSpacingValue(props[prop]);
41
+ if (resolved) styles.push(`margin-${side}: ${resolved}`);
42
+ });
46
43
  return styles;
47
44
  });
48
45
  return {
@@ -67,7 +67,7 @@ const useNested = props => {
67
67
  const arr = [];
68
68
  if (selected.value) {
69
69
  for (const [key, value] of selected.value.entries()) {
70
- if (value === "on") arr.push(key);
70
+ if (value === _enums.SELECTED.ON) arr.push(key);
71
71
  }
72
72
  }
73
73
  return arr;
@@ -181,8 +181,8 @@ function useNestedItem(id, isGroup) {
181
181
  parent.root.select(computedId.value, selected, e);
182
182
  }
183
183
  },
184
- isSelected: (0, _vue.computed)(() => Boolean(parent?.root?.selected.value.get((0, _vue.toRaw)(computedId.value)) === "on")),
185
- isIndeterminate: (0, _vue.computed)(() => Boolean(parent?.root?.selected.value.get(computedId.value) === "indeterminate")),
184
+ isSelected: (0, _vue.computed)(() => Boolean(parent?.root?.selected.value.get((0, _vue.toRaw)(computedId.value)) === _enums.SELECTED.ON)),
185
+ isIndeterminate: (0, _vue.computed)(() => Boolean(parent?.root?.selected.value.get(computedId.value) === _enums.SELECTED.INDETERMINATE)),
186
186
  isLeaf: (0, _vue.computed)(() => Boolean(!parent?.root?.children.value.get(computedId.value))),
187
187
  isGroupActivator: parent?.isGroupActivator
188
188
  };
@@ -1,10 +1,11 @@
1
+ import { SELECTED } from '../../enums';
1
2
  import type { INestedProps } from '../../interfaces';
2
3
  import { Ref } from 'vue';
3
4
  export declare const useNested: (props: INestedProps) => {
4
5
  children: Ref<Map<unknown, Array<unknown>>>;
5
6
  parents: Ref<Map<unknown, unknown>>;
6
7
  opened: Ref<Set<unknown>>;
7
- selected: Ref<Map<unknown, `${import("../../enums").SELECTED}`>>;
8
+ selected: Ref<Map<unknown, `${SELECTED}`>>;
8
9
  selectedValues: Ref<Array<unknown>>;
9
10
  register: (id: unknown, parentId: unknown, isGroup?: boolean) => void;
10
11
  unregister: (id: unknown) => void;
@@ -30,7 +31,7 @@ export declare function useNestedItem(id: Ref<unknown>, isGroup: boolean): {
30
31
  children: Ref<Map<unknown, Array<unknown>>>;
31
32
  parents: Ref<Map<unknown, unknown>>;
32
33
  opened: Ref<Set<unknown>>;
33
- selected: Ref<Map<unknown, `${import("../../enums").SELECTED}`>>;
34
+ selected: Ref<Map<unknown, `${SELECTED}`>>;
34
35
  selectedValues: Ref<Array<unknown>>;
35
36
  register: (id: unknown, parentId: unknown, isGroup?: boolean) => void;
36
37
  unregister: (id: unknown) => void;
@@ -6,7 +6,7 @@ import {
6
6
  ORIGAM_NESTED_KEY,
7
7
  SINGLE_OPEN_STRATEGY
8
8
  } from "../../consts/index.js";
9
- import { OPEN_STRATEGY, SELECT_STRATEGY } from "../../enums/index.js";
9
+ import { OPEN_STRATEGY, SELECTED, SELECT_STRATEGY } from "../../enums/index.js";
10
10
  import {
11
11
  classicSelectStrategy,
12
12
  getCurrentInstance,
@@ -79,7 +79,7 @@ export const useNested = (props) => {
79
79
  const arr = [];
80
80
  if (selected.value) {
81
81
  for (const [key, value] of selected.value.entries()) {
82
- if (value === "on") arr.push(key);
82
+ if (value === SELECTED.ON) arr.push(key);
83
83
  }
84
84
  }
85
85
  return arr;
@@ -182,8 +182,8 @@ export function useNestedItem(id, isGroup) {
182
182
  parent.root.select(computedId.value, selected, e);
183
183
  }
184
184
  },
185
- isSelected: computed(() => Boolean(parent?.root?.selected.value.get(toRaw(computedId.value)) === "on")),
186
- isIndeterminate: computed(() => Boolean(parent?.root?.selected.value.get(computedId.value) === "indeterminate")),
185
+ isSelected: computed(() => Boolean(parent?.root?.selected.value.get(toRaw(computedId.value)) === SELECTED.ON)),
186
+ isIndeterminate: computed(() => Boolean(parent?.root?.selected.value.get(computedId.value) === SELECTED.INDETERMINATE)),
187
187
  isLeaf: computed(() => Boolean(!parent?.root?.children.value.get(computedId.value))),
188
188
  isGroupActivator: parent?.isGroupActivator
189
189
  };
@@ -7,9 +7,8 @@ exports.usePadding = usePadding;
7
7
  var _vue = require("vue");
8
8
  var _consts = require("../../consts/index.cjs");
9
9
  var _utils = require("../../utils/index.cjs");
10
- const UTILITY_PADDING_SCALE = /* @__PURE__ */new Set(["0", "1", "2", "3", "4", "5", "6", "8", "10", "12"]);
11
10
  function isUtilityPaddingScale(value) {
12
- return typeof value === "string" && UTILITY_PADDING_SCALE.has(value);
11
+ return typeof value === "string" && _consts.SPACING_SCALE_STEPS.includes(value);
13
12
  }
14
13
  function usePadding(props, name = (0, _utils.getCurrentInstanceName)()) {
15
14
  const paddingClasses = (0, _vue.computed)(() => {
@@ -26,18 +25,33 @@ function usePadding(props, name = (0, _utils.getCurrentInstanceName)()) {
26
25
  const paddingStyles = (0, _vue.computed)(() => {
27
26
  const padding = props.padding;
28
27
  const styles = [];
29
- if (isUtilityPaddingScale(padding)) return styles;
30
- if (typeof padding === "string" && padding !== "") {
31
- const match = _consts.PADDING_REGEX.exec(padding)?.groups;
32
- if (match) {
33
- Object.keys(match).forEach(key => {
34
- const values = String(match[key]).split(" ");
35
- styles.push(...(0, _utils.formatPaddingStylesVar)(values));
36
- });
28
+ if (!isUtilityPaddingScale(padding)) {
29
+ if (typeof padding === "string" && padding !== "") {
30
+ const match = _consts.PADDING_REGEX.exec(padding)?.groups;
31
+ if (match) {
32
+ Object.keys(match).forEach(key => {
33
+ const values = String(match[key]).split(" ");
34
+ styles.push(...(0, _utils.formatPaddingStylesVar)(values));
35
+ });
36
+ }
37
+ } else if (typeof padding === "number") {
38
+ styles.push(`padding: ${(0, _utils.convertToUnit)(padding)}`);
37
39
  }
38
- } else if (typeof padding === "number") {
39
- styles.push(`padding: ${(0, _utils.convertToUnit)(padding)}`);
40
40
  }
41
+ _consts.PADDING_LOGICAL_AXIS_MAP.forEach(({
42
+ axis,
43
+ prop
44
+ }) => {
45
+ const resolved = (0, _utils.resolveSpacingValue)(props[prop]);
46
+ if (resolved) styles.push(`padding-${axis}: ${resolved}`);
47
+ });
48
+ _consts.PADDING_POSITION_MAP.forEach(({
49
+ side,
50
+ prop
51
+ }) => {
52
+ const resolved = (0, _utils.resolveSpacingValue)(props[prop]);
53
+ if (resolved) styles.push(`padding-${side}: ${resolved}`);
54
+ });
41
55
  return styles;
42
56
  });
43
57
  return {
@@ -1,6 +1,32 @@
1
1
  import type { IPaddingProps } from '../../interfaces';
2
2
  /*********************************************************
3
3
  * usePadding
4
+ *
5
+ * @description
6
+ * Precedence rule — SPECIFIC beats GLOBAL, always in this order, enforced
7
+ * purely by PUSH ORDER onto the `styles` array (later declarations win
8
+ * within the same inline `style` attribute — this holds even across
9
+ * logical vs physical property syntax for the same box edge). Mirrors
10
+ * `useBorder`'s table exactly, so the three spacing-ish surfaces
11
+ * (border / padding / margin) share ONE grammar:
12
+ *
13
+ * 1. global `padding` shorthand (1/2/4-value, logical properties)
14
+ * 2. logical-axis `paddingBlock` / `paddingInline`
15
+ * 3. physical per-side `paddingTop` / `paddingRight` / `paddingBottom` /
16
+ * `paddingLeft`
17
+ *
18
+ * So `paddingBlock` beats `padding` for the top+bottom edges, and
19
+ * `paddingTop` beats both `padding` and `paddingBlock` for the top edge
20
+ * specifically — each rung only overrides the edge(s) it actually
21
+ * targets, everything else keeps cascading from the rung below.
22
+ *
23
+ * ⚠️ The 4-value `padding` shorthand distributes in the DS's
24
+ * **Haut/Gauche/Bas/Droite** order, NOT the CSS clockwise order — an
25
+ * intentional convention arbitrated in issue #216 (see
26
+ * `formatPaddingStylesVar`). The per-side props exist precisely so a
27
+ * consumer never has to know that: `paddingLeft="8px"` is unambiguous.
28
+ *
29
+ * Accepted per-side value forms are documented on `resolveSpacingValue`.
4
30
  ********************************************************/
5
31
  export declare function usePadding(props: IPaddingProps, name?: string): {
6
32
  paddingClasses: import("vue").ComputedRef<string[]>;
@@ -1,20 +1,8 @@
1
1
  import { computed } from "vue";
2
- import { PADDING_REGEX } from "../../consts/index.js";
3
- import { convertToUnit, formatPaddingStylesVar, getCurrentInstanceName } from "../../utils/index.js";
4
- const UTILITY_PADDING_SCALE = /* @__PURE__ */ new Set([
5
- "0",
6
- "1",
7
- "2",
8
- "3",
9
- "4",
10
- "5",
11
- "6",
12
- "8",
13
- "10",
14
- "12"
15
- ]);
2
+ import { PADDING_LOGICAL_AXIS_MAP, PADDING_POSITION_MAP, PADDING_REGEX, SPACING_SCALE_STEPS } from "../../consts/index.js";
3
+ import { convertToUnit, formatPaddingStylesVar, getCurrentInstanceName, resolveSpacingValue } from "../../utils/index.js";
16
4
  function isUtilityPaddingScale(value) {
17
- return typeof value === "string" && UTILITY_PADDING_SCALE.has(value);
5
+ return typeof value === "string" && SPACING_SCALE_STEPS.includes(value);
18
6
  }
19
7
  export function usePadding(props, name = getCurrentInstanceName()) {
20
8
  const paddingClasses = computed(() => {
@@ -31,18 +19,27 @@ export function usePadding(props, name = getCurrentInstanceName()) {
31
19
  const paddingStyles = computed(() => {
32
20
  const padding = props.padding;
33
21
  const styles = [];
34
- if (isUtilityPaddingScale(padding)) return styles;
35
- if (typeof padding === "string" && padding !== "") {
36
- const match = PADDING_REGEX.exec(padding)?.groups;
37
- if (match) {
38
- Object.keys(match).forEach((key) => {
39
- const values = String(match[key]).split(" ");
40
- styles.push(...formatPaddingStylesVar(values));
41
- });
22
+ if (!isUtilityPaddingScale(padding)) {
23
+ if (typeof padding === "string" && padding !== "") {
24
+ const match = PADDING_REGEX.exec(padding)?.groups;
25
+ if (match) {
26
+ Object.keys(match).forEach((key) => {
27
+ const values = String(match[key]).split(" ");
28
+ styles.push(...formatPaddingStylesVar(values));
29
+ });
30
+ }
31
+ } else if (typeof padding === "number") {
32
+ styles.push(`padding: ${convertToUnit(padding)}`);
42
33
  }
43
- } else if (typeof padding === "number") {
44
- styles.push(`padding: ${convertToUnit(padding)}`);
45
34
  }
35
+ PADDING_LOGICAL_AXIS_MAP.forEach(({ axis, prop }) => {
36
+ const resolved = resolveSpacingValue(props[prop]);
37
+ if (resolved) styles.push(`padding-${axis}: ${resolved}`);
38
+ });
39
+ PADDING_POSITION_MAP.forEach(({ side, prop }) => {
40
+ const resolved = resolveSpacingValue(props[prop]);
41
+ if (resolved) styles.push(`padding-${side}: ${resolved}`);
42
+ });
46
43
  return styles;
47
44
  });
48
45
  return {
@@ -1,5 +1,50 @@
1
1
  import type { IFilterPropsOptions } from "../../interfaces";
2
2
  /*********************************************************
3
3
  * useProps
4
+ *
5
+ * ## The template-ref forwarding pattern, and its one-tick delta
6
+ *
7
+ * 39 components (68 call sites, re-derive with
8
+ * grep -rlE "Ref\.value\??\.filterProps" packages/ds/src/components/
9
+ * ) forward their resolved props to an INTERNAL ROOT component through that
10
+ * child's own exposed `filterProps`, reached via a TEMPLATE REF:
11
+ *
12
+ * const childRef = ref<TOrigamChild>()
13
+ * const childProps = computed(() => childRef.value?.filterProps(props, […]))
14
+ *
15
+ * A template ref is `undefined` during the first render — it is assigned while
16
+ * that very render is being patched. So render 1 binds NOTHING and the child
17
+ * paints with its OWN resolved value; assigning the ref invalidates the
18
+ * computed, and render 2 delivers the parent's. Before ADR-005's theme-props
19
+ * resolver landed, the parent's value often never arrived at all, so the
20
+ * mismatch was PERMANENT and read as an ordinary bug; the resolver turned it
21
+ * into a one-tick transient.
22
+ *
23
+ * ## Measured: the transient is real, and it is NOT observable
24
+ *
25
+ * The delta is real. Reading `wrapper.html()` synchronously after `mount()`
26
+ * and again after `nextTick()` differs on 13 of the 16 sampled mountable
27
+ * components (Switch, TextField, Checkbox, Radio, Select, NumberField,
28
+ * PasswordField, RatingField, TextareaField, FileField, Carousel, ColorPicker,
29
+ * DatePicker; Btn, Field and SliderField are stable). On OrigamSwitch the
30
+ * difference is one class: `origam-input--density-default` (the child's own
31
+ * themed value) becomes `origam-input--density-compact` (the parent's).
32
+ *
33
+ * It is nevertheless invisible, because Vue flushes the invalidated re-render
34
+ * on a MICROTASK, and the browser paints only at the end of a task — after the
35
+ * microtask checkpoint. Measured in Chromium against the built Histoire with a
36
+ * per-animation-frame sampler (rAF callbacks run immediately before that
37
+ * frame's paint, so the sample sequence IS the sequence a user could see):
38
+ * 10 cold loads × 40 frames = 400 painted frames of the OrigamSwitch root,
39
+ * sampling both the density class and `offsetHeight` (density moves geometry).
40
+ * Every one of the 400: `compact@76`. Zero frames carried the stale value, and
41
+ * the height never jumped.
42
+ *
43
+ * ⛔ So do NOT refactor these 68 sites to avoid the template ref on
44
+ * "flash" grounds — there is no flash to fix, and the change would touch 39
45
+ * components at once. If you have a DIFFERENT reason to move off template refs
46
+ * (SSR, or a `watch`/`computed` in a consumer observing the intermediate
47
+ * value, which IS reachable unlike the paint), state that reason: it is not
48
+ * this one.
4
49
  ********************************************************/
5
50
  export declare function useProps<T extends Record<string, any>>(props: T): IFilterPropsOptions<T>;
@@ -7,9 +7,8 @@ exports.useRounded = useRounded;
7
7
  var _vue = require("vue");
8
8
  var _consts = require("../../consts/index.cjs");
9
9
  var _utils = require("../../utils/index.cjs");
10
- const UTILITY_ROUNDED = /* @__PURE__ */new Set(["none", "xs", "sm", "md", "lg", "xl", "full"]);
11
10
  function isUtilityRounded(value) {
12
- return typeof value === "string" && UTILITY_ROUNDED.has(value);
11
+ return typeof value === "string" && Object.hasOwn(_consts.UTILITY_RADIUS_FALLBACK, value);
13
12
  }
14
13
  function useRounded(props, name = (0, _utils.getCurrentInstanceName)()) {
15
14
  const roundedClasses = (0, _vue.computed)(() => {
@@ -30,33 +29,15 @@ function useRounded(props, name = (0, _utils.getCurrentInstanceName)()) {
30
29
  }
31
30
  return classes;
32
31
  });
33
- const NAMED_RADIUS_TOKEN = {
34
- "x-small": "var(--origam-radius---xs, 2px)",
35
- "small": "var(--origam-radius---sm, 4px)",
36
- "default": "var(--origam-radius---md, 8px)",
37
- "medium": "var(--origam-radius---lg, 12px)",
38
- "large": "var(--origam-radius---xl, 16px)",
39
- "x-large": "var(--origam-radius---2xl, 24px)"
40
- };
41
- const UTILITY_RADIUS_FALLBACK = {
42
- none: "0",
43
- xs: "2px",
44
- sm: "4px",
45
- md: "8px",
46
- lg: "12px",
47
- xl: "16px",
48
- full: "9999px"
49
- };
50
- const roundedStyles = (0, _vue.computed)(() => {
51
- const rounded = (0, _vue.isRef)(props) ? props.value : props.rounded;
32
+ const shorthandStyles = rounded => {
52
33
  const styles = [];
53
34
  if (rounded == null || rounded === false) return styles;
54
35
  if (isUtilityRounded(rounded)) {
55
- styles.push(`border-radius: var(--origam-radius---${rounded}, ${UTILITY_RADIUS_FALLBACK[rounded]})`);
36
+ styles.push(`border-radius: var(--origam-radius---${rounded}, ${_consts.UTILITY_RADIUS_FALLBACK[rounded]})`);
56
37
  return styles;
57
38
  }
58
39
  if (typeof rounded === "string" && _consts.PREDEFINED_ROUNDED.includes(rounded) && rounded !== "shaped" && rounded !== "shaped-invert") {
59
- const token = NAMED_RADIUS_TOKEN[rounded];
40
+ const token = _consts.NAMED_RADIUS_TOKEN[rounded];
60
41
  if (token) styles.push(`border-radius: ${token}`);
61
42
  return styles;
62
43
  }
@@ -78,6 +59,20 @@ function useRounded(props, name = (0, _utils.getCurrentInstanceName)()) {
78
59
  styles.push(`border-radius: ${(0, _utils.convertToUnit)(rounded)}`);
79
60
  }
80
61
  return styles;
62
+ };
63
+ const roundedStyles = (0, _vue.computed)(() => {
64
+ const rounded = (0, _vue.isRef)(props) ? props.value : props.rounded;
65
+ const styles = shorthandStyles(rounded);
66
+ if (!(0, _vue.isRef)(props)) {
67
+ _consts.ROUNDED_CORNER_MAP.forEach(({
68
+ corner,
69
+ prop
70
+ }) => {
71
+ const resolved = (0, _utils.resolveRoundedCornerValue)(props[prop]);
72
+ if (resolved) styles.push(`border-${corner}-radius: ${resolved}`);
73
+ });
74
+ }
75
+ return styles;
81
76
  });
82
77
  return {
83
78
  roundedClasses,
@@ -1,30 +1,48 @@
1
1
  import { Ref } from 'vue';
2
2
  import type { IRoundedProps } from '../../interfaces';
3
3
  import type { TRounded } from '../../types';
4
- /**
4
+ /*********************************************************
5
+ * useRounded
6
+ *
7
+ * @description
5
8
  * Resolve the consumer's `rounded` prop into either a class (named variant
6
9
  * or legacy boolean) or an inline `border-radius` declaration (free-form
7
- * CSS value). Mirrors the origam-design-system implementation but uses a
8
- * static `PREDEFINED_ROUNDED` whitelist instead of the origam
9
- * theme-driven `useTheme().current.value.variables.rounded`, since origam
10
- * ships its radius rungs as fixed primitive tokens.
10
+ * CSS value), then layer the per-corner overrides on top.
11
+ *
12
+ * Precedence rule — SPECIFIC beats GLOBAL, enforced by PUSH ORDER onto the
13
+ * `styles` array (later declarations win within the same inline `style`
14
+ * attribute — this holds even across logical vs physical corner syntax for
15
+ * the same corner). Mirrors `useBorder` / `usePadding` / `useMargin`:
16
+ *
17
+ * 1. global `rounded` (utility rung, named variant, legacy boolean, or
18
+ * free-form 1/4-value CSS)
19
+ * 2. per-corner `roundedTopLeft` / `roundedTopRight` /
20
+ * `roundedBottomLeft` / `roundedBottomRight`
11
21
  *
12
- * Behaviour matrix:
22
+ * So `roundedTopLeft="0"` beats `rounded="lg"` for the top-left corner
23
+ * only; the other three keep the `lg` rung.
24
+ *
25
+ * ⚠️ The per-corner props are only reachable through the PROPS-OBJECT
26
+ * overload. The `Ref` overload carries a single scalar — the `rounded`
27
+ * shorthand — by construction, so a caller that needs the corners must
28
+ * pass an object (see `useStateEffect`, which builds a `reactive` getter
29
+ * bag for exactly this reason).
30
+ *
31
+ * Behaviour matrix for the shorthand:
13
32
  *
14
33
  * | `rounded` value | output |
15
34
  * |---------------------------|---------------------------------------------|
16
35
  * | unset / `false` / `null` | nothing — component default radius wins |
17
- * | `'small'`, `'large'`, … | class `${name}--rounded-${value}` |
36
+ * | `'small'`, `'large'`, … | class `${name}--rounded-${value}` + token |
18
37
  * | `true` or `''` | class `${name}--rounded` (legacy) |
19
38
  * | `4` (number) | inline `border-radius: 4px` |
20
39
  * | `'4px'` | inline `border-radius: 4px` |
21
40
  * | `'4px 0 4px 0'` | inline 4-corner radii |
22
41
  *
23
42
  * Free-form strings are parsed by `BORDER_RADIUS_REGEX`. Anything that
24
- * doesn't match is silently dropped (no inline style emitted).
25
- */
26
- /*********************************************************
27
- * useRounded
43
+ * doesn't match (and isn't a `var()`/`calc()`) is silently dropped.
44
+ * Accepted per-corner value forms are documented on
45
+ * `resolveRoundedCornerValue`.
28
46
  ********************************************************/
29
47
  export declare function useRounded(props: IRoundedProps | Ref<boolean | number | string | TRounded | null | undefined>, name?: string): {
30
48
  roundedClasses: import("vue").ComputedRef<string[]>;
@@ -1,17 +1,20 @@
1
1
  import { computed, isRef } from "vue";
2
- import { BORDER_RADIUS_REGEX, PREDEFINED_ROUNDED } from "../../consts/index.js";
3
- import { convertToUnit, formatRoundedStylesVar, getCurrentInstanceName, isCustomBorderRadius } from "../../utils/index.js";
4
- const UTILITY_ROUNDED = /* @__PURE__ */ new Set([
5
- "none",
6
- "xs",
7
- "sm",
8
- "md",
9
- "lg",
10
- "xl",
11
- "full"
12
- ]);
2
+ import {
3
+ BORDER_RADIUS_REGEX,
4
+ NAMED_RADIUS_TOKEN,
5
+ PREDEFINED_ROUNDED,
6
+ ROUNDED_CORNER_MAP,
7
+ UTILITY_RADIUS_FALLBACK
8
+ } from "../../consts/index.js";
9
+ import {
10
+ convertToUnit,
11
+ formatRoundedStylesVar,
12
+ getCurrentInstanceName,
13
+ isCustomBorderRadius,
14
+ resolveRoundedCornerValue
15
+ } from "../../utils/index.js";
13
16
  function isUtilityRounded(value) {
14
- return typeof value === "string" && UTILITY_ROUNDED.has(value);
17
+ return typeof value === "string" && Object.hasOwn(UTILITY_RADIUS_FALLBACK, value);
15
18
  }
16
19
  export function useRounded(props, name = getCurrentInstanceName()) {
17
20
  const roundedClasses = computed(() => {
@@ -32,25 +35,7 @@ export function useRounded(props, name = getCurrentInstanceName()) {
32
35
  }
33
36
  return classes;
34
37
  });
35
- const NAMED_RADIUS_TOKEN = {
36
- "x-small": "var(--origam-radius---xs, 2px)",
37
- "small": "var(--origam-radius---sm, 4px)",
38
- "default": "var(--origam-radius---md, 8px)",
39
- "medium": "var(--origam-radius---lg, 12px)",
40
- "large": "var(--origam-radius---xl, 16px)",
41
- "x-large": "var(--origam-radius---2xl, 24px)"
42
- };
43
- const UTILITY_RADIUS_FALLBACK = {
44
- none: "0",
45
- xs: "2px",
46
- sm: "4px",
47
- md: "8px",
48
- lg: "12px",
49
- xl: "16px",
50
- full: "9999px"
51
- };
52
- const roundedStyles = computed(() => {
53
- const rounded = isRef(props) ? props.value : props.rounded;
38
+ const shorthandStyles = (rounded) => {
54
39
  const styles = [];
55
40
  if (rounded == null || rounded === false) return styles;
56
41
  if (isUtilityRounded(rounded)) {
@@ -80,6 +65,17 @@ export function useRounded(props, name = getCurrentInstanceName()) {
80
65
  styles.push(`border-radius: ${convertToUnit(rounded)}`);
81
66
  }
82
67
  return styles;
68
+ };
69
+ const roundedStyles = computed(() => {
70
+ const rounded = isRef(props) ? props.value : props.rounded;
71
+ const styles = shorthandStyles(rounded);
72
+ if (!isRef(props)) {
73
+ ROUNDED_CORNER_MAP.forEach(({ corner, prop }) => {
74
+ const resolved = resolveRoundedCornerValue(props[prop]);
75
+ if (resolved) styles.push(`border-${corner}-radius: ${resolved}`);
76
+ });
77
+ }
78
+ return styles;
83
79
  });
84
80
  return {
85
81
  roundedClasses,