origam 2.5.0 → 2.6.2

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 (532) hide show
  1. package/dist/src/assets/css/tokens/dark.css +3788 -3768
  2. package/dist/src/assets/css/tokens/light.css +1894 -1884
  3. package/dist/src/assets/css/tokens/primitive.css +2 -0
  4. package/dist/src/assets/css/tokens/themes-all.css +44226 -0
  5. package/dist/src/assets/locales/en.json +34 -2
  6. package/dist/src/assets/locales/fr.json +34 -2
  7. package/dist/src/assets/scss/tokens/_dark.scss +1894 -1884
  8. package/dist/src/assets/scss/tokens/_light.scss +1894 -1884
  9. package/dist/src/assets/scss/tokens/_primitive.scss +2 -0
  10. package/dist/src/assets/scss/tokens/_themes-all.scss +44241 -0
  11. package/dist/src/components/Alert/OrigamAlert.vue +16 -21
  12. package/dist/src/components/App/OrigamApp.vue +7 -38
  13. package/dist/src/components/App/OrigamAppBar.vue +35 -17
  14. package/dist/src/components/Audio/OrigamAudio.vue +77 -6
  15. package/dist/src/components/Avatar/OrigamAvatar.vue +11 -9
  16. package/dist/src/components/Avatar/OrigamAvatarGroup.vue +26 -8
  17. package/dist/src/components/Badge/OrigamBadge.vue +13 -3
  18. package/dist/src/components/Blockquote/OrigamBlockquote.vue +137 -13
  19. package/dist/src/components/BottomNav/OrigamBottomNav.vue +34 -4
  20. package/dist/src/components/Bracket/OrigamBracket.vue +386 -64
  21. package/dist/src/components/Bracket/OrigamBracketCompetitor.vue +190 -13
  22. package/dist/src/components/Bracket/OrigamBracketMatch.vue +197 -42
  23. package/dist/src/components/Bracket/OrigamBracketRound.vue +11 -3
  24. package/dist/src/components/Breadcrumb/OrigamBreadcrumb.vue +14 -12
  25. package/dist/src/components/Breadcrumb/OrigamBreadcrumbDivider.vue +4 -1
  26. package/dist/src/components/Breadcrumb/OrigamBreadcrumbItem.vue +3 -5
  27. package/dist/src/components/Btn/OrigamBtn.vue +69 -30
  28. package/dist/src/components/Btn/OrigamBtnGroup.vue +33 -7
  29. package/dist/src/components/Btn/OrigamBtnToggle.vue +4 -7
  30. package/dist/src/components/Calendar/OrigamCalendar.vue +785 -658
  31. package/dist/src/components/Card/OrigamCard.vue +24 -3
  32. package/dist/src/components/Card/OrigamCardHeader.vue +17 -3
  33. package/dist/src/components/Card/OrigamCardText.vue +29 -7
  34. package/dist/src/components/Carousel/OrigamCarousel.vue +29 -9
  35. package/dist/src/components/Carousel/OrigamCarouselItem.vue +2 -2
  36. package/dist/src/components/Chart/OrigamChart.vue +3 -1
  37. package/dist/src/components/Chart/OrigamChartAxis.vue +1 -1
  38. package/dist/src/components/Chart/OrigamChartBoxPlot.vue +7 -3
  39. package/dist/src/components/Chart/OrigamChartBullet.vue +7 -3
  40. package/dist/src/components/Chart/OrigamChartCandlestick.vue +7 -3
  41. package/dist/src/components/Chart/OrigamChartCartesian.vue +14 -10
  42. package/dist/src/components/Chart/OrigamChartGauge.vue +7 -3
  43. package/dist/src/components/Chart/OrigamChartHeatmap.vue +7 -3
  44. package/dist/src/components/Chart/OrigamChartHoneycomb.vue +7 -3
  45. package/dist/src/components/Chart/OrigamChartLegend.vue +1 -2
  46. package/dist/src/components/Chart/OrigamChartMap.vue +7 -3
  47. package/dist/src/components/Chart/OrigamChartPareto.vue +7 -3
  48. package/dist/src/components/Chart/OrigamChartPictorial.vue +9 -6
  49. package/dist/src/components/Chart/OrigamChartPolar.vue +13 -6
  50. package/dist/src/components/Chart/OrigamChartPolarBar.vue +7 -3
  51. package/dist/src/components/Chart/OrigamChartPyramid.vue +7 -3
  52. package/dist/src/components/Chart/OrigamChartRadar.vue +7 -5
  53. package/dist/src/components/Chart/OrigamChartRangeSelector.vue +3 -4
  54. package/dist/src/components/Chart/OrigamChartSankey.vue +7 -3
  55. package/dist/src/components/Chart/OrigamChartSparkline.vue +5 -3
  56. package/dist/src/components/Chart/OrigamChartStreamgraph.vue +9 -5
  57. package/dist/src/components/Chart/OrigamChartSunburst.vue +7 -3
  58. package/dist/src/components/Chart/OrigamChartTooltip.vue +1 -1
  59. package/dist/src/components/Chart/OrigamChartTreemap.vue +7 -3
  60. package/dist/src/components/Chart/OrigamChartVariwide.vue +7 -3
  61. package/dist/src/components/Chart/OrigamChartWordCloud.vue +3 -2
  62. package/dist/src/components/Checkbox/OrigamCheckbox.vue +18 -3
  63. package/dist/src/components/Checkbox/OrigamCheckboxBtn.vue +4 -2
  64. package/dist/src/components/Chip/OrigamChip.vue +25 -12
  65. package/dist/src/components/Chip/OrigamChipGroup.vue +5 -5
  66. package/dist/src/components/ClientOnly/OrigamClientOnly.vue +1 -1
  67. package/dist/src/components/Clipboard/OrigamClipboard.vue +12 -4
  68. package/dist/src/components/Code/OrigamCode.vue +144 -39
  69. package/dist/src/components/ColorPicker/OrigamColorPicker.vue +7 -2
  70. package/dist/src/components/ColorPicker/OrigamColorPickerCanvas.vue +3 -2
  71. package/dist/src/components/ColorPicker/OrigamColorPickerEdit.vue +2 -2
  72. package/dist/src/components/ColorPicker/OrigamColorPickerPreview.vue +1 -1
  73. package/dist/src/components/ColorPicker/OrigamColorPickerSwatches.vue +1 -1
  74. package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +15 -5
  75. package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +13 -3
  76. package/dist/src/components/ConfirmWrapper/OrigamConfirmWrapper.vue +1 -1
  77. package/dist/src/components/ContextualMenu/OrigamContextualMenu.vue +7 -2
  78. package/dist/src/components/Counter/OrigamCounter.vue +2 -1
  79. package/dist/src/components/DataList/OrigamDataList.vue +21 -5
  80. package/dist/src/components/DataList/OrigamDataText.vue +5 -1
  81. package/dist/src/components/DataList/OrigamDataTitle.vue +5 -1
  82. package/dist/src/components/DataTable/OrigamDataTable.vue +15 -7
  83. package/dist/src/components/DataTable/OrigamDataTableColumnCell.vue +1 -1
  84. package/dist/src/components/DataTable/OrigamDataTableFooter.vue +1 -1
  85. package/dist/src/components/DataTable/OrigamDataTableGroupHeaderRow.vue +1 -1
  86. package/dist/src/components/DataTable/OrigamDataTableHeaderCell.vue +3 -2
  87. package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +2 -1
  88. package/dist/src/components/DataTable/OrigamDataTableHeadersCell.vue +1 -1
  89. package/dist/src/components/DataTable/OrigamDataTableHeadersCellMobile.vue +1 -1
  90. package/dist/src/components/DataTable/OrigamDataTableRow.vue +5 -3
  91. package/dist/src/components/DataTable/OrigamDataTableRows.vue +3 -3
  92. package/dist/src/components/DatePicker/OrigamDatePicker.vue +21 -30
  93. package/dist/src/components/DatePicker/OrigamDatePickerControls.vue +2 -2
  94. package/dist/src/components/DatePicker/OrigamDatePickerHeader.vue +1 -1
  95. package/dist/src/components/DatePicker/OrigamDatePickerMonth.vue +16 -28
  96. package/dist/src/components/DatePicker/OrigamDatePickerMonths.vue +3 -3
  97. package/dist/src/components/DatePicker/OrigamDatePickerYears.vue +3 -3
  98. package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +27 -16
  99. package/dist/src/components/DefaultsProvider/OrigamDefaultsProvider.vue +1 -1
  100. package/dist/src/components/Dialog/OrigamDialog.vue +1 -1
  101. package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +1 -1
  102. package/dist/src/components/Divider/OrigamDivider.vue +2 -2
  103. package/dist/src/components/Drawer/OrigamDrawer.vue +5 -11
  104. package/dist/src/components/EmptyState/OrigamEmptyState.vue +14 -4
  105. package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +12 -2
  106. package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +4 -2
  107. package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +14 -5
  108. package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +2 -1
  109. package/dist/src/components/Field/OrigamField.vue +26 -9
  110. package/dist/src/components/FileField/OrigamFileField.vue +8 -3
  111. package/dist/src/components/FileField/OrigamFileFieldDragNDropItem.vue +14 -4
  112. package/dist/src/components/FileField/OrigamFileFieldListItem.vue +14 -4
  113. package/dist/src/components/Form/OrigamForm.vue +10 -2
  114. package/dist/src/components/Grid/OrigamGrid.vue +1 -1
  115. package/dist/src/components/Grid/OrigamGridItem.vue +1 -1
  116. package/dist/src/components/Grids/OrigamCol.vue +1 -1
  117. package/dist/src/components/Grids/OrigamContainer.vue +1 -1
  118. package/dist/src/components/Grids/OrigamRow.vue +6 -2
  119. package/dist/src/components/Grids/OrigamSpacer.vue +1 -1
  120. package/dist/src/components/Icon/OrigamClassIcon.vue +1 -1
  121. package/dist/src/components/Icon/OrigamComponentIcon.vue +1 -1
  122. package/dist/src/components/Icon/OrigamIcon.vue +1 -1
  123. package/dist/src/components/Icon/OrigamLigatureIcon.vue +1 -1
  124. package/dist/src/components/Icon/OrigamSvgIcon.vue +2 -2
  125. package/dist/src/components/Img/OrigamImg.vue +10 -9
  126. package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +14 -7
  127. package/dist/src/components/InfiniteScroll/OrigamInfiniteScrollIntersect.vue +3 -2
  128. package/dist/src/components/InlineEdit/OrigamInlineEdit.vue +13 -4
  129. package/dist/src/components/Input/OrigamInput.vue +17 -3
  130. package/dist/src/components/ItemGroup/OrigamItem.vue +1 -1
  131. package/dist/src/components/ItemGroup/OrigamItemGroup.vue +1 -1
  132. package/dist/src/components/Kbd/OrigamKbd.vue +18 -8
  133. package/dist/src/components/Label/OrigamLabel.vue +14 -3
  134. package/dist/src/components/Layout/OrigamLayout.vue +1 -1
  135. package/dist/src/components/Lazy/OrigamLazy.vue +1 -1
  136. package/dist/src/components/List/OrigamList.vue +1 -1
  137. package/dist/src/components/List/OrigamListChildren.vue +1 -1
  138. package/dist/src/components/List/OrigamListGroup.vue +4 -1
  139. package/dist/src/components/List/OrigamListGroupActivator.vue +1 -1
  140. package/dist/src/components/List/OrigamListItem.vue +14 -4
  141. package/dist/src/components/List/OrigamListSubheader.vue +13 -3
  142. package/dist/src/components/Loader/OrigamLoader.vue +1 -1
  143. package/dist/src/components/Main/OrigamMain.vue +1 -1
  144. package/dist/src/components/Masonry/OrigamMasonry.vue +2 -2
  145. package/dist/src/components/Media/OrigamMediaController.vue +1 -1
  146. package/dist/src/components/Media/OrigamMediaScrubber.vue +3 -2
  147. package/dist/src/components/Media/OrigamMediaVolumeControl.vue +3 -2
  148. package/dist/src/components/Menu/OrigamMenu.vue +9 -2
  149. package/dist/src/components/Messages/OrigamMessages.vue +13 -4
  150. package/dist/src/components/NumberField/OrigamNumberField.vue +80 -40
  151. package/dist/src/components/NumberFormat/OrigamNumberFormat.vue +1 -1
  152. package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +107 -11
  153. package/dist/src/components/Overlay/OrigamOverlay.vue +1 -1
  154. package/dist/src/components/Overlay/OrigamOverlayScrim.vue +1 -1
  155. package/dist/src/components/Pagination/OrigamPagination.vue +16 -4
  156. package/dist/src/components/Parallax/OrigamParallax.vue +9 -2
  157. package/dist/src/components/Parallax/OrigamParallaxElement.vue +1 -1
  158. package/dist/src/components/Parallax/OrigamParallaxLayer.vue +2 -2
  159. package/dist/src/components/PasswordField/OrigamPasswordField.vue +9 -2
  160. package/dist/src/components/Picker/OrigamPicker.vue +8 -3
  161. package/dist/src/components/Picker/OrigamPickerTitle.vue +10 -3
  162. package/dist/src/components/Progress/OrigamProgress.vue +6 -3
  163. package/dist/src/components/Progress/OrigamProgressCircular.vue +3 -1
  164. package/dist/src/components/Progress/OrigamProgressLinear.vue +5 -6
  165. package/dist/src/components/{QRCode → QrCode}/OrigamQrCode.vue +1 -1
  166. package/dist/src/components/QrCode/index.d.ts +1 -0
  167. package/dist/src/components/Radio/OrigamRadio.vue +20 -11
  168. package/dist/src/components/Radio/OrigamRadioBtn.vue +4 -2
  169. package/dist/src/components/Radio/OrigamRadioGroup.vue +48 -41
  170. package/dist/src/components/RatingField/OrigamRatingField.vue +9 -13
  171. package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +3 -6
  172. package/dist/src/components/Responsive/OrigamResponsive.vue +1 -1
  173. package/dist/src/components/Section/OrigamSection.vue +1 -1
  174. package/dist/src/components/Select/OrigamSelect.vue +19 -10
  175. package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +12 -6
  176. package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +2 -2
  177. package/dist/src/components/Sheet/OrigamSheet.vue +11 -3
  178. package/dist/src/components/Skeleton/OrigamSkeleton.vue +2 -4
  179. package/dist/src/components/Slide/OrigamSlideGroup.vue +1 -1
  180. package/dist/src/components/SliderField/OrigamSliderField.vue +7 -6
  181. package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +1 -1
  182. package/dist/src/components/Snackbar/OrigamSnackbar.vue +5 -4
  183. package/dist/src/components/Snackbar/OrigamSnackbarGroup.vue +1 -1
  184. package/dist/src/components/Snackbar/OrigamSnackbarItem.vue +27 -26
  185. package/dist/src/components/Stepper/OrigamStepper.vue +6 -2
  186. package/dist/src/components/Stepper/OrigamStepperItem.vue +10 -3
  187. package/dist/src/components/Switch/OrigamSwitch.vue +35 -37
  188. package/dist/src/components/Switch/OrigamSwitchTrack.vue +9 -15
  189. package/dist/src/components/SystemBar/OrigamSystemBar.vue +14 -4
  190. package/dist/src/components/Table/OrigamTable.vue +15 -3
  191. package/dist/src/components/Tabs/OrigamTab.vue +13 -3
  192. package/dist/src/components/Tabs/OrigamTabPanel.vue +1 -1
  193. package/dist/src/components/Tabs/OrigamTabPanels.vue +1 -1
  194. package/dist/src/components/Tabs/OrigamTabs.vue +1 -1
  195. package/dist/src/components/TextField/OrigamTextField.vue +8 -1
  196. package/dist/src/components/TextMask/OrigamTextMask.vue +17 -27
  197. package/dist/src/components/TextareaField/OrigamRichToolbar.vue +15 -11
  198. package/dist/src/components/TextareaField/OrigamTextareaField.vue +11 -1
  199. package/dist/src/components/ThemeProvider/OrigamThemeProvider.vue +4 -1
  200. package/dist/src/components/Timeline/OrigamTimeline.vue +3 -3
  201. package/dist/src/components/Timeline/OrigamTimelineItem.vue +3 -1
  202. package/dist/src/components/Title/OrigamTitle.vue +20 -8
  203. package/dist/src/components/Toolbar/OrigamToolbar.vue +17 -5
  204. package/dist/src/components/Tooltip/OrigamTooltip.vue +12 -3
  205. package/dist/src/components/Transition/OrigamExpandX.vue +1 -1
  206. package/dist/src/components/Transition/OrigamExpandY.vue +1 -1
  207. package/dist/src/components/Transition/OrigamFade.vue +1 -1
  208. package/dist/src/components/Transition/OrigamReverseTranslatePicker.vue +1 -1
  209. package/dist/src/components/Transition/OrigamScaleRotate.vue +1 -1
  210. package/dist/src/components/Transition/OrigamSlideX.vue +1 -1
  211. package/dist/src/components/Transition/OrigamSlideY.vue +1 -1
  212. package/dist/src/components/Transition/OrigamSnack.vue +1 -1
  213. package/dist/src/components/Transition/OrigamTransition.vue +1 -1
  214. package/dist/src/components/Transition/OrigamTranslateBottom.vue +1 -1
  215. package/dist/src/components/Transition/OrigamTranslatePicker.vue +1 -1
  216. package/dist/src/components/Transition/OrigamTranslateScale.vue +1 -1
  217. package/dist/src/components/Transition/OrigamWindowXReverseTranslate.vue +1 -1
  218. package/dist/src/components/Transition/OrigamWindowXTranslate.vue +1 -1
  219. package/dist/src/components/Transition/OrigamWindowYReverseTranslate.vue +1 -1
  220. package/dist/src/components/Transition/OrigamWindowYTranslate.vue +1 -1
  221. package/dist/src/components/Treeview/OrigamTreeview.vue +1 -1
  222. package/dist/src/components/Treeview/OrigamTreeviewNode.vue +7 -5
  223. package/dist/src/components/Video/OrigamVideo.vue +56 -63
  224. package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +1 -1
  225. package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +1 -6
  226. package/dist/src/components/Watermark/OrigamWatermark.vue +1 -1
  227. package/dist/src/components/Window/OrigamWindow.vue +32 -2
  228. package/dist/src/components/Window/OrigamWindowItem.vue +1 -1
  229. package/dist/src/components/index.cjs +1 -1
  230. package/dist/src/components/index.js +1 -1
  231. package/dist/src/composables/Chart/chart-gauge.composable.cjs +1 -1
  232. package/dist/src/composables/Chart/chart-gauge.composable.js +1 -1
  233. package/dist/src/composables/Chart/chart-header-typography.composable.cjs +20 -0
  234. package/dist/src/composables/Chart/chart-header-typography.composable.d.ts +27 -0
  235. package/dist/src/composables/Chart/chart-header-typography.composable.js +11 -0
  236. package/dist/src/composables/Chart/chart-zoom.composable.cjs +0 -1
  237. package/dist/src/composables/Chart/chart-zoom.composable.js +0 -1
  238. package/dist/src/composables/Chart/chart.composable.cjs +0 -11
  239. package/dist/src/composables/Chart/chart.composable.js +0 -11
  240. package/dist/src/composables/Code/code.composable.js +4 -1
  241. package/dist/src/composables/Commons/audio.composable.d.ts +97 -31
  242. package/dist/src/composables/Commons/border.composable.cjs +10 -0
  243. package/dist/src/composables/Commons/border.composable.js +7 -0
  244. package/dist/src/composables/Commons/color.composable.cjs +42 -42
  245. package/dist/src/composables/Commons/color.composable.d.ts +8 -3
  246. package/dist/src/composables/Commons/color.composable.js +2 -2
  247. package/dist/src/composables/Commons/date-picker-calendar.composable.cjs +1 -1
  248. package/dist/src/composables/Commons/date-picker-calendar.composable.d.ts +1 -1
  249. package/dist/src/composables/Commons/date-picker-calendar.composable.js +1 -1
  250. package/dist/src/composables/Commons/defaults.composable.cjs +10 -9
  251. package/dist/src/composables/Commons/defaults.composable.js +10 -9
  252. package/dist/src/composables/Commons/delay.composable.cjs +8 -3
  253. package/dist/src/composables/Commons/delay.composable.js +7 -4
  254. package/dist/src/composables/Commons/density.composable.cjs +1 -1
  255. package/dist/src/composables/Commons/density.composable.js +2 -2
  256. package/dist/src/composables/Commons/dragResizer.composable.cjs +7 -9
  257. package/dist/src/composables/Commons/dragResizer.composable.js +8 -9
  258. package/dist/src/composables/Commons/focus.composable.cjs +1 -1
  259. package/dist/src/composables/Commons/focus.composable.js +1 -1
  260. package/dist/src/composables/Commons/layout.composable.cjs +12 -0
  261. package/dist/src/composables/Commons/layout.composable.js +14 -0
  262. package/dist/src/composables/Commons/message.composable.cjs +1 -1
  263. package/dist/src/composables/Commons/message.composable.d.ts +1 -1
  264. package/dist/src/composables/Commons/message.composable.js +1 -1
  265. package/dist/src/composables/Commons/rounded.composable.cjs +15 -4
  266. package/dist/src/composables/Commons/rounded.composable.d.ts +1 -1
  267. package/dist/src/composables/Commons/rounded.composable.js +17 -6
  268. package/dist/src/composables/Commons/scroll.composable.cjs +2 -2
  269. package/dist/src/composables/Commons/scroll.composable.js +2 -2
  270. package/dist/src/composables/Commons/size.composable.d.ts +1 -1
  271. package/dist/src/composables/Commons/stateEffect.composable.cjs +36 -14
  272. package/dist/src/composables/Commons/stateEffect.composable.js +38 -14
  273. package/dist/src/composables/Commons/status.composable.cjs +11 -1
  274. package/dist/src/composables/Commons/status.composable.d.ts +2 -0
  275. package/dist/src/composables/Commons/status.composable.js +10 -1
  276. package/dist/src/composables/Commons/sticky.composable.d.ts +2 -14
  277. package/dist/src/composables/Commons/style.composable.cjs +5 -3
  278. package/dist/src/composables/Commons/style.composable.js +5 -3
  279. package/dist/src/composables/Commons/typography.composable.cjs +23 -0
  280. package/dist/src/composables/Commons/typography.composable.d.ts +7 -0
  281. package/dist/src/composables/Commons/typography.composable.js +21 -0
  282. package/dist/src/composables/DataTable/headers.composable.d.ts +4 -364
  283. package/dist/src/composables/Icon/icon.composable.cjs +6 -1
  284. package/dist/src/composables/Icon/icon.composable.js +4 -1
  285. package/dist/src/composables/InlineEdit/inline-edit.composable.cjs +16 -2
  286. package/dist/src/composables/InlineEdit/inline-edit.composable.js +16 -2
  287. package/dist/src/composables/Masonry/masonry.composable.d.ts +2 -1
  288. package/dist/src/composables/Parallax/transform.composable.d.ts +1 -1
  289. package/dist/src/composables/Responsive/aspect.composable.cjs +9 -1
  290. package/dist/src/composables/Responsive/aspect.composable.d.ts +1 -1
  291. package/dist/src/composables/Responsive/aspect.composable.js +9 -1
  292. package/dist/src/composables/Theme/installed-themes.composable.cjs +11 -0
  293. package/dist/src/composables/Theme/installed-themes.composable.d.ts +19 -0
  294. package/dist/src/composables/Theme/installed-themes.composable.js +5 -0
  295. package/dist/src/composables/Theme/theme.composable.cjs +86 -15
  296. package/dist/src/composables/Theme/theme.composable.d.ts +55 -10
  297. package/dist/src/composables/Theme/theme.composable.js +88 -17
  298. package/dist/src/composables/index.cjs +36 -0
  299. package/dist/src/composables/index.d.ts +3 -0
  300. package/dist/src/composables/index.js +3 -0
  301. package/dist/src/consts/Bracket/bracket.const.cjs +4 -2
  302. package/dist/src/consts/Bracket/bracket.const.d.ts +12 -0
  303. package/dist/src/consts/Bracket/bracket.const.js +2 -0
  304. package/dist/src/consts/Commons/density.const.cjs +2 -2
  305. package/dist/src/consts/Commons/density.const.d.ts +1 -1
  306. package/dist/src/consts/Commons/density.const.js +1 -1
  307. package/dist/src/consts/Commons/rounded.const.cjs +4 -2
  308. package/dist/src/consts/Commons/rounded.const.d.ts +22 -2
  309. package/dist/src/consts/Commons/rounded.const.js +3 -1
  310. package/dist/src/consts/DataTable/select.const.cjs +1 -1
  311. package/dist/src/consts/DataTable/select.const.js +1 -1
  312. package/dist/src/consts/Icon/mdi.const.cjs +6 -1
  313. package/dist/src/consts/Icon/mdi.const.js +10 -2
  314. package/dist/src/consts/Theme/theme.const.cjs +11 -1
  315. package/dist/src/consts/Theme/theme.const.d.ts +16 -0
  316. package/dist/src/consts/Theme/theme.const.js +10 -0
  317. package/dist/src/directives/Contrast/contrast.directive.cjs +150 -0
  318. package/dist/src/directives/Contrast/contrast.directive.d.ts +5 -0
  319. package/dist/src/directives/Contrast/contrast.directive.js +131 -0
  320. package/dist/src/directives/index.cjs +7 -0
  321. package/dist/src/directives/index.d.ts +1 -0
  322. package/dist/src/directives/index.js +1 -0
  323. package/dist/src/enums/BottomNav/bottom-nav-position.enum.cjs +12 -0
  324. package/dist/src/enums/BottomNav/bottom-nav-position.enum.d.ts +10 -0
  325. package/dist/src/enums/BottomNav/bottom-nav-position.enum.js +6 -0
  326. package/dist/src/enums/Toolbar/toolbar.enum.cjs +1 -0
  327. package/dist/src/enums/Toolbar/toolbar.enum.d.ts +2 -1
  328. package/dist/src/enums/Toolbar/toolbar.enum.js +1 -0
  329. package/dist/src/enums/index.cjs +22 -0
  330. package/dist/src/enums/index.d.ts +2 -0
  331. package/dist/src/enums/index.js +2 -0
  332. package/dist/src/interfaces/Alert/alert.interface.d.ts +2 -3
  333. package/dist/src/interfaces/App/app-bar.interface.d.ts +19 -1
  334. package/dist/src/interfaces/App/app.interface.cjs +1 -0
  335. package/dist/src/interfaces/App/app.interface.d.ts +24 -0
  336. package/dist/src/interfaces/Audio/audio-player.interface.d.ts +23 -2
  337. package/dist/src/interfaces/Avatar/avatar.interface.d.ts +2 -4
  338. package/dist/src/interfaces/Badge/badge.interface.d.ts +2 -2
  339. package/dist/src/interfaces/Blockquote/blockquote.interface.d.ts +23 -21
  340. package/dist/src/interfaces/BottomNav/bottom-nav.interface.d.ts +12 -4
  341. package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.d.ts +17 -6
  342. package/dist/src/interfaces/Bracket/bracket-match-component.interface.d.ts +13 -6
  343. package/dist/src/interfaces/Bracket/bracket-match.interface.d.ts +22 -0
  344. package/dist/src/interfaces/Bracket/bracket-round-component.interface.d.ts +2 -2
  345. package/dist/src/interfaces/Bracket/bracket.interface.d.ts +17 -2
  346. package/dist/src/interfaces/Breadcrumb/breadcrumb-divider.interface.d.ts +2 -2
  347. package/dist/src/interfaces/Breadcrumb/breadcrumb.interface.d.ts +2 -3
  348. package/dist/src/interfaces/Btn/btn-group.interface.d.ts +2 -2
  349. package/dist/src/interfaces/Btn/btn.interface.d.ts +11 -3
  350. package/dist/src/interfaces/Calendar/calendar.interface.d.ts +7 -2
  351. package/dist/src/interfaces/Card/card-header.interface.d.ts +2 -2
  352. package/dist/src/interfaces/Card/card-text.interface.d.ts +2 -2
  353. package/dist/src/interfaces/Carousel/carousel.interface.d.ts +2 -2
  354. package/dist/src/interfaces/Chart/chart-base.interface.d.ts +9 -8
  355. package/dist/src/interfaces/Chart/chart-word-cloud.interface.d.ts +1 -1
  356. package/dist/src/interfaces/Chart/chart.interface.d.ts +12 -1
  357. package/dist/src/interfaces/Checkbox/checkbox-btn.interface.d.ts +3 -3
  358. package/dist/src/interfaces/Checkbox/checkbox.interface.d.ts +10 -9
  359. package/dist/src/interfaces/Chip/chip-group.interface.d.ts +3 -1
  360. package/dist/src/interfaces/Chip/chip.interface.d.ts +2 -2
  361. package/dist/src/interfaces/Clipboard/clipboard.interface.d.ts +2 -2
  362. package/dist/src/interfaces/Code/code.interface.d.ts +19 -2
  363. package/dist/src/interfaces/ColorPickerField/color-picker-field.interface.d.ts +2 -2
  364. package/dist/src/interfaces/CommandPalette/command-palette.interface.d.ts +2 -1
  365. package/dist/src/interfaces/Commons/calendar.interface.d.ts +3 -3
  366. package/dist/src/interfaces/Commons/commons.interface.d.ts +34 -1
  367. package/dist/src/interfaces/Commons/filters.interface.d.ts +2 -2
  368. package/dist/src/interfaces/Commons/hover.interface.d.ts +18 -3
  369. package/dist/src/interfaces/Commons/scroll.interface.d.ts +8 -1
  370. package/dist/src/interfaces/Commons/typography.interface.cjs +1 -0
  371. package/dist/src/interfaces/Commons/typography.interface.d.ts +52 -0
  372. package/dist/src/interfaces/Commons/typography.interface.js +0 -0
  373. package/dist/src/interfaces/Commons/validation.interface.d.ts +3 -1
  374. package/dist/src/interfaces/Counter/counter.interface.d.ts +2 -2
  375. package/dist/src/interfaces/DataList/data-list.interface.d.ts +2 -2
  376. package/dist/src/interfaces/DataList/data-text.interface.d.ts +5 -0
  377. package/dist/src/interfaces/DataList/data-title.interface.d.ts +5 -0
  378. package/dist/src/interfaces/DataTable/headers.interface.d.ts +5 -5
  379. package/dist/src/interfaces/DataTable/row.interface.d.ts +2 -2
  380. package/dist/src/interfaces/DatePicker/date-picker-controls.interface.d.ts +16 -8
  381. package/dist/src/interfaces/DatePicker/date-picker-header.interface.d.ts +6 -3
  382. package/dist/src/interfaces/DatePicker/date-picker-months.interface.d.ts +2 -2
  383. package/dist/src/interfaces/DatePicker/date-picker-years.interface.d.ts +1 -1
  384. package/dist/src/interfaces/DatePicker/date-picker.interface.d.ts +1 -1
  385. package/dist/src/interfaces/Dialog/dialog-confirmation.interface.d.ts +2 -2
  386. package/dist/src/interfaces/EmptyState/empty-state.interface.d.ts +9 -2
  387. package/dist/src/interfaces/ExpensionPanel/expansion-panel-header.interface.d.ts +2 -2
  388. package/dist/src/interfaces/Field/field.interface.d.ts +7 -2
  389. package/dist/src/interfaces/FileField/file-field-dragndrop-item.interface.d.ts +2 -2
  390. package/dist/src/interfaces/FileField/file-field-list-item.interface.d.ts +2 -2
  391. package/dist/src/interfaces/FileField/file-field.interface.d.ts +1 -1
  392. package/dist/src/interfaces/Form/form.interface.d.ts +2 -2
  393. package/dist/src/interfaces/Grids/row.interface.d.ts +2 -2
  394. package/dist/src/interfaces/InfiniteScroll/infinite-scroll.interface.d.ts +2 -2
  395. package/dist/src/interfaces/InlineEdit/inline-edit.interface.d.ts +31 -2
  396. package/dist/src/interfaces/Input/input.interface.d.ts +4 -3
  397. package/dist/src/interfaces/Kbd/kbd.interface.d.ts +2 -2
  398. package/dist/src/interfaces/Label/label.interface.d.ts +2 -2
  399. package/dist/src/interfaces/List/list-group.interface.d.ts +4 -1
  400. package/dist/src/interfaces/List/list-item.interface.d.ts +2 -2
  401. package/dist/src/interfaces/List/list-subheader.interface.d.ts +2 -2
  402. package/dist/src/interfaces/Media/media-scrubber.interface.d.ts +10 -2
  403. package/dist/src/interfaces/Messages/messages.interface.d.ts +2 -2
  404. package/dist/src/interfaces/NumberField/number-field.interface.d.ts +1 -1
  405. package/dist/src/interfaces/Nuxt/nuxt-module.interface.d.ts +55 -15
  406. package/dist/src/interfaces/OtpInputField/otp-input-field.interface.d.ts +4 -2
  407. package/dist/src/interfaces/Pagination/pagination.interface.d.ts +18 -3
  408. package/dist/src/interfaces/Parallax/parallax.interface.d.ts +2 -2
  409. package/dist/src/interfaces/PasswordField/password-field.interface.d.ts +1 -1
  410. package/dist/src/interfaces/Picker/picker-title.interface.d.ts +2 -2
  411. package/dist/src/interfaces/Progress/progress.interface.d.ts +8 -2
  412. package/dist/src/interfaces/RatingField/rating-field-item.interface.d.ts +2 -1
  413. package/dist/src/interfaces/SelectionControl/selection-control-group.interface.d.ts +2 -1
  414. package/dist/src/interfaces/SelectionControl/selection-control.interface.d.ts +23 -5
  415. package/dist/src/interfaces/Sheet/sheet.interface.d.ts +2 -2
  416. package/dist/src/interfaces/Snackbar/snackbar-item.interface.d.ts +2 -2
  417. package/dist/src/interfaces/SystemBar/system-bar.interface.d.ts +2 -2
  418. package/dist/src/interfaces/Table/table.interface.d.ts +2 -2
  419. package/dist/src/interfaces/Tabs/tab.interface.d.ts +7 -2
  420. package/dist/src/interfaces/TextField/text-field.interface.d.ts +1 -1
  421. package/dist/src/interfaces/TextMask/text-mask.interface.d.ts +7 -33
  422. package/dist/src/interfaces/TextareaField/textarea-field.interface.d.ts +3 -3
  423. package/dist/src/interfaces/Theme/origam-theme.interface.cjs +1 -0
  424. package/dist/src/interfaces/Theme/origam-theme.interface.d.ts +114 -0
  425. package/dist/src/interfaces/Theme/origam-theme.interface.js +0 -0
  426. package/dist/src/interfaces/Timeline/timeline.interface.d.ts +1 -1
  427. package/dist/src/interfaces/Title/title.interface.d.ts +2 -2
  428. package/dist/src/interfaces/Toolbar/toolbar.interface.d.ts +2 -2
  429. package/dist/src/interfaces/Tooltip/tooltip.interface.d.ts +2 -2
  430. package/dist/src/interfaces/Video/video.interface.d.ts +2 -2
  431. package/dist/src/interfaces/Window/window.interface.d.ts +2 -2
  432. package/dist/src/interfaces/index.cjs +33 -0
  433. package/dist/src/interfaces/index.d.ts +3 -0
  434. package/dist/src/interfaces/index.js +3 -0
  435. package/dist/src/nuxt/module.cjs +78 -8
  436. package/dist/src/nuxt/module.js +81 -9
  437. package/dist/src/nuxt/plugin.client.cjs +28 -10
  438. package/dist/src/nuxt/plugin.client.js +28 -10
  439. package/dist/src/nuxt/plugin.server.cjs +52 -12
  440. package/dist/src/nuxt/plugin.server.js +55 -13
  441. package/dist/src/origam.cjs +39 -2
  442. package/dist/src/origam.d.ts +19 -1
  443. package/dist/src/origam.js +46 -5
  444. package/dist/src/services/Commons/date-adapter.service.d.ts +1 -1
  445. package/dist/src/themes/index.cjs +24 -0
  446. package/dist/src/themes/index.d.ts +1 -0
  447. package/dist/src/themes/index.js +1 -0
  448. package/dist/src/themes/origam.theme.cjs +906 -0
  449. package/dist/src/themes/origam.theme.d.ts +4 -0
  450. package/dist/src/themes/origam.theme.js +379 -0
  451. package/dist/src/types/BottomNav/bottom-nav.type.d.ts +2 -0
  452. package/dist/src/types/Commons/font-family.type.cjs +1 -0
  453. package/dist/src/types/Commons/font-family.type.d.ts +5 -0
  454. package/dist/src/types/Commons/font-family.type.js +0 -0
  455. package/dist/src/types/Commons/font-size.type.cjs +1 -0
  456. package/dist/src/types/Commons/font-size.type.d.ts +6 -0
  457. package/dist/src/types/Commons/font-size.type.js +0 -0
  458. package/dist/src/types/Commons/font-weight.type.cjs +1 -0
  459. package/dist/src/types/Commons/font-weight.type.d.ts +5 -0
  460. package/dist/src/types/Commons/font-weight.type.js +0 -0
  461. package/dist/src/types/Commons/letter-spacing.type.cjs +1 -0
  462. package/dist/src/types/Commons/letter-spacing.type.d.ts +5 -0
  463. package/dist/src/types/Commons/letter-spacing.type.js +0 -0
  464. package/dist/src/types/Commons/line-height.type.cjs +1 -0
  465. package/dist/src/types/Commons/line-height.type.d.ts +5 -0
  466. package/dist/src/types/Commons/line-height.type.js +0 -0
  467. package/dist/src/types/Commons/mode.type.d.ts +1 -1
  468. package/dist/src/types/Theme/installed-theme.type.cjs +1 -0
  469. package/dist/src/types/Theme/installed-theme.type.d.ts +31 -0
  470. package/dist/src/types/Theme/installed-theme.type.js +0 -0
  471. package/dist/src/types/Theme/semantic-tree.type.cjs +1 -0
  472. package/dist/src/types/Theme/semantic-tree.type.d.ts +48 -0
  473. package/dist/src/types/Theme/semantic-tree.type.js +0 -0
  474. package/dist/src/types/Theme/theme.type.d.ts +27 -6
  475. package/dist/src/types/Theme/token-tree.type.cjs +1 -0
  476. package/dist/src/types/Theme/token-tree.type.d.ts +10 -0
  477. package/dist/src/types/Theme/token-tree.type.js +0 -0
  478. package/dist/src/types/index.cjs +88 -0
  479. package/dist/src/types/index.d.ts +8 -0
  480. package/dist/src/types/index.js +8 -0
  481. package/dist/src/types/tokens.type.d.ts +1 -1
  482. package/dist/src/utils/Bracket/bracket-surface.util.cjs +106 -0
  483. package/dist/src/utils/Bracket/bracket-surface.util.d.ts +47 -0
  484. package/dist/src/utils/Bracket/bracket-surface.util.js +88 -0
  485. package/dist/src/utils/Commons/border.util.d.ts +1 -1
  486. package/dist/src/utils/Commons/color.util.cjs +4 -2
  487. package/dist/src/utils/Commons/color.util.js +4 -2
  488. package/dist/src/utils/Commons/commons.util.cjs +3 -2
  489. package/dist/src/utils/Commons/commons.util.d.ts +1 -1
  490. package/dist/src/utils/Commons/commons.util.js +3 -2
  491. package/dist/src/utils/Commons/date.util.d.ts +1 -1
  492. package/dist/src/utils/Commons/dom.util.d.ts +1 -1
  493. package/dist/src/utils/Commons/elevation.util.cjs +1 -1
  494. package/dist/src/utils/Commons/elevation.util.js +1 -1
  495. package/dist/src/utils/Commons/forwardRefs.util.cjs +1 -1
  496. package/dist/src/utils/Commons/forwardRefs.util.js +1 -1
  497. package/dist/src/utils/Commons/gradient.util.cjs +3 -3
  498. package/dist/src/utils/Commons/gradient.util.js +1 -1
  499. package/dist/src/utils/Commons/hover.util.cjs +5 -1
  500. package/dist/src/utils/Commons/hover.util.js +5 -1
  501. package/dist/src/utils/Commons/margin.util.d.ts +1 -1
  502. package/dist/src/utils/Commons/padding.util.d.ts +1 -1
  503. package/dist/src/utils/Commons/ripple.util.cjs +1 -2
  504. package/dist/src/utils/Commons/ripple.util.js +2 -3
  505. package/dist/src/utils/Commons/rounded.util.cjs +5 -0
  506. package/dist/src/utils/Commons/rounded.util.d.ts +10 -1
  507. package/dist/src/utils/Commons/rounded.util.js +4 -0
  508. package/dist/src/utils/DataTable/headers.util.cjs +1 -1
  509. package/dist/src/utils/DataTable/headers.util.js +1 -1
  510. package/dist/src/utils/DataTable/sort.util.cjs +2 -2
  511. package/dist/src/utils/DataTable/sort.util.js +2 -2
  512. package/dist/src/utils/List/list-item.util.d.ts +7 -0
  513. package/dist/src/utils/Theme/apply-theme.util.cjs +148 -0
  514. package/dist/src/utils/Theme/apply-theme.util.d.ts +65 -0
  515. package/dist/src/utils/Theme/apply-theme.util.js +125 -0
  516. package/dist/src/utils/Theme/token-name.util.cjs +47 -0
  517. package/dist/src/utils/Theme/token-name.util.d.ts +54 -0
  518. package/dist/src/utils/Theme/token-name.util.js +55 -0
  519. package/dist/src/utils/Transition/transition.util.d.ts +1 -1
  520. package/dist/src/utils/index.cjs +22 -0
  521. package/dist/src/utils/index.d.ts +2 -0
  522. package/dist/src/utils/index.js +2 -0
  523. package/package.json +22 -63
  524. package/CHANGELOG.md +0 -807
  525. package/README.md +0 -275
  526. package/dist/src/App.vue +0 -25
  527. package/dist/src/main.cjs +0 -7
  528. package/dist/src/main.d.ts +0 -1
  529. package/dist/src/main.js +0 -4
  530. /package/dist/src/components/{QRCode → QrCode}/index.cjs +0 -0
  531. /package/dist/src/components/{QRCode → QrCode}/index.js +0 -0
  532. /package/dist/src/{components/QRCode/index.d.ts → interfaces/App/app.interface.js} +0 -0
