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.
- package/AGENTS.md +42 -10
- package/CHANGELOG.md +489 -0
- package/README.md +2 -2
- package/components.manifest.json +590 -83
- package/dist/hooks/use-ds-messages.d.ts +54 -0
- package/dist/hooks/use-esc-close-stack.d.ts +3 -0
- package/dist/hooks/use-esc-close-stack.js +38 -0
- package/dist/hooks/use-simulated-progress.d.ts +11 -0
- package/dist/hooks/use-simulated-progress.js +30 -0
- package/dist/lib/brand-allowlist.d.ts +3 -0
- package/dist/lib/brand-allowlist.js +719 -0
- package/dist/lib/brand-runtime.d.ts +52 -0
- package/dist/lib/brand-runtime.js +85 -0
- package/dist/lib/echarts-presets.d.ts +81 -1
- package/dist/lib/echarts-presets.js +152 -1
- package/dist/lib/echarts-setup.js +2 -0
- package/dist/lib/i18n.d.ts +54 -0
- package/dist/lib/i18n.js +165 -3
- package/dist/lib/locales/de.js +55 -1
- package/dist/lib/locales/fr.js +55 -1
- package/dist/lib/locales/he.js +55 -1
- package/dist/lib/locales/it.js +55 -1
- package/dist/styles.css +44 -0
- package/dist/themes/tactile.css +1 -6
- package/dist/themes/tactile.scoped.css +1 -6
- package/dist/ui/alert.d.ts +1 -1
- package/dist/ui/api-key-list.d.ts +40 -0
- package/dist/ui/api-key-list.js +89 -0
- package/dist/ui/attachment.d.ts +3 -3
- package/dist/ui/audit-log.d.ts +53 -0
- package/dist/ui/audit-log.js +102 -0
- package/dist/ui/banner.d.ts +1 -1
- package/dist/ui/bubble.d.ts +1 -1
- package/dist/ui/button-group.d.ts +1 -1
- package/dist/ui/button.d.ts +2 -2
- package/dist/ui/chart-card.d.ts +0 -1
- package/dist/ui/context-menu.js +2 -2
- package/dist/ui/cta-banner.d.ts +30 -0
- package/dist/ui/cta-banner.js +63 -0
- package/dist/ui/detail-panel.d.ts +3 -1
- package/dist/ui/detail-panel.js +2 -2
- package/dist/ui/faq.d.ts +34 -0
- package/dist/ui/faq.js +25 -0
- package/dist/ui/feature-grid.d.ts +40 -0
- package/dist/ui/feature-grid.js +40 -0
- package/dist/ui/field.d.ts +1 -1
- package/dist/ui/input-group.d.ts +1 -1
- package/dist/ui/item.d.ts +3 -3
- package/dist/ui/landing-section.d.ts +34 -0
- package/dist/ui/landing-section.js +59 -0
- package/dist/ui/marker.d.ts +1 -1
- package/dist/ui/member-list.d.ts +43 -0
- package/dist/ui/member-list.js +107 -0
- package/dist/ui/onboarding-checklist.d.ts +38 -0
- package/dist/ui/onboarding-checklist.js +132 -0
- package/dist/ui/panel.d.ts +2 -2
- package/dist/ui/permission-matrix.d.ts +35 -0
- package/dist/ui/permission-matrix.js +89 -0
- package/dist/ui/plan-summary.d.ts +59 -0
- package/dist/ui/plan-summary.js +92 -0
- package/dist/ui/popover.d.ts +1 -1
- package/dist/ui/pricing-table.d.ts +29 -0
- package/dist/ui/pricing-table.js +86 -0
- package/dist/ui/sheet.d.ts +2 -2
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/sidebar.d.ts +1 -1
- package/dist/ui/sparkline.d.ts +1 -1
- package/dist/ui/status-badge.d.ts +2 -2
- package/dist/ui/tabs.d.ts +1 -1
- package/dist/ui/testimonial.d.ts +37 -0
- package/dist/ui/testimonial.js +61 -0
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/upgrade-prompt.d.ts +24 -0
- package/dist/ui/upgrade-prompt.js +85 -0
- package/dist/ui/workspace-switcher.d.ts +28 -0
- package/dist/ui/workspace-switcher.js +92 -0
- package/docs/GRAFICOS.md +1 -1
- package/docs/designer/patrones.md +36 -3
- package/manifest/actions.json +1 -1
- package/manifest/agents.json +1 -1
- package/manifest/ai.json +1 -1
- package/manifest/auth.json +1 -1
- package/manifest/chat.json +1 -1
- package/manifest/content.json +496 -1
- package/manifest/data.json +498 -103
- package/manifest/feedback.json +234 -47
- package/manifest/forms.json +1 -1
- package/manifest/motion.json +3 -3
- package/manifest/navigation.json +104 -3
- package/manifest/overlays.json +15 -12
- package/package.json +6 -18
- package/scripts/cli.mjs +82 -5
- package/scripts/doctor.mjs +32 -4
- package/scripts/eslint-plugin.mjs +32 -0
- package/scripts/manifest.mjs +20 -0
- package/scripts/skill.mjs +85 -0
- package/scripts/upgrade.mjs +126 -0
- package/skill/SKILL.md +5 -2
- package/dist/ui/chart.d.ts +0 -65
- package/dist/ui/chart.js +0 -254
- package/dist/ui/sonner.d.ts +0 -6
- 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,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
|
+
};
|