@scalio-cloud/ui 0.103.0 → 0.105.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 (69) hide show
  1. package/README.md +15 -1
  2. package/nginx/security-headers.conf +22 -4
  3. package/package.json +27 -8
  4. package/react/access_limit.d.ts +6 -0
  5. package/react/actions.d.ts +16 -0
  6. package/react/agent_scripts.d.ts +8 -0
  7. package/react/agents.d.ts +9 -0
  8. package/react/ai.d.ts +17 -0
  9. package/react/audit.d.ts +11 -0
  10. package/react/auth.d.ts +15 -0
  11. package/react/backup.d.ts +13 -0
  12. package/react/beacon.d.ts +6 -0
  13. package/react/blocks.d.ts +11 -0
  14. package/react/clientErrors.d.ts +6 -0
  15. package/react/customers.d.ts +8 -0
  16. package/react/dialog.d.ts +9 -0
  17. package/react/fields.d.ts +23 -0
  18. package/react/icons.d.ts +46 -0
  19. package/react/index.d.ts +62 -0
  20. package/react/keyboard.d.ts +5 -0
  21. package/react/labels.d.ts +6 -0
  22. package/react/legal.d.ts +6 -0
  23. package/react/license.d.ts +7 -0
  24. package/react/limited_mode.d.ts +6 -0
  25. package/react/login.d.ts +7 -0
  26. package/react/mail.d.ts +10 -0
  27. package/react/maintenance.d.ts +6 -0
  28. package/react/markdown.d.ts +14 -0
  29. package/react/nav.d.ts +24 -0
  30. package/react/pages.d.ts +10 -0
  31. package/react/palette.d.ts +12 -0
  32. package/react/profile.d.ts +20 -0
  33. package/react/roles.d.ts +8 -0
  34. package/react/saas_updates.d.ts +10 -0
  35. package/react/security.d.ts +7 -0
  36. package/react/selftest.d.ts +9 -0
  37. package/react/session.d.ts +5 -0
  38. package/react/settings.d.ts +12 -0
  39. package/react/setup.d.ts +5 -0
  40. package/react/suite_context.d.ts +15 -0
  41. package/react/support.d.ts +9 -0
  42. package/react/tenancy.d.ts +28 -0
  43. package/react/tenant.d.ts +9 -0
  44. package/react/theme.d.ts +6 -0
  45. package/react/types.d.ts +9 -0
  46. package/react/unify.d.ts +15 -0
  47. package/react/users.d.ts +8 -0
  48. package/react/wizard.d.ts +13 -0
  49. package/shadcn/alert-dialog.d.mts +17 -0
  50. package/shadcn/badge.d.mts +6 -0
  51. package/shadcn/button.d.mts +10 -0
  52. package/shadcn/checkbox.d.mts +7 -0
  53. package/shadcn/command.d.mts +15 -0
  54. package/shadcn/confirm.d.mts +6 -0
  55. package/shadcn/dialog.d.mts +16 -0
  56. package/shadcn/dropdown-menu.d.mts +21 -0
  57. package/shadcn/input.d.mts +7 -0
  58. package/shadcn/label.d.mts +7 -0
  59. package/shadcn/popover.d.mts +10 -0
  60. package/shadcn/progress.d.mts +7 -0
  61. package/shadcn/select.d.mts +16 -0
  62. package/shadcn/sonner.d.mts +5 -0
  63. package/shadcn/switch.d.mts +7 -0
  64. package/shadcn/table.d.mts +14 -0
  65. package/shadcn/tabs.d.mts +10 -0
  66. package/shadcn/textarea.d.mts +7 -0
  67. package/shadcn/utils.d.mts +3 -0
  68. package/tailwind-preset.d.ts +9 -0
  69. package/tokens.d.ts +21 -0
package/README.md CHANGED
@@ -39,10 +39,24 @@ module.exports = {
39
39
  Then remove the app's own `:root { --... }` / `.dark { --... }` blocks and the Google Fonts `@import` / `<link>`.
40
40
  Classes like `bg-primary`, `rounded-sm`, `font-display` keep working unchanged.
41
41
 
42
+ ### Package layout and TypeScript types (from 0.105.0)
43
+
44
+ The package is CommonJS (`"type": "commonjs"`): `tokens.js`, `tailwind-preset.js` and `react/` work with `require`
45
+ and `import` (Vite, Node). `shadcn/*.mjs` is ESM only. Every JavaScript entry in `exports` has a `types` condition
46
+ with a hand-written declaration file next to it (`tokens.d.ts`, `tailwind-preset.d.ts`, `react/<module>.d.ts`,
47
+ `shadcn/<name>.d.mts`); there is no build step. Props of the React blocks are listed by name but stay `any`, and
48
+ shadcn components keep the Radix props open. A new export needs its type in the same PR: `test/types.test.js`
49
+ fails on an export without a type, a type without an export, and an `exports` path that is missing or not in
50
+ `files`.
51
+
42
52
  ## Security headers for nginx (from 0.36.0)
43
53
 
44
54
  `nginx/security-headers.conf` holds the security headers of every Scalio app (security review M6): `nosniff`,
45
- framing only by the own origin, no plugins, `Referrer-Policy`, no camera/microphone/location. No script policy.
55
+ framing only by the own origin, no plugins, `Referrer-Policy`, no camera/microphone/location. From 0.104.0 also HSTS
56
+ (one year, `includeSubDomains`) and a Content-Security-Policy (BL-1080): scripts only from the own origin (no inline
57
+ script, no `eval`), inline styles allowed, images also `data:`, `blob:` and HTTPS, fonts `data:`, connections to
58
+ HTTPS/WSS. The file explains every exception. An app that needs more (another script host, `eval`) must say so
59
+ before it upgrades; test the upgrade on dev with the browser console open (CSP errors show there).
46
60
  Copy it in the nginx stage of the frontend Dockerfile and include it in the server block and in every `location`
47
61
  that has its own `add_header` (nginx drops the server-level lines there):
48
62
 
@@ -1,9 +1,27 @@
1
- # Security headers for every Scalio app (security review M6). Shipped in @scalio-cloud/ui, copied by each app's
2
- # Dockerfile to /etc/nginx/snippets/. Include it in the server block AND in every location that has its own
1
+ # Security headers for every Scalio app (security review M6, BL-1080). Shipped in @scalio-cloud/ui, copied by each
2
+ # app's Dockerfile to /etc/nginx/snippets/. Include it in the server block AND in every location that has its own
3
3
  # add_header: nginx drops the server-level add_header lines in such a location.
4
- # No script policy here (an app could break); framing only by the own origin (Nexus frames its own pages).
4
+ #
5
+ # HSTS: one year, subdomains included, no preload (preload cannot be undone quickly). Browsers ignore it over plain
6
+ # HTTP, so an instance without TLS keeps working.
7
+ #
8
+ # Content-Security-Policy, what each part allows and why:
9
+ # default-src 'self' everything else only from the own origin
10
+ # script-src 'self' only the app's own bundles: no inline script, no eval (index.html has none)
11
+ # style-src 'self' 'unsafe-inline' sonner, Radix, Recharts, Quill and the access page set inline styles
12
+ # img-src 'self' data: blob: https: icons as data: URIs (Vite inlines small files), previews from blob: URLs,
13
+ # images in user content (Folio pages, Nexus) may come from any HTTPS address
14
+ # font-src 'self' data: self-hosted fonts (fonts.css), small fonts inlined by the build
15
+ # connect-src 'self' https: wss: API and the Folio live room (same origin); https:/wss: until every app is
16
+ # checked for browser calls to other hosts (Nexus, Kontor), then tighten to 'self'
17
+ # frame-src 'self' blob: Nexus frames its own pages; previews of a downloaded file
18
+ # worker-src 'self' blob: workers of editor libraries
19
+ # frame-ancestors 'self' framing only by the own origin (same as X-Frame-Options)
20
+ # object-src 'none'; base-uri 'self' no plugins, no <base> from injected markup
21
+ # No form-action: the Microsoft sign-in leaves by redirect, and Chrome checks form-action on redirects as well.
22
+ add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
5
23
  add_header X-Content-Type-Options "nosniff" always;
6
24
  add_header X-Frame-Options "SAMEORIGIN" always;
7
- add_header Content-Security-Policy "frame-ancestors 'self'; object-src 'none'; base-uri 'self'" always;
25
+ add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data:; connect-src 'self' https: wss:; frame-src 'self' blob:; worker-src 'self' blob:; frame-ancestors 'self'; object-src 'none'; base-uri 'self'" always;
8
26
  add_header Referrer-Policy "strict-origin-when-cross-origin" always;
9
27
  add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=()" always;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalio-cloud/ui",
3
- "version": "0.103.0",
3
+ "version": "0.105.0",
4
4
  "description": "Scalio Control Room design tokens, Tailwind preset, self-hosted fonts, the shared app header, sign-in layout, sidebar and page blocks",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "private": false,
@@ -8,27 +8,47 @@
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/Scalio-Cloud/scalio-ui.git"
10
10
  },
