@devalok/shilp-sutra 0.17.2 → 0.18.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/dist/_chunks/avatar.js +21 -19
- package/dist/_chunks/button-group.js +27 -0
- package/dist/_chunks/button.js +53 -35
- package/dist/_chunks/card.js +50 -0
- package/dist/_chunks/checkbox.js +11 -9
- package/dist/_chunks/date-utils.js +13 -0
- package/dist/_chunks/form.js +20 -20
- package/dist/_chunks/link-context.js +19 -0
- package/dist/_chunks/motion.js +1376 -0
- package/dist/_chunks/motion2.js +35 -0
- package/dist/_chunks/primitives.js +3499 -3920
- package/dist/_chunks/sidebar.js +225 -211
- package/dist/_chunks/spinner.js +58 -28
- package/dist/_chunks/tiptap.js +1 -1
- package/dist/_chunks/tooltip.js +27 -10
- package/dist/_chunks/tree-view.js +180 -178
- package/dist/_chunks/use-calendar.js +531 -515
- package/dist/_chunks/utils.js +3 -3
- package/dist/_chunks/vendor-client.js +1792 -1049
- package/dist/_chunks/vendor-utils.js +5123 -1169
- package/dist/composed/activity-feed.d.ts.map +1 -1
- package/dist/composed/activity-feed.js +71 -74
- package/dist/composed/avatar-group.js +36 -36
- package/dist/composed/command-palette.d.ts +1 -1
- package/dist/composed/command-palette.d.ts.map +1 -1
- package/dist/composed/command-palette.js +207 -158
- package/dist/composed/confirm-dialog.d.ts +3 -5
- package/dist/composed/confirm-dialog.d.ts.map +1 -1
- package/dist/composed/confirm-dialog.js +46 -41
- package/dist/composed/content-card.d.ts +1 -1
- package/dist/composed/content-card.js +29 -29
- package/dist/composed/date-picker/calendar-grid.d.ts +1 -1
- package/dist/composed/date-picker/calendar-grid.d.ts.map +1 -1
- package/dist/composed/date-picker/date-picker.d.ts +1 -1
- package/dist/composed/date-picker/date-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/date-range-picker.d.ts +1 -1
- package/dist/composed/date-picker/date-range-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/date-time-picker.d.ts +1 -1
- package/dist/composed/date-picker/date-time-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/month-picker.d.ts +1 -1
- package/dist/composed/date-picker/month-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/presets.d.ts +1 -1
- package/dist/composed/date-picker/presets.d.ts.map +1 -1
- package/dist/composed/date-picker/time-picker.d.ts +1 -1
- package/dist/composed/date-picker/time-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/year-picker.d.ts +1 -1
- package/dist/composed/date-picker/year-picker.d.ts.map +1 -1
- package/dist/composed/empty-state.d.ts +1 -0
- package/dist/composed/empty-state.d.ts.map +1 -1
- package/dist/composed/empty-state.js +51 -47
- package/dist/composed/error-boundary.d.ts +1 -1
- package/dist/composed/error-boundary.d.ts.map +1 -1
- package/dist/composed/error-boundary.js +48 -48
- package/dist/composed/extensions/mention-suggestion.d.ts +1 -1
- package/dist/composed/extensions/mention-suggestion.d.ts.map +1 -1
- package/dist/composed/global-loading.d.ts +1 -1
- package/dist/composed/global-loading.d.ts.map +1 -1
- package/dist/composed/global-loading.js +23 -20
- package/dist/composed/index.d.ts +2 -4
- package/dist/composed/index.d.ts.map +1 -1
- package/dist/composed/index.js +26 -29
- package/dist/composed/loading-skeleton.d.ts +1 -1
- package/dist/composed/loading-skeleton.d.ts.map +1 -1
- package/dist/composed/loading-skeleton.js +92 -87
- package/dist/composed/member-picker.d.ts +1 -1
- package/dist/composed/member-picker.d.ts.map +1 -1
- package/dist/composed/member-picker.js +47 -43
- package/dist/composed/page-header.js +36 -36
- package/dist/composed/page-skeletons.d.ts +9 -3
- package/dist/composed/page-skeletons.d.ts.map +1 -1
- package/dist/composed/page-skeletons.js +58 -58
- package/dist/composed/priority-indicator.js +19 -19
- package/dist/composed/rich-text-editor.d.ts +3 -3
- package/dist/composed/rich-text-editor.d.ts.map +1 -1
- package/dist/composed/rich-text-editor.js +316 -309
- package/dist/composed/schedule-view.js +88 -88
- package/dist/composed/simple-tooltip.d.ts +2 -5
- package/dist/composed/simple-tooltip.d.ts.map +1 -1
- package/dist/composed/simple-tooltip.js +19 -14
- package/dist/composed/status-badge.d.ts +2 -1
- package/dist/composed/status-badge.d.ts.map +1 -1
- package/dist/composed/status-badge.js +76 -63
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +3 -4
- package/dist/hooks/use-toast.d.ts +15 -45
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hooks/use-toast.js +2 -95
- package/dist/motion/index.d.ts +4 -0
- package/dist/motion/index.d.ts.map +1 -0
- package/dist/motion/index.js +10 -0
- package/dist/motion/motion-provider.d.ts +18 -0
- package/dist/motion/motion-provider.d.ts.map +1 -0
- package/dist/motion/motion-provider.js +24 -0
- package/dist/motion/primitives-index.d.ts +3 -0
- package/dist/motion/primitives-index.d.ts.map +1 -0
- package/dist/motion/primitives-index.js +11 -0
- package/dist/motion/primitives.d.ts +38 -0
- package/dist/motion/primitives.d.ts.map +1 -0
- package/dist/motion/primitives.js +187 -0
- package/dist/shell/app-command-palette.d.ts +14 -5
- package/dist/shell/app-command-palette.d.ts.map +1 -1
- package/dist/shell/app-command-palette.js +152 -130
- package/dist/shell/bottom-navbar.d.ts.map +1 -1
- package/dist/shell/bottom-navbar.js +90 -92
- package/dist/shell/command-registry.d.ts +23 -0
- package/dist/shell/command-registry.d.ts.map +1 -0
- package/dist/shell/command-registry.js +18 -0
- package/dist/shell/index.d.ts +2 -1
- package/dist/shell/index.d.ts.map +1 -1
- package/dist/shell/index.js +14 -11
- package/dist/shell/link-context.d.ts +6 -10
- package/dist/shell/link-context.d.ts.map +1 -1
- package/dist/shell/link-context.js +3 -16
- package/dist/shell/notification-center.d.ts.map +1 -1
- package/dist/shell/notification-center.js +137 -132
- package/dist/shell/notification-preferences.d.ts +10 -5
- package/dist/shell/notification-preferences.d.ts.map +1 -1
- package/dist/shell/notification-preferences.js +168 -165
- package/dist/shell/sidebar.js +119 -119
- package/dist/shell/top-bar.js +65 -65
- package/dist/tailwind/index.cjs +118 -297
- package/dist/tailwind/preset.d.ts.map +1 -1
- package/dist/tailwind/preset.js +118 -297
- package/dist/tokens/generate-scale.d.ts +86 -0
- package/dist/tokens/generate-scale.d.ts.map +1 -0
- package/dist/tokens/primitives.css +415 -187
- package/dist/tokens/semantic.css +244 -270
- package/dist/tokens/typography.css +6 -6
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +32 -22
- package/dist/ui/alert-dialog.d.ts +4 -1
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert-dialog.js +114 -73
- package/dist/ui/alert.d.ts +6 -1
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +64 -49
- package/dist/ui/aspect-ratio.d.ts +2 -1
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +14 -4
- package/dist/ui/autocomplete.d.ts +11 -2
- package/dist/ui/autocomplete.d.ts.map +1 -1
- package/dist/ui/autocomplete.js +82 -57
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +45 -34
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +70 -65
- package/dist/ui/banner.d.ts.map +1 -1
- package/dist/ui/banner.js +53 -39
- package/dist/ui/breadcrumb.d.ts +2 -0
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +21 -21
- package/dist/ui/button.d.ts +10 -1
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +103 -67
- package/dist/ui/card.d.ts +2 -2
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +61 -53
- package/dist/ui/charts/_internal/animation.d.ts +1 -1
- package/dist/ui/charts/_internal/animation.d.ts.map +1 -1
- package/dist/ui/charts/area-chart.d.ts +3 -5
- package/dist/ui/charts/area-chart.d.ts.map +1 -1
- package/dist/ui/charts/bar-chart.d.ts +3 -5
- package/dist/ui/charts/bar-chart.d.ts.map +1 -1
- package/dist/ui/charts/chart-container.d.ts +2 -5
- package/dist/ui/charts/chart-container.d.ts.map +1 -1
- package/dist/ui/charts/gauge-chart.d.ts +3 -5
- package/dist/ui/charts/gauge-chart.d.ts.map +1 -1
- package/dist/ui/charts/index.js +1204 -1095
- package/dist/ui/charts/line-chart.d.ts +3 -5
- package/dist/ui/charts/line-chart.d.ts.map +1 -1
- package/dist/ui/charts/pie-chart.d.ts +2 -5
- package/dist/ui/charts/pie-chart.d.ts.map +1 -1
- package/dist/ui/charts/radar-chart.d.ts +3 -5
- package/dist/ui/charts/radar-chart.d.ts.map +1 -1
- package/dist/ui/charts/sparkline.d.ts +5 -5
- package/dist/ui/charts/sparkline.d.ts.map +1 -1
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +31 -19
- package/dist/ui/chip.d.ts +3 -2
- package/dist/ui/chip.d.ts.map +1 -1
- package/dist/ui/chip.js +62 -54
- package/dist/ui/code.js +16 -16
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +23 -15
- package/dist/ui/color-input.d.ts +1 -1
- package/dist/ui/color-input.d.ts.map +1 -1
- package/dist/ui/color-input.js +27 -27
- package/dist/ui/combobox.d.ts +2 -0
- package/dist/ui/combobox.d.ts.map +1 -1
- package/dist/ui/combobox.js +177 -166
- package/dist/ui/context-menu.d.ts +4 -2
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +146 -86
- package/dist/ui/data-table-toolbar.d.ts +3 -2
- package/dist/ui/data-table-toolbar.d.ts.map +1 -1
- package/dist/ui/data-table-toolbar.js +61 -59
- package/dist/ui/data-table.d.ts.map +1 -1
- package/dist/ui/data-table.js +289 -254
- package/dist/ui/dialog.d.ts +3 -1
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +114 -74
- package/dist/ui/dropdown-menu.d.ts +5 -3
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +150 -89
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +169 -127
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +29 -26
- package/dist/ui/hover-card.d.ts +1 -1
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/hover-card.js +53 -21
- package/dist/ui/index.d.ts +18 -18
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +432 -449
- package/dist/ui/input-otp.d.ts +2 -0
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +7 -7
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +36 -34
- package/dist/ui/label.js +12 -12
- package/dist/ui/lib/date-utils.d.ts +6 -0
- package/dist/ui/lib/date-utils.d.ts.map +1 -0
- package/dist/ui/lib/index.d.ts +7 -0
- package/dist/ui/lib/index.d.ts.map +1 -0
- package/dist/ui/lib/link-context.d.ts +13 -0
- package/dist/ui/lib/link-context.d.ts.map +1 -0
- package/dist/ui/lib/motion.d.ts +44 -9
- package/dist/ui/lib/motion.d.ts.map +1 -1
- package/dist/ui/lib/use-ripple.d.ts.map +1 -1
- package/dist/ui/lib/utils.js +1 -1
- package/dist/ui/link.js +11 -11
- package/dist/ui/menubar.d.ts +4 -2
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +141 -97
- package/dist/ui/navigation-menu.d.ts +2 -0
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/navigation-menu.js +176 -73
- package/dist/ui/number-input.d.ts.map +1 -1
- package/dist/ui/number-input.js +56 -49
- package/dist/ui/pagination.js +22 -22
- package/dist/ui/popover.d.ts +2 -1
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +54 -22
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +58 -42
- package/dist/ui/radio.js +19 -19
- package/dist/ui/search-input.d.ts.map +1 -1
- package/dist/ui/search-input.js +28 -33
- package/dist/ui/segmented-control.d.ts +2 -2
- package/dist/ui/segmented-control.d.ts.map +1 -1
- package/dist/ui/segmented-control.js +143 -124
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +72 -61
- package/dist/ui/separator.js +11 -11
- package/dist/ui/sheet.d.ts +1 -1
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +111 -75
- package/dist/ui/sidebar.d.ts +6 -1
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +27 -25
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/slider.d.ts +9 -0
- package/dist/ui/slider.d.ts.map +1 -1
- package/dist/ui/slider.js +33 -27
- package/dist/ui/spinner.d.ts +32 -25
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/spinner.js +199 -40
- package/dist/ui/stat-card.d.ts.map +1 -1
- package/dist/ui/stat-card.js +183 -116
- package/dist/ui/stepper.d.ts +22 -1
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +121 -43
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +39 -26
- package/dist/ui/table.d.ts +3 -0
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +47 -47
- package/dist/ui/tabs.d.ts +4 -1
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +94 -44
- package/dist/ui/text.d.ts +3 -3
- package/dist/ui/text.js +1 -1
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +29 -27
- package/dist/ui/toast-types.d.ts +43 -0
- package/dist/ui/toast-types.d.ts.map +1 -0
- package/dist/ui/toast-types.js +2 -0
- package/dist/ui/toast.d.ts +60 -26
- package/dist/ui/toast.d.ts.map +1 -1
- package/dist/ui/toast.js +535 -89
- package/dist/ui/toaster.d.ts +19 -23
- package/dist/ui/toaster.d.ts.map +1 -1
- package/dist/ui/toaster.js +31 -21
- package/dist/ui/toggle-group.d.ts +2 -2
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +29 -26
- package/dist/ui/toggle.d.ts +2 -2
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/toggle.js +21 -17
- package/dist/ui/tooltip.d.ts +2 -1
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/tooltip.js +58 -21
- package/dist/ui/tree-view/tree-view.d.ts +1 -1
- package/dist/ui/tree-view/tree-view.d.ts.map +1 -1
- package/llms-full.txt +221 -102
- package/llms.txt +65 -12
- package/package.json +26 -8
- package/dist/_chunks/switch.js +0 -10
- package/dist/composed/upload-progress.d.ts +0 -33
- package/dist/composed/upload-progress.d.ts.map +0 -1
- package/dist/composed/upload-progress.js +0 -386
- package/dist/ui/lib/use-reduced-motion.d.ts +0 -4
- package/dist/ui/lib/use-reduced-motion.d.ts.map +0 -1
- package/dist/ui/transitions.d.ts +0 -17
- package/dist/ui/transitions.d.ts.map +0 -1
- package/dist/ui/transitions.js +0 -111
package/dist/ui/select.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import { IconChevronDown as
|
|
6
|
-
import {
|
|
7
|
-
import { c as
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
import * as o from "react";
|
|
4
|
+
import { al as c, am as w, an as n, ao as m, ap as x, aq as p, ar as N, as as f, at as u, au as v, av as S, aw as h, ax as I, ay as R, az as C } from "../_chunks/primitives.js";
|
|
5
|
+
import { IconChevronDown as y, IconChevronUp as j, IconCheck as V } from "@tabler/icons-react";
|
|
6
|
+
import { ag as z } from "../_chunks/vendor-utils.js";
|
|
7
|
+
import { c as r } from "../_chunks/utils.js";
|
|
8
|
+
import { t as B, s as T } from "../_chunks/motion2.js";
|
|
9
|
+
import { m as D } from "../_chunks/motion.js";
|
|
10
|
+
const O = I, Q = C, W = R, U = z(
|
|
11
|
+
"flex w-full items-center justify-between whitespace-nowrap rounded-ds-md border border-surface-border-strong bg-surface-3 placeholder:text-surface-fg-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 focus-visible:border-accent-7 disabled:cursor-not-allowed disabled:opacity-action-disabled [&>span]:line-clamp-1",
|
|
10
12
|
{
|
|
11
13
|
variants: {
|
|
12
14
|
size: {
|
|
@@ -17,117 +19,126 @@ const F = I, H = R, J = j, V = B(
|
|
|
17
19
|
},
|
|
18
20
|
defaultVariants: { size: "md" }
|
|
19
21
|
}
|
|
20
|
-
),
|
|
22
|
+
), G = o.forwardRef(({ className: s, children: t, size: a, ...d }, l) => /* @__PURE__ */ i(
|
|
21
23
|
c,
|
|
22
24
|
{
|
|
23
25
|
ref: l,
|
|
24
|
-
className:
|
|
26
|
+
className: r(U({ size: a }), s),
|
|
25
27
|
...d,
|
|
26
28
|
children: [
|
|
27
29
|
t,
|
|
28
|
-
/* @__PURE__ */ e(w, { asChild: !0, children: /* @__PURE__ */ e(
|
|
30
|
+
/* @__PURE__ */ e(w, { asChild: !0, children: /* @__PURE__ */ e(y, { className: "h-ico-sm w-ico-sm opacity-50" }) })
|
|
29
31
|
]
|
|
30
32
|
}
|
|
31
33
|
));
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
+
G.displayName = c.displayName;
|
|
35
|
+
const b = o.forwardRef(({ className: s, ...t }, a) => /* @__PURE__ */ e(
|
|
34
36
|
n,
|
|
35
37
|
{
|
|
36
38
|
ref: a,
|
|
37
|
-
className:
|
|
39
|
+
className: r(
|
|
38
40
|
"flex cursor-default items-center justify-center py-ds-02",
|
|
39
41
|
s
|
|
40
42
|
),
|
|
41
43
|
...t,
|
|
42
|
-
children: /* @__PURE__ */ e(
|
|
44
|
+
children: /* @__PURE__ */ e(j, { className: "h-ico-sm w-ico-sm" })
|
|
43
45
|
}
|
|
44
46
|
));
|
|
45
|
-
|
|
46
|
-
const
|
|
47
|
+
b.displayName = n.displayName;
|
|
48
|
+
const g = o.forwardRef(({ className: s, ...t }, a) => /* @__PURE__ */ e(
|
|
47
49
|
m,
|
|
48
50
|
{
|
|
49
51
|
ref: a,
|
|
50
|
-
className:
|
|
52
|
+
className: r(
|
|
51
53
|
"flex cursor-default items-center justify-center py-ds-02",
|
|
52
54
|
s
|
|
53
55
|
),
|
|
54
56
|
...t,
|
|
55
|
-
children: /* @__PURE__ */ e(
|
|
57
|
+
children: /* @__PURE__ */ e(y, { className: "h-ico-sm w-ico-sm" })
|
|
56
58
|
}
|
|
57
59
|
));
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
+
g.displayName = m.displayName;
|
|
61
|
+
const L = o.forwardRef(({ className: s, children: t, position: a = "popper", ...d }, l) => /* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(
|
|
60
62
|
p,
|
|
61
63
|
{
|
|
62
64
|
ref: l,
|
|
63
|
-
className: o(
|
|
64
|
-
"relative z-popover max-h-96 min-w-[8rem] overflow-hidden rounded-ds-lg border border-border bg-layer-01 text-text-primary shadow-03 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
65
|
-
a === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
66
|
-
s
|
|
67
|
-
),
|
|
68
65
|
position: a,
|
|
66
|
+
asChild: !0,
|
|
69
67
|
...d,
|
|
70
|
-
children:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
children: /* @__PURE__ */ i(
|
|
69
|
+
D.div,
|
|
70
|
+
{
|
|
71
|
+
initial: { opacity: 0, scale: 0.95 },
|
|
72
|
+
animate: { opacity: 1, scale: 1 },
|
|
73
|
+
transition: { ...T.snappy, opacity: B.fade },
|
|
74
|
+
className: r(
|
|
75
|
+
"relative z-popover max-h-96 min-w-[8rem] overflow-hidden rounded-ds-lg border border-surface-border-strong bg-surface-1 text-surface-fg shadow-03",
|
|
76
|
+
a === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
77
|
+
s
|
|
78
|
+
),
|
|
79
|
+
children: [
|
|
80
|
+
/* @__PURE__ */ e(b, {}),
|
|
81
|
+
/* @__PURE__ */ e(
|
|
82
|
+
N,
|
|
83
|
+
{
|
|
84
|
+
className: r(
|
|
85
|
+
"p-ds-02",
|
|
86
|
+
a === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
87
|
+
),
|
|
88
|
+
children: t
|
|
89
|
+
}
|
|
78
90
|
),
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
]
|
|
91
|
+
/* @__PURE__ */ e(g, {})
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
)
|
|
84
95
|
}
|
|
85
96
|
) }));
|
|
86
|
-
|
|
87
|
-
const
|
|
97
|
+
L.displayName = p.displayName;
|
|
98
|
+
const k = o.forwardRef(({ className: s, ...t }, a) => /* @__PURE__ */ e(
|
|
88
99
|
f,
|
|
89
100
|
{
|
|
90
101
|
ref: a,
|
|
91
|
-
className:
|
|
102
|
+
className: r("px-ds-03 py-ds-02b text-ds-md font-semibold", s),
|
|
92
103
|
...t
|
|
93
104
|
}
|
|
94
105
|
));
|
|
95
|
-
|
|
96
|
-
const
|
|
106
|
+
k.displayName = f.displayName;
|
|
107
|
+
const q = o.forwardRef(({ className: s, children: t, ...a }, d) => /* @__PURE__ */ i(
|
|
97
108
|
u,
|
|
98
109
|
{
|
|
99
110
|
ref: d,
|
|
100
|
-
className:
|
|
101
|
-
"relative flex w-full cursor-default select-none items-center rounded-ds-md py-ds-02b pl-ds-03 pr-ds-07 text-ds-md outline-none focus:bg-
|
|
111
|
+
className: r(
|
|
112
|
+
"relative flex w-full cursor-default select-none items-center rounded-ds-md py-ds-02b pl-ds-03 pr-ds-07 text-ds-md outline-none focus:bg-surface-2 focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled",
|
|
102
113
|
s
|
|
103
114
|
),
|
|
104
115
|
...a,
|
|
105
116
|
children: [
|
|
106
|
-
/* @__PURE__ */ e("span", { className: "absolute right-ds-03 flex h-ico-sm w-ico-sm items-center justify-center", children: /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
|
|
117
|
+
/* @__PURE__ */ e("span", { className: "absolute right-ds-03 flex h-ico-sm w-ico-sm items-center justify-center", children: /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(V, { className: "h-ico-sm w-ico-sm" }) }) }),
|
|
107
118
|
/* @__PURE__ */ e(S, { children: t })
|
|
108
119
|
]
|
|
109
120
|
}
|
|
110
121
|
));
|
|
111
|
-
|
|
112
|
-
const
|
|
122
|
+
q.displayName = u.displayName;
|
|
123
|
+
const P = o.forwardRef(({ className: s, ...t }, a) => /* @__PURE__ */ e(
|
|
113
124
|
h,
|
|
114
125
|
{
|
|
115
126
|
ref: a,
|
|
116
|
-
className:
|
|
127
|
+
className: r("-mx-ds-01 my-ds-02 h-px bg-surface-border", s),
|
|
117
128
|
...t
|
|
118
129
|
}
|
|
119
130
|
));
|
|
120
|
-
|
|
131
|
+
P.displayName = h.displayName;
|
|
121
132
|
export {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
+
O as Select,
|
|
134
|
+
L as SelectContent,
|
|
135
|
+
Q as SelectGroup,
|
|
136
|
+
q as SelectItem,
|
|
137
|
+
k as SelectLabel,
|
|
138
|
+
g as SelectScrollDownButton,
|
|
139
|
+
b as SelectScrollUpButton,
|
|
140
|
+
P as SelectSeparator,
|
|
141
|
+
G as SelectTrigger,
|
|
142
|
+
W as SelectValue,
|
|
143
|
+
U as selectTriggerVariants
|
|
133
144
|
};
|
package/dist/ui/separator.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import { c as
|
|
6
|
-
const
|
|
7
|
-
({ className: a, orientation: r = "horizontal", decorative: m = !0, ...s },
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import * as e from "react";
|
|
4
|
+
import { bb as o } from "../_chunks/primitives.js";
|
|
5
|
+
import { c as f } from "../_chunks/utils.js";
|
|
6
|
+
const l = e.forwardRef(
|
|
7
|
+
({ className: a, orientation: r = "horizontal", decorative: m = !0, ...s }, p) => /* @__PURE__ */ t(
|
|
8
8
|
o,
|
|
9
9
|
{
|
|
10
|
-
ref:
|
|
10
|
+
ref: p,
|
|
11
11
|
decorative: m,
|
|
12
12
|
orientation: r,
|
|
13
|
-
className:
|
|
14
|
-
"shrink-0 bg-border
|
|
13
|
+
className: f(
|
|
14
|
+
"shrink-0 bg-surface-border",
|
|
15
15
|
r === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
16
16
|
a
|
|
17
17
|
),
|
|
@@ -19,7 +19,7 @@ const f = p.forwardRef(
|
|
|
19
19
|
}
|
|
20
20
|
)
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
l.displayName = o.displayName;
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
l as Separator
|
|
25
25
|
};
|
package/dist/ui/sheet.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ import * as SheetPrimitive from '../primitives/react-dialog';
|
|
|
48
48
|
* </SheetContent>
|
|
49
49
|
* </Sheet>
|
|
50
50
|
*/
|
|
51
|
-
declare const Sheet: React.FC<SheetPrimitive.
|
|
51
|
+
declare const Sheet: React.FC<React.ComponentPropsWithoutRef<typeof SheetPrimitive.Root>>;
|
|
52
52
|
declare const SheetTrigger: React.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
declare const SheetClose: React.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
54
54
|
declare const SheetPortal: React.FC<SheetPrimitive.DialogPortalProps>;
|
package/dist/ui/sheet.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../src/ui/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAA;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../src/ui/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAA;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAWjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,CA0B/E,CAAA;AAGD,QAAA,MAAM,YAAY,6GAAyB,CAAA;AAE3C,QAAA,MAAM,UAAU,2GAAuB,CAAA;AAEvC,QAAA,MAAM,WAAW,4CAAwB,CAAA;AAEzC,QAAA,MAAM,YAAY,6JAehB,CAAA;AAmBF,QAAA,MAAM,aAAa;;8EAelB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,EACnE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,QAAA,MAAM,YAAY,0FAgChB,CAAA;AAGF,QAAA,MAAM,WAAW,6GAWhB,CAAA;AAGD,QAAA,MAAM,WAAW,6GAWhB,CAAA;AAGD,QAAA,MAAM,UAAU,mKASd,CAAA;AAGF,QAAA,MAAM,gBAAgB,6KASpB,CAAA;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAA"}
|
package/dist/ui/sheet.js
CHANGED
|
@@ -1,111 +1,147 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import { aa as
|
|
5
|
-
import {
|
|
6
|
-
import { IconX as
|
|
7
|
-
import { c as
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import { jsx as o, jsxs as d } from "react/jsx-runtime";
|
|
3
|
+
import * as r from "react";
|
|
4
|
+
import { aa as h, ab as R, ac as u, ad as x, ae as b, af as y, ag as P, ah as j } from "../_chunks/primitives.js";
|
|
5
|
+
import { ag as T } from "../_chunks/vendor-utils.js";
|
|
6
|
+
import { IconX as A } from "@tabler/icons-react";
|
|
7
|
+
import { c as a } from "../_chunks/utils.js";
|
|
8
|
+
import { t as M, m as g, s as z } from "../_chunks/motion2.js";
|
|
9
|
+
import { m as N, A as D } from "../_chunks/motion.js";
|
|
10
|
+
const v = r.createContext(!1), F = ({
|
|
11
|
+
open: e,
|
|
12
|
+
defaultOpen: s = !1,
|
|
13
|
+
onOpenChange: t,
|
|
14
|
+
children: i,
|
|
15
|
+
...n
|
|
16
|
+
}) => {
|
|
17
|
+
const [l, S] = r.useState(s), c = e !== void 0, m = c ? e : l, C = r.useCallback(
|
|
18
|
+
(f) => {
|
|
19
|
+
c || S(f), t == null || t(f);
|
|
20
|
+
},
|
|
21
|
+
[c, t]
|
|
22
|
+
);
|
|
23
|
+
return /* @__PURE__ */ o(v.Provider, { value: m, children: /* @__PURE__ */ o(P, { open: m, onOpenChange: C, ...n, children: i }) });
|
|
24
|
+
};
|
|
25
|
+
F.displayName = "Sheet";
|
|
26
|
+
const W = j, Y = x, H = R, w = r.forwardRef(({ className: e, ...s }, t) => /* @__PURE__ */ o(h, { forceMount: !0, asChild: !0, children: /* @__PURE__ */ o(
|
|
27
|
+
N.div,
|
|
10
28
|
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
ref: t,
|
|
30
|
+
className: a("fixed inset-0 z-modal bg-overlay", e),
|
|
31
|
+
initial: { opacity: 0 },
|
|
32
|
+
animate: { opacity: 1 },
|
|
33
|
+
exit: { opacity: 0 },
|
|
34
|
+
transition: M.fade,
|
|
35
|
+
...g(s)
|
|
17
36
|
}
|
|
18
|
-
));
|
|
19
|
-
|
|
20
|
-
const
|
|
21
|
-
|
|
37
|
+
) }));
|
|
38
|
+
w.displayName = h.displayName;
|
|
39
|
+
const p = {
|
|
40
|
+
top: { y: "-100%" },
|
|
41
|
+
bottom: { y: "100%" },
|
|
42
|
+
left: { x: "-100%" },
|
|
43
|
+
right: { x: "100%" }
|
|
44
|
+
}, I = {
|
|
45
|
+
top: { y: 0 },
|
|
46
|
+
bottom: { y: 0 },
|
|
47
|
+
left: { x: 0 },
|
|
48
|
+
right: { x: 0 }
|
|
49
|
+
}, V = T(
|
|
50
|
+
"fixed z-modal gap-ds-05 bg-surface-1 p-ds-06 shadow-05",
|
|
22
51
|
{
|
|
23
52
|
variants: {
|
|
24
53
|
side: {
|
|
25
|
-
top: "inset-x-0 top-0 border-b border-border
|
|
26
|
-
bottom: "inset-x-0 bottom-0 border-t border-border
|
|
27
|
-
left: "inset-y-0 left-0 h-full w-3/4 border-r border-border
|
|
28
|
-
right: "inset-y-0 right-0 h-full w-3/4 border-l border-border
|
|
54
|
+
top: "inset-x-0 top-0 border-b border-surface-border-strong",
|
|
55
|
+
bottom: "inset-x-0 bottom-0 border-t border-surface-border-strong",
|
|
56
|
+
left: "inset-y-0 left-0 h-full w-3/4 border-r border-surface-border-strong sm:max-w-sm",
|
|
57
|
+
right: "inset-y-0 right-0 h-full w-3/4 border-l border-surface-border-strong sm:max-w-sm"
|
|
29
58
|
}
|
|
30
59
|
},
|
|
31
60
|
defaultVariants: {
|
|
32
61
|
side: "right"
|
|
33
62
|
}
|
|
34
63
|
}
|
|
35
|
-
),
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */ d(
|
|
38
|
-
|
|
39
|
-
{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
64
|
+
), k = r.forwardRef(({ side: e = "right", className: s, children: t, ...i }, n) => {
|
|
65
|
+
const l = r.useContext(v);
|
|
66
|
+
return /* @__PURE__ */ o(D, { children: l && /* @__PURE__ */ d(H, { forceMount: !0, children: [
|
|
67
|
+
/* @__PURE__ */ o(w, {}),
|
|
68
|
+
/* @__PURE__ */ o(u, { forceMount: !0, asChild: !0, children: /* @__PURE__ */ d(
|
|
69
|
+
N.div,
|
|
70
|
+
{
|
|
71
|
+
ref: n,
|
|
72
|
+
className: a(V({ side: e }), s),
|
|
73
|
+
initial: p[e],
|
|
74
|
+
animate: I[e],
|
|
75
|
+
exit: p[e],
|
|
76
|
+
transition: z.smooth,
|
|
77
|
+
...g(i),
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ d(x, { className: "absolute right-ds-05 top-ds-05 min-h-ds-xs min-w-ds-xs flex items-center justify-center rounded-ds-sm text-surface-fg-subtle transition-colors hover:text-surface-fg-muted hover:bg-surface-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-9 disabled:pointer-events-none", children: [
|
|
80
|
+
/* @__PURE__ */ o(A, { className: "h-ico-sm w-ico-sm" }),
|
|
81
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
82
|
+
] }),
|
|
83
|
+
t
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
) })
|
|
87
|
+
] }) });
|
|
88
|
+
});
|
|
89
|
+
k.displayName = u.displayName;
|
|
90
|
+
const O = r.forwardRef(
|
|
91
|
+
({ className: e, ...s }, t) => /* @__PURE__ */ o(
|
|
56
92
|
"div",
|
|
57
93
|
{
|
|
58
|
-
ref:
|
|
59
|
-
className:
|
|
94
|
+
ref: t,
|
|
95
|
+
className: a(
|
|
60
96
|
"flex flex-col space-y-ds-03 text-center sm:text-left",
|
|
61
97
|
e
|
|
62
98
|
),
|
|
63
|
-
...
|
|
99
|
+
...s
|
|
64
100
|
}
|
|
65
101
|
)
|
|
66
102
|
);
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
({ className: e, ...
|
|
103
|
+
O.displayName = "SheetHeader";
|
|
104
|
+
const U = r.forwardRef(
|
|
105
|
+
({ className: e, ...s }, t) => /* @__PURE__ */ o(
|
|
70
106
|
"div",
|
|
71
107
|
{
|
|
72
|
-
ref:
|
|
73
|
-
className:
|
|
108
|
+
ref: t,
|
|
109
|
+
className: a(
|
|
74
110
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-ds-03",
|
|
75
111
|
e
|
|
76
112
|
),
|
|
77
|
-
...
|
|
113
|
+
...s
|
|
78
114
|
}
|
|
79
115
|
)
|
|
80
116
|
);
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
|
|
117
|
+
U.displayName = "SheetFooter";
|
|
118
|
+
const X = r.forwardRef(({ className: e, ...s }, t) => /* @__PURE__ */ o(
|
|
119
|
+
b,
|
|
84
120
|
{
|
|
85
|
-
ref:
|
|
86
|
-
className:
|
|
87
|
-
...
|
|
121
|
+
ref: t,
|
|
122
|
+
className: a("text-ds-lg font-semibold text-surface-fg", e),
|
|
123
|
+
...s
|
|
88
124
|
}
|
|
89
125
|
));
|
|
90
|
-
|
|
91
|
-
const
|
|
92
|
-
|
|
126
|
+
X.displayName = b.displayName;
|
|
127
|
+
const q = r.forwardRef(({ className: e, ...s }, t) => /* @__PURE__ */ o(
|
|
128
|
+
y,
|
|
93
129
|
{
|
|
94
|
-
ref:
|
|
95
|
-
className:
|
|
96
|
-
...
|
|
130
|
+
ref: t,
|
|
131
|
+
className: a("text-ds-md text-surface-fg-muted", e),
|
|
132
|
+
...s
|
|
97
133
|
}
|
|
98
134
|
));
|
|
99
|
-
|
|
135
|
+
q.displayName = y.displayName;
|
|
100
136
|
export {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
137
|
+
F as Sheet,
|
|
138
|
+
Y as SheetClose,
|
|
139
|
+
k as SheetContent,
|
|
140
|
+
q as SheetDescription,
|
|
141
|
+
U as SheetFooter,
|
|
142
|
+
O as SheetHeader,
|
|
143
|
+
w as SheetOverlay,
|
|
144
|
+
H as SheetPortal,
|
|
145
|
+
X as SheetTitle,
|
|
146
|
+
W as SheetTrigger
|
|
111
147
|
};
|
package/dist/ui/sidebar.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ declare const SidebarMenuButton: import('react').ForwardRefExoticComponent<Omit<
|
|
|
46
46
|
isActive?: boolean;
|
|
47
47
|
tooltip?: string | ComponentProps<typeof TooltipContent>;
|
|
48
48
|
} & VariantProps<(props?: ({
|
|
49
|
-
variant?: "
|
|
49
|
+
variant?: "outline" | "default" | null | undefined;
|
|
50
50
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
51
51
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
52
52
|
declare const SidebarMenuAction: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
@@ -64,5 +64,10 @@ declare const SidebarMenuSubButton: import('react').ForwardRefExoticComponent<Om
|
|
|
64
64
|
size?: "sm" | "md";
|
|
65
65
|
isActive?: boolean;
|
|
66
66
|
}, "ref"> & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
67
|
+
export type SidebarProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
68
|
+
side?: 'left' | 'right';
|
|
69
|
+
variant?: 'sidebar' | 'floating' | 'inset';
|
|
70
|
+
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
71
|
+
};
|
|
67
72
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
|
|
68
73
|
//# sourceMappingURL=sidebar.d.ts.map
|
package/dist/ui/sidebar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/ui/sidebar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/ui/sidebar.tsx"],"names":[],"mappings":"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"}
|
package/dist/ui/sidebar.js
CHANGED
|
@@ -4,36 +4,38 @@ import "../_chunks/primitives.js";
|
|
|
4
4
|
import "../_chunks/vendor-utils.js";
|
|
5
5
|
import "@tabler/icons-react";
|
|
6
6
|
import "../hooks/use-mobile.js";
|
|
7
|
+
import "../_chunks/motion2.js";
|
|
7
8
|
import "../_chunks/utils.js";
|
|
8
9
|
import "../_chunks/button.js";
|
|
9
|
-
import { S as
|
|
10
|
+
import { S as g, c as l, i as G, d as I, f as c, g as B, e as f, a as k, r as v, s as A, h as C, t as h, l as j, k as w, j as x, u as y, m as F, o as H, n as L, v as P, w as R, b as T, p as q, y as z } from "../_chunks/sidebar.js";
|
|
10
11
|
import "./sheet.js";
|
|
11
12
|
import "./skeleton.js";
|
|
12
13
|
import "../_chunks/tooltip.js";
|
|
13
14
|
import "react";
|
|
15
|
+
import "../_chunks/motion.js";
|
|
14
16
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
17
|
+
g as Sidebar,
|
|
18
|
+
l as SidebarContent,
|
|
19
|
+
G as SidebarFooter,
|
|
20
|
+
I as SidebarGroup,
|
|
21
|
+
c as SidebarGroupAction,
|
|
22
|
+
B as SidebarGroupContent,
|
|
23
|
+
f as SidebarGroupLabel,
|
|
24
|
+
k as SidebarHeader,
|
|
25
|
+
v as SidebarInput,
|
|
26
|
+
A as SidebarInset,
|
|
27
|
+
C as SidebarMenu,
|
|
28
|
+
h as SidebarMenuAction,
|
|
29
|
+
j as SidebarMenuBadge,
|
|
30
|
+
w as SidebarMenuButton,
|
|
31
|
+
x as SidebarMenuItem,
|
|
32
|
+
y as SidebarMenuSkeleton,
|
|
33
|
+
F as SidebarMenuSub,
|
|
34
|
+
H as SidebarMenuSubButton,
|
|
35
|
+
L as SidebarMenuSubItem,
|
|
36
|
+
P as SidebarProvider,
|
|
37
|
+
R as SidebarRail,
|
|
38
|
+
T as SidebarSeparator,
|
|
39
|
+
q as SidebarTrigger,
|
|
40
|
+
z as useSidebar
|
|
39
41
|
};
|
package/dist/ui/skeleton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l, jsxs as f } from "react/jsx-runtime";
|
|
2
2
|
import * as o from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { ag as g } from "../_chunks/vendor-utils.js";
|
|
4
4
|
import { c as r } from "../_chunks/utils.js";
|
|
5
5
|
const k = g("bg-skeleton-base", {
|
|
6
6
|
variants: {
|
package/dist/ui/slider.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as SliderPrimitive from '../primitives/react-slider';
|
|
4
|
+
/**
|
|
5
|
+
* A Radix-powered slider supporting single or multiple thumbs.
|
|
6
|
+
*
|
|
7
|
+
* Pass `defaultValue={[50]}` for a single thumb, or `defaultValue={[25, 75]}`
|
|
8
|
+
* for a range slider with two thumbs. One `<Thumb>` is rendered per value entry.
|
|
9
|
+
*
|
|
10
|
+
* When using multiple thumbs, provide per-thumb labels via the `aria-label` array
|
|
11
|
+
* on the `value`/`defaultValue` entries, or wrap each in a labelled form field.
|
|
12
|
+
*/
|
|
4
13
|
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
5
14
|
export type SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
|
|
6
15
|
export { Slider };
|
package/dist/ui/slider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../src/ui/slider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,0BAA0B,CAAA;AAI3D,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../src/ui/slider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,0BAA0B,CAAA;AAI3D;;;;;;;;GAQG;AACH,QAAA,MAAM,MAAM,yJA8BV,CAAA;AAGF,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAA;AAErF,OAAO,EAAE,MAAM,EAAE,CAAA"}
|