@lssm/lib.ui-kit-web 1.11.1 → 1.41.1
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/README.md +5 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/accordion.js +1 -1
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.js +1 -1
- package/dist/ui/badge.js +1 -1
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/button.js +16 -5
- package/dist/ui/calendar.js +2 -2
- package/dist/ui/card.js +1 -1
- package/dist/ui/carousel.js +1 -1
- package/dist/ui/checkbox.js +3 -3
- package/dist/ui/command.js +1 -1
- package/dist/ui/context-menu.js +1 -1
- package/dist/ui/cta.js +1 -1
- package/dist/ui/date-picker.js +1 -1
- package/dist/ui/date-range-picker.js +1 -1
- package/dist/ui/datetime-picker.js +1 -1
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/drawer.js +1 -1
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/empty-state.js +1 -1
- package/dist/ui/empty.js +2 -2
- package/dist/ui/field.js +3 -3
- package/dist/ui/hover-card.js +1 -1
- package/dist/ui/input-group.js +1 -1
- package/dist/ui/input-otp.js +1 -1
- package/dist/ui/input.js +1 -1
- package/dist/ui/label.js +1 -1
- package/dist/ui/link.js +1 -1
- package/dist/ui/marketing/Hero.js +1 -1
- package/dist/ui/marketing/PricingTable.js +1 -1
- package/dist/ui/menubar.js +1 -1
- package/dist/ui/nav-layout.js +1 -1
- package/dist/ui/navigation-menu.js +1 -1
- package/dist/ui/page-header.js +1 -1
- package/dist/ui/pagination.js +1 -1
- package/dist/ui/popover.js +1 -1
- package/dist/ui/progress.js +1 -1
- 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/section.js +1 -1
- package/dist/ui/select.js +1 -1
- package/dist/ui/separator.js +1 -1
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/sidebar.js +1 -1
- package/dist/ui/slider.js +1 -1
- package/dist/ui/stack.js +1 -1
- package/dist/ui/stepper.js +1 -1
- package/dist/ui/switch.js +4 -3
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/text.js +1 -1
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/time-picker.js +1 -1
- package/dist/ui/toast.js +1 -1
- package/dist/ui/toggle-group.js +1 -1
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/dist/ui/typography.js +1 -1
- package/package.json +243 -137
- package/dist/index.d.ts +0 -1
- package/dist/ui/accordion.d.ts +0 -24
- package/dist/ui/alert-dialog.d.ts +0 -48
- package/dist/ui/alert.d.ts +0 -24
- package/dist/ui/aspect-ratio.d.ts +0 -7
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -7
- package/dist/ui/atoms/FilterSelect/index.d.ts +0 -3
- package/dist/ui/atoms/FilterSelect/types.d.ts +0 -18
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -22
- package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -2
- package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -7
- package/dist/ui/atoms/Pagination/index.d.ts +0 -3
- package/dist/ui/atoms/Pagination/types.d.ts +0 -15
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -7
- package/dist/ui/atoms/SearchInput/index.d.ts +0 -3
- package/dist/ui/atoms/SearchInput/types.d.ts +0 -12
- package/dist/ui/avatar.d.ts +0 -19
- package/dist/ui/badge.d.ts +0 -19
- package/dist/ui/breadcrumb.d.ts +0 -37
- package/dist/ui/button.d.ts +0 -22
- package/dist/ui/calendar.d.ts +0 -26
- package/dist/ui/card.d.ts +0 -34
- package/dist/ui/carousel.d.ts +0 -47
- package/dist/ui/checkbox.d.ts +0 -11
- package/dist/ui/collapsible.d.ts +0 -15
- package/dist/ui/command.d.ts +0 -52
- package/dist/ui/confirm-dialog.d.ts +0 -30
- package/dist/ui/context-menu.d.ts +0 -34
- package/dist/ui/cta.d.ts +0 -14
- package/dist/ui/date-picker.d.ts +0 -25
- package/dist/ui/date-range-picker.d.ts +0 -25
- package/dist/ui/datetime-picker.d.ts +0 -27
- package/dist/ui/dialog.d.ts +0 -47
- package/dist/ui/drawer.d.ts +0 -44
- package/dist/ui/dropdown-menu.d.ts +0 -77
- package/dist/ui/empty-state.d.ts +0 -28
- package/dist/ui/empty.d.ts +0 -35
- package/dist/ui/field.d.ts +0 -64
- package/dist/ui/focus-on-route-change.d.ts +0 -8
- package/dist/ui/form.d.ts +0 -46
- package/dist/ui/hover-card.d.ts +0 -19
- package/dist/ui/input-group.d.ts +0 -43
- package/dist/ui/input-otp.d.ts +0 -38
- package/dist/ui/input.d.ts +0 -12
- package/dist/ui/label.d.ts +0 -11
- package/dist/ui/link.d.ts +0 -8
- package/dist/ui/live-region.d.ts +0 -16
- package/dist/ui/loading-button.d.ts +0 -19
- package/dist/ui/map/MapBase.d.ts +0 -28
- package/dist/ui/map/MapGeoJsonOverlay.d.ts +0 -15
- package/dist/ui/map/MapHeatmapH3.d.ts +0 -17
- package/dist/ui/map/MapMarkers.d.ts +0 -19
- package/dist/ui/map/index.d.ts +0 -5
- package/dist/ui/marketing/FeatureGrid.d.ts +0 -20
- package/dist/ui/marketing/Hero.d.ts +0 -27
- package/dist/ui/marketing/PricingTable.d.ts +0 -24
- package/dist/ui/marketing/index.d.ts +0 -4
- package/dist/ui/menubar.d.ts +0 -84
- package/dist/ui/molecules/Autocomplete/index.d.ts +0 -6
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -7
- package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -3
- package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -23
- package/dist/ui/molecules/SkeletonList.d.ts +0 -15
- package/dist/ui/nav-layout.d.ts +0 -70
- package/dist/ui/navigation-menu.d.ts +0 -46
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -29
- package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -2
- package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -28
- package/dist/ui/organisms/ListPage/index.d.ts +0 -3
- package/dist/ui/organisms/ListPage/types.d.ts +0 -40
- package/dist/ui/page-header.d.ts +0 -26
- package/dist/ui/pagination.d.ts +0 -49
- package/dist/ui/popover.d.ts +0 -22
- package/dist/ui/progress.d.ts +0 -12
- package/dist/ui/radio-group.d.ts +0 -15
- package/dist/ui/resizable.d.ts +0 -35
- package/dist/ui/route-announcer.d.ts +0 -10
- package/dist/ui/scroll-area.d.ts +0 -17
- package/dist/ui/section.d.ts +0 -26
- package/dist/ui/select.d.ts +0 -51
- package/dist/ui/separator.d.ts +0 -13
- package/dist/ui/sheet.d.ts +0 -40
- package/dist/ui/sidebar.d.ts +0 -166
- package/dist/ui/skeleton.d.ts +0 -9
- package/dist/ui/skip-link.d.ts +0 -16
- package/dist/ui/slider.d.ts +0 -15
- package/dist/ui/sonner.d.ts +0 -9
- package/dist/ui/stack.d.ts +0 -47
- package/dist/ui/stat-card-group.d.ts +0 -18
- package/dist/ui/stepper.d.ts +0 -22
- package/dist/ui/switch.d.ts +0 -11
- package/dist/ui/table.d.ts +0 -38
- package/dist/ui/tabs.d.ts +0 -23
- package/dist/ui/text.d.ts +0 -15
- package/dist/ui/textarea.d.ts +0 -11
- package/dist/ui/time-picker.d.ts +0 -21
- package/dist/ui/toast.d.ts +0 -19
- package/dist/ui/toaster.d.ts +0 -6
- package/dist/ui/toggle-group.d.ts +0 -23
- package/dist/ui/toggle.d.ts +0 -19
- package/dist/ui/tooltip.d.ts +0 -23
- package/dist/ui/typography.d.ts +0 -64
- package/dist/ui/use-media-query.d.ts +0 -4
- package/dist/ui/use-mobile.d.ts +0 -4
- package/dist/ui/use-reduced-motion.d.ts +0 -4
- package/dist/ui/use-toast.d.ts +0 -49
- package/dist/ui/useListState.d.ts +0 -33
- package/dist/ui/usecases/UseCaseCard.d.ts +0 -18
- package/dist/ui/usecases/UserStoryCard.d.ts +0 -14
- package/dist/ui/usecases/index.d.ts +0 -3
- package/dist/ui/utils.d.ts +0 -6
- package/dist/ui/visually-hidden.d.ts +0 -9
package/dist/ui/accordion.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
6
5
|
import { ChevronDownIcon } from "lucide-react";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region ui/accordion.tsx
|
package/dist/ui/alert-dialog.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { buttonVariants } from "./button.js";
|
|
5
4
|
import "react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
8
8
|
|
package/dist/ui/alert.js
CHANGED
package/dist/ui/badge.js
CHANGED
package/dist/ui/breadcrumb.js
CHANGED
package/dist/ui/button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Slot } from "@radix-ui/react-slot";
|
|
5
5
|
import { cva } from "class-variance-authority";
|
|
@@ -27,8 +27,8 @@ const buttonVariants = cva("inline-flex items-center justify-center gap-2 whites
|
|
|
27
27
|
size: "default"
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
|
|
31
|
-
return /* @__PURE__ */ jsx(
|
|
30
|
+
const Button = React$1.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
31
|
+
if (asChild) return /* @__PURE__ */ jsx(Slot, {
|
|
32
32
|
"data-slot": "button",
|
|
33
33
|
className: cn(buttonVariants({
|
|
34
34
|
variant,
|
|
@@ -37,7 +37,18 @@ function Button({ className, variant, size, asChild = false, ...props }) {
|
|
|
37
37
|
})),
|
|
38
38
|
...props
|
|
39
39
|
});
|
|
40
|
-
|
|
40
|
+
return /* @__PURE__ */ jsx("button", {
|
|
41
|
+
ref,
|
|
42
|
+
"data-slot": "button",
|
|
43
|
+
className: cn(buttonVariants({
|
|
44
|
+
variant,
|
|
45
|
+
size,
|
|
46
|
+
className
|
|
47
|
+
})),
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
Button.displayName = "Button";
|
|
41
52
|
|
|
42
53
|
//#endregion
|
|
43
54
|
export { Button, buttonVariants };
|
package/dist/ui/calendar.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Button, buttonVariants } from "./button.js";
|
|
5
4
|
import * as React$1 from "react";
|
|
6
5
|
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import {
|
|
8
|
+
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
9
9
|
|
|
10
10
|
//#region ui/calendar.tsx
|
|
11
11
|
function Calendar({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, components, ...props }) {
|
package/dist/ui/card.js
CHANGED
package/dist/ui/carousel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Button } from "./button.js";
|
|
4
|
+
import { cn } from "./utils.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { ArrowLeft, ArrowRight } from "lucide-react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/ui/checkbox.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { CheckIcon } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
8
8
|
|
|
@@ -10,11 +10,11 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
|
10
10
|
function Checkbox({ className, ...props }) {
|
|
11
11
|
return /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
|
|
12
12
|
"data-slot": "checkbox",
|
|
13
|
-
className: cn("
|
|
13
|
+
className: cn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
14
14
|
...props,
|
|
15
15
|
children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
|
|
16
16
|
"data-slot": "checkbox-indicator",
|
|
17
|
-
className: "
|
|
17
|
+
className: "grid place-content-center text-current transition-none",
|
|
18
18
|
children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5" })
|
|
19
19
|
})
|
|
20
20
|
});
|
package/dist/ui/command.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "./dialog.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { SearchIcon } from "lucide-react";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { Command as Command$1 } from "cmdk";
|
|
9
9
|
|
package/dist/ui/context-menu.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import * as React$1 from "react";
|
|
5
4
|
import { Check, ChevronRight, Circle } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
8
8
|
|
package/dist/ui/cta.js
CHANGED
package/dist/ui/date-picker.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Button } from "./button.js";
|
|
5
4
|
import { Calendar } from "./calendar.js";
|
|
6
5
|
import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
7
6
|
import { Input } from "./input.js";
|
|
8
7
|
import * as React$1 from "react";
|
|
9
8
|
import { CalendarIcon } from "lucide-react";
|
|
9
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
|
|
12
12
|
//#region ui/date-picker.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Button } from "./button.js";
|
|
5
4
|
import { Calendar } from "./calendar.js";
|
|
6
5
|
import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
7
6
|
import * as React$1 from "react";
|
|
7
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region ui/date-range-picker.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { DatePicker } from "./date-picker.js";
|
|
5
4
|
import { TimePicker } from "./time-picker.js";
|
|
6
5
|
import "react";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region ui/datetime-picker.tsx
|
package/dist/ui/dialog.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { XIcon } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
8
8
|
|
package/dist/ui/drawer.js
CHANGED
package/dist/ui/dropdown-menu.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
8
8
|
|
package/dist/ui/empty-state.js
CHANGED
package/dist/ui/empty.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn } from "
|
|
1
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
|
|
@@ -43,7 +43,7 @@ function EmptyTitle({ className, ...props }) {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
function EmptyDescription({ className, ...props }) {
|
|
46
|
-
return /* @__PURE__ */ jsx("
|
|
46
|
+
return /* @__PURE__ */ jsx("p", {
|
|
47
47
|
"data-slot": "empty-description",
|
|
48
48
|
className: cn("text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4", className),
|
|
49
49
|
...props
|
package/dist/ui/field.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Label } from "./label.js";
|
|
5
4
|
import { Separator } from "./separator.js";
|
|
6
|
-
import
|
|
5
|
+
import * as React$1 from "react";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { cva } from "class-variance-authority";
|
|
9
9
|
|
|
@@ -97,7 +97,7 @@ function FieldSeparator({ children, className, ...props }) {
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
function FieldError({ className, children, errors, ...props }) {
|
|
100
|
-
const content = useMemo(() => {
|
|
100
|
+
const content = React$1.useMemo(() => {
|
|
101
101
|
if (children) return children;
|
|
102
102
|
if (!errors?.length) return null;
|
|
103
103
|
if (errors?.length == 1) return errors[0]?.message;
|
package/dist/ui/hover-card.js
CHANGED
package/dist/ui/input-group.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Button } from "./button.js";
|
|
5
4
|
import { Input } from "./input.js";
|
|
6
5
|
import { Textarea } from "./textarea.js";
|
|
7
6
|
import "react";
|
|
7
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { cva } from "class-variance-authority";
|
|
10
10
|
|
package/dist/ui/input-otp.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import * as React$1 from "react";
|
|
5
4
|
import { Dot } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
8
8
|
|
package/dist/ui/input.js
CHANGED
package/dist/ui/label.js
CHANGED
package/dist/ui/link.js
CHANGED
package/dist/ui/menubar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
8
8
|
|
package/dist/ui/nav-layout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cn } from "./utils.js";
|
|
2
1
|
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "./navigation-menu.js";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { cva } from "class-variance-authority";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cn } from "./utils.js";
|
|
2
1
|
import "react";
|
|
3
2
|
import { ChevronDownIcon } from "lucide-react";
|
|
3
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { cva } from "class-variance-authority";
|
|
6
6
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
package/dist/ui/page-header.js
CHANGED
package/dist/ui/pagination.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cn } from "./utils.js";
|
|
2
1
|
import { buttonVariants } from "./button.js";
|
|
3
2
|
import * as React$1 from "react";
|
|
4
3
|
import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region ui/pagination.tsx
|
package/dist/ui/popover.js
CHANGED
package/dist/ui/progress.js
CHANGED
package/dist/ui/radio-group.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { CircleIcon } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
8
8
|
|
package/dist/ui/resizable.js
CHANGED
package/dist/ui/scroll-area.js
CHANGED
package/dist/ui/section.js
CHANGED
package/dist/ui/select.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
8
8
|
|
package/dist/ui/separator.js
CHANGED
package/dist/ui/sheet.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { XIcon } from "lucide-react";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
8
8
|
|
package/dist/ui/sidebar.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Button } from "./button.js";
|
|
5
4
|
import { Input } from "./input.js";
|
|
6
5
|
import { Separator } from "./separator.js";
|
|
@@ -10,6 +9,7 @@ import { Skeleton } from "./skeleton.js";
|
|
|
10
9
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip.js";
|
|
11
10
|
import * as React$1 from "react";
|
|
12
11
|
import { PanelLeftIcon } from "lucide-react";
|
|
12
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { Slot } from "@radix-ui/react-slot";
|
|
15
15
|
import { cva } from "class-variance-authority";
|
package/dist/ui/slider.js
CHANGED
package/dist/ui/stack.js
CHANGED
package/dist/ui/stepper.js
CHANGED
package/dist/ui/switch.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import "react";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
6
7
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
7
8
|
|
|
8
9
|
//#region ui/switch.tsx
|
|
9
|
-
function Switch({ className, ...props }) {
|
|
10
|
+
function Switch({ className, thumbClassName, ...props }) {
|
|
10
11
|
return /* @__PURE__ */ jsx(SwitchPrimitive.Root, {
|
|
11
12
|
"data-slot": "switch",
|
|
12
13
|
className: cn("peer focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-2xs outline-hidden transition-all focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
13
14
|
...props,
|
|
14
15
|
children: /* @__PURE__ */ jsx(SwitchPrimitive.Thumb, {
|
|
15
16
|
"data-slot": "switch-thumb",
|
|
16
|
-
className: cn("bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")
|
|
17
|
+
className: cn("bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0", thumbClassName)
|
|
17
18
|
})
|
|
18
19
|
});
|
|
19
20
|
}
|
package/dist/ui/table.js
CHANGED
package/dist/ui/tabs.js
CHANGED
package/dist/ui/text.js
CHANGED
package/dist/ui/textarea.js
CHANGED
package/dist/ui/time-picker.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { cn } from "./utils.js";
|
|
4
3
|
import { Button } from "./button.js";
|
|
5
4
|
import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
6
5
|
import * as React$1 from "react";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region ui/time-picker.tsx
|