orbital-ds 0.44.1 → 0.50.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 (102) hide show
  1. package/AGENTS.md +42 -10
  2. package/CHANGELOG.md +489 -0
  3. package/README.md +2 -2
  4. package/components.manifest.json +590 -83
  5. package/dist/hooks/use-ds-messages.d.ts +54 -0
  6. package/dist/hooks/use-esc-close-stack.d.ts +3 -0
  7. package/dist/hooks/use-esc-close-stack.js +38 -0
  8. package/dist/hooks/use-simulated-progress.d.ts +11 -0
  9. package/dist/hooks/use-simulated-progress.js +30 -0
  10. package/dist/lib/brand-allowlist.d.ts +3 -0
  11. package/dist/lib/brand-allowlist.js +719 -0
  12. package/dist/lib/brand-runtime.d.ts +52 -0
  13. package/dist/lib/brand-runtime.js +85 -0
  14. package/dist/lib/echarts-presets.d.ts +81 -1
  15. package/dist/lib/echarts-presets.js +152 -1
  16. package/dist/lib/echarts-setup.js +2 -0
  17. package/dist/lib/i18n.d.ts +54 -0
  18. package/dist/lib/i18n.js +165 -3
  19. package/dist/lib/locales/de.js +55 -1
  20. package/dist/lib/locales/fr.js +55 -1
  21. package/dist/lib/locales/he.js +55 -1
  22. package/dist/lib/locales/it.js +55 -1
  23. package/dist/styles.css +44 -0
  24. package/dist/themes/tactile.css +1 -6
  25. package/dist/themes/tactile.scoped.css +1 -6
  26. package/dist/ui/alert.d.ts +1 -1
  27. package/dist/ui/api-key-list.d.ts +40 -0
  28. package/dist/ui/api-key-list.js +89 -0
  29. package/dist/ui/attachment.d.ts +3 -3
  30. package/dist/ui/audit-log.d.ts +53 -0
  31. package/dist/ui/audit-log.js +102 -0
  32. package/dist/ui/banner.d.ts +1 -1
  33. package/dist/ui/bubble.d.ts +1 -1
  34. package/dist/ui/button-group.d.ts +1 -1
  35. package/dist/ui/button.d.ts +2 -2
  36. package/dist/ui/chart-card.d.ts +0 -1
  37. package/dist/ui/context-menu.js +2 -2
  38. package/dist/ui/cta-banner.d.ts +30 -0
  39. package/dist/ui/cta-banner.js +63 -0
  40. package/dist/ui/detail-panel.d.ts +3 -1
  41. package/dist/ui/detail-panel.js +2 -2
  42. package/dist/ui/faq.d.ts +34 -0
  43. package/dist/ui/faq.js +25 -0
  44. package/dist/ui/feature-grid.d.ts +40 -0
  45. package/dist/ui/feature-grid.js +40 -0
  46. package/dist/ui/field.d.ts +1 -1
  47. package/dist/ui/input-group.d.ts +1 -1
  48. package/dist/ui/item.d.ts +3 -3
  49. package/dist/ui/landing-section.d.ts +34 -0
  50. package/dist/ui/landing-section.js +59 -0
  51. package/dist/ui/marker.d.ts +1 -1
  52. package/dist/ui/member-list.d.ts +43 -0
  53. package/dist/ui/member-list.js +107 -0
  54. package/dist/ui/onboarding-checklist.d.ts +38 -0
  55. package/dist/ui/onboarding-checklist.js +132 -0
  56. package/dist/ui/panel.d.ts +2 -2
  57. package/dist/ui/permission-matrix.d.ts +35 -0
  58. package/dist/ui/permission-matrix.js +89 -0
  59. package/dist/ui/plan-summary.d.ts +59 -0
  60. package/dist/ui/plan-summary.js +92 -0
  61. package/dist/ui/popover.d.ts +1 -1
  62. package/dist/ui/pricing-table.d.ts +29 -0
  63. package/dist/ui/pricing-table.js +86 -0
  64. package/dist/ui/sheet.d.ts +2 -2
  65. package/dist/ui/sheet.js +1 -1
  66. package/dist/ui/sidebar.d.ts +1 -1
  67. package/dist/ui/sparkline.d.ts +1 -1
  68. package/dist/ui/status-badge.d.ts +2 -2
  69. package/dist/ui/tabs.d.ts +1 -1
  70. package/dist/ui/testimonial.d.ts +37 -0
  71. package/dist/ui/testimonial.js +61 -0
  72. package/dist/ui/toggle.d.ts +1 -1
  73. package/dist/ui/upgrade-prompt.d.ts +24 -0
  74. package/dist/ui/upgrade-prompt.js +85 -0
  75. package/dist/ui/workspace-switcher.d.ts +28 -0
  76. package/dist/ui/workspace-switcher.js +92 -0
  77. package/docs/GRAFICOS.md +1 -1
  78. package/docs/designer/patrones.md +36 -3
  79. package/manifest/actions.json +1 -1
  80. package/manifest/agents.json +1 -1
  81. package/manifest/ai.json +1 -1
  82. package/manifest/auth.json +1 -1
  83. package/manifest/chat.json +1 -1
  84. package/manifest/content.json +496 -1
  85. package/manifest/data.json +498 -103
  86. package/manifest/feedback.json +234 -47
  87. package/manifest/forms.json +1 -1
  88. package/manifest/motion.json +3 -3
  89. package/manifest/navigation.json +104 -3
  90. package/manifest/overlays.json +15 -12
  91. package/package.json +6 -18
  92. package/scripts/cli.mjs +82 -5
  93. package/scripts/doctor.mjs +32 -4
  94. package/scripts/eslint-plugin.mjs +32 -0
  95. package/scripts/manifest.mjs +20 -0
  96. package/scripts/skill.mjs +85 -0
  97. package/scripts/upgrade.mjs +126 -0
  98. package/skill/SKILL.md +5 -2
  99. package/dist/ui/chart.d.ts +0 -65
  100. package/dist/ui/chart.js +0 -254
  101. package/dist/ui/sonner.d.ts +0 -6
  102. package/dist/ui/sonner.js +0 -60
