@kodacms/admin 0.0.0-stage → 0.1.1

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 (503) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/LICENSE +21 -0
  3. package/README.md +93 -2
  4. package/design-tokens/kodacms.tokens.json +1360 -0
  5. package/dist/apple-touch-icon.png +0 -0
  6. package/dist/assets/AuditView-DCgrAjma.js +1 -0
  7. package/dist/assets/CollectionView-CY3zK1CE.js +1 -0
  8. package/dist/assets/CustomComponent-B1mxHHd0.js +1 -0
  9. package/dist/assets/CustomPageView-BTsy9MC8.js +1 -0
  10. package/dist/assets/DashboardView-ujWhLuS2.js +1 -0
  11. package/dist/assets/DeleteDocumentsDialog-D1nx27UG.js +1 -0
  12. package/dist/assets/DocumentHistoryView-Ko633-Dy.js +1 -0
  13. package/dist/assets/DocumentView-CPEjwzzo.js +1 -0
  14. package/dist/assets/GlobalHistoryView-CbwdeYpn.js +1 -0
  15. package/dist/assets/GlobalView-DcTGexxK.js +1 -0
  16. package/dist/assets/KAlert-DoR81cyQ.js +1 -0
  17. package/dist/assets/KCard-DNom764U.js +1 -0
  18. package/dist/assets/KDropdownMenu-BECk5S9K.js +1 -0
  19. package/dist/assets/KField-CvINPmYu.js +1 -0
  20. package/dist/assets/KPagination-DQOzrRaf.js +1 -0
  21. package/dist/assets/KPasswordInput-EPBXvtXG.js +1 -0
  22. package/dist/assets/KSeparator-DEbXnpDV.js +1 -0
  23. package/dist/assets/KTableRow-Dpp2Lk2V.js +1 -0
  24. package/dist/assets/KTabs-b95D7hep.js +1 -0
  25. package/dist/assets/KTextarea-CCveuS_I.js +1 -0
  26. package/dist/assets/Label-m9Ig3v9B.js +1 -0
  27. package/dist/assets/ListFooter-qYmCWY4R.js +1 -0
  28. package/dist/assets/LoadError-BRccywgs.js +1 -0
  29. package/dist/assets/LoginView-DvTtEJxp.js +1 -0
  30. package/dist/assets/NoAccessView-Bg69btHE.js +1 -0
  31. package/dist/assets/NotFoundView-qhJ2ixSH.js +1 -0
  32. package/dist/assets/PageHeader-B3riLtJg.js +1 -0
  33. package/dist/assets/PopoverAnchor-BwL6g4vt.js +1 -0
  34. package/dist/assets/PopoverContentImpl-Dq0cbuHV.js +1 -0
  35. package/dist/assets/PopoverContentModal-BEl8rmbI.js +1 -0
  36. package/dist/assets/PopoverContentNonModal-D5osgtpx.js +1 -0
  37. package/dist/assets/RoleView-D9732bW6.js +1 -0
  38. package/dist/assets/RolesView-Du4NUhQJ.js +1 -0
  39. package/dist/assets/TooltipContentHoverable-C18vbtIU.js +1 -0
  40. package/dist/assets/TooltipContentImpl-CCpG79EA.js +1 -0
  41. package/dist/assets/TooltipContentImpl-DQFjU6ri.js +1 -0
  42. package/dist/assets/UploadQueueItem-BbG5x7WM.js +6 -0
  43. package/dist/assets/UserView-iFK1eFT9.js +1 -0
  44. package/dist/assets/UsersView-B6fCtC-4.js +1 -0
  45. package/dist/assets/columns-DmJOzXV9.js +1 -0
  46. package/dist/assets/ellipsis-BNwYKZMS.js +1 -0
  47. package/dist/assets/error-text-1F8qU3pC.js +1 -0
  48. package/dist/assets/eye-DyBObYiE.js +1 -0
  49. package/dist/assets/eye-off-Bd_6erac.js +1 -0
  50. package/dist/assets/form-layout-Dk2JVUC0.js +1 -0
  51. package/dist/assets/globals-BMIQQR5f.js +1 -0
  52. package/dist/assets/index-CGdQZeTs.css +2 -0
  53. package/dist/assets/index-a4P44W6e.js +14 -0
  54. package/dist/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  55. package/dist/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  56. package/dist/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  57. package/dist/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  58. package/dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  59. package/dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  60. package/dist/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  61. package/dist/assets/jetbrains-mono-cyrillic-ext-wght-normal-EocZY2iu.woff2 +0 -0
  62. package/dist/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
  63. package/dist/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
  64. package/dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
  65. package/dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
  66. package/dist/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
  67. package/dist/assets/list-query-DcmvyLSO.js +1 -0
  68. package/dist/assets/rolldown-runtime-P3Pd_6ND.js +1 -0
  69. package/dist/assets/select-options-osOjd-zR.js +1 -0
  70. package/dist/assets/useAuditState-D6n8HXQ2.js +1 -0
  71. package/dist/assets/useDebounced-BVo96C1E.js +1 -0
  72. package/dist/assets/useHistoryLocale-BWBBUuQi.js +1 -0
  73. package/dist/assets/useListState-CTgxjU_g.js +1 -0
  74. package/dist/assets/useLocaleDocument-DkvwSG3X.js +1 -0
  75. package/dist/assets/usePageHeader-wYdFq9cQ.js +1 -0
  76. package/dist/assets/useRoleDelete-DFwroHOv.js +1 -0
  77. package/dist/assets/useSaveShortcut-DFNu_TAL.js +1 -0
  78. package/dist/assets/useUserDelete-83wa7pqC.js +1 -0
  79. package/dist/assets/useUsersAccess-1yVnzExk.js +1 -0
  80. package/dist/assets/users-NiowxtJB.js +1 -0
  81. package/dist/assets/validate-CEcXMakk.js +1 -0
  82. package/dist/favicon.svg +12 -0
  83. package/dist/index.html +16 -0
  84. package/dist/koda-components.json +4 -0
  85. package/index.html +15 -0
  86. package/package.json +68 -4
  87. package/public/apple-touch-icon.png +0 -0
  88. package/public/favicon.svg +12 -0
  89. package/src/App.vue +17 -0
  90. package/src/api/access.ts +110 -0
  91. package/src/api/admin-config.ts +318 -0
  92. package/src/api/admin-fields.ts +557 -0
  93. package/src/api/admin-layout.ts +191 -0
  94. package/src/api/api-error.ts +78 -0
  95. package/src/api/audit.ts +170 -0
  96. package/src/api/client.ts +153 -0
  97. package/src/api/documents.ts +470 -0
  98. package/src/api/drafts.ts +115 -0
  99. package/src/api/error-text.ts +11 -0
  100. package/src/api/globals.ts +133 -0
  101. package/src/api/http.ts +24 -0
  102. package/src/api/locale.ts +48 -0
  103. package/src/api/permissions.ts +194 -0
  104. package/src/api/relations.ts +86 -0
  105. package/src/api/roles.ts +170 -0
  106. package/src/api/scopes.ts +91 -0
  107. package/src/api/search-query.ts +33 -0
  108. package/src/api/search.ts +39 -0
  109. package/src/api/types.ts +39 -0
  110. package/src/api/upload.ts +146 -0
  111. package/src/api/users.ts +88 -0
  112. package/src/api/versions.ts +206 -0
  113. package/src/api/where-query.ts +79 -0
  114. package/src/audit/AuditActionBadge.vue +13 -0
  115. package/src/audit/AuditActor.vue +34 -0
  116. package/src/audit/AuditCard.vue +68 -0
  117. package/src/audit/AuditDrawer.vue +86 -0
  118. package/src/audit/AuditDrawerActions.vue +70 -0
  119. package/src/audit/AuditEntryBody.vue +74 -0
  120. package/src/audit/AuditEntryChanges.vue +88 -0
  121. package/src/audit/AuditEntryFacts.vue +47 -0
  122. package/src/audit/AuditFilterBar.vue +55 -0
  123. package/src/audit/AuditFilterControls.vue +148 -0
  124. package/src/audit/AuditFiltersDrawer.vue +46 -0
  125. package/src/audit/AuditHistory.vue +136 -0
  126. package/src/audit/AuditList.vue +183 -0
  127. package/src/audit/AuditListStates.vue +70 -0
  128. package/src/audit/AuditRestoredVersion.vue +66 -0
  129. package/src/audit/AuditSearch.vue +40 -0
  130. package/src/audit/AuditTable.vue +116 -0
  131. package/src/audit/HistoryTabs.vue +48 -0
  132. package/src/audit/audit-changes.ts +161 -0
  133. package/src/audit/audit-filters.ts +152 -0
  134. package/src/audit/audit-view.ts +372 -0
  135. package/src/audit/useAuditContext.ts +23 -0
  136. package/src/audit/useAuditFilterOptions.ts +67 -0
  137. package/src/audit/useAuditState.ts +82 -0
  138. package/src/brand/KodaMark.vue +42 -0
  139. package/src/composables/useAccessView.ts +120 -0
  140. package/src/composables/useDebounced.ts +15 -0
  141. package/src/composables/usePageHeader.ts +20 -0
  142. package/src/composables/useSessionCacheReset.ts +23 -0
  143. package/src/composables/useTheme.ts +79 -0
  144. package/src/composables/useUsersAccess.ts +13 -0
  145. package/src/custom/CustomComponent.vue +103 -0
  146. package/src/custom/CustomComponentNotice.vue +71 -0
  147. package/src/custom/CustomInserts.vue +36 -0
  148. package/src/custom/component-name.ts +18 -0
  149. package/src/custom/error-info.ts +22 -0
  150. package/src/custom/form-context.ts +44 -0
  151. package/src/custom/list-context.ts +44 -0
  152. package/src/custom/place.ts +126 -0
  153. package/src/custom/registry.ts +101 -0
  154. package/src/custom/useCustomComponent.ts +136 -0
  155. package/src/custom/useFormZones.ts +65 -0
  156. package/src/custom/useListZones.ts +38 -0
  157. package/src/custom/user-components.ts +20 -0
  158. package/src/custom/zone-components.ts +53 -0
  159. package/src/documents/DocumentForm.vue +168 -0
  160. package/src/documents/DocumentList.vue +190 -0
  161. package/src/documents/cells/CheckboxCell.vue +16 -0
  162. package/src/documents/cells/DateCell.vue +26 -0
  163. package/src/documents/cells/FallbackCell.vue +23 -0
  164. package/src/documents/cells/FileSizeCell.vue +14 -0
  165. package/src/documents/cells/IdCell.vue +14 -0
  166. package/src/documents/cells/MimeCell.vue +15 -0
  167. package/src/documents/cells/NumberCell.vue +13 -0
  168. package/src/documents/cells/RelationshipCell.vue +33 -0
  169. package/src/documents/cells/RowsCell.vue +21 -0
  170. package/src/documents/cells/SelectCell.vue +23 -0
  171. package/src/documents/cells/StatusCell.vue +18 -0
  172. package/src/documents/cells/TextCell.vue +16 -0
  173. package/src/documents/cells/ThumbnailCell.vue +31 -0
  174. package/src/documents/cells/UploadCell.vue +53 -0
  175. package/src/documents/cells/UploadCellThumb.vue +27 -0
  176. package/src/documents/cells/cell-props.ts +12 -0
  177. package/src/documents/cells/registry.ts +44 -0
  178. package/src/documents/cells/select-options.ts +18 -0
  179. package/src/documents/drafts/DraftActions.vue +62 -0
  180. package/src/documents/drafts/DraftStatus.vue +100 -0
  181. package/src/documents/drafts/StatusBadge.vue +23 -0
  182. package/src/documents/drafts/UnpublishDialog.vue +25 -0
  183. package/src/documents/drafts/useAutosave.ts +88 -0
  184. package/src/documents/drafts/useDrafts.ts +73 -0
  185. package/src/documents/fields/CheckboxControl.vue +13 -0
  186. package/src/documents/fields/DateControl.vue +22 -0
  187. package/src/documents/fields/FieldControl.vue +55 -0
  188. package/src/documents/fields/FieldDescription.vue +34 -0
  189. package/src/documents/fields/FieldRenderer.vue +92 -0
  190. package/src/documents/fields/GroupChildren.vue +28 -0
  191. package/src/documents/fields/GroupErrors.vue +49 -0
  192. package/src/documents/fields/GroupFields.vue +87 -0
  193. package/src/documents/fields/JsonControl.vue +20 -0
  194. package/src/documents/fields/NumberControl.vue +20 -0
  195. package/src/documents/fields/ReadOnlyControl.vue +18 -0
  196. package/src/documents/fields/SelectControl.vue +46 -0
  197. package/src/documents/fields/TextControl.vue +37 -0
  198. package/src/documents/fields/TextareaControl.vue +18 -0
  199. package/src/documents/fields/ValueField.vue +87 -0
  200. package/src/documents/fields/field-control.ts +10 -0
  201. package/src/documents/fields/registry.ts +56 -0
  202. package/src/documents/fields/relation/JoinControl.vue +41 -0
  203. package/src/documents/fields/relation/RelationshipControl.vue +57 -0
  204. package/src/documents/fields/relation/useRelationPicker.ts +96 -0
  205. package/src/documents/fields/rows/ArrayFields.vue +72 -0
  206. package/src/documents/fields/rows/BlocksFields.vue +90 -0
  207. package/src/documents/fields/rows/RowCard.vue +81 -0
  208. package/src/documents/fields/rows/RowFields.vue +32 -0
  209. package/src/documents/fields/rows/RowsFieldset.vue +51 -0
  210. package/src/documents/fields/rows/row-title.ts +29 -0
  211. package/src/documents/fields/rows/useRows.ts +32 -0
  212. package/src/documents/fields/upload/MediaGrid.vue +61 -0
  213. package/src/documents/fields/upload/MediaLibrary.vue +131 -0
  214. package/src/documents/fields/upload/MediaPickerDialog.vue +54 -0
  215. package/src/documents/fields/upload/MediaTile.vue +69 -0
  216. package/src/documents/fields/upload/MediaUploadArea.vue +60 -0
  217. package/src/documents/fields/upload/UploadControl.vue +157 -0
  218. package/src/documents/fields/upload/UploadValueItem.vue +108 -0
  219. package/src/documents/fields/upload/upload-field.ts +77 -0
  220. package/src/documents/fields/upload/useFieldUploads.ts +60 -0
  221. package/src/documents/fields/upload/useMediaLibrary.ts +77 -0
  222. package/src/documents/fields/useCustomFieldModel.ts +32 -0
  223. package/src/documents/fields/useFieldLocale.ts +38 -0
  224. package/src/documents/form/DocumentFields.vue +28 -0
  225. package/src/documents/form/DocumentHeader.vue +50 -0
  226. package/src/documents/form/DocumentMeta.vue +99 -0
  227. package/src/documents/form/UnsavedChangesDialog.vue +27 -0
  228. package/src/documents/form/created-by.ts +12 -0
  229. package/src/documents/form/field-errors.ts +29 -0
  230. package/src/documents/form/field-value.ts +229 -0
  231. package/src/documents/form/focus-first-error.ts +43 -0
  232. package/src/documents/form/form-conditions.ts +106 -0
  233. package/src/documents/form/form-layout.ts +245 -0
  234. package/src/documents/form/form-values.ts +265 -0
  235. package/src/documents/form/layout/LayoutBlock.vue +32 -0
  236. package/src/documents/form/layout/LayoutItems.vue +43 -0
  237. package/src/documents/form/layout/LayoutLeaf.vue +33 -0
  238. package/src/documents/form/layout/LayoutRow.vue +60 -0
  239. package/src/documents/form/layout/LayoutSection.vue +73 -0
  240. package/src/documents/form/layout/LayoutStack.vue +20 -0
  241. package/src/documents/form/layout/LayoutTabs.vue +74 -0
  242. package/src/documents/form/relation-value.ts +160 -0
  243. package/src/documents/form/rows.ts +24 -0
  244. package/src/documents/form/save-messages.ts +65 -0
  245. package/src/documents/form/useDocumentDelete.ts +38 -0
  246. package/src/documents/form/useDocumentEditor.ts +167 -0
  247. package/src/documents/form/useDocumentForm.ts +37 -0
  248. package/src/documents/form/useDocumentRights.ts +45 -0
  249. package/src/documents/form/useDocumentSubmit.ts +128 -0
  250. package/src/documents/form/useFieldsForm.ts +238 -0
  251. package/src/documents/form/useFormLayout.ts +21 -0
  252. package/src/documents/form/useFormTabs.ts +54 -0
  253. package/src/documents/form/useLeaveGuard.ts +69 -0
  254. package/src/documents/form/useSaveShortcut.ts +13 -0
  255. package/src/documents/form/validate.ts +220 -0
  256. package/src/documents/list/CellConflictMessage.vue +24 -0
  257. package/src/documents/list/CellEditor.vue +155 -0
  258. package/src/documents/list/CellRelationEditor.vue +62 -0
  259. package/src/documents/list/DeleteDocumentsDialog.vue +42 -0
  260. package/src/documents/list/DocumentActions.vue +68 -0
  261. package/src/documents/list/DocumentCard.vue +84 -0
  262. package/src/documents/list/DocumentCards.vue +31 -0
  263. package/src/documents/list/DocumentRow.vue +86 -0
  264. package/src/documents/list/DocumentTable.vue +104 -0
  265. package/src/documents/list/InlineCell.vue +151 -0
  266. package/src/documents/list/InlineCheckboxCell.vue +99 -0
  267. package/src/documents/list/ListCell.vue +39 -0
  268. package/src/documents/list/ListCellValue.vue +59 -0
  269. package/src/documents/list/ListFooter.vue +50 -0
  270. package/src/documents/list/ListSearch.vue +44 -0
  271. package/src/documents/list/ListStates.vue +73 -0
  272. package/src/documents/list/ListToolbar.vue +37 -0
  273. package/src/documents/list/SelectionBar.vue +30 -0
  274. package/src/documents/list/cell-failure.ts +91 -0
  275. package/src/documents/list/cell-save.ts +129 -0
  276. package/src/documents/list/columns.ts +157 -0
  277. package/src/documents/list/inline-cells.ts +61 -0
  278. package/src/documents/list/inline-edit-context.ts +14 -0
  279. package/src/documents/list/inline-edit.ts +302 -0
  280. package/src/documents/list/list-query.ts +46 -0
  281. package/src/documents/list/row-overlay.ts +45 -0
  282. package/src/documents/list/sort.ts +32 -0
  283. package/src/documents/list/useCellEditorKeys.ts +78 -0
  284. package/src/documents/list/useCellEditorModel.ts +33 -0
  285. package/src/documents/list/useCellPopup.ts +94 -0
  286. package/src/documents/list/useDeleteFlow.ts +42 -0
  287. package/src/documents/list/useDocumentListData.ts +97 -0
  288. package/src/documents/list/useInlineEdit.ts +143 -0
  289. package/src/documents/list/useListInlineEdit.ts +68 -0
  290. package/src/documents/list/useListNotices.ts +58 -0
  291. package/src/documents/list/useListState.ts +67 -0
  292. package/src/documents/list/useRowPublish.ts +150 -0
  293. package/src/documents/upload/BulkUpload.vue +58 -0
  294. package/src/documents/upload/DocumentFileCard.vue +106 -0
  295. package/src/documents/upload/FileActions.vue +57 -0
  296. package/src/documents/upload/FileDetails.vue +40 -0
  297. package/src/documents/upload/UploadProgressRow.vue +29 -0
  298. package/src/documents/upload/UploadQueueItem.vue +150 -0
  299. package/src/documents/upload/UploadQueueSummary.vue +70 -0
  300. package/src/documents/upload/file-actions.ts +35 -0
  301. package/src/documents/upload/upload-logic.ts +209 -0
  302. package/src/documents/upload/upload-queue.ts +220 -0
  303. package/src/documents/upload/useDocumentFile.ts +93 -0
  304. package/src/documents/upload/useFileBlob.ts +132 -0
  305. package/src/documents/upload/useShownFile.ts +77 -0
  306. package/src/documents/versions/DiffOmitted.vue +34 -0
  307. package/src/documents/versions/DiffTree.vue +76 -0
  308. package/src/documents/versions/DiffValue.vue +101 -0
  309. package/src/documents/versions/HistoryLink.vue +17 -0
  310. package/src/documents/versions/RestoreVersionDialog.vue +58 -0
  311. package/src/documents/versions/VersionCard.vue +111 -0
  312. package/src/documents/versions/VersionHistory.vue +127 -0
  313. package/src/documents/versions/VersionSnapshot.vue +145 -0
  314. package/src/documents/versions/diff-view.ts +153 -0
  315. package/src/documents/versions/text-diff.ts +66 -0
  316. package/src/documents/versions/useRestoreFlow.ts +55 -0
  317. package/src/env.d.ts +17 -0
  318. package/src/format.ts +58 -0
  319. package/src/globals/GlobalForm.vue +139 -0
  320. package/src/globals/GlobalHeader.vue +39 -0
  321. package/src/globals/GlobalMeta.vue +67 -0
  322. package/src/globals/useGlobalEditor.ts +118 -0
  323. package/src/globals/useGlobalForm.ts +32 -0
  324. package/src/globals/useGlobalSubmit.ts +75 -0
  325. package/src/layout/AppBarMobile.vue +42 -0
  326. package/src/layout/AppLayout.vue +40 -0
  327. package/src/layout/AppTopbar.vue +28 -0
  328. package/src/layout/LoadError.vue +19 -0
  329. package/src/layout/MobileNavDrawer.vue +45 -0
  330. package/src/layout/PageHeader.vue +19 -0
  331. package/src/layout/ThemeToggle.vue +28 -0
  332. package/src/layout/palette/AppCommandPalette.vue +32 -0
  333. package/src/layout/palette/palette-actions.ts +54 -0
  334. package/src/layout/palette/palette-commands.ts +156 -0
  335. package/src/layout/palette/palette-documents.ts +73 -0
  336. package/src/layout/palette/palette-groups.ts +90 -0
  337. package/src/layout/palette/palette-hotkey.ts +39 -0
  338. package/src/layout/palette/recent-documents.ts +123 -0
  339. package/src/layout/palette/useCommandPalette.ts +75 -0
  340. package/src/layout/palette/useDocumentSearch.ts +88 -0
  341. package/src/layout/palette/useRememberDocument.ts +30 -0
  342. package/src/layout/sidebar/SidebarAdmin.vue +50 -0
  343. package/src/layout/sidebar/SidebarBrand.vue +14 -0
  344. package/src/layout/sidebar/SidebarCollections.vue +55 -0
  345. package/src/layout/sidebar/SidebarGlobals.vue +23 -0
  346. package/src/layout/sidebar/SidebarGroup.vue +14 -0
  347. package/src/layout/sidebar/SidebarItem.vue +47 -0
  348. package/src/layout/sidebar/SidebarNav.vue +37 -0
  349. package/src/layout/sidebar/SidebarUser.vue +43 -0
  350. package/src/layout/sidebar/SidebarViews.vue +26 -0
  351. package/src/layout/sidebar/view-icons.ts +112 -0
  352. package/src/localization/FallbackHint.vue +41 -0
  353. package/src/localization/LocaleNotice.vue +42 -0
  354. package/src/localization/LocaleSwitcher.vue +40 -0
  355. package/src/localization/fallback-value.ts +76 -0
  356. package/src/localization/list-locale.ts +37 -0
  357. package/src/localization/locale-form.ts +64 -0
  358. package/src/localization/locale.ts +286 -0
  359. package/src/localization/useContentLocale.ts +47 -0
  360. package/src/localization/useHistoryLocale.ts +30 -0
  361. package/src/localization/useListFallbacks.ts +49 -0
  362. package/src/localization/useLocaleDocument.ts +116 -0
  363. package/src/main.ts +21 -0
  364. package/src/public/__snapshots__/public-api.spec.ts.snap +456 -0
  365. package/src/public/composables/useApi.ts +155 -0
  366. package/src/public/composables/useCell.ts +38 -0
  367. package/src/public/composables/useCurrentUser.ts +16 -0
  368. package/src/public/composables/useDocument.ts +108 -0
  369. package/src/public/composables/useField.ts +136 -0
  370. package/src/public/composables/useList.ts +38 -0
  371. package/src/public/composables/useLocale.ts +29 -0
  372. package/src/public/composables/useToast.ts +19 -0
  373. package/src/public/index.ts +59 -0
  374. package/src/public/types.ts +183 -0
  375. package/src/public/ui.ts +85 -0
  376. package/src/roles/CopyRoleDialog.vue +32 -0
  377. package/src/roles/DeleteRoleDialog.vue +26 -0
  378. package/src/roles/MatrixFlags.vue +77 -0
  379. package/src/roles/MatrixTable.vue +101 -0
  380. package/src/roles/PermissionMatrix.vue +112 -0
  381. package/src/roles/RoleActions.vue +47 -0
  382. package/src/roles/RoleCard.vue +54 -0
  383. package/src/roles/RoleForm.vue +150 -0
  384. package/src/roles/RoleFormFields.vue +43 -0
  385. package/src/roles/RoleList.vue +77 -0
  386. package/src/roles/RoleMeta.vue +74 -0
  387. package/src/roles/RoleTable.vue +74 -0
  388. package/src/roles/role-form.ts +135 -0
  389. package/src/roles/role-matrix.ts +284 -0
  390. package/src/roles/useRoleCopy.ts +61 -0
  391. package/src/roles/useRoleDelete.ts +39 -0
  392. package/src/roles/useRoleForm.ts +122 -0
  393. package/src/router/guards.ts +57 -0
  394. package/src/router/index.ts +160 -0
  395. package/src/router/redirect.ts +9 -0
  396. package/src/runtime/runtime-config.ts +32 -0
  397. package/src/stores/auth.ts +205 -0
  398. package/src/stores/shell.ts +24 -0
  399. package/src/stores/uploads.ts +81 -0
  400. package/src/styles/main.css +40 -0
  401. package/src/styles/motion.css +328 -0
  402. package/src/styles/tokens.css +347 -0
  403. package/src/ui/KAlert.vue +80 -0
  404. package/src/ui/KAvatar.vue +43 -0
  405. package/src/ui/KBadge.vue +56 -0
  406. package/src/ui/KBreadcrumbs.vue +56 -0
  407. package/src/ui/KButton.vue +136 -0
  408. package/src/ui/KCalendar.vue +79 -0
  409. package/src/ui/KCard.vue +106 -0
  410. package/src/ui/KCellMessage.vue +57 -0
  411. package/src/ui/KCellTextarea.vue +92 -0
  412. package/src/ui/KCheckbox.vue +87 -0
  413. package/src/ui/KCollapsible.vue +100 -0
  414. package/src/ui/KCombobox.vue +173 -0
  415. package/src/ui/KComboboxOptions.vue +68 -0
  416. package/src/ui/KCommandItem.vue +53 -0
  417. package/src/ui/KCommandPalette.vue +215 -0
  418. package/src/ui/KDatePicker.vue +165 -0
  419. package/src/ui/KDrawer.vue +108 -0
  420. package/src/ui/KDropdownMenu.vue +60 -0
  421. package/src/ui/KDropzone.vue +163 -0
  422. package/src/ui/KEmptyState.vue +68 -0
  423. package/src/ui/KField.vue +103 -0
  424. package/src/ui/KInput.vue +89 -0
  425. package/src/ui/KKbd.vue +24 -0
  426. package/src/ui/KModal.vue +92 -0
  427. package/src/ui/KMultiSelect.vue +141 -0
  428. package/src/ui/KPagination.vue +65 -0
  429. package/src/ui/KPasswordInput.vue +33 -0
  430. package/src/ui/KPopover.vue +110 -0
  431. package/src/ui/KProgress.vue +61 -0
  432. package/src/ui/KRadioGroup.vue +90 -0
  433. package/src/ui/KSearchTrigger.vue +51 -0
  434. package/src/ui/KSegmented.vue +104 -0
  435. package/src/ui/KSelect.vue +124 -0
  436. package/src/ui/KSeparator.vue +33 -0
  437. package/src/ui/KSkeleton.vue +35 -0
  438. package/src/ui/KSpinner.vue +17 -0
  439. package/src/ui/KSwitch.vue +65 -0
  440. package/src/ui/KTab.vue +65 -0
  441. package/src/ui/KTabList.vue +18 -0
  442. package/src/ui/KTabPanel.vue +18 -0
  443. package/src/ui/KTable.vue +43 -0
  444. package/src/ui/KTableBody.vue +9 -0
  445. package/src/ui/KTableCell.vue +228 -0
  446. package/src/ui/KTableHeader.vue +39 -0
  447. package/src/ui/KTableHeaderCell.vue +94 -0
  448. package/src/ui/KTableRow.vue +49 -0
  449. package/src/ui/KTabs.vue +24 -0
  450. package/src/ui/KTag.vue +29 -0
  451. package/src/ui/KTextarea.vue +50 -0
  452. package/src/ui/KThumbnail.vue +100 -0
  453. package/src/ui/KToaster.vue +70 -0
  454. package/src/ui/KTooltip.vue +55 -0
  455. package/src/ui/command-palette.ts +41 -0
  456. package/src/ui/control-classes.ts +48 -0
  457. package/src/ui/cx.ts +6 -0
  458. package/src/ui/date-value.ts +48 -0
  459. package/src/ui/field-context.ts +61 -0
  460. package/src/ui/index.ts +88 -0
  461. package/src/ui/options.ts +6 -0
  462. package/src/ui/pagination.ts +38 -0
  463. package/src/ui/shortcut.ts +104 -0
  464. package/src/ui/table-grid.ts +277 -0
  465. package/src/ui/toast.ts +59 -0
  466. package/src/ui/useFileDrop.ts +70 -0
  467. package/src/users/DeleteUserDialog.vue +26 -0
  468. package/src/users/UserActions.vue +46 -0
  469. package/src/users/UserCard.vue +44 -0
  470. package/src/users/UserForm.vue +134 -0
  471. package/src/users/UserFormFields.vue +93 -0
  472. package/src/users/UserList.vue +107 -0
  473. package/src/users/UserMeta.vue +70 -0
  474. package/src/users/UserRoleBadge.vue +10 -0
  475. package/src/users/UserTable.vue +84 -0
  476. package/src/users/useRoleOptions.ts +50 -0
  477. package/src/users/useUserDelete.ts +39 -0
  478. package/src/users/useUserForm.ts +74 -0
  479. package/src/users/user-columns.ts +12 -0
  480. package/src/users/user-form.ts +167 -0
  481. package/src/views/AuditView.vue +57 -0
  482. package/src/views/CollectionView.vue +103 -0
  483. package/src/views/CustomPageView.vue +53 -0
  484. package/src/views/DashboardView.vue +91 -0
  485. package/src/views/DocumentHistoryView.vue +158 -0
  486. package/src/views/DocumentView.vue +173 -0
  487. package/src/views/GlobalHistoryView.vue +136 -0
  488. package/src/views/GlobalView.vue +115 -0
  489. package/src/views/LoginView.vue +41 -0
  490. package/src/views/NoAccessView.vue +34 -0
  491. package/src/views/NotFoundView.vue +27 -0
  492. package/src/views/RoleView.vue +93 -0
  493. package/src/views/RolesView.vue +66 -0
  494. package/src/views/UserView.vue +68 -0
  495. package/src/views/UsersView.vue +59 -0
  496. package/src/views/dashboard/CollectionCard.vue +21 -0
  497. package/src/views/dashboard/DashboardCardTitle.vue +18 -0
  498. package/src/views/dashboard/DashboardWidgets.vue +35 -0
  499. package/src/views/dashboard/GlobalCard.vue +24 -0
  500. package/src/views/login/LoginForm.vue +93 -0
  501. package/src/views/login/login-errors.ts +42 -0
  502. package/tsconfig.components.json +26 -0
  503. package/vite/koda-admin.ts +274 -0
