@cocoar/vue-ui 3.4.0-beta.8 → 4.0.0-beta.46

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 (250) hide show
  1. package/dist/compact-fonts.d.ts +1 -0
  2. package/dist/compact-fonts.d.ts.map +1 -0
  3. package/dist/compact-fonts.js +4 -0
  4. package/dist/components/_internal/keyboardInset.d.ts +9 -0
  5. package/dist/components/_internal/keyboardInset.d.ts.map +1 -0
  6. package/dist/components/_internal/pageScrollLock.d.ts +17 -0
  7. package/dist/components/_internal/pageScrollLock.d.ts.map +1 -0
  8. package/dist/components/_internal/useFocusTrap.d.ts +9 -0
  9. package/dist/components/_internal/useFocusTrap.d.ts.map +1 -0
  10. package/dist/components/_internal/useVisualViewport.d.ts +26 -0
  11. package/dist/components/_internal/useVisualViewport.d.ts.map +1 -0
  12. package/dist/components/badge/CoarBadge.vue.d.ts.map +1 -1
  13. package/dist/components/card/CoarCard.vue.d.ts.map +1 -1
  14. package/dist/components/checkbox/CoarCheckbox.vue.d.ts +2 -2
  15. package/dist/components/checkbox/CoarCheckbox.vue.d.ts.map +1 -1
  16. package/dist/components/code-block/CoarCodeBlock.vue.d.ts +1 -1
  17. package/dist/components/code-block/CoarCodeBlock.vue.d.ts.map +1 -1
  18. package/dist/components/data-list/CoarDataList.vue.d.ts.map +1 -1
  19. package/dist/components/date-time/_shared/use-plain-date-picker.d.ts +95 -0
  20. package/dist/components/date-time/_shared/use-plain-date-picker.d.ts.map +1 -0
  21. package/dist/components/date-time/_shared/use-plain-date-time-picker.d.ts +113 -0
  22. package/dist/components/date-time/_shared/use-plain-date-time-picker.d.ts.map +1 -0
  23. package/dist/components/date-time/_shared/use-zoned-date-time-picker.d.ts +132 -0
  24. package/dist/components/date-time/_shared/use-zoned-date-time-picker.d.ts.map +1 -0
  25. package/dist/components/date-time/plain-date-picker/CoarPlainDatePicker.vue.d.ts +23 -6
  26. package/dist/components/date-time/plain-date-picker/CoarPlainDatePicker.vue.d.ts.map +1 -1
  27. package/dist/components/date-time/plain-date-time-or-date-picker/CoarPlainDateTimeOrDatePicker.vue.d.ts +4 -0
  28. package/dist/components/date-time/plain-date-time-or-date-picker/CoarPlainDateTimeOrDatePicker.vue.d.ts.map +1 -1
  29. package/dist/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue.d.ts +23 -6
  30. package/dist/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue.d.ts.map +1 -1
  31. package/dist/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue.d.ts.map +1 -1
  32. package/dist/components/date-time/time-picker/CoarTimePicker.vue.d.ts.map +1 -1
  33. package/dist/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue.d.ts +4 -0
  34. package/dist/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue.d.ts.map +1 -1
  35. package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue.d.ts +23 -6
  36. package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue.d.ts.map +1 -1
  37. package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePickerPanel.vue.d.ts.map +1 -1
  38. package/dist/components/dialog/CoarDialogFooter.vue.d.ts +20 -0
  39. package/dist/components/dialog/CoarDialogFooter.vue.d.ts.map +1 -0
  40. package/dist/components/dialog/CoarDialogShell.vue.d.ts +2 -0
  41. package/dist/components/dialog/CoarDialogShell.vue.d.ts.map +1 -1
  42. package/dist/components/dialog/CoarSheetShell.vue.d.ts +50 -0
  43. package/dist/components/dialog/CoarSheetShell.vue.d.ts.map +1 -0
  44. package/dist/components/dialog/dialog-types.d.ts +27 -0
  45. package/dist/components/dialog/dialog-types.d.ts.map +1 -1
  46. package/dist/components/dialog/dialogFooter.d.ts +21 -0
  47. package/dist/components/dialog/dialogFooter.d.ts.map +1 -0
  48. package/dist/components/dialog/index.d.ts +2 -1
  49. package/dist/components/dialog/index.d.ts.map +1 -1
  50. package/dist/components/dialog/useDialog.d.ts +6 -15
  51. package/dist/components/dialog/useDialog.d.ts.map +1 -1
  52. package/dist/components/dialog/useSheetDrag.d.ts +46 -0
  53. package/dist/components/dialog/useSheetDrag.d.ts.map +1 -0
  54. package/dist/components/form-field/CoarFormField.vue.d.ts +2 -2
  55. package/dist/components/form-field/CoarFormField.vue.d.ts.map +1 -1
  56. package/dist/components/form-field/constants.d.ts +6 -0
  57. package/dist/components/form-field/constants.d.ts.map +1 -1
  58. package/dist/components/icon/CoarIcon.vue.d.ts +3 -3
  59. package/dist/components/icon/CoarIcon.vue.d.ts.map +1 -1
  60. package/dist/components/icon/core-icons.d.ts +2 -0
  61. package/dist/components/icon/core-icons.d.ts.map +1 -1
  62. package/dist/components/input-frame/CoarInputFrame.vue.d.ts +17 -6
  63. package/dist/components/input-frame/CoarInputFrame.vue.d.ts.map +1 -1
  64. package/dist/components/input-frame/CoarInputFrameButton.vue.d.ts.map +1 -1
  65. package/dist/components/input-frame/types.d.ts +9 -0
  66. package/dist/components/input-frame/types.d.ts.map +1 -0
  67. package/dist/components/listbox/CoarListbox.vue.d.ts.map +1 -1
  68. package/dist/components/menu/CoarContextMenu.vue.d.ts.map +1 -1
  69. package/dist/components/menu/CoarMenuItem.vue.d.ts.map +1 -1
  70. package/dist/components/menu/CoarSubExpand.vue.d.ts.map +1 -1
  71. package/dist/components/menu/CoarSubFlyout.vue.d.ts.map +1 -1
  72. package/dist/components/menu/useContextMenu.d.ts +7 -20
  73. package/dist/components/menu/useContextMenu.d.ts.map +1 -1
  74. package/dist/components/number-input/CoarNumberInput.vue.d.ts +16 -1
  75. package/dist/components/number-input/CoarNumberInput.vue.d.ts.map +1 -1
  76. package/dist/components/otp-input/CoarOtpInput.vue.d.ts +2 -2
  77. package/dist/components/otp-input/CoarOtpInput.vue.d.ts.map +1 -1
  78. package/dist/components/overlay/CoarOverlayOutlet.vue.d.ts.map +1 -1
  79. package/dist/components/overlay/compact-context.d.ts +10 -0
  80. package/dist/components/overlay/compact-context.d.ts.map +1 -0
  81. package/dist/components/overlay/index.d.ts +3 -1
  82. package/dist/components/overlay/index.d.ts.map +1 -1
  83. package/dist/components/overlay/overlay-presets.d.ts +9 -0
  84. package/dist/components/overlay/overlay-presets.d.ts.map +1 -1
  85. package/dist/components/overlay/overlay-service.d.ts +12 -0
  86. package/dist/components/overlay/overlay-service.d.ts.map +1 -1
  87. package/dist/components/overlay/overlay-types.d.ts +6 -0
  88. package/dist/components/overlay/overlay-types.d.ts.map +1 -1
  89. package/dist/components/overlay/useCompactPresentationContext.d.ts +33 -0
  90. package/dist/components/overlay/useCompactPresentationContext.d.ts.map +1 -0
  91. package/dist/components/pagination/CoarPagination.vue.d.ts.map +1 -1
  92. package/dist/components/panel-layout/internal/CoarPaneDivider.vue.d.ts.map +1 -1
  93. package/dist/components/password-input/CoarPasswordInput.vue.d.ts +5 -1
  94. package/dist/components/password-input/CoarPasswordInput.vue.d.ts.map +1 -1
  95. package/dist/components/scrollbar/index.d.ts +1 -1
  96. package/dist/components/scrollbar/index.d.ts.map +1 -1
  97. package/dist/components/scrollbar/vScrollbar.d.ts +9 -0
  98. package/dist/components/scrollbar/vScrollbar.d.ts.map +1 -1
  99. package/dist/components/segmented-control/CoarSegmentedControl.vue.d.ts.map +1 -1
  100. package/dist/components/select/CoarMultiSelect.vue.d.ts.map +1 -1
  101. package/dist/components/select/CoarMultiSelectDropdownPanel.vue.d.ts.map +1 -1
  102. package/dist/components/select/CoarSelect.vue.d.ts +17 -3
  103. package/dist/components/select/CoarSelect.vue.d.ts.map +1 -1
  104. package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts +7 -4
  105. package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts.map +1 -1
  106. package/dist/components/select/CoarTagSelect.vue.d.ts.map +1 -1
  107. package/dist/components/select/CoarTagSelectDropdownPanel.vue.d.ts.map +1 -1
  108. package/dist/components/select/index.d.ts +1 -1
  109. package/dist/components/select/index.d.ts.map +1 -1
  110. package/dist/components/select/types.d.ts +13 -0
  111. package/dist/components/select/types.d.ts.map +1 -1
  112. package/dist/components/select/useSelectBase.d.ts +2 -1
  113. package/dist/components/select/useSelectBase.d.ts.map +1 -1
  114. package/dist/components/sidebar/CoarSidebarGroup.vue.d.ts.map +1 -1
  115. package/dist/components/switch/CoarSwitch.vue.d.ts +2 -2
  116. package/dist/components/switch/CoarSwitch.vue.d.ts.map +1 -1
  117. package/dist/components/tabs/CoarTabGroup.vue.d.ts.map +1 -1
  118. package/dist/components/tag/CoarTag.vue.d.ts.map +1 -1
  119. package/dist/components/text-input/CoarTextInput.vue.d.ts +16 -2
  120. package/dist/components/text-input/CoarTextInput.vue.d.ts.map +1 -1
  121. package/dist/components/theme-editor/CoarPaletteEditor.vue.d.ts +8 -2
  122. package/dist/components/theme-editor/CoarPaletteEditor.vue.d.ts.map +1 -1
  123. package/dist/components/theme-editor/color-preview.d.ts +22 -0
  124. package/dist/components/theme-editor/color-preview.d.ts.map +1 -0
  125. package/dist/components/theme-editor/font-preview.d.ts +46 -0
  126. package/dist/components/theme-editor/font-preview.d.ts.map +1 -0
  127. package/dist/components/theme-editor/scheme-values.d.ts +12 -0
  128. package/dist/components/theme-editor/scheme-values.d.ts.map +1 -0
  129. package/dist/components/theme-editor/theme-editor-state.d.ts +199 -183
  130. package/dist/components/theme-editor/theme-editor-state.d.ts.map +1 -1
  131. package/dist/components/theme-scope/CoarThemeScope.vue.d.ts.map +1 -1
  132. package/dist/components/tree/CoarTreeNode.vue.d.ts.map +1 -1
  133. package/dist/composables/useDragDrop.d.ts.map +1 -1
  134. package/dist/composables/useDragImage.d.ts +2 -14
  135. package/dist/composables/useDragImage.d.ts.map +1 -1
  136. package/dist/index.css +1 -1
  137. package/dist/index.d.ts +8 -4
  138. package/dist/index.d.ts.map +1 -1
  139. package/dist/index.js +6785 -4523
  140. package/dist/onest-fonts.d.ts +1 -0
  141. package/dist/onest-fonts.d.ts.map +1 -0
  142. package/dist/onest-fonts.js +4 -0
  143. package/dist/theme/color-contrast.d.ts +10 -0
  144. package/dist/theme/color-contrast.d.ts.map +1 -0
  145. package/dist/theme/compact-packages/calendar.d.ts +8 -0
  146. package/dist/theme/compact-packages/calendar.d.ts.map +1 -0
  147. package/dist/theme/compact-packages/data-grid.d.ts +8 -0
  148. package/dist/theme/compact-packages/data-grid.d.ts.map +1 -0
  149. package/dist/theme/compact-packages/document-viewer.d.ts +8 -0
  150. package/dist/theme/compact-packages/document-viewer.d.ts.map +1 -0
  151. package/dist/theme/compact-packages/map.d.ts +11 -0
  152. package/dist/theme/compact-packages/map.d.ts.map +1 -0
  153. package/dist/theme/compact-packages/markdown-editor.d.ts +8 -0
  154. package/dist/theme/compact-packages/markdown-editor.d.ts.map +1 -0
  155. package/dist/theme/compact-packages/markdown.d.ts +14 -0
  156. package/dist/theme/compact-packages/markdown.d.ts.map +1 -0
  157. package/dist/theme/compact-packages/mermaid.d.ts +8 -0
  158. package/dist/theme/compact-packages/mermaid.d.ts.map +1 -0
  159. package/dist/theme/compact-packages/page-builder.d.ts +8 -0
  160. package/dist/theme/compact-packages/page-builder.d.ts.map +1 -0
  161. package/dist/theme/compact-packages/script-editor.d.ts +8 -0
  162. package/dist/theme/compact-packages/script-editor.d.ts.map +1 -0
  163. package/dist/theme/compact-theme.d.ts +11 -0
  164. package/dist/theme/compact-theme.d.ts.map +1 -0
  165. package/dist/theme/enterprise-packages/calendar.d.ts +3 -0
  166. package/dist/theme/enterprise-packages/calendar.d.ts.map +1 -0
  167. package/dist/theme/enterprise-packages/document-viewer.d.ts +3 -0
  168. package/dist/theme/enterprise-packages/document-viewer.d.ts.map +1 -0
  169. package/dist/theme/enterprise-packages/map.d.ts +3 -0
  170. package/dist/theme/enterprise-packages/map.d.ts.map +1 -0
  171. package/dist/theme/enterprise-packages/markdown.d.ts +7 -0
  172. package/dist/theme/enterprise-packages/markdown.d.ts.map +1 -0
  173. package/dist/theme/enterprise-packages/mermaid.d.ts +3 -0
  174. package/dist/theme/enterprise-packages/mermaid.d.ts.map +1 -0
  175. package/dist/theme/enterprise-packages/page-builder.d.ts +3 -0
  176. package/dist/theme/enterprise-packages/page-builder.d.ts.map +1 -0
  177. package/dist/theme/enterprise-packages/script-editor.d.ts +7 -0
  178. package/dist/theme/enterprise-packages/script-editor.d.ts.map +1 -0
  179. package/dist/theme/enterprise-theme.d.ts +8 -0
  180. package/dist/theme/enterprise-theme.d.ts.map +1 -0
  181. package/dist/theme/palette-inputs.d.ts +34 -0
  182. package/dist/theme/palette-inputs.d.ts.map +1 -0
  183. package/dist/theme/role-derived-tokens.d.ts +3 -0
  184. package/dist/theme/role-derived-tokens.d.ts.map +1 -0
  185. package/dist/theme/role-input-defaults.d.ts +5 -0
  186. package/dist/theme/role-input-defaults.d.ts.map +1 -0
  187. package/dist/theme/role-theme-contract.d.ts +8 -0
  188. package/dist/theme/role-theme-contract.d.ts.map +1 -0
  189. package/dist/theme/role-theme.d.ts +40 -0
  190. package/dist/theme/role-theme.d.ts.map +1 -0
  191. package/package.json +15 -4
  192. package/skills/cocoar-vue-ui/SKILL.md +8 -1
  193. package/skills/cocoar-vue-ui/references/components/calendar/board.md +212 -0
  194. package/skills/cocoar-vue-ui/references/components/calendar/coar-calendar.md +32 -1
  195. package/skills/cocoar-vue-ui/references/components/calendar/day-view.md +21 -0
  196. package/skills/cocoar-vue-ui/references/components/calendar/index.md +26 -1
  197. package/skills/cocoar-vue-ui/references/components/calendar/mini-month.md +59 -0
  198. package/skills/cocoar-vue-ui/references/components/calendar/month-view.md +48 -1
  199. package/skills/cocoar-vue-ui/references/components/context-menu.md +1 -0
  200. package/skills/cocoar-vue-ui/references/components/data-grid.md +4 -0
  201. package/skills/cocoar-vue-ui/references/components/date-or-time-picker.md +30 -1
  202. package/skills/cocoar-vue-ui/references/components/date-picker.md +32 -1
  203. package/skills/cocoar-vue-ui/references/components/date-time-picker.md +28 -1
  204. package/skills/cocoar-vue-ui/references/components/dialog.md +188 -2
  205. package/skills/cocoar-vue-ui/references/components/document-viewer/coar-document-viewer.md +4 -0
  206. package/skills/cocoar-vue-ui/references/components/form-field.md +10 -6
  207. package/skills/cocoar-vue-ui/references/components/listbox.md +3 -1
  208. package/skills/cocoar-vue-ui/references/components/map/index.md +5 -1
  209. package/skills/cocoar-vue-ui/references/components/markdown-editor.md +10 -0
  210. package/skills/cocoar-vue-ui/references/components/markdown-form.md +9 -0
  211. package/skills/cocoar-vue-ui/references/components/markdown.md +10 -0
  212. package/skills/cocoar-vue-ui/references/components/menu.md +1 -1
  213. package/skills/cocoar-vue-ui/references/components/mermaid.md +11 -0
  214. package/skills/cocoar-vue-ui/references/components/number-input.md +81 -0
  215. package/skills/cocoar-vue-ui/references/components/object-editor.md +738 -0
  216. package/skills/cocoar-vue-ui/references/components/otp-input.md +1 -1
  217. package/skills/cocoar-vue-ui/references/components/pagination.md +1 -1
  218. package/skills/cocoar-vue-ui/references/components/password-input.md +32 -0
  219. package/skills/cocoar-vue-ui/references/components/script-editor.md +10 -0
  220. package/skills/cocoar-vue-ui/references/components/segmented-control.md +1 -1
  221. package/skills/cocoar-vue-ui/references/components/select.md +136 -2
  222. package/skills/cocoar-vue-ui/references/components/tabs.md +1 -1
  223. package/skills/cocoar-vue-ui/references/components/tag.md +1 -1
  224. package/skills/cocoar-vue-ui/references/components/text-input.md +189 -0
  225. package/skills/cocoar-vue-ui/references/components/zoned-date-time-picker.md +42 -1
  226. package/skills/cocoar-vue-ui/references/foundations/colors.md +32 -3
  227. package/skills/cocoar-vue-ui/references/foundations/compact-presentation.md +248 -0
  228. package/skills/cocoar-vue-ui/references/foundations/theming.md +98 -11
  229. package/skills/cocoar-vue-ui/references/foundations/typography.md +3 -0
  230. package/skills/cocoar-vue-ui/references/guide/getting-started.md +2 -2
  231. package/skills/cocoar-vue-ui/references/guide/migration-color-roles.md +28 -0
  232. package/skills/cocoar-vue-ui/references/guide/migration-object-editor-values.md +40 -0
  233. package/skills/cocoar-vue-ui/references/guide/mobile.md +126 -27
  234. package/skills/cocoar-vue-ui/references/guide/theming.md +25 -0
  235. package/styles/tokens/all.css +6 -0
  236. package/styles/tokens/code-block.css +2 -2
  237. package/styles/tokens/colors-primitives-dark.css +50 -50
  238. package/styles/tokens/colors-primitives-light.css +50 -50
  239. package/styles/tokens/colors-usage.css +132 -111
  240. package/styles/tokens/compact.css +4442 -0
  241. package/styles/tokens/components-shared.css +4 -4
  242. package/styles/tokens/derived.css +525 -0
  243. package/styles/tokens/menu.css +21 -21
  244. package/styles/tokens/mobile.css +2 -0
  245. package/styles/tokens/new-components.css +42 -33
  246. package/styles/tokens/select-overlay.css +12 -12
  247. package/styles/tokens/sidebar.css +12 -12
  248. package/styles/tokens/theme-none.css +99 -93
  249. package/styles/tokens/tooltip.css +4 -4
  250. package/styles/tokens/typography.css +19 -19
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=onest-fonts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onest-fonts.d.ts","sourceRoot":"","sources":["../src/onest-fonts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,2BAA2B,CAAC;AACnC,OAAO,2BAA2B,CAAC;AACnC,OAAO,2BAA2B,CAAC;AACnC,OAAO,2BAA2B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import "@fontsource/onest/400.css";
2
+ import "@fontsource/onest/500.css";
3
+ import "@fontsource/onest/600.css";
4
+ import "@fontsource/onest/700.css";
@@ -0,0 +1,10 @@
1
+ /** sRGB channels in the range 0–255. */
2
+ export type CoarRgb = [number, number, number];
3
+ /** Signed APCA Lc: positive for dark text on a lighter background. */
4
+ export declare function apcaContrast(text: CoarRgb, background: CoarRgb): number;
5
+ /**
6
+ * The raw APCA luminance where pure white and black have equal |Lc|.
7
+ * At this crossing neither the background soft clamp nor the low clip applies.
8
+ */
9
+ export declare const APCA_TEXT_ON_THRESHOLD: number;
10
+ //# sourceMappingURL=color-contrast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-contrast.d.ts","sourceRoot":"","sources":["../../src/theme/color-contrast.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,MAAM,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAW/C,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,MAAM,CASvE;AAED;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAU/B,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-calendar: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ */
5
+ export declare const COMPACT_CALENDAR_TOKENS: Record<string, string>;
6
+ /** Where the theme scope meets `.coar-mobile`. */
7
+ export declare const COMPACT_CALENDAR_MOBILE_TOKENS: Record<string, string>;
8
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/calendar.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2B1D,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-data-grid: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ */
5
+ export declare const COMPACT_DATA_GRID_TOKENS: Record<string, string>;
6
+ /** Where the theme scope meets `.coar-mobile`. Tree toggles get a full 44px target; the indentation step stays 20px. */
7
+ export declare const COMPACT_DATA_GRID_MOBILE_TOKENS: Record<string, string>;
8
+ //# sourceMappingURL=data-grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/data-grid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAE3D,CAAC;AAEF,wHAAwH;AACxH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAElE,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-document-viewer: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ */
5
+ export declare const COMPACT_DOCUMENT_VIEWER_TOKENS: Record<string, string>;
6
+ /** Where the theme scope meets `.coar-mobile`. */
7
+ export declare const COMPACT_DOCUMENT_VIEWER_MOBILE_TOKENS: Record<string, string>;
8
+ //# sourceMappingURL=document-viewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-viewer.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/document-viewer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAOjE,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUxE,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-map: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ */
5
+ export declare const COMPACT_MAP_TOKENS: Record<string, string>;
6
+ /**
7
+ * Where the theme scope meets `.coar-mobile`: the touch target of the zoom buttons
8
+ * and of the point list's drag handle.
9
+ */
10
+ export declare const COMPACT_MAP_MOBILE_TOKENS: Record<string, string>;
11
+ //# sourceMappingURL=map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/map.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAE5D,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-markdown-editor: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ */
5
+ export declare const COMPACT_MARKDOWN_EDITOR_TOKENS: Record<string, string>;
6
+ /** Where the theme scope meets `.coar-mobile`. */
7
+ export declare const COMPACT_MARKDOWN_EDITOR_MOBILE_TOKENS: Record<string, string>;
8
+ //# sourceMappingURL=markdown-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-editor.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/markdown-editor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAcjE,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAcxE,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-markdown and @cocoar/vue-markdown-form: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ *
5
+ * Markdown is document content: reading text, headings and code text have their own
6
+ * roles and do not shrink with the UI text role.
7
+ */
8
+ export declare const COMPACT_MARKDOWN_TOKENS: Record<string, string>;
9
+ /**
10
+ * Where the theme scope meets `.coar-mobile`: same hierarchy, one step larger reading
11
+ * and table text, roomier cells for touch reading.
12
+ */
13
+ export declare const COMPACT_MARKDOWN_MOBILE_TOKENS: Record<string, string>;
14
+ //# sourceMappingURL=markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/markdown.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAqD1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAKjE,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-mermaid: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ */
5
+ export declare const COMPACT_MERMAID_TOKENS: Record<string, string>;
6
+ /** Where the theme scope meets `.coar-mobile`. */
7
+ export declare const COMPACT_MERMAID_MOBILE_TOKENS: Record<string, string>;
8
+ //# sourceMappingURL=mermaid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mermaid.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/mermaid.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIzD,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAGhE,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-page-builder: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ */
5
+ export declare const COMPACT_PAGE_BUILDER_TOKENS: Record<string, string>;
6
+ /** Where the theme scope meets `.coar-mobile`. */
7
+ export declare const COMPACT_PAGE_BUILDER_MOBILE_TOKENS: Record<string, string>;
8
+ //# sourceMappingURL=page-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-builder.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/page-builder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4B9D,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Compact values of @cocoar/vue-script-editor: constants only. What the package derives from
3
+ * shared roles stays in its own stylesheet.
4
+ */
5
+ export declare const COMPACT_SCRIPT_EDITOR_TOKENS: Record<string, string>;
6
+ /** Where the theme scope meets `.coar-mobile`. */
7
+ export declare const COMPACT_SCRIPT_EDITOR_MOBILE_TOKENS: Record<string, string>;
8
+ //# sourceMappingURL=script-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"script-editor.d.ts","sourceRoot":"","sources":["../../../src/theme/compact-packages/script-editor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAK/D,CAAC;AAEF,kDAAkD;AAClD,eAAO,MAAM,mCAAmC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { CoarRoleTheme } from './role-theme';
2
+ /**
3
+ * The values of the Compact presentation: one source for the Theme Editor preset
4
+ * and for the `.coar-compact` compatibility entry (styles/tokens/compact.css is
5
+ * this object serialized; compact-theme.test.ts keeps the two in step).
6
+ *
7
+ * Only inputs live here. What follows from them (aliases, palette steps, component
8
+ * roles) is derived once, in styles/tokens/derived.css.
9
+ */
10
+ export declare const COMPACT_THEME: CoarRoleTheme;
11
+ //# sourceMappingURL=compact-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compact-theme.d.ts","sourceRoot":"","sources":["../../src/theme/compact-theme.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,EAAE,aA2P3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Default calendar values; view-specific and data-dependent defaults stay separate. */
2
+ export declare const ENTERPRISE_CALENDAR_TOKENS: Record<string, string>;
3
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/theme/enterprise-packages/calendar.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwE7D,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Default viewer chrome; document pixels and consumer --coar-color-* inputs stay untouched. */
2
+ export declare const ENTERPRISE_DOCUMENT_VIEWER_TOKENS: Record<string, string>;
3
+ //# sourceMappingURL=document-viewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-viewer.d.ts","sourceRoot":"","sources":["../../../src/theme/enterprise-packages/document-viewer.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,eAAO,MAAM,iCAAiC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAoCpE,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Default Leaflet/editor chrome, without changing map data or marker geometry. */
2
+ export declare const ENTERPRISE_MAP_TOKENS: Record<string, string>;
3
+ //# sourceMappingURL=map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/theme/enterprise-packages/map.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwCxD,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Default document presentation. Package inputs take precedence over the common
3
+ * UI roles without replacing the package's locally evaluated private derivation.
4
+ * Compact leaves these inputs unset and keeps its existing common-role fallback.
5
+ */
6
+ export declare const ENTERPRISE_MARKDOWN_TOKENS: Record<string, string>;
7
+ //# sourceMappingURL=markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/theme/enterprise-packages/markdown.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA0C7D,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Default Mermaid chrome; the diagram's colors still follow the common roles. */
2
+ export declare const ENTERPRISE_MERMAID_TOKENS: Record<string, string>;
3
+ //# sourceMappingURL=mermaid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mermaid.d.ts","sourceRoot":"","sources":["../../../src/theme/enterprise-packages/mermaid.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAI5D,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Default authoring chrome; authored page data and renderer styles stay untouched. */
2
+ export declare const ENTERPRISE_PAGE_BUILDER_TOKENS: Record<string, string>;
3
+ //# sourceMappingURL=page-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-builder.d.ts","sourceRoot":"","sources":["../../../src/theme/enterprise-packages/page-builder.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA0EjE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The shipped coar-light/coar-dark Monaco colors, including the inherited
3
+ * widget and diagnostic colors of the lockfile's Monaco version. Explicit
4
+ * pairs also preserve a forced editor scheme inside the opposite page scheme.
5
+ */
6
+ export declare const ENTERPRISE_SCRIPT_EDITOR_TOKENS: Record<string, string>;
7
+ //# sourceMappingURL=script-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"script-editor.d.ts","sourceRoot":"","sources":["../../../src/theme/enterprise-packages/script-editor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2BlE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { CoarRoleTheme } from './role-theme';
2
+ /**
3
+ * The default presentation as values. The shared derivation stays unchanged;
4
+ * explicit roles preserve the default look where it differs from that derivation.
5
+ * Apps that load no theme continue to use the static token stylesheets.
6
+ */
7
+ export declare const ENTERPRISE_THEME: CoarRoleTheme;
8
+ //# sourceMappingURL=enterprise-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enterprise-theme.d.ts","sourceRoot":"","sources":["../../src/theme/enterprise-theme.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,aA2L9B,CAAC"}
@@ -0,0 +1,34 @@
1
+ /** Stable base-colour names and the primitive palettes derived from them. */
2
+ export declare const COLOR_PALETTES: {
3
+ readonly accent: "accent";
4
+ readonly success: "green";
5
+ readonly error: "red";
6
+ readonly warning: "amber";
7
+ readonly info: "slate";
8
+ };
9
+ export declare const COLOR_STEPS: readonly [50, 100, 200, 300, 400, 500, 600, 700, 800, 900];
10
+ /** The default look's lightness/chroma curves, indexed by COLOR_STEPS. */
11
+ export declare const DEFAULT_PALETTE_CURVES: {
12
+ readonly accent: {
13
+ readonly light: readonly ["0.97 0.012", "0.92 0.035", "0.84 0.075", "0.74 0.115", "0.66 0.145", "l c", "0.53 0.15", "0.47 0.14", "0.39 0.12", "0.31 0.095"];
14
+ readonly dark: readonly ["0.20 0.045", "0.25 0.065", "0.32 0.095", "0.42 0.13", "0.52 0.155", "l c", "0.68 0.14", "0.76 0.11", "0.85 0.07", "0.93 0.035"];
15
+ };
16
+ readonly green: {
17
+ readonly light: readonly ["0.97 0.012", "0.92 0.035", "0.84 0.065", "0.74 0.10", "0.66 0.13", "l c", "0.47 0.12", "0.40 0.10", "0.33 0.08", "0.26 0.06"];
18
+ readonly dark: readonly ["0.20 0.035", "0.25 0.055", "0.32 0.08", "0.42 0.11", "0.52 0.13", "l c", "0.68 0.12", "0.76 0.09", "0.85 0.06", "0.93 0.03"];
19
+ };
20
+ readonly red: {
21
+ readonly light: readonly ["0.97 0.012", "0.92 0.035", "0.84 0.07", "0.74 0.11", "0.66 0.145", "l c", "0.47 0.13", "0.40 0.11", "0.33 0.09", "0.26 0.07"];
22
+ readonly dark: readonly ["0.20 0.04", "0.25 0.06", "0.32 0.09", "0.42 0.12", "0.52 0.145", "l c", "0.68 0.12", "0.76 0.09", "0.85 0.06", "0.93 0.03"];
23
+ };
24
+ readonly amber: {
25
+ readonly light: readonly ["0.97 0.015", "0.92 0.04", "0.86 0.08", "0.78 0.12", "0.72 0.14", "l c", "0.50 0.12", "0.43 0.10", "0.36 0.08", "0.29 0.06"];
26
+ readonly dark: readonly ["0.22 0.04", "0.27 0.06", "0.34 0.09", "0.44 0.12", "0.54 0.14", "l c", "0.70 0.12", "0.78 0.09", "0.86 0.06", "0.93 0.03"];
27
+ };
28
+ readonly slate: {
29
+ readonly light: readonly ["0.97 0.006", "0.92 0.012", "0.84 0.02", "0.74 0.03", "0.66 0.035", "l c", "0.47 0.03", "0.40 0.025", "0.35 0.02", "0.30 0.02"];
30
+ readonly dark: readonly ["0.18 0.012", "0.23 0.018", "0.30 0.022", "0.40 0.025", "0.50 0.03", "l c", "0.70 0.025", "0.78 0.018", "0.86 0.012", "0.93 0.006"];
31
+ };
32
+ };
33
+ export declare const DEFAULT_PALETTE_INPUTS: Record<string, string>;
34
+ //# sourceMappingURL=palette-inputs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"palette-inputs.d.ts","sourceRoot":"","sources":["../../src/theme/palette-inputs.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAC;AAEX,eAAO,MAAM,WAAW,4DAA6D,CAAC;AAEtF,0EAA0E;AAC1E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;CAqBzB,CAAC;AAEX,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAMzD,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Public names derived by styles/tokens/derived.css; reconciled by the context tests. */
2
+ export declare const ROLE_DERIVED_TOKENS: string[];
3
+ //# sourceMappingURL=role-derived-tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-derived-tokens.d.ts","sourceRoot":"","sources":["../../src/theme/role-derived-tokens.ts"],"names":[],"mappings":"AAEA,0FAA0F;AAC1F,eAAO,MAAM,mBAAmB,UAwDC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const ROLE_INPUT_DEFAULTS: Record<string, string>;
2
+ export declare const ROLE_MOBILE_DEFAULTS: Record<string, string>;
3
+ export declare const ROLE_SCHEME_DEFAULTS: Record<'light' | 'dark', Record<string, string>>;
4
+ export declare const ROLE_ROOT_DEFAULTS: Record<string, string>;
5
+ //# sourceMappingURL=role-input-defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-input-defaults.d.ts","sourceRoot":"","sources":["../../src/theme/role-input-defaults.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkEtD,CAAC;AACF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWvD,CAAC;AACF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,OAAO,GAAG,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA6NjF,CAAC;AACF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2NrD,CAAC"}
@@ -0,0 +1,8 @@
1
+ /** One contract, including unset slots, for every first-party preset and export. */
2
+ export declare const ROLE_THEME_ROLES: string[];
3
+ export declare const ROLE_THEME_INPUT_DEFAULTS: {
4
+ [k: string]: string;
5
+ };
6
+ /** Only these slots can be written by an outer preset's legacy mobile rules. */
7
+ export declare const ROLE_THEME_MOBILE_INPUTS: string[];
8
+ //# sourceMappingURL=role-theme-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-theme-contract.d.ts","sourceRoot":"","sources":["../../src/theme/role-theme-contract.ts"],"names":[],"mappings":"AAKA,oFAAoF;AACpF,eAAO,MAAM,gBAAgB,UAE1B,CAAC;AAGJ,eAAO,MAAM,yBAAyB;;CAKrC,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,wBAAwB,UACkD,CAAC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * A theme as values for the shared role contract. The library derives everything
3
+ * that follows from them (styles/tokens/derived.css); a theme never brings formulas
4
+ * of its own.
5
+ */
6
+ export interface CoarRoleTheme {
7
+ /** Token values on the theme scope. */
8
+ tokens: Record<string, string>;
9
+ /** Inputs and role overrides where the scope meets `.coar-mobile`, in either nesting order. */
10
+ mobileTokens: Record<string, string>;
11
+ /** Explicit derived-role values, reapplied at every boundary inside the scope. */
12
+ roles?: Record<string, string>;
13
+ }
14
+ /** Set by a theme (empty value = on) to have the library derive from its values. */
15
+ export declare const ROLE_DERIVATION_TOKEN = "--coar-role-derivation";
16
+ /** What `ROLE_DERIVATION_TOKEN` resolves to on an element where derivation is active. */
17
+ export declare const ROLE_DERIVATION_MARKER = "--coar-d-role-derivation";
18
+ /** Optional inputs a surrounding `CoarThemeScope` hands to a theme; `.coar-theme-none` clears them. */
19
+ export declare const APPEARANCE_INPUT_TOKENS: string[];
20
+ /** Theme-owned bases survive the library defaults at nested scheme boundaries. */
21
+ export declare const THEME_COLOR_INPUT_TOKENS: string[];
22
+ /**
23
+ * The tokens that carry a font family. Without a role theme each role holds its own
24
+ * family, so naming another font means setting them all; a role theme derives the
25
+ * roles from the first entry of each list.
26
+ */
27
+ export declare const BODY_FAMILY_TOKENS: string[];
28
+ export declare const TITLE_FAMILY_TOKENS: string[];
29
+ /** Boundaries inside a theme scope that set their own text and colour scheme again. */
30
+ export declare const NESTED_BOUNDARIES = ":where(.coar-mobile, .coar-theme-scope, .coar-theme-none, .light-mode, .dark-mode, [data-theme])";
31
+ /**
32
+ * The CSS of a role theme for one scope selector (`.coar-theme--acme`). The same
33
+ * text styles the live Theme Editor, its download and the `.coar-compact` entry.
34
+ *
35
+ * Besides the values it states what a scope is: its own text and colour scheme, on
36
+ * the scope and on every boundary nested in it, so a dark scope inside a light page
37
+ * resolves `light-dark()` values and plain text correctly.
38
+ */
39
+ export declare function serializeRoleTheme(selector: string, theme: CoarRoleTheme): string;
40
+ //# sourceMappingURL=role-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-theme.d.ts","sourceRoot":"","sources":["../../src/theme/role-theme.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,+FAA+F;IAC/F,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,oFAAoF;AACpF,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAE9D,yFAAyF;AACzF,eAAO,MAAM,sBAAsB,6BAA6B,CAAC;AAEjE,uGAAuG;AACvG,eAAO,MAAM,uBAAuB,UAGQ,CAAC;AAE7C,kFAAkF;AAClF,eAAO,MAAM,wBAAwB,UAAoE,CAAC;AAE1G;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,UAQ9B,CAAC;AACF,eAAO,MAAM,mBAAmB,UAO/B,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,iBAAiB,qGACsE,CAAC;AAOrG;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,MAAM,CA8CjF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocoar/vue-ui",
3
- "version": "3.4.0-beta.8",
3
+ "version": "4.0.0-beta.46",
4
4
  "description": "Cocoar Design System — a tablet-first Vue 3 component library with 30+ accessible, themeable components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -22,7 +22,9 @@
