@still-void/ui 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/react/client/index.cjs +38 -30
- package/dist/react/client/index.cjs.map +1 -1
- package/dist/react/client/index.d.cts +1 -1
- package/dist/react/client/index.d.ts +1 -1
- package/dist/react/client/index.js +38 -30
- package/dist/react/client/index.js.map +1 -1
- package/dist/react/index.cjs +167 -154
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +20 -1
- package/dist/react/index.d.ts +20 -1
- package/dist/react/index.js +163 -151
- package/dist/react/index.js.map +1 -1
- package/dist/style.css +102 -25
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @still-void/ui
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#15](https://github.com/KalleoPinheiro/still-void/pull/15) [`55c25b4`](https://github.com/KalleoPinheiro/still-void/commit/55c25b4a778e074e97e2bbe0d7649edb3fc0e145) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - `Header`'s nav is now collapsible below 640px. It renders inside a native `<details>`/`<summary>` disclosure — zero JavaScript, no client boundary, `Header` stays server-safe. `<summary>` shows a `menu` icon as the tap target; opening it turns the nav into a right-aligned dropdown panel with 44px touch targets per link. Above 640px the markup is unchanged in behavior: CSS forces the nav to stay visible regardless of the native open/closed state, so there is exactly one `Header` markup for every width, never a duplicated mobile/desktop nav.
|
|
8
|
+
|
|
9
|
+
`headerClasses` gains two new keys: `navToggle` (`sv-header__nav-toggle`) and `navSummary` (`sv-header__nav-summary`), for consumers composing their own markup around the recipe instead of the `Header` component.
|
|
10
|
+
|
|
11
|
+
- [#15](https://github.com/KalleoPinheiro/still-void/pull/15) [`32a85e1`](https://github.com/KalleoPinheiro/still-void/commit/32a85e1e4edfabde308b8ca5c370f410f589cf44) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Add an invalid/error state to the form-field system. `Input`, `Textarea`, `NativeSelect`, and `FileInput` already spread `...props`, so `<Input aria-invalid="true" />` alone now paints the border (and the focus outline) in `var(--sv-danger-ink)` — no new boolean prop, no component change required.
|
|
12
|
+
|
|
13
|
+
New recipe, also exported from `@still-void/ui/react`: `fieldMessage(options?: { variant?: 'hint' | 'error' })`, styling the helper/error text meant to sit under a field and be linked to it via `aria-describedby`. Pair it with `aria-invalid` for a fully accessible error state.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#15](https://github.com/KalleoPinheiro/still-void/pull/15) [`218befc`](https://github.com/KalleoPinheiro/still-void/commit/218befc90b00f3bd36bbbbb34038f5f906f9fa46) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Close the last 5 findings from a design critique's mechanical detector sweep of the Storybook catalog: `CategoryPill`'s `RawColor` story is now marked with an inline exception comment (it demonstrates a documented arbitrary-color passthrough, exempted by DESIGN.md's One-Accent Rule — not drift), and four off-scale inline-style literals (`Icon.stories.tsx`, `Select.stories.tsx`, `Tooltip.stories.tsx` ×2) now reference real DESIGN.md tokens instead of hardcoded values. All changes are in Storybook demo code only — no component or CSS shipped to consumers changed.
|
|
18
|
+
|
|
19
|
+
- [#15](https://github.com/KalleoPinheiro/still-void/pull/15) [`26c2a0d`](https://github.com/KalleoPinheiro/still-void/commit/26c2a0d4527c5ed7973926d3eadeb94f6a25abf9) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Fix two stale spots in the shadcn Storybook catalog: `Button`'s `accent` variant — implemented since `3.0.0` and reading `var(--sv-accent-ink)` — was missing from the story's `argTypes` and `AllVariants` render, so it was undiscoverable without already knowing it existed; `Input`'s `FocusState` story described the pre-fix Tailwind `ring-2 ring-accent` mechanism instead of the `outline`-based focus ring the package has actually shipped since the WCAG 2.4.7 fix. Also replaced the raw 🎨 emoji standing in for an icon in `Button`'s icon-size stories with the package's own `Icon` component. No component or CSS changed.
|
|
20
|
+
|
|
21
|
+
- [#15](https://github.com/KalleoPinheiro/still-void/pull/15) [`36ba990`](https://github.com/KalleoPinheiro/still-void/commit/36ba990bf19e1959d7c3f9e6dbb786c21047b214) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Fix `Header`'s desktop nav going invisible in browsers that implement `<details>` via a `::details-content` pseudo-element (the newer WHATWG rendering model, e.g. current Chrome). That pseudo-element is `content-visibility: hidden` while `<details>` has no `open` attribute; overriding `display` on the light-DOM `.sv-header__nav` child alone never reached past it, so the ≥641px "no-op wrapper" rule silently failed to show the nav on a closed `<details>` in those browsers. The ≥641px media query now also resets `.sv-header__nav-toggle::details-content` (`content-visibility`, `block-size`, `overflow`) back to its unhidden defaults; browsers without `::details-content` support simply skip that rule and keep relying on the existing `display` override.
|
|
22
|
+
|
|
23
|
+
- [#15](https://github.com/KalleoPinheiro/still-void/pull/15) [`74ceb59`](https://github.com/KalleoPinheiro/still-void/commit/74ceb5933bebae70fb6f040cf9024e26104174d7) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Documentation-accuracy fixes surfaced by a design critique: `DESIGN.md`'s frontmatter listed `text-3-light: "#6F6F78"`, a value superseded by a second WCAG contrast fix (`#6D6D76`) that was already what shipped in `theme.css` — the frontmatter now matches. `DESIGN.md`'s Elevation section described the card hover lift as "1px translateY", while `.sv-card-hover:hover` has always shipped `translateY(-2px)` — the doc now matches the code. Also documented, in `docs/design-system.md` and `src/lib/utils.ts`, why `cn()` (shadcn-derived family, `clsx` + `tailwind-merge`) and `cx()` (`recipes/cx`, plain joiner) intentionally coexist rather than one replacing the other. No runtime behavior changed.
|
|
24
|
+
|
|
25
|
+
- [#15](https://github.com/KalleoPinheiro/still-void/pull/15) [`7a66d83`](https://github.com/KalleoPinheiro/still-void/commit/7a66d8304bbb34c3cf17f28cbb7aa40c10bd4960) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Fix the `Alert` Storybook stories to render the package's own `Icon` component instead of raw emoji (`ℹ️`, `✓`, `⚠️`, `✕`) — the catalog's primary discovery surface was demonstrating the exact anti-pattern the design system forbids. No component or CSS changed; `.sv-alert > svg` already positioned a real `<svg>` icon correctly.
|
|
26
|
+
|
|
27
|
+
## 3.0.1
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- [#13](https://github.com/KalleoPinheiro/still-void/pull/13) [`18d4660`](https://github.com/KalleoPinheiro/still-void/commit/18d4660d0d4996adacdaf04d5a732952acf17e90) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Give every Radix-derived component in the client family a real `displayName`. `Dialog`, `Tabs`, `Tooltip`, `Select`, `DropdownMenu`, and `AlertDialog` previously copied `displayName` from the underlying Radix primitive (`X.displayName = XPrimitive.Y.displayName`), but `@radix-ui/react-dialog`, `-tabs`, `-tooltip`, `-select`, and `-dropdown-menu` never declare one — so every one of these components showed up as `ForwardRef` in React DevTools instead of its own name. No behavior change.
|
|
32
|
+
|
|
33
|
+
- [#13](https://github.com/KalleoPinheiro/still-void/pull/13) [`64fa362`](https://github.com/KalleoPinheiro/still-void/commit/64fa3625070259b167372151c52fa1f4bffb2b64) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - `Tabs` now emits the `sv-tabs` container class on its root element and merges any consumer `className`, matching every other member of the family. `.sv-tabs` was already published in the package's CSS but nothing rendered it — worse, its default `align-items: stretch` would have forced the `inline-flex` `.sv-tabs__list` to the container's full width the moment a consumer applied the class by hand, so the rule now sets `align-items: flex-start`. No existing usage changes: `Tabs` still accepts every prop `TabsPrimitive.Root` does.
|
|
34
|
+
|
|
3
35
|
## 3.0.0
|
|
4
36
|
|
|
5
37
|
### Major Changes
|
|
@@ -574,7 +574,7 @@ var DialogOverlay = React2.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
574
574
|
...props
|
|
575
575
|
}
|
|
576
576
|
));
|
|
577
|
-
DialogOverlay.displayName =
|
|
577
|
+
DialogOverlay.displayName = "DialogOverlay";
|
|
578
578
|
var DialogContent = React2.forwardRef(({ className, children, showCloseButton = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(DialogPortal, { children: [
|
|
579
579
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DialogOverlay, {}),
|
|
580
580
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
@@ -594,7 +594,7 @@ var DialogContent = React2.forwardRef(({ className, children, showCloseButton =
|
|
|
594
594
|
}
|
|
595
595
|
)
|
|
596
596
|
] }));
|
|
597
|
-
DialogContent.displayName =
|
|
597
|
+
DialogContent.displayName = "DialogContent";
|
|
598
598
|
var DialogHeader = ({
|
|
599
599
|
className,
|
|
600
600
|
...props
|
|
@@ -613,7 +613,7 @@ var DialogTitle = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
613
613
|
...props
|
|
614
614
|
}
|
|
615
615
|
));
|
|
616
|
-
DialogTitle.displayName =
|
|
616
|
+
DialogTitle.displayName = "DialogTitle";
|
|
617
617
|
var DialogDescription = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
618
618
|
DialogPrimitive.Description,
|
|
619
619
|
{
|
|
@@ -622,7 +622,7 @@ var DialogDescription = React2.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
622
622
|
...props
|
|
623
623
|
}
|
|
624
624
|
));
|
|
625
|
-
DialogDescription.displayName =
|
|
625
|
+
DialogDescription.displayName = "DialogDescription";
|
|
626
626
|
|
|
627
627
|
// src/components/ui/alert-dialog.tsx
|
|
628
628
|
var React3 = __toESM(require("react"), 1);
|
|
@@ -639,7 +639,7 @@ var AlertDialogOverlay = React3.forwardRef(({ className, ...props }, ref) => /*
|
|
|
639
639
|
...props
|
|
640
640
|
}
|
|
641
641
|
));
|
|
642
|
-
AlertDialogOverlay.displayName =
|
|
642
|
+
AlertDialogOverlay.displayName = "AlertDialogOverlay";
|
|
643
643
|
var AlertDialogContent = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(AlertDialogPortal, { children: [
|
|
644
644
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(AlertDialogOverlay, {}),
|
|
645
645
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
@@ -652,7 +652,7 @@ var AlertDialogContent = React3.forwardRef(({ className, ...props }, ref) => /*
|
|
|
652
652
|
}
|
|
653
653
|
)
|
|
654
654
|
] }));
|
|
655
|
-
AlertDialogContent.displayName =
|
|
655
|
+
AlertDialogContent.displayName = "AlertDialogContent";
|
|
656
656
|
var AlertDialogHeader = ({
|
|
657
657
|
className,
|
|
658
658
|
...props
|
|
@@ -671,7 +671,7 @@ var AlertDialogTitle = React3.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
671
671
|
...props
|
|
672
672
|
}
|
|
673
673
|
));
|
|
674
|
-
AlertDialogTitle.displayName =
|
|
674
|
+
AlertDialogTitle.displayName = "AlertDialogTitle";
|
|
675
675
|
var AlertDialogDescription = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
676
676
|
AlertDialogPrimitive.Description,
|
|
677
677
|
{
|
|
@@ -680,7 +680,7 @@ var AlertDialogDescription = React3.forwardRef(({ className, ...props }, ref) =>
|
|
|
680
680
|
...props
|
|
681
681
|
}
|
|
682
682
|
));
|
|
683
|
-
AlertDialogDescription.displayName =
|
|
683
|
+
AlertDialogDescription.displayName = "AlertDialogDescription";
|
|
684
684
|
var AlertDialogAction = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
685
685
|
AlertDialogPrimitive.Action,
|
|
686
686
|
{
|
|
@@ -689,7 +689,7 @@ var AlertDialogAction = React3.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
689
689
|
...props
|
|
690
690
|
}
|
|
691
691
|
));
|
|
692
|
-
AlertDialogAction.displayName =
|
|
692
|
+
AlertDialogAction.displayName = "AlertDialogAction";
|
|
693
693
|
var AlertDialogCancel = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
694
694
|
AlertDialogPrimitive.Cancel,
|
|
695
695
|
{
|
|
@@ -698,7 +698,7 @@ var AlertDialogCancel = React3.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
698
698
|
...props
|
|
699
699
|
}
|
|
700
700
|
));
|
|
701
|
-
AlertDialogCancel.displayName =
|
|
701
|
+
AlertDialogCancel.displayName = "AlertDialogCancel";
|
|
702
702
|
|
|
703
703
|
// src/components/ui/select.tsx
|
|
704
704
|
var React4 = __toESM(require("react"), 1);
|
|
@@ -727,7 +727,7 @@ var SelectTrigger = React4.forwardRef(
|
|
|
727
727
|
)
|
|
728
728
|
)
|
|
729
729
|
);
|
|
730
|
-
SelectTrigger.displayName =
|
|
730
|
+
SelectTrigger.displayName = "SelectTrigger";
|
|
731
731
|
var SelectScrollUpButton = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
732
732
|
SelectPrimitive.ScrollUpButton,
|
|
733
733
|
{
|
|
@@ -737,7 +737,7 @@ var SelectScrollUpButton = React4.forwardRef(({ className, ...props }, ref) => /
|
|
|
737
737
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "chevron-up" })
|
|
738
738
|
}
|
|
739
739
|
));
|
|
740
|
-
SelectScrollUpButton.displayName =
|
|
740
|
+
SelectScrollUpButton.displayName = "SelectScrollUpButton";
|
|
741
741
|
var SelectScrollDownButton = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
742
742
|
SelectPrimitive.ScrollDownButton,
|
|
743
743
|
{
|
|
@@ -747,7 +747,7 @@ var SelectScrollDownButton = React4.forwardRef(({ className, ...props }, ref) =>
|
|
|
747
747
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "chevron-down" })
|
|
748
748
|
}
|
|
749
749
|
));
|
|
750
|
-
SelectScrollDownButton.displayName =
|
|
750
|
+
SelectScrollDownButton.displayName = "SelectScrollDownButton";
|
|
751
751
|
var SelectContent = React4.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
752
752
|
SelectPrimitive.Content,
|
|
753
753
|
{
|
|
@@ -771,7 +771,7 @@ var SelectContent = React4.forwardRef(({ className, children, position = "popper
|
|
|
771
771
|
]
|
|
772
772
|
}
|
|
773
773
|
) }));
|
|
774
|
-
SelectContent.displayName =
|
|
774
|
+
SelectContent.displayName = "SelectContent";
|
|
775
775
|
var SelectItem = React4.forwardRef(({ className, children, icon = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { name: "check" }), ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
776
776
|
SelectPrimitive.Item,
|
|
777
777
|
{
|
|
@@ -784,7 +784,7 @@ var SelectItem = React4.forwardRef(({ className, children, icon = /* @__PURE__ *
|
|
|
784
784
|
]
|
|
785
785
|
}
|
|
786
786
|
));
|
|
787
|
-
SelectItem.displayName =
|
|
787
|
+
SelectItem.displayName = "SelectItem";
|
|
788
788
|
var SelectLabel = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
789
789
|
SelectPrimitive.Label,
|
|
790
790
|
{
|
|
@@ -793,7 +793,7 @@ var SelectLabel = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
793
793
|
...props
|
|
794
794
|
}
|
|
795
795
|
));
|
|
796
|
-
SelectLabel.displayName =
|
|
796
|
+
SelectLabel.displayName = "SelectLabel";
|
|
797
797
|
var SelectSeparator = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
798
798
|
SelectPrimitive.Separator,
|
|
799
799
|
{
|
|
@@ -802,7 +802,7 @@ var SelectSeparator = React4.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
802
802
|
...props
|
|
803
803
|
}
|
|
804
804
|
));
|
|
805
|
-
SelectSeparator.displayName =
|
|
805
|
+
SelectSeparator.displayName = "SelectSeparator";
|
|
806
806
|
|
|
807
807
|
// src/components/ui/dropdown-menu.tsx
|
|
808
808
|
var React5 = __toESM(require("react"), 1);
|
|
@@ -828,7 +828,7 @@ var DropdownMenuSubTrigger = React5.forwardRef(
|
|
|
828
828
|
}
|
|
829
829
|
)
|
|
830
830
|
);
|
|
831
|
-
DropdownMenuSubTrigger.displayName =
|
|
831
|
+
DropdownMenuSubTrigger.displayName = "DropdownMenuSubTrigger";
|
|
832
832
|
var DropdownMenuSubContent = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
833
833
|
DropdownMenuPrimitive.SubContent,
|
|
834
834
|
{
|
|
@@ -837,7 +837,7 @@ var DropdownMenuSubContent = React5.forwardRef(({ className, ...props }, ref) =>
|
|
|
837
837
|
...props
|
|
838
838
|
}
|
|
839
839
|
));
|
|
840
|
-
DropdownMenuSubContent.displayName =
|
|
840
|
+
DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
|
|
841
841
|
var DropdownMenuContent = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
842
842
|
DropdownMenuPrimitive.Content,
|
|
843
843
|
{
|
|
@@ -846,7 +846,7 @@ var DropdownMenuContent = React5.forwardRef(({ className, ...props }, ref) => /*
|
|
|
846
846
|
...props
|
|
847
847
|
}
|
|
848
848
|
) }));
|
|
849
|
-
DropdownMenuContent.displayName =
|
|
849
|
+
DropdownMenuContent.displayName = "DropdownMenuContent";
|
|
850
850
|
var DropdownMenuItem = React5.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
851
851
|
DropdownMenuPrimitive.Item,
|
|
852
852
|
{
|
|
@@ -855,7 +855,7 @@ var DropdownMenuItem = React5.forwardRef(({ className, inset, ...props }, ref) =
|
|
|
855
855
|
...props
|
|
856
856
|
}
|
|
857
857
|
));
|
|
858
|
-
DropdownMenuItem.displayName =
|
|
858
|
+
DropdownMenuItem.displayName = "DropdownMenuItem";
|
|
859
859
|
var DropdownMenuCheckboxItem = React5.forwardRef(({ className, children, icon = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { name: "check" }), ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
860
860
|
DropdownMenuPrimitive.CheckboxItem,
|
|
861
861
|
{
|
|
@@ -868,7 +868,7 @@ var DropdownMenuCheckboxItem = React5.forwardRef(({ className, children, icon =
|
|
|
868
868
|
]
|
|
869
869
|
}
|
|
870
870
|
));
|
|
871
|
-
DropdownMenuCheckboxItem.displayName =
|
|
871
|
+
DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";
|
|
872
872
|
var DropdownMenuRadioItem = React5.forwardRef(
|
|
873
873
|
({ className, children, icon = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "sv-menu-item__dot" }), ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
874
874
|
DropdownMenuPrimitive.RadioItem,
|
|
@@ -883,7 +883,7 @@ var DropdownMenuRadioItem = React5.forwardRef(
|
|
|
883
883
|
}
|
|
884
884
|
)
|
|
885
885
|
);
|
|
886
|
-
DropdownMenuRadioItem.displayName =
|
|
886
|
+
DropdownMenuRadioItem.displayName = "DropdownMenuRadioItem";
|
|
887
887
|
var DropdownMenuLabel = React5.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
888
888
|
DropdownMenuPrimitive.Label,
|
|
889
889
|
{
|
|
@@ -892,7 +892,7 @@ var DropdownMenuLabel = React5.forwardRef(({ className, inset, ...props }, ref)
|
|
|
892
892
|
...props
|
|
893
893
|
}
|
|
894
894
|
));
|
|
895
|
-
DropdownMenuLabel.displayName =
|
|
895
|
+
DropdownMenuLabel.displayName = "DropdownMenuLabel";
|
|
896
896
|
var DropdownMenuSeparator = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
897
897
|
DropdownMenuPrimitive.Separator,
|
|
898
898
|
{
|
|
@@ -901,7 +901,7 @@ var DropdownMenuSeparator = React5.forwardRef(({ className, ...props }, ref) =>
|
|
|
901
901
|
...props
|
|
902
902
|
}
|
|
903
903
|
));
|
|
904
|
-
DropdownMenuSeparator.displayName =
|
|
904
|
+
DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
|
|
905
905
|
var DropdownMenuShortcut = ({
|
|
906
906
|
className,
|
|
907
907
|
...props
|
|
@@ -912,7 +912,15 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
|
912
912
|
var React6 = __toESM(require("react"), 1);
|
|
913
913
|
var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"), 1);
|
|
914
914
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
915
|
-
var Tabs =
|
|
915
|
+
var Tabs = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
916
|
+
TabsPrimitive.Root,
|
|
917
|
+
{
|
|
918
|
+
ref,
|
|
919
|
+
className: cn("sv-tabs", className),
|
|
920
|
+
...props
|
|
921
|
+
}
|
|
922
|
+
));
|
|
923
|
+
Tabs.displayName = "Tabs";
|
|
916
924
|
var TabsList = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
917
925
|
TabsPrimitive.List,
|
|
918
926
|
{
|
|
@@ -921,7 +929,7 @@ var TabsList = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
921
929
|
...props
|
|
922
930
|
}
|
|
923
931
|
));
|
|
924
|
-
TabsList.displayName =
|
|
932
|
+
TabsList.displayName = "TabsList";
|
|
925
933
|
var TabsTrigger = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
926
934
|
TabsPrimitive.Trigger,
|
|
927
935
|
{
|
|
@@ -930,7 +938,7 @@ var TabsTrigger = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
930
938
|
...props
|
|
931
939
|
}
|
|
932
940
|
));
|
|
933
|
-
TabsTrigger.displayName =
|
|
941
|
+
TabsTrigger.displayName = "TabsTrigger";
|
|
934
942
|
var TabsContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
935
943
|
TabsPrimitive.Content,
|
|
936
944
|
{
|
|
@@ -939,7 +947,7 @@ var TabsContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
939
947
|
...props
|
|
940
948
|
}
|
|
941
949
|
));
|
|
942
|
-
TabsContent.displayName =
|
|
950
|
+
TabsContent.displayName = "TabsContent";
|
|
943
951
|
|
|
944
952
|
// src/components/ui/tooltip.tsx
|
|
945
953
|
var React7 = __toESM(require("react"), 1);
|
|
@@ -957,7 +965,7 @@ var TooltipContent = React7.forwardRef(({ className, sideOffset = 4, ...props },
|
|
|
957
965
|
...props
|
|
958
966
|
}
|
|
959
967
|
));
|
|
960
|
-
TooltipContent.displayName =
|
|
968
|
+
TooltipContent.displayName = "TooltipContent";
|
|
961
969
|
// Annotate the CommonJS export names for ESM import in node:
|
|
962
970
|
0 && (module.exports = {
|
|
963
971
|
AlertDialog,
|