11
+ "type": "commonjs",
11
12
  "main": "tokens.js",
13
+ "types": "tokens.d.ts",
12
14
  "exports": {
13
- ".": "./tokens.js",
14
- "./tokens": "./tokens.js",
15
- "./tailwind-preset": "./tailwind-preset.js",
15
+ ".": {
16
+ "types": "./tokens.d.ts",
17
+ "default": "./tokens.js"
18
+ },
19
+ "./tokens": {
20
+ "types": "./tokens.d.ts",
21
+ "default": "./tokens.js"
22
+ },
23
+ "./tailwind-preset": {
24
+ "types": "./tailwind-preset.d.ts",
25
+ "default": "./tailwind-preset.js"
26
+ },
16
27
  "./index.css": "./index.css",
17
28
  "./tokens.css": "./tokens.css",
18
29
  "./fonts.css": "./fonts.css",
19
30
  "./base.css": "./base.css",
20
31
  "./fonts/*": "./fonts/*",
21
32
  "./package.json": "./package.json",
22
- "./react": "./react/index.js",
33
+ "./react": {
34
+ "types": "./react/index.d.ts",
35
+ "default": "./react/index.js"
36
+ },
23
37
  "./shell.css": "./shell.css",
24
38
  "./auth.css": "./auth.css",
25
39
  "./nav.css": "./nav.css",
26
40
  "./nginx/*": "./nginx/*",
27
- "./shadcn/*": "./shadcn/*.mjs"
41
+ "./shadcn/*": {
42
+ "types": "./shadcn/*.d.mts",
43
+ "import": "./shadcn/*.mjs",
44
+ "default": "./shadcn/*.mjs"
45
+ }
28
46
  },
29
47
  "files": [
30
48
  "tokens.js",
49
+ "tokens.d.ts",
31
50
  "tailwind-preset.js",
51
+ "tailwind-preset.d.ts",
32
52
  "index.css",
33
53
  "tokens.css",
34
54
  "fonts.css",
@@ -41,8 +61,7 @@
41
61
  "nginx/",
42
62
  "licenses/",
43
63
  "fonts/",
44
- "README.md",
45
- "CHANGELOG.md"
64
+ "README.md"
46
65
  ],