@@ -158,6 +158,7 @@ declare const DsMessagesContext: React.Context<{
158
158
  composerRemoveFile: string;
159
159
  tagRemove: string;
160
160
  tagAdd: string;
161
+ planNotIncluded: string;
161
162
  composerCounter: string;
162
163
  composerDrop: string;
163
164
  composerUploading: string;
@@ -533,6 +534,59 @@ declare const DsMessagesContext: React.Context<{
533
534
  authErrorPasskeyFailed: string;
534
535
  authErrorNetwork: string;
535
536
  authErrorUnknown: string;
537
+ onboardingProgress: string;
538
+ onboardingComplete: string;
539
+ onboardingDismiss: string;
540
+ onboardingStepDone: string;
541
+ onboardingStepTodo: string;
542
+ onboardingOptional: string;
543
+ onboardingShowCompleted: string;
544
+ onboardingHideCompleted: string;
545
+ memberYou: string;
546
+ memberInvited: string;
547
+ memberSuspended: string;
548
+ memberRoleOf: string;
549
+ memberRemove: string;
550
+ memberResendInvite: string;
551
+ memberCancelInvite: string;
552
+ memberLastActive: string;
553
+ memberPendingInvites: string;
554
+ apiKeyCreated: string;
555
+ apiKeyLastUsed: string;
556
+ apiKeyNeverUsed: string;
557
+ apiKeyExpires: string;
558
+ apiKeyNoExpiry: string;
559
+ apiKeyExpired: string;
560
+ apiKeyRevoked: string;
561
+ apiKeyPaused: string;
562
+ apiKeyHealthy: string;
563
+ apiKeyFailing: string;
564
+ apiKeyRevoke: string;
565
+ apiKeyRoll: string;
566
+ apiKeyRevealTitle: string;
567
+ apiKeyRevealHint: string;
568
+ auditToday: string;
569
+ auditYesterday: string;
570
+ auditSystem: string;
571
+ planActive: string;
572
+ planTrialing: string;
573
+ planPastDue: string;
574
+ planCanceled: string;
575
+ planRenews: string;
576
+ planEnds: string;
577
+ planTrialEnds: string;
578
+ planUsage: string;
579
+ upgradeLocked: string;
580
+ upgradeRequires: string;
581
+ workspaceSwitch: string;
582
+ workspaceList: string;
583
+ workspaceCreate: string;
584
+ workspaceCurrent: string;
585
+ permissionHeader: string;
586
+ permissionAllowed: string;
587
+ permissionDenied: string;
588
+ permissionToggle: string;
589
+ permissionLocked: string;
536
590
  }>;
537
591
  /** Textos de los componentes en el idioma activo. */
538
592
  declare function useDsMessages(): DsMessages;
@@ -0,0 +1,3 @@
1
+ declare function useEscCloseStack(open: boolean, onClose: () => void): void;
2
+
3
+ export { useEscCloseStack };
@@ -0,0 +1,38 @@
1
+ "use client";
2
+ import * as React from "react";
3
+ const stack = [];
4
+ let listening = false;
5
+ function onKeyDown(e) {
6
+ if (e.key !== "Escape" || e.defaultPrevented || e.isComposing) return;
7
+ const top = stack[stack.length - 1];
8
+ if (!top) return;
9
+ e.preventDefault();
10
+ e.stopPropagation();
11
+ top.current();
12
+ }
13
+ function useEscCloseStack(open, onClose) {
14
+ const handler = React.useRef(onClose);
15
+ React.useEffect(() => {
16
+ handler.current = onClose;
17
+ });
18
+ React.useEffect(() => {
19
+ if (!open || typeof document === "undefined") return;
20
+ const entry = { current: () => handler.current() };
21
+ stack.push(entry);
22
+ if (!listening) {
23
+ document.addEventListener("keydown", onKeyDown);
24
+ listening = true;
25
+ }
26
+ return () => {
27
+ const i = stack.indexOf(entry);
28
+ if (i > -1) stack.splice(i, 1);
29
+ if (stack.length === 0 && listening) {
30
+ document.removeEventListener("keydown", onKeyDown);
31
+ listening = false;
32
+ }
33
+ };
34
+ }, [open]);
35
+ }
36
+ export {
37
+ useEscCloseStack
38
+ };
@@ -0,0 +1,11 @@
1
+ type SimulatedProgressOptions = {
2
+ /** Lo que se espera que tarde la tarea (ms). */
3
+ expectedMs?: number;
4
+ /** Techo mientras dura (0…100); nunca lo alcanza. */
5
+ ceiling?: number;
6
+ /** Tras terminar, vuelve a 0 pasados estos ms (null: se queda en 100). */
7
+ resetMs?: number | null;
8
+ };
9
+ declare function useSimulatedProgress(active: boolean, { expectedMs, ceiling, resetMs }?: SimulatedProgressOptions): number;
10
+
11
+ export { type SimulatedProgressOptions, useSimulatedProgress };
@@ -0,0 +1,30 @@
1
+ "use client";
2
+ import * as React from "react";
3
+ function useSimulatedProgress(active, { expectedMs = 8e3, ceiling = 90, resetMs = null } = {}) {
4
+ const [value, setValue] = React.useState(0);
5
+ const wasActive = React.useRef(false);
6
+ React.useEffect(() => {
7
+ if (active) {
8
+ wasActive.current = true;
9
+ setValue(0);
10
+ const start = performance.now();
11
+ const tau = Math.max(expectedMs, 1) / 2.3;
12
+ const reduced = typeof matchMedia !== "undefined" && matchMedia("(prefers-reduced-motion: reduce)").matches;
13
+ const id2 = setInterval(() => {
14
+ const t = performance.now() - start;
15
+ setValue(ceiling * (1 - Math.exp(-t / tau)));
16
+ }, reduced ? 500 : 100);
17
+ return () => clearInterval(id2);
18
+ }
19
+ if (!wasActive.current) return;
20
+ wasActive.current = false;
21
+ setValue(100);
22
+ if (resetMs == null) return;
23
+ const id = setTimeout(() => setValue(0), resetMs);
24
+ return () => clearTimeout(id);
25
+ }, [active, expectedMs, ceiling, resetMs]);
26
+ return Math.round(value * 10) / 10;
27
+ }
28
+ export {
29
+ useSimulatedProgress
30
+ };
@@ -0,0 +1,3 @@
1
+ declare const BRAND_PUBLIC_TOKENS: ReadonlySet<string>;
2
+
3
+ export { BRAND_PUBLIC_TOKENS };