@@ -1,4 +1,4 @@
1
- import type { ICommonsComponentProps, ITagProps } from '../../interfaces';
1
+ import type { ICommonsComponentProps, ITagProps, ITypographyProps } from '../../interfaces';
2
2
  import type { TInlineEditInputType } from '../../types';
3
3
  /**
4
4
  * Signature of a validator passed to `<OrigamInlineEdit>` (and to the
@@ -11,6 +11,14 @@ import type { TInlineEditInputType } from '../../types';
11
11
  * resolves.
12
12
  */
13
13
  export type TInlineEditValidator = (value: string) => true | string | Promise<true | string>;
14
+ /**
15
+ * A single validation rule for `<OrigamInlineEdit>`. Matches the
16
+ * contract shared by all DS form fields (`IValidationProps.rules`):
17
+ * a function that receives the current string value and returns
18
+ * `true` when it passes, or an error message string when it fails.
19
+ * Async rules (returning a `Promise`) are supported.
20
+ */
21
+ export type TInlineEditRule = (value: string) => true | string | Promise<true | string>;
14
22
  /**
15
23
  * Props for `<OrigamInlineEdit>` — edit-in-place pattern.
16
24
  *
@@ -22,7 +30,7 @@ export type TInlineEditValidator = (value: string) => true | string | Promise<tr
22
30
  * is true) — wrapping a heavier component (TextField, …) is not
23
31
  * needed and would defeat the keyboard-driven UX.
24
32
  */