@@ -0,0 +1,1360 @@
1
+ {
2
+ "core/primitives": {
3
+ "neutral": {
4
+ "0": {
5
+ "$value": "#FFFFFF",
6
+ "$type": "color"
7
+ },
8
+ "50": {
9
+ "$value": "#F8FAFC",
10
+ "$type": "color"
11
+ },
12
+ "100": {
13
+ "$value": "#F1F5F9",
14
+ "$type": "color"
15
+ },
16
+ "200": {
17
+ "$value": "#E2E8F0",
18
+ "$type": "color"
19
+ },
20
+ "300": {
21
+ "$value": "#CBD5E1",
22
+ "$type": "color"
23
+ },
24
+ "400": {
25
+ "$value": "#94A3B8",
26
+ "$type": "color"
27
+ },
28
+ "500": {
29
+ "$value": "#64748B",
30
+ "$type": "color"
31
+ },
32
+ "600": {
33
+ "$value": "#475569",
34
+ "$type": "color"
35
+ },
36
+ "700": {
37
+ "$value": "#334155",
38
+ "$type": "color"
39
+ },
40
+ "800": {
41
+ "$value": "#1E293B",
42
+ "$type": "color"
43
+ },
44
+ "900": {
45
+ "$value": "#0F172A",
46
+ "$type": "color"
47
+ },
48
+ "950": {
49
+ "$value": "#020617",
50
+ "$type": "color"
51
+ }
52
+ },
53
+ "indigo": {
54
+ "50": {
55
+ "$value": "#EEF2FF",
56
+ "$type": "color"
57
+ },
58
+ "100": {
59
+ "$value": "#E0E7FF",
60
+ "$type": "color"
61
+ },
62
+ "200": {
63
+ "$value": "#C7D2FE",
64
+ "$type": "color"
65
+ },
66
+ "300": {
67
+ "$value": "#A5B4FC",
68
+ "$type": "color"
69
+ },
70
+ "400": {
71
+ "$value": "#818CF8",
72
+ "$type": "color"
73
+ },
74
+ "500": {
75
+ "$value": "#6366F1",
76
+ "$type": "color"
77
+ },
78
+ "600": {
79
+ "$value": "#4F46E5",
80
+ "$type": "color"
81
+ },
82
+ "700": {
83
+ "$value": "#4338CA",
84
+ "$type": "color"
85
+ },
86
+ "800": {
87
+ "$value": "#3730A3",
88
+ "$type": "color"
89
+ },
90
+ "900": {
91
+ "$value": "#312E81",
92
+ "$type": "color"
93
+ },
94
+ "950": {
95
+ "$value": "#1E1B4B",
96
+ "$type": "color"
97
+ }
98
+ },
99
+ "teal": {
100
+ "50": {
101
+ "$value": "#F0FDFA",
102
+ "$type": "color"
103
+ },
104
+ "100": {
105
+ "$value": "#CCFBF1",
106
+ "$type": "color"
107
+ },
108
+ "200": {
109
+ "$value": "#99F6E4",
110
+ "$type": "color"
111
+ },
112
+ "300": {
113
+ "$value": "#5EEAD4",
114
+ "$type": "color"
115
+ },
116
+ "400": {
117
+ "$value": "#2DD4BF",
118
+ "$type": "color"
119
+ },
120
+ "500": {
121
+ "$value": "#14B8A6",
122
+ "$type": "color"
123
+ },
124
+ "600": {
125
+ "$value": "#0D9488",
126
+ "$type": "color"
127
+ },
128
+ "700": {
129
+ "$value": "#0F766E",
130
+ "$type": "color"
131
+ },
132
+ "800": {
133
+ "$value": "#115E59",
134
+ "$type": "color"
135
+ },
136
+ "900": {
137
+ "$value": "#134E4A",
138
+ "$type": "color"
139
+ },
140
+ "950": {
141
+ "$value": "#042F2E",
142
+ "$type": "color"
143
+ }
144
+ },
145
+ "green": {
146
+ "50": {
147
+ "$value": "#F0FDF4",
148
+ "$type": "color"
149
+ },
150
+ "100": {
151
+ "$value": "#DCFCE7",
152
+ "$type": "color"
153
+ },
154
+ "200": {
155
+ "$value": "#BBF7D0",
156
+ "$type": "color"
157
+ },
158
+ "300": {
159
+ "$value": "#86EFAC",
160
+ "$type": "color"
161
+ },
162
+ "400": {
163
+ "$value": "#4ADE80",
164
+ "$type": "color"
165
+ },
166
+ "500": {
167
+ "$value": "#22C55E",
168
+ "$type": "color"
169
+ },
170
+ "600": {
171
+ "$value": "#16A34A",
172
+ "$type": "color"
173
+ },
174
+ "700": {
175
+ "$value": "#15803D",
176
+ "$type": "color"
177
+ },
178
+ "800": {
179
+ "$value": "#166534",
180
+ "$type": "color"
181
+ },
182
+ "900": {
183
+ "$value": "#14532D",
184
+ "$type": "color"
185
+ },
186
+ "950": {
187
+ "$value": "#052E16",
188
+ "$type": "color"
189
+ }
190
+ },
191
+ "amber": {
192
+ "50": {
193
+ "$value": "#FFFBEB",
194
+ "$type": "color"
195
+ },
196
+ "100": {
197
+ "$value": "#FEF3C7",
198
+ "$type": "color"
199
+ },
200
+ "200": {
201
+ "$value": "#FDE68A",
202
+ "$type": "color"
203
+ },
204
+ "300": {
205
+ "$value": "#FCD34D",
206
+ "$type": "color"
207
+ },
208
+ "400": {
209
+ "$value": "#FBBF24",
210
+ "$type": "color"
211
+ },
212
+ "500": {
213
+ "$value": "#F59E0B",
214
+ "$type": "color"
215
+ },
216
+ "600": {
217
+ "$value": "#D97706",
218
+ "$type": "color"
219
+ },
220
+ "700": {
221
+ "$value": "#B45309",
222
+ "$type": "color"
223
+ },
224
+ "800": {
225
+ "$value": "#92400E",
226
+ "$type": "color"
227
+ },
228
+ "900": {
229
+ "$value": "#78350F",
230
+ "$type": "color"
231
+ },
232
+ "950": {
233
+ "$value": "#451A03",
234
+ "$type": "color"
235
+ }
236
+ },
237
+ "red": {
238
+ "50": {
239
+ "$value": "#FEF2F2",
240
+ "$type": "color"
241
+ },
242
+ "100": {
243
+ "$value": "#FEE2E2",
244
+ "$type": "color"
245
+ },
246
+ "200": {
247
+ "$value": "#FECACA",
248
+ "$type": "color"
249
+ },
250
+ "300": {
251
+ "$value": "#FCA5A5",
252
+ "$type": "color"
253
+ },
254
+ "400": {
255
+ "$value": "#F87171",
256
+ "$type": "color"
257
+ },
258
+ "500": {
259
+ "$value": "#EF4444",
260
+ "$type": "color"
261
+ },
262
+ "600": {
263
+ "$value": "#DC2626",
264
+ "$type": "color"
265
+ },
266
+ "700": {
267
+ "$value": "#B91C1C",
268
+ "$type": "color"
269
+ },
270
+ "800": {
271
+ "$value": "#991B1B",
272
+ "$type": "color"
273
+ },
274
+ "900": {
275
+ "$value": "#7F1D1D",
276
+ "$type": "color"
277
+ },
278
+ "950": {
279
+ "$value": "#450A0A",
280
+ "$type": "color"
281
+ }
282
+ },
283
+ "blue": {
284
+ "50": {
285
+ "$value": "#EFF6FF",
286
+ "$type": "color"
287
+ },
288
+ "100": {
289
+ "$value": "#DBEAFE",
290
+ "$type": "color"
291
+ },
292
+ "200": {
293
+ "$value": "#BFDBFE",
294
+ "$type": "color"
295
+ },
296
+ "300": {
297
+ "$value": "#93C5FD",
298
+ "$type": "color"
299
+ },
300
+ "400": {
301
+ "$value": "#60A5FA",
302
+ "$type": "color"
303
+ },
304
+ "500": {
305
+ "$value": "#3B82F6",
306
+ "$type": "color"
307
+ },
308
+ "600": {
309
+ "$value": "#2563EB",
310
+ "$type": "color"
311
+ },
312
+ "700": {
313
+ "$value": "#1D4ED8",
314
+ "$type": "color"
315
+ },
316
+ "800": {
317
+ "$value": "#1E40AF",
318
+ "$type": "color"
319
+ },
320
+ "900": {
321
+ "$value": "#1E3A8A",
322
+ "$type": "color"
323
+ },
324
+ "950": {
325
+ "$value": "#172554",
326
+ "$type": "color"
327
+ }
328
+ },
329
+ "black-alpha": {
330
+ "10": {
331
+ "$value": "rgba(2, 6, 23, 0.10)",
332
+ "$type": "color"
333
+ },
334
+ "50": {
335
+ "$value": "rgba(2, 6, 23, 0.50)",
336
+ "$type": "color"
337
+ },
338
+ "08": {
339
+ "$value": "rgba(2, 6, 23, 0.08)",
340
+ "$type": "color"
341
+ }
342
+ },
343
+ "space": {
344
+ "0": {
345
+ "$value": "0",
346
+ "$type": "spacing"
347
+ },
348
+ "1": {
349
+ "$value": "4",
350
+ "$type": "spacing"
351
+ },
352
+ "2": {
353
+ "$value": "8",
354
+ "$type": "spacing"
355
+ },
356
+ "3": {
357
+ "$value": "12",
358
+ "$type": "spacing"
359
+ },
360
+ "4": {
361
+ "$value": "16",
362
+ "$type": "spacing"
363
+ },
364
+ "5": {
365
+ "$value": "20",
366
+ "$type": "spacing"
367
+ },
368
+ "6": {
369
+ "$value": "24",
370
+ "$type": "spacing"
371
+ },
372
+ "8": {
373
+ "$value": "32",
374
+ "$type": "spacing"
375
+ },
376
+ "10": {
377
+ "$value": "40",
378
+ "$type": "spacing"
379
+ },
380
+ "12": {
381
+ "$value": "48",
382
+ "$type": "spacing"
383
+ },
384
+ "16": {
385
+ "$value": "64",
386
+ "$type": "spacing"
387
+ },
388
+ "0-5": {
389
+ "$value": "2",
390
+ "$type": "spacing"
391
+ },
392
+ "1-5": {
393
+ "$value": "6",
394
+ "$type": "spacing"
395
+ }
396
+ },
397
+ "radius": {
398
+ "none": {
399
+ "$value": "0",
400
+ "$type": "borderRadius"
401
+ },
402
+ "sm": {
403
+ "$value": "4",
404
+ "$type": "borderRadius"
405
+ },
406
+ "md": {
407
+ "$value": "6",
408
+ "$type": "borderRadius"
409
+ },
410
+ "lg": {
411
+ "$value": "8",
412
+ "$type": "borderRadius"
413
+ },
414
+ "xl": {
415
+ "$value": "12",
416
+ "$type": "borderRadius"
417
+ },
418
+ "full": {
419
+ "$value": "9999",
420
+ "$type": "borderRadius"
421
+ }
422
+ },
423
+ "border-width": {
424
+ "default": {
425
+ "$value": "1",
426
+ "$type": "borderWidth"
427
+ },
428
+ "strong": {
429
+ "$value": "2",
430
+ "$type": "borderWidth"
431
+ }
432
+ },
433
+ "size": {
434
+ "control": {
435
+ "sm": {
436
+ "$value": "32",
437
+ "$type": "sizing"
438
+ },
439
+ "md": {
440
+ "$value": "40",
441
+ "$type": "sizing"
442
+ }
443
+ },
444
+ "icon": {
445
+ "sm": {
446
+ "$value": "16",
447
+ "$type": "sizing"
448
+ },
449
+ "md": {
450
+ "$value": "20",
451
+ "$type": "sizing"
452
+ }
453
+ }
454
+ },
455
+ "opacity": {
456
+ "disabled": {
457
+ "$value": "0.5",
458
+ "$type": "opacity"
459
+ }
460
+ },
461
+ "font": {
462
+ "family": {
463
+ "sans": {
464
+ "$value": [
465
+ "Inter"
466
+ ],
467
+ "$type": "fontFamilies"
468
+ },
469
+ "mono": {
470
+ "$value": [
471
+ "JetBrains Mono"
472
+ ],
473
+ "$type": "fontFamilies"
474
+ }
475
+ },
476
+ "size": {
477
+ "xs": {
478
+ "$value": "12",
479
+ "$type": "fontSizes"
480
+ },
481
+ "sm": {
482
+ "$value": "13",
483
+ "$type": "fontSizes"
484
+ },
485
+ "md": {
486
+ "$value": "14",
487
+ "$type": "fontSizes"
488
+ },
489
+ "lg": {
490
+ "$value": "16",
491
+ "$type": "fontSizes"
492
+ },
493
+ "xl": {
494
+ "$value": "20",
495
+ "$type": "fontSizes"
496
+ },
497
+ "2xl": {
498
+ "$value": "24",
499
+ "$type": "fontSizes"
500
+ },
501
+ "3xl": {
502
+ "$value": "30",
503
+ "$type": "fontSizes"
504
+ }
505
+ },
506
+ "weight": {
507
+ "regular": {
508
+ "$value": "400",
509
+ "$type": "fontWeights"
510
+ },
511
+ "medium": {
512
+ "$value": "500",
513
+ "$type": "fontWeights"
514
+ },
515
+ "semibold": {
516
+ "$value": "600",
517
+ "$type": "fontWeights"
518
+ }
519
+ }
520
+ },
521
+ "shadow": {
522
+ "sm": {
523
+ "$value": [
524
+ {
525
+ "offsetX": "0",
526
+ "offsetY": "1",
527
+ "blur": "2",
528
+ "spread": "0",
529
+ "color": "{black-alpha.08}",
530
+ "inset": false
531
+ }
532
+ ],
533
+ "$type": "shadow"
534
+ },
535
+ "md": {
536
+ "$value": [
537
+ {
538
+ "offsetX": "0",
539
+ "offsetY": "1",
540
+ "blur": "2",
541
+ "spread": "0",
542
+ "color": "{black-alpha.08}",
543
+ "inset": false
544
+ },
545
+ {
546
+ "offsetX": "0",
547
+ "offsetY": "4",
548
+ "blur": "8",
549
+ "spread": "0",
550
+ "color": "{black-alpha.08}",
551
+ "inset": false
552
+ }
553
+ ],
554
+ "$type": "shadow"
555
+ },
556
+ "lg": {
557
+ "$value": [
558
+ {
559
+ "offsetX": "0",
560
+ "offsetY": "2",
561
+ "blur": "4",
562
+ "spread": "0",
563
+ "color": "{black-alpha.08}",
564
+ "inset": false
565
+ },
566
+ {
567
+ "offsetX": "0",
568
+ "offsetY": "12",
569
+ "blur": "24",
570
+ "spread": "0",
571
+ "color": "{black-alpha.10}",
572
+ "inset": false
573
+ }
574
+ ],
575
+ "$type": "shadow"
576
+ },
577
+ "focus": {
578
+ "$value": [
579
+ {
580
+ "offsetX": "0",
581
+ "offsetY": "0",
582
+ "blur": "0",
583
+ "spread": "2",
584
+ "color": "{bg.surface}",
585
+ "inset": false
586
+ },
587
+ {
588
+ "offsetX": "0",
589
+ "offsetY": "0",
590
+ "blur": "0",
591
+ "spread": "4",
592
+ "color": "{focus.ring}",
593
+ "inset": false
594
+ }
595
+ ],
596
+ "$type": "shadow"
597
+ },
598
+ "focus-danger": {
599
+ "$value": [
600
+ {
601
+ "offsetX": "0",
602
+ "offsetY": "0",
603
+ "blur": "0",
604
+ "spread": "2",
605
+ "color": "{bg.surface}",
606
+ "inset": false
607
+ },
608
+ {
609
+ "offsetX": "0",
610
+ "offsetY": "0",
611
+ "blur": "0",
612
+ "spread": "4",
613
+ "color": "{danger.solid}",
614
+ "inset": false
615
+ }
616
+ ],
617
+ "$type": "shadow"
618
+ }
619
+ },
620
+ "text": {
621
+ "display": {
622
+ "$value": {
623
+ "fontFamily": [
624
+ "{font.family.sans}"
625
+ ],
626
+ "fontSize": "{font.size.3xl}",
627
+ "fontWeight": "{font.weight.semibold}",
628
+ "letterSpacing": "-0.3",
629
+ "lineHeight": "1.2",
630
+ "textCase": "none",
631
+ "textDecoration": "none"
632
+ },
633
+ "$type": "typography"
634
+ },
635
+ "heading-1": {
636
+ "$value": {
637
+ "fontFamily": [
638
+ "{font.family.sans}"
639
+ ],
640
+ "fontSize": "{font.size.2xl}",
641
+ "fontWeight": "{font.weight.semibold}",
642
+ "letterSpacing": "-0.2",
643
+ "lineHeight": "1.333",
644
+ "textCase": "none",
645
+ "textDecoration": "none"
646
+ },
647
+ "$type": "typography"
648
+ },
649
+ "heading-2": {
650
+ "$value": {
651
+ "fontFamily": [
652
+ "{font.family.sans}"
653
+ ],
654
+ "fontSize": "{font.size.xl}",
655
+ "fontWeight": "{font.weight.semibold}",
656
+ "letterSpacing": "0",
657
+ "lineHeight": "1.4",
658
+ "textCase": "none",
659
+ "textDecoration": "none"
660
+ },
661
+ "$type": "typography"
662
+ },
663
+ "heading-3": {
664
+ "$value": {
665
+ "fontFamily": [
666
+ "{font.family.sans}"
667
+ ],
668
+ "fontSize": "{font.size.lg}",
669
+ "fontWeight": "{font.weight.semibold}",
670
+ "letterSpacing": "0",
671
+ "lineHeight": "1.5",
672
+ "textCase": "none",
673
+ "textDecoration": "none"
674
+ },
675
+ "$type": "typography"
676
+ },
677
+ "body-lg": {
678
+ "$value": {
679
+ "fontFamily": [
680
+ "{font.family.sans}"
681
+ ],
682
+ "fontSize": "{font.size.lg}",
683
+ "fontWeight": "{font.weight.regular}",
684
+ "letterSpacing": "0",
685
+ "lineHeight": "1.5",
686
+ "textCase": "none",
687
+ "textDecoration": "none"
688
+ },
689
+ "$type": "typography"
690
+ },
691
+ "body": {
692
+ "$value": {
693
+ "fontFamily": [
694
+ "{font.family.sans}"
695
+ ],
696
+ "fontSize": "{font.size.md}",
697
+ "fontWeight": "{font.weight.regular}",
698
+ "letterSpacing": "0",
699
+ "lineHeight": "1.43",
700
+ "textCase": "none",
701
+ "textDecoration": "none"
702
+ },
703
+ "$type": "typography"
704
+ },
705
+ "body-strong": {
706
+ "$value": {
707
+ "fontFamily": [
708
+ "{font.family.sans}"
709
+ ],
710
+ "fontSize": "{font.size.md}",
711
+ "fontWeight": "{font.weight.medium}",
712
+ "letterSpacing": "0",
713
+ "lineHeight": "1.43",
714
+ "textCase": "none",
715
+ "textDecoration": "none"
716
+ },
717
+ "$type": "typography"
718
+ },
719
+ "label": {
720
+ "$value": {
721
+ "fontFamily": [
722
+ "{font.family.sans}"
723
+ ],
724
+ "fontSize": "{font.size.md}",
725
+ "fontWeight": "{font.weight.medium}",
726
+ "letterSpacing": "0",
727
+ "lineHeight": "1.43",
728
+ "textCase": "none",
729
+ "textDecoration": "none"
730
+ },
731
+ "$type": "typography"
732
+ },
733
+ "label-sm": {
734
+ "$value": {
735
+ "fontFamily": [
736
+ "{font.family.sans}"
737
+ ],
738
+ "fontSize": "{font.size.xs}",
739
+ "fontWeight": "{font.weight.medium}",
740
+ "letterSpacing": "0",
741
+ "lineHeight": "1.333",
742
+ "textCase": "none",
743
+ "textDecoration": "none"
744
+ },
745
+ "$type": "typography"
746
+ },
747
+ "caption": {
748
+ "$value": {
749
+ "fontFamily": [
750
+ "{font.family.sans}"
751
+ ],
752
+ "fontSize": "{font.size.xs}",
753
+ "fontWeight": "{font.weight.regular}",
754
+ "letterSpacing": "0",
755
+ "lineHeight": "1.333",
756
+ "textCase": "none",
757
+ "textDecoration": "none"
758
+ },
759
+ "$type": "typography"
760
+ },
761
+ "overline": {
762
+ "$value": {
763
+ "fontFamily": [
764
+ "{font.family.sans}"
765
+ ],
766
+ "fontSize": "{font.size.xs}",
767
+ "fontWeight": "{font.weight.semibold}",
768
+ "letterSpacing": "0.6",
769
+ "lineHeight": "1.333",
770
+ "textCase": "uppercase",
771
+ "textDecoration": "none"
772
+ },
773
+ "$type": "typography"
774
+ },
775
+ "code": {
776
+ "$value": {
777
+ "fontFamily": [
778
+ "{font.family.mono}"
779
+ ],
780
+ "fontSize": "{font.size.sm}",
781
+ "fontWeight": "{font.weight.regular}",
782
+ "letterSpacing": "0",
783
+ "lineHeight": "1.54",
784
+ "textCase": "none",
785
+ "textDecoration": "none"
786
+ },
787
+ "$type": "typography"
788
+ }
789
+ }
790
+ },
791
+ "accent/indigo": {
792
+ "brand": {
793
+ "solid": {
794
+ "$value": "{indigo.600}",
795
+ "$type": "color"
796
+ },
797
+ "solid-hover": {
798
+ "$value": "{indigo.700}",
799
+ "$type": "color"
800
+ },
801
+ "solid-active": {
802
+ "$value": "{indigo.800}",
803
+ "$type": "color"
804
+ },
805
+ "subtle": {
806
+ "$value": "{indigo.50}",
807
+ "$type": "color"
808
+ },
809
+ "subtle-hover": {
810
+ "$value": "{indigo.100}",
811
+ "$type": "color"
812
+ },
813
+ "border": {
814
+ "$value": "{indigo.300}",
815
+ "$type": "color"
816
+ },
817
+ "text": {
818
+ "$value": "{indigo.700}",
819
+ "$type": "color"
820
+ },
821
+ "ring": {
822
+ "$value": "{indigo.500}",
823
+ "$type": "color"
824
+ },
825
+ "dark-subtle": {
826
+ "$value": "{indigo.950}",
827
+ "$type": "color"
828
+ },
829
+ "dark-subtle-hover": {
830
+ "$value": "{indigo.900}",
831
+ "$type": "color"
832
+ },
833
+ "dark-border": {
834
+ "$value": "{indigo.700}",
835
+ "$type": "color"
836
+ },
837
+ "dark-text": {
838
+ "$value": "{indigo.300}",
839
+ "$type": "color"
840
+ },
841
+ "dark-ring": {
842
+ "$value": "{indigo.400}",
843
+ "$type": "color"
844
+ }
845
+ }
846
+ },
847
+ "accent/teal": {
848
+ "brand": {
849
+ "solid": {
850
+ "$value": "{teal.700}",
851
+ "$type": "color"
852
+ },
853
+ "solid-hover": {
854
+ "$value": "{teal.800}",
855
+ "$type": "color"
856
+ },
857
+ "solid-active": {
858
+ "$value": "{teal.900}",
859
+ "$type": "color"
860
+ },
861
+ "subtle": {
862
+ "$value": "{teal.50}",
863
+ "$type": "color"
864
+ },
865
+ "subtle-hover": {
866
+ "$value": "{teal.100}",
867
+ "$type": "color"
868
+ },
869
+ "border": {
870
+ "$value": "{teal.300}",
871
+ "$type": "color"
872
+ },
873
+ "text": {
874
+ "$value": "{teal.700}",
875
+ "$type": "color"
876
+ },
877
+ "ring": {
878
+ "$value": "{teal.600}",
879
+ "$type": "color"
880
+ },
881
+ "dark-subtle": {
882
+ "$value": "{teal.950}",
883
+ "$type": "color"
884
+ },
885
+ "dark-subtle-hover": {
886
+ "$value": "{teal.900}",
887
+ "$type": "color"
888
+ },
889
+ "dark-border": {
890
+ "$value": "{teal.700}",
891
+ "$type": "color"
892
+ },
893
+ "dark-text": {
894
+ "$value": "{teal.300}",
895
+ "$type": "color"
896
+ },
897
+ "dark-ring": {
898
+ "$value": "{teal.400}",
899
+ "$type": "color"
900
+ }
901
+ }
902
+ },
903
+ "mode/light": {
904
+ "bg": {
905
+ "canvas": {
906
+ "$value": "{neutral.50}",
907
+ "$type": "color"
908
+ },
909
+ "surface": {
910
+ "$value": "{neutral.0}",
911
+ "$type": "color"
912
+ },
913
+ "subtle": {
914
+ "$value": "{neutral.100}",
915
+ "$type": "color"
916
+ },
917
+ "muted": {
918
+ "$value": "{neutral.200}",
919
+ "$type": "color"
920
+ },
921
+ "hover": {
922
+ "$value": "{neutral.100}",
923
+ "$type": "color"
924
+ },
925
+ "pressed": {
926
+ "$value": "{neutral.200}",
927
+ "$type": "color"
928
+ },
929
+ "inverse": {
930
+ "$value": "{neutral.900}",
931
+ "$type": "color"
932
+ },
933
+ "overlay": {
934
+ "$value": "{black-alpha.50}",
935
+ "$type": "color"
936
+ },
937
+ "control-hover": {
938
+ "$value": "{neutral.50}",
939
+ "$type": "color"
940
+ }
941
+ },
942
+ "fg": {
943
+ "default": {
944
+ "$value": "{neutral.900}",
945
+ "$type": "color"
946
+ },
947
+ "muted": {
948
+ "$value": "{neutral.600}",
949
+ "$type": "color"
950
+ },
951
+ "subtle": {
952
+ "$value": "{neutral.500}",
953
+ "$type": "color"
954
+ },
955
+ "disabled": {
956
+ "$value": "{neutral.400}",
957
+ "$type": "color"
958
+ },
959
+ "inverse": {
960
+ "$value": "{neutral.0}",
961
+ "$type": "color"
962
+ },
963
+ "on-solid": {
964
+ "$value": "{neutral.0}",
965
+ "$type": "color"
966
+ }
967
+ },
968
+ "border": {
969
+ "default": {
970
+ "$value": "{neutral.200}",
971
+ "$type": "color"
972
+ },
973
+ "strong": {
974
+ "$value": "{neutral.300}",
975
+ "$type": "color"
976
+ },
977
+ "control": {
978
+ "$value": "{neutral.500}",
979
+ "$type": "color"
980
+ },
981
+ "control-hover": {
982
+ "$value": "{neutral.700}",
983
+ "$type": "color"
984
+ },
985
+ "disabled": {
986
+ "$value": "{neutral.300}",
987
+ "$type": "color"
988
+ }
989
+ },
990
+ "accent": {
991
+ "solid": {
992
+ "$value": "{brand.solid}",
993
+ "$type": "color"
994
+ },
995
+ "solid-hover": {
996
+ "$value": "{brand.solid-hover}",
997
+ "$type": "color"
998
+ },
999
+ "solid-active": {
1000
+ "$value": "{brand.solid-active}",
1001
+ "$type": "color"
1002
+ },
1003
+ "subtle": {
1004
+ "$value": "{brand.subtle}",
1005
+ "$type": "color"
1006
+ },
1007
+ "subtle-hover": {
1008
+ "$value": "{brand.subtle-hover}",
1009
+ "$type": "color"
1010
+ },
1011
+ "border": {
1012
+ "$value": "{brand.border}",
1013
+ "$type": "color"
1014
+ },
1015
+ "text": {
1016
+ "$value": "{brand.text}",
1017
+ "$type": "color"
1018
+ }
1019
+ },
1020
+ "focus": {
1021
+ "ring": {
1022
+ "$value": "{brand.ring}",
1023
+ "$type": "color"
1024
+ }
1025
+ },
1026
+ "success": {
1027
+ "solid": {
1028
+ "$value": "{green.700}",
1029
+ "$type": "color"
1030
+ },
1031
+ "subtle": {
1032
+ "$value": "{green.50}",
1033
+ "$type": "color"
1034
+ },
1035
+ "border": {
1036
+ "$value": "{green.200}",
1037
+ "$type": "color"
1038
+ },
1039
+ "text": {
1040
+ "$value": "{green.700}",
1041
+ "$type": "color"
1042
+ }
1043
+ },
1044
+ "warning": {
1045
+ "solid": {
1046
+ "$value": "{amber.500}",
1047
+ "$type": "color"
1048
+ },
1049
+ "subtle": {
1050
+ "$value": "{amber.50}",
1051
+ "$type": "color"
1052
+ },
1053
+ "border": {
1054
+ "$value": "{amber.200}",
1055
+ "$type": "color"
1056
+ },
1057
+ "text": {
1058
+ "$value": "{amber.800}",
1059
+ "$type": "color"
1060
+ },
1061
+ "on-solid": {
1062
+ "$value": "{neutral.900}",
1063
+ "$type": "color"
1064
+ }
1065
+ },
1066
+ "danger": {
1067
+ "solid": {
1068
+ "$value": "{red.600}",
1069
+ "$type": "color"
1070
+ },
1071
+ "solid-hover": {
1072
+ "$value": "{red.700}",
1073
+ "$type": "color"
1074
+ },
1075
+ "subtle": {
1076
+ "$value": "{red.50}",
1077
+ "$type": "color"
1078
+ },
1079
+ "subtle-hover": {
1080
+ "$value": "{red.100}",
1081
+ "$type": "color"
1082
+ },
1083
+ "border": {
1084
+ "$value": "{red.300}",
1085
+ "$type": "color"
1086
+ },
1087
+ "text": {
1088
+ "$value": "{red.700}",
1089
+ "$type": "color"
1090
+ }
1091
+ },
1092
+ "info": {
1093
+ "solid": {
1094
+ "$value": "{blue.600}",
1095
+ "$type": "color"
1096
+ },
1097
+ "subtle": {
1098
+ "$value": "{blue.50}",
1099
+ "$type": "color"
1100
+ },
1101
+ "border": {
1102
+ "$value": "{blue.200}",
1103
+ "$type": "color"
1104
+ },
1105
+ "text": {
1106
+ "$value": "{blue.700}",
1107
+ "$type": "color"
1108
+ }
1109
+ }
1110
+ },
1111
+ "mode/dark": {
1112
+ "bg": {
1113
+ "canvas": {
1114
+ "$value": "{neutral.950}",
1115
+ "$type": "color"
1116
+ },
1117
+ "surface": {
1118
+ "$value": "{neutral.900}",
1119
+ "$type": "color"
1120
+ },
1121
+ "subtle": {
1122
+ "$value": "{neutral.800}",
1123
+ "$type": "color"
1124
+ },
1125
+ "muted": {
1126
+ "$value": "{neutral.800}",
1127
+ "$type": "color"
1128
+ },
1129
+ "hover": {
1130
+ "$value": "{neutral.800}",
1131
+ "$type": "color"
1132
+ },
1133
+ "pressed": {
1134
+ "$value": "{neutral.700}",
1135
+ "$type": "color"
1136
+ },
1137
+ "inverse": {
1138
+ "$value": "{neutral.50}",
1139
+ "$type": "color"
1140
+ },
1141
+ "overlay": {
1142
+ "$value": "{black-alpha.50}",
1143
+ "$type": "color"
1144
+ },
1145
+ "control-hover": {
1146
+ "$value": "{neutral.800}",
1147
+ "$type": "color"
1148
+ }
1149
+ },
1150
+ "fg": {
1151
+ "default": {
1152
+ "$value": "{neutral.50}",
1153
+ "$type": "color"
1154
+ },
1155
+ "muted": {
1156
+ "$value": "{neutral.300}",
1157
+ "$type": "color"
1158
+ },
1159
+ "subtle": {
1160
+ "$value": "{neutral.400}",
1161
+ "$type": "color"
1162
+ },
1163
+ "disabled": {
1164
+ "$value": "{neutral.600}",
1165
+ "$type": "color"
1166
+ },
1167
+ "inverse": {
1168
+ "$value": "{neutral.900}",
1169
+ "$type": "color"
1170
+ },
1171
+ "on-solid": {
1172
+ "$value": "{neutral.0}",
1173
+ "$type": "color"
1174
+ }
1175
+ },
1176
+ "border": {
1177
+ "default": {
1178
+ "$value": "{neutral.800}",
1179
+ "$type": "color"
1180
+ },
1181
+ "strong": {
1182
+ "$value": "{neutral.700}",
1183
+ "$type": "color"
1184
+ },
1185
+ "control": {
1186
+ "$value": "{neutral.500}",
1187
+ "$type": "color"
1188
+ },
1189
+ "control-hover": {
1190
+ "$value": "{neutral.300}",
1191
+ "$type": "color"
1192
+ },
1193
+ "disabled": {
1194
+ "$value": "{neutral.700}",
1195
+ "$type": "color"
1196
+ }
1197
+ },
1198
+ "accent": {
1199
+ "solid": {
1200
+ "$value": "{brand.solid}",
1201
+ "$type": "color"
1202
+ },
1203
+ "solid-hover": {
1204
+ "$value": "{brand.solid-hover}",
1205
+ "$type": "color"
1206
+ },
1207
+ "solid-active": {
1208
+ "$value": "{brand.solid-active}",
1209
+ "$type": "color"
1210
+ },
1211
+ "subtle": {
1212
+ "$value": "{brand.dark-subtle}",
1213
+ "$type": "color"
1214
+ },
1215
+ "subtle-hover": {
1216
+ "$value": "{brand.dark-subtle-hover}",
1217
+ "$type": "color"
1218
+ },
1219
+ "border": {
1220
+ "$value": "{brand.dark-border}",
1221
+ "$type": "color"
1222
+ },
1223
+ "text": {
1224
+ "$value": "{brand.dark-text}",
1225
+ "$type": "color"
1226
+ }
1227
+ },
1228
+ "focus": {
1229
+ "ring": {
1230
+ "$value": "{brand.dark-ring}",
1231
+ "$type": "color"
1232
+ }
1233
+ },
1234
+ "success": {
1235
+ "solid": {
1236
+ "$value": "{green.700}",
1237
+ "$type": "color"
1238
+ },
1239
+ "subtle": {
1240
+ "$value": "{green.950}",
1241
+ "$type": "color"
1242
+ },
1243
+ "border": {
1244
+ "$value": "{green.800}",
1245
+ "$type": "color"
1246
+ },
1247
+ "text": {
1248
+ "$value": "{green.400}",
1249
+ "$type": "color"
1250
+ }
1251
+ },
1252
+ "warning": {
1253
+ "solid": {
1254
+ "$value": "{amber.500}",
1255
+ "$type": "color"
1256
+ },
1257
+ "subtle": {
1258
+ "$value": "{amber.950}",
1259
+ "$type": "color"
1260
+ },
1261
+ "border": {
1262
+ "$value": "{amber.800}",
1263
+ "$type": "color"
1264
+ },
1265
+ "text": {
1266
+ "$value": "{amber.300}",
1267
+ "$type": "color"
1268
+ },
1269
+ "on-solid": {
1270
+ "$value": "{neutral.900}",
1271
+ "$type": "color"
1272
+ }
1273
+ },
1274
+ "danger": {
1275
+ "solid": {
1276
+ "$value": "{red.600}",
1277
+ "$type": "color"
1278
+ },
1279
+ "solid-hover": {
1280
+ "$value": "{red.700}",
1281
+ "$type": "color"
1282
+ },
1283
+ "subtle": {
1284
+ "$value": "{red.950}",
1285
+ "$type": "color"
1286
+ },
1287
+ "subtle-hover": {
1288
+ "$value": "{red.900}",
1289
+ "$type": "color"
1290
+ },
1291
+ "border": {
1292
+ "$value": "{red.800}",
1293
+ "$type": "color"
1294
+ },
1295
+ "text": {
1296
+ "$value": "{red.400}",
1297
+ "$type": "color"
1298
+ }
1299
+ },
1300
+ "info": {
1301
+ "solid": {
1302
+ "$value": "{blue.600}",
1303
+ "$type": "color"
1304
+ },
1305
+ "subtle": {
1306
+ "$value": "{blue.950}",
1307
+ "$type": "color"
1308
+ },
1309
+ "border": {
1310
+ "$value": "{blue.800}",
1311
+ "$type": "color"
1312
+ },
1313
+ "text": {
1314
+ "$value": "{blue.400}",
1315
+ "$type": "color"
1316
+ }
1317
+ }
1318
+ },
1319
+ "$themes": [
1320
+ {
1321
+ "name": "Light",
1322
+ "group": "Mode",
1323
+ "selectedTokenSets": {
1324
+ "mode/light": "enabled",
1325
+ "core/primitives": "enabled"
1326
+ }
1327
+ },
1328
+ {
1329
+ "name": "Dark",
1330
+ "group": "Mode",
1331
+ "selectedTokenSets": {
1332
+ "mode/dark": "enabled",
1333
+ "core/primitives": "enabled"
1334
+ }
1335
+ },
1336
+ {
1337
+ "name": "Indigo",
1338
+ "group": "Accent",
1339
+ "selectedTokenSets": {
1340
+ "accent/indigo": "enabled"
1341
+ }
1342
+ },
1343
+ {
1344
+ "name": "Teal",
1345
+ "group": "Accent",
1346
+ "selectedTokenSets": {
1347
+ "accent/teal": "enabled"
1348
+ }
1349
+ }
1350
+ ],
1351
+ "$metadata": {
1352
+ "tokenSetOrder": [
1353
+ "core/primitives",
1354
+ "accent/indigo",
1355
+ "accent/teal",
1356
+ "mode/light",
1357
+ "mode/dark"
1358
+ ]
1359
+ }
1360
+ }