@geosynk/vsw-ui 0.0.0-stage → 0.5.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 (334) hide show
  1. package/COMPONENTS.md +149 -0
  2. package/LICENSE +21 -0
  3. package/README.md +74 -2
  4. package/contract/components.json +834 -0
  5. package/dist/charts/index.js +74 -0
  6. package/dist/charts/index.js.map +1 -0
  7. package/dist/chunk-JUZQB3TQ.js +5510 -0
  8. package/dist/chunk-JUZQB3TQ.js.map +1 -0
  9. package/dist/chunk-LP7YS7WH.js +430 -0
  10. package/dist/chunk-LP7YS7WH.js.map +1 -0
  11. package/dist/chunk-RGKOZN7C.js +194 -0
  12. package/dist/chunk-RGKOZN7C.js.map +1 -0
  13. package/dist/chunk-XQB56SCE.js +95 -0
  14. package/dist/chunk-XQB56SCE.js.map +1 -0
  15. package/dist/color/index.js +289 -0
  16. package/dist/color/index.js.map +1 -0
  17. package/dist/data-grid/index.js +624 -0
  18. package/dist/data-grid/index.js.map +1 -0
  19. package/dist/index.js +6 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/types/charts/ChartCard.d.ts +24 -0
  22. package/dist/types/charts/ChartCard.d.ts.map +1 -0
  23. package/dist/types/charts/charts.theme.d.ts +28 -0
  24. package/dist/types/charts/charts.theme.d.ts.map +1 -0
  25. package/dist/types/charts/index.d.ts +6 -0
  26. package/dist/types/charts/index.d.ts.map +1 -0
  27. package/dist/types/charts/palette.d.ts +23 -0
  28. package/dist/types/charts/palette.d.ts.map +1 -0
  29. package/dist/types/charts/useNivoTheme.d.ts +4 -0
  30. package/dist/types/charts/useNivoTheme.d.ts.map +1 -0
  31. package/dist/types/color/ColorField.d.ts +24 -0
  32. package/dist/types/color/ColorField.d.ts.map +1 -0
  33. package/dist/types/color/ColorSwatchBar.d.ts +33 -0
  34. package/dist/types/color/ColorSwatchBar.d.ts.map +1 -0
  35. package/dist/types/color/color.theme.d.ts +115 -0
  36. package/dist/types/color/color.theme.d.ts.map +1 -0
  37. package/dist/types/color/index.d.ts +4 -0
  38. package/dist/types/color/index.d.ts.map +1 -0
  39. package/dist/types/components/Button/Button.d.ts +21 -0
  40. package/dist/types/components/Button/Button.d.ts.map +1 -0
  41. package/dist/types/components/Button/Button.theme.d.ts +314 -0
  42. package/dist/types/components/Button/Button.theme.d.ts.map +1 -0
  43. package/dist/types/components/Button/index.d.ts +2 -0
  44. package/dist/types/components/Button/index.d.ts.map +1 -0
  45. package/dist/types/components/ButtonBar/ButtonBar.d.ts +14 -0
  46. package/dist/types/components/ButtonBar/ButtonBar.d.ts.map +1 -0
  47. package/dist/types/components/ButtonBar/FormFooter.d.ts +34 -0
  48. package/dist/types/components/ButtonBar/FormFooter.d.ts.map +1 -0
  49. package/dist/types/components/ButtonBar/index.d.ts +3 -0
  50. package/dist/types/components/ButtonBar/index.d.ts.map +1 -0
  51. package/dist/types/components/IconButton/IconButton.d.ts +39 -0
  52. package/dist/types/components/IconButton/IconButton.d.ts.map +1 -0
  53. package/dist/types/components/IconButton/IconButton.theme.d.ts +218 -0
  54. package/dist/types/components/IconButton/IconButton.theme.d.ts.map +1 -0
  55. package/dist/types/components/IconButton/index.d.ts +2 -0
  56. package/dist/types/components/IconButton/index.d.ts.map +1 -0
  57. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +51 -0
  58. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts.map +1 -0
  59. package/dist/types/components/ToggleGroup/ToggleGroup.theme.d.ts +90 -0
  60. package/dist/types/components/ToggleGroup/ToggleGroup.theme.d.ts.map +1 -0
  61. package/dist/types/components/ToggleGroup/index.d.ts +2 -0
  62. package/dist/types/components/ToggleGroup/index.d.ts.map +1 -0
  63. package/dist/types/components/ToolGroupButton/ToolGroupButton.d.ts +30 -0
  64. package/dist/types/components/ToolGroupButton/ToolGroupButton.d.ts.map +1 -0
  65. package/dist/types/components/ToolGroupButton/ToolGroupButton.theme.d.ts +47 -0
  66. package/dist/types/components/ToolGroupButton/ToolGroupButton.theme.d.ts.map +1 -0
  67. package/dist/types/components/ToolGroupButton/index.d.ts +2 -0
  68. package/dist/types/components/ToolGroupButton/index.d.ts.map +1 -0
  69. package/dist/types/components/ToolRail/ToolRail.d.ts +30 -0
  70. package/dist/types/components/ToolRail/ToolRail.d.ts.map +1 -0
  71. package/dist/types/components/ToolRail/ToolRail.theme.d.ts +44 -0
  72. package/dist/types/components/ToolRail/ToolRail.theme.d.ts.map +1 -0
  73. package/dist/types/components/ToolRail/index.d.ts +2 -0
  74. package/dist/types/components/ToolRail/index.d.ts.map +1 -0
  75. package/dist/types/components/ToolRail/useRailOverflow.d.ts +15 -0
  76. package/dist/types/components/ToolRail/useRailOverflow.d.ts.map +1 -0
  77. package/dist/types/components/ToolRail/useRovingTabIndex.d.ts +10 -0
  78. package/dist/types/components/ToolRail/useRovingTabIndex.d.ts.map +1 -0
  79. package/dist/types/components/blocks/Avatar.d.ts +22 -0
  80. package/dist/types/components/blocks/Avatar.d.ts.map +1 -0
  81. package/dist/types/components/blocks/DragHandle.d.ts +11 -0
  82. package/dist/types/components/blocks/DragHandle.d.ts.map +1 -0
  83. package/dist/types/components/blocks/FloatingPanel.d.ts +28 -0
  84. package/dist/types/components/blocks/FloatingPanel.d.ts.map +1 -0
  85. package/dist/types/components/blocks/MapLabel.d.ts +17 -0
  86. package/dist/types/components/blocks/MapLabel.d.ts.map +1 -0
  87. package/dist/types/components/blocks/Popconfirm.d.ts +22 -0
  88. package/dist/types/components/blocks/Popconfirm.d.ts.map +1 -0
  89. package/dist/types/components/blocks/ScrollArea.d.ts +12 -0
  90. package/dist/types/components/blocks/ScrollArea.d.ts.map +1 -0
  91. package/dist/types/components/blocks/Thumbnail.d.ts +20 -0
  92. package/dist/types/components/blocks/Thumbnail.d.ts.map +1 -0
  93. package/dist/types/components/blocks/ToastProvider.d.ts +19 -0
  94. package/dist/types/components/blocks/ToastProvider.d.ts.map +1 -0
  95. package/dist/types/components/blocks/TruncatedText.d.ts +13 -0
  96. package/dist/types/components/blocks/TruncatedText.d.ts.map +1 -0
  97. package/dist/types/components/blocks/blocks.theme.d.ts +126 -0
  98. package/dist/types/components/blocks/blocks.theme.d.ts.map +1 -0
  99. package/dist/types/components/blocks/index.d.ts +10 -0
  100. package/dist/types/components/blocks/index.d.ts.map +1 -0
  101. package/dist/types/components/cards/HighlightText.d.ts +7 -0
  102. package/dist/types/components/cards/HighlightText.d.ts.map +1 -0
  103. package/dist/types/components/cards/ItemCard.d.ts +60 -0
  104. package/dist/types/components/cards/ItemCard.d.ts.map +1 -0
  105. package/dist/types/components/cards/OptionCard.d.ts +27 -0
  106. package/dist/types/components/cards/OptionCard.d.ts.map +1 -0
  107. package/dist/types/components/cards/StatCard.d.ts +21 -0
  108. package/dist/types/components/cards/StatCard.d.ts.map +1 -0
  109. package/dist/types/components/cards/cards.theme.d.ts +240 -0
  110. package/dist/types/components/cards/cards.theme.d.ts.map +1 -0
  111. package/dist/types/components/cards/index.d.ts +5 -0
  112. package/dist/types/components/cards/index.d.ts.map +1 -0
  113. package/dist/types/components/feedback/BusyOverlay.d.ts +39 -0
  114. package/dist/types/components/feedback/BusyOverlay.d.ts.map +1 -0
  115. package/dist/types/components/feedback/ErrorBoundary.d.ts +19 -0
  116. package/dist/types/components/feedback/ErrorBoundary.d.ts.map +1 -0
  117. package/dist/types/components/feedback/InlineMessage.d.ts +15 -0
  118. package/dist/types/components/feedback/InlineMessage.d.ts.map +1 -0
  119. package/dist/types/components/feedback/LoadingScreen.d.ts +30 -0
  120. package/dist/types/components/feedback/LoadingScreen.d.ts.map +1 -0
  121. package/dist/types/components/feedback/ProgressBar.d.ts +14 -0
  122. package/dist/types/components/feedback/ProgressBar.d.ts.map +1 -0
  123. package/dist/types/components/feedback/StateViews.d.ts +37 -0
  124. package/dist/types/components/feedback/StateViews.d.ts.map +1 -0
  125. package/dist/types/components/feedback/Toast.d.ts +18 -0
  126. package/dist/types/components/feedback/Toast.d.ts.map +1 -0
  127. package/dist/types/components/feedback/feedback.theme.d.ts +375 -0
  128. package/dist/types/components/feedback/feedback.theme.d.ts.map +1 -0
  129. package/dist/types/components/feedback/index.d.ts +8 -0
  130. package/dist/types/components/feedback/index.d.ts.map +1 -0
  131. package/dist/types/components/headers/PanelBanner.d.ts +20 -0
  132. package/dist/types/components/headers/PanelBanner.d.ts.map +1 -0
  133. package/dist/types/components/headers/PanelIcon.d.ts +13 -0
  134. package/dist/types/components/headers/PanelIcon.d.ts.map +1 -0
  135. package/dist/types/components/headers/headers.theme.d.ts +65 -0
  136. package/dist/types/components/headers/headers.theme.d.ts.map +1 -0
  137. package/dist/types/components/headers/index.d.ts +3 -0
  138. package/dist/types/components/headers/index.d.ts.map +1 -0
  139. package/dist/types/components/index.d.ts +16 -0
  140. package/dist/types/components/index.d.ts.map +1 -0
  141. package/dist/types/components/inputs/CalendarGrid.d.ts +19 -0
  142. package/dist/types/components/inputs/CalendarGrid.d.ts.map +1 -0
  143. package/dist/types/components/inputs/Choice.d.ts +36 -0
  144. package/dist/types/components/inputs/Choice.d.ts.map +1 -0
  145. package/dist/types/components/inputs/DateField.d.ts +27 -0
  146. package/dist/types/components/inputs/DateField.d.ts.map +1 -0
  147. package/dist/types/components/inputs/DateRangeField.d.ts +30 -0
  148. package/dist/types/components/inputs/DateRangeField.d.ts.map +1 -0
  149. package/dist/types/components/inputs/DateRangePopover.d.ts +13 -0
  150. package/dist/types/components/inputs/DateRangePopover.d.ts.map +1 -0
  151. package/dist/types/components/inputs/Field.d.ts +27 -0
  152. package/dist/types/components/inputs/Field.d.ts.map +1 -0
  153. package/dist/types/components/inputs/FileField.d.ts +21 -0
  154. package/dist/types/components/inputs/FileField.d.ts.map +1 -0
  155. package/dist/types/components/inputs/NumberField.d.ts +41 -0
  156. package/dist/types/components/inputs/NumberField.d.ts.map +1 -0
  157. package/dist/types/components/inputs/SearchField.d.ts +35 -0
  158. package/dist/types/components/inputs/SearchField.d.ts.map +1 -0
  159. package/dist/types/components/inputs/SearchableSelect.d.ts +36 -0
  160. package/dist/types/components/inputs/SearchableSelect.d.ts.map +1 -0
  161. package/dist/types/components/inputs/Select.d.ts +27 -0
  162. package/dist/types/components/inputs/Select.d.ts.map +1 -0
  163. package/dist/types/components/inputs/Slider.d.ts +28 -0
  164. package/dist/types/components/inputs/Slider.d.ts.map +1 -0
  165. package/dist/types/components/inputs/TextField.d.ts +18 -0
  166. package/dist/types/components/inputs/TextField.d.ts.map +1 -0
  167. package/dist/types/components/inputs/TimeSelect.d.ts +10 -0
  168. package/dist/types/components/inputs/TimeSelect.d.ts.map +1 -0
  169. package/dist/types/components/inputs/calendarUtils.d.ts +39 -0
  170. package/dist/types/components/inputs/calendarUtils.d.ts.map +1 -0
  171. package/dist/types/components/inputs/date.theme.d.ts +227 -0
  172. package/dist/types/components/inputs/date.theme.d.ts.map +1 -0
  173. package/dist/types/components/inputs/index.d.ts +13 -0
  174. package/dist/types/components/inputs/index.d.ts.map +1 -0
  175. package/dist/types/components/inputs/inputs.theme.d.ts +399 -0
  176. package/dist/types/components/inputs/inputs.theme.d.ts.map +1 -0
  177. package/dist/types/components/inputs/inputsControls.theme.d.ts +168 -0
  178. package/dist/types/components/inputs/inputsControls.theme.d.ts.map +1 -0
  179. package/dist/types/components/inputs/listbox/ListBox.d.ts +41 -0
  180. package/dist/types/components/inputs/listbox/ListBox.d.ts.map +1 -0
  181. package/dist/types/components/inputs/listbox/PickerSelect.d.ts +54 -0
  182. package/dist/types/components/inputs/listbox/PickerSelect.d.ts.map +1 -0
  183. package/dist/types/components/inputs/listbox/index.d.ts +3 -0
  184. package/dist/types/components/inputs/listbox/index.d.ts.map +1 -0
  185. package/dist/types/components/inputs/listbox/listbox.theme.d.ts +107 -0
  186. package/dist/types/components/inputs/listbox/listbox.theme.d.ts.map +1 -0
  187. package/dist/types/components/inputs/listbox/useListBoxNav.d.ts +36 -0
  188. package/dist/types/components/inputs/listbox/useListBoxNav.d.ts.map +1 -0
  189. package/dist/types/components/stroke/StrokePicker.d.ts +25 -0
  190. package/dist/types/components/stroke/StrokePicker.d.ts.map +1 -0
  191. package/dist/types/components/stroke/StrokePreview.d.ts +16 -0
  192. package/dist/types/components/stroke/StrokePreview.d.ts.map +1 -0
  193. package/dist/types/components/stroke/index.d.ts +3 -0
  194. package/dist/types/components/stroke/index.d.ts.map +1 -0
  195. package/dist/types/components/stroke/stroke.theme.d.ts +9 -0
  196. package/dist/types/components/stroke/stroke.theme.d.ts.map +1 -0
  197. package/dist/types/components/structure/ActiveFilters.d.ts +16 -0
  198. package/dist/types/components/structure/ActiveFilters.d.ts.map +1 -0
  199. package/dist/types/components/structure/Breadcrumbs.d.ts +17 -0
  200. package/dist/types/components/structure/Breadcrumbs.d.ts.map +1 -0
  201. package/dist/types/components/structure/ConfirmDialog.d.ts +16 -0
  202. package/dist/types/components/structure/ConfirmDialog.d.ts.map +1 -0
  203. package/dist/types/components/structure/DataTable.d.ts +30 -0
  204. package/dist/types/components/structure/DataTable.d.ts.map +1 -0
  205. package/dist/types/components/structure/Dialog.d.ts +16 -0
  206. package/dist/types/components/structure/Dialog.d.ts.map +1 -0
  207. package/dist/types/components/structure/DrawerPanel.d.ts +22 -0
  208. package/dist/types/components/structure/DrawerPanel.d.ts.map +1 -0
  209. package/dist/types/components/structure/KeyValueList.d.ts +15 -0
  210. package/dist/types/components/structure/KeyValueList.d.ts.map +1 -0
  211. package/dist/types/components/structure/Legend.d.ts +20 -0
  212. package/dist/types/components/structure/Legend.d.ts.map +1 -0
  213. package/dist/types/components/structure/ListRow.d.ts +34 -0
  214. package/dist/types/components/structure/ListRow.d.ts.map +1 -0
  215. package/dist/types/components/structure/MenuButton.d.ts +37 -0
  216. package/dist/types/components/structure/MenuButton.d.ts.map +1 -0
  217. package/dist/types/components/structure/PanelHeader.d.ts +17 -0
  218. package/dist/types/components/structure/PanelHeader.d.ts.map +1 -0
  219. package/dist/types/components/structure/PopoverPanel.d.ts +19 -0
  220. package/dist/types/components/structure/PopoverPanel.d.ts.map +1 -0
  221. package/dist/types/components/structure/RowRenameInput.d.ts +12 -0
  222. package/dist/types/components/structure/RowRenameInput.d.ts.map +1 -0
  223. package/dist/types/components/structure/SectionHeader.d.ts +20 -0
  224. package/dist/types/components/structure/SectionHeader.d.ts.map +1 -0
  225. package/dist/types/components/structure/SelectionBar.d.ts +15 -0
  226. package/dist/types/components/structure/SelectionBar.d.ts.map +1 -0
  227. package/dist/types/components/structure/Stepper.d.ts +16 -0
  228. package/dist/types/components/structure/Stepper.d.ts.map +1 -0
  229. package/dist/types/components/structure/Tabs.d.ts +23 -0
  230. package/dist/types/components/structure/Tabs.d.ts.map +1 -0
  231. package/dist/types/components/structure/Toolbar.d.ts +13 -0
  232. package/dist/types/components/structure/Toolbar.d.ts.map +1 -0
  233. package/dist/types/components/structure/index.d.ts +18 -0
  234. package/dist/types/components/structure/index.d.ts.map +1 -0
  235. package/dist/types/components/structure/panelChrome.theme.d.ts +59 -0
  236. package/dist/types/components/structure/panelChrome.theme.d.ts.map +1 -0
  237. package/dist/types/components/structure/section.theme.d.ts +26 -0
  238. package/dist/types/components/structure/section.theme.d.ts.map +1 -0
  239. package/dist/types/components/structure/structure.theme.d.ts +478 -0
  240. package/dist/types/components/structure/structure.theme.d.ts.map +1 -0
  241. package/dist/types/components/tags/Chip.d.ts +16 -0
  242. package/dist/types/components/tags/Chip.d.ts.map +1 -0
  243. package/dist/types/components/tags/StatusBadge.d.ts +17 -0
  244. package/dist/types/components/tags/StatusBadge.d.ts.map +1 -0
  245. package/dist/types/components/tags/index.d.ts +3 -0
  246. package/dist/types/components/tags/index.d.ts.map +1 -0
  247. package/dist/types/components/tags/tags.theme.d.ts +158 -0
  248. package/dist/types/components/tags/tags.theme.d.ts.map +1 -0
  249. package/dist/types/components/themeOverrides.d.ts +3067 -0
  250. package/dist/types/components/themeOverrides.d.ts.map +1 -0
  251. package/dist/types/components/tree/GroupTree.d.ts +38 -0
  252. package/dist/types/components/tree/GroupTree.d.ts.map +1 -0
  253. package/dist/types/components/tree/index.d.ts +2 -0
  254. package/dist/types/components/tree/index.d.ts.map +1 -0
  255. package/dist/types/components/tree/tree.theme.d.ts +102 -0
  256. package/dist/types/components/tree/tree.theme.d.ts.map +1 -0
  257. package/dist/types/data-grid/ColumnFilter.d.ts +11 -0
  258. package/dist/types/data-grid/ColumnFilter.d.ts.map +1 -0
  259. package/dist/types/data-grid/ColumnsMenu.d.ts +12 -0
  260. package/dist/types/data-grid/ColumnsMenu.d.ts.map +1 -0
  261. package/dist/types/data-grid/DataGrid.d.ts +29 -0
  262. package/dist/types/data-grid/DataGrid.d.ts.map +1 -0
  263. package/dist/types/data-grid/GridHeaderCell.d.ts +18 -0
  264. package/dist/types/data-grid/GridHeaderCell.d.ts.map +1 -0
  265. package/dist/types/data-grid/GridSettingsMenu.d.ts +16 -0
  266. package/dist/types/data-grid/GridSettingsMenu.d.ts.map +1 -0
  267. package/dist/types/data-grid/dataGrid.theme.d.ts +74 -0
  268. package/dist/types/data-grid/dataGrid.theme.d.ts.map +1 -0
  269. package/dist/types/data-grid/index.d.ts +4 -0
  270. package/dist/types/data-grid/index.d.ts.map +1 -0
  271. package/dist/types/data-grid/types.d.ts +21 -0
  272. package/dist/types/data-grid/types.d.ts.map +1 -0
  273. package/dist/types/data-grid/useDataGridState.d.ts +27 -0
  274. package/dist/types/data-grid/useDataGridState.d.ts.map +1 -0
  275. package/dist/types/icons/Icon.d.ts +21 -0
  276. package/dist/types/icons/Icon.d.ts.map +1 -0
  277. package/dist/types/icons/custom.d.ts +17 -0
  278. package/dist/types/icons/custom.d.ts.map +1 -0
  279. package/dist/types/icons/editIcons.d.ts +62 -0
  280. package/dist/types/icons/editIcons.d.ts.map +1 -0
  281. package/dist/types/icons/index.d.ts +4 -0
  282. package/dist/types/icons/index.d.ts.map +1 -0
  283. package/dist/types/icons/registry.d.ts +163 -0
  284. package/dist/types/icons/registry.d.ts.map +1 -0
  285. package/dist/types/index.d.ts +7 -0
  286. package/dist/types/index.d.ts.map +1 -0
  287. package/dist/types/templates/DetailPanel.d.ts +39 -0
  288. package/dist/types/templates/DetailPanel.d.ts.map +1 -0
  289. package/dist/types/templates/SidebarPanel.d.ts +36 -0
  290. package/dist/types/templates/SidebarPanel.d.ts.map +1 -0
  291. package/dist/types/templates/index.d.ts +3 -0
  292. package/dist/types/templates/index.d.ts.map +1 -0
  293. package/dist/types/templates/useScrollEdges.d.ts +14 -0
  294. package/dist/types/templates/useScrollEdges.d.ts.map +1 -0
  295. package/dist/types/theme/VsuiThemeProvider.d.ts +16 -0
  296. package/dist/types/theme/VsuiThemeProvider.d.ts.map +1 -0
  297. package/dist/types/theme/createVsuiTheme.d.ts +12 -0
  298. package/dist/types/theme/createVsuiTheme.d.ts.map +1 -0
  299. package/dist/types/theme/density.d.ts +13 -0
  300. package/dist/types/theme/density.d.ts.map +1 -0
  301. package/dist/types/theme/index.d.ts +6 -0
  302. package/dist/types/theme/index.d.ts.map +1 -0
  303. package/dist/types/theme/scrollbarRules.d.ts +41 -0
  304. package/dist/types/theme/scrollbarRules.d.ts.map +1 -0
  305. package/dist/types/theme/states.d.ts +34 -0
  306. package/dist/types/theme/states.d.ts.map +1 -0
  307. package/dist/types/theme/themeDetection.d.ts +4 -0
  308. package/dist/types/theme/themeDetection.d.ts.map +1 -0
  309. package/dist/types/theme/useIsDarkTheme.d.ts +3 -0
  310. package/dist/types/theme/useIsDarkTheme.d.ts.map +1 -0
  311. package/dist/types/tokens/color.d.ts +121 -0
  312. package/dist/types/tokens/color.d.ts.map +1 -0
  313. package/dist/types/tokens/container.d.ts +18 -0
  314. package/dist/types/tokens/container.d.ts.map +1 -0
  315. package/dist/types/tokens/index.d.ts +11 -0
  316. package/dist/types/tokens/index.d.ts.map +1 -0
  317. package/dist/types/tokens/mix.d.ts +5 -0
  318. package/dist/types/tokens/mix.d.ts.map +1 -0
  319. package/dist/types/tokens/motion.d.ts +20 -0
  320. package/dist/types/tokens/motion.d.ts.map +1 -0
  321. package/dist/types/tokens/radius.d.ts +22 -0
  322. package/dist/types/tokens/radius.d.ts.map +1 -0
  323. package/dist/types/tokens/shadow.d.ts +5 -0
  324. package/dist/types/tokens/shadow.d.ts.map +1 -0
  325. package/dist/types/tokens/size.d.ts +34 -0
  326. package/dist/types/tokens/size.d.ts.map +1 -0
  327. package/dist/types/tokens/spacing.d.ts +34 -0
  328. package/dist/types/tokens/spacing.d.ts.map +1 -0
  329. package/dist/types/tokens/typography.d.ts +27 -0
  330. package/dist/types/tokens/typography.d.ts.map +1 -0
  331. package/dist/types/tokens/zIndex.d.ts +13 -0
  332. package/dist/types/tokens/zIndex.d.ts.map +1 -0
  333. package/eslint/index.js +151 -0
  334. package/package.json +166 -5
@@ -0,0 +1,163 @@
1
+ import type { SvgIconComponent } from "@mui/icons-material";
2
+ import { type LucideIcon } from "lucide-react";
3
+ import * as React from "react";
4
+ type StrokeIcon = (props: {
5
+ size: number;
6
+ className?: string;
7
+ onClick?: React.MouseEventHandler<SVGSVGElement>;
8
+ } & React.SVGAttributes<SVGSVGElement>) => React.ReactElement;
9
+ /** One icon per action, in every app. MUI Outlined first; lucide or custom SVG where MUI has no fitting icon. */
10
+ export type IconSource = {
11
+ kind: "mui";
12
+ component: SvgIconComponent;
13
+ } | {
14
+ kind: "lucide";
15
+ component: LucideIcon;
16
+ } | {
17
+ kind: "svg";
18
+ component: StrokeIcon;
19
+ };
20
+ export declare const ICONS: {
21
+ readonly none: {
22
+ kind: "lucide";
23
+ component: LucideIcon;
24
+ };
25
+ readonly dragHandle: {
26
+ kind: "lucide";
27
+ component: LucideIcon;
28
+ };
29
+ readonly reshape: {
30
+ kind: "lucide";
31
+ component: LucideIcon;
32
+ };
33
+ readonly split: {
34
+ kind: "lucide";
35
+ component: LucideIcon;
36
+ };
37
+ readonly buffer: {
38
+ kind: "lucide";
39
+ component: LucideIcon;
40
+ };
41
+ readonly union: {
42
+ kind: "lucide";
43
+ component: LucideIcon;
44
+ };
45
+ readonly subtract: {
46
+ kind: "lucide";
47
+ component: LucideIcon;
48
+ };
49
+ readonly intersect: {
50
+ kind: "lucide";
51
+ component: LucideIcon;
52
+ };
53
+ readonly bringToFront: {
54
+ kind: "lucide";
55
+ component: LucideIcon;
56
+ };
57
+ readonly sendToBack: {
58
+ kind: "lucide";
59
+ component: LucideIcon;
60
+ };
61
+ readonly align: {
62
+ kind: "lucide";
63
+ component: LucideIcon;
64
+ };
65
+ readonly rotate: {
66
+ kind: "lucide";
67
+ component: LucideIcon;
68
+ };
69
+ readonly eyedropper: {
70
+ kind: "lucide";
71
+ component: LucideIcon;
72
+ };
73
+ readonly user: {
74
+ kind: "lucide";
75
+ component: LucideIcon;
76
+ };
77
+ readonly add: IconSource;
78
+ readonly remove: IconSource;
79
+ readonly edit: IconSource;
80
+ readonly delete: IconSource;
81
+ readonly save: IconSource;
82
+ readonly print: IconSource;
83
+ readonly copy: IconSource;
84
+ readonly download: IconSource;
85
+ readonly upload: IconSource;
86
+ readonly share: IconSource;
87
+ readonly refresh: IconSource;
88
+ readonly reset: IconSource;
89
+ readonly undo: IconSource;
90
+ readonly redo: IconSource;
91
+ readonly exit: IconSource;
92
+ readonly openExternal: IconSource;
93
+ readonly search: IconSource;
94
+ readonly filter: IconSource;
95
+ readonly adjust: IconSource;
96
+ readonly sort: IconSource;
97
+ readonly clear: IconSource;
98
+ readonly close: IconSource;
99
+ readonly menu: IconSource;
100
+ readonly more: IconSource;
101
+ readonly expand: IconSource;
102
+ readonly collapse: IconSource;
103
+ readonly next: IconSource;
104
+ readonly previous: IconSource;
105
+ readonly check: IconSource;
106
+ readonly success: IconSource;
107
+ readonly info: IconSource;
108
+ readonly warning: IconSource;
109
+ readonly error: IconSource;
110
+ readonly settings: IconSource;
111
+ readonly calendar: IconSource;
112
+ readonly empty: IconSource;
113
+ readonly show: IconSource;
114
+ readonly hide: IconSource;
115
+ readonly lock: IconSource;
116
+ readonly lockFilled: IconSource;
117
+ readonly unlock: IconSource;
118
+ readonly photo: IconSource;
119
+ readonly lightMode: IconSource;
120
+ readonly darkMode: IconSource;
121
+ readonly map: IconSource;
122
+ readonly layers: IconSource;
123
+ readonly basemap: IconSource;
124
+ readonly legend: IconSource;
125
+ readonly splitView: IconSource;
126
+ readonly zoomTo: IconSource;
127
+ readonly pan: IconSource;
128
+ readonly gps: IconSource;
129
+ readonly compass: IconSource;
130
+ readonly measure: IconSource;
131
+ readonly measureArea: IconSource;
132
+ readonly measureAngle: IconSource;
133
+ readonly selectArea: IconSource;
134
+ readonly selectBox: IconSource;
135
+ readonly cursor: IconSource;
136
+ readonly freehand: IconSource;
137
+ readonly line: IconSource;
138
+ readonly pin: IconSource;
139
+ readonly polyline: IconSource;
140
+ readonly polygon: IconSource;
141
+ readonly rectangle: IconSource;
142
+ readonly circle: IconSource;
143
+ readonly cloud: IconSource;
144
+ readonly revisionCloud: IconSource;
145
+ readonly stamp: IconSource;
146
+ readonly crosshair: IconSource;
147
+ readonly image: IconSource;
148
+ readonly snap: IconSource;
149
+ readonly continuous: IconSource;
150
+ readonly strokeThin: IconSource;
151
+ readonly strokeMed: IconSource;
152
+ readonly strokeThick: IconSource;
153
+ readonly drawLine: IconSource;
154
+ readonly arrow: IconSource;
155
+ readonly text: IconSource;
156
+ readonly callout: IconSource;
157
+ readonly calloutLeader: IconSource;
158
+ readonly cloudCallout: IconSource;
159
+ };
160
+ export type IconName = keyof typeof ICONS;
161
+ export declare const ICON_NAMES: IconName[];
162
+ export {};
163
+ //# sourceMappingURL=registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/lib/icons/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AA6D5D,OAAO,EAiBH,KAAK,UAAU,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAA;CAAE,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;AAiB7K,iHAAiH;AACjH,MAAM,MAAM,UAAU,GAChB;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,SAAS,EAAE,gBAAgB,CAAA;CAAE,GAC5C;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,SAAS,EAAE,UAAU,CAAA;CAAE,GACzC;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,SAAS,EAAE,UAAU,CAAA;CAAE,CAAC;AAM7C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmG6B,CAAC;AAEhD,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAC;AAC1C,eAAO,MAAM,UAAU,EAAyB,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /** Public API of @geosynk/vsw-ui. Apps import only from here. */
2
+ export * from "./components";
3
+ export * from "./icons";
4
+ export * from "./templates";
5
+ export * from "./theme";
6
+ export * from "./tokens";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
@@ -0,0 +1,39 @@
1
+ import * as React from "react";
2
+ import type { EmptyStateProps, ErrorStateProps } from "../components/feedback";
3
+ import type { PanelIconSource } from "../components/headers";
4
+ import type { TabItem } from "../components/structure";
5
+ import type { PanelState } from "./SidebarPanel";
6
+ export interface DetailPanelProps<T extends string> {
7
+ title: string;
8
+ subtitle?: string;
9
+ /** Optional icon for `headerVariant="banner"` (or PanelHeader). */
10
+ icon?: PanelIconSource;
11
+ /** Use `"banner"` to render a branded yellow PanelBanner instead of PanelHeader. Default `"header"`. */
12
+ headerVariant?: "header" | "banner";
13
+ onBack: () => void;
14
+ backLabel?: string;
15
+ actions?: React.ReactNode;
16
+ /** Badges under the title (status, type). */
17
+ badges?: React.ReactNode;
18
+ tabs?: TabItem<NoInfer<T>>[];
19
+ tab?: T;
20
+ onTabChange?: (value: NoInfer<T>) => void;
21
+ /** Which view the body shows. `ready` shows children. */
22
+ state?: PanelState;
23
+ loadingLabel?: string;
24
+ empty?: EmptyStateProps;
25
+ error?: ErrorStateProps;
26
+ footer?: React.ReactNode;
27
+ /** Usually a stack of Section. */
28
+ children: React.ReactNode;
29
+ /**
30
+ * Make the panel a size container, so vsw-ui layouts follow the panel's width (inline labels go above their
31
+ * control in a narrow panel). Only when the panel gets its width from its parent (a host panel, a fixed column),
32
+ * never from its content: a container cannot be sized by what is inside it.
33
+ */
34
+ responsive?: boolean;
35
+ className?: string;
36
+ }
37
+ /** One item's details after drilling in from a list: back, title, badges, optional tabs, sections. */
38
+ export declare function DetailPanel<T extends string>({ title, subtitle, icon, headerVariant, onBack, backLabel, actions, badges, tabs, tab, onTabChange, state, loadingLabel, empty, error, footer, children, responsive, className, }: DetailPanelProps<T>): React.ReactElement;
39
+ //# sourceMappingURL=DetailPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailPanel.d.ts","sourceRoot":"","sources":["../../../src/lib/templates/DetailPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE/E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,wGAAwG;IACxG,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACpC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6CAA6C;IAC7C,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,GAAG,CAAC,EAAE,CAAC,CAAC;IACR,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC1C,yDAAyD;IACzD,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,kCAAkC;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,sGAAsG;AACtG,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,EAC1C,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,aAAwB,EACxB,MAAM,EACN,SAAS,EACT,OAAO,EACP,MAAM,EACN,IAAI,EACJ,GAAG,EACH,WAAW,EACX,KAAe,EACf,YAAY,EACZ,KAAqC,EACrC,KAAU,EACV,MAAM,EACN,QAAQ,EACR,UAAU,EACV,SAAS,GACZ,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAoD1C"}
@@ -0,0 +1,36 @@
1
+ import * as React from "react";
2
+ import type { EmptyStateProps, ErrorStateProps } from "../components/feedback";
3
+ import type { PanelHeaderProps } from "../components/structure";
4
+ export type PanelState = "ready" | "loading" | "empty" | "error";
5
+ export interface SidebarPanelProps extends Omit<PanelHeaderProps, "title"> {
6
+ /** Optional panel title. Omit `title`, `subtitle`, `actions`, and `onBack` to render without a header. */
7
+ title?: string;
8
+ /** Use `"banner"` to render a branded yellow PanelBanner instead of PanelHeader. Default `"header"`. */
9
+ headerVariant?: "header" | "banner";
10
+ /** Accessible label for the back button when `headerVariant="banner"` and `onBack` is set. */
11
+ backLabel?: string;
12
+ /** A Toolbar (search + filters) under the header. */
13
+ toolbar?: React.ReactNode;
14
+ /** Which view the body shows. `ready` shows children. */
15
+ state?: PanelState;
16
+ loadingLabel?: string;
17
+ empty?: EmptyStateProps;
18
+ error?: ErrorStateProps;
19
+ /** A ButtonBar pinned to the bottom. */
20
+ footer?: React.ReactNode;
21
+ /** Body padding; `dense` (8px) for ListRow, `normal` (16px, default), `none` (0) when outer shell pads. */
22
+ padding?: "none" | "dense" | "normal";
23
+ /**
24
+ * Make the panel a size container, so vsw-ui layouts follow the panel's width (inline labels go above their
25
+ * control in a narrow panel). Only when the panel gets its width from its parent (a host panel, a fixed column),
26
+ * never from its content: a container cannot be sized by what is inside it.
27
+ */
28
+ responsive?: boolean;
29
+ children?: React.ReactNode;
30
+ }
31
+ /**
32
+ * The standard side panel: optional PanelHeader (or PanelBanner) → Toolbar → scrolling body → ButtonBar footer.
33
+ * Loading, empty and error views are built in, so every panel shows them the same way.
34
+ */
35
+ export declare function SidebarPanel({ headerVariant, backLabel, toolbar, state, loadingLabel, empty, error, footer, padding, responsive, children, className, ...header }: SidebarPanelProps): React.ReactElement;
36
+ //# sourceMappingURL=SidebarPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SidebarPanel.d.ts","sourceRoot":"","sources":["../../../src/lib/templates/SidebarPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAG/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAEjE,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACtE,0GAA0G;IAC1G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wGAAwG;IACxG,aAAa,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACpC,8FAA8F;IAC9F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,yDAAyD;IACzD,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,wCAAwC;IACxC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IACtC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EACzB,aAAwB,EACxB,SAAS,EACT,OAAO,EACP,KAAe,EACf,YAAY,EACZ,KAAqC,EACrC,KAAU,EACV,MAAM,EACN,OAAkB,EAClB,UAAU,EACV,QAAQ,EACR,SAAS,EACT,GAAG,MAAM,EACZ,EAAE,iBAAiB,GAAG,KAAK,CAAC,YAAY,CA4DxC"}
@@ -0,0 +1,3 @@
1
+ export * from "./DetailPanel";
2
+ export * from "./SidebarPanel";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/templates/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ export interface ScrollEdges {
3
+ top: boolean;
4
+ bottom: boolean;
5
+ }
6
+ /**
7
+ * Tracks whether a scrollable panel body has overflow hidden above (`top`) or below (`bottom`)
8
+ * the visible viewport so fixed headers, toolbars and footers can show subtle elevation cues.
9
+ */
10
+ export declare function useScrollEdges(ref: React.RefObject<HTMLElement | null>): {
11
+ edges: ScrollEdges;
12
+ onScroll: () => void;
13
+ };
14
+ //# sourceMappingURL=useScrollEdges.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollEdges.d.ts","sourceRoot":"","sources":["../../../src/lib/templates/useScrollEdges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,WAAW;IACxB,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG;IACtE,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACxB,CA0BA"}
@@ -0,0 +1,16 @@
1
+ import * as React from "react";
2
+ import { type Density } from "./density";
3
+ export interface VsuiThemeProviderProps {
4
+ children: React.ReactNode;
5
+ /** Optional explicit theme mode override; omit to follow the VertiGIS host shell. */
6
+ mode?: "light" | "dark";
7
+ /**
8
+ * Control size. `"auto"` (default) uses touch sizes (44px targets) on a coarse pointer such as a tablet,
9
+ * desktop sizes otherwise. `"compact"` never enlarges; `"touch"` always does. App-wide: use one value per app.
10
+ */
11
+ density?: Density;
12
+ }
13
+ /** Wrap each widget's view in this. Follows the shell's light / dark mode. */
14
+ export declare function VsuiThemeProvider({ children, mode, density }: VsuiThemeProviderProps): React.ReactElement;
15
+ export default VsuiThemeProvider;
16
+ //# sourceMappingURL=VsuiThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VsuiThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/VsuiThemeProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAgB,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAIvD,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qFAAqF;IACrF,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAcD,8EAA8E;AAC9E,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAgB,EAAE,EAAE,sBAAsB,GAAG,KAAK,CAAC,YAAY,CAalH;AAED,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type Theme } from "@mui/material/styles";
2
+ /**
3
+ * The one MUI theme for every app. Cosmetics live here; components keep `sx` to layout and spacing.
4
+ * Component-specific overrides are added next to each component as it is built (step 4).
5
+ */
6
+ export declare function createVsuiTheme(isDark: boolean, htmlFontSize?: number): Theme;
7
+ /** The VertiGIS shell element, so popovers / menus / dialogs render inside it; document body outside the host. */
8
+ export declare function hostContainer(): HTMLElement | null;
9
+ /** The document's root font size in px (10 in the VertiGIS host), or 16 outside a browser. */
10
+ export declare function rootFontSize(): number;
11
+ export default createVsuiTheme;
12
+ //# sourceMappingURL=createVsuiTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createVsuiTheme.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/createVsuiTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAK/D;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,SAAiB,GAAG,KAAK,CA2ErF;AAED,kHAAkH;AAClH,wBAAgB,aAAa,IAAI,WAAW,GAAG,IAAI,CAGlD;AAED,8FAA8F;AAC9F,wBAAgB,YAAY,IAAI,MAAM,CAIrC;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * How big controls are.
3
+ * - `"auto"` (default): desktop sizes, and touch sizes on a coarse pointer (tablet, phone).
4
+ * - `"compact"`: always desktop sizes (28 / 32px controls).
5
+ * - `"touch"`: always touch sizes, e.g. a field-tablet build or a "large controls" user setting.
6
+ */
7
+ export type Density = "auto" | "compact" | "touch";
8
+ /**
9
+ * Global rules that set the density variables. They live on :root because popovers and menus mount
10
+ * outside the widget, so density is app-wide: one setting per app.
11
+ */
12
+ export declare function densityRules(density: Density): Record<string, unknown>;
13
+ //# sourceMappingURL=density.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"density.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/density.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAUnD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAItE"}
@@ -0,0 +1,6 @@
1
+ export * from "./createVsuiTheme";
2
+ export * from "./density";
3
+ export * from "./themeDetection";
4
+ export * from "./useIsDarkTheme";
5
+ export * from "./VsuiThemeProvider";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Scoped targets so scrollbars never leak outside the VertiGIS host shell or vsw-ui panels/portals.
3
+ */
4
+ declare const SCROLLBAR_SCOPE: string;
5
+ /**
6
+ * Modern, subtle scrollbars scoped to `.vsw-app` and vsw-ui surfaces.
7
+ * Uses `::-webkit-scrollbar` (6px pill thumb) in Chromium/WebKit and standard
8
+ * `scrollbar-width: thin` + `scrollbar-color` in Firefox (where `::-webkit-scrollbar` is unsupported).
9
+ */
10
+ export declare const scrollbarClassRules: {
11
+ readonly [SCROLLBAR_SCOPE]: {
12
+ readonly "&::-webkit-scrollbar": {
13
+ readonly width: 6;
14
+ readonly height: 6;
15
+ };
16
+ readonly "&::-webkit-scrollbar-track": {
17
+ readonly background: "transparent";
18
+ };
19
+ readonly "&::-webkit-scrollbar-thumb": {
20
+ readonly backgroundColor: string;
21
+ readonly borderRadius: "9999px";
22
+ };
23
+ readonly "&::-webkit-scrollbar-thumb:hover": {
24
+ readonly backgroundColor: string;
25
+ };
26
+ readonly "&::-webkit-scrollbar-thumb:active": {
27
+ readonly backgroundColor: string;
28
+ };
29
+ readonly "&::-webkit-scrollbar-corner": {
30
+ readonly background: "transparent";
31
+ };
32
+ };
33
+ readonly "@supports not selector(::-webkit-scrollbar)": {
34
+ readonly [SCROLLBAR_SCOPE]: {
35
+ readonly scrollbarWidth: "thin";
36
+ readonly scrollbarColor: `${string} transparent`;
37
+ };
38
+ };
39
+ };
40
+ export {};
41
+ //# sourceMappingURL=scrollbarRules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrollbarRules.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/scrollbarRules.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,QAAA,MAAM,eAAe,QAgBT,CAAC;AAEb;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;IAO5B,SAAA,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;MAqBhB;;QA1BG,SAAA,CAAC,eAAe,CAAC;;;UAGhB;;CAwBC,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * State selectors. Each includes a `vsui-force-*` class so the showcase can show a state without the
3
+ * pointer — the showcase is then an exact picture of the real state.
4
+ */
5
+ export declare const HOVER = "&:hover, &.vsui-force-hover";
6
+ export declare const FOCUS = "&.Mui-focusVisible, &:focus-visible, &.vsui-force-focus";
7
+ export declare const ACTIVE = "&:active, &.vsui-force-active";
8
+ export declare const DISABLED = "&.Mui-disabled";
9
+ /**
10
+ * One focus ring for every control: a 2px gap in the panel colour, then a 2px ring.
11
+ * Drawn with box-shadow (not outline) so the gap is even on every side and at the rounded corners,
12
+ * and bordered variants do not read as a double border. The transparent outline is invisible normally,
13
+ * but Windows forced-colours mode drops box-shadow and paints the outline, so the ring never disappears.
14
+ */
15
+ export declare const focusRing: {
16
+ readonly outline: "2px solid transparent";
17
+ readonly outlineOffset: "2px";
18
+ readonly boxShadow: "0 0 0 2px var(--primaryBackground, #ffffff), 0 0 0 4px var(--focusBorder, var(--primaryAccent, #007ac2))";
19
+ };
20
+ /** Inset ring for full-width rows and cards, where an outer ring would be clipped by the scroll area. */
21
+ export declare const focusRingInset: {
22
+ readonly outline: "2px solid var(--focusBorder, var(--primaryAccent, #007ac2))";
23
+ readonly outlineOffset: "-2px";
24
+ };
25
+ /** Disabled controls also fade, so the state reads even where the host's disabled colours are close to normal. */
26
+ export declare const DISABLED_OPACITY = 0.55;
27
+ /** Shared hover tints so interactive rows/cards and controls feel identical in Light and Dark themes. */
28
+ export declare const SURFACE_HOVER: string;
29
+ export declare const CONTROL_HOVER: string;
30
+ /** Pressed (`ACTIVE`) tint for transparent controls: one step darker than hover. */
31
+ export declare const CONTROL_ACTIVE: string;
32
+ /** Pressed fill for a filled control: its hover fill pushed towards its own text colour. */
33
+ export declare const pressedFill: (bgHover: string, fg: string) => string;
34
+ //# sourceMappingURL=states.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"states.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/states.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,KAAK,gCAAgC,CAAC;AACnD,eAAO,MAAM,KAAK,4DAA4D,CAAC;AAC/E,eAAO,MAAM,MAAM,kCAAkC,CAAC;AACtD,eAAO,MAAM,QAAQ,mBAAmB,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;;CAIZ,CAAC;AAEX,yGAAyG;AACzG,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,kHAAkH;AAClH,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAErC,yGAAyG;AACzG,eAAO,MAAM,aAAa,QAA8D,CAAC;AACzF,eAAO,MAAM,aAAa,QAA8D,CAAC;AACzF,oFAAoF;AACpF,eAAO,MAAM,cAAc,QAA+D,CAAC;AAC3F,4FAA4F;AAC5F,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,EAAE,IAAI,MAAM,KAAG,MAAqD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare function calculatePerceivedLuminance(r: number, g: number, b: number): number;
2
+ export declare function parseRgbComponents(colorStr: string): [number, number, number] | null;
3
+ export declare function isDarkTheme(): boolean;
4
+ //# sourceMappingURL=themeDetection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themeDetection.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/themeDetection.ts"],"names":[],"mappings":"AAAA,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAMnF;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAqBpF;AAED,wBAAgB,WAAW,IAAI,OAAO,CA0BrC"}
@@ -0,0 +1,3 @@
1
+ export declare function useIsDarkTheme(): boolean;
2
+ export default useIsDarkTheme;
3
+ //# sourceMappingURL=useIsDarkTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIsDarkTheme.d.ts","sourceRoot":"","sources":["../../../src/lib/theme/useIsDarkTheme.ts"],"names":[],"mappings":"AAMA,wBAAgB,cAAc,IAAI,OAAO,CA4CxC;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,121 @@
1
+ export declare const COLOR: {
2
+ readonly surface: {
3
+ readonly primary: "var(--primaryBackground, #ffffff)";
4
+ readonly secondary: "var(--secondaryBackground, #f5f5f5)";
5
+ readonly disabled: "var(--primaryBackgroundDisabled, #f5f5f5)";
6
+ readonly overlay: "var(--overlayBackground, rgba(0, 0, 0, 0.5))";
7
+ };
8
+ readonly text: {
9
+ readonly primary: "var(--primaryForeground, #212121)";
10
+ readonly secondary: "var(--secondaryForeground, var(--vsui-fg-2, #595959))";
11
+ readonly disabled: "var(--disabledForeground, var(--vsui-fg-dis, #8c8c8c))";
12
+ readonly inverse: "var(--primaryBackground, #ffffff)";
13
+ };
14
+ readonly border: {
15
+ readonly primary: "var(--primaryBorder, #e0e0e0)";
16
+ readonly secondary: "var(--secondaryBorder, #eeeeee)";
17
+ readonly separator: "color-mix(in srgb, var(--primaryForeground, #212121) 18%, transparent)";
18
+ readonly focus: "var(--focusBorder, var(--primaryAccent, #007ac2))";
19
+ };
20
+ readonly accent: {
21
+ readonly primary: "var(--primaryAccent, #007ac2)";
22
+ readonly hover: "var(--primaryAccentHover, #005a91)";
23
+ /** Selected surface; the fallback tints the accent on the panel so it darkens with the theme. */
24
+ readonly light: "var(--primaryAccentLight, color-mix(in srgb, var(--primaryAccent, #007ac2) 16%, var(--primaryBackground, #ffffff)))";
25
+ readonly contrastText: "var(--primaryBackground, #ffffff)";
26
+ };
27
+ readonly brand: {
28
+ readonly banner: "var(--etsaBrandBackground, #ffc709)";
29
+ readonly bannerText: "var(--etsaBrandForeground, #000000)";
30
+ };
31
+ readonly input: {
32
+ readonly bg: "var(--primaryBackground, #ffffff)";
33
+ readonly fg: "var(--primaryForeground, #212121)";
34
+ readonly border: "var(--inputBorder, #575757)";
35
+ readonly borderDisabled: "var(--inputBorderDisabled, #a1a1a1)";
36
+ readonly placeholder: "var(--secondaryForeground, var(--vsui-fg-2, #595959))";
37
+ };
38
+ readonly interactive: {
39
+ readonly itemHover: "var(--itemHoverBackground, color-mix(in srgb, var(--primaryForeground, #212121) 6%, transparent))";
40
+ readonly itemSelected: "var(--itemSelectedBackground, rgba(0, 122, 194, 0.12))";
41
+ };
42
+ /**
43
+ * Selected (on) toggles, tool buttons and rows. A pale tint with the normal text and an accent edge,
44
+ * so "selected" never shares a fill with hover or the primary button.
45
+ */
46
+ readonly selected: {
47
+ readonly bg: "var(--itemSelectedBackground, rgba(0, 122, 194, 0.12))";
48
+ readonly bgHover: "color-mix(in srgb, var(--itemSelectedBackground, rgba(0, 122, 194, 0.12)), var(--primaryForeground, #212121) 8%)";
49
+ readonly fg: "var(--primaryForeground, #212121)";
50
+ readonly border: "var(--primaryAccent, #007ac2)";
51
+ };
52
+ /** Secondary button (outlined) — the default button. */
53
+ readonly button: {
54
+ readonly bg: "var(--buttonBackground, #ffffff)";
55
+ readonly bgHover: "var(--buttonBackgroundHover, #ffc709)";
56
+ readonly bgDisabled: "var(--buttonBackgroundDisabled, #ffffff)";
57
+ readonly border: "var(--buttonBorder, #000000)";
58
+ readonly borderHover: "var(--buttonBorderHover, #000000)";
59
+ readonly borderDisabled: "var(--buttonBorderDisabled, #404040)";
60
+ readonly fg: "var(--buttonForeground, #000000)";
61
+ readonly fgHover: "var(--buttonForegroundHover, #000000)";
62
+ readonly fgDisabled: "var(--buttonForegroundDisabled, #404040)";
63
+ };
64
+ /** Primary button (filled). */
65
+ readonly emphasizedButton: {
66
+ readonly bg: "var(--emphasizedButtonBackground, #ffc709)";
67
+ readonly bgHover: "var(--emphasizedButtonBackgroundHover, #ff721b)";
68
+ readonly bgDisabled: "var(--emphasizedButtonBackgroundDisabled, #808080)";
69
+ readonly border: "var(--emphasizedButtonBorder, #000000)";
70
+ readonly borderHover: "var(--emphasizedButtonBorderHover, #000000)";
71
+ readonly borderDisabled: "var(--emphasizedButtonBorderDisabled, #404040)";
72
+ readonly fg: "var(--emphasizedButtonForeground, #000000)";
73
+ readonly fgHover: "var(--emphasizedButtonForegroundHover, #000000)";
74
+ readonly fgDisabled: "var(--emphasizedButtonForegroundDisabled, #404040)";
75
+ };
76
+ /**
77
+ * Status colours. In the host, --alert*Background is the STRONG colour and --alert*Foreground the text on it
78
+ * (white). `solid` / `onSolid` are that pair; `text` is the status colour for text on the panel;
79
+ * `subtle` is a pale tint for message backgrounds. (pim treated --alert*Background as a pale tint — wrong polarity.)
80
+ */
81
+ readonly status: {
82
+ readonly error: {
83
+ solid: string;
84
+ onSolid: string;
85
+ solidHover: string;
86
+ onSolidHover: string;
87
+ border: string;
88
+ text: string;
89
+ subtle: string;
90
+ };
91
+ readonly warning: {
92
+ solid: string;
93
+ onSolid: string;
94
+ solidHover: string;
95
+ onSolidHover: string;
96
+ border: string;
97
+ text: string;
98
+ subtle: string;
99
+ };
100
+ readonly success: {
101
+ solid: string;
102
+ onSolid: string;
103
+ solidHover: string;
104
+ onSolidHover: string;
105
+ border: string;
106
+ text: string;
107
+ subtle: string;
108
+ };
109
+ readonly info: {
110
+ solid: string;
111
+ onSolid: string;
112
+ solidHover: string;
113
+ onSolidHover: string;
114
+ border: string;
115
+ text: string;
116
+ subtle: string;
117
+ };
118
+ };
119
+ };
120
+ export type StatusTone = keyof typeof COLOR.status;
121
+ //# sourceMappingURL=color.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/lib/tokens/color.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;QAsBV,iGAAiG;;;;;;;;;;;;;;;;;;;IAmBrG;;;OAGG;;;;;;;IAOH,wDAAwD;;;;;;;;;;;;IAYxD,+BAA+B;;;;;;;;;;;;IAY/B;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOG,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,KAAK,CAAC,MAAM,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Panel-width breakpoints. A widget lives in a host panel whose width has nothing to do with the viewport, so
3
+ * layout reacts to the panel (CSS container queries on SidebarPanel / DetailPanel), never to the screen.
4
+ */
5
+ export declare const CONTAINER: {
6
+ /** container-name set on the panel templates' root. */
7
+ readonly name: "vsui-panel";
8
+ /** Narrower than a usual side panel (phone, split view): inline labels go above their control. */
9
+ readonly narrow: "@container vsui-panel (max-width: 320px)";
10
+ /** Room for two columns of fields or cards. */
11
+ readonly wide: "@container vsui-panel (min-width: 560px)";
12
+ };
13
+ /** Spread on a root element so the CONTAINER queries inside it measure that element. */
14
+ export declare const panelContainer: {
15
+ readonly containerType: "inline-size";
16
+ readonly containerName: "vsui-panel";
17
+ };
18
+ //# sourceMappingURL=container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../src/lib/tokens/container.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,SAAS;IAClB,uDAAuD;;IAEvD,kGAAkG;;IAElG,+CAA+C;;CAEzC,CAAC;AAEX,wFAAwF;AACxF,eAAO,MAAM,cAAc;;;CAA2E,CAAC"}
@@ -0,0 +1,11 @@
1
+ export * from "./color";
2
+ export * from "./mix";
3
+ export * from "./motion";
4
+ export * from "./radius";
5
+ export * from "./shadow";
6
+ export * from "./size";
7
+ export * from "./spacing";
8
+ export * from "./typography";
9
+ export * from "./zIndex";
10
+ export * from "./container";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ /** `token` at `percent` opacity. */
2
+ export declare function alphaMix(token: string, percent: number): string;
3
+ /** `fg` mixed into `bg` at `percent`. */
4
+ export declare function surfaceMix(fg: string, bg: string, percent: number): string;
5
+ //# sourceMappingURL=mix.d.ts.map