25
- export interface IInlineEditProps extends ICommonsComponentProps, ITagProps {
33
+ export interface IInlineEditProps extends ICommonsComponentProps, ITagProps, ITypographyProps {
26
34
  /**
27
35
  * Current value (v-model target). Accepts both `string` and
28
36
  * `number` for ergonomics — the internal draft is normalised to a
@@ -36,6 +44,19 @@ export interface IInlineEditProps extends ICommonsComponentProps, ITagProps {
36
44
  * `t()` if they need i18n.
37
45
  */
38
46
  placeholder?: string;
47
+ /**
48
+ * Array of validation rules using the standard DS contract
49
+ * (same as `OrigamTextField` / `OrigamInput` rules). Each rule
50
+ * is a function receiving the current string value and returning
51
+ * `true` (pass) or an error message string (fail). Rules are
52
+ * evaluated sequentially on confirm; the first failure surfaces
53
+ * as the inline error and blocks the commit.
54
+ *
55
+ * When both `rules` and `validate` are provided, `rules` are
56
+ * evaluated first. If any rule fails, `validate` is skipped.
57
+ * Only the first error message is displayed.
58
+ */
59
+ rules?: Array<TInlineEditRule>;
39
60
  /**
40
61
  * Validation callback. Returns `true` (or `Promise<true>`) when
41
62
  * the draft is acceptable, or an error message string that will
@@ -43,6 +64,9 @@ export interface IInlineEditProps extends ICommonsComponentProps, ITagProps {
43
64
  *
44
65
  * Sync validators run on every Enter / blur. Async validators
45
66
  * keep the editor open until the returned Promise settles.
67
+ *
68
+ * When both `rules` and `validate` are provided, `rules` are
69
+ * evaluated first. `validate` only runs if all rules pass.
46
70
  */
47
71
  validate?: TInlineEditValidator;
48
72
  /**
@@ -219,6 +243,11 @@ export interface IInlineEditSlots {
219
243
  * Options for the `useInlineEdit` composable.
220
244
  */
221
245
  export interface IUseInlineEditOptions {
246
+ /**
247
+ * Array of validation rules — evaluated in order before `validate`.
248
+ * First failure blocks the commit and surfaces the error message.
249
+ */
250
+ rules?: Array<TInlineEditRule>;
222
251
  /** Sync or async validator — see `TInlineEditValidator`. */
223
252
  validate?: TInlineEditValidator;
224
253
  /**
@@ -1,5 +1,5 @@
1
- import type { IAdjacentEmits, IAdjacentProps, IAdjacentSlots, IBorderProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IDimensionProps, IDirectionProps, IElevationProps, IFocusEmits, IMarginProps, IPaddingProps, IRoundedProps, ISizeProps, IValidationProps } from '../../interfaces';
2
- export interface IInputProps extends ICommonsComponentProps, IDensityProps, IPaddingProps, IMarginProps, IRoundedProps, IColorProps, IBgColorProps, IBorderProps, IElevationProps, IDimensionProps, IDirectionProps, IValidationProps, IAdjacentProps, ISizeProps {
1
+ import type { IAdjacentEmits, IAdjacentProps, IAdjacentSlots, IBorderProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IDimensionProps, IDirectionProps, IElevationProps, IFocusEmits, IMarginProps, IPaddingProps, IRoundedProps, ISizeProps, ITypographyProps, IValidationProps } from '../../interfaces';
2
+ export interface IInputProps extends ICommonsComponentProps, IDensityProps, IPaddingProps, IMarginProps, IRoundedProps, IColorProps, IBgColorProps, IBorderProps, IElevationProps, IDimensionProps, IDirectionProps, IValidationProps, IAdjacentProps, ISizeProps, ITypographyProps {
3
3
  centerAffix?: boolean;
4
4
  hideDetails?: boolean | string;
5
5
  hideSpinButtons?: boolean;
@@ -23,9 +23,10 @@ export interface IInputEmits extends ICommonsComponentEmits, IAdjacentEmits, IFo
23
23
  export interface IInputSlots extends IAdjacentSlots {
24
24
  default?: (data: {
25
25
  id: string;
26
+ messagesId: string;
26
27
  isDisabled: boolean;
27
28
  isDirty: boolean;
28
- isValid: boolean;
29
+ isValid: boolean | undefined;
29
30
  isReadonly: boolean;
30
31
  }) => any;
31
32
  messages?: (data: {
@@ -1,6 +1,6 @@
1
- import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IRoundedProps, ISizeProps } from '../../interfaces';
1
+ import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IRoundedProps, ISizeProps, ITypographyProps } from '../../interfaces';
2
2
  import type { TKbdVariant } from '../../types';
3
- export interface IKbdProps extends ICommonsComponentProps, IColorProps, IBgColorProps, ISizeProps, IBorderProps, IRoundedProps {
3
+ export interface IKbdProps extends ICommonsComponentProps, IColorProps, IBgColorProps, ISizeProps, IBorderProps, IRoundedProps, ITypographyProps {
4
4
  /** Single key label (e.g. "⌘", "Ctrl", "A"). Overridden by the default slot. */
5
5
  text?: string;
6
6
  /** Composed shortcut rendered as individual nested `<kbd>` elements (e.g. ['Ctrl', 'Shift', 'Z']). */
@@ -1,5 +1,5 @@
1
- import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, ICommonsComponentSlots, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
2
- export interface ILabelProps extends ICommonsComponentProps, IMarginProps, IPaddingProps, IBorderProps, IRoundedProps, IColorProps, IBgColorProps, ITagProps {
1
+ import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, ICommonsComponentSlots, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
2
+ export interface ILabelProps extends ICommonsComponentProps, IMarginProps, IPaddingProps, IBorderProps, IRoundedProps, IColorProps, IBgColorProps, ITagProps, ITypographyProps {
3
3
  text?: string;
4
4
  floating?: boolean;
5
5
  required?: boolean;
@@ -12,5 +12,8 @@ export interface IListActivatorProps extends ICommonsComponentProps, ITagProps {
12
12
  /** Emits fired by `<OrigamListGroup>` — click on the activator chrome
13
13
  * (used by parents to toggle the open state). */
14
14
  export interface IListGroupEmits {
15
- (e: 'click:activator', event: MouseEvent): void;
15
+ (e: 'click:activator', payload: {
16
+ open: boolean;
17
+ event: Event;
18
+ }): void;
16
19
  }
@@ -1,6 +1,6 @@
1
- import type { IActiveProps, IAdjacentEmits, IAdjacentProps, IBgColorProps, IBorderProps, IClickEmits, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IHoverProps, ILinkProps, IMarginProps, IPaddingProps, IRippleProps, IRoundedProps, ITagProps } from '../../interfaces';
1
+ import type { IActiveProps, IAdjacentEmits, IAdjacentProps, IBgColorProps, IBorderProps, IClickEmits, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IHoverProps, ILinkProps, IMarginProps, IPaddingProps, IRippleProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
2
2
  import type { TLines } from '../../types';
3
- export interface IListItemProps extends IBorderProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IRoundedProps, ITagProps, ILinkProps, IColorProps, IBgColorProps, IRippleProps, IPaddingProps, IMarginProps, IAdjacentProps, IActiveProps, IHoverProps {
3
+ export interface IListItemProps extends IBorderProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IRoundedProps, ITagProps, ILinkProps, IColorProps, IBgColorProps, IRippleProps, IPaddingProps, IMarginProps, IAdjacentProps, IActiveProps, IHoverProps, ITypographyProps {
4
4
  active?: boolean;
5
5
  activeClass?: string;
6
6
  disabled?: boolean;
@@ -1,5 +1,5 @@
1
- import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
2
- export interface IListSubheader extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IPaddingProps, IMarginProps, IBorderProps, IRoundedProps {
1
+ import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
2
+ export interface IListSubheader extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IPaddingProps, IMarginProps, IBorderProps, IRoundedProps, ITypographyProps {
3
3
  inset?: boolean;
4
4
  sticky?: boolean;
5
5
  title?: string;
@@ -87,16 +87,24 @@ export interface IMediaScrubberProps extends ICommonsComponentProps, IColorProps
87
87
  */
88
88
  formatHoverTooltip?: (value: number) => string;
89
89
  /**
90
- * Required accessibility label — read by screen readers when the
90
+ * Accessibility label — read by screen readers when the
91
91
  * scrubber gains focus. Always pass a translated string here.
92
+ * Declared optional to allow Volar to map the kebab-case `:aria-label`
93
+ * attribute from parent templates without a required-prop error.
92
94
  */
93
- ariaLabel: string;
95
+ ariaLabel?: string;
94
96
  /**
95
97
  * Optional human-readable representation of the current value
96
98
  * (e.g. `"1:23"` for a timestamp, `"45 %"` for a volume).
97
99
  * Mapped to `aria-valuetext`.
98
100
  */
99
101
  ariaValueText?: string;
102
+ /**
103
+ * Optional `data-cy` test selector forwarded by the parent
104
+ * (`OrigamMediaController`, `OrigamMediaVolumeControl`) as a
105
+ * camelCase Vue prop. Passed through `$attrs` to the host element.
106
+ */
107
+ dataCy?: string;
100
108
  }
101
109
  /**
102
110
  * Emits for `<OrigamMediaScrubber>`.
@@ -1,5 +1,5 @@
1
- import type { IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITransitionComponentProps } from '../../interfaces';
2
- export interface IMessagesProps extends ICommonsComponentProps, ITagProps, ITransitionComponentProps, IColorProps, IBorderProps, IPaddingProps, IMarginProps, IRoundedProps, IDensityProps, IElevationProps {
1
+ import type { IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITransitionComponentProps, ITypographyProps } from '../../interfaces';
2
+ export interface IMessagesProps extends ICommonsComponentProps, ITagProps, ITransitionComponentProps, IColorProps, IBorderProps, IPaddingProps, IMarginProps, IRoundedProps, IDensityProps, IElevationProps, ITypographyProps {
3
3
  active?: boolean;
4
4
  messages?: Array<string> | string;
5
5
  }
@@ -33,7 +33,7 @@ export interface INumberFieldSlots extends IFieldSlots, Omit<IInputSlots, 'defau
33
33
  id: string;
34
34
  isDisabled: boolean;
35
35
  isDirty: boolean;
36
- isValid: boolean;
36
+ isValid: boolean | undefined;
37
37
  isReadonly: boolean;
38
38
  }) => any;
39
39
  increment?: (data: {
@@ -1,37 +1,68 @@
1
+ import type { IOrigamTheme } from '../Theme/origam-theme.interface';
1
2
  /**
2
3
  * Options passed by a consumer in `nuxt.config.ts` under the `origam` key.
3
4
  *
4
5
  * All fields are optional — the module applies sensible defaults (see
5
- * `DEFAULTS` in `src/nuxt/module.ts`). Themes are auto-injected as CSS
6
- * imports; the active theme is resolved SSR-side via cookie and the
7
- * `Sec-CH-Prefers-Color-Scheme` client hint to avoid FOUC and hydration
8
- * mismatches.
6
+ * `DEFAULTS` in `src/nuxt/module.ts`). Themes are installed as runtime OBJECTS
7
+ * (ADR-004): the module passes the `themes` array straight through to the
8
+ * runtime config and on to `createOrigam` in the plugins, which inject each as
9
+ * a name×mode scoped `--origam-*` block. The theme-invariant `primitive` +
10
+ * `utilities` sheets are still loaded as CSS. Two orthogonal axes are resolved
11
+ * SSR-side to avoid FOUC: the brand `theme` (cookie) and the color `mode`
12
+ * (cookie + `Sec-CH-Prefers-Color-Scheme` hint).
13
+ *
14
+ * ADR-004 (Implemented): the DS ships exactly ONE neutral identity (the origam
15
+ * baseline). Brand themes live in the consuming app (e.g. the marketing
16
+ * package) and are passed here as `IOrigamTheme[]` objects authored in
17
+ * semantic JSON — the DS no longer resolves preset names or ships brand
18
+ * token sheets.
9
19
  */
10
20
  export interface IOrigamNuxtModuleOptions {
11
21
  /**
12
- * Theme names whose CSS file must be loaded. Each name must match a
13
- * generated `dist/src/assets/css/tokens/{theme}.css` exposed via
14
- * `origam/tokens/css/{theme}`.
22
+ * Themes to install, as `IOrigamTheme` objects (one per brand×mode). The
23
+ * objects are passed verbatim to `createOrigam`, which injects each as a
24
+ * scoped CSS-var block — no pre-generated per-theme CSS file is loaded.
25
+ * When omitted, `createOrigam` installs the DS built-in baseline (neutral identity).
26
+ */
27
+ themes?: IOrigamTheme[];
28
+ /**
29
+ * Theme (brand) applied when no cookie is set. Use `'auto'` to render no
30
+ * `data-theme` attribute (the default brand).
31
+ *
32
+ * @default 'auto'
33
+ */
34
+ defaultTheme?: string;
35
+ /**
36
+ * Color modes supported by the loaded token sheets. Used to validate the
37
+ * resolved mode before applying it.
15
38
  *
16
39
  * @default ['light', 'dark']
17
40
  */
18
- themes?: string[];
41
+ modes?: string[];
19
42
  /**
20
- * Theme applied when no cookie is set and no usable
43
+ * Color mode applied when no cookie is set and no usable
21
44
  * `Sec-CH-Prefers-Color-Scheme` hint is sent. Use `'auto'` to let the
22
45
  * server fall back to the client hint (or `'light'` if absent).
23
46
  *
24
47
  * @default 'auto'
25
48
  */
26
- defaultTheme?: string;
49
+ defaultMode?: string;
27
50
  /**
28
- * Cookie name used to persist the user's chosen theme across sessions.
51
+ * Cookie name used to persist the user's chosen theme (brand) across
52
+ * sessions.
29
53
  *
30
54
  * @default 'origam-theme'
31
55
  */
32
56
  cookieName?: string;
33
57
  /**
34
- * Cookie `max-age` in seconds.
58
+ * Cookie name used to persist the user's chosen color mode across
59
+ * sessions.
60
+ *
61
+ * @default 'origam-mode'
62
+ */
63
+ modeCookieName?: string;
64
+ /**
65
+ * Cookie `max-age` in seconds (shared by the theme and mode cookies).
35
66
  *
36
67
  * @default 31_536_000 (1 year)
37
68
  */
@@ -62,12 +93,21 @@ export interface IOrigamNuxtModuleOptions {
62
93
  }
63
94
  /**
64
95
  * Shape of the public runtime config exposed by the module on
65
- * `useRuntimeConfig().public.origam`. The plugins read this at boot to
66
- * resolve the active theme and configure the cookie.
96
+ * `useRuntimeConfig().public.origam`. The plugins read this at boot to install
97
+ * the theme objects, resolve the active theme/mode, and configure the cookies.
67
98
  */
68
99
  export interface IOrigamNuxtRuntimeConfig {
69
- themes: string[];
100
+ /**
101
+ * Installed `IOrigamTheme` objects, in install order. The plugins pass
102
+ * these straight to `createOrigam` (no preset-name resolution — ADR-004).
103
+ * A switcher derives its brand list from `useInstalledThemes()` rather than
104
+ * from this payload.
105
+ */
106
+ themes: IOrigamTheme[];
70
107
  defaultTheme: string;
108
+ modes: string[];
109
+ defaultMode: string;
71
110
  cookieName: string;
111
+ modeCookieName: string;
72
112
  cookieMaxAge: number;
73
113
  }
@@ -17,12 +17,14 @@ export interface IOtpInputFieldEmits extends IFieldEmits, IInputEmits {
17
17
  (e: 'mousedown:control', event: MouseEvent): void;
18
18
  (e: 'click:clear', event: MouseEvent): void;
19
19
  }
20
- export interface IOtpInputFieldSlots extends IFieldSlots, Omit<IInputSlots, 'default'> {
20
+ export interface IOtpInputFieldSlots extends Omit<IFieldSlots, 'default'>, Omit<IInputSlots, 'default'> {
21
+ /** Generic slot — no slot props. */
22
+ default?: () => any;
21
23
  field?: (data: {
22
24
  id: string;
23
25
  isDisabled: boolean;
24
26
  isDirty: boolean;
25
- isValid: boolean;
27
+ isValid: boolean | undefined;
26
28
  isReadonly: boolean;
27
29
  }) => any;
28
30
  }
@@ -1,6 +1,6 @@
1
- import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IElevationProps, IMarginProps, IPaddingProps, ISizeProps, ITagProps } from "../../interfaces";
2
- import type { TIcon } from "../../types";
3
- export interface IPaginationProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IBorderProps, IPaddingProps, IMarginProps, IElevationProps, ISizeProps, IDensityProps {
1
+ import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IElevationProps, IMarginProps, IPaddingProps, ISizeProps, ITagProps, ITypographyProps } from "../../interfaces";
2
+ import type { TColor, TIcon } from "../../types";
3
+ export interface IPaginationProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IBorderProps, IPaddingProps, IMarginProps, IElevationProps, ISizeProps, IDensityProps, ITypographyProps {
4
4
  start?: number;
5
5
  modelValue?: number;
6
6
  disabled?: boolean;
@@ -56,6 +56,21 @@ export interface IPaginationProps extends ICommonsComponentProps, ITagProps, ICo
56
56
  * (`"Next"` in English).
57
57
  */
58
58
  nextText?: string;
59
+ /**
60
+ * aria-label for the compact mode page number `<input>`. Falls back to
61
+ * the `origam.pagination.ariaLabel.pageNumber` i18n key.
62
+ *
63
+ * @default 'origam.pagination.ariaLabel.pageNumber'
64
+ */
65
+ pageNumberAriaLabel?: string;
66
+ /** @deprecated Use the `hover` object prop instead. Kept for back-compat. */
67
+ hoverColor?: TColor;
68
+ /** @deprecated Use the `hover` object prop instead. Kept for back-compat. */
69
+ hoverBgColor?: TColor;
70
+ /** @deprecated Use the `active` object prop instead. Kept for back-compat. */
71
+ activeColor?: TColor;
72
+ /** @deprecated Use the `active` object prop instead. Kept for back-compat. */
73
+ activeBgColor?: TColor;
59
74
  }
60
75
  /** Emits fired by `<OrigamPagination>` — current page v-model + the four
61
76
  * navigation shortcuts (first / prev / next / last). */
@@ -1,7 +1,7 @@
1
- import type { IAudioProps, IBorderProps, IBox, IBgColorProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, IParallaxLayerRegistry } from '../../interfaces';
1
+ import type { IAudioProps, IBorderProps, IBox, IBgColorProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, IParallaxLayerRegistry, IUseAudioProps } from '../../interfaces';
2
2
  import type { TParallaxDirection, TParallaxEasing, TParallaxEvent, TPoint } from '../../types';
3
3
  import type { Ref } from 'vue';
4
- export interface IParallaxProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IPaddingProps, IMarginProps, IBorderProps, IRoundedProps, IElevationProps, IDimensionProps, IAudioProps {
4
+ export interface IParallaxProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IPaddingProps, IMarginProps, IBorderProps, IRoundedProps, IElevationProps, IDimensionProps, IAudioProps, IUseAudioProps {
5
5
  /**
6
6
  * @deprecated Use `duration` instead. `animationDuration` is kept as a
7
7
  * silent alias for backwards-compat and will be removed in v3.0.0.
@@ -99,7 +99,7 @@ export interface IPasswordFieldSlots extends IFieldSlots, Omit<IInputSlots, 'def
99
99
  id: string;
100
100
  isDisabled: boolean;
101
101
  isDirty: boolean;
102
- isValid: boolean;
102
+ isValid: boolean | undefined;
103
103
  isReadonly: boolean;
104
104
  }) => any;
105
105
  }
@@ -1,4 +1,4 @@
1
- import type { IBgColorProps, IColorProps, ICommonsComponentProps, ITagProps } from "../../interfaces";
2
- export interface IPickerTitleProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps {
1
+ import type { IBgColorProps, IColorProps, ICommonsComponentProps, ITagProps, ITypographyProps } from "../../interfaces";
2
+ export interface IPickerTitleProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, ITypographyProps {
3
3
  title?: string;
4
4
  }
@@ -1,9 +1,9 @@
1
- import type { IColorProps, ICommonsComponentProps, IMarginProps, IPaddingProps, IProgressCircularProps, IProgressLinearProps, ITagProps } from '../../interfaces';
1
+ import type { IBgColorProps, IColorProps, ICommonsComponentProps, IMarginProps, IPaddingProps, IProgressCircularProps, IProgressLinearProps, ITagProps } from '../../interfaces';
2
2
  import type { TProgressType } from '../../types';
3
3
  export interface IProgressProps extends IProgressLinearProps, IProgressCircularProps {
4
4
  type?: TProgressType;
5
5
  }
6
- export interface IProgressTypeProps extends ITagProps, ICommonsComponentProps, IColorProps, IPaddingProps, IMarginProps {
6
+ export interface IProgressTypeProps extends ITagProps, ICommonsComponentProps, IColorProps, IBgColorProps, IPaddingProps, IMarginProps {
7
7
  indeterminate?: boolean;
8
8
  modelValue?: string | number;
9
9
  thickness?: string | number;
@@ -11,4 +11,10 @@ export interface IProgressTypeProps extends ITagProps, ICommonsComponentProps, I
11
11
  absolute?: boolean;
12
12
  max?: number | string;
13
13
  striped?: boolean;
14
+ /**
15
+ * Accessible label for the progress bar (aria-label). When omitted,
16
+ * defaults to `'Loading'`. Pass a localised string via your i18n
17
+ * provider or the parent component's `labels` mechanism.
18
+ */
19
+ label?: string;
14
20
  }
@@ -5,6 +5,7 @@ export interface IRatingFieldItemProps extends ICommonsComponentProps, ITagProps
5
5
  index?: number;
6
6
  value: number;
7
7
  label?: string;
8
+ itemAriaLabel?: string;
8
9
  showStar?: boolean;
9
10
  isFilled?: boolean;
10
11
  isHovered?: boolean;
@@ -15,7 +16,7 @@ export interface IRatingFieldItemProps extends ICommonsComponentProps, ITagProps
15
16
  emptyIcon?: TIcon;
16
17
  halfIncrements?: boolean;
17
18
  checked?: boolean;
18
- length?: number;
19
+ length?: number | string;
19
20
  }
20
21
  /** Emits fired by `<OrigamRatingFieldItem>` — click + hover surface
21
22
  * (pointer enter / leave drive the half-rating preview). */
@@ -3,7 +3,8 @@ import type { TIcon } from '../../types';
3
3
  import { Ref } from 'vue';
4
4
  export interface ISelectionControlGroupProps extends ICommonsComponentProps, IColorProps, IDensityProps, IRippleProps {
5
5
  disabled?: boolean;
6
- error?: boolean;
6
+ /** Error state. Accepts `boolean` or a `string` error message (same contract as `IValidationProps`). */
7
+ error?: string | boolean;
7
8
  inline?: boolean;
8
9
  falseIcon?: TIcon;
9
10
  trueIcon?: TIcon;
@@ -1,17 +1,35 @@
1
- import type { IActiveProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, ISelectionControlGroupProps, IHoverProps } from '../../interfaces';
2
- import type { TIcon } from '../../types';
3
- export interface ISelectionControlProps extends ICommonsComponentProps, Partial<Omit<ISelectionControlGroupProps, 'items'>>, IColorProps, IBgColorProps, IActiveProps, IHoverProps {
1
+ import type { IActiveProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, ISelectionControlGroupProps, IHoverProps } from '../../interfaces';
2
+ import type { TColor, TIcon } from '../../types';
3
+ export interface ISelectionControlProps extends ICommonsComponentProps, Partial<Omit<ISelectionControlGroupProps, 'items'>>, IColorProps, IBgColorProps, IActiveProps, IHoverProps, IDensityProps {
4
4
  label?: string;
5
5
  trueValue?: any;
6
6
  falseValue?: any;
7
7
  value?: any;
8
8
  required?: boolean;
9
+ /** @deprecated Use the `active` object prop instead. Kept for back-compat. */
10
+ activeColor?: TColor;
11
+ /** @deprecated Use the `active` object prop instead. Kept for back-compat. */
12
+ activeBgColor?: TColor;
9
13
  }
10
14
  export interface ISelectionControlEmits extends ICommonsComponentEmits {
11
15
  (e: 'click:label', event: MouseEvent): void;
12
16
  }
13
17
  export interface ISelectionControlSlots {
14
- default?: (model: any, icon: TIcon, props: any) => any;
18
+ default?: (data: {
19
+ model: any;
20
+ color?: TColor;
21
+ bgColor?: TColor;
22
+ icon?: TIcon;
23
+ props: any;
24
+ }) => any;
15
25
  label?: () => any;
16
- input?: (props: any, icon: TIcon, model: any) => any;
26
+ input?: (data: {
27
+ model: any;
28
+ color?: TColor;
29
+ bgColor?: TColor;
30
+ icon?: TIcon;
31
+ props: any;
32
+ textColorStyles?: any;
33
+ backgroundColorStyles?: any;
34
+ }) => any;
17
35
  }
@@ -1,6 +1,6 @@
1
- import type { IActiveProps, IBorderProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, IHoverProps, ILocationProps, IMarginProps, IPaddingProps, IPositionProps, IRoundedProps, ITagProps } from '../../interfaces';
1
+ import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, IHoverProps, ILocationProps, IMarginProps, IPaddingProps, IPositionProps, IRoundedProps, ITagProps } from '../../interfaces';
2
2
  import type { TDirectionBoth, TSheetSnapId, TSheetSnapPoint } from '../../types';
3
- export interface ISheetProps extends ITagProps, ICommonsComponentProps, IPaddingProps, IMarginProps, IColorProps, IBorderProps, IRoundedProps, IElevationProps, IDimensionProps, ILocationProps, IPositionProps, IActiveProps, IHoverProps {
3
+ export interface ISheetProps extends ITagProps, ICommonsComponentProps, IPaddingProps, IMarginProps, IColorProps, IBgColorProps, IBorderProps, IRoundedProps, IElevationProps, IDimensionProps, ILocationProps, IPositionProps, IActiveProps, IHoverProps {
4
4
  /**
5
5
  * Edge the sheet is anchored to. Drives the bottom-swipe gesture
6
6
  * (only `'bottom'` activates the touch-drag handle today; the other
@@ -1,4 +1,4 @@
1
- import type { ICommonsComponentProps } from '../../interfaces';
1
+ import type { ICommonsComponentProps, ITypographyProps } from '../../interfaces';
2
2
  import type { TIcon, TIntent } from '../../types';
3
3
  import type { ISnackbarGroupItemAction } from '../../interfaces';
4
4
  /**
@@ -17,7 +17,7 @@ import type { ISnackbarGroupItemAction } from '../../interfaces';
17
17
  * Both `OrigamSnackbar` and `OrigamSnackbarGroup` consume this component
18
18
  * so all visual intent / layout logic lives in one place only.
19
19
  */
20
- export interface ISnackbarItemProps extends ICommonsComponentProps {
20
+ export interface ISnackbarItemProps extends ICommonsComponentProps, ITypographyProps {
21
21
  /**
22
22
  * Semantic intent — drives icon defaults and surface colouring via
23
23
  * `--origam-color__feedback--{intent}---*` tokens.
@@ -1,4 +1,4 @@
1
- import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, ILayoutItemProps, IRoundedProps, ITagProps } from "../../interfaces";
2
- export interface ISystemBarProps extends ICommonsComponentProps, ITagProps, IElevationProps, IColorProps, IBgColorProps, ILayoutItemProps, IRoundedProps, IBorderProps, IDimensionProps {
1
+ import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, ILayoutItemProps, IRoundedProps, ITagProps, ITypographyProps } from "../../interfaces";
2
+ export interface ISystemBarProps extends ICommonsComponentProps, ITagProps, IElevationProps, IColorProps, IBgColorProps, ILayoutItemProps, IRoundedProps, IBorderProps, IDimensionProps, ITypographyProps {
3
3
  window?: boolean;
4
4
  }
@@ -1,5 +1,5 @@
1
- import type { IBorderProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IHoverProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
2
- export interface ITableProps extends ICommonsComponentProps, IBorderProps, IRoundedProps, IElevationProps, IPaddingProps, IMarginProps, IHoverProps, IDimensionProps, IDensityProps, ITagProps {
1
+ import type { IBorderProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IHoverProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
2
+ export interface ITableProps extends ICommonsComponentProps, IBorderProps, IRoundedProps, IElevationProps, IPaddingProps, IMarginProps, IHoverProps, IDimensionProps, IDensityProps, ITagProps, ITypographyProps {
3
3
  fixedHeader?: boolean;
4
4
  fixedFooter?: boolean;
5
5
  caption?: string;
@@ -1,4 +1,4 @@
1
- import type { ICommonsComponentProps, IGroupItemProps, ITagProps } from '../../interfaces';
1
+ import type { ICommonsComponentProps, IGroupItemProps, ITagProps, ITypographyProps } from '../../interfaces';
2
2
  import type { TIcon } from '../../types';
3
3
  /**
4
4
  * Props for `<OrigamTab>` — a single registered tab inside an
@@ -10,8 +10,13 @@ import type { TIcon } from '../../types';
10
10
  * ARIA wiring (`role="tab"`, `aria-selected`, `aria-controls`, `id`,
11
11
  * `tabindex`) is computed inside the component — consumers only
12
12
  * provide `value` (the canonical identifier) and `disabled`.
13
+ *
14
+ * Typography props (`fontSize`, `fontWeight`, `letterSpacing`) override
15
+ * the matching `--origam-tabs__item---*` variables on the tab element.
16
+ * `lineHeight` is intentionally excluded — the SCSS hard-codes `line-height: 1`
17
+ * with no CSS-var hook.
13
18
  */
14
- export interface ITabProps extends ICommonsComponentProps, ITagProps, IGroupItemProps {
19
+ export interface ITabProps extends ICommonsComponentProps, ITagProps, IGroupItemProps, ITypographyProps {
15
20
  tag?: string;
16
21
  icon?: TIcon;
17
22
  appendIcon?: TIcon;
@@ -53,7 +53,7 @@ export interface ITextFieldSlots extends IFieldSlots, Omit<IInputSlots, 'default
53
53
  id: string;
54
54
  isDisabled: boolean;
55
55
  isDirty: boolean;
56
- isValid: boolean;
56
+ isValid: boolean | undefined;
57
57
  isReadonly: boolean;
58
58
  }) => any;
59
59
  }
@@ -1,4 +1,4 @@
1
- import type { ICommonsComponentProps, IGradient, ITagProps } from '../../interfaces';
1
+ import type { ICommonsComponentProps, IGradient, ITagProps, ITypographyProps } from '../../interfaces';
2
2
  import type { TBlockquoteAlign, TTextMaskAnimation } from '../../types';
3
3
  /**
4
4
  * Props for `<OrigamTextMask>` — typographic "window" component.
@@ -16,8 +16,13 @@ import type { TBlockquoteAlign, TTextMaskAnimation } from '../../types';
16
16
  *
17
17
  * The text content is preserved in the DOM (visible to screen readers
18
18
  * and search engines) — the visual transform is purely CSS.
19
+ *
20
+ * Typography is handled via the shared {@link ITypographyProps} surface:
21
+ * pass token keys (`fontSize="5xl"`, `fontWeight="black"`, …) to override
22
+ * the component's default values; when a prop is unset the SCSS fallback
23
+ * token (`--origam-text-mask---font-size-default`, …) stays in control.
19
24
  */
20
- export interface ITextMaskProps extends ICommonsComponentProps, ITagProps {
25
+ export interface ITextMaskProps extends ICommonsComponentProps, ITagProps, ITypographyProps {
21
26
  /**
22
27
  * Text to mask. Ignored when the `default` slot is provided.
23
28
  *
@@ -64,37 +69,6 @@ export interface ITextMaskProps extends ICommonsComponentProps, ITagProps {
64
69
  * @default 'pan'
65
70
  */
66
71
  animationType?: TTextMaskAnimation;
67
- /**
68
- * `font-size` of the masked text. Numbers are interpreted as `px`.
69
- *
70
- * @default 'inherit'
71
- */
72
- fontSize?: string | number;
73
- /**
74
- * `font-weight` of the masked text. Accepts numeric weights (100–900)
75
- * or keywords (`'bold'`, `'normal'`, …).
76
- *
77
- * @default 'inherit'
78
- */
79
- fontWeight?: string | number;
80
- /**
81
- * `font-family` stack applied to the masked text.
82
- *
83
- * @default 'inherit'
84
- */
85
- fontFamily?: string;
86
- /**
87
- * `line-height` applied to the masked text. Tight by default so the
88
- * glyph baseline aligns nicely on large display text.
89
- *
90
- * @default 1.1
91
- */
92
- lineHeight?: string | number;
93
- /**
94
- * `letter-spacing` applied to the masked text. Optional — defaults to
95
- * the CSS initial value (i.e. inherits from the document).
96
- */
97
- letterSpacing?: string;
98
72
  /**
99
73
  * `text-align` of the masked content.
100
74
  *
@@ -1,6 +1,6 @@
1
- import type { IAdjacentInnerProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IFieldEmits, IFieldProps, IFieldSlots, IInputEmits, IInputProps, IInputSlots, IMarginProps, IPaddingProps, IRoundedProps, ITextareaToolbarSlotProps } from '../../interfaces';
1
+ import type { IAdjacentInnerProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IFieldEmits, IFieldProps, IFieldSlots, IInputEmits, IInputProps, IInputSlots, IMarginProps, IPaddingProps, IRoundedProps, ITextareaToolbarSlotProps, ITypographyProps } from '../../interfaces';
2
2
  import type { TTextareaMode, TTextareaOutput, TTextareaToolbarCommand, TTextareaToolbarPosition } from '../../types';
3
- export interface ITextareaFieldProps extends ICommonsComponentProps, IColorProps, IDensityProps, IFieldProps, IInputProps, IPaddingProps, IMarginProps, IBorderProps, IRoundedProps, IElevationProps, IAdjacentInnerProps {
3
+ export interface ITextareaFieldProps extends ICommonsComponentProps, IColorProps, IDensityProps, IFieldProps, IInputProps, IPaddingProps, IMarginProps, IBorderProps, IRoundedProps, IElevationProps, IAdjacentInnerProps, ITypographyProps {
4
4
  autoGrow?: boolean;
5
5
  autofocus?: boolean;
6
6
  counter?: boolean | number | string;
@@ -65,7 +65,7 @@ export interface ITextareaFieldSlots extends IFieldSlots, Omit<IInputSlots, 'def
65
65
  id: string;
66
66
  isDisabled: boolean;
67
67
  isDirty: boolean;
68
- isValid: boolean;
68
+ isValid: boolean | undefined;
69
69
  isReadonly: boolean;
70
70
  }) => any;
71
71
  /** Replace the rich-text toolbar entirely (rich mode only). */
@@ -0,0 +1 @@
1
+ "use strict";