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
@@ -35,7 +35,7 @@
35
35
  </component>
36
36
  </template>
37
37
 
38
- <script setup>
38
+ <script lang="ts" setup>
39
39
  import { computed, ref, StyleValue } from "vue";
40
40
  import { OrigamBtn } from "../../components";
41
41
  import { useLocale, useProps, useStyle } from "../../composables";
@@ -45,6 +45,7 @@ const props = defineProps({
45
45
  index: { type: Number, required: false, default: -1 },
46
46
  value: { type: Number, required: true },
47
47
  label: { type: String, required: false },
48
+ itemAriaLabel: { type: String, required: false, default: "origam.rating.ariaLabel.item" },
48
49
  showStar: { type: Boolean, required: false, default: true },
49
50
  isFilled: { type: Boolean, required: false },
50
51
  isHovered: { type: Boolean, required: false },
@@ -55,7 +56,7 @@ const props = defineProps({
55
56
  emptyIcon: { type: null, required: false, default: MDI_ICONS.STAR_OUTLINE },
56
57
  halfIncrements: { type: Boolean, required: false },
57
58
  checked: { type: Boolean, required: false },
58
- length: { type: Number, required: false },
59
+ length: { type: [Number, String], required: false },
59
60
  id: { type: String, required: false },
60
61
  class: { type: [String, Array, Object], required: false },
61
62
  style: { type: [String, Array, Object, Boolean, null], required: false, skipCheck: true },
@@ -166,10 +167,6 @@ defineExpose({
166
167
  width: 0;
167
168
  }
168
169
 
169
- &--full {
170
-
171
- }
172
-
173
170
  &--half {
174
171
  overflow: hidden;
175
172
  position: absolute;
@@ -17,7 +17,7 @@
17
17
  </div>
18
18
  </template>
19
19
 
20
- <script setup>
20
+ <script lang="ts" setup>
21
21
  import { computed, StyleValue, useSlots } from "vue";
22
22
  import {
23
23
  useAspectRatio,
@@ -4,6 +4,6 @@
4
4
  </div>
5
5
  </template>
6
6
 
7
- <script setup>
7
+ <script lang="ts" setup>
8
8
 
9
9
  </script>
@@ -83,8 +83,8 @@
83
83
  <template #default>
84
84
  <origam-list
85
85
  v-if="hasList"
86
- ref="origamListRef"
87
86
  :id="listboxId"
87
+ ref="origamListRef"
88
88
  :select-strategy="multiple ? SELECT_STRATEGY.INDEPENDENT : SELECT_STRATEGY.SINGLE_INDEPENDENT"
89
89
  :selected="selectedValues"
90
90
  :tabindex="-1"
@@ -149,13 +149,13 @@
149
149
  </template>
150
150
  <template v-else>
151
151
  <span class="origam-select__unmask">
152
- {{ item.title.substr(0, getMatches(item)?.title) }}
152
+ {{ item.title.substr(0, getMatchStart(item)) }}
153
153
  </span>
154
154
  <span class="origam-select__mask">
155
- {{ item.title.substr(getMatches(item)?.title, search.length) }}
155
+ {{ item.title.substr(getMatchStart(item), getSearchLength()) }}
156
156
  </span>
157
157
  <span class="origam-select__unmask">
158
- {{ item.title.substr(getMatches(item)?.title + search.length) }}
158
+ {{ item.title.substr(getMatchStart(item) + getSearchLength()) }}
159
159
  </span>
160
160
  </template>
161
161
  </template>
@@ -260,7 +260,7 @@
260
260
  </origam-text-field>
261
261
  </template>
262
262
 
263
- <script setup>
263
+ <script lang="ts" setup>
264
264
  import {
265
265
  computed,
266
266
  getCurrentInstance,
@@ -359,6 +359,8 @@ const props = defineProps({
359
359
  reverse: { type: Boolean, required: false },
360
360
  singleLine: { type: Boolean, required: false },
361
361
  required: { type: Boolean, required: false },
362
+ activeColor: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
363
+ activeBgColor: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
362
364
  loading: { type: [Boolean, Number, Object], required: false },
363
365
  loadingText: { type: String, required: false },
364
366
  tag: { type: String, required: false },
@@ -400,6 +402,11 @@ const props = defineProps({
400
402
  roundedTopLeft: { type: [Boolean, Number, String], required: false },
401
403
  roundedBottomLeft: { type: [Boolean, Number, String], required: false },
402
404
  roundedBottomRight: { type: [Boolean, Number, String], required: false },
405
+ fontFamily: { type: String, required: false },
406
+ fontSize: { type: String, required: false },
407
+ fontWeight: { type: String, required: false },
408
+ lineHeight: { type: String, required: false },
409
+ letterSpacing: { type: String, required: false },
403
410
  active: { type: [Boolean, Object], required: false },
404
411
  activeClass: { type: String, required: false },
405
412
  variant: { type: null, required: false },
@@ -438,8 +445,8 @@ const props = defineProps({
438
445
  transition: { type: [Boolean, String, Object], required: false, default: () => ({ component: OrigamTranslateScale }) },
439
446
  customFilter: { type: Function, required: false },
440
447
  customKeyFilter: { type: Object, required: false },
441
- filterKeys: { type: [String, Array], required: true, default: () => ["title"] },
442
- filterMode: { type: null, required: true, default: FILTERS_MODE.INTERSECTION },
448
+ filterKeys: { type: [String, Array], required: false, default: () => ["title"] },
449
+ filterMode: { type: null, required: false, default: FILTERS_MODE.INTERSECTION },
443
450
  noFilter: { type: Boolean, required: false },
444
451
  eager: { type: Boolean, required: false }
445
452
  });
@@ -557,6 +564,8 @@ const menuListItemProps = (item, itemRef, index) => {
557
564
  const isSelected = (item) => {
558
565
  return selectedValues.value.includes(item.value);
559
566
  };
567
+ const getMatchStart = (item) => Number(getMatches(item)?.title ?? 0);
568
+ const getSearchLength = () => (search.value ?? "").length;
560
569
  const {
561
570
  onListScroll: handleListScroll,
562
571
  onListKeydown: handleListKeydown
@@ -612,8 +621,8 @@ const handleMousedownMenuIcon = (e) => {
612
621
  if (isFocused.value) {
613
622
  e.preventDefault();
614
623
  e.stopPropagation();
624
+ menu.value = !menu.value;
615
625
  }
616
- menu.value = !menu.value;
617
626
  };
618
627
  const handleKeydown = (e) => {
619
628
  if (!e.key || props.readonly || form?.isReadonly.value) return;
@@ -674,13 +683,13 @@ const handleKeydown = (e) => {
674
683
  }
675
684
  if (!props.multiple) return;
676
685
  if (e.key === KEYBOARD_VALUES.LEFT) {
677
- if (selectionIndex.value < 0 && selectionStart > 0) return;
686
+ if (selectionIndex.value < 0 && (selectionStart ?? 0) > 0) return;
678
687
  const prev = selectionIndex.value > -1 ? selectionIndex.value - 1 : length - 1;
679
688
  if (model.value[prev]) {
680
689
  selectionIndex.value = prev;
681
690
  } else {
682
691
  selectionIndex.value = -1;
683
- origamTextFieldRef.value?.setSelectionRange(search.value?.length, search.value?.length);
692
+ origamTextFieldRef.value?.setSelectionRange(search.value?.length ?? null, search.value?.length ?? null);
684
693
  }
685
694
  }
686
695
  if (e.key === KEYBOARD_VALUES.RIGHT) {
@@ -64,7 +64,7 @@
64
64
  </div>
65
65
  </template>
66
66
 
67
- <script setup>
67
+ <script lang="ts" setup>
68
68
  import { computed, inject, nextTick, ref, shallowRef, StyleValue, useAttrs } from "vue";
69
69
  import { ORIGAM_SELECTION_CONTROL_GROUP_KEY } from "../../consts";
70
70
  import { OrigamIcon, OrigamLabel } from "../../components";
@@ -86,11 +86,13 @@ const _props = defineProps({
86
86
  falseValue: { type: null, required: false },
87
87
  value: { type: null, required: false },
88
88
  required: { type: Boolean, required: false },
89
+ activeColor: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
90
+ activeBgColor: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
89
91
  id: { type: String, required: false },
90
92
  class: { type: [String, Array, Object], required: false },
91
93
  style: { type: [String, Array, Object, Boolean, null], required: false, skipCheck: true },
92
94
  disabled: { type: Boolean, required: false },
93
- error: { type: Boolean, required: false },
95
+ error: { type: [String, Boolean], required: false },
94
96
  inline: { type: Boolean, required: false },
95
97
  falseIcon: { type: null, required: false },
96
98
  trueIcon: { type: null, required: false },
@@ -263,8 +265,8 @@ defineExpose(forwardRefs({
263
265
  }
264
266
 
265
267
  &__wrapper {
266
- width: calc(40px + 1.5 * var(--origam-selection-control--density));
267
- height: calc(40px + 1.5 * var(--origam-selection-control--density));
268
+ width: calc(40px + 1.5 * var(--origam-selection-control--density, 0px));
269
+ height: calc(40px + 1.5 * var(--origam-selection-control--density, 0px));
268
270
  display: inline-flex;
269
271
  align-items: center;
270
272
  position: relative;
@@ -273,8 +275,8 @@ defineExpose(forwardRefs({
273
275
  }
274
276
 
275
277
  &__input {
276
- width: calc(40px + 1.5 * var(--origam-selection-control--density));
277
- height: calc(40px + 1.5 * var(--origam-selection-control--density));
278
+ width: calc(40px + 1.5 * var(--origam-selection-control--density, 0px));
279
+ height: calc(40px + 1.5 * var(--origam-selection-control--density, 0px));
278
280
  align-items: center;
279
281
  display: flex;
280
282
  flex: none;
@@ -382,5 +384,9 @@ defineExpose(forwardRefs({
382
384
  &--density-compact {
383
385
  --origam-selection-control--density: -8px;
384
386
  }
387
+
388
+ &--density-comfortable {
389
+ --origam-selection-control--density: 8px;
390
+ }
385
391
  }
386
392
  </style>
@@ -29,7 +29,7 @@
29
29
  </div>
30
30
  </template>
31
31
 
32
- <script setup>
32
+ <script lang="ts" setup>
33
33
  import { computed, onScopeDispose, provide, StyleValue } from "vue";
34
34
  import { OrigamDefaultsProvider } from "../../components";
35
35
  import {
@@ -42,7 +42,7 @@ import { DENSITY } from "../../enums";
42
42
  import { getUid } from "../../utils";
43
43
  const props = defineProps({
44
44
  disabled: { type: Boolean, required: false },
45
- error: { type: Boolean, required: false },
45
+ error: { type: [String, Boolean], required: false },
46
46
  inline: { type: Boolean, required: false },
47
47
  falseIcon: { type: null, required: false },
48
48
  trueIcon: { type: null, required: false },
@@ -16,6 +16,8 @@
16
16
  tabindex="0"
17
17
  aria-label="Drag handle"
18
18
  data-cy="sheet-bottom-handle"
19
+ @keydown.enter.prevent="onActive"
20
+ @keydown.space.prevent="onActive"
19
21
  >
20
22
  <span class="origam-sheet__handle-pill"/>
21
23
  </div>
@@ -24,7 +26,7 @@
24
26
  </component>
25
27
  </template>
26
28
 
27
- <script setup>
29
+ <script lang="ts" setup>
28
30
  import { computed, ref, StyleValue, toRef, watch } from "vue";
29
31
  import {
30
32
  useActive,
@@ -65,6 +67,7 @@ const props = defineProps({
65
67
  marginBlock: { type: [Boolean, Number, String], required: false },
66
68
  marginInline: { type: [Boolean, Number, String], required: false },
67
69
  color: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
70
+ bgColor: { type: [String, Object, Boolean, null], required: false, skipCheck: true },
68
71
  border: { type: [Boolean, Number, String, Array], required: false, skipCheck: true },
69
72
  borderTop: { type: [Boolean, Number, String], required: false },
70
73
  borderLeft: { type: [Boolean, Number, String], required: false },
@@ -98,7 +101,10 @@ const props = defineProps({
98
101
  });
99
102
  const emit = defineEmits(["update:snap", "update:open"]);
100
103
  const { filterProps } = useProps(props);
101
- const { colorClasses, colorStyles } = useBothColor(toRef(props, "bgColor"), toRef(props, "color"));
104
+ const { colorClasses, colorStyles } = useBothColor(
105
+ toRef(props, "bgColor"),
106
+ toRef(props, "color")
107
+ );
102
108
  const { isHover, hoverState, hoverClasses, onMouseenter, onMouseleave } = useHover(props);
103
109
  const { isActive, activeState, activeClasses, onActive } = useActive(props);
104
110
  const {
@@ -261,6 +267,8 @@ defineExpose({
261
267
  margin-inline-end: var(--origam-sheet---margin-inline-end);
262
268
 
263
269
  background: var(--origam-sheet---background);
270
+ backdrop-filter: var(--origam-sheet---backdrop-filter, none);
271
+ -webkit-backdrop-filter: var(--origam-sheet---backdrop-filter, none);
264
272
  box-shadow: var(--origam-sheet---box-shadow);
265
273
  color: var(--origam-sheet---color);
266
274
 
@@ -269,7 +277,7 @@ defineExpose({
269
277
  --origam-sheet---border-right-width: var(--origam-border__width---thin, 1px);
270
278
  --origam-sheet---border-bottom-width: var(--origam-border__width---thin, 1px);
271
279
  --origam-sheet---border-left-width: var(--origam-border__width---thin, 1px);
272
- box-shadow: var(--origam-sheet--border---box-shadow);
280
+ box-shadow: var(--origam-sheet--border---box-shadow, var(--origam-sheet---box-shadow));
273
281
  }
274
282
 
275
283
  &--rounded {
@@ -45,7 +45,7 @@
45
45
  />
46
46
  </template>
47
47
 
48
- <script setup>
48
+ <script lang="ts" setup>
49
49
  import {
50
50
  useBothColor,
51
51
  useProps,
@@ -115,9 +115,7 @@ const skeletonContainerClasses = computed(() => [
115
115
  `origam-skeleton-wrapper--${props.variant}`,
116
116
  props.class
117
117
  ]);
118
- const skeletonContainerStyles = computed(() => [
119
- props.style
120
- ]);
118
+ const skeletonContainerStyles = computed(() => [props.style]);
121
119
  const skeletonClasses = computed(() => [
122
120
  "origam-skeleton",
123
121
  `origam-skeleton--${props.variant}`,
@@ -56,7 +56,7 @@
56
56
  </component>
57
57
  </template>
58
58
 
59
- <script setup>
59
+ <script lang="ts" setup>
60
60
  import { computed, shallowRef, StyleValue, watch } from "vue";
61
61
  import { OrigamFade, OrigamIcon } from "../../components";
62
62
  import {
@@ -418,7 +418,7 @@
418
418
  </section>
419
419
  </template>
420
420
 
421
- <script setup>
421
+ <script lang="ts" setup>
422
422
  import { computed, ref, StyleValue, useSlots, WritableComputedRef } from "vue";
423
423
  import { OrigamInput, OrigamLabel, OrigamSliderFieldTrack } from "../../components";
424
424
  import {
@@ -516,6 +516,11 @@ const props = defineProps({
516
516
  prependAvatar: { type: String, required: false },
517
517
  prependIcon: { type: null, required: false },
518
518
  size: { type: null, required: false },
519
+ fontFamily: { type: String, required: false },
520
+ fontSize: { type: String, required: false },
521
+ fontWeight: { type: String, required: false },
522
+ lineHeight: { type: String, required: false },
523
+ letterSpacing: { type: String, required: false },
519
524
  ripple: { type: [Boolean, Object], required: false }
520
525
  });
521
526
  const emits = defineEmits(["start", "end", "update:modelValue", "update:focused"]);
@@ -704,11 +709,7 @@ const handleSingleInput = (e) => {
704
709
  const v = roundValue(target.value);
705
710
  model.value = v;
706
711
  };
707
- const handleSingleChange = (e) => {
708
- const target = e.target;
709
- const v = roundValue(target.value);
710
- model.value = v;
711
- };
712
+ const handleSingleChange = handleSingleInput;
712
713
  const handleRangeStartInput = (e) => {
713
714
  const target = e.target;
714
715
  lastInteracted.value = "start";
@@ -47,7 +47,7 @@
47
47
  </div>
48
48
  </template>
49
49
 
50
- <script setup>
50
+ <script lang="ts" setup>
51
51
  import { computed, StyleValue, useSlots } from "vue";
52
52
  import {
53
53
  useBackgroundColor,
@@ -74,7 +74,7 @@
74
74
  </origam-overlay>
75
75
  </template>
76
76
 
77
- <script setup>
77
+ <script lang="ts" setup>
78
78
  import {
79
79
  computed,
80
80
  inject,
@@ -83,7 +83,6 @@ import {
83
83
  ref,
84
84
  shallowRef,
85
85
  StyleValue,
86
- toRef,
87
86
  useSlots,
88
87
  watch,
89
88
  watchEffect
@@ -202,7 +201,7 @@ const slots = useSlots();
202
201
  const isActive = useVModel(props, "modelValue");
203
202
  const { positionClasses } = usePosition(props);
204
203
  const { scopeId } = useScopeId();
205
- const { icon, statusClasses } = useStatus(props);
204
+ const { icon, statusClasses, statusIntent } = useStatus(props);
206
205
  const origamOverlayRef = ref();
207
206
  const isHovering = shallowRef(false);
208
207
  const startY = shallowRef(0);
@@ -253,7 +252,9 @@ const snackbarIntent = computed(() => {
253
252
  if (!props.status) return void 0;
254
253
  return props.status;
255
254
  });
256
- const { colorClasses, colorStyles } = useBothColor(toRef(props, "bgColor"), toRef(props, "color"));
255
+ const statusBgColor = computed(() => statusIntent.value ?? props.bgColor);
256
+ const statusColor = computed(() => statusIntent.value ? void 0 : props.color);
257
+ const { colorClasses, colorStyles } = useBothColor(statusBgColor, statusColor);
257
258
  const {
258
259
  roundedClasses,
259
260
  roundedStyles,
@@ -35,7 +35,7 @@
35
35
  </teleport>
36
36
  </template>
37
37
 
38
- <script setup>
38
+ <script lang="ts" setup>
39
39
  import { computed, ref, StyleValue } from "vue";
40
40
  import OrigamSnackbarItem from "./OrigamSnackbarItem.vue";
41
41
  import { useProps, useStyle } from "../../composables";
@@ -1,10 +1,12 @@
1
1
  <template>
2
2
  <div
3
+ v-contrast
3
4
  :aria-atomic="true"
4
5
  :aria-live="resolvedAriaLive"
5
6
  :class="itemClasses"
6
7
  :data-cy="dataCy"
7
8
  :role="resolvedRole"
9
+ :style="typographyStyles"
8
10
  >
9
11
  <div class="origam-snackbar-item__content">
10
12
  <div
@@ -43,39 +45,37 @@
43
45
  class="origam-snackbar-item__actions"
44
46
  >
45
47
  <slot name="actions">
46
- <button
48
+ <origam-btn
47
49
  v-for="(action, index) in actions"
48
50
  :key="index"
49
- :class="actionClasses(action)"
51
+ :color="action.intent ?? 'primary'"
50
52
  :data-cy="`${dataCy}-action-${index}`"
51
- type="button"
53
+ :text="action.label"
54
+ class="origam-snackbar-item__action"
55
+ variant="text"
52
56
  @click="handleActionClick(action)"
53
- >
54
- {{ action.label }}
55
- </button>
57
+ />
56
58
  </slot>
57
59
  </div>
58
60
 
59
- <button
61
+ <origam-btn
60
62
  v-if="dismissible !== false"
61
63
  :aria-label="dismissLabel"
62
64
  :data-cy="`${dataCy}-dismiss`"
65
+ :icon="MDI_ICONS.CLOSE"
63
66
  class="origam-snackbar-item__dismiss"
64
- type="button"
67
+ size="x-small"
68
+ variant="text"
65
69
  @click="emit('dismiss')"
66
- >
67
- <origam-icon
68
- :icon="MDI_ICONS.CLOSE"
69
- :size="18"
70
- />
71
- </button>
70
+ />
72
71
  </div>
73
72
  </template>
74
73
 
75
- <script setup>
74
+ <script lang="ts" setup>
76
75
  import { computed, useSlots } from "vue";
77
- import { OrigamIcon } from "../../components";
78
- import { useProps } from "../../composables";
76
+ import { OrigamBtn, OrigamIcon } from "../../components";
77
+ import { useLocale, useProps, useTypography } from "../../composables";
78
+ import { vContrast } from "../../directives";
79
79
  import { MDI_ICONS } from "../../enums";
80
80
  const props = defineProps({
81
81
  intent: { type: String, required: false, default: "info" },
@@ -84,15 +84,23 @@ const props = defineProps({
84
84
  icon: { type: [String, Array, Boolean], required: false, skipCheck: true },
85
85
  actions: { type: Array, required: false },
86
86
  dismissible: { type: Boolean, required: false, default: true },
87
- dismissLabel: { type: String, required: false, default: "Dismiss notification" },
87
+ dismissLabel: { type: String, required: false, default: void 0 },
88
88
  role: { type: String, required: false },
89
89
  ariaLive: { type: String, required: false },
90
90
  dataCy: { type: String, required: false },
91
91
  id: { type: String, required: false },
92
92
  class: { type: [String, Array, Object], required: false },
93
- style: { type: [String, Array, Object, Boolean, null], required: false, skipCheck: true }
93
+ style: { type: [String, Array, Object, Boolean, null], required: false, skipCheck: true },
94
+ fontFamily: { type: String, required: false },
95
+ fontSize: { type: String, required: false },
96
+ fontWeight: { type: String, required: false },
97
+ lineHeight: { type: String, required: false },
98
+ letterSpacing: { type: String, required: false }
94
99
  });
100
+ const { t } = useLocale();
101
+ const dismissLabel = computed(() => props.dismissLabel ?? t("origam.snackbar.dismiss", "Dismiss notification"));
95
102
  const { filterProps } = useProps(props);
103
+ const { typographyStyles } = useTypography(props, "snackbar-item");
96
104
  const slots = useSlots();
97
105
  const emit = defineEmits(["dismiss", "action"]);
98
106
  const INTENT_ICONS = {
@@ -124,13 +132,6 @@ const hasMessage = computed(() => {
124
132
  const hasActions = computed(() => {
125
133
  return Array.isArray(props.actions) && props.actions.length > 0 || !!slots["actions"];
126
134
  });
127
- const actionClasses = (action) => {
128
- const intent = action.intent ?? "primary";
129
- return [
130
- "origam-snackbar-item__action",
131
- `origam-snackbar-item__action--intent-${intent}`
132
- ];
133
- };
134
135
  const handleActionClick = (action) => {
135
136
  emit("action", action);
136
137
  };
@@ -1,8 +1,9 @@
1
1
  <template>
2
2
  <nav
3
3
  :id="id"
4
+ v-contrast
4
5
  :class="stepperClasses"
5
- aria-label="Progress steps"
6
+ :aria-label="t('origam.stepper.progressSteps', 'Progress steps')"
6
7
  >
7
8
  <slot name="default">
8
9
  <template v-if="hasItems">
@@ -29,14 +30,16 @@
29
30
  </nav>
30
31
  </template>
31
32
 
32
- <script setup>
33
+ <script lang="ts" setup>
33
34
  import { computed, provide, ref, StyleValue, useSlots, watch } from "vue";
34
35
  import { OrigamStepperItem } from "../../components";
35
36
  import { ORIGAM_STEPPER_KEY } from "../../consts";
36
37
  import { DENSITY, SIZES } from "../../enums";
38
+ import { vContrast } from "../../directives";
37
39
  import {
38
40
  useDensity,
39
41
  useDimension,
42
+ useLocale,
40
43
  useProps,
41
44
  useSize,
42
45
  useStateEffect,
@@ -91,6 +94,7 @@ const props = defineProps({
91
94
  borderColor: { type: String, required: false },
92
95
  borderStyle: { type: String, required: false }
93
96
  });
97
+ const { t } = useLocale();
94
98
  const emit = defineEmits(["update:modelValue"]);
95
99
  const { filterProps } = useProps(props);
96
100
  const slots = useSlots();
@@ -4,11 +4,12 @@
4
4
  :class="itemClasses"
5
5
  :type="isClickable ? 'button' : undefined"
6
6
  :aria-current="resolvedStatus === 'active' ? 'step' : undefined"
7
- :aria-label="title ? `Step ${(index ?? 0) + 1}: ${title}` : undefined"
7
+ :aria-label="stepAriaLabel"
8
8
  :disabled="isClickable && resolvedStatus === 'active' ? true : undefined"
9
9
  @click="handleClick"
10
10
  >
11
11
  <span
12
+ v-contrast
12
13
  :class="indicatorClasses"
13
14
  aria-hidden="true"
14
15
  >
@@ -39,12 +40,13 @@
39
40
  </component>
40
41
  </template>
41
42
 
42
- <script setup>
43
+ <script lang="ts" setup>
43
44
  import { computed, inject } from "vue";
44
45
  import { OrigamIcon } from "../../components";
45
46
  import { ORIGAM_STEPPER_KEY } from "../../consts";
46
47
  import { MDI_ICONS } from "../../enums";
47
- import { useProps } from "../../composables";
48
+ import { useLocale, useProps } from "../../composables";
49
+ import { vContrast } from "../../directives";
48
50
  const props = defineProps({
49
51
  index: { type: Number, required: false, default: 0 },
50
52
  title: { type: String, required: false },
@@ -56,6 +58,11 @@ const props = defineProps({
56
58
  class: { type: [String, Array, Object], required: false },
57
59
  style: { type: [String, Array, Object, Boolean, null], required: false, skipCheck: true }
58
60
  });
61
+ const { t } = useLocale();
62
+ const stepAriaLabel = computed(() => {
63
+ if (!props.title) return void 0;
64
+ return t("origam.stepper.stepAriaLabel", (props.index ?? 0) + 1, props.title);
65
+ });
59
66
  const emit = defineEmits(["click"]);
60
67
  const { filterProps } = useProps(props);
61
68
  const stepper = inject(ORIGAM_STEPPER_KEY);