orbital-ds 0.13.0 → 0.13.2
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 +4 -2
- package/components.manifest.json +1906 -1906
- package/contract.json +1 -1
- package/dist/hooks/use-ds-messages.js +1 -1
- package/dist/hooks/use-ds-motion.js +1 -1
- package/dist/lib/echarts-server.js +2 -2
- package/dist/styles.css +2 -0
- package/dist/themes/friendly.css +9 -12
- package/dist/themes/friendly.scoped.css +9 -12
- package/dist/themes/tactile.css +10 -5
- package/dist/themes/tactile.scoped.css +10 -5
- package/dist/themes/twitter.css +6 -11
- package/dist/themes/twitter.scoped.css +6 -11
- package/dist/themes/zyro.css +8 -25
- package/dist/themes/zyro.scoped.css +8 -25
- package/dist/ui/accordion.js +1 -1
- package/dist/ui/alert-dialog.js +2 -2
- package/dist/ui/alert.js +1 -1
- package/dist/ui/aspect-ratio.js +1 -1
- package/dist/ui/attachment.d.ts +1 -1
- package/dist/ui/attachment.js +2 -2
- package/dist/ui/avatar.js +1 -1
- package/dist/ui/ayuda.js +1 -1
- package/dist/ui/badge.js +1 -1
- package/dist/ui/banner.js +1 -1
- package/dist/ui/breadcrumb.js +2 -2
- package/dist/ui/bubble.js +1 -1
- package/dist/ui/button-group.js +2 -2
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/button.js +5 -5
- package/dist/ui/calendar.js +3 -3
- package/dist/ui/card.js +1 -1
- package/dist/ui/carousel.js +3 -3
- package/dist/ui/chart.js +1 -1
- package/dist/ui/checkbox.js +1 -1
- package/dist/ui/code-block.js +3 -3
- package/dist/ui/combobox.js +3 -3
- package/dist/ui/command.js +4 -4
- package/dist/ui/context-menu.js +1 -1
- package/dist/ui/data-table.js +12 -12
- package/dist/ui/date-picker.js +6 -6
- package/dist/ui/dialog.js +3 -3
- package/dist/ui/drawer.js +1 -1
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/dropzone.js +4 -4
- package/dist/ui/echart.js +5 -5
- package/dist/ui/empty.js +1 -1
- package/dist/ui/eyebrow.js +1 -1
- package/dist/ui/field.js +3 -3
- package/dist/ui/filter-bar.js +5 -5
- package/dist/ui/gauge.js +3 -3
- package/dist/ui/heatmap-grid.js +4 -4
- package/dist/ui/hover-card.js +1 -1
- package/dist/ui/i18n-provider.js +2 -2
- package/dist/ui/icon-tile.js +1 -1
- package/dist/ui/input-group.d.ts +1 -1
- package/dist/ui/input-group.js +4 -4
- package/dist/ui/input-otp.js +1 -1
- package/dist/ui/input.js +1 -1
- package/dist/ui/item.d.ts +1 -1
- package/dist/ui/item.js +2 -2
- package/dist/ui/kbd.js +1 -1
- package/dist/ui/label.js +1 -1
- package/dist/ui/legend.js +1 -1
- package/dist/ui/level-meter.js +3 -3
- package/dist/ui/marker.d.ts +1 -1
- package/dist/ui/marker.js +1 -1
- package/dist/ui/menubar.js +2 -2
- package/dist/ui/message-scroller.js +3 -3
- package/dist/ui/message.js +1 -1
- package/dist/ui/motion-provider.js +1 -1
- package/dist/ui/native-select.js +1 -1
- package/dist/ui/navigation-menu.js +1 -1
- package/dist/ui/notifications.js +8 -8
- package/dist/ui/page-header.js +2 -2
- package/dist/ui/pagination.js +3 -3
- package/dist/ui/panel.js +1 -1
- package/dist/ui/password-strength.js +3 -3
- package/dist/ui/popover.js +1 -1
- package/dist/ui/progress.js +1 -1
- package/dist/ui/proportion-bar.js +3 -3
- package/dist/ui/questionnaire.js +3 -3
- package/dist/ui/radio-group.js +1 -1
- package/dist/ui/resizable.js +1 -1
- package/dist/ui/scroll-area.js +1 -1
- package/dist/ui/select.js +1 -1
- package/dist/ui/separator.js +1 -1
- package/dist/ui/sheet.js +3 -3
- package/dist/ui/shield.js +4 -4
- package/dist/ui/sidebar.js +9 -9
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/slider.js +1 -1
- package/dist/ui/sparkline.js +1 -1
- package/dist/ui/spinner.js +2 -2
- package/dist/ui/stat.js +6 -6
- package/dist/ui/status-badge.js +3 -3
- package/dist/ui/status-hero.js +3 -3
- package/dist/ui/step-dots.js +3 -3
- package/dist/ui/step-ring.js +3 -3
- package/dist/ui/stepper.js +3 -3
- package/dist/ui/switch.js +1 -1
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/task-loader.js +2 -2
- package/dist/ui/task-progress.js +3 -3
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/timeline.js +3 -3
- package/dist/ui/toast.js +3 -3
- package/dist/ui/toggle-group.js +2 -2
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/docs/adr/0002-sistemas-corporativos-al-modelo.md +1 -1
- package/package.json +1 -1
- package/scripts/doctor.mjs +578 -578
package/dist/ui/marker.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { useRender } from '@base-ui/react/use-render';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const markerVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "separator" | "default" | "border" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Marker({ className, variant, render, ...props }: useRender.ComponentProps<"div"> & VariantProps<typeof markerVariants>): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
10
10
|
declare function MarkerIcon({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
package/dist/ui/marker.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
6
|
const markerVariants = cva(
|
|
7
7
|
"group/marker relative flex min-h-4 w-full items-center gap-2 text-left text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground",
|
|
8
8
|
{
|
package/dist/ui/menubar.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Menu as MenuPrimitive } from "@base-ui/react/menu";
|
|
4
4
|
import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
6
|
import {
|
|
7
7
|
DropdownMenu,
|
|
8
8
|
DropdownMenuContent,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
DropdownMenuSubContent,
|
|
18
18
|
DropdownMenuSubTrigger,
|
|
19
19
|
DropdownMenuTrigger
|
|
20
|
-
} from "./dropdown-menu";
|
|
20
|
+
} from "./dropdown-menu.js";
|
|
21
21
|
import { CheckIcon } from "lucide-react";
|
|
22
22
|
function Menubar({ className, ...props }) {
|
|
23
23
|
return /* @__PURE__ */ jsx(
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
useMessageScrollerScrollable,
|
|
7
7
|
useMessageScrollerVisibility
|
|
8
8
|
} from "@shadcn/react/message-scroller";
|
|
9
|
-
import { cn } from "../lib/utils";
|
|
10
|
-
import { Button } from "./button";
|
|
9
|
+
import { cn } from "../lib/utils.js";
|
|
10
|
+
import { Button } from "./button.js";
|
|
11
11
|
import { ArrowDownIcon } from "lucide-react";
|
|
12
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
12
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
13
13
|
function MessageScrollerProvider(props) {
|
|
14
14
|
return /* @__PURE__ */ jsx(MessageScrollerPrimitive.Provider, { ...props });
|
|
15
15
|
}
|
package/dist/ui/message.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { MotionConfig } from "motion/react";
|
|
4
|
-
import { useDsTransition } from "../hooks/use-ds-motion";
|
|
4
|
+
import { useDsTransition } from "../hooks/use-ds-motion.js";
|
|
5
5
|
function DsMotionProvider({
|
|
6
6
|
children,
|
|
7
7
|
duration = "base",
|
package/dist/ui/native-select.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
5
|
import { ChevronDownIcon } from "lucide-react";
|
|
6
6
|
function NavigationMenu({
|
|
7
7
|
align = "start",
|
package/dist/ui/notifications.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { BellIcon, BellOffIcon } from "lucide-react";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages";
|
|
6
|
-
import { dsFormat } from "../lib/i18n";
|
|
7
|
-
import { cn } from "../lib/utils";
|
|
8
|
-
import { Badge } from "./badge";
|
|
9
|
-
import { Button } from "./button";
|
|
10
|
-
import { IconTile } from "./icon-tile";
|
|
11
|
-
import { Popover, PopoverContent, PopoverTrigger } from "./popover";
|
|
12
|
-
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./tabs";
|
|
5
|
+
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages.js";
|
|
6
|
+
import { dsFormat } from "../lib/i18n.js";
|
|
7
|
+
import { cn } from "../lib/utils.js";
|
|
8
|
+
import { Badge } from "./badge.js";
|
|
9
|
+
import { Button } from "./button.js";
|
|
10
|
+
import { IconTile } from "./icon-tile.js";
|
|
11
|
+
import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
12
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./tabs.js";
|
|
13
13
|
function NotificationCenter({
|
|
14
14
|
unreadCount = 0,
|
|
15
15
|
onMarkAllRead,
|
package/dist/ui/page-header.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../lib/utils";
|
|
3
|
-
import { IconTile } from "./icon-tile";
|
|
2
|
+
import { cn } from "../lib/utils.js";
|
|
3
|
+
import { IconTile } from "./icon-tile.js";
|
|
4
4
|
function PageHeader({ className, ...props }) {
|
|
5
5
|
return /* @__PURE__ */ jsx(
|
|
6
6
|
"header",
|
package/dist/ui/pagination.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "../lib/utils";
|
|
4
|
-
import { Button } from "./button";
|
|
3
|
+
import { cn } from "../lib/utils.js";
|
|
4
|
+
import { Button } from "./button.js";
|
|
5
5
|
import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
|
|
6
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
6
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
7
7
|
function Pagination({ className, ...props }) {
|
|
8
8
|
const t = useDsMessages();
|
|
9
9
|
return /* @__PURE__ */ jsx(
|
package/dist/ui/panel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
2
2
|
import { useRender } from "@base-ui/react/use-render";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
5
|
const panelVariants = cva("group/panel min-w-0 rounded-card text-sm", {
|
|
6
6
|
variants: {
|
|
7
7
|
variant: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
5
|
-
import { dataToneVar } from "./legend";
|
|
3
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
|
+
import { dataToneVar } from "./legend.js";
|
|
6
6
|
const LEVEL_TONE = { weak: "danger", medium: "warning", strong: "success" };
|
|
7
7
|
function PasswordStrength({
|
|
8
8
|
value,
|
package/dist/ui/popover.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
5
|
function Popover({ ...props }) {
|
|
6
6
|
return /* @__PURE__ */ jsx(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
|
|
7
7
|
}
|
package/dist/ui/progress.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
6
|
-
import { dataToneBg } from "./legend";
|
|
4
|
+
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages.js";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
|
+
import { dataToneBg } from "./legend.js";
|
|
7
7
|
const HATCH = "var(--ds-hatch)";
|
|
8
8
|
function ProportionBar({
|
|
9
9
|
className,
|
package/dist/ui/questionnaire.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Questionnaire as QuestionnairePrimitive } from "@shadcn/react/questionnaire";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
5
|
-
import { buttonVariants } from "./button";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
|
+
import { buttonVariants } from "./button.js";
|
|
6
6
|
import { CheckIcon } from "lucide-react";
|
|
7
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
7
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
8
8
|
function Questionnaire({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
package/dist/ui/radio-group.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Radio as RadioPrimitive } from "@base-ui/react/radio";
|
|
3
3
|
import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
5
|
function RadioGroup({ className, ...props }) {
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
7
7
|
RadioGroupPrimitive,
|
package/dist/ui/resizable.js
CHANGED
package/dist/ui/scroll-area.js
CHANGED
package/dist/ui/select.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Select as SelectPrimitive } from "@base-ui/react/select";
|
|
3
|
-
import { cn } from "../lib/utils";
|
|
3
|
+
import { cn } from "../lib/utils.js";
|
|
4
4
|
import { ChevronDownIcon, CheckIcon, ChevronUpIcon } from "lucide-react";
|
|
5
5
|
const Select = SelectPrimitive.Root;
|
|
6
6
|
function SelectGroup({ className, ...props }) {
|
package/dist/ui/separator.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
5
|
function Separator({
|
|
6
6
|
className,
|
|
7
7
|
orientation = "horizontal",
|
package/dist/ui/sheet.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
5
|
-
import { Button } from "./button";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
|
+
import { Button } from "./button.js";
|
|
6
6
|
import { XIcon } from "lucide-react";
|
|
7
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
7
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
8
8
|
function Sheet({ ...props }) {
|
|
9
9
|
return /* @__PURE__ */ jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
|
|
10
10
|
}
|
package/dist/ui/shield.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages";
|
|
5
|
-
import { dsFormat } from "../lib/i18n";
|
|
6
|
-
import { cn } from "../lib/utils";
|
|
7
|
-
import { dataToneVar } from "./legend";
|
|
4
|
+
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages.js";
|
|
5
|
+
import { dsFormat } from "../lib/i18n.js";
|
|
6
|
+
import { cn } from "../lib/utils.js";
|
|
7
|
+
import { dataToneVar } from "./legend.js";
|
|
8
8
|
const SHIELD_PATH = "M64 5.0003C65.8441 5.00024 67.0078 5.57611 67.3564 5.91045C75.7373 13.9567 91.3926 24.0714 118.666 28.9837C118.767 29.002 118.825 29.0412 118.854 29.0638C119.256 37.6016 119.301 58.4526 112.314 78.7581C105.364 98.9578 91.6913 118.097 64.7559 124.698H64.7549C64.7515 124.698 64.7461 124.699 64.7402 124.7C64.7346 124.7 64.7293 124.701 64.7246 124.701H63.2783C63.2735 124.701 63.2675 124.7 63.2617 124.7C63.2559 124.699 63.2505 124.698 63.2471 124.698H63.2461C36.3089 118.097 22.6357 98.9576 15.6855 78.7581C8.69902 58.4526 8.74294 37.6015 9.14551 29.0638C9.17323 29.0412 9.23199 29.0021 9.33398 28.9837C36.6076 24.0714 52.2627 13.9578 60.6436 5.91143C60.9918 5.57704 62.1556 5.00044 64 5.0003Z";
|
|
9
9
|
function Shield({
|
|
10
10
|
value,
|
package/dist/ui/sidebar.js
CHANGED
|
@@ -4,26 +4,26 @@ import * as React from "react";
|
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
6
6
|
import { useRender } from "@base-ui/react/use-render";
|
|
7
|
-
import { useIsMobile } from "../hooks/use-mobile";
|
|
8
|
-
import { cn } from "../lib/utils";
|
|
9
|
-
import { Button } from "./button";
|
|
10
|
-
import { Input } from "./input";
|
|
11
|
-
import { Separator } from "./separator";
|
|
7
|
+
import { useIsMobile } from "../hooks/use-mobile.js";
|
|
8
|
+
import { cn } from "../lib/utils.js";
|
|
9
|
+
import { Button } from "./button.js";
|
|
10
|
+
import { Input } from "./input.js";
|
|
11
|
+
import { Separator } from "./separator.js";
|
|
12
12
|
import {
|
|
13
13
|
Sheet,
|
|
14
14
|
SheetContent,
|
|
15
15
|
SheetDescription,
|
|
16
16
|
SheetHeader,
|
|
17
17
|
SheetTitle
|
|
18
|
-
} from "./sheet";
|
|
19
|
-
import { Skeleton } from "./skeleton";
|
|
18
|
+
} from "./sheet.js";
|
|
19
|
+
import { Skeleton } from "./skeleton.js";
|
|
20
20
|
import {
|
|
21
21
|
Tooltip,
|
|
22
22
|
TooltipContent,
|
|
23
23
|
TooltipTrigger
|
|
24
|
-
} from "./tooltip";
|
|
24
|
+
} from "./tooltip.js";
|
|
25
25
|
import { PanelLeftIcon } from "lucide-react";
|
|
26
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
26
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
27
27
|
const SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
28
28
|
const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
29
29
|
const SIDEBAR_WIDTH = "var(--ds-sidebar-w)";
|
package/dist/ui/skeleton.js
CHANGED
package/dist/ui/slider.js
CHANGED
package/dist/ui/sparkline.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { cn } from "../lib/utils";
|
|
3
|
+
import { cn } from "../lib/utils.js";
|
|
4
4
|
const sparklineVariants = cva(
|
|
5
5
|
"block h-(--ds-sparkline-h) w-full overflow-visible fill-none stroke-current stroke-(length:--ds-sparkline-w)",
|
|
6
6
|
{
|
package/dist/ui/spinner.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { cn } from "../lib/utils";
|
|
3
|
+
import { cn } from "../lib/utils.js";
|
|
4
4
|
import { Loader2Icon } from "lucide-react";
|
|
5
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
5
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
6
6
|
function Spinner({ className, ...props }) {
|
|
7
7
|
const t = useDsMessages();
|
|
8
8
|
return /* @__PURE__ */ jsx(Loader2Icon, { "data-slot": "spinner", role: "status", "aria-label": t.loading, className: cn("size-4 animate-spin [animation-duration:var(--ds-motion-spin)]", className), ...props });
|
package/dist/ui/stat.js
CHANGED
|
@@ -3,12 +3,12 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
import { ArrowDownIcon, ArrowUpIcon, MinusIcon } from "lucide-react";
|
|
6
|
-
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages";
|
|
7
|
-
import { cn } from "../lib/utils";
|
|
8
|
-
import { eyebrowClassName } from "./eyebrow";
|
|
9
|
-
import { Panel } from "./panel";
|
|
10
|
-
import { Skeleton } from "./skeleton";
|
|
11
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from "./tooltip";
|
|
6
|
+
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages.js";
|
|
7
|
+
import { cn } from "../lib/utils.js";
|
|
8
|
+
import { eyebrowClassName } from "./eyebrow.js";
|
|
9
|
+
import { Panel } from "./panel.js";
|
|
10
|
+
import { Skeleton } from "./skeleton.js";
|
|
11
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "./tooltip.js";
|
|
12
12
|
const StatContext = React.createContext({ variant: "card", size: "auto", labelId: "" });
|
|
13
13
|
const statVariants = cva("group/stat @container/stat min-w-0", {
|
|
14
14
|
variants: {
|
package/dist/ui/status-badge.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { InfoIcon } from "lucide-react";
|
|
5
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
6
|
-
import { cn } from "../lib/utils";
|
|
7
|
-
import { Popover, PopoverContent, PopoverTrigger } from "./popover";
|
|
5
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
6
|
+
import { cn } from "../lib/utils.js";
|
|
7
|
+
import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
8
8
|
const levelTone = {
|
|
9
9
|
critical: "danger",
|
|
10
10
|
warning: "warning",
|
package/dist/ui/status-hero.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { InfoIcon, MinusIcon, ShieldCheckIcon, ShieldXIcon, TriangleAlertIcon } from "lucide-react";
|
|
4
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
6
|
-
import { dataToneVar } from "./legend";
|
|
4
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
|
+
import { dataToneVar } from "./legend.js";
|
|
7
7
|
const BADGE_ICON = {
|
|
8
8
|
success: ShieldCheckIcon,
|
|
9
9
|
warning: TriangleAlertIcon,
|
package/dist/ui/step-dots.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
4
|
-
import { dsFormat } from "../lib/i18n";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
3
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
4
|
+
import { dsFormat } from "../lib/i18n.js";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
6
|
function StepDots({
|
|
7
7
|
count,
|
|
8
8
|
current,
|
package/dist/ui/step-ring.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
4
|
-
import { dsFormat } from "../lib/i18n";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
3
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
4
|
+
import { dsFormat } from "../lib/i18n.js";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
6
|
function StepRing({
|
|
7
7
|
total = 4,
|
|
8
8
|
completed,
|
package/dist/ui/stepper.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { CheckIcon, TriangleAlertIcon } from "lucide-react";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
6
|
-
import { dsFormat } from "../lib/i18n";
|
|
7
|
-
import { cn } from "../lib/utils";
|
|
5
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
6
|
+
import { dsFormat } from "../lib/i18n.js";
|
|
7
|
+
import { cn } from "../lib/utils.js";
|
|
8
8
|
const StepperItemContext = React.createContext({ status: "upcoming" });
|
|
9
9
|
function useStepperItem() {
|
|
10
10
|
return React.useContext(StepperItemContext);
|
package/dist/ui/switch.js
CHANGED
package/dist/ui/table.js
CHANGED
package/dist/ui/tabs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
6
|
function Tabs({
|
|
7
7
|
className,
|
|
8
8
|
orientation = "horizontal",
|
package/dist/ui/task-loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
3
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
5
|
function TaskLoader({
|
|
6
6
|
icon,
|
|
7
7
|
value,
|
package/dist/ui/task-progress.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { CheckIcon } from "lucide-react";
|
|
5
|
-
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages";
|
|
6
|
-
import { dsFormat } from "../lib/i18n";
|
|
7
|
-
import { cn } from "../lib/utils";
|
|
5
|
+
import { useDsLocale, useDsMessages } from "../hooks/use-ds-messages.js";
|
|
6
|
+
import { dsFormat } from "../lib/i18n.js";
|
|
7
|
+
import { cn } from "../lib/utils.js";
|
|
8
8
|
function TaskProgress({
|
|
9
9
|
label,
|
|
10
10
|
value,
|
package/dist/ui/textarea.js
CHANGED
package/dist/ui/timeline.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import { useDsLocale } from "../hooks/use-ds-messages";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
6
|
-
import { IconTile } from "./icon-tile";
|
|
4
|
+
import { useDsLocale } from "../hooks/use-ds-messages.js";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
|
+
import { IconTile } from "./icon-tile.js";
|
|
7
7
|
const TimelineItemContext = React.createContext("neutral");
|
|
8
8
|
function Timeline({ className, ...props }) {
|
|
9
9
|
return /* @__PURE__ */ jsx("ol", { "data-slot": "timeline", className: cn("group/timeline flex flex-col", className), ...props });
|
package/dist/ui/toast.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Toast as ToastPrimitive } from "@base-ui/react/toast";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
5
|
-
import { Button } from "./button";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
|
+
import { Button } from "./button.js";
|
|
6
6
|
import { XIcon, CircleCheckIcon, InfoIcon, TriangleAlertIcon, OctagonXIcon, Loader2Icon } from "lucide-react";
|
|
7
|
-
import { useDsMessages } from "../hooks/use-ds-messages";
|
|
7
|
+
import { useDsMessages } from "../hooks/use-ds-messages.js";
|
|
8
8
|
const toast = ToastPrimitive.createToastManager();
|
|
9
9
|
function ToastProvider({ ...props }) {
|
|
10
10
|
return /* @__PURE__ */ jsx(ToastPrimitive.Provider, { ...props });
|
package/dist/ui/toggle-group.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { Toggle as TogglePrimitive } from "@base-ui/react/toggle";
|
|
4
4
|
import { ToggleGroup as ToggleGroupPrimitive } from "@base-ui/react/toggle-group";
|
|
5
|
-
import { cn } from "../lib/utils";
|
|
6
|
-
import { toggleVariants } from "./toggle";
|
|
5
|
+
import { cn } from "../lib/utils.js";
|
|
6
|
+
import { toggleVariants } from "./toggle.js";
|
|
7
7
|
const ToggleGroupContext = React.createContext({
|
|
8
8
|
size: "default",
|
|
9
9
|
variant: "default",
|
package/dist/ui/toggle.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Toggle as TogglePrimitive } from "@base-ui/react/toggle";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { cn } from "../lib/utils";
|
|
4
|
+
import { cn } from "../lib/utils.js";
|
|
5
5
|
const toggleVariants = cva(
|
|
6
6
|
"group/toggle inline-flex items-center justify-center gap-1 rounded-control text-sm font-(--ds-medium-weight) whitespace-nowrap transition-colors duration-(--ds-motion-snap) outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-(length:--ds-ring-width) focus-visible:ring-(--ds-ring-color) disabled:pointer-events-none disabled:opacity-(--ds-disabled-opacity) aria-invalid:border-(--ds-invalid-border) aria-invalid:ring-(--ds-invalid-ring) aria-pressed:bg-muted [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
7
7
|
{
|
package/dist/ui/tooltip.js
CHANGED
|
@@ -159,7 +159,7 @@ entrada en el manifiesto. Fractalia da sus valores en `fractalia.css`.
|
|
|
159
159
|
|---|---|---|
|
|
160
160
|
| **F1 · Tema por tokens** ✅ hecho: 33 propiedades × 2 pieles idénticas; solo cambian los valores del DS de H2 | H1 + H2 + pesos de H3 en `fractalia.css`; quitar las privadas sustituibles | `pnpm verify`; comparar valores calculados antes/después de cada slot (sin cambio visual salvo los valores del DS de H2); `check:ds -- --aaa` |
|
|
161
161
|
| **F2 · Huecos del núcleo** ✅ hecho (botón, pestañas, insignia; `--ds-medium-weight` pendiente); tokens.json de los 6 temas sin cambios | H4 + `--ds-medium-weight` (H3), con valor neutro | `pnpm verify` + escaparate compilado; el resto de temas idénticos (tokens.json sin cambios) |
|
|
162
|
-
| **F1b · Resto de temas** | traducir friendly, tactile, twitter y zyro a sus huecos (35 avisos de `slotTokens` hoy), con la misma comparación antes/después; ojo: `--ds-field-bg` lo leen también outline (botón, insignia) | comparación de valores efectivos por tema; después, `slotTokens` pasa a error en strict |
|
|
162
|
+
| **F1b · Resto de temas** ✅ hecho (0.13.1): 35 avisos → 0; radio, campos, etiquetas y pestañas en sus huecos; nuevo `--ds-radius-button-icon` (botón de solo icono); `slotTokens` ya es error en strict | traducir friendly, tactile, twitter y zyro a sus huecos (35 avisos de `slotTokens` hoy), con la misma comparación antes/después; ojo: `--ds-field-bg` lo leen también outline (botón, insignia) | comparación de valores efectivos por tema; después, `slotTokens` pasa a error en strict |
|
|
163
163
|
| **F3 · Doctor** ✅ hecho: pesos cargados (1d) y huecos públicos (`slotTokens`, aviso) | `slotTokens` (estándar 3) y pesos cargados (estándar 4) | probar que falla con el fractalia actual y pasa tras F1 |
|
|
164
164
|
| **F4 · Componentes** ✅ hechos: Shield/ShieldRadar, Gauge, PasswordStrength, StepDots, StepRing, TaskProgress, LevelMeter, StatusHero, TaskLoader y StatusDot size; renderizado comprobado | por orden: `Shield`/`ShieldRadar`, `Gauge`, `PasswordStrength`, `StepDots`/`StepProgressRing`, `TaskProgress`/`LevelMeter`, `StatusHero` + tamaños de `StatusDot`, `TaskLoader` | por pieza: doctor (tokens, textos, demo), typecheck, build, `check:bundle`, manifiesto, demo en los 6 temas × claro/oscuro, `--aaa`, RTL (clases lógicas) |
|
|
165
165
|
| **F5 · Decisiones de diseño** | ver §6 | con diseño de Fractalia |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orbital-ds",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "Sistema de diseño genérico: estructura común + temas con personalidad (qratia, zyro) + ~60 componentes sobre Base UI y Tailwind v4, con contrato verificable y legible por agentes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|