47
66
  "publishConfig": {
48
67
  "registry": "https://registry.npmjs.org",
@@ -0,0 +1,6 @@
1
+ // Types for react/access_limit.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const AccessLimitStatus: ScalioComponent<{ lang?: any; labels?: any; status?: any; fetcher?: any; url?: any; [key: string]: any; }>;
6
+ export declare const accessLimitState: (data?: any) => any;
@@ -0,0 +1,16 @@
1
+ // Types for react/actions.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const PageActions: ScalioComponent<{ children?: React.ReactNode; }>;
6
+ export declare const ActionSlot: ScalioComponent<{}>;
7
+ export declare const useActionSlot: () => any;
8
+ export declare const useDesktop: () => any;
9
+ export declare const setActionSlot: (el?: any) => any;
10
+ export declare const MainAction: ScalioComponent<Props>;
11
+ export declare const useMainAction: () => any;
12
+ export declare const useSidebarHost: (on?: any) => any;
13
+ export declare const useNavCollapsed: () => any;
14
+ export declare const setNavCollapsed: (on?: any) => any;
15
+ export declare const toggleNavCollapsed: () => any;
16
+ export declare const useNavShortcut: (on?: any) => any;
@@ -0,0 +1,8 @@
1
+ // Types for react/agent_scripts.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const AgentScriptsPanel: ScalioComponent<{ lang?: any; labels?: any; formatError?: any; canEdit?: any; client?: any; notify?: any; [key: string]: any; }>;
6
+ export declare const agentScriptsApi: (api?: any, base?: any) => any;
7
+ export declare const agentScriptLineDiff: (a?: any, b?: any) => any;
8
+ export declare const AGENT_SCRIPTS_LABELS: { readonly de: { readonly title: string; readonly hint: string; readonly script: string; readonly actions: string; readonly state: string; readonly version: string; readonly edit: string; readonly close: string; readonly none: string; readonly states: Readonly<Record<string, string>>; readonly fourEyes: string; readonly kindHook: string; readonly kindFull: string; readonly content: string; readonly reason: string; readonly save: string; readonly saved: string; readonly savedPending: string; readonly standardText: string; readonly pendingBy: string; readonly approve: string; readonly approved: string; readonly outdatedTitle: string; readonly outdatedText: string; readonly scalioChanged: string; readonly yourVersion: string; readonly keep: string; readonly keepConfirm: string; readonly reset: string; readonly resetConfirm: string; readonly history: string; readonly noHistory: string; readonly by: string; readonly hookTemplate: string; }; readonly en: { readonly title: string; readonly hint: string; readonly script: string; readonly actions: string; readonly state: string; readonly version: string; readonly edit: string; readonly close: string; readonly none: string; readonly states: Readonly<Record<string, string>>; readonly fourEyes: string; readonly kindHook: string; readonly kindFull: string; readonly content: string; readonly reason: string; readonly save: string; readonly saved: string; readonly savedPending: string; readonly standardText: string; readonly pendingBy: string; readonly approve: string; readonly approved: string; readonly outdatedTitle: string; readonly outdatedText: string; readonly scalioChanged: string; readonly yourVersion: string; readonly keep: string; readonly keepConfirm: string; readonly reset: string; readonly resetConfirm: string; readonly history: string; readonly noHistory: string; readonly by: string; readonly hookTemplate: string; }; };
@@ -0,0 +1,9 @@
1
+ // Types for react/agents.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const AgentsPanel: ScalioComponent<{ lang?: any; labels?: any; formatError?: any; client?: any; refreshMs?: any; notify?: any; copy?: any; appUrl?: any; downloadUrl?: any; dataFolderHelpUrl?: any; suggest?: any; [key: string]: any; }>;
6
+ export declare const PanelDialog: ScalioComponent<{ maxWidth?: any; testId?: any; closeTestId?: any; children?: React.ReactNode; [key: string]: any; }>;
7
+ export declare const agentsApi: (api?: any, base?: any) => any;
8
+ export declare const agentInstallCommand: (url?: any, code?: any) => any;
9
+ export declare const AGENT_LABELS: { readonly de: Readonly<Record<string, any>>; readonly en: Readonly<Record<string, any>>; };
package/react/ai.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ // Types for react/ai.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const AiSettingsPanel: ScalioComponent<{ lang?: any; labels?: any; formatError?: any; status?: any; value?: any; client?: any; demo?: any; notify?: any; onSave?: any; features?: any; canReset?: any; [key: string]: any; }>;
6
+ export declare const AiHelp: ScalioComponent<{ lang?: any; labels?: any; [key: string]: any; }>;
7
+ export declare const AiCredits: ScalioComponent<{ credits?: any; L?: any; }>;
8
+ export declare const AiButton: ScalioComponent<{ available?: any; lang?: any; labels?: any; busy?: any; label?: any; kind?: any; disabled?: any; testId?: any; onClick?: any; [key: string]: any; }>;
9
+ export declare const AiBadge: ScalioComponent<{ lang?: any; labels?: any; testId?: any; [key: string]: any; }>;
10
+ export declare const AiSuggestion: ScalioComponent<{ lang?: any; labels?: any; suggestion?: any; testId?: any; busy?: any; format?: any; onAccept?: any; onEdit?: any; onReject?: any; [key: string]: any; }>;
11
+ export declare const AiPanel: ScalioComponent<{ lang?: any; labels?: any; open?: any; testId?: any; onAsk?: any; title?: any; onClose?: any; context?: any; format?: any; emptyText?: any; [key: string]: any; }>;
12
+ export declare const AiText: ScalioComponent<{ className?: any; format?: any; testId?: any; text?: any; lang?: any; [key: string]: any; }>;
13
+ export declare const aiApi: (api?: any, paths?: any) => any;
14
+ export declare const aiForm: (ai?: any) => any;
15
+ export declare const aiPatch: (form?: any) => any;
16
+ export declare const AI_LABELS: { readonly de: Readonly<Record<string, any>>; readonly en: Readonly<Record<string, any>>; };
17
+ export declare const AI_LEVELS: readonly (number)[];
@@ -0,0 +1,11 @@
1
+ // Types for react/audit.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const AuditLog: ScalioComponent<{ lang?: any; labels?: any; actionLabel?: any; initialCategory?: any; storageKey?: any; pageSize?: any; showTenant?: any; categoryLabel?: any; testId?: any; tenantLabel?: any; allTenantsLabel?: any; toolbar?: any; rowActions?: any; renderDetail?: any; [key: string]: any; }>;
6
+ export declare const JobsPanel: ScalioComponent<{ lang?: any; labels?: any; pollMs?: any; initialTab?: any; confirm?: any; link?: any; testId?: any; canRun?: any; queueActions?: any; renderQueueDetail?: any; [key: string]: any; }>;
7
+ export declare const AuditNav: ScalioComponent<{ lang?: any; labels?: any; base?: any; link?: any; activePath?: any; testId?: any; jobs?: any; [key: string]: any; }>;
8
+ export declare const auditApi: (api?: any, base?: any) => any;
9
+ export declare const jobsApi: (api?: any, base?: any) => any;
10
+ export declare const auditLabels: (lang?: any, overrides?: any) => any;
11
+ export declare const AUDIT_LABELS: { readonly de: Readonly<Record<string, any>>; readonly en: Readonly<Record<string, any>>; };
@@ -0,0 +1,15 @@
1
+ // Types for react/auth.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const AuthLayout: ScalioComponent<{ brand?: any; lang?: any; labels?: any; className?: any; testId?: any; theme?: any; onThemeChange?: any; themeModes?: any; onLangChange?: any; testIds?: any; children?: React.ReactNode; footer?: any; legalUrl?: any; version?: any; versionUrl?: any; [key: string]: any; }>;
6
+ export declare const AppVersion: ScalioComponent<{ version?: any; url?: any; lang?: any; labels?: any; className?: any; testId?: any; }>;
7
+ export declare const DemoAccounts: ScalioComponent<{ accounts?: any; onPick?: any; lang?: any; labels?: any; className?: any; testId?: any; }>;
8
+ export declare const formatVersion: (v?: any) => any;
9
+ export declare const AuthHeader: ScalioComponent<{ eyebrow?: any; title?: any; subtitle?: any; testId?: any; }>;
10
+ export declare const AuthDivider: ScalioComponent<{ label?: any; lang?: any; labels?: any; testId?: any; }>;
11
+ export declare const AuthMessage: ScalioComponent<{ kind?: any; children?: React.ReactNode; testId?: any; }>;
12
+ export declare const MicrosoftButton: ScalioComponent<{ href?: any; onClick?: any; disabled?: any; busy?: any; label?: any; hint?: any; lang?: any; labels?: any; testId?: any; }>;
13
+ export declare const MicrosoftLogo: ScalioComponent<{}>;
14
+ export declare const ProfileSection: ScalioComponent<{ id?: any; title?: any; description?: any; lang?: any; labels?: any; children?: React.ReactNode; testId?: any; }>;
15
+ export declare const PROFILE_SECTIONS: readonly (string)[];
@@ -0,0 +1,13 @@
1
+ // Types for react/backup.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const BackupPanel: ScalioComponent<Props>;
6
+ export declare const BackupExport: ScalioComponent<{ labels?: any; notify?: any; pollMs?: any; onStatus?: any; accountTo?: any; link?: any; [key: string]: any; }>;
7
+ export declare const BackupImport: ScalioComponent<{ labels?: any; notify?: any; status?: any; pollMs?: any; lang?: any; accountTo?: any; link?: any; onSignIn?: any; [key: string]: any; }>;
8
+ export declare const MaintenanceNotice: ScalioComponent<{ labels?: any; progress?: any; onDone?: any; pollMs?: any; [key: string]: any; }>;
9
+ export declare const backupApi: (api?: any) => any;
10
+ export declare const isMaintenance: (err?: any) => any;
11
+ export declare const appOptionDefaults: (options?: any) => any;
12
+ export declare const appOptionValues: (options?: any, chosen?: any, withData?: any) => any;
13
+ export declare const optionText: (text?: any, lang?: any) => any;
@@ -0,0 +1,6 @@
1
+ // Types for react/beacon.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const peersApi: (api?: any) => any;
6
+ export declare const BeaconConnection: ScalioComponent<{ client?: any; lang?: any; labels?: any; onChange?: any; }>;
@@ -0,0 +1,11 @@
1
+ // Types for react/blocks.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const KpiTile: ScalioComponent<{ label?: any; value?: any; hint?: any; tone?: any; onClick?: any; testId?: any; }>;
6
+ export declare const EmptyState: ScalioComponent<{ text?: any; children?: React.ReactNode; lang?: any; labels?: any; testId?: any; }>;
7
+ export declare const Loading: ScalioComponent<{ label?: any; lang?: any; labels?: any; testId?: any; }>;
8
+ export declare const Notice: ScalioComponent<{ kind?: any; title?: any; children?: React.ReactNode; action?: any; onDismiss?: any; dismissLabel?: any; banner?: any; icon?: any; lang?: any; labels?: any; testId?: any; }>;
9
+ export declare const noticeKind: (kind?: any) => any;
10
+ export declare const StatusBadge: ScalioComponent<{ tone?: any; children?: React.ReactNode; testId?: any; }>;
11
+ export declare const TONES: readonly (string)[];
@@ -0,0 +1,6 @@
1
+ // Types for react/clientErrors.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const reportClientErrors: (opts?: any) => any;
6
+ export declare const clientErrorBody: (reason?: any, win?: any) => any;
@@ -0,0 +1,8 @@
1
+ // Types for react/customers.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const CustomerAccessEditor: ScalioComponent<{ lang?: any; labels?: any; value?: any; customers?: any; testId?: any; disabled?: any; emptyHint?: any; onChange?: any; [key: string]: any; }>;
6
+ export declare const customerAccessLabel: (access?: any, customers?: any, L?: any) => any;
7
+ export declare const customerAccessProps: (opts?: any) => any;
8
+ export declare const normalizeAccess: (a?: any) => any;
@@ -0,0 +1,9 @@
1
+ // Types for react/dialog.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const askConfirm: (opts?: any) => any;
6
+ export declare const askText: (opts?: any) => any;
7
+ export declare const showMessage: (opts?: any) => any;
8
+ export declare const ConfirmDialog: ScalioComponent<{ lang?: any; value?: any; check?: any; checked?: any; cancelLabel?: any; confirmLabel?: any; [key: string]: any; }>;
9
+ export declare const DialogHost: ScalioComponent<{}>;
@@ -0,0 +1,23 @@
1
+ // Types for react/fields.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const Input: ScalioComponent<Props>;
6
+ export declare const FIELD_CHECKS: readonly (string)[];
7
+ export declare const FIELD_TEXTS: { readonly de: { readonly fixFields: string; readonly required: string; readonly tooLong: string; readonly tooShort: string; readonly number: string; readonly amount: string; readonly negative: string; readonly positive: string; readonly decimals: string; readonly tooBig: string; readonly integer: string; readonly min: string; readonly max: string; readonly percent: string; readonly date: string; readonly dateMin: string; readonly dateMax: string; readonly email: string; readonly emails: string; readonly phone: string; readonly url: string; readonly iban: string; readonly qrIban: string; readonly zipCH: string; readonly zip4: string; readonly zip5: string; readonly zip: string; readonly uid: string; readonly vat: string; readonly vatForeign: string; readonly country: string; readonly account: string; readonly reference: string; readonly bic: string; readonly pattern: string; }; readonly en: { readonly fixFields: string; readonly required: string; readonly tooLong: string; readonly tooShort: string; readonly number: string; readonly amount: string; readonly negative: string; readonly positive: string; readonly decimals: string; readonly tooBig: string; readonly integer: string; readonly min: string; readonly max: string; readonly percent: string; readonly date: string; readonly dateMin: string; readonly dateMax: string; readonly email: string; readonly emails: string; readonly phone: string; readonly url: string; readonly iban: string; readonly qrIban: string; readonly zipCH: string; readonly zip4: string; readonly zip5: string; readonly zip: string; readonly uid: string; readonly vat: string; readonly vatForeign: string; readonly country: string; readonly account: string; readonly reference: string; readonly bic: string; readonly pattern: string; }; };
8
+ export declare const fieldAllowed: (check?: any, value?: any) => any;
9
+ export declare const fieldUpper: (check?: any) => any;
10
+ export declare const normalizeNumber: (value?: any) => any;
11
+ export declare const normalizeField: (check?: any, value?: any) => any;
12
+ export declare const fieldProblem: (check?: any, value?: any, opts?: any) => any;
13
+ export declare const fieldProblemText: (p?: any, lang?: any) => any;
14
+ export declare const fieldMessageFor: (el?: any, check?: any, lang?: any, country?: any) => any;
15
+ export declare const inputDefaults: (check?: any) => any;
16
+ export declare const fillText: (text?: any, values?: any) => any;
17
+ export declare const validIban: (value?: any) => any;
18
+ export declare const validQrIban: (value?: any) => any;
19
+ export declare const formatUid: (value?: any) => any;
20
+ export declare const validQrReference: (ref?: any) => any;
21
+ export declare const validScor: (ref?: any) => any;
22
+ export declare const fieldsValid: (root?: any) => any;
23
+ export declare const validNear: (el?: any) => any;
@@ -0,0 +1,46 @@
1
+ // Types for react/icons.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const Sun: ScalioComponent<Props>;
6
+ export declare const Moon: ScalioComponent<Props>;
7
+ export declare const Monitor: ScalioComponent<Props>;
8
+ export declare const LifeBuoy: ScalioComponent<Props>;
9
+ export declare const BookOpen: ScalioComponent<Props>;
10
+ export declare const Library: ScalioComponent<Props>;
11
+ export declare const LogOut: ScalioComponent<Props>;
12
+ export declare const Menu: ScalioComponent<Props>;
13
+ export declare const Check: ScalioComponent<Props>;
14
+ export declare const X: ScalioComponent<Props>;
15
+ export declare const Search: ScalioComponent<Props>;
16
+ export declare const ChevronDown: ScalioComponent<Props>;
17
+ export declare const Fingerprint: ScalioComponent<Props>;
18
+ export declare const FileStack: ScalioComponent<Props>;
19
+ export declare const ShieldCheck: ScalioComponent<Props>;
20
+ export declare const Hammer: ScalioComponent<Props>;
21
+ export declare const Activity: ScalioComponent<Props>;
22
+ export declare const Smartphone: ScalioComponent<Props>;
23
+ export declare const KeyRound: ScalioComponent<Props>;
24
+ export declare const Trash: ScalioComponent<Props>;
25
+ export declare const Copy: ScalioComponent<Props>;
26
+ export declare const Puzzle: ScalioComponent<Props>;
27
+ export declare const Plus: ScalioComponent<Props>;
28
+ export declare const Pencil: ScalioComponent<Props>;
29
+ export declare const Link2: ScalioComponent<Props>;
30
+ export declare const Alert: ScalioComponent<Props>;
31
+ export declare const History: ScalioComponent<Props>;
32
+ export declare const CornerDownLeft: ScalioComponent<Props>;
33
+ export declare const Users: ScalioComponent<Props>;
34
+ export declare const Settings: ScalioComponent<Props>;
35
+ export declare const ScrollText: ScalioComponent<Props>;
36
+ export declare const Info: ScalioComponent<Props>;
37
+ export declare const RadioTower: ScalioComponent<Props>;
38
+ export declare const Globe: ScalioComponent<Props>;
39
+ export declare const Clock: ScalioComponent<Props>;
40
+ export declare const Download: ScalioComponent<Props>;
41
+ export declare const Upload: ScalioComponent<Props>;
42
+ export declare const RotateCcw: ScalioComponent<Props>;
43
+ export declare const Sparkles: ScalioComponent<Props>;
44
+ export declare const Play: ScalioComponent<Props>;
45
+ export declare const Square: ScalioComponent<Props>;
46
+ export declare const Ban: ScalioComponent<Props>;
@@ -0,0 +1,62 @@
1
+ // Types for react/index.js (the shared app shell; written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ import type * as IconSet from "./icons";
6
+
7
+ export declare const AppHeader: ScalioComponent<{ lang?: any; labels?: any; testIds?: any; className?: any; testId?: any; onMenu?: any; brand?: any; left?: any; actions?: any; status?: any; onLangChange?: any; theme?: any; onThemeChange?: any; themeModes?: any; docsUrl?: any; onSupport?: any; user?: any; menuItems?: any; onLogout?: any; [key: string]: any; }>;
8
+ export declare const BetaBadge: ScalioComponent<{ lang?: any; labels?: any; testId?: any; className?: any; }>;
9
+ export declare const UserMenu: ScalioComponent<{ user?: any; items?: any; onLogout?: any; lang?: any; labels?: any; testIds?: any; defaultOpen?: any; }>;
10
+ export declare const LanguageToggle: ScalioComponent<{ lang?: any; onChange?: any; labels?: any; testId?: any; }>;
11
+ export declare const ThemeToggle: ScalioComponent<{ theme?: any; onChange?: any; modes?: any; lang?: any; labels?: any; testId?: any; defaultOpen?: any; }>;
12
+ export declare const SupportButton: ScalioComponent<{ onClick?: any; lang?: any; labels?: any; testId?: any; }>;
13
+ export declare const DocsButton: ScalioComponent<{ href?: any; lang?: any; labels?: any; testId?: any; }>;
14
+ export declare const manualUrl: (product?: any, opts?: any) => any;
15
+ export declare const DOCS_DOMAINS: { readonly nexus: string; readonly citadel: string; readonly foundry: string; readonly rosetta: string; readonly beacon: string; readonly pulse: string; readonly folio: string; };
16
+ export declare const PageHeader: ScalioComponent<{ eyebrow?: any; title?: any; subtitle?: any; actions?: any; children?: React.ReactNode; back?: any; testId?: any; }>;
17
+ export declare const TEST_IDS: { readonly menu: string; readonly language: string; readonly theme: string; readonly docs: string; readonly support: string; readonly avatar: string; readonly userName: string; readonly userEmail: string; readonly userRole: string; readonly logout: string; };
18
+ export declare const initials: (user?: any) => any;
19
+ export declare const Icons: typeof IconSet;
20
+ export { LABELS, labelsFor } from "./labels";
21
+
22
+ export * from "./actions";
23
+ export * from "./nav";
24
+ export * from "./blocks";
25
+ export * from "./settings";
26
+ export * from "./support";
27
+ export * from "./beacon";
28
+ export * from "./security";
29
+ export * from "./license";
30
+ export * from "./limited_mode";
31
+ export * from "./access_limit";
32
+ export * from "./palette";
33
+ export * from "./unify";
34
+ export * from "./profile";
35
+ export * from "./selftest";
36
+ export * from "./users";
37
+ export * from "./customers";
38
+ export * from "./roles";
39
+ export * from "./wizard";
40
+ export * from "./maintenance";
41
+ export * from "./backup";
42
+ export * from "./audit";
43
+ export * from "./mail";
44
+ export * from "./saas_updates";
45
+ export * from "./pages";
46
+ export * from "./tenant";
47
+ export * from "./fields";
48
+ export * from "./dialog";
49
+ export * from "./keyboard";
50
+ export * from "./agents";
51
+ export * from "./agent_scripts";
52
+ export * from "./ai";
53
+ export * from "./markdown";
54
+ export * from "./tenancy";
55
+ export * from "./legal";
56
+ export * from "./suite_context";
57
+ export * from "./auth";
58
+ export * from "./session";
59
+ export * from "./setup";
60
+ export * from "./login";
61
+ export * from "./theme";
62
+ export * from "./clientErrors";
@@ -0,0 +1,5 @@
1
+ // Types for react/keyboard.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const rowOpenProps: (onOpen?: any, opts?: any) => any;
@@ -0,0 +1,6 @@
1
+ // Types for react/labels.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const LABELS: { readonly de: Readonly<Record<string, any>>; readonly en: Readonly<Record<string, any>>; };
6
+ export declare const labelsFor: (lang?: any, overrides?: any) => any;
@@ -0,0 +1,6 @@
1
+ // Types for react/legal.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const LegalLink: ScalioComponent<{ baseUrl?: any; lang?: any; labels?: any; className?: any; testId?: any; }>;
6
+ export declare const legalUrl: (base?: any) => any;
@@ -0,0 +1,7 @@
1
+ // Types for react/license.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const LicensePanel: ScalioComponent<{ labels?: any; formatError?: any; map?: any; kindLabel?: any; featureLabel?: any; product?: any; noFeatures?: any; statusExtra?: any; className?: any; testId?: any; children?: React.ReactNode; extraTitle?: any; extraHint?: any; [key: string]: any; }>;
6
+ export declare const licenseApi: (api?: any) => any;
7
+ export declare const mapScalioLicense: (lic?: any, opts?: any) => any;
@@ -0,0 +1,6 @@
1
+ // Types for react/limited_mode.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const LimitedModeBanner: ScalioComponent<{ license?: any; now?: any; lang?: any; labels?: any; product?: any; unit?: any; onOpen?: any; icon?: any; [key: string]: any; }>;
6
+ export declare const limitedModeState: (license?: any, now?: any) => any;
@@ -0,0 +1,7 @@
1
+ // Types for react/login.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const LoginPage: ScalioComponent<{ endpoints?: any; assign?: any; errorText?: any; location?: any; [key: string]: any; }>;
6
+ export declare const LOGIN_ENDPOINTS: { readonly setupStatus: string; readonly loginPolicy: string; readonly demo: string; readonly microsoftStatus: string; readonly microsoftLogin: string; readonly setupMicrosoft: string; };
7
+ export declare const readArrival: (loc?: any) => any;
@@ -0,0 +1,10 @@
1
+ // Types for react/mail.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const MailTransport: ScalioComponent<{ labels?: any; outbox?: any; notify?: any; formatError?: any; graphHint?: any; tenantHint?: any; grantOffHint?: any; children?: React.ReactNode; [key: string]: any; }>;
6
+ export declare const MailTemplates: ScalioComponent<{ labels?: any; delay?: any; editor?: any; [key: string]: any; }>;
7
+ export declare const mailApi: (api?: any, base?: any) => any;
8
+ export declare const mailLabels: (lang?: any, overrides?: any) => any;
9
+ export declare const textToHtml: (text?: any) => any;
10
+ export declare const MAIL_LABELS: { readonly de: Readonly<Record<string, any>>; readonly en: Readonly<Record<string, any>>; };
@@ -0,0 +1,6 @@
1
+ // Types for react/maintenance.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const FactoryReset: ScalioComponent<{ labels?: any; formatError?: any; tokenKey?: any; onDone?: any; notify?: any; backupTo?: any; link?: any; text?: any; accountTo?: any; [key: string]: any; }>;
6
+ export declare const factoryResetApi: (api?: any) => any;
@@ -0,0 +1,14 @@
1
+ // Types for react/markdown.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const Markdown: ScalioComponent<{ lang?: any; labels?: any; links?: any; pageLinks?: any; render?: any; anchors?: any; className?: any; testId?: any; text?: any; [key: string]: any; }>;
6
+ export declare const parseMarkdownBlocks: (src?: any) => any;
7
+ export declare const parseMarkdownInline: (src?: any, opts?: any) => any;
8
+ export declare const markdownOutline: (src?: any) => any;
9
+ export declare const markdownHeadingId: (text?: any) => any;
10
+ export declare const markdownPageLinks: (src?: any) => any;
11
+ export declare const markdownPageLinkKey: (space?: any, title?: any) => any;
12
+ export declare const parseMarkdownPageLink: (inner?: any) => any;
13
+ export declare const safeHref: (href?: any) => any;
14
+ export declare const safeHttpsHref: (href?: any) => any;
package/react/nav.d.ts ADDED
@@ -0,0 +1,24 @@
1
+ // Types for react/nav.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const VersionTag: ScalioComponent<{ version?: any; commit?: any; lang?: any; labels?: any; testId?: any; }>;
6
+ export declare const Sidebar: ScalioComponent<Props>;
7
+ export declare const NavItem: ScalioComponent<{ item?: any; link?: any; activePath?: any; onNavigate?: any; testIdPrefix?: any; }>;
8
+ export declare const NavDrawer: ScalioComponent<{ open?: any; onClose?: any; children?: React.ReactNode; lang?: any; labels?: any; testId?: any; }>;
9
+ export declare const SubNav: ScalioComponent<{ items?: any; link?: any; activePath?: any; label?: any; testId?: any; value?: any; onSelect?: any; }>;
10
+ export declare const WorkspaceSwitcher: ScalioComponent<{ options?: any; value?: any; onSelect?: any; testIdPrefix?: any; testId?: any; }>;
11
+ export declare const AppShell: ScalioComponent<{ switcher?: any; header?: any; banner?: any; sidebar?: any; children?: React.ReactNode; drawerOpen?: any; onDrawerClose?: any; drawerTop?: any; legalUrl?: any; lang?: any; labels?: any; testId?: any; }>;
12
+ export declare const ContextSelect: ScalioComponent<{ label?: any; value?: any; options?: any; onChange?: any; hint?: any; after?: any; testId?: any; id?: any; }>;
13
+ export declare const ProductSwitcher: ScalioComponent<{ current?: any; links?: any; stage?: any; sso?: any; lang?: any; labels?: any; products?: any; testId?: any; }>;
14
+ export declare const PRODUCTS: readonly ({ readonly key: string; readonly name: string; readonly icon: (props?: any) => any; readonly group: string; })[];
15
+ export declare const productStatus: (product?: any, current?: any) => any;
16
+ export declare const switcherHref: (product?: any, links?: any, sso?: any, current?: any, tenant?: any) => any;
17
+ export declare const stageBadge: (stage?: any) => any;
18
+ export declare const scalioFeatures: (answer?: any) => any;
19
+ export declare const useScalioApps: (fetchApps?: any, options?: any) => any;
20
+ export declare const SCALIO_APPS_RETRY_DELAYS: readonly (number)[];
21
+ export declare const resetScalioApps: () => any;
22
+ export declare const SupportDrawer: ScalioComponent<{ open?: any; onClose?: any; onSubmit?: any; client?: any; page?: any; context?: any; lang?: any; labels?: any; }>;
23
+ export declare const visibleSections: (nav?: any) => any;
24
+ export declare const isActivePath: (path?: any, to?: any, end?: any) => any;
@@ -0,0 +1,10 @@
1
+ // Types for react/pages.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const OverviewPage: ScalioComponent<{ title?: any; subtitle?: any; actions?: any; kpis?: any; loading?: any; children?: React.ReactNode; lang?: any; labels?: any; testId?: any; }>;
6
+ export declare const Panel: ScalioComponent<{ title?: any; showAll?: any; onShowAll?: any; empty?: any; emptyText?: any; children?: React.ReactNode; lang?: any; labels?: any; testId?: any; className?: any; }>;
7
+ export declare const ListPage: ScalioComponent<{ title?: any; subtitle?: any; actions?: any; toolbar?: any; loading?: any; empty?: any; emptyText?: any; emptyAction?: any; children?: React.ReactNode; lang?: any; labels?: any; testId?: any; }>;
8
+ export declare const Toolbar: ScalioComponent<{ search?: any; onSearch?: any; searchLabel?: any; filters?: any; onFilter?: any; menu?: any; children?: React.ReactNode; lang?: any; labels?: any; testId?: any; }>;
9
+ export declare const DetailPage: ScalioComponent<{ title?: any; subtitle?: any; back?: any; pageActions?: any; status?: any; badge?: any; actions?: any; tabs?: any; tab?: any; onTab?: any; facts?: any; factsTitle?: any; loading?: any; children?: React.ReactNode; lang?: any; labels?: any; testId?: any; }>;
10
+ export declare const KeyFacts: ScalioComponent<{ items?: any; title?: any; testId?: any; }>;
@@ -0,0 +1,12 @@
1
+ // Types for react/palette.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const CommandPalette: ScalioComponent<{ open?: any; onOpenChange?: any; [key: string]: any; }>;
6
+ export declare const useCommandPaletteHotkey: (enabled?: any) => any;
7
+ export declare const openCommandPalette: () => any;
8
+ export declare const paletteGroups: (...args: any[]) => any;
9
+ export declare const palettePages: (nav?: any, pages?: any) => any;
10
+ export declare const paletteShortcut: (lang?: any, nav?: any) => any;
11
+ export declare const isApplePlatform: (nav?: any) => any;
12
+ export declare const OPEN_PALETTE_EVENT: string;
@@ -0,0 +1,20 @@
1
+ // Types for react/profile.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const ProfileIdentity: ScalioComponent<{ name?: any; email?: any; role?: any; children?: React.ReactNode; testId?: any; }>;
6
+ export declare const ThemeChoice: ScalioComponent<{ theme?: any; onChange?: any; modes?: any; lang?: any; labels?: any; testIdPrefix?: any; }>;
7
+ export declare const LanguageChoice: ScalioComponent<{ lang?: any; onChange?: any; languages?: any; fixed?: any; fixedHint?: any; labels?: any; testIdPrefix?: any; }>;
8
+ export declare const TimezoneChoice: ScalioComponent<{ value?: any; onChange?: any; lang?: any; labels?: any; testId?: any; defaultOpen?: any; }>;
9
+ export declare const PasswordChange: ScalioComponent<{ onSubmit?: any; onDone?: any; minLength?: any; lang?: any; labels?: any; testIds?: any; }>;
10
+ export declare const PROFILE_LANGUAGES: readonly ({ readonly code: string; readonly label: string; readonly flag: string; })[];
11
+ export declare const browserTz: () => any;
12
+ export declare const setUserTimezone: (tz?: any) => any;
13
+ export declare const currentTz: () => any;
14
+ export declare const listTimezones: () => any;
15
+ export declare const tzOffset: (tz?: any) => any;
16
+ export declare const resolveTheme: (mode?: any) => any;
17
+ export declare const applyTheme: (mode?: any) => any;
18
+ export declare const normalizeTheme: (value?: any) => any;
19
+ export declare const browserLang: (navLang?: any) => any;
20
+ export declare const initialLang: (stored?: any, navLang?: any) => any;
@@ -0,0 +1,8 @@
1
+ // Types for react/roles.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const RoleAdmin: ScalioComponent<{ lang?: any; labels?: any; client?: any; canEdit?: any; formatError?: any; notify?: any; onChange?: any; confirm?: any; currentRole?: any; testId?: any; [key: string]: any; }>;
6
+ export declare const RoleSourceSettings: ScalioComponent<{ lang?: any; labels?: any; value?: any; notify?: any; formatError?: any; onSave?: any; confirm?: any; disabled?: any; fixed?: any; tenants?: any; consentUrl?: any; manual?: any; extraTenants?: any; extraTitle?: any; testId?: any; [key: string]: any; }>;
7
+ export declare const rolesApi: (api?: any, opts?: any) => any;
8
+ export declare const rolesText: (lang?: any, overrides?: any) => any;
@@ -0,0 +1,10 @@
1
+ // Types for react/saas_updates.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const UpdateBanner: ScalioComponent<{ lang?: any; labels?: any; client?: any; storage?: any; onOpen?: any; settingsTo?: any; [key: string]: any; }>;
6
+ export declare const SaasUpdatesPanel: ScalioComponent<{ lang?: any; labels?: any; formatError?: any; admin?: any; onPrereleaseChange?: any; prerelease?: any; notify?: any; client?: any; checkVersion?: any; versionUrl?: any; pollMs?: any; timeoutMs?: any; reloadDelayMs?: any; reload?: any; [key: string]: any; }>;
7
+ export declare const PrereleaseSwitch: ScalioComponent<{ lang?: any; labels?: any; formatError?: any; value?: any; onChange?: any; notify?: any; disabled?: any; [key: string]: any; }>;
8
+ export declare const UpdateProgress: ScalioComponent<{ lang?: any; labels?: any; reload?: any; pollMs?: any; timeoutMs?: any; checkVersion?: any; versionUrl?: any; version?: any; from?: any; reloadDelayMs?: any; onClose?: any; [key: string]: any; }>;
9
+ export declare const saasUpdatesApi: (api?: any) => any;
10
+ export declare const SAAS_UPDATE_LABELS: { readonly de: Readonly<Record<string, any>>; readonly en: Readonly<Record<string, any>>; };
@@ -0,0 +1,7 @@
1
+ // Types for react/security.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const SecurityFactors: ScalioComponent<{ labels?: any; formatError?: any; className?: any; testId?: any; [key: string]: any; }>;
6
+ export declare const securityApi: (api?: any, webauthn?: any) => any;
7
+ export declare const passkeyCancelled: (err?: any) => any;
@@ -0,0 +1,9 @@
1
+ // Types for react/selftest.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const SelfTestPanel: ScalioComponent<{ labels?: any; pollMs?: any; testId?: any; [key: string]: any; }>;
6
+ export declare const SelfTestBanner: ScalioComponent<{ suite?: any; health?: any; lang?: any; labels?: any; action?: any; [key: string]: any; }>;
7
+ export declare const selftestApi: (api?: any) => any;
8
+ export declare const selftestLabels: (lang?: any, overrides?: any) => any;
9
+ export declare const SELFTEST_LABELS: { readonly de: { readonly title: string; readonly hint: string; readonly off: string; readonly banner: string; readonly runNow: string; readonly queued: string; readonly cancel: string; readonly cancelling: string; readonly running: string; readonly waiting: string; readonly checks: string; readonly never: string; readonly schedule: string; readonly suite: string; readonly hour: string; readonly noNight: string; readonly save: string; readonly saved: string; readonly safeHint: string; readonly runs: string; readonly newFailures: string; readonly recovered: string; readonly was: string; readonly sources: Readonly<Record<string, string>>; readonly verdicts: Readonly<Record<string, string>>; readonly show: string; readonly hide: string; readonly version: string; }; readonly en: { readonly title: string; readonly hint: string; readonly off: string; readonly banner: string; readonly runNow: string; readonly queued: string; readonly cancel: string; readonly cancelling: string; readonly running: string; readonly waiting: string; readonly checks: string; readonly never: string; readonly schedule: string; readonly suite: string; readonly hour: string; readonly noNight: string; readonly save: string; readonly saved: string; readonly safeHint: string; readonly runs: string; readonly newFailures: string; readonly recovered: string; readonly was: string; readonly sources: Readonly<Record<string, string>>; readonly verdicts: Readonly<Record<string, string>>; readonly show: string; readonly hide: string; readonly version: string; }; };
@@ -0,0 +1,5 @@
1
+ // Types for react/session.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const createAuth: (opts?: any) => any;
@@ -0,0 +1,12 @@
1
+ // Types for react/settings.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const SettingsLayout: ScalioComponent<Props>;
6
+ export declare const SettingsSection: ScalioComponent<{ id?: any; title?: any; description?: any; children?: React.ReactNode; footer?: any; testId?: any; }>;
7
+ export declare const SettingsField: ScalioComponent<{ id?: any; label?: any; hint?: any; children?: React.ReactNode; testId?: any; }>;
8
+ export declare const SettingsRow: ScalioComponent<{ title?: any; hint?: any; children?: React.ReactNode; testId?: any; tone?: any; }>;
9
+ export declare const settingsGroups: (groups?: any, L?: any) => any;
10
+ export declare const matchSetting: (item?: any, group?: any, query?: any) => any;
11
+ export declare const SETTINGS_GROUP_ORDER: readonly (string)[];
12
+ export declare const SYSTEM_ORDER: readonly (string)[];
@@ -0,0 +1,5 @@
1
+ // Types for react/setup.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const FirstAdminSetup: ScalioComponent<{ microsoft?: any; codeFrom?: any; onSubmit?: any; onMicrosoft?: any; error?: any; lang?: any; labels?: any; minLength?: any; }>;
@@ -0,0 +1,15 @@
1
+ // Types for react/suite_context.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const SUITE_TENANT_PARAM: string;
6
+ export declare const cleanTenantKey: (value?: any) => any;
7
+ export declare const suiteTenantKey: (t?: any) => any;
8
+ export declare const matchSuiteTenant: (tenants?: any, key?: any) => any;
9
+ export declare const readSuiteTenant: (search?: any) => any;
10
+ export declare const clearSuiteTenantParam: () => any;
11
+ export declare const setSuiteTenant: (key?: any) => any;
12
+ export declare const getSuiteTenant: () => any;
13
+ export declare const useSuiteTenant: () => any;
14
+ export declare const withSuiteTenant: (url?: any, key?: any) => any;
15
+ export declare const useSuiteTenantLink: (tenants?: any, selectedId?: any, onSelect?: any) => any;
@@ -0,0 +1,9 @@
1
+ // Types for react/support.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const supportApi: (api?: any, options?: any) => any;
6
+ export declare const SupportDesk: ScalioComponent<{ client?: any; page?: any; lang?: any; labels?: any; }>;
7
+ export declare const SupportConnection: ScalioComponent<{ client?: any; lang?: any; labels?: any; onChange?: any; }>;
8
+ export declare const IdeasPanel: ScalioComponent<{ ideas?: any; L?: any; lang?: any; }>;
9
+ export declare const SUPPORT_CATEGORIES: readonly (string)[];
@@ -0,0 +1,28 @@
1
+ // Types for react/tenancy.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const OrganizationsPanel: ScalioComponent<{ client?: any; msp?: any; tabs?: any; tenantCount?: any; lang?: any; labels?: any; testId?: any; readOnly?: any; }>;
6
+ export declare const OrganizationForm: ScalioComponent<{ initial?: any; onSave?: any; onCancel?: any; lang?: any; labels?: any; testId?: any; }>;
7
+ export declare const OrganizationFields: ScalioComponent<{ value?: any; onChange?: any; lang?: any; labels?: any; testId?: any; disabled?: any; }>;
8
+ export declare const OrganizationStep: ScalioComponent<{ value?: any; onChange?: any; prefilled?: any; lang?: any; labels?: any; }>;
9
+ export declare const organizationSetupStep: (...args: any[]) => any;
10
+ export declare const organizationsApi: (api?: any, base?: any) => any;
11
+ export declare const TenantList: ScalioComponent<{ tenants?: any; organizations?: any; columns?: any; actions?: any; appName?: any; limit?: any; onAdd?: any; lang?: any; labels?: any; testId?: any; readOnly?: any; }>;
12
+ export declare const TenantWizard: ScalioComponent<Props>;
13
+ export declare const TenantEditDialog: ScalioComponent<{ tenant?: any; organizations?: any; onSave?: any; onClose?: any; renderConnect?: any; appName?: any; renderApp?: any; initialTab?: any; lang?: any; labels?: any; }>;
14
+ export declare const TenancySelect: ScalioComponent<{ organizations?: any; tenants?: any; tenantId?: any; onSelect?: any; manage?: any; lang?: any; labels?: any; hint?: any; hideAll?: any; }>;
15
+ export declare const ConnectionChoice: ScalioComponent<{ value?: any; onChange?: any; methods?: any; locked?: any; writeLocked?: any; writeHidden?: any; methodText?: any; lang?: any; labels?: any; }>;
16
+ export declare const tenancySettingsGroup: (...args: any[]) => any;
17
+ export declare const tenancyLabels: (lang?: any, overrides?: any) => any;
18
+ export declare const askRemoveTenant: (t?: any, lang?: any, labels?: any) => any;
19
+ export declare const showOrganizationSelect: (organizations?: any) => any;
20
+ export declare const showTenantSelect: (tenants?: any) => any;
21
+ export declare const canAddTenant: (count?: any, limit?: any) => any;
22
+ export declare const suggestShortCode: (name?: any) => any;
23
+ export declare const shortCodeValid: (code?: any) => any;
24
+ export declare const organizationValid: (v?: any) => any;
25
+ export declare const emptyOrganization: (name?: any) => any;
26
+ export declare const TENANCY_LABELS: { readonly de: Readonly<Record<string, any>>; readonly en: Readonly<Record<string, any>>; };
27
+ export declare const CLASSIFICATIONS: readonly (string)[];
28
+ export declare const TENANT_METHODS: readonly (string)[];
@@ -0,0 +1,9 @@
1
+ // Types for react/tenant.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const TenantConnectStep: ScalioComponent<{ client?: any; app?: any; lang?: any; labels?: any; onChange?: any; showLater?: any; }>;
6
+ export declare const takeConnectCode: () => any;
7
+ export declare const announceTenantChange: (detail?: any) => any;
8
+ export declare const useTenantChange: (onChange?: any) => any;
9
+ export declare const TENANT_EVENT: string;
@@ -0,0 +1,6 @@
1
+ // Types for react/theme.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const ThemeProvider: ScalioComponent<{ storeKey?: any; children?: React.ReactNode; }>;
6
+ export declare const useTheme: () => any;
@@ -0,0 +1,9 @@
1
+ // Shared helper types for the react/*.d.ts files (written by hand, no build step).
2
+ // The components are plain JavaScript; props stay open (any) where the code does not check them.
3
+ import type * as React from "react";
4
+
5
+ /** Props of a component whose props are not listed one by one. */
6
+ export type Props = { [key: string]: any };
7
+
8
+ /** A function component of this package (React.createElement, no JSX). */
9
+ export type ScalioComponent<P = Props> = (props: P & { key?: React.Key | null }) => React.ReactNode;
@@ -0,0 +1,15 @@
1
+ // Types for react/unify.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const editionBadges: (lic?: any, opts?: any) => any;
6
+ export declare const EditionBadges: ScalioComponent<{ items?: any; license?: any; testId?: any; [key: string]: any; }>;
7
+ export declare const adminSection: (opts?: any) => any;
8
+ export declare const useApiStatus: (check?: any, intervalMs?: any) => any;
9
+ export declare const ApiStatus: ScalioComponent<{ online?: any; check?: any; intervalMs?: any; lang?: any; labels?: any; testId?: any; }>;
10
+ export declare const accountTabs: (opts?: any) => any;
11
+ export declare const accountGroups: (opts?: any) => any;
12
+ export declare const accountArea: (part?: any) => any;
13
+ export declare const PASSWORD_POLICIES: readonly (string)[];
14
+ export declare const policyAllowed: (value?: any, emergencyCount?: any) => any;
15
+ export declare const PasswordPolicySelect: ScalioComponent<{ value?: any; emergencyCount?: any; onChange?: any; disabled?: any; forced?: any; lang?: any; labels?: any; testId?: any; }>;
@@ -0,0 +1,8 @@
1
+ // Types for react/users.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const UserAdmin: ScalioComponent<{ labels?: any; formatError?: any; roles?: any; signInModes?: any; microsoftEnabled?: any; adminRole?: any; onChange?: any; defaultRole?: any; canLock?: any; accessColumn?: any; accessField?: any; className?: any; testId?: any; [key: string]: any; }>;
6
+ export declare const usersApi: (api?: any, opts?: any) => any;
7
+ export declare const normalizeUser: (d?: any) => any;
8
+ export declare const MicrosoftConnection: ScalioComponent<{ lang?: any; labels?: any; testId?: any; linked?: any; canUnlink?: any; onUnlink?: any; disabled?: any; onLink?: any; [key: string]: any; }>;
@@ -0,0 +1,13 @@
1
+ // Types for react/wizard.js (written by hand, no build step).
2
+ import type * as React from "react";
3
+ import type { Props, ScalioComponent } from "./types";
4
+
5
+ export declare const SetupWizard: ScalioComponent<{ lang?: any; labels?: any; success?: any; [key: string]: any; }>;
6
+ export declare const SetupWizardButton: ScalioComponent<{ lang?: any; labels?: any; testId?: any; className?: any; }>;
7
+ export declare const useSetupWizard: (opts?: any) => any;
8
+ export declare const setupWizardApi: (api?: any, opts?: any) => any;
9
+ export declare const normalizeWizardState: (d?: any) => any;
10
+ export declare const openSetupWizard: (step?: any) => any;
11
+ export declare const OPEN_SETUP_WIZARD: string;
12
+ export declare const enterMeansNext: (el?: any) => any;
13
+ export declare const trapTab: (e?: any, root?: any) => any;
@@ -0,0 +1,17 @@
1
+ // Types for shadcn/alert-dialog.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const AlertDialog: ShadcnComponent<HTMLElement>;
8
+ export declare const AlertDialogAction: ShadcnComponent<HTMLElement>;
9
+ export declare const AlertDialogCancel: ShadcnComponent<HTMLElement>;
10
+ export declare const AlertDialogContent: ShadcnComponent<HTMLElement>;
11
+ export declare const AlertDialogDescription: ShadcnComponent<HTMLElement>;
12
+ export declare const AlertDialogFooter: ShadcnComponent<HTMLElement>;
13
+ export declare const AlertDialogHeader: ShadcnComponent<HTMLElement>;
14
+ export declare const AlertDialogOverlay: ShadcnComponent<HTMLElement>;
15
+ export declare const AlertDialogPortal: ShadcnComponent<HTMLElement>;
16
+ export declare const AlertDialogTitle: ShadcnComponent<HTMLElement>;
17
+ export declare const AlertDialogTrigger: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,6 @@
1
+ // Types for shadcn/badge.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ export type BadgeVariant = "default" | "secondary" | "destructive" | "outline";
5
+ export declare const Badge: (props: React.HTMLAttributes<HTMLDivElement> & { variant?: BadgeVariant | null }) => React.ReactNode;
6
+ export declare function badgeVariants(opts?: { variant?: BadgeVariant | null; className?: string }): string;
@@ -0,0 +1,10 @@
1
+ // Types for shadcn/button.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
8
+ export type ButtonSize = "default" | "sm" | "lg" | "icon";
9
+ export declare const Button: ShadcnComponent<HTMLButtonElement, React.ButtonHTMLAttributes<HTMLButtonElement> & { variant?: ButtonVariant | null; size?: ButtonSize | null; asChild?: boolean }>;
10
+ export declare function buttonVariants(opts?: { variant?: ButtonVariant | null; size?: ButtonSize | null; className?: string }): string;
@@ -0,0 +1,7 @@
1
+ // Types for shadcn/checkbox.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Checkbox: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,15 @@
1
+ // Types for shadcn/command.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Command: ShadcnComponent<HTMLElement>;
8
+ export declare const CommandDialog: ShadcnComponent<HTMLElement>;
9
+ export declare const CommandInput: ShadcnComponent<HTMLElement>;
10
+ export declare const CommandList: ShadcnComponent<HTMLElement>;
11
+ export declare const CommandEmpty: ShadcnComponent<HTMLElement>;
12
+ export declare const CommandGroup: ShadcnComponent<HTMLElement>;
13
+ export declare const CommandItem: ShadcnComponent<HTMLElement>;
14
+ export declare const CommandShortcut: ShadcnComponent<HTMLElement>;
15
+ export declare const CommandSeparator: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,6 @@
1
+ // Types for shadcn/confirm.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ export declare const ConfirmProvider: (props: { children?: React.ReactNode; labels?: { cancel?: React.ReactNode; confirm?: React.ReactNode } }) => React.ReactNode;
5
+ export interface ConfirmOptions { title?: React.ReactNode; text?: React.ReactNode; action?: React.ReactNode; danger?: boolean }
6
+ export declare function useConfirm(): (opts?: ConfirmOptions) => Promise<boolean>;
@@ -0,0 +1,16 @@
1
+ // Types for shadcn/dialog.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Dialog: ShadcnComponent<HTMLElement>;
8
+ export declare const DialogClose: ShadcnComponent<HTMLElement>;
9
+ export declare const DialogContent: ShadcnComponent<HTMLElement>;
10
+ export declare const DialogDescription: ShadcnComponent<HTMLElement>;
11
+ export declare const DialogFooter: ShadcnComponent<HTMLElement>;
12
+ export declare const DialogHeader: ShadcnComponent<HTMLElement>;
13
+ export declare const DialogOverlay: ShadcnComponent<HTMLElement>;
14
+ export declare const DialogPortal: ShadcnComponent<HTMLElement>;
15
+ export declare const DialogTitle: ShadcnComponent<HTMLElement>;
16
+ export declare const DialogTrigger: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,21 @@
1
+ // Types for shadcn/dropdown-menu.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const DropdownMenu: ShadcnComponent<HTMLElement>;
8
+ export declare const DropdownMenuCheckboxItem: ShadcnComponent<HTMLElement>;
9
+ export declare const DropdownMenuContent: ShadcnComponent<HTMLElement>;
10
+ export declare const DropdownMenuGroup: ShadcnComponent<HTMLElement>;
11
+ export declare const DropdownMenuItem: ShadcnComponent<HTMLElement>;
12
+ export declare const DropdownMenuLabel: ShadcnComponent<HTMLElement>;
13
+ export declare const DropdownMenuPortal: ShadcnComponent<HTMLElement>;
14
+ export declare const DropdownMenuRadioGroup: ShadcnComponent<HTMLElement>;
15
+ export declare const DropdownMenuRadioItem: ShadcnComponent<HTMLElement>;
16
+ export declare const DropdownMenuSeparator: ShadcnComponent<HTMLElement>;
17
+ export declare const DropdownMenuShortcut: ShadcnComponent<HTMLElement>;
18
+ export declare const DropdownMenuSub: ShadcnComponent<HTMLElement>;
19
+ export declare const DropdownMenuSubContent: ShadcnComponent<HTMLElement>;
20
+ export declare const DropdownMenuSubTrigger: ShadcnComponent<HTMLElement>;
21
+ export declare const DropdownMenuTrigger: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,7 @@
1
+ // Types for shadcn/input.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Input: ShadcnComponent<HTMLInputElement, React.InputHTMLAttributes<HTMLInputElement>>;
@@ -0,0 +1,7 @@
1
+ // Types for shadcn/label.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Label: ShadcnComponent<HTMLLabelElement>;
@@ -0,0 +1,10 @@
1
+ // Types for shadcn/popover.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Popover: ShadcnComponent<HTMLElement>;
8
+ export declare const PopoverAnchor: ShadcnComponent<HTMLElement>;
9
+ export declare const PopoverContent: ShadcnComponent<HTMLElement>;
10
+ export declare const PopoverTrigger: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,7 @@
1
+ // Types for shadcn/progress.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Progress: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,16 @@
1
+ // Types for shadcn/select.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Select: ShadcnComponent<HTMLElement>;
8
+ export declare const SelectContent: ShadcnComponent<HTMLElement>;
9
+ export declare const SelectGroup: ShadcnComponent<HTMLElement>;
10
+ export declare const SelectItem: ShadcnComponent<HTMLElement>;
11
+ export declare const SelectLabel: ShadcnComponent<HTMLElement>;
12
+ export declare const SelectScrollDownButton: ShadcnComponent<HTMLElement>;
13
+ export declare const SelectScrollUpButton: ShadcnComponent<HTMLElement>;
14
+ export declare const SelectSeparator: ShadcnComponent<HTMLElement>;
15
+ export declare const SelectTrigger: ShadcnComponent<HTMLElement>;
16
+ export declare const SelectValue: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,5 @@
1
+ // Types for shadcn/sonner.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ export declare const Toaster: (props: { theme?: "light" | "dark" | "system"; [key: string]: any }) => React.ReactNode;
5
+ export declare const toast: typeof import("sonner").toast;
@@ -0,0 +1,7 @@
1
+ // Types for shadcn/switch.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Switch: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,14 @@
1
+ // Types for shadcn/table.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Table: ShadcnComponent<HTMLTableElement>;
8
+ export declare const TableBody: ShadcnComponent<HTMLTableSectionElement>;
9
+ export declare const TableCaption: ShadcnComponent<HTMLTableCaptionElement>;
10
+ export declare const TableCell: ShadcnComponent<HTMLTableCellElement>;
11
+ export declare const TableFooter: ShadcnComponent<HTMLTableSectionElement>;
12
+ export declare const TableHead: ShadcnComponent<HTMLTableCellElement>;
13
+ export declare const TableHeader: ShadcnComponent<HTMLTableSectionElement>;
14
+ export declare const TableRow: ShadcnComponent<HTMLTableRowElement>;
@@ -0,0 +1,10 @@
1
+ // Types for shadcn/tabs.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Tabs: ShadcnComponent<HTMLElement>;
8
+ export declare const TabsContent: ShadcnComponent<HTMLElement>;
9
+ export declare const TabsList: ShadcnComponent<HTMLElement>;
10
+ export declare const TabsTrigger: ShadcnComponent<HTMLElement>;
@@ -0,0 +1,7 @@
1
+ // Types for shadcn/textarea.mjs (written by hand, no build step). Props stay open for the Radix props.
2
+ import type * as React from "react";
3
+
4
+ /** A forwardRef component; the Radix props it passes on stay open. */
5
+ type ShadcnComponent<E = HTMLElement, P = React.HTMLAttributes<E>> = React.ForwardRefExoticComponent<P & { asChild?: boolean; [key: string]: any } & React.RefAttributes<E>>;
6
+
7
+ export declare const Textarea: ShadcnComponent<HTMLTextAreaElement, React.TextareaHTMLAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,3 @@
1
+ // Types for shadcn/utils.mjs (written by hand, no build step). Plain helper.
2
+
3
+ export declare function cn(...inputs: any[]): string;
@@ -0,0 +1,9 @@
1
+ // Types for tailwind-preset.js (written by hand, no build step). A Tailwind 3 preset (Partial<Config>);
2
+ // typed loosely so the package needs no tailwindcss types.
3
+ declare const preset: {
4
+ darkMode: ["class"];
5
+ theme: { extend: { [key: string]: any } };
6
+ plugins?: any[];
7
+ [key: string]: any;
8
+ };
9
+ export = preset;
package/tokens.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ // Types for tokens.js (written by hand, no build step).
2
+ export interface Brand {
3
+ /** Klein Blue #002FA7 */
4
+ readonly primary: string;
5
+ readonly primaryHover: string;
6
+ readonly danger: string;
7
+ }
8
+ export interface Fonts {
9
+ readonly sans: readonly string[];
10
+ readonly display: readonly string[];
11
+ readonly mono: readonly string[];
12
+ }
13
+ export interface Layout {
14
+ readonly switcherHeight: number;
15
+ readonly headerHeight: number;
16
+ readonly sidebarWidth: number;
17
+ }
18
+ export declare const brand: Brand;
19
+ export declare const fonts: Fonts;
20
+ export declare const radius: string;
21
+ export declare const layout: Layout;