22
22
  "type": "module",
23
23
  "sideEffects": [
24
24
  "*.css",
25
- "./dist/fonts.js"
25
+ "./dist/fonts.js",
26
+ "./dist/compact-fonts.js",
27
+ "./dist/onest-fonts.js"
26
28
  ],
27
29
  "main": "./dist/index.js",
28
30
  "module": "./dist/index.js",
@@ -36,6 +38,14 @@
36
38
  "./fonts": {
37
39
  "import": "./dist/fonts.js",
38
40
  "types": "./dist/fonts.d.ts"
41
+ },
42
+ "./fonts/compact": {
43
+ "import": "./dist/compact-fonts.js",
44
+ "types": "./dist/compact-fonts.d.ts"
45
+ },
46
+ "./fonts/onest": {
47
+ "import": "./dist/onest-fonts.js",
48
+ "types": "./dist/onest-fonts.d.ts"
39
49
  }
40
50
  },
41
51
  "bin": {
@@ -48,9 +58,10 @@
48
58
  "skills"
49
59
  ],
50
60
  "dependencies": {
51
- "@cocoar/vue-localization": "3.4.0-beta.8",
61
+ "@cocoar/vue-localization": "4.0.0-beta.46",
52
62
  "@fontsource/cascadia-code": "^5.2.3",
53
63
  "@fontsource/inter": "^5.2.8",
64
+ "@fontsource/onest": "^5.3.1",
54
65
  "@fontsource/poppins": "^5.2.7",
55
66
  "@js-temporal/polyfill": "^0.5.1",
56
67
  "@maskito/core": "^5.2.2",
@@ -73,7 +84,7 @@
73
84
  "vue": "^3.5.32",
74
85
  "vue-router": "^5.0.4"
75
86
  },
76
- "gitHead": "c64c8033c839441a2c1543da3694eabfc2220be2",
87
+ "gitHead": "cb5acac0116b4cf88473d153787d615b19fb7923",
77
88
  "scripts": {
78
89
  "build": "vite build",
79
90
  "test": "vitest run",
@@ -32,6 +32,7 @@ as a `vue` code block. The index at the bottom says which page answers what.
32
32
  | `@cocoar/vue-markdown` | `CoarMarkdown` viewer + the shared rendering registry (custom embeds, fence renderers) |
33
33
  | `@cocoar/vue-markdown-editor` | `CoarMarkdownEditor` — Milkdown WYSIWYG editor sharing the viewer's component map |
34
34
  | `@cocoar/vue-markdown-form` | `CoarMarkdownForm` — template-driven forms with fixed prose and registered field controls |
35
+ | `@cocoar/vue-object-editor` | `CoarObjectEditor`, `CoarSchemaEditor` — edit a JSON object driven by a JSON Schema, and describe that schema (Preview) |
35
36
  | `@cocoar/vue-mermaid`, `@cocoar/vue-markdown-mermaid` | `CoarMermaidDiagram` and the adapter that renders ```` ```mermaid ```` fences in the viewer |
36
37
  | `@cocoar/vue-script-editor` | `CoarScriptEditor` — Monaco-based TS/JS/JSON editor with constrained and authoring modes |
37
38
  | `@cocoar/vue-page-builder` | `CoarPageBuilder` (visual editor) + `CoarPageRenderer` (runtime) over an open element registry |
@@ -97,6 +98,8 @@ of each other.
97
98
  - [Mobile presentation (Preview)](references/guide/mobile.md) — Opt into the mobile presentation with a coar-mobile parent: touch-sized controls, what decides sizes, layout and input behaviour, how it combines with brand themes, and which device classes each component supports.
98
99
  - [Migrating to 2.11](references/guide/migration.md) — Migration guide for Cocoar UI 2.11: date/time pickers move onto CoarFormField, the clear button becomes opt-in, and two CSS tokens are renamed.
99
100
  - [Migrating Page Builder to 3.0](references/guide/migration-page-builder-3.md) — Migration guide for @cocoar/vue-page-builder 3.0: four PageConfig concepts removed, several names disambiguated, and documents migrated to schemaVersion 6.
101
+ - [Migrating text on saturated fills](references/guide/migration-color-roles.md) — Text on saturated fills now has one computed ink role per base colour, with explicit overrides for custom themes.
102
+ - [Migrating the Object Editor values](references/guide/migration-object-editor-values.md) — Object Editor: values are kept as set. null, empty text, empty lists and empty groups are values; only Remove deletes a key. presence="filled" keeps the form behaviour.
100
103
 
101
104
  ### Foundations
102
105
 
@@ -107,6 +110,7 @@ of each other.
107
110
  - [Icons](references/foundations/icons.md) — CoarIcon and the built-in SVG icon set: preset sizes, colors, rotation, spin animation, and registering custom icon sources with fallback.
108
111
  - [Motion](references/foundations/motion.md) — Motion design tokens: duration and easing CSS variables plus pre-composed transition values, with interactive demos and usage examples.
109
112
  - [Theme Editor](references/foundations/theming.md) — CoarThemeEditor, a live token editor: explore primitive, semantic, and component token layers, apply presets, and export a CSS snippet.
113
+ - [Compact presentation (Preview)](references/foundations/compact-presentation.md) — Preview: the compact presentation, a theme with Inter, Slate surfaces and separate desktop, touch and input roles. Load it as a preset in the Theme Editor or opt in with .coar-compact. Existing applications keep their presentation.
110
114
 
111
115
  ### Localization (@cocoar/vue-localization)
112
116
 
@@ -184,11 +188,12 @@ of each other.
184
188
  - [Drag & Drop](references/components/drag-drop.md) — useDragDrop — HTML5 drag-and-drop composable with group, accept and canDrop matching rules for building custom drag surfaces like Kanban boards.
185
189
  - [Fragment Parser & Modal Routing](references/components/fragment-parser.md) — @cocoar/vue-fragment-parser — parses URL hash fragments into typed routes with parameters; composables enable deep-linkable modals with browser-back to close
186
190
 
187
- ### Content (@cocoar/vue-markdown, -editor, -form, -mermaid, @cocoar/vue-script-editor)
191
+ ### Content (@cocoar/vue-markdown, -editor, -form, -mermaid, @cocoar/vue-script-editor, @cocoar/vue-object-editor)
188
192
 
189
193
  - [Markdown](references/components/markdown.md) — @cocoar/vue-markdown — markdown rendering split into a framework-agnostic parser (markdown-core) and the CoarMarkdown Vue component with GFM support
190
194
  - [Markdown Editor (Preview)](references/components/markdown-editor.md) — CoarMarkdownEditor — Milkdown-based WYSIWYG markdown editor with lossless round-trip, floating or fixed toolbar and a render registry shared with CoarMarkdown
191
195
  - [Markdown Form](references/components/markdown-form.md) — CoarMarkdownForm renders a fixed Markdown template with registered fill controls, separate typed values, validation and readonly output.
196
+ - [Object Editor (Preview)](references/components/object-editor.md) — CoarObjectEditor edits a JSON object driven by a JSON Schema; CoarSchemaEditor describes that schema. Built-in value types plus types of the app.
192
197
  - [Custom Embeds (Preview)](references/components/markdown-embeds.md) — Markdown custom embeds — register Vue components rendered from :::key{props} directives in both viewer and editor, with lossless round-trip to plain text
193
198
  - [Diagrams (Preview)](references/components/markdown-diagrams.md) — @cocoar/vue-markdown-mermaid — renders mermaid code fences in CoarMarkdown as Cocoar-themed diagrams; lazy-loaded, strict security, degrades to plain code blocks
194
199
  - [Mermaid Diagram (Preview)](references/components/mermaid.md) — CoarMermaidDiagram — standalone Mermaid diagram component for Vue 3 rendering from a source string; Cocoar-themed, lazily loaded, with opt-in zoom/pan
@@ -238,6 +243,8 @@ of each other.
238
243
  - [Calendar (Preview)](references/components/calendar/index.md) — @cocoar/vue-calendar — Temporal-based Vue 3 calendar with Year, Month, Week, Day and Agenda views, iOS-style display variations, recurrence and standalone sub-views
239
244
  - [`<CoarCalendar>` — Composer (Preview)](references/components/calendar/coar-calendar.md) — CoarCalendar — top-level calendar shell wiring the iOS-style Year, Month, Day and Agenda hierarchy plus Week and Work Week, driven by the chainable useCalendar builder
240
245
  - [`<CoarYearView>` — Year View (Preview)](references/components/calendar/year-view.md) — CoarYearView — responsive twelve-month calendar overview with today marker and drill-in to the continuous Month view
246
+ - [`<CoarCalendarBoard>` — Board (Preview)](references/components/calendar/board.md) — CoarCalendarBoard — rows of day cells with bars running across: a week by parts of the day, a week per resource, a year wall planner
247
+ - [`<CoarMiniMonth>` — Mini Month (Preview)](references/components/calendar/mini-month.md) — CoarMiniMonth — a small month for picking a day, with its own paging, week highlight and keyboard navigation, without a builder
241
248
  - [Month Views (Preview)](references/components/calendar/month-view.md) — Month views — continuously scrolling Compact, Stacked and Details months, responsive Month List, and the lower-level CoarMonthView section
242
249
  - [`<CoarDayView>` — Day View (Preview)](references/components/calendar/day-view.md) — CoarDayView — one-day or width-aware multi-day time grid with hour axis, all-day band, configurable columns, time range and slot duration
243
250
  - [`<CoarWeekView>` — Week View (Preview)](references/components/calendar/week-view.md) — CoarWeekView — 7-day time-grid calendar view with hour axis, all-day band, locale-aware first day of week and a customizable day-header slot