@craftzbay/ui 0.9.0 → 0.11.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/README.md +82 -10
- package/dist-lib/__tests__/helpers/color.d.ts +9 -0
- package/dist-lib/__tests__/helpers/theme.d.ts +18 -0
- package/dist-lib/components/ui/Accordion.js +71 -0
- package/dist-lib/components/ui/Accordion.js.map +1 -0
- package/dist-lib/components/ui/Alert.d.ts +17 -1
- package/dist-lib/components/ui/Alert.js +79 -0
- package/dist-lib/components/ui/Alert.js.map +1 -0
- package/dist-lib/components/ui/Avatar.d.ts +3 -3
- package/dist-lib/components/ui/Avatar.js +94 -0
- package/dist-lib/components/ui/Avatar.js.map +1 -0
- package/dist-lib/components/ui/Badge.d.ts +4 -2
- package/dist-lib/components/ui/Badge.js +76 -0
- package/dist-lib/components/ui/Badge.js.map +1 -0
- package/dist-lib/components/ui/Breadcrumbs.d.ts +2 -0
- package/dist-lib/components/ui/Breadcrumbs.js +52 -0
- package/dist-lib/components/ui/Breadcrumbs.js.map +1 -0
- package/dist-lib/components/ui/Button.d.ts +6 -4
- package/dist-lib/components/ui/Button.js +131 -0
- package/dist-lib/components/ui/Button.js.map +1 -0
- package/dist-lib/components/ui/Calendar.d.ts +7 -1
- package/dist-lib/components/ui/Calendar.js +139 -0
- package/dist-lib/components/ui/Calendar.js.map +1 -0
- package/dist-lib/components/ui/Card.d.ts +3 -1
- package/dist-lib/components/ui/Card.js +97 -0
- package/dist-lib/components/ui/Card.js.map +1 -0
- package/dist-lib/components/ui/Carousel.d.ts +11 -7
- package/dist-lib/components/ui/Carousel.js +174 -0
- package/dist-lib/components/ui/Carousel.js.map +1 -0
- package/dist-lib/components/ui/Chart.d.ts +68 -7
- package/dist-lib/components/ui/Chart.js +487 -0
- package/dist-lib/components/ui/Chart.js.map +1 -0
- package/dist-lib/components/ui/Checkbox.js +70 -0
- package/dist-lib/components/ui/Checkbox.js.map +1 -0
- package/dist-lib/components/ui/Combobox.d.ts +9 -0
- package/dist-lib/components/ui/Combobox.js +195 -0
- package/dist-lib/components/ui/Combobox.js.map +1 -0
- package/dist-lib/components/ui/CommandPalette.d.ts +9 -6
- package/dist-lib/components/ui/CommandPalette.js +179 -0
- package/dist-lib/components/ui/CommandPalette.js.map +1 -0
- package/dist-lib/components/ui/ContextMenu.d.ts +7 -2
- package/dist-lib/components/ui/ContextMenu.js +165 -0
- package/dist-lib/components/ui/ContextMenu.js.map +1 -0
- package/dist-lib/components/ui/DataGrid.d.ts +17 -4
- package/dist-lib/components/ui/DataGrid.js +99 -0
- package/dist-lib/components/ui/DataGrid.js.map +1 -0
- package/dist-lib/components/ui/DatePicker.d.ts +16 -13
- package/dist-lib/components/ui/DatePicker.js +193 -0
- package/dist-lib/components/ui/DatePicker.js.map +1 -0
- package/dist-lib/components/ui/DesignSystemProvider.d.ts +102 -41
- package/dist-lib/components/ui/DesignSystemProvider.js +135 -0
- package/dist-lib/components/ui/DesignSystemProvider.js.map +1 -0
- package/dist-lib/components/ui/Dialog.d.ts +19 -4
- package/dist-lib/components/ui/Dialog.js +165 -0
- package/dist-lib/components/ui/Dialog.js.map +1 -0
- package/dist-lib/components/ui/Drawer.d.ts +23 -2
- package/dist-lib/components/ui/Drawer.js +132 -0
- package/dist-lib/components/ui/Drawer.js.map +1 -0
- package/dist-lib/components/ui/DropdownMenu.js +169 -0
- package/dist-lib/components/ui/DropdownMenu.js.map +1 -0
- package/dist-lib/components/ui/EmptyState.d.ts +2 -0
- package/dist-lib/components/ui/EmptyState.js +46 -0
- package/dist-lib/components/ui/EmptyState.js.map +1 -0
- package/dist-lib/components/ui/ErrorState.d.ts +13 -2
- package/dist-lib/components/ui/ErrorState.js +69 -0
- package/dist-lib/components/ui/ErrorState.js.map +1 -0
- package/dist-lib/components/ui/FileUpload.d.ts +3 -0
- package/dist-lib/components/ui/FileUpload.js +111 -0
- package/dist-lib/components/ui/FileUpload.js.map +1 -0
- package/dist-lib/components/ui/Form.d.ts +16 -2
- package/dist-lib/components/ui/Form.js +131 -0
- package/dist-lib/components/ui/Form.js.map +1 -0
- package/dist-lib/components/ui/Icon.d.ts +1 -1
- package/dist-lib/components/ui/Icon.js +32 -0
- package/dist-lib/components/ui/Icon.js.map +1 -0
- package/dist-lib/components/ui/IconButton.d.ts +3 -3
- package/dist-lib/components/ui/IconButton.js +64 -0
- package/dist-lib/components/ui/IconButton.js.map +1 -0
- package/dist-lib/components/ui/Input.d.ts +9 -4
- package/dist-lib/components/ui/Input.js +149 -0
- package/dist-lib/components/ui/Input.js.map +1 -0
- package/dist-lib/components/ui/Kbd.js +24 -0
- package/dist-lib/components/ui/Kbd.js.map +1 -0
- package/dist-lib/components/ui/MultiSelect.d.ts +3 -1
- package/dist-lib/components/ui/MultiSelect.js +210 -0
- package/dist-lib/components/ui/MultiSelect.js.map +1 -0
- package/dist-lib/components/ui/Pagination.d.ts +23 -0
- package/dist-lib/components/ui/Pagination.js +153 -0
- package/dist-lib/components/ui/Pagination.js.map +1 -0
- package/dist-lib/components/ui/Popover.js +35 -0
- package/dist-lib/components/ui/Popover.js.map +1 -0
- package/dist-lib/components/ui/Progress.d.ts +3 -3
- package/dist-lib/components/ui/Progress.js +100 -0
- package/dist-lib/components/ui/Progress.js.map +1 -0
- package/dist-lib/components/ui/RadioGroup.d.ts +1 -1
- package/dist-lib/components/ui/RadioGroup.js +81 -0
- package/dist-lib/components/ui/RadioGroup.js.map +1 -0
- package/dist-lib/components/ui/RelativeTime.d.ts +19 -0
- package/dist-lib/components/ui/RelativeTime.js +31 -0
- package/dist-lib/components/ui/RelativeTime.js.map +1 -0
- package/dist-lib/components/ui/ScrollArea.d.ts +9 -1
- package/dist-lib/components/ui/ScrollArea.js +60 -0
- package/dist-lib/components/ui/ScrollArea.js.map +1 -0
- package/dist-lib/components/ui/Select.d.ts +6 -1
- package/dist-lib/components/ui/Select.js +139 -0
- package/dist-lib/components/ui/Select.js.map +1 -0
- package/dist-lib/components/ui/Separator.js +26 -0
- package/dist-lib/components/ui/Separator.js.map +1 -0
- package/dist-lib/components/ui/Sheet.d.ts +10 -1
- package/dist-lib/components/ui/Sheet.js +136 -0
- package/dist-lib/components/ui/Sheet.js.map +1 -0
- package/dist-lib/components/ui/Sidebar.d.ts +29 -14
- package/dist-lib/components/ui/Sidebar.js +212 -0
- package/dist-lib/components/ui/Sidebar.js.map +1 -0
- package/dist-lib/components/ui/Skeleton.d.ts +13 -2
- package/dist-lib/components/ui/Skeleton.js +29 -0
- package/dist-lib/components/ui/Skeleton.js.map +1 -0
- package/dist-lib/components/ui/Slider.js +64 -0
- package/dist-lib/components/ui/Slider.js.map +1 -0
- package/dist-lib/components/ui/Snackbar.d.ts +1 -1
- package/dist-lib/components/ui/Snackbar.js +57 -0
- package/dist-lib/components/ui/Snackbar.js.map +1 -0
- package/dist-lib/components/ui/Spinner.js +54 -0
- package/dist-lib/components/ui/Spinner.js.map +1 -0
- package/dist-lib/components/ui/Stepper.d.ts +6 -0
- package/dist-lib/components/ui/Stepper.js +111 -0
- package/dist-lib/components/ui/Stepper.js.map +1 -0
- package/dist-lib/components/ui/Switch.js +80 -0
- package/dist-lib/components/ui/Switch.js.map +1 -0
- package/dist-lib/components/ui/Table.d.ts +41 -5
- package/dist-lib/components/ui/Table.js +179 -0
- package/dist-lib/components/ui/Table.js.map +1 -0
- package/dist-lib/components/ui/Tabs.d.ts +1 -1
- package/dist-lib/components/ui/Tabs.js +91 -0
- package/dist-lib/components/ui/Tabs.js.map +1 -0
- package/dist-lib/components/ui/TagInput.d.ts +17 -2
- package/dist-lib/components/ui/TagInput.js +111 -0
- package/dist-lib/components/ui/TagInput.js.map +1 -0
- package/dist-lib/components/ui/Textarea.js +88 -0
- package/dist-lib/components/ui/Textarea.js.map +1 -0
- package/dist-lib/components/ui/Timeline.d.ts +16 -6
- package/dist-lib/components/ui/Timeline.js +56 -0
- package/dist-lib/components/ui/Timeline.js.map +1 -0
- package/dist-lib/components/ui/Toast.d.ts +1 -1
- package/dist-lib/components/ui/Toast.js +158 -0
- package/dist-lib/components/ui/Toast.js.map +1 -0
- package/dist-lib/components/ui/Tooltip.d.ts +4 -1
- package/dist-lib/components/ui/Tooltip.js +60 -0
- package/dist-lib/components/ui/Tooltip.js.map +1 -0
- package/dist-lib/components/ui/TopNav.d.ts +7 -3
- package/dist-lib/components/ui/TopNav.js +62 -0
- package/dist-lib/components/ui/TopNav.js.map +1 -0
- package/dist-lib/components/ui/Tree.d.ts +34 -7
- package/dist-lib/components/ui/Tree.js +170 -0
- package/dist-lib/components/ui/Tree.js.map +1 -0
- package/dist-lib/hooks/use-debounce.d.ts +19 -0
- package/dist-lib/hooks/use-debounce.js +36 -0
- package/dist-lib/hooks/use-debounce.js.map +1 -0
- package/dist-lib/hooks/use-delayed-loading.d.ts +21 -0
- package/dist-lib/hooks/use-delayed-loading.js +20 -0
- package/dist-lib/hooks/use-delayed-loading.js.map +1 -0
- package/dist-lib/hooks/use-field-ids.d.ts +30 -0
- package/dist-lib/hooks/use-field-ids.js +18 -0
- package/dist-lib/hooks/use-field-ids.js.map +1 -0
- package/dist-lib/hooks/use-media-query.d.ts +3 -1
- package/dist-lib/hooks/use-media-query.js +22 -0
- package/dist-lib/hooks/use-media-query.js.map +1 -0
- package/dist-lib/hooks/use-modifier-key.d.ts +13 -0
- package/dist-lib/hooks/use-modifier-key.js +19 -0
- package/dist-lib/hooks/use-modifier-key.js.map +1 -0
- package/dist-lib/hooks/use-strings.d.ts +5 -0
- package/dist-lib/hooks/use-strings.js +12 -0
- package/dist-lib/hooks/use-strings.js.map +1 -0
- package/dist-lib/hooks/use-toast.d.ts +7 -2
- package/dist-lib/hooks/use-toast.js +67 -0
- package/dist-lib/hooks/use-toast.js.map +1 -0
- package/dist-lib/icon.d.ts +8 -0
- package/dist-lib/icon.js +7 -0
- package/dist-lib/icon.js.map +1 -0
- package/dist-lib/icons/index.d.ts +80 -88
- package/dist-lib/icons/index.js +163 -0
- package/dist-lib/icons/index.js.map +1 -0
- package/dist-lib/illustrations/index.d.ts +1 -0
- package/dist-lib/illustrations/index.js +114 -0
- package/dist-lib/illustrations/index.js.map +1 -0
- package/dist-lib/index.d.ts +68 -59
- package/dist-lib/index.js +288 -4530
- package/dist-lib/index.js.map +1 -1
- package/dist-lib/lib/format.d.ts +65 -0
- package/dist-lib/lib/format.js +95 -0
- package/dist-lib/lib/format.js.map +1 -0
- package/dist-lib/lib/return-focus.d.ts +11 -0
- package/dist-lib/lib/return-focus.js +12 -0
- package/dist-lib/lib/return-focus.js.map +1 -0
- package/dist-lib/lib/strings.d.ts +190 -0
- package/dist-lib/lib/strings.js +141 -0
- package/dist-lib/lib/strings.js.map +1 -0
- package/dist-lib/lib/strings.mn.d.ts +3 -0
- package/dist-lib/lib/strings.mn.js +115 -0
- package/dist-lib/lib/strings.mn.js.map +1 -0
- package/dist-lib/lib/utils.d.ts +0 -1
- package/dist-lib/lib/utils.js +10 -0
- package/dist-lib/lib/utils.js.map +1 -0
- package/dist-lib/styles.css +1 -1
- package/dist-lib/theme.css +840 -0
- package/package.json +38 -8
- package/dist-lib/index.cjs +0 -8
- package/dist-lib/index.cjs.map +0 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { cn as a } from "../lib/utils.js";
|
|
4
|
+
function c({ className: r, children: o, ...n }) {
|
|
5
|
+
return /* @__PURE__ */ t(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
viewBox: "0 0 120 120",
|
|
9
|
+
role: "img",
|
|
10
|
+
width: "120",
|
|
11
|
+
height: "120",
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeWidth: "1.5",
|
|
15
|
+
strokeLinecap: "round",
|
|
16
|
+
strokeLinejoin: "round",
|
|
17
|
+
className: a("text-foreground-subtle", r),
|
|
18
|
+
"aria-hidden": !0,
|
|
19
|
+
...n,
|
|
20
|
+
children: o
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
function l(r) {
|
|
25
|
+
return /* @__PURE__ */ e(c, { ...r, children: [
|
|
26
|
+
/* @__PURE__ */ t("path", { d: "M22 56l10-28a6 6 0 0 1 6-4h44a6 6 0 0 1 6 4l10 28" }),
|
|
27
|
+
/* @__PURE__ */ t("path", { d: "M22 56v32a6 6 0 0 0 6 6h64a6 6 0 0 0 6-6V56" }),
|
|
28
|
+
/* @__PURE__ */ t("path", { d: "M22 56h22l4 10h24l4-10h22" }),
|
|
29
|
+
/* @__PURE__ */ t("circle", { cx: "60", cy: "36", r: "2", className: "text-accent", stroke: "currentColor" }),
|
|
30
|
+
/* @__PURE__ */ t("path", { d: "M52 28l8 8M68 28l-8 8", opacity: "0.4" })
|
|
31
|
+
] });
|
|
32
|
+
}
|
|
33
|
+
function d(r) {
|
|
34
|
+
return /* @__PURE__ */ e(c, { ...r, children: [
|
|
35
|
+
/* @__PURE__ */ t("circle", { cx: "52", cy: "52", r: "26" }),
|
|
36
|
+
/* @__PURE__ */ t("path", { d: "M72 72l20 20" }),
|
|
37
|
+
/* @__PURE__ */ t("path", { d: "M42 52h20", opacity: "0.5" }),
|
|
38
|
+
/* @__PURE__ */ t("circle", { cx: "98", cy: "22", r: "1.5", className: "text-accent", stroke: "currentColor" }),
|
|
39
|
+
/* @__PURE__ */ t("circle", { cx: "20", cy: "92", r: "1.5", className: "text-accent", stroke: "currentColor" })
|
|
40
|
+
] });
|
|
41
|
+
}
|
|
42
|
+
function s(r) {
|
|
43
|
+
return /* @__PURE__ */ e(c, { ...r, children: [
|
|
44
|
+
/* @__PURE__ */ t("path", { d: "M22 32h76v56a6 6 0 0 1-6 6H28a6 6 0 0 1-6-6V32z" }),
|
|
45
|
+
/* @__PURE__ */ t("path", { d: "M22 44h76" }),
|
|
46
|
+
/* @__PURE__ */ t("circle", { cx: "32", cy: "38", r: "1.5" }),
|
|
47
|
+
/* @__PURE__ */ t("circle", { cx: "40", cy: "38", r: "1.5" }),
|
|
48
|
+
/* @__PURE__ */ t("circle", { cx: "48", cy: "38", r: "1.5" }),
|
|
49
|
+
/* @__PURE__ */ t("path", { d: "M44 64l32 16M76 64l-32 16", className: "text-accent", stroke: "currentColor" }),
|
|
50
|
+
/* @__PURE__ */ t(
|
|
51
|
+
"text",
|
|
52
|
+
{
|
|
53
|
+
x: "60",
|
|
54
|
+
y: "76",
|
|
55
|
+
fontFamily: "ui-monospace,monospace",
|
|
56
|
+
fontSize: "9",
|
|
57
|
+
textAnchor: "middle",
|
|
58
|
+
fill: "currentColor",
|
|
59
|
+
stroke: "none",
|
|
60
|
+
opacity: "0.6",
|
|
61
|
+
children: "404"
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
] });
|
|
65
|
+
}
|
|
66
|
+
function x(r) {
|
|
67
|
+
return /* @__PURE__ */ e(c, { ...r, children: [
|
|
68
|
+
/* @__PURE__ */ t("rect", { x: "22", y: "28", width: "76", height: "20", rx: "3" }),
|
|
69
|
+
/* @__PURE__ */ t("rect", { x: "22", y: "54", width: "76", height: "20", rx: "3" }),
|
|
70
|
+
/* @__PURE__ */ t("rect", { x: "22", y: "80", width: "76", height: "20", rx: "3" }),
|
|
71
|
+
/* @__PURE__ */ t("circle", { cx: "32", cy: "38", r: "2", className: "text-danger", stroke: "currentColor" }),
|
|
72
|
+
/* @__PURE__ */ t("circle", { cx: "32", cy: "64", r: "2", className: "text-danger", stroke: "currentColor" }),
|
|
73
|
+
/* @__PURE__ */ t("circle", { cx: "32", cy: "90", r: "2", className: "text-warning", stroke: "currentColor" }),
|
|
74
|
+
/* @__PURE__ */ t("path", { d: "M44 38h44M44 64h44M44 90h28", opacity: "0.4" }),
|
|
75
|
+
/* @__PURE__ */ t("path", { d: "M82 84l16 16M82 100l16-16", className: "text-danger", stroke: "currentColor" })
|
|
76
|
+
] });
|
|
77
|
+
}
|
|
78
|
+
function u(r) {
|
|
79
|
+
return /* @__PURE__ */ e(c, { ...r, children: [
|
|
80
|
+
/* @__PURE__ */ t("path", { d: "M22 86h76" }),
|
|
81
|
+
/* @__PURE__ */ t("path", { d: "M30 86V52l30-22 30 22v34" }),
|
|
82
|
+
/* @__PURE__ */ t("rect", { x: "40", y: "64", width: "14", height: "14", rx: "1" }),
|
|
83
|
+
/* @__PURE__ */ t("rect", { x: "66", y: "64", width: "14", height: "14", rx: "1" }),
|
|
84
|
+
/* @__PURE__ */ t("path", { d: "M30 52h60", opacity: "0.4" }),
|
|
85
|
+
/* @__PURE__ */ t("path", { d: "M40 40v6M50 36v10M70 36v10M80 40v6", className: "text-accent", stroke: "currentColor" })
|
|
86
|
+
] });
|
|
87
|
+
}
|
|
88
|
+
function p(r) {
|
|
89
|
+
return /* @__PURE__ */ e(c, { ...r, children: [
|
|
90
|
+
/* @__PURE__ */ t("path", { d: "M22 60a40 40 0 0 1 76 0", opacity: "0.4" }),
|
|
91
|
+
/* @__PURE__ */ t("path", { d: "M34 70a28 28 0 0 1 52 0", opacity: "0.6" }),
|
|
92
|
+
/* @__PURE__ */ t("path", { d: "M46 80a16 16 0 0 1 28 0" }),
|
|
93
|
+
/* @__PURE__ */ t("circle", { cx: "60", cy: "92", r: "3" }),
|
|
94
|
+
/* @__PURE__ */ t("path", { d: "M20 20l80 80", className: "text-danger", stroke: "currentColor" })
|
|
95
|
+
] });
|
|
96
|
+
}
|
|
97
|
+
function M(r) {
|
|
98
|
+
return /* @__PURE__ */ e(c, { ...r, children: [
|
|
99
|
+
/* @__PURE__ */ t("rect", { x: "34", y: "54", width: "52", height: "40", rx: "4" }),
|
|
100
|
+
/* @__PURE__ */ t("path", { d: "M44 54v-10a16 16 0 0 1 32 0v10" }),
|
|
101
|
+
/* @__PURE__ */ t("circle", { cx: "60", cy: "72", r: "4" }),
|
|
102
|
+
/* @__PURE__ */ t("path", { d: "M60 76v8" })
|
|
103
|
+
] });
|
|
104
|
+
}
|
|
105
|
+
export {
|
|
106
|
+
p as ConnectionLost,
|
|
107
|
+
u as Construction,
|
|
108
|
+
l as InboxEmpty,
|
|
109
|
+
M as Locked,
|
|
110
|
+
d as NoSearchResults,
|
|
111
|
+
s as NotFound,
|
|
112
|
+
x as ServerError
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/illustrations/index.tsx"],"sourcesContent":["import { type SVGProps } from 'react';\nimport { cn } from '@/lib/utils';\n\n/* Refined-minimal line illustrations. Single accent stroke, no fills.\n * Drop into EmptyState / ErrorState / FirstRunEmpty `icon` slots. */\n\ntype Props = SVGProps<SVGSVGElement>;\n\nfunction Base({ className, children, ...props }: Props & { children: React.ReactNode }) {\n return (\n <svg\n viewBox=\"0 0 120 120\"\n role=\"img\"\n width=\"120\"\n height=\"120\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"1.5\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={cn('text-foreground-subtle', className)}\n aria-hidden\n {...props}\n >\n {children}\n </svg>\n );\n}\n\nexport function InboxEmpty(props: Props) {\n return (\n <Base {...props}>\n <path d=\"M22 56l10-28a6 6 0 0 1 6-4h44a6 6 0 0 1 6 4l10 28\" />\n <path d=\"M22 56v32a6 6 0 0 0 6 6h64a6 6 0 0 0 6-6V56\" />\n <path d=\"M22 56h22l4 10h24l4-10h22\" />\n <circle cx=\"60\" cy=\"36\" r=\"2\" className=\"text-accent\" stroke=\"currentColor\" />\n <path d=\"M52 28l8 8M68 28l-8 8\" opacity=\"0.4\" />\n </Base>\n );\n}\n\nexport function NoSearchResults(props: Props) {\n return (\n <Base {...props}>\n <circle cx=\"52\" cy=\"52\" r=\"26\" />\n <path d=\"M72 72l20 20\" />\n <path d=\"M42 52h20\" opacity=\"0.5\" />\n <circle cx=\"98\" cy=\"22\" r=\"1.5\" className=\"text-accent\" stroke=\"currentColor\" />\n <circle cx=\"20\" cy=\"92\" r=\"1.5\" className=\"text-accent\" stroke=\"currentColor\" />\n </Base>\n );\n}\n\nexport function NotFound(props: Props) {\n return (\n <Base {...props}>\n <path d=\"M22 32h76v56a6 6 0 0 1-6 6H28a6 6 0 0 1-6-6V32z\" />\n <path d=\"M22 44h76\" />\n <circle cx=\"32\" cy=\"38\" r=\"1.5\" />\n <circle cx=\"40\" cy=\"38\" r=\"1.5\" />\n <circle cx=\"48\" cy=\"38\" r=\"1.5\" />\n <path d=\"M44 64l32 16M76 64l-32 16\" className=\"text-accent\" stroke=\"currentColor\" />\n <text\n x=\"60\"\n y=\"76\"\n fontFamily=\"ui-monospace,monospace\"\n fontSize=\"9\"\n textAnchor=\"middle\"\n fill=\"currentColor\"\n stroke=\"none\"\n opacity=\"0.6\"\n >\n 404\n </text>\n </Base>\n );\n}\n\nexport function ServerError(props: Props) {\n return (\n <Base {...props}>\n <rect x=\"22\" y=\"28\" width=\"76\" height=\"20\" rx=\"3\" />\n <rect x=\"22\" y=\"54\" width=\"76\" height=\"20\" rx=\"3\" />\n <rect x=\"22\" y=\"80\" width=\"76\" height=\"20\" rx=\"3\" />\n <circle cx=\"32\" cy=\"38\" r=\"2\" className=\"text-danger\" stroke=\"currentColor\" />\n <circle cx=\"32\" cy=\"64\" r=\"2\" className=\"text-danger\" stroke=\"currentColor\" />\n <circle cx=\"32\" cy=\"90\" r=\"2\" className=\"text-warning\" stroke=\"currentColor\" />\n <path d=\"M44 38h44M44 64h44M44 90h28\" opacity=\"0.4\" />\n <path d=\"M82 84l16 16M82 100l16-16\" className=\"text-danger\" stroke=\"currentColor\" />\n </Base>\n );\n}\n\nexport function Construction(props: Props) {\n return (\n <Base {...props}>\n <path d=\"M22 86h76\" />\n <path d=\"M30 86V52l30-22 30 22v34\" />\n <rect x=\"40\" y=\"64\" width=\"14\" height=\"14\" rx=\"1\" />\n <rect x=\"66\" y=\"64\" width=\"14\" height=\"14\" rx=\"1\" />\n <path d=\"M30 52h60\" opacity=\"0.4\" />\n <path d=\"M40 40v6M50 36v10M70 36v10M80 40v6\" className=\"text-accent\" stroke=\"currentColor\" />\n </Base>\n );\n}\n\nexport function ConnectionLost(props: Props) {\n return (\n <Base {...props}>\n <path d=\"M22 60a40 40 0 0 1 76 0\" opacity=\"0.4\" />\n <path d=\"M34 70a28 28 0 0 1 52 0\" opacity=\"0.6\" />\n <path d=\"M46 80a16 16 0 0 1 28 0\" />\n <circle cx=\"60\" cy=\"92\" r=\"3\" />\n <path d=\"M20 20l80 80\" className=\"text-danger\" stroke=\"currentColor\" />\n </Base>\n );\n}\n\nexport function Locked(props: Props) {\n return (\n <Base {...props}>\n <rect x=\"34\" y=\"54\" width=\"52\" height=\"40\" rx=\"4\" />\n <path d=\"M44 54v-10a16 16 0 0 1 32 0v10\" />\n <circle cx=\"60\" cy=\"72\" r=\"4\" />\n <path d=\"M60 76v8\" />\n </Base>\n );\n}\n"],"names":["Base","className","children","props","jsx","cn","InboxEmpty","jsxs","NoSearchResults","NotFound","ServerError","Construction","ConnectionLost","Locked"],"mappings":";;;AAQA,SAASA,EAAK,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAAgD;AACtF,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACN,QAAO;AAAA,MACP,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MACf,WAAWC,EAAG,0BAA0BJ,CAAS;AAAA,MACjD,eAAW;AAAA,MACV,GAAGE;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;AAEO,SAASI,EAAWH,GAAc;AACvC,SACE,gBAAAI,EAACP,GAAA,EAAM,GAAGG,GACR,UAAA;AAAA,IAAA,gBAAAC,EAAC,QAAA,EAAK,GAAE,oDAAA,CAAoD;AAAA,IAC5D,gBAAAA,EAAC,QAAA,EAAK,GAAE,8CAAA,CAA8C;AAAA,IACtD,gBAAAA,EAA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J;"}
|
package/dist-lib/index.d.ts
CHANGED
|
@@ -1,59 +1,68 @@
|
|
|
1
|
-
export * from './lib/utils';
|
|
2
|
-
export * from './lib/cva';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export *
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './components/ui/
|
|
17
|
-
export * from './components/ui/
|
|
18
|
-
export * from './components/ui/
|
|
19
|
-
export * from './components/ui/
|
|
20
|
-
export * from './components/ui/
|
|
21
|
-
export * from './components/ui/
|
|
22
|
-
export * from './components/ui/
|
|
23
|
-
export * from './components/ui/
|
|
24
|
-
export * from './components/ui/
|
|
25
|
-
export * from './components/ui/
|
|
26
|
-
export * from './components/ui/
|
|
27
|
-
export * from './components/ui/
|
|
28
|
-
export * from './components/ui/
|
|
29
|
-
export * from './components/ui/
|
|
30
|
-
export * from './components/ui/
|
|
31
|
-
export * from './components/ui/
|
|
32
|
-
export * from './components/ui/
|
|
33
|
-
export * from './components/ui/
|
|
34
|
-
export * from './components/ui/
|
|
35
|
-
export * from './components/ui/
|
|
36
|
-
export * from './components/ui/
|
|
37
|
-
export * from './components/ui/
|
|
38
|
-
export * from './components/ui/
|
|
39
|
-
export * from './components/ui/
|
|
40
|
-
export * from './components/ui/
|
|
41
|
-
export * from './components/ui/
|
|
42
|
-
export * from './components/ui/
|
|
43
|
-
export * from './components/ui/
|
|
44
|
-
export * from './components/ui/
|
|
45
|
-
export * from './components/ui/
|
|
46
|
-
export * from './components/ui/
|
|
47
|
-
export * from './components/ui/
|
|
48
|
-
export * from './components/ui/
|
|
49
|
-
export * from './components/ui/
|
|
50
|
-
export * from './components/ui/
|
|
51
|
-
export * from './components/ui/
|
|
52
|
-
export * from './components/ui/
|
|
53
|
-
export * from './components/ui/
|
|
54
|
-
export * from './components/ui/
|
|
55
|
-
export * from './components/ui/
|
|
56
|
-
export * from './components/ui/
|
|
57
|
-
export * from './components/ui/
|
|
58
|
-
export * from './components/ui/
|
|
59
|
-
export * from './components/ui/
|
|
1
|
+
export * from './lib/utils.js';
|
|
2
|
+
export * from './lib/cva.js';
|
|
3
|
+
export { defaultStrings, formatString, type UiStrings, type DeepPartial } from './lib/strings.js';
|
|
4
|
+
export { mnStrings } from './lib/strings.mn.js';
|
|
5
|
+
export type { ReturnFocusRef } from './lib/return-focus.js';
|
|
6
|
+
export * from './lib/format.js';
|
|
7
|
+
export * from './hooks/use-media-query.js';
|
|
8
|
+
export * from './hooks/use-toast.js';
|
|
9
|
+
export * from './hooks/use-field-ids.js';
|
|
10
|
+
export * from './hooks/use-modifier-key.js';
|
|
11
|
+
export * from './hooks/use-delayed-loading.js';
|
|
12
|
+
export * from './hooks/use-debounce.js';
|
|
13
|
+
export { useStrings } from './hooks/use-strings.js';
|
|
14
|
+
export * as Icons from './icons/index.js';
|
|
15
|
+
export * as Illustrations from './illustrations/index.js';
|
|
16
|
+
export * from './components/ui/Accordion.js';
|
|
17
|
+
export * from './components/ui/Alert.js';
|
|
18
|
+
export * from './components/ui/Avatar.js';
|
|
19
|
+
export * from './components/ui/Badge.js';
|
|
20
|
+
export * from './components/ui/Breadcrumbs.js';
|
|
21
|
+
export * from './components/ui/Button.js';
|
|
22
|
+
export * from './components/ui/Card.js';
|
|
23
|
+
export * from './components/ui/Checkbox.js';
|
|
24
|
+
export * from './components/ui/Combobox.js';
|
|
25
|
+
export * from './components/ui/CommandPalette.js';
|
|
26
|
+
export * from './components/ui/ContextMenu.js';
|
|
27
|
+
export * from './components/ui/DataGrid.js';
|
|
28
|
+
export * from './components/ui/DatePicker.js';
|
|
29
|
+
export * from './components/ui/DesignSystemProvider.js';
|
|
30
|
+
export * from './components/ui/Dialog.js';
|
|
31
|
+
export * from './components/ui/DropdownMenu.js';
|
|
32
|
+
export * from './components/ui/EmptyState.js';
|
|
33
|
+
export * from './components/ui/ErrorState.js';
|
|
34
|
+
export * from './components/ui/Form.js';
|
|
35
|
+
export * from './components/ui/IconButton.js';
|
|
36
|
+
export * from './components/ui/Input.js';
|
|
37
|
+
export * from './components/ui/Kbd.js';
|
|
38
|
+
export * from './components/ui/MultiSelect.js';
|
|
39
|
+
export * from './components/ui/Pagination.js';
|
|
40
|
+
export * from './components/ui/Popover.js';
|
|
41
|
+
export * from './components/ui/Progress.js';
|
|
42
|
+
export * from './components/ui/RadioGroup.js';
|
|
43
|
+
export * from './components/ui/ScrollArea.js';
|
|
44
|
+
export * from './components/ui/Select.js';
|
|
45
|
+
export * from './components/ui/Separator.js';
|
|
46
|
+
export * from './components/ui/Sheet.js';
|
|
47
|
+
export * from './components/ui/Sidebar.js';
|
|
48
|
+
export * from './components/ui/Skeleton.js';
|
|
49
|
+
export * from './components/ui/Slider.js';
|
|
50
|
+
export * from './components/ui/Spinner.js';
|
|
51
|
+
export * from './components/ui/Stepper.js';
|
|
52
|
+
export * from './components/ui/Switch.js';
|
|
53
|
+
export * from './components/ui/Table.js';
|
|
54
|
+
export * from './components/ui/Tabs.js';
|
|
55
|
+
export * from './components/ui/Textarea.js';
|
|
56
|
+
export * from './components/ui/Toast.js';
|
|
57
|
+
export * from './components/ui/Tooltip.js';
|
|
58
|
+
export * from './components/ui/TopNav.js';
|
|
59
|
+
export * from './components/ui/Calendar.js';
|
|
60
|
+
export * from './components/ui/Carousel.js';
|
|
61
|
+
export * from './components/ui/Chart.js';
|
|
62
|
+
export * from './components/ui/RelativeTime.js';
|
|
63
|
+
export * from './components/ui/Drawer.js';
|
|
64
|
+
export * from './components/ui/FileUpload.js';
|
|
65
|
+
export * from './components/ui/Snackbar.js';
|
|
66
|
+
export * from './components/ui/TagInput.js';
|
|
67
|
+
export * from './components/ui/Timeline.js';
|
|
68
|
+
export * from './components/ui/Tree.js';
|