origam 2.2.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/CHANGELOG.md +224 -0
  2. package/README.md +22 -0
  3. package/dist/src/assets/css/tokens/dark.css +318 -0
  4. package/dist/src/assets/css/tokens/light.css +159 -0
  5. package/dist/src/assets/locales/index.js +2 -2
  6. package/dist/src/assets/scss/tokens/_dark.scss +159 -0
  7. package/dist/src/assets/scss/tokens/_light.scss +159 -0
  8. package/dist/src/components/Bracket/OrigamBracket.vue +530 -0
  9. package/dist/src/components/Bracket/OrigamBracketCompetitor.vue +210 -0
  10. package/dist/src/components/Bracket/OrigamBracketMatch.vue +288 -0
  11. package/dist/src/components/Bracket/OrigamBracketRound.vue +150 -0
  12. package/dist/src/components/Bracket/index.cjs +34 -0
  13. package/dist/src/components/Bracket/index.d.ts +4 -0
  14. package/dist/src/components/Bracket/index.js +4 -0
  15. package/dist/src/components/ClientOnly/OrigamClientOnly.vue +28 -0
  16. package/dist/src/components/ClientOnly/index.cjs +13 -0
  17. package/dist/src/components/ClientOnly/index.d.ts +1 -0
  18. package/dist/src/components/ClientOnly/index.js +1 -0
  19. package/dist/src/components/Code/OrigamCode.vue +449 -0
  20. package/dist/src/components/Code/index.cjs +13 -0
  21. package/dist/src/components/Code/index.d.ts +1 -0
  22. package/dist/src/components/Code/index.js +1 -0
  23. package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +1 -0
  24. package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +614 -0
  25. package/dist/src/components/CommandPalette/index.cjs +13 -0
  26. package/dist/src/components/CommandPalette/index.d.ts +1 -0
  27. package/dist/src/components/CommandPalette/index.js +1 -0
  28. package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +1 -0
  29. package/dist/src/components/Parallax/OrigamParallax.vue +65 -34
  30. package/dist/src/components/Parallax/OrigamParallaxLayer.vue +119 -0
  31. package/dist/src/components/Parallax/index.cjs +7 -0
  32. package/dist/src/components/Parallax/index.d.ts +1 -0
  33. package/dist/src/components/Parallax/index.js +1 -0
  34. package/dist/src/components/PasswordField/OrigamPasswordField.vue +1 -0
  35. package/dist/src/components/Select/OrigamSelect.vue +1 -0
  36. package/dist/src/components/SnackbarStack/OrigamSnackbarStack.vue +457 -0
  37. package/dist/src/components/SnackbarStack/index.cjs +13 -0
  38. package/dist/src/components/SnackbarStack/index.d.ts +1 -0
  39. package/dist/src/components/SnackbarStack/index.js +1 -0
  40. package/dist/src/components/Tabs/OrigamTab.vue +263 -0
  41. package/dist/src/components/Tabs/OrigamTabPanel.vue +112 -0
  42. package/dist/src/components/Tabs/OrigamTabPanels.vue +139 -0
  43. package/dist/src/components/Tabs/OrigamTabs.vue +242 -0
  44. package/dist/src/components/Tabs/index.cjs +34 -0
  45. package/dist/src/components/Tabs/index.d.ts +4 -0
  46. package/dist/src/components/Tabs/index.js +4 -0
  47. package/dist/src/components/TextField/OrigamTextField.vue +75 -5
  48. package/dist/src/components/TextareaField/OrigamRichToolbar.vue +284 -0
  49. package/dist/src/components/TextareaField/OrigamTextareaField.vue +192 -5
  50. package/dist/src/components/TextareaField/index.cjs +7 -0
  51. package/dist/src/components/TextareaField/index.d.ts +1 -0
  52. package/dist/src/components/TextareaField/index.js +1 -0
  53. package/dist/src/components/index.cjs +66 -0
  54. package/dist/src/components/index.d.ts +6 -0
  55. package/dist/src/components/index.js +6 -0
  56. package/dist/src/composables/Code/code.composable.cjs +98 -0
  57. package/dist/src/composables/Code/code.composable.d.ts +10 -0
  58. package/dist/src/composables/Code/code.composable.js +82 -0
  59. package/dist/src/composables/CommandPalette/command.composable.cjs +53 -0
  60. package/dist/src/composables/CommandPalette/command.composable.d.ts +37 -0
  61. package/dist/src/composables/CommandPalette/command.composable.js +46 -0
  62. package/dist/src/composables/Commons/virtual.composable.cjs +1 -0
  63. package/dist/src/composables/Commons/virtual.composable.js +1 -0
  64. package/dist/src/composables/CssSupport/cssSupport.composable.cjs +12 -0
  65. package/dist/src/composables/CssSupport/cssSupport.composable.d.ts +25 -0
  66. package/dist/src/composables/CssSupport/cssSupport.composable.js +10 -1
  67. package/dist/src/composables/DataTable/headers.composable.d.ts +36 -36
  68. package/dist/src/composables/Mask/index.cjs +16 -0
  69. package/dist/src/composables/Mask/index.d.ts +1 -0
  70. package/dist/src/composables/Mask/index.js +1 -0
  71. package/dist/src/composables/Mask/mask.composable.cjs +57 -0
  72. package/dist/src/composables/Mask/mask.composable.d.ts +39 -0
  73. package/dist/src/composables/Mask/mask.composable.js +51 -0
  74. package/dist/src/composables/Parallax/parallax.composable.cjs +232 -0
  75. package/dist/src/composables/Parallax/parallax.composable.d.ts +60 -0
  76. package/dist/src/composables/Parallax/parallax.composable.js +219 -0
  77. package/dist/src/composables/Responsive/aspect.composable.cjs +6 -1
  78. package/dist/src/composables/Responsive/aspect.composable.d.ts +10 -0
  79. package/dist/src/composables/Responsive/aspect.composable.js +6 -1
  80. package/dist/src/composables/SnackbarStack/snackbar-stack.composable.cjs +102 -0
  81. package/dist/src/composables/SnackbarStack/snackbar-stack.composable.d.ts +58 -0
  82. package/dist/src/composables/SnackbarStack/snackbar-stack.composable.js +92 -0
  83. package/dist/src/composables/Textarea/textarea-rich.composable.cjs +263 -0
  84. package/dist/src/composables/Textarea/textarea-rich.composable.d.ts +41 -0
  85. package/dist/src/composables/Textarea/textarea-rich.composable.js +257 -0
  86. package/dist/src/composables/index.cjs +66 -0
  87. package/dist/src/composables/index.d.ts +6 -0
  88. package/dist/src/composables/index.js +6 -0
  89. package/dist/src/consts/Bracket/bracket.const.cjs +12 -0
  90. package/dist/src/consts/Bracket/bracket.const.d.ts +34 -0
  91. package/dist/src/consts/Bracket/bracket.const.js +15 -0
  92. package/dist/src/consts/Code/code.const.cjs +26 -0
  93. package/dist/src/consts/Code/code.const.d.ts +40 -0
  94. package/dist/src/consts/Code/code.const.js +35 -0
  95. package/dist/src/consts/CommandPalette/command-palette.const.cjs +10 -0
  96. package/dist/src/consts/CommandPalette/command-palette.const.d.ts +16 -0
  97. package/dist/src/consts/CommandPalette/command-palette.const.js +7 -0
  98. package/dist/src/consts/Mask/built-in-patterns.const.cjs +66 -0
  99. package/dist/src/consts/Mask/built-in-patterns.const.d.ts +20 -0
  100. package/dist/src/consts/Mask/built-in-patterns.const.js +60 -0
  101. package/dist/src/consts/Parallax/parallax-layer.const.cjs +7 -0
  102. package/dist/src/consts/Parallax/parallax-layer.const.d.ts +3 -0
  103. package/dist/src/consts/Parallax/parallax-layer.const.js +1 -0
  104. package/dist/src/consts/SnackbarStack/snackbar-stack.const.cjs +12 -0
  105. package/dist/src/consts/SnackbarStack/snackbar-stack.const.d.ts +33 -0
  106. package/dist/src/consts/SnackbarStack/snackbar-stack.const.js +18 -0
  107. package/dist/src/consts/Tabs/tabs.const.cjs +9 -0
  108. package/dist/src/consts/Tabs/tabs.const.d.ts +23 -0
  109. package/dist/src/consts/Tabs/tabs.const.js +3 -0
  110. package/dist/src/consts/Textarea/textarea.const.cjs +28 -0
  111. package/dist/src/consts/Textarea/textarea.const.d.ts +38 -0
  112. package/dist/src/consts/Textarea/textarea.const.js +65 -0
  113. package/dist/src/consts/Theme/theme.const.cjs +15 -0
  114. package/dist/src/consts/Theme/theme.const.d.ts +9 -0
  115. package/dist/src/consts/Theme/theme.const.js +9 -0
  116. package/dist/src/consts/index.cjs +99 -0
  117. package/dist/src/consts/index.d.ts +9 -0
  118. package/dist/src/consts/index.js +9 -0
  119. package/dist/src/enums/Bracket/bracket-match-status.enum.cjs +13 -0
  120. package/dist/src/enums/Bracket/bracket-match-status.enum.d.ts +6 -0
  121. package/dist/src/enums/Bracket/bracket-match-status.enum.js +7 -0
  122. package/dist/src/enums/Bracket/bracket-variant.enum.cjs +12 -0
  123. package/dist/src/enums/Bracket/bracket-variant.enum.d.ts +5 -0
  124. package/dist/src/enums/Bracket/bracket-variant.enum.js +6 -0
  125. package/dist/src/enums/Code/code-lang.enum.cjs +23 -0
  126. package/dist/src/enums/Code/code-lang.enum.d.ts +25 -0
  127. package/dist/src/enums/Code/code-lang.enum.js +17 -0
  128. package/dist/src/enums/Code/code-theme.enum.cjs +12 -0
  129. package/dist/src/enums/Code/code-theme.enum.d.ts +12 -0
  130. package/dist/src/enums/Code/code-theme.enum.js +6 -0
  131. package/dist/src/enums/Mask/mask.enum.cjs +28 -0
  132. package/dist/src/enums/Mask/mask.enum.d.ts +36 -0
  133. package/dist/src/enums/Mask/mask.enum.js +22 -0
  134. package/dist/src/enums/Parallax/parallax-direction.enum.cjs +12 -0
  135. package/dist/src/enums/Parallax/parallax-direction.enum.d.ts +5 -0
  136. package/dist/src/enums/Parallax/parallax-direction.enum.js +6 -0
  137. package/dist/src/enums/Parallax/parallax-easing.enum.cjs +12 -0
  138. package/dist/src/enums/Parallax/parallax-easing.enum.d.ts +5 -0
  139. package/dist/src/enums/Parallax/parallax-easing.enum.js +6 -0
  140. package/dist/src/enums/Tabs/tab-variant.enum.cjs +12 -0
  141. package/dist/src/enums/Tabs/tab-variant.enum.d.ts +5 -0
  142. package/dist/src/enums/Tabs/tab-variant.enum.js +6 -0
  143. package/dist/src/enums/Textarea/textarea-mode.enum.cjs +11 -0
  144. package/dist/src/enums/Textarea/textarea-mode.enum.d.ts +13 -0
  145. package/dist/src/enums/Textarea/textarea-mode.enum.js +5 -0
  146. package/dist/src/enums/Textarea/textarea-output.enum.cjs +11 -0
  147. package/dist/src/enums/Textarea/textarea-output.enum.d.ts +14 -0
  148. package/dist/src/enums/Textarea/textarea-output.enum.js +5 -0
  149. package/dist/src/enums/Textarea/textarea-toolbar-command.enum.cjs +21 -0
  150. package/dist/src/enums/Textarea/textarea-toolbar-command.enum.d.ts +20 -0
  151. package/dist/src/enums/Textarea/textarea-toolbar-command.enum.js +15 -0
  152. package/dist/src/enums/Textarea/textarea-toolbar-position.enum.cjs +12 -0
  153. package/dist/src/enums/Textarea/textarea-toolbar-position.enum.d.ts +10 -0
  154. package/dist/src/enums/Textarea/textarea-toolbar-position.enum.js +6 -0
  155. package/dist/src/enums/index.cjs +132 -0
  156. package/dist/src/enums/index.d.ts +12 -0
  157. package/dist/src/enums/index.js +12 -0
  158. package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.cjs +1 -0
  159. package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.d.ts +53 -0
  160. package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.js +0 -0
  161. package/dist/src/interfaces/Bracket/bracket-competitor.interface.cjs +1 -0
  162. package/dist/src/interfaces/Bracket/bracket-competitor.interface.d.ts +25 -0
  163. package/dist/src/interfaces/Bracket/bracket-competitor.interface.js +0 -0
  164. package/dist/src/interfaces/Bracket/bracket-match-component.interface.cjs +1 -0
  165. package/dist/src/interfaces/Bracket/bracket-match-component.interface.d.ts +45 -0
  166. package/dist/src/interfaces/Bracket/bracket-match-component.interface.js +0 -0
  167. package/dist/src/interfaces/Bracket/bracket-match.interface.cjs +1 -0
  168. package/dist/src/interfaces/Bracket/bracket-match.interface.d.ts +51 -0
  169. package/dist/src/interfaces/Bracket/bracket-match.interface.js +0 -0
  170. package/dist/src/interfaces/Bracket/bracket-round-component.interface.cjs +1 -0
  171. package/dist/src/interfaces/Bracket/bracket-round-component.interface.d.ts +26 -0
  172. package/dist/src/interfaces/Bracket/bracket-round-component.interface.js +0 -0
  173. package/dist/src/interfaces/Bracket/bracket-round.interface.cjs +1 -0
  174. package/dist/src/interfaces/Bracket/bracket-round.interface.d.ts +27 -0
  175. package/dist/src/interfaces/Bracket/bracket-round.interface.js +0 -0
  176. package/dist/src/interfaces/Bracket/bracket.interface.cjs +1 -0
  177. package/dist/src/interfaces/Bracket/bracket.interface.d.ts +71 -0
  178. package/dist/src/interfaces/Bracket/bracket.interface.js +0 -0
  179. package/dist/src/interfaces/Code/code.interface.cjs +1 -0
  180. package/dist/src/interfaces/Code/code.interface.d.ts +99 -0
  181. package/dist/src/interfaces/Code/code.interface.js +0 -0
  182. package/dist/src/interfaces/CommandPalette/command-palette.interface.cjs +1 -0
  183. package/dist/src/interfaces/CommandPalette/command-palette.interface.d.ts +57 -0
  184. package/dist/src/interfaces/CommandPalette/command-palette.interface.js +0 -0
  185. package/dist/src/interfaces/CommandPalette/command.interface.cjs +1 -0
  186. package/dist/src/interfaces/CommandPalette/command.interface.d.ts +51 -0
  187. package/dist/src/interfaces/CommandPalette/command.interface.js +0 -0
  188. package/dist/src/interfaces/Mask/mask-options.interface.cjs +1 -0
  189. package/dist/src/interfaces/Mask/mask-options.interface.d.ts +48 -0
  190. package/dist/src/interfaces/Mask/mask-options.interface.js +0 -0
  191. package/dist/src/interfaces/Nuxt/nuxt-module.interface.cjs +1 -0
  192. package/dist/src/interfaces/Nuxt/nuxt-module.interface.d.ts +73 -0
  193. package/dist/src/interfaces/Nuxt/nuxt-module.interface.js +0 -0
  194. package/dist/src/interfaces/Parallax/parallax-layer.interface.cjs +1 -0
  195. package/dist/src/interfaces/Parallax/parallax-layer.interface.d.ts +39 -0
  196. package/dist/src/interfaces/Parallax/parallax-layer.interface.js +0 -0
  197. package/dist/src/interfaces/Parallax/parallax.interface.d.ts +83 -3
  198. package/dist/src/interfaces/SnackbarStack/snackbar-stack-item.interface.cjs +1 -0
  199. package/dist/src/interfaces/SnackbarStack/snackbar-stack-item.interface.d.ts +60 -0
  200. package/dist/src/interfaces/SnackbarStack/snackbar-stack-item.interface.js +0 -0
  201. package/dist/src/interfaces/SnackbarStack/snackbar-stack.interface.cjs +1 -0
  202. package/dist/src/interfaces/SnackbarStack/snackbar-stack.interface.d.ts +60 -0
  203. package/dist/src/interfaces/SnackbarStack/snackbar-stack.interface.js +0 -0
  204. package/dist/src/interfaces/Tabs/tab-panel.interface.cjs +1 -0
  205. package/dist/src/interfaces/Tabs/tab-panel.interface.d.ts +12 -0
  206. package/dist/src/interfaces/Tabs/tab-panel.interface.js +0 -0
  207. package/dist/src/interfaces/Tabs/tab-panels.interface.cjs +1 -0
  208. package/dist/src/interfaces/Tabs/tab-panels.interface.d.ts +28 -0
  209. package/dist/src/interfaces/Tabs/tab-panels.interface.js +0 -0
  210. package/dist/src/interfaces/Tabs/tab.interface.cjs +1 -0
  211. package/dist/src/interfaces/Tabs/tab.interface.d.ts +18 -0
  212. package/dist/src/interfaces/Tabs/tab.interface.js +0 -0
  213. package/dist/src/interfaces/Tabs/tabs.interface.cjs +1 -0
  214. package/dist/src/interfaces/Tabs/tabs.interface.d.ts +26 -0
  215. package/dist/src/interfaces/Tabs/tabs.interface.js +0 -0
  216. package/dist/src/interfaces/TextField/text-field.interface.d.ts +21 -1
  217. package/dist/src/interfaces/Textarea/textarea-rich.interface.cjs +1 -0
  218. package/dist/src/interfaces/Textarea/textarea-rich.interface.d.ts +41 -0
  219. package/dist/src/interfaces/Textarea/textarea-rich.interface.js +0 -0
  220. package/dist/src/interfaces/Textarea/textarea-toolbar.interface.cjs +1 -0
  221. package/dist/src/interfaces/Textarea/textarea-toolbar.interface.d.ts +31 -0
  222. package/dist/src/interfaces/Textarea/textarea-toolbar.interface.js +0 -0
  223. package/dist/src/interfaces/TextareaField/textarea-field.interface.d.ts +38 -1
  224. package/dist/src/interfaces/index.cjs +231 -0
  225. package/dist/src/interfaces/index.d.ts +21 -0
  226. package/dist/src/interfaces/index.js +21 -0
  227. package/dist/src/nuxt/index.cjs +13 -0
  228. package/dist/src/nuxt/index.d.ts +2 -0
  229. package/dist/src/nuxt/index.js +1 -0
  230. package/dist/src/nuxt/module.cjs +74 -0
  231. package/dist/src/nuxt/module.d.ts +31 -0
  232. package/dist/src/nuxt/module.js +68 -0
  233. package/dist/src/nuxt/plugin.client.cjs +44 -0
  234. package/dist/src/nuxt/plugin.client.d.ts +2 -0
  235. package/dist/src/nuxt/plugin.client.js +36 -0
  236. package/dist/src/nuxt/plugin.server.cjs +51 -0
  237. package/dist/src/nuxt/plugin.server.d.ts +2 -0
  238. package/dist/src/nuxt/plugin.server.js +45 -0
  239. package/dist/src/types/Bracket/bracket-direction.type.cjs +1 -0
  240. package/dist/src/types/Bracket/bracket-direction.type.d.ts +13 -0
  241. package/dist/src/types/Bracket/bracket-direction.type.js +0 -0
  242. package/dist/src/types/Bracket/bracket-match-status.type.cjs +1 -0
  243. package/dist/src/types/Bracket/bracket-match-status.type.d.ts +2 -0
  244. package/dist/src/types/Bracket/bracket-match-status.type.js +0 -0
  245. package/dist/src/types/Bracket/bracket-round-side.type.cjs +1 -0
  246. package/dist/src/types/Bracket/bracket-round-side.type.d.ts +12 -0
  247. package/dist/src/types/Bracket/bracket-round-side.type.js +0 -0
  248. package/dist/src/types/Bracket/bracket-variant.type.cjs +1 -0
  249. package/dist/src/types/Bracket/bracket-variant.type.d.ts +2 -0
  250. package/dist/src/types/Bracket/bracket-variant.type.js +0 -0
  251. package/dist/src/types/Code/code-lang.type.cjs +1 -0
  252. package/dist/src/types/Code/code-lang.type.d.ts +2 -0
  253. package/dist/src/types/Code/code-lang.type.js +0 -0
  254. package/dist/src/types/Code/code-theme.type.cjs +1 -0
  255. package/dist/src/types/Code/code-theme.type.d.ts +2 -0
  256. package/dist/src/types/Code/code-theme.type.js +0 -0
  257. package/dist/src/types/CommandPalette/command-palette-hotkey.type.cjs +1 -0
  258. package/dist/src/types/CommandPalette/command-palette-hotkey.type.d.ts +5 -0
  259. package/dist/src/types/CommandPalette/command-palette-hotkey.type.js +0 -0
  260. package/dist/src/types/Mask/built-in-pattern.type.cjs +1 -0
  261. package/dist/src/types/Mask/built-in-pattern.type.d.ts +7 -0
  262. package/dist/src/types/Mask/built-in-pattern.type.js +0 -0
  263. package/dist/src/types/Mask/mask.type.cjs +1 -0
  264. package/dist/src/types/Mask/mask.type.d.ts +19 -0
  265. package/dist/src/types/Mask/mask.type.js +0 -0
  266. package/dist/src/types/Mask/pattern-validator.type.cjs +1 -0
  267. package/dist/src/types/Mask/pattern-validator.type.d.ts +16 -0
  268. package/dist/src/types/Mask/pattern-validator.type.js +0 -0
  269. package/dist/src/types/Parallax/parallax-direction.type.cjs +1 -0
  270. package/dist/src/types/Parallax/parallax-direction.type.d.ts +2 -0
  271. package/dist/src/types/Parallax/parallax-direction.type.js +0 -0
  272. package/dist/src/types/Parallax/parallax-easing.type.cjs +1 -0
  273. package/dist/src/types/Parallax/parallax-easing.type.d.ts +2 -0
  274. package/dist/src/types/Parallax/parallax-easing.type.js +0 -0
  275. package/dist/src/types/SnackbarStack/snackbar-stack-direction.type.cjs +1 -0
  276. package/dist/src/types/SnackbarStack/snackbar-stack-direction.type.d.ts +11 -0
  277. package/dist/src/types/SnackbarStack/snackbar-stack-direction.type.js +0 -0
  278. package/dist/src/types/SnackbarStack/snackbar-stack-location.type.cjs +1 -0
  279. package/dist/src/types/SnackbarStack/snackbar-stack-location.type.d.ts +9 -0
  280. package/dist/src/types/SnackbarStack/snackbar-stack-location.type.js +0 -0
  281. package/dist/src/types/SnackbarStack/snackbar-stack.type.cjs +1 -0
  282. package/dist/src/types/SnackbarStack/snackbar-stack.type.d.ts +2 -0
  283. package/dist/src/types/SnackbarStack/snackbar-stack.type.js +0 -0
  284. package/dist/src/types/Tabs/tab-panel.type.cjs +1 -0
  285. package/dist/src/types/Tabs/tab-panel.type.d.ts +2 -0
  286. package/dist/src/types/Tabs/tab-panel.type.js +0 -0
  287. package/dist/src/types/Tabs/tab-panels.type.cjs +1 -0
  288. package/dist/src/types/Tabs/tab-panels.type.d.ts +2 -0
  289. package/dist/src/types/Tabs/tab-panels.type.js +0 -0
  290. package/dist/src/types/Tabs/tab-variant.type.cjs +1 -0
  291. package/dist/src/types/Tabs/tab-variant.type.d.ts +2 -0
  292. package/dist/src/types/Tabs/tab-variant.type.js +0 -0
  293. package/dist/src/types/Tabs/tab.type.cjs +1 -0
  294. package/dist/src/types/Tabs/tab.type.d.ts +2 -0
  295. package/dist/src/types/Tabs/tab.type.js +0 -0
  296. package/dist/src/types/Tabs/tabs.type.cjs +1 -0
  297. package/dist/src/types/Tabs/tabs.type.d.ts +2 -0
  298. package/dist/src/types/Tabs/tabs.type.js +0 -0
  299. package/dist/src/types/Textarea/textarea-mode.type.cjs +1 -0
  300. package/dist/src/types/Textarea/textarea-mode.type.d.ts +2 -0
  301. package/dist/src/types/Textarea/textarea-mode.type.js +0 -0
  302. package/dist/src/types/Textarea/textarea-output.type.cjs +1 -0
  303. package/dist/src/types/Textarea/textarea-output.type.d.ts +2 -0
  304. package/dist/src/types/Textarea/textarea-output.type.js +0 -0
  305. package/dist/src/types/Textarea/textarea-toolbar-command.type.cjs +1 -0
  306. package/dist/src/types/Textarea/textarea-toolbar-command.type.d.ts +2 -0
  307. package/dist/src/types/Textarea/textarea-toolbar-command.type.js +0 -0
  308. package/dist/src/types/Textarea/textarea-toolbar-position.type.cjs +1 -0
  309. package/dist/src/types/Textarea/textarea-toolbar-position.type.d.ts +2 -0
  310. package/dist/src/types/Textarea/textarea-toolbar-position.type.js +0 -0
  311. package/dist/src/types/index.cjs +264 -0
  312. package/dist/src/types/index.d.ts +24 -0
  313. package/dist/src/types/index.js +24 -0
  314. package/dist/src/types/tokens.type.d.ts +1 -1
  315. package/dist/src/utils/Code/parse-highlight-lines.util.cjs +34 -0
  316. package/dist/src/utils/Code/parse-highlight-lines.util.d.ts +24 -0
  317. package/dist/src/utils/Code/parse-highlight-lines.util.js +28 -0
  318. package/dist/src/utils/CommandPalette/fuzzy-match.util.cjs +84 -0
  319. package/dist/src/utils/CommandPalette/fuzzy-match.util.d.ts +51 -0
  320. package/dist/src/utils/CommandPalette/fuzzy-match.util.js +62 -0
  321. package/dist/src/utils/Mask/apply-mask.util.cjs +120 -0
  322. package/dist/src/utils/Mask/apply-mask.util.d.ts +13 -0
  323. package/dist/src/utils/Mask/apply-mask.util.js +91 -0
  324. package/dist/src/utils/Mask/index.cjs +38 -0
  325. package/dist/src/utils/Mask/index.d.ts +3 -0
  326. package/dist/src/utils/Mask/index.js +3 -0
  327. package/dist/src/utils/Mask/resolve-mask-config.util.cjs +31 -0
  328. package/dist/src/utils/Mask/resolve-mask-config.util.d.ts +15 -0
  329. package/dist/src/utils/Mask/resolve-mask-config.util.js +21 -0
  330. package/dist/src/utils/Mask/validate-pattern.util.cjs +92 -0
  331. package/dist/src/utils/Mask/validate-pattern.util.d.ts +41 -0
  332. package/dist/src/utils/Mask/validate-pattern.util.js +81 -0
  333. package/dist/src/utils/Textarea/html-to-markdown.util.cjs +85 -0
  334. package/dist/src/utils/Textarea/html-to-markdown.util.d.ts +21 -0
  335. package/dist/src/utils/Textarea/html-to-markdown.util.js +78 -0
  336. package/dist/src/utils/Textarea/sanitize-html.util.cjs +82 -0
  337. package/dist/src/utils/Textarea/sanitize-html.util.d.ts +17 -0
  338. package/dist/src/utils/Textarea/sanitize-html.util.js +83 -0
  339. package/dist/src/utils/index.cjs +77 -0
  340. package/dist/src/utils/index.d.ts +7 -0
  341. package/dist/src/utils/index.js +7 -0
  342. package/package.json +13 -3
  343. package/dist/src/globals.d.ts +0 -172
  344. package/dist/src/shims.d.ts +0 -36
  345. package/dist/src/vite-env.d.ts +0 -1
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _module.default;
10
+ }
11
+ });
12
+ var _module = _interopRequireDefault(require("./module.cjs"));
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -0,0 +1,2 @@
1
+ export { default } from './module';
2
+ export type { IOrigamNuxtModuleOptions, IOrigamNuxtRuntimeConfig } from '../interfaces';
@@ -0,0 +1 @@
1
+ export { default } from "./module.js";
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _kit = require("@nuxt/kit");
8
+ const MODULE_NAME = "origam-nuxt";
9
+ const CONFIG_KEY = "origam";
10
+ const DEFAULTS = {
11
+ themes: ["light", "dark"],
12
+ defaultTheme: "auto",
13
+ cookieName: "origam-theme",
14
+ cookieMaxAge: 60 * 60 * 24 * 365,
15
+ autoImport: true,
16
+ includeUtilities: true,
17
+ prefix: "Origam"
18
+ };
19
+ module.exports = (0, _kit.defineNuxtModule)({
20
+ meta: {
21
+ name: MODULE_NAME,
22
+ configKey: CONFIG_KEY,
23
+ compatibility: {
24
+ nuxt: "^3.0.0 || ^4.0.0"
25
+ }
26
+ },
27
+ defaults: DEFAULTS,
28
+ setup(options, nuxt) {
29
+ const resolver = (0, _kit.createResolver)(require('url').pathToFileURL(__filename).toString());
30
+ const themes = options.themes ?? DEFAULTS.themes;
31
+ const defaultTheme = options.defaultTheme ?? DEFAULTS.defaultTheme;
32
+ const cookieName = options.cookieName ?? DEFAULTS.cookieName;
33
+ const cookieMaxAge = options.cookieMaxAge ?? DEFAULTS.cookieMaxAge;
34
+ const autoImport = options.autoImport ?? DEFAULTS.autoImport;
35
+ const includeUtilities = options.includeUtilities ?? DEFAULTS.includeUtilities;
36
+ nuxt.options.css = nuxt.options.css || [];
37
+ if (!nuxt.options.css.includes("origam/tokens/css/primitive")) {
38
+ nuxt.options.css.unshift("origam/tokens/css/primitive");
39
+ }
40
+ for (const theme of themes) {
41
+ const cssId = `origam/tokens/css/${theme}`;
42
+ if (!nuxt.options.css.includes(cssId)) {
43
+ nuxt.options.css.push(cssId);
44
+ }
45
+ }
46
+ if (includeUtilities && !nuxt.options.css.includes("origam/tokens/css/utilities")) {
47
+ nuxt.options.css.push("origam/tokens/css/utilities");
48
+ }
49
+ (0, _kit.addPlugin)({
50
+ src: resolver.resolve("./plugin.server"),
51
+ mode: "server"
52
+ });
53
+ (0, _kit.addPlugin)({
54
+ src: resolver.resolve("./plugin.client"),
55
+ mode: "client"
56
+ });
57
+ if (autoImport) {
58
+ (0, _kit.addImportsDir)(resolver.resolve("../composables"));
59
+ (0, _kit.addComponentsDir)({
60
+ path: resolver.resolve("../components"),
61
+ prefix: "",
62
+ pathPrefix: false,
63
+ global: false
64
+ });
65
+ }
66
+ nuxt.options.runtimeConfig.public = nuxt.options.runtimeConfig.public || {};
67
+ nuxt.options.runtimeConfig.public.origam = {
68
+ themes,
69
+ defaultTheme,
70
+ cookieName,
71
+ cookieMaxAge
72
+ };
73
+ }
74
+ });
@@ -0,0 +1,31 @@
1
+ import type { IOrigamNuxtModuleOptions, IOrigamNuxtRuntimeConfig } from '../interfaces'
2
+
3
+ declare module '@nuxt/schema' {
4
+ interface NuxtConfig {
5
+ origam?: IOrigamNuxtModuleOptions
6
+ }
7
+
8
+ interface NuxtOptions {
9
+ origam?: IOrigamNuxtModuleOptions
10
+ }
11
+
12
+ interface PublicRuntimeConfig {
13
+ origam: IOrigamNuxtRuntimeConfig
14
+ }
15
+ }
16
+
17
+ declare module 'nuxt/schema' {
18
+ interface NuxtConfig {
19
+ origam?: IOrigamNuxtModuleOptions
20
+ }
21
+
22
+ interface NuxtOptions {
23
+ origam?: IOrigamNuxtModuleOptions
24
+ }
25
+
26
+ interface PublicRuntimeConfig {
27
+ origam: IOrigamNuxtRuntimeConfig
28
+ }
29
+ }
30
+
31
+ export { IOrigamNuxtModuleOptions, IOrigamNuxtRuntimeConfig }
@@ -0,0 +1,68 @@
1
+ import { addComponentsDir, addImportsDir, addPlugin, createResolver, defineNuxtModule } from "@nuxt/kit";
2
+ const MODULE_NAME = "origam-nuxt";
3
+ const CONFIG_KEY = "origam";
4
+ const DEFAULTS = {
5
+ themes: ["light", "dark"],
6
+ defaultTheme: "auto",
7
+ cookieName: "origam-theme",
8
+ cookieMaxAge: 60 * 60 * 24 * 365,
9
+ autoImport: true,
10
+ includeUtilities: true,
11
+ prefix: "Origam"
12
+ };
13
+ export default defineNuxtModule({
14
+ meta: {
15
+ name: MODULE_NAME,
16
+ configKey: CONFIG_KEY,
17
+ compatibility: {
18
+ nuxt: "^3.0.0 || ^4.0.0"
19
+ }
20
+ },
21
+ defaults: DEFAULTS,
22
+ setup(options, nuxt) {
23
+ const resolver = createResolver(import.meta.url);
24
+ const themes = options.themes ?? DEFAULTS.themes;
25
+ const defaultTheme = options.defaultTheme ?? DEFAULTS.defaultTheme;
26
+ const cookieName = options.cookieName ?? DEFAULTS.cookieName;
27
+ const cookieMaxAge = options.cookieMaxAge ?? DEFAULTS.cookieMaxAge;
28
+ const autoImport = options.autoImport ?? DEFAULTS.autoImport;
29
+ const includeUtilities = options.includeUtilities ?? DEFAULTS.includeUtilities;
30
+ nuxt.options.css = nuxt.options.css || [];
31
+ if (!nuxt.options.css.includes("origam/tokens/css/primitive")) {
32
+ nuxt.options.css.unshift("origam/tokens/css/primitive");
33
+ }
34
+ for (const theme of themes) {
35
+ const cssId = `origam/tokens/css/${theme}`;
36
+ if (!nuxt.options.css.includes(cssId)) {
37
+ nuxt.options.css.push(cssId);
38
+ }
39
+ }
40
+ if (includeUtilities && !nuxt.options.css.includes("origam/tokens/css/utilities")) {
41
+ nuxt.options.css.push("origam/tokens/css/utilities");
42
+ }
43
+ addPlugin({
44
+ src: resolver.resolve("./plugin.server"),
45
+ mode: "server"
46
+ });
47
+ addPlugin({
48
+ src: resolver.resolve("./plugin.client"),
49
+ mode: "client"
50
+ });
51
+ if (autoImport) {
52
+ addImportsDir(resolver.resolve("../composables"));
53
+ addComponentsDir({
54
+ path: resolver.resolve("../components"),
55
+ prefix: "",
56
+ pathPrefix: false,
57
+ global: false
58
+ });
59
+ }
60
+ nuxt.options.runtimeConfig.public = nuxt.options.runtimeConfig.public || {};
61
+ nuxt.options.runtimeConfig.public.origam = {
62
+ themes,
63
+ defaultTheme,
64
+ cookieName,
65
+ cookieMaxAge
66
+ };
67
+ }
68
+ });
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _vue = require("vue");
8
+ var _composables = require("../composables/index.cjs");
9
+ var _consts = require("../consts/index.cjs");
10
+ var _origam = require("../origam.cjs");
11
+ var _app = require("#app");
12
+ module.exports = (0, _app.defineNuxtPlugin)({
13
+ name: "origam:client",
14
+ setup(nuxtApp) {
15
+ const runtimeConfig = (0, _app.useRuntimeConfig)().public;
16
+ const config = runtimeConfig.origam;
17
+ const cookie = (0, _app.useCookie)(config.cookieName, {
18
+ maxAge: config.cookieMaxAge,
19
+ sameSite: "lax",
20
+ path: "/"
21
+ });
22
+ const fromDom = typeof document !== "undefined" && document.documentElement.dataset.theme || null;
23
+ const initialTheme = fromDom ?? cookie.value ?? config.defaultTheme;
24
+ const origam = (0, _origam.createOrigam)();
25
+ nuxtApp.vueApp.use(origam);
26
+ const themeApi = (0, _composables.useTheme)();
27
+ themeApi.setTheme(initialTheme);
28
+ (0, _vue.watch)(themeApi.theme, next => {
29
+ cookie.value = next;
30
+ if (typeof document !== "undefined") {
31
+ document.documentElement.setAttribute(_consts.ORIGAM_THEME_ATTR, next);
32
+ }
33
+ }, {
34
+ flush: "post"
35
+ });
36
+ return {
37
+ provide: {
38
+ origam: {
39
+ theme: initialTheme
40
+ }
41
+ }
42
+ };
43
+ }
44
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import { watch } from "vue";
2
+ import { useTheme } from "../composables/index.js";
3
+ import { ORIGAM_THEME_ATTR } from "../consts/index.js";
4
+ import { createOrigam } from "../origam.js";
5
+ import { defineNuxtPlugin, useCookie, useRuntimeConfig } from "#app";
6
+ export default defineNuxtPlugin({
7
+ name: "origam:client",
8
+ setup(nuxtApp) {
9
+ const runtimeConfig = useRuntimeConfig().public;
10
+ const config = runtimeConfig.origam;
11
+ const cookie = useCookie(config.cookieName, {
12
+ maxAge: config.cookieMaxAge,
13
+ sameSite: "lax",
14
+ path: "/"
15
+ });
16
+ const fromDom = typeof document !== "undefined" && document.documentElement.dataset.theme || null;
17
+ const initialTheme = fromDom ?? cookie.value ?? config.defaultTheme;
18
+ const origam = createOrigam();
19
+ nuxtApp.vueApp.use(origam);
20
+ const themeApi = useTheme();
21
+ themeApi.setTheme(initialTheme);
22
+ watch(themeApi.theme, (next) => {
23
+ cookie.value = next;
24
+ if (typeof document !== "undefined") {
25
+ document.documentElement.setAttribute(ORIGAM_THEME_ATTR, next);
26
+ }
27
+ }, { flush: "post" });
28
+ return {
29
+ provide: {
30
+ origam: {
31
+ theme: initialTheme
32
+ }
33
+ }
34
+ };
35
+ }
36
+ });
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _origam = require("../origam.cjs");
8
+ var _consts = require("../consts/index.cjs");
9
+ var _app = require("#app");
10
+ function resolveServerTheme(cookieValue, config, headers) {
11
+ if (cookieValue && cookieValue !== _consts.ORIGAM_THEME_AUTO) {
12
+ return cookieValue;
13
+ }
14
+ if (config.defaultTheme && config.defaultTheme !== _consts.ORIGAM_THEME_AUTO && cookieValue !== _consts.ORIGAM_THEME_AUTO) {
15
+ return config.defaultTheme;
16
+ }
17
+ const hint = headers["sec-ch-prefers-color-scheme"];
18
+ if (hint === _consts.ORIGAM_THEME_DARK) {
19
+ return config.themes.includes(_consts.ORIGAM_THEME_DARK) ? _consts.ORIGAM_THEME_DARK : config.themes[0] ?? _consts.ORIGAM_THEME_LIGHT;
20
+ }
21
+ return config.themes.includes(_consts.ORIGAM_THEME_LIGHT) ? _consts.ORIGAM_THEME_LIGHT : config.themes[0] ?? _consts.ORIGAM_THEME_LIGHT;
22
+ }
23
+ module.exports = (0, _app.defineNuxtPlugin)({
24
+ name: "origam:server",
25
+ enforce: "pre",
26
+ setup(nuxtApp) {
27
+ const runtimeConfig = (0, _app.useRuntimeConfig)().public;
28
+ const config = runtimeConfig.origam;
29
+ const cookie = (0, _app.useCookie)(config.cookieName, {
30
+ maxAge: config.cookieMaxAge,
31
+ sameSite: "lax",
32
+ path: "/"
33
+ });
34
+ const headers = (0, _app.useRequestHeaders)(["sec-ch-prefers-color-scheme"]);
35
+ const resolved = resolveServerTheme(cookie.value, config, headers);
36
+ (0, _app.useHead)({
37
+ htmlAttrs: {
38
+ "data-theme": resolved
39
+ }
40
+ });
41
+ const origam = (0, _origam.createOrigam)();
42
+ nuxtApp.vueApp.use(origam);
43
+ return {
44
+ provide: {
45
+ origam: {
46
+ theme: resolved
47
+ }
48
+ }
49
+ };
50
+ }
51
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,45 @@
1
+ import { createOrigam } from "../origam.js";
2
+ import { ORIGAM_THEME_AUTO, ORIGAM_THEME_DARK, ORIGAM_THEME_LIGHT } from "../consts/index.js";
3
+ import { defineNuxtPlugin, useCookie, useHead, useRequestHeaders, useRuntimeConfig } from "#app";
4
+ function resolveServerTheme(cookieValue, config, headers) {
5
+ if (cookieValue && cookieValue !== ORIGAM_THEME_AUTO) {
6
+ return cookieValue;
7
+ }
8
+ if (config.defaultTheme && config.defaultTheme !== ORIGAM_THEME_AUTO && cookieValue !== ORIGAM_THEME_AUTO) {
9
+ return config.defaultTheme;
10
+ }
11
+ const hint = headers["sec-ch-prefers-color-scheme"];
12
+ if (hint === ORIGAM_THEME_DARK) {
13
+ return config.themes.includes(ORIGAM_THEME_DARK) ? ORIGAM_THEME_DARK : config.themes[0] ?? ORIGAM_THEME_LIGHT;
14
+ }
15
+ return config.themes.includes(ORIGAM_THEME_LIGHT) ? ORIGAM_THEME_LIGHT : config.themes[0] ?? ORIGAM_THEME_LIGHT;
16
+ }
17
+ export default defineNuxtPlugin({
18
+ name: "origam:server",
19
+ enforce: "pre",
20
+ setup(nuxtApp) {
21
+ const runtimeConfig = useRuntimeConfig().public;
22
+ const config = runtimeConfig.origam;
23
+ const cookie = useCookie(config.cookieName, {
24
+ maxAge: config.cookieMaxAge,
25
+ sameSite: "lax",
26
+ path: "/"
27
+ });
28
+ const headers = useRequestHeaders(["sec-ch-prefers-color-scheme"]);
29
+ const resolved = resolveServerTheme(cookie.value, config, headers);
30
+ useHead({
31
+ htmlAttrs: {
32
+ "data-theme": resolved
33
+ }
34
+ });
35
+ const origam = createOrigam();
36
+ nuxtApp.vueApp.use(origam);
37
+ return {
38
+ provide: {
39
+ origam: {
40
+ theme: resolved
41
+ }
42
+ }
43
+ };
44
+ }
45
+ });
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,13 @@
1
+ import type { TDirection } from '../Commons/direction.type';
2
+ /**
3
+ * Layout axis of the bracket tree.
4
+ *
5
+ * - `'horizontal'` — each round is a column, matches stack vertically
6
+ * within the column, connectors flow left-to-right.
7
+ * - `'vertical'` — each round is a row, matches lay out horizontally,
8
+ * connectors flow top-to-bottom.
9
+ *
10
+ * Mirrors the global `TDirection` so the bracket plays nicely with the
11
+ * rest of the design system's direction props.
12
+ */
13
+ export type TBracketDirection = TDirection;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { BRACKET_MATCH_STATUS } from '../../enums';
2
+ export type TBracketMatchStatus = `${BRACKET_MATCH_STATUS}`;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Optional side marker for double-elimination tournaments.
3
+ *
4
+ * - `'winner'` — round belongs to the winner bracket.
5
+ * - `'loser'` — round belongs to the loser bracket.
6
+ * - `'grand-final'` — single round that pits the winner of WB against
7
+ * the winner of LB.
8
+ *
9
+ * Single-elimination tournaments do not need to set this — leave it
10
+ * `undefined`.
11
+ */
12
+ export type TBracketRoundSide = 'winner' | 'loser' | 'grand-final';
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { BRACKET_VARIANT } from '../../enums';
2
+ export type TBracketVariant = `${BRACKET_VARIANT}`;
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { CODE_LANG } from '../../enums';
2
+ export type TCodeLang = `${CODE_LANG}`;
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { CODE_THEME } from '../../enums';
2
+ export type TCodeTheme = `${CODE_THEME}`;
File without changes
@@ -0,0 +1,5 @@
1
+ /**
2
+ * A normalised hotkey combination — array of canonical key tokens
3
+ * accepted by `useHotkey` (e.g. `['meta', 'k']`).
4
+ */
5
+ export type TCommandPaletteHotkeyCombination = ReadonlyArray<string>;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,7 @@
1
+ import type { BUILT_IN_PATTERN } from '../../enums';
2
+ /**
3
+ * Discriminated union of every curated mask preset shipped
4
+ * with origam. New presets must be added to
5
+ * `BUILT_IN_PATTERN` AND `BUILT_IN_PATTERNS` (const map).
6
+ */
7
+ export type TBuiltInPattern = typeof BUILT_IN_PATTERN[keyof typeof BUILT_IN_PATTERN];
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,19 @@
1
+ import type { IMaskOptions } from '../../interfaces';
2
+ import type { TBuiltInPattern } from './built-in-pattern.type';
3
+ /**
4
+ * Accepted value for the `OrigamTextField.mask` prop and the
5
+ * `useMask` first arg. Either a built-in preset key, a raw
6
+ * pattern string (with `#`, `A`, `*`, literals), or a full
7
+ * options object.
8
+ */
9
+ export type TMask = TBuiltInPattern | string | IMaskOptions | null;
10
+ /**
11
+ * Token kinds recognised by the in-house token-walker.
12
+ *
13
+ * - `digit` : consumer slot, accepts `[0-9]` only. (`#`)
14
+ * - `letter` : consumer slot, accepts `[a-zA-Z]` only. (`A`)
15
+ * - `any` : consumer slot, accepts any character. (`*`)
16
+ * - `literal` : emitted as-is, does NOT consume the
17
+ * input character.
18
+ */
19
+ export type TMaskTokenKind = 'digit' | 'letter' | 'any' | 'literal';
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,16 @@
1
+ import type { PATTERN_VALIDATOR } from '../../enums';
2
+ /**
3
+ * Built-in validator name (string) — recognised by
4
+ * `validatePattern`.
5
+ */
6
+ export type TPatternValidatorName = typeof PATTERN_VALIDATOR[keyof typeof PATTERN_VALIDATOR];
7
+ /**
8
+ * User-supplied validator function — receives the UNMASKED
9
+ * value and returns `true` if it passes business rules.
10
+ */
11
+ export type TPatternValidatorFn = (unmasked: string) => boolean;
12
+ /**
13
+ * Validator passed to `useMask` / accepted by `resolveMaskConfig`.
14
+ * Either a registered name, or an arbitrary function.
15
+ */
16
+ export type TPatternValidator = TPatternValidatorName | TPatternValidatorFn;
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { PARALLAX_DIRECTION } from '../../enums';
2
+ export type TParallaxDirection = `${PARALLAX_DIRECTION}`;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { PARALLAX_EASING } from '../../enums';
2
+ export type TParallaxEasing = `${PARALLAX_EASING}`;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Stacking direction for `OrigamSnackbarStack`.
3
+ *
4
+ * - `top-down` — newest item appended at the bottom of the visible
5
+ * list (older items drift upward as the stack grows). Default for
6
+ * locations anchored to the top edge.
7
+ * - `bottom-up` — newest item appears at the top of the visible list
8
+ * (older items drift downward). Default for locations anchored to
9
+ * the bottom edge.
10
+ */
11
+ export type TSnackbarStackDirection = 'top-down' | 'bottom-up';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Anchor locations supported by `OrigamSnackbarStack`.
3
+ *
4
+ * Two-keyword strings (e.g. `'top-right'`) describe a corner, single
5
+ * keyword strings (`'top'`, `'bottom'`) describe a viewport edge with
6
+ * horizontal centering. Each location maps to a CSS pinning pair on
7
+ * the stack root (`top` / `bottom` + `left` / `right` / centered).
8
+ */
9
+ export type TSnackbarStackLocation = 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top' | 'bottom';
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import type { OrigamSnackbarStack } from "../../components";
2
+ export type TOrigamSnackbarStack = InstanceType<typeof OrigamSnackbarStack>;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { OrigamTabPanel } from '../../components';
2
+ export type TOrigamTabPanel = InstanceType<typeof OrigamTabPanel>;
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { OrigamTabPanels } from '../../components';
2
+ export type TOrigamTabPanels = InstanceType<typeof OrigamTabPanels>;
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { TAB_VARIANT } from '../../enums';
2
+ export type TTabVariant = `${TAB_VARIANT}`;
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,2 @@
1
+ import { OrigamTab } from '../../components';
2
+ export type TOrigamTab = InstanceType<typeof OrigamTab>;