@genispace/geniapp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +153 -0
  3. package/dist/CrossAppRecordPicker-BXchXcK5.js +624 -0
  4. package/dist/CrossAppRecordPicker-BXchXcK5.js.map +1 -0
  5. package/dist/Page-wHZrMN17.js +24 -0
  6. package/dist/Page-wHZrMN17.js.map +1 -0
  7. package/dist/ai/adopt/AiSuggestionPanel.d.ts +30 -0
  8. package/dist/ai/adopt/BusinessGuidancePanel.d.ts +31 -0
  9. package/dist/ai/adopt/DetailPageAiLayout.d.ts +7 -0
  10. package/dist/ai/adopt/adoptPresets.d.ts +11 -0
  11. package/dist/ai/adopt/guidanceContent.d.ts +27 -0
  12. package/dist/ai/adopt/parseAiSummary.d.ts +7 -0
  13. package/dist/ai/components/AgentJobProgress.d.ts +124 -0
  14. package/dist/ai/components/AsyncCombobox.d.ts +44 -0
  15. package/dist/ai/components/BulkActionBar.d.ts +44 -0
  16. package/dist/ai/components/EntityRef.d.ts +39 -0
  17. package/dist/ai/components/JobProgress.d.ts +64 -0
  18. package/dist/ai/components/ServerDataTable.d.ts +89 -0
  19. package/dist/ai/components/Timeline.d.ts +35 -0
  20. package/dist/ai/components/useInfiniteRows.d.ts +25 -0
  21. package/dist/ai/errors/userFacingError.d.ts +14 -0
  22. package/dist/ai/errors/userFacingError.js +48 -0
  23. package/dist/ai/errors/userFacingError.js.map +1 -0
  24. package/dist/ai/index.d.ts +34 -0
  25. package/dist/ai/integrations/partner/createPartnerRecordPickerHook.d.ts +15 -0
  26. package/dist/ai/integrations/partner/partnerRecordPicker.d.ts +20 -0
  27. package/dist/ai/layout/ModalWithAiLayout.d.ts +11 -0
  28. package/dist/ai/layout/aiUi.d.ts +16 -0
  29. package/dist/ai/layout/layoutConstants.d.ts +19 -0
  30. package/dist/ai/layout/modalSizeForAi.d.ts +5 -0
  31. package/dist/ai/locales/sharedAiCopy.d.ts +6 -0
  32. package/dist/ai/managed-data/DatasourceReadonlyTable.d.ts +11 -0
  33. package/dist/ai/managed-data/createTableClient.d.ts +7 -0
  34. package/dist/ai/managed-data/emitManagedEvent.d.ts +18 -0
  35. package/dist/ai/managed-data/executeManagedDatasource.d.ts +21 -0
  36. package/dist/ai/managed-data/queryManagedDatasource.d.ts +28 -0
  37. package/dist/ai/providers/AppUiProviders.d.ts +6 -0
  38. package/dist/ai/types/app-ai.types.d.ts +29 -0
  39. package/dist/ai/types/index.d.ts +1 -0
  40. package/dist/ai.d.ts +1 -0
  41. package/dist/ai.js +1817 -0
  42. package/dist/ai.js.map +1 -0
  43. package/dist/case-workspace/domain.d.ts +41 -0
  44. package/dist/case-workspace/domain.js +24 -0
  45. package/dist/case-workspace/domain.js.map +1 -0
  46. package/dist/case-workspace/index.d.ts +91 -0
  47. package/dist/case-workspace.d.ts +1 -0
  48. package/dist/case-workspace.js +392 -0
  49. package/dist/case-workspace.js.map +1 -0
  50. package/dist/cn-B6yFEsav.js +9 -0
  51. package/dist/cn-B6yFEsav.js.map +1 -0
  52. package/dist/components/ui/calendar.css +7 -0
  53. package/dist/cookieSettings-D_v3KS02.js +97 -0
  54. package/dist/cookieSettings-D_v3KS02.js.map +1 -0
  55. package/dist/dashboard/index.d.ts +16 -0
  56. package/dist/dashboard/src/ChartFrame.d.ts +18 -0
  57. package/dist/dashboard/src/ChartTooltip.d.ts +38 -0
  58. package/dist/dashboard/src/FilterBar.d.ts +23 -0
  59. package/dist/dashboard/src/KpiStatCard.d.ts +29 -0
  60. package/dist/dashboard/src/StatGrid.d.ts +15 -0
  61. package/dist/dashboard/src/TimeRangePicker.d.ts +14 -0
  62. package/dist/dashboard/src/chart.d.ts +10 -0
  63. package/dist/dashboard/src/format.d.ts +16 -0
  64. package/dist/dashboard/src/links.d.ts +2 -0
  65. package/dist/dashboard/src/useDashboardRange.d.ts +27 -0
  66. package/dist/dashboard.d.ts +1 -0
  67. package/dist/dashboard.js +361 -0
  68. package/dist/dashboard.js.map +1 -0
  69. package/dist/fonts.css +15 -0
  70. package/dist/hooks/access/AppAccessGate.d.ts +20 -0
  71. package/dist/hooks/access/AppAccessNotice.d.ts +8 -0
  72. package/dist/hooks/access/useAppAccess.d.ts +26 -0
  73. package/dist/hooks/config/businessLocale.d.ts +12 -0
  74. package/dist/hooks/config/currencies.d.ts +9 -0
  75. package/dist/hooks/index.d.ts +17 -0
  76. package/dist/hooks/picker/CrossAppRecordPicker.d.ts +37 -0
  77. package/dist/hooks/picker/managedAppPicker.d.ts +21 -0
  78. package/dist/hooks/picker/partnerPayload.d.ts +6 -0
  79. package/dist/hooks/routing/draftEntityId.d.ts +5 -0
  80. package/dist/hooks/routing/useRefetchOnRouteMatch.d.ts +6 -0
  81. package/dist/hooks/shell/resolveApiRoot.d.ts +13 -0
  82. package/dist/hooks/shell/shell.d.ts +4 -0
  83. package/dist/hooks/shell/useGenispacePlatformClient.d.ts +7 -0
  84. package/dist/hooks.d.ts +1 -0
  85. package/dist/hooks.js +42 -0
  86. package/dist/hooks.js.map +1 -0
  87. package/dist/index.d.ts +3 -0
  88. package/dist/index.js +77 -0
  89. package/dist/index.js.map +1 -0
  90. package/dist/kit.d.ts +50 -0
  91. package/dist/kit.js +2067 -0
  92. package/dist/kit.js.map +1 -0
  93. package/dist/page.d.ts +1 -0
  94. package/dist/page.js +5 -0
  95. package/dist/page.js.map +1 -0
  96. package/dist/shell-DIHnXIUb.js +6 -0
  97. package/dist/shell-DIHnXIUb.js.map +1 -0
  98. package/dist/shell.d.ts +30 -0
  99. package/dist/shell.js +104 -0
  100. package/dist/shell.js.map +1 -0
  101. package/dist/storage/assetPreview.d.ts +12 -0
  102. package/dist/storage/components/AssetThumbnail.d.ts +15 -0
  103. package/dist/storage/components/CopyStorageLinkButton.d.ts +13 -0
  104. package/dist/storage/components/StorageImage.d.ts +9 -0
  105. package/dist/storage/components/StoragePreviewContent.d.ts +22 -0
  106. package/dist/storage/components/StorageVideo.d.ts +9 -0
  107. package/dist/storage/copyTextToClipboard.d.ts +5 -0
  108. package/dist/storage/hooks/useAuthenticatedStorageBlobs.d.ts +3 -0
  109. package/dist/storage/hooks/useImageThumbnailBlobs.d.ts +4 -0
  110. package/dist/storage/hooks/useShareableStorageLink.d.ts +7 -0
  111. package/dist/storage/index.d.ts +12 -0
  112. package/dist/storage/openUrlInNewTab.d.ts +6 -0
  113. package/dist/storage/platformStorage.d.ts +43 -0
  114. package/dist/storage.d.ts +1 -0
  115. package/dist/storage.js +605 -0
  116. package/dist/storage.js.map +1 -0
  117. package/dist/style.css +1 -0
  118. package/dist/styles/base.css +616 -0
  119. package/dist/styles/reduced-motion.css +14 -0
  120. package/dist/styles/tailwind-preset.js +269 -0
  121. package/dist/task-workspace/domain.d.ts +35 -0
  122. package/dist/task-workspace/domain.js +45 -0
  123. package/dist/task-workspace/domain.js.map +1 -0
  124. package/dist/task-workspace/experience.d.ts +50 -0
  125. package/dist/task-workspace/index.d.ts +172 -0
  126. package/dist/task-workspace.d.ts +1 -0
  127. package/dist/task-workspace.js +626 -0
  128. package/dist/task-workspace.js.map +1 -0
  129. package/dist/ui/components/features/app/AppCheckboxInput.d.ts +9 -0
  130. package/dist/ui/components/features/app/AppConfirmDialog.d.ts +12 -0
  131. package/dist/ui/components/features/app/AppDashboardSkeleton.d.ts +9 -0
  132. package/dist/ui/components/features/app/AppDatePicker.d.ts +69 -0
  133. package/dist/ui/components/features/app/AppModal.d.ts +27 -0
  134. package/dist/ui/components/features/app/AppPageStates.d.ts +17 -0
  135. package/dist/ui/components/features/app/AppSelectInput.d.ts +10 -0
  136. package/dist/ui/components/features/app/AppTemporalInput.d.ts +19 -0
  137. package/dist/ui/components/features/app/Page.d.ts +14 -0
  138. package/dist/ui/components/features/app/QueryErrorAlert.d.ts +7 -0
  139. package/dist/ui/components/features/app/Sidebar.d.ts +47 -0
  140. package/dist/ui/components/features/app/index.d.ts +17 -0
  141. package/dist/ui/components/features/user/UserAvatar.d.ts +17 -0
  142. package/dist/ui/components/features/user/UserDisplay.d.ts +10 -0
  143. package/dist/ui/components/features/user/UserSelect.d.ts +14 -0
  144. package/dist/ui/components/features/user/useUserDirectory.d.ts +13 -0
  145. package/dist/ui/components/features/user/userDirectoryTypes.d.ts +18 -0
  146. package/dist/ui/components/patterns/form-section.d.ts +11 -0
  147. package/dist/ui/components/primitives/feedback/index.d.ts +2 -0
  148. package/dist/ui/components/primitives/feedback/toaster.d.ts +1 -0
  149. package/dist/ui/components/primitives/feedback/use-toast.d.ts +46 -0
  150. package/dist/ui/components/primitives/page-skeleton/ChartAreaSkeleton.d.ts +13 -0
  151. package/dist/ui/components/primitives/page-skeleton/ChartEmptyState.d.ts +14 -0
  152. package/dist/ui/components/primitives/page-skeleton/ComponentSkeletonShell.d.ts +16 -0
  153. package/dist/ui/components/primitives/page-skeleton/ConfigEditorSkeleton.d.ts +5 -0
  154. package/dist/ui/components/primitives/page-skeleton/DetailTabsSkeleton.d.ts +6 -0
  155. package/dist/ui/components/primitives/page-skeleton/EmptyStateBadge.d.ts +13 -0
  156. package/dist/ui/components/primitives/page-skeleton/FormCardSkeleton.d.ts +7 -0
  157. package/dist/ui/components/primitives/page-skeleton/FormFieldSkeleton.d.ts +6 -0
  158. package/dist/ui/components/primitives/page-skeleton/FormPageSkeleton.d.ts +6 -0
  159. package/dist/ui/components/primitives/page-skeleton/GridCardsSkeleton.d.ts +6 -0
  160. package/dist/ui/components/primitives/page-skeleton/ListSkeleton.d.ts +26 -0
  161. package/dist/ui/components/primitives/page-skeleton/PageHeaderSkeleton.d.ts +6 -0
  162. package/dist/ui/components/primitives/page-skeleton/SplitPaneSkeleton.d.ts +4 -0
  163. package/dist/ui/components/primitives/page-skeleton/StatsRowSkeleton.d.ts +5 -0
  164. package/dist/ui/components/primitives/page-skeleton/TableEmptyState.d.ts +27 -0
  165. package/dist/ui/components/primitives/page-skeleton/TablePageSkeleton.d.ts +8 -0
  166. package/dist/ui/components/primitives/page-skeleton/TabsBarSkeleton.d.ts +6 -0
  167. package/dist/ui/components/primitives/page-skeleton/index.d.ts +24 -0
  168. package/dist/ui/components/primitives/page-skeleton/skeletonMetrics.d.ts +9 -0
  169. package/dist/ui/components/primitives/page-skeleton/useVisibleCenter.d.ts +34 -0
  170. package/dist/ui/components/ui/accordion.d.ts +7 -0
  171. package/dist/ui/components/ui/ai-draft-banner.d.ts +21 -0
  172. package/dist/ui/components/ui/alert-dialog.d.ts +48 -0
  173. package/dist/ui/components/ui/alert.d.ts +8 -0
  174. package/dist/ui/components/ui/avatar.d.ts +6 -0
  175. package/dist/ui/components/ui/badge.d.ts +9 -0
  176. package/dist/ui/components/ui/breadcrumb.d.ts +19 -0
  177. package/dist/ui/components/ui/button.d.ts +11 -0
  178. package/dist/ui/components/ui/calendar.d.ts +8 -0
  179. package/dist/ui/components/ui/card.d.ts +8 -0
  180. package/dist/ui/components/ui/chart.d.ts +16 -0
  181. package/dist/ui/components/ui/checkbox.d.ts +4 -0
  182. package/dist/ui/components/ui/collapsible.d.ts +5 -0
  183. package/dist/ui/components/ui/column-config.d.ts +42 -0
  184. package/dist/ui/components/ui/date-picker.d.ts +9 -0
  185. package/dist/ui/components/ui/date-range-filter.d.ts +32 -0
  186. package/dist/ui/components/ui/date-range-picker.d.ts +11 -0
  187. package/dist/ui/components/ui/dialog-input.d.ts +17 -0
  188. package/dist/ui/components/ui/dialog-safe-select.d.ts +13 -0
  189. package/dist/ui/components/ui/dialog.d.ts +25 -0
  190. package/dist/ui/components/ui/dropdown-menu.d.ts +27 -0
  191. package/dist/ui/components/ui/feature-guide.d.ts +43 -0
  192. package/dist/ui/components/ui/form.d.ts +25 -0
  193. package/dist/ui/components/ui/help-tip.d.ts +29 -0
  194. package/dist/ui/components/ui/hint-notice.d.ts +22 -0
  195. package/dist/ui/components/ui/index.d.ts +6 -0
  196. package/dist/ui/components/ui/input.d.ts +3 -0
  197. package/dist/ui/components/ui/label.d.ts +5 -0
  198. package/dist/ui/components/ui/modal-container.d.ts +56 -0
  199. package/dist/ui/components/ui/modal-templates.d.ts +46 -0
  200. package/dist/ui/components/ui/multi-select.d.ts +20 -0
  201. package/dist/ui/components/ui/pagination.d.ts +28 -0
  202. package/dist/ui/components/ui/popover.d.ts +7 -0
  203. package/dist/ui/components/ui/progress.d.ts +7 -0
  204. package/dist/ui/components/ui/radio-button-group.d.ts +18 -0
  205. package/dist/ui/components/ui/radio-group.d.ts +5 -0
  206. package/dist/ui/components/ui/scroll-area.d.ts +5 -0
  207. package/dist/ui/components/ui/select.d.ts +16 -0
  208. package/dist/ui/components/ui/separator.d.ts +7 -0
  209. package/dist/ui/components/ui/sheet.d.ts +25 -0
  210. package/dist/ui/components/ui/sidebar-rail.d.ts +9 -0
  211. package/dist/ui/components/ui/skeleton.d.ts +2 -0
  212. package/dist/ui/components/ui/slider.d.ts +13 -0
  213. package/dist/ui/components/ui/switch.d.ts +4 -0
  214. package/dist/ui/components/ui/table.d.ts +10 -0
  215. package/dist/ui/components/ui/tabs.d.ts +10 -0
  216. package/dist/ui/components/ui/textarea.d.ts +3 -0
  217. package/dist/ui/components/ui/toast.d.ts +21 -0
  218. package/dist/ui/components/ui/toggle-group.d.ts +12 -0
  219. package/dist/ui/components/ui/toggle.d.ts +12 -0
  220. package/dist/ui/components/ui/tooltip.d.ts +7 -0
  221. package/dist/ui/components/ui/typography.d.ts +15 -0
  222. package/dist/ui/components/ui/underline-tabs.d.ts +13 -0
  223. package/dist/ui/components/ui/view-mode-toggle.d.ts +9 -0
  224. package/dist/ui/hooks/useIsMobile.d.ts +16 -0
  225. package/dist/ui/styles/design-tokens.d.ts +189 -0
  226. package/dist/ui/styles/z-index-layers.d.ts +46 -0
  227. package/dist/ui.d.ts +2 -0
  228. package/dist/ui.js +35 -0
  229. package/dist/ui.js.map +1 -0
  230. package/dist/useUserDirectory-CqkyCQoR.js +2377 -0
  231. package/dist/useUserDirectory-CqkyCQoR.js.map +1 -0
  232. package/dist/utils/cookieSettings.d.ts +12 -0
  233. package/dist/utils/data/countryCodes.d.ts +26 -0
  234. package/dist/utils/index.d.ts +18 -0
  235. package/dist/utils/utils/appPath.d.ts +5 -0
  236. package/dist/utils/utils/chunkLoadRecovery.d.ts +7 -0
  237. package/dist/utils/utils/cn.d.ts +3 -0
  238. package/dist/utils/utils/crossApp.d.ts +71 -0
  239. package/dist/utils/utils/debounce.d.ts +1 -0
  240. package/dist/utils/utils/formatUserLabel.d.ts +8 -0
  241. package/dist/utils/utils/formatting.d.ts +18 -0
  242. package/dist/utils/utils/logoutNotification.d.ts +28 -0
  243. package/dist/utils/utils/operatorLocale.d.ts +32 -0
  244. package/dist/utils/utils/routeLocalePrefetch.d.ts +5 -0
  245. package/dist/utils/utils/shellIframeUrl.d.ts +20 -0
  246. package/dist/utils/utils/spaceSettings.d.ts +20 -0
  247. package/dist/utils/utils/sso.d.ts +42 -0
  248. package/dist/utils/utils/throttle.d.ts +1 -0
  249. package/dist/utils/utils/timezones.d.ts +14 -0
  250. package/dist/utils/utils/toDateInputValue.d.ts +5 -0
  251. package/dist/utils/utils/watermark.d.ts +1 -0
  252. package/dist/utils.d.ts +1 -0
  253. package/dist/utils.js +1334 -0
  254. package/dist/utils.js.map +1 -0
  255. package/dist/vite.d.ts +22 -0
  256. package/dist/vite.js +74 -0
  257. package/dist/vite.js.map +1 -0
  258. package/package.json +191 -0
@@ -0,0 +1,15 @@
1
+ interface TypographyProps extends React.HTMLAttributes<HTMLElement> {
2
+ children: React.ReactNode;
3
+ }
4
+ export declare function H1({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
5
+ export declare function H2({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
6
+ export declare function H3({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
7
+ export declare function H4({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
8
+ export declare function P({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
9
+ export declare function Blockquote({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
10
+ export declare function InlineCode({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
11
+ export declare function Lead({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
12
+ export declare function Large({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
13
+ export declare function Small({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
14
+ export declare function Muted({ children, className, ...props }: TypographyProps): import("react").JSX.Element;
15
+ export {};
@@ -0,0 +1,13 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
4
+ declare const UnderlineTabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
5
+ declare const UnderlineTabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const underlineTabsTriggerVariants: (props?: ({
7
+ variant?: "default" | "orange" | "brand" | null | undefined;
8
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
+ declare const UnderlineTabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
10
+ variant?: "default" | "orange" | "brand" | null | undefined;
11
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
12
+ declare const UnderlineTabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ export { UnderlineTabs, UnderlineTabsList, UnderlineTabsTrigger, UnderlineTabsContent, underlineTabsTriggerVariants, };
@@ -0,0 +1,9 @@
1
+ export type ViewMode = "grid" | "list";
2
+ export interface ViewModeToggleProps {
3
+ mode: ViewMode;
4
+ onModeChange: (mode: ViewMode) => void;
5
+ className?: string;
6
+ gridAriaLabel?: string;
7
+ listAriaLabel?: string;
8
+ }
9
+ export declare function ViewModeToggle({ mode, onModeChange, className, gridAriaLabel, listAriaLabel, }: ViewModeToggleProps): import("react").JSX.Element;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Tailwind `sm` breakpoint in px. Below this width we treat the viewport as an
3
+ * H5 / mobile device and switch to the mobile-first layouts (stat grids start at
4
+ * 2 columns, data tables fall back to card lists, denser padding, etc.).
5
+ */
6
+ export declare const MOBILE_BREAKPOINT = 640;
7
+ /**
8
+ * Reports whether the viewport is narrower than the given breakpoint (default:
9
+ * the Tailwind `sm` boundary, 640px). SSR-safe — returns `false` on the server
10
+ * and during the first client render, then syncs on mount so hydration matches.
11
+ *
12
+ * Use this to switch between desktop and mobile renderings that pure Tailwind
13
+ * responsive classes cannot express — e.g. rendering a card list instead of a
14
+ * `<table>`, or mounting a bottom sheet instead of an inline filter row.
15
+ */
16
+ export declare function useIsMobile(breakpoint?: number): boolean;
@@ -0,0 +1,189 @@
1
+ /**
2
+ * GeniSpace Design Tokens
3
+ *
4
+ * Single source of truth for all design values across the platform.
5
+ * Aligned with DESIGN_GUIDELINE.html v2.0 and GeniSpace_Design_Guideline.md v1.1.0.
6
+ */
7
+ export declare const CSS_VARS: {
8
+ readonly light: {
9
+ readonly background: "0 0% 100%";
10
+ readonly foreground: "0 0% 9%";
11
+ readonly card: "0 0% 100%";
12
+ readonly cardForeground: "0 0% 9%";
13
+ readonly popover: "0 0% 100%";
14
+ readonly popoverForeground: "0 0% 9%";
15
+ readonly primary: "217 91% 60%";
16
+ readonly primaryForeground: "0 0% 100%";
17
+ readonly secondary: "0 0% 96.1%";
18
+ readonly secondaryForeground: "0 0% 14.9%";
19
+ readonly muted: "210 40% 96.1%";
20
+ readonly mutedForeground: "0 0% 25.1%";
21
+ readonly accent: "210 40% 96.1%";
22
+ readonly accentForeground: "222.2 47.4% 11.2%";
23
+ readonly destructive: "0 84.2% 60.2%";
24
+ readonly destructiveForeground: "0 0% 100%";
25
+ readonly border: "214.3 31.8% 91.4%";
26
+ readonly input: "214.3 31.8% 91.4%";
27
+ readonly ring: "217 91% 60%";
28
+ readonly radius: "0.5rem";
29
+ readonly sidebarBackground: "0 0% 98%";
30
+ readonly sidebarForeground: "0 0% 9%";
31
+ readonly sidebarPrimary: "0 0% 9%";
32
+ readonly sidebarPrimaryForeground: "0 0% 98%";
33
+ readonly sidebarAccent: "0 0% 96.1%";
34
+ readonly sidebarAccentForeground: "0 0% 9%";
35
+ readonly sidebarBorder: "0 0% 89.8%";
36
+ readonly sidebarRing: "0 0% 9%";
37
+ };
38
+ readonly dark: {
39
+ readonly background: "0 0% 3.9%";
40
+ readonly foreground: "0 0% 98%";
41
+ readonly card: "0 0% 3.9%";
42
+ readonly cardForeground: "0 0% 98%";
43
+ readonly popover: "0 0% 3.9%";
44
+ readonly popoverForeground: "0 0% 98%";
45
+ readonly primary: "0 0% 98%";
46
+ readonly primaryForeground: "0 0% 9%";
47
+ readonly secondary: "0 0% 14.9%";
48
+ readonly secondaryForeground: "0 0% 98%";
49
+ readonly muted: "0 0% 14.9%";
50
+ readonly mutedForeground: "0 0% 63.9%";
51
+ readonly accent: "0 0% 14.9%";
52
+ readonly accentForeground: "0 0% 98%";
53
+ readonly destructive: "0 84.2% 60.2%";
54
+ readonly destructiveForeground: "0 0% 100%";
55
+ readonly border: "0 0% 14.9%";
56
+ readonly input: "0 0% 14.9%";
57
+ readonly ring: "0 0% 83.1%";
58
+ readonly sidebarBackground: "0 0% 9%";
59
+ readonly sidebarForeground: "0 0% 98%";
60
+ readonly sidebarPrimary: "0 0% 98%";
61
+ readonly sidebarPrimaryForeground: "0 0% 9%";
62
+ readonly sidebarAccent: "0 0% 14.9%";
63
+ readonly sidebarAccentForeground: "0 0% 98%";
64
+ readonly sidebarBorder: "0 0% 14.9%";
65
+ readonly sidebarRing: "0 0% 83.1%";
66
+ };
67
+ };
68
+ export declare const BRAND_COLORS: {
69
+ readonly ink: {
70
+ readonly black: "#171717";
71
+ readonly dark: "#262626";
72
+ readonly medium: "#404040";
73
+ readonly light: "#737373";
74
+ };
75
+ readonly brand: {
76
+ readonly primary: "#262626";
77
+ readonly 'primary-light': "#525252";
78
+ readonly 'primary-dark': "#171717";
79
+ };
80
+ readonly paper: {
81
+ readonly light: "#FFFCF7";
82
+ readonly medium: "#FDF7EF";
83
+ readonly dark: "#FBF1E4";
84
+ };
85
+ readonly surface: {
86
+ readonly DEFAULT: "#ffffff";
87
+ readonly dark: "#0a0a0a";
88
+ readonly darker: "#171717";
89
+ readonly light: "#f3f4f6";
90
+ };
91
+ readonly content: {
92
+ readonly DEFAULT: "#111827";
93
+ readonly dark: "#fafafa";
94
+ readonly muted: "#4b5563";
95
+ readonly 'dark-muted': "#d1d5db";
96
+ };
97
+ readonly accent: {
98
+ readonly DEFAULT: "#3b82f6";
99
+ readonly light: "#60a5fa";
100
+ readonly dark: "#2563eb";
101
+ readonly foreground: "#ffffff";
102
+ };
103
+ readonly functional: {
104
+ readonly success: "#27AE60";
105
+ readonly warning: "#F39C12";
106
+ readonly error: "#E74C3C";
107
+ readonly info: "#3498DB";
108
+ };
109
+ };
110
+ export declare const TYPOGRAPHY: {
111
+ readonly fontFamily: {
112
+ readonly sans: readonly ["Inter", "Noto Sans SC", "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Arial", "sans-serif"];
113
+ readonly mono: readonly ["Geist Mono", "Noto Sans SC", "Consolas", "Monaco", "Courier New", "monospace"];
114
+ readonly display: readonly ["Space Grotesk", "Noto Sans SC", "system-ui", "-apple-system", "BlinkMacSystemFont", "sans-serif"];
115
+ };
116
+ readonly fontSize: {
117
+ readonly xs: "0.75rem";
118
+ readonly sm: "0.875rem";
119
+ readonly base: "1rem";
120
+ readonly lg: "1.125rem";
121
+ readonly xl: "1.25rem";
122
+ readonly '2xl': "1.5rem";
123
+ readonly '3xl': "1.75rem";
124
+ readonly '4xl': "2rem";
125
+ };
126
+ readonly lineHeight: {
127
+ readonly tight: "1.1";
128
+ readonly normal: "1.3";
129
+ readonly relaxed: "1.5";
130
+ };
131
+ };
132
+ export declare const SPACING: {
133
+ readonly px: "1px";
134
+ readonly 0: "0";
135
+ readonly 0.5: "2px";
136
+ readonly 1: "4px";
137
+ readonly 1.5: "6px";
138
+ readonly 2: "8px";
139
+ readonly 2.5: "10px";
140
+ readonly 3: "12px";
141
+ readonly 3.5: "14px";
142
+ readonly 4: "16px";
143
+ readonly 5: "20px";
144
+ readonly 6: "24px";
145
+ readonly 7: "28px";
146
+ readonly 8: "32px";
147
+ readonly 9: "36px";
148
+ readonly 10: "40px";
149
+ readonly 12: "48px";
150
+ readonly 16: "64px";
151
+ readonly 20: "80px";
152
+ readonly 24: "96px";
153
+ };
154
+ export declare const SHADOWS: {
155
+ readonly sm: "0 2px 4px rgba(10, 10, 10, 0.08)";
156
+ readonly md: "0 4px 12px rgba(10, 10, 10, 0.12)";
157
+ readonly lg: "0 8px 24px rgba(10, 10, 10, 0.16)";
158
+ };
159
+ export declare const TRANSITIONS: {
160
+ readonly fast: "150ms";
161
+ readonly standard: "300ms";
162
+ readonly slow: "500ms";
163
+ };
164
+ export declare const MODAL_DIMENSIONS: {
165
+ readonly sm: {
166
+ readonly width: "480px";
167
+ readonly maxHeight: "90vh";
168
+ };
169
+ readonly md: {
170
+ readonly width: "640px";
171
+ readonly maxHeight: "90vh";
172
+ };
173
+ readonly lg: {
174
+ readonly width: "896px";
175
+ readonly maxHeight: "90vh";
176
+ };
177
+ readonly xl: {
178
+ readonly width: "1000px";
179
+ readonly maxHeight: "90vh";
180
+ };
181
+ readonly wide: {
182
+ readonly width: "min(1152px, 95vw)";
183
+ readonly maxHeight: "90vh";
184
+ };
185
+ readonly full: {
186
+ readonly width: "95vw";
187
+ readonly maxHeight: "95vh";
188
+ };
189
+ };
@@ -0,0 +1,46 @@
1
+ export declare const Z_INDEX_LAYERS: {
2
+ readonly DEFAULT: 0;
3
+ readonly WATERMARK: 5;
4
+ readonly STICKY_HEADER: 10;
5
+ readonly SIDEBAR: 20;
6
+ readonly FIXED_HEADER: 30;
7
+ readonly FLOATING_PANEL: 100;
8
+ readonly TOOLTIP: 150;
9
+ readonly DROPDOWN_MENU: 200;
10
+ readonly POPOVER: 250;
11
+ readonly BACKDROP: 300;
12
+ readonly DRAWER: 400;
13
+ readonly MODAL_BACKDROP: 500;
14
+ readonly CONTEXT_MENU: 1000;
15
+ readonly FUNCTION_DROPDOWN: 10001;
16
+ readonly MODAL: 10000;
17
+ readonly NESTED_MODAL: 10002;
18
+ /** Date picker calendar popover inside modals */
19
+ readonly DATE_PICKER_POPOVER: 10003;
20
+ /** Select/Popover/DropdownMenu content portaled to body — must paint above dialog/sheet layers */
21
+ readonly OVERLAY_POPOVER: 10003;
22
+ readonly ALERT_MODAL: 50000;
23
+ readonly TOAST: 100000;
24
+ };
25
+ export declare const Z_INDEX_CLASSES: {
26
+ readonly DEFAULT: "z-0";
27
+ readonly WATERMARK: "z-[5]";
28
+ readonly STICKY_HEADER: "z-10";
29
+ readonly SIDEBAR: "z-20";
30
+ readonly FIXED_HEADER: "z-30";
31
+ readonly FLOATING_PANEL: "z-[100]";
32
+ readonly TOOLTIP: "z-[150]";
33
+ readonly DROPDOWN_MENU: "z-[200]";
34
+ readonly POPOVER: "z-[250]";
35
+ readonly BACKDROP: "z-[300]";
36
+ readonly DRAWER: "z-[400]";
37
+ readonly MODAL_BACKDROP: "z-[500]";
38
+ readonly CONTEXT_MENU: "z-[1000]";
39
+ readonly FUNCTION_DROPDOWN: "z-[10001]";
40
+ readonly MODAL: "z-[10000]";
41
+ readonly NESTED_MODAL: "z-[10002]";
42
+ readonly DATE_PICKER_POPOVER: "z-[10003]";
43
+ readonly OVERLAY_POPOVER: "z-[10003]";
44
+ readonly ALERT_MODAL: "z-[50000]";
45
+ readonly TOAST: "z-[100000]";
46
+ };
package/dist/ui.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ /** Stable, application-facing layout and form contract. */
2
+ export * from './ui/components/features/app/index';
package/dist/ui.js ADDED
@@ -0,0 +1,35 @@
1
+ import { A as s, a as p, b as t, c as o, d as r, e as l, f as i, g as n, h as A, i as S, j as k, k as m, l as D, C as g, D as u, F as P, G as c, P as d, Q as T, S as b, m as f, T as C, U as h, n as y, o as I, p as U, q as x, t as B, u as E } from "./useUserDirectory-CqkyCQoR.js";
2
+ import { A as G } from "./Page-wHZrMN17.js";
3
+ export {
4
+ s as AppCheckboxInput,
5
+ p as AppConfirmDialog,
6
+ t as AppDashboardSkeleton,
7
+ o as AppDatePicker,
8
+ r as AppDateRangePicker,
9
+ l as AppDateTimePicker,
10
+ i as AppHelpSheet,
11
+ n as AppModal,
12
+ G as AppPage,
13
+ A as AppPageStates,
14
+ S as AppSelectInput,
15
+ k as AppSidebar,
16
+ m as AppTemporalInput,
17
+ D as AppTimePicker,
18
+ g as ConfigEditorSkeleton,
19
+ u as DetailTabsSkeleton,
20
+ P as FormPageSkeleton,
21
+ c as GridCardsSkeleton,
22
+ d as PageLoadingSkeleton,
23
+ T as QueryErrorAlert,
24
+ b as Skeleton,
25
+ f as StatsRowSkeleton,
26
+ C as TablePageSkeleton,
27
+ h as UserDisplay,
28
+ y as UserSelect,
29
+ I as formatBusinessDateValue,
30
+ U as isTemporalInputType,
31
+ x as parseBusinessDate,
32
+ B as temporalLabels,
33
+ E as useUserDirectory
34
+ };
35
+ //# sourceMappingURL=ui.js.map
package/dist/ui.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}