ui-lab-registry 0.3.411 → 0.3.412
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/components/Button/examples/05-split-action-button.d.ts.map +1 -1
- package/dist/components/Button/examples/05-split-action-button.js +39 -24
- package/dist/components/Button/examples/05-split-action-button.js.map +1 -1
- package/dist/components/Button/examples.json +2 -2
- package/dist/components/Frame/examples/02-tooltip-example.d.ts.map +1 -1
- package/dist/components/Frame/examples/02-tooltip-example.js +1 -3
- package/dist/components/Frame/examples/02-tooltip-example.js.map +1 -1
- package/dist/components/Frame/examples/03-sidebar-tab.d.ts.map +1 -1
- package/dist/components/Frame/examples/03-sidebar-tab.js +5 -1
- package/dist/components/Frame/examples/03-sidebar-tab.js.map +1 -1
- package/dist/components/Frame/examples.json +2 -2
- package/dist/components/Frame/index.d.ts.map +1 -1
- package/dist/components/Frame/index.js +4 -27
- package/dist/components/Frame/index.js.map +1 -1
- package/dist/generated-data.d.ts.map +1 -1
- package/dist/generated-data.js +333 -156
- package/dist/generated-data.js.map +1 -1
- package/dist/generated-styles.d.ts.map +1 -1
- package/dist/generated-styles.js +1256 -384
- package/dist/generated-styles.js.map +1 -1
- package/dist/generated-styles.json +1256 -384
- package/dist/guides/index.d.ts +9 -0
- package/dist/guides/index.d.ts.map +1 -0
- package/dist/guides/index.js +70 -0
- package/dist/guides/index.js.map +1 -0
- package/dist/guides/setup-ui-lab-in-project.d.ts +4 -0
- package/dist/guides/setup-ui-lab-in-project.d.ts.map +1 -0
- package/dist/guides/setup-ui-lab-in-project.js +130 -0
- package/dist/guides/setup-ui-lab-in-project.js.map +1 -0
- package/dist/guides/theme-switching-nextjs.d.ts +4 -0
- package/dist/guides/theme-switching-nextjs.d.ts.map +1 -0
- package/dist/guides/theme-switching-nextjs.js +289 -0
- package/dist/guides/theme-switching-nextjs.js.map +1 -0
- package/dist/guides/translate-existing-ui-to-ui-lab.d.ts +4 -0
- package/dist/guides/translate-existing-ui-to-ui-lab.d.ts.map +1 -0
- package/dist/guides/translate-existing-ui-to-ui-lab.js +124 -0
- package/dist/guides/translate-existing-ui-to-ui-lab.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/registry.js +4 -4
- package/dist/registry.js.map +1 -1
- package/dist/types.d.ts +35 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/Button/examples/05-split-action-button.tsx +56 -68
- package/src/components/Button/examples.json +2 -2
- package/src/components/Frame/examples/02-tooltip-example.tsx +3 -4
- package/src/components/Frame/examples/03-sidebar-tab.tsx +7 -5
- package/src/components/Frame/examples.json +2 -2
- package/src/components/Frame/index.tsx +5 -28
- package/src/generated-data.ts +333 -156
- package/src/generated-styles.ts +1256 -384
- package/src/guides/index.ts +78 -0
- package/src/guides/setup-ui-lab-in-project.ts +139 -0
- package/src/guides/theme-switching-nextjs.ts +296 -0
- package/src/guides/translate-existing-ui-to-ui-lab.ts +135 -0
- package/src/index.ts +15 -2
- package/src/registry.ts +4 -4
- package/src/types.ts +45 -0
- package/src/generated-controls.ts +0 -194
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"05-split-action-button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/examples/05-split-action-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"05-split-action-button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/examples/05-split-action-button.tsx"],"names":[],"mappings":"AA+CA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CA2C9B"}
|
|
@@ -1,33 +1,48 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Button, Divider, Select,
|
|
5
|
-
import { FaSpinner, FaCheck, FaEllipsisVertical,
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
4
|
+
import { Button, Divider, Select, Badge, Flex } from 'ui-lab-components';
|
|
5
|
+
import { FaBox, FaSpinner, FaCheck, FaEllipsisVertical, FaCopy, FaTags, FaTrash } from "react-icons/fa6";
|
|
6
|
+
const selectedCount = 12;
|
|
7
|
+
const bulkActions = {
|
|
8
|
+
archive: {
|
|
9
|
+
label: "Archive",
|
|
10
|
+
loadingLabel: "Archiving...",
|
|
11
|
+
successLabel: "Archived",
|
|
12
|
+
variant: "primary",
|
|
13
|
+
icon: _jsx(FaBox, {}),
|
|
14
|
+
},
|
|
15
|
+
duplicate: {
|
|
16
|
+
label: "Duplicate",
|
|
17
|
+
loadingLabel: "Duplicating...",
|
|
18
|
+
successLabel: "Duplicated",
|
|
19
|
+
variant: "outline",
|
|
20
|
+
icon: _jsx(FaCopy, {}),
|
|
21
|
+
},
|
|
22
|
+
tag: {
|
|
23
|
+
label: "Add Tags",
|
|
24
|
+
loadingLabel: "Applying tags...",
|
|
25
|
+
successLabel: "Tagged",
|
|
26
|
+
variant: "outline",
|
|
27
|
+
icon: _jsx(FaTags, {}),
|
|
28
|
+
},
|
|
29
|
+
delete: {
|
|
30
|
+
label: "Delete",
|
|
31
|
+
loadingLabel: "Deleting...",
|
|
32
|
+
successLabel: "Deleted",
|
|
33
|
+
variant: "danger",
|
|
34
|
+
icon: _jsx(FaTrash, {}),
|
|
35
|
+
},
|
|
20
36
|
};
|
|
21
37
|
export const metadata = {
|
|
22
38
|
title: 'Split Action Button',
|
|
23
|
-
description: 'A
|
|
39
|
+
description: 'A split button for bulk actions with dynamic icons, variants, and async feedback while keeping the primary action easy to repeat.'
|
|
24
40
|
};
|
|
25
41
|
export default function Example() {
|
|
26
|
-
const [action, setAction] = useState("
|
|
42
|
+
const [action, setAction] = useState("archive");
|
|
27
43
|
const [status, setStatus] = useState("idle");
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const cfg = publishActions[action];
|
|
44
|
+
const cfg = bulkActions[action];
|
|
45
|
+
const itemsLabel = `${selectedCount} ${selectedCount === 1 ? "item" : "items"}`;
|
|
31
46
|
const handleExecute = () => {
|
|
32
47
|
setStatus("loading");
|
|
33
48
|
setTimeout(() => {
|
|
@@ -35,8 +50,8 @@ export default function Example() {
|
|
|
35
50
|
setTimeout(() => setStatus("idle"), 2000);
|
|
36
51
|
}, 1500);
|
|
37
52
|
};
|
|
38
|
-
const leftIcon = status === "loading" ? _jsx(FaSpinner, { className: "animate-spin" }) : status === "done" ? _jsx(FaCheck, {}) :
|
|
39
|
-
const label = status === "loading" ?
|
|
40
|
-
return (_jsxs(Flex, { gap: "xs", className: "w-110", align: "center", children: [_jsxs(
|
|
53
|
+
const leftIcon = status === "loading" ? _jsx(FaSpinner, { className: "animate-spin" }) : status === "done" ? _jsx(FaCheck, {}) : cfg.icon;
|
|
54
|
+
const label = status === "loading" ? cfg.loadingLabel : status === "done" ? cfg.successLabel : `${cfg.label} ${itemsLabel}`;
|
|
55
|
+
return (_jsxs(Flex, { gap: "xs", className: "w-110", align: "center", children: [_jsxs(Badge, { variant: "secondary", children: [selectedCount, " selected"] }), _jsxs(Select, { className: "flex h-10", selectedKey: action, onSelectionChange: (key) => setAction(key), isDisabled: status !== "idle", children: [_jsx(Button, { onPress: handleExecute, variant: cfg.variant, size: "sm", className: "w-full rounded-none justify-start", isDisabled: status !== "idle" || selectedCount === 0, icon: leftIcon, children: label }), _jsx(Divider, { orientation: "vertical", spacing: "none" }), _jsx(Select.Trigger, { "aria-label": "Choose a bulk action" }), _jsxs(Select.Content, { children: [_jsx(Select.Item, { value: "archive", textValue: "Archive", icon: _jsx(FaBox, { className: "h-3 w-3" }), children: "Archive" }), _jsx(Select.Item, { value: "duplicate", textValue: "Duplicate", icon: _jsx(FaCopy, { className: "h-3 w-3" }), children: "Duplicate" }), _jsx(Select.Item, { value: "tag", textValue: "Add Tags", icon: _jsx(FaTags, { className: "h-3 w-3" }), children: "Add Tags" }), _jsx(Select.Item, { value: "delete", textValue: "Delete", icon: _jsx(FaTrash, { className: "h-3 w-3" }), children: "Delete" })] })] }), _jsx(Button, { size: "icon", variant: "outline", icon: _jsx(FaEllipsisVertical, {}), "aria-label": "More bulk actions" })] }));
|
|
41
56
|
}
|
|
42
57
|
//# sourceMappingURL=05-split-action-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"05-split-action-button.js","sourceRoot":"","sources":["../../../../src/components/Button/examples/05-split-action-button.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"05-split-action-button.js","sourceRoot":"","sources":["../../../../src/components/Button/examples/05-split-action-button.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAIzG,MAAM,aAAa,GAAW,EAAE,CAAC;AAEjC,MAAM,WAAW,GAMZ;IACH,OAAO,EAAE;QACP,KAAK,EAAE,SAAS;QAChB,YAAY,EAAE,cAAc;QAC5B,YAAY,EAAE,UAAU;QACxB,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,KAAC,KAAK,KAAG;KAChB;IACD,SAAS,EAAE;QACT,KAA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AI,EAAE,KAAC,KAAK,IAAC,SAAS,EAAC,SAAS,GAAG,wBAAuB,EAC3G,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAC,WAAW,EAAC,SAAS,EAAC,WAAW,EAAC,IAAI,EAAE,KAAC,MAAM,IAAC,SAAS,EAAC,SAAS,GAAG,0BAAyB,EAClH,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAC,KAAK,EAAC,SAAS,EAAC,UAAU,EAAC,IAAI,EAAE,KAAC,MAAM,IAAC,SAAS,EAAC,SAAS,GAAG,yBAAwB,EAC1G,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,OAAO,IAAC,SAAS,EAAC,SAAS,GAAG,uBAAsB,IAC3F,IACV,EACT,KAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAE,KAAC,kBAAkB,KAAG,gBAAa,mBAAmB,GAAG,IAChG,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"05-split-action-button": {
|
|
23
23
|
"title": "Split Action Button",
|
|
24
|
-
"description": "A
|
|
25
|
-
"code": "\"use client\";\n\nimport React, { useState } from 'react'\nimport { Button, Divider, Select,
|
|
24
|
+
"description": "A split button for bulk actions with dynamic icons, variants, and async feedback while keeping the primary action easy to repeat.",
|
|
25
|
+
"code": "\"use client\";\n\nimport React, { useState } from 'react'\nimport { Button, Divider, Select, Badge, Flex } from 'ui-lab-components'\nimport { FaBox, FaSpinner, FaCheck, FaEllipsisVertical, FaCopy, FaTags, FaTrash } from \"react-icons/fa6\";\n\ntype BulkAction = \"archive\" | \"duplicate\" | \"tag\" | \"delete\";\n\nconst selectedCount: number = 12;\n\nconst bulkActions: Record<BulkAction, {\n label: string;\n loadingLabel: string;\n successLabel: string;\n variant: \"primary\" | \"outline\" | \"danger\";\n icon: React.ReactNode;\n}> = {\n archive: {\n label: \"Archive\",\n loadingLabel: \"Archiving...\",\n successLabel: \"Archived\",\n variant: \"primary\",\n icon: <FaBox />,\n },\n duplicate: {\n label: \"Duplicate\",\n loadingLabel: \"Duplicating...\",\n successLabel: \"Duplicated\",\n variant: \"outline\",\n icon: <FaCopy />,\n },\n tag: {\n label: \"Add Tags\",\n loadingLabel: \"Applying tags...\",\n successLabel: \"Tagged\",\n variant: \"outline\",\n icon: <FaTags />,\n },\n delete: {\n label: \"Delete\",\n loadingLabel: \"Deleting...\",\n successLabel: \"Deleted\",\n variant: \"danger\",\n icon: <FaTrash />,\n },\n};\n\nexport default function Example() {\n const [action, setAction] = useState<BulkAction>(\"archive\");\n const [status, setStatus] = useState<\"idle\" | \"loading\" | \"done\">(\"idle\");\n const cfg = bulkActions[action];\n const itemsLabel = `${selectedCount} ${selectedCount === 1 ? \"item\" : \"items\"}`;\n\n const handleExecute = () => {\n setStatus(\"loading\");\n setTimeout(() => {\n setStatus(\"done\");\n setTimeout(() => setStatus(\"idle\"), 2000);\n }, 1500);\n };\n\n const leftIcon = status === \"loading\" ? <FaSpinner className=\"animate-spin\" /> : status === \"done\" ? <FaCheck /> : cfg.icon;\n const label = status === \"loading\" ? cfg.loadingLabel : status === \"done\" ? cfg.successLabel : `${cfg.label} ${itemsLabel}`;\n\n return (\n <Flex gap=\"xs\" className=\"w-110\" align=\"center\">\n <Badge variant=\"secondary\">{selectedCount} selected</Badge>\n <Select className=\"flex h-10\" selectedKey={action} onSelectionChange={(key) => setAction(key as BulkAction)} isDisabled={status !== \"idle\"}>\n <Button\n onPress={handleExecute}\n variant={cfg.variant}\n size=\"sm\"\n className=\"w-full rounded-none justify-start\"\n isDisabled={status !== \"idle\" || selectedCount === 0}\n icon={leftIcon}\n >\n {label}\n </Button>\n <Divider orientation=\"vertical\" spacing=\"none\" />\n <Select.Trigger aria-label=\"Choose a bulk action\" />\n <Select.Content>\n <Select.Item value=\"archive\" textValue=\"Archive\" icon={<FaBox className=\"h-3 w-3\" />}>Archive</Select.Item>\n <Select.Item value=\"duplicate\" textValue=\"Duplicate\" icon={<FaCopy className=\"h-3 w-3\" />}>Duplicate</Select.Item>\n <Select.Item value=\"tag\" textValue=\"Add Tags\" icon={<FaTags className=\"h-3 w-3\" />}>Add Tags</Select.Item>\n <Select.Item value=\"delete\" textValue=\"Delete\" icon={<FaTrash className=\"h-3 w-3\" />}>Delete</Select.Item>\n </Select.Content>\n </Select>\n <Button size=\"icon\" variant=\"outline\" icon={<FaEllipsisVertical />} aria-label=\"More bulk actions\" />\n </Flex>\n );\n}"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"02-tooltip-example.d.ts","sourceRoot":"","sources":["../../../../src/components/Frame/examples/02-tooltip-example.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;
|
|
1
|
+
{"version":3,"file":"02-tooltip-example.d.ts","sourceRoot":"","sources":["../../../../src/components/Frame/examples/02-tooltip-example.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAQF,QAAA,MAAM,QAAQ,+CAqBb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -7,9 +7,7 @@ import { Frame } from 'ui-lab-components';
|
|
|
7
7
|
const TAIL_WIDTH = 48;
|
|
8
8
|
const TAIL_PATH = "M 0 0 C 8 0 20 -16 24 -16 C 28 -16 36 0 48 0";
|
|
9
9
|
const Example2 = () => {
|
|
10
|
-
return (_jsx("div", { className: "flex flex-col gap-12 p-12 items-center justify-center min-h-[400px] bg-background-950", children: _jsx(Frame, { side: "bottom", shapeMode: "extend", path: TAIL_PATH, pathWidth: TAIL_WIDTH, fill: "var(--color-background-900)",
|
|
11
|
-
// style={{ color: "var(--background-700)" }}
|
|
12
|
-
className: "max-w-sm border-background-700", padding: "large", children: _jsxs("div", { className: "text-center", children: [_jsx("h3", { className: "font-semibold text-lg mb-2 text-foreground-50", children: "Did you know?" }), _jsxs("p", { className: "text-foreground-400 text-sm leading-relaxed", children: ["You can customize the frame orientation using the ", _jsx("code", { className: "bg-background-800 px-1 rounded", children: "side" }), " prop. This frame uses ", _jsx("code", { className: "text-accent-500", children: "side=\"bottom\"" }), " to create a tooltip tail."] })] }) }) }));
|
|
10
|
+
return (_jsx("div", { className: "flex flex-col gap-12 p-12 items-center justify-center min-h-[400px] bg-background-950", children: _jsx(Frame, { side: "bottom", shapeMode: "extend", path: TAIL_PATH, pathWidth: TAIL_WIDTH, className: "max-w-sm border-background-700 p-6", style: { "--frame-fill": "var(--color-background-900)" }, children: _jsxs("div", { className: "text-center", children: [_jsx("h3", { className: "font-semibold text-lg mb-2 text-foreground-50", children: "Did you know?" }), _jsxs("p", { className: "text-foreground-400 text-sm leading-relaxed", children: ["You can customize the frame orientation using the ", _jsx("code", { className: "bg-background-800 px-1 rounded", children: "side" }), " prop. This frame uses ", _jsx("code", { className: "text-accent-500", children: "side=\"bottom\"" }), " to create a tooltip tail."] })] }) }) }));
|
|
13
11
|
};
|
|
14
12
|
export default Example2;
|
|
15
13
|
//# sourceMappingURL=02-tooltip-example.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"02-tooltip-example.js","sourceRoot":"","sources":["../../../../src/components/Frame/examples/02-tooltip-example.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,8EAA8E;CAC5F,CAAC;
|
|
1
|
+
{"version":3,"file":"02-tooltip-example.js","sourceRoot":"","sources":["../../../../src/components/Frame/examples/02-tooltip-example.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,8EAA8E;CAC5F,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,UAAU,GAAG,EAAE,CAAC;AACtB,MAAM,SAAS,GAAG,8CAA8C,CAAC;AAEjE,MAAM,QAAQ,GAAG,GAAG,EAAE;IACpB,OAAO,CACL,cAAK,SAAS,EAAC,uFAAuF,YACpG,KAAC,KAAK,IACJ,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,QAAQ,EAClB,IAAI,EAAE,SAAS,EACf,SAAS,EAAE,UAAU,EACrB,SAAS,EAAC,oCAAoC,EAC9C,KAAK,EAAE,EAAE,cAAc,EAAE,6BAA6B,EAAyB,YAE/E,eAAK,SAAS,EAAC,aAAa,aAC1B,aAAI,SAAS,EAAC,+CAA+C,8BAAmB,EAChF,aAAG,SAAS,EAAC,6CAA6C,mEACN,eAAM,SAAS,EAAC,gCAAgC,qBAAY,6BAC9F,eAAM,SAAS,EAAC,iBAAiB,gCAAqB,kCACpE,IACA,GACA,GACJ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"03-sidebar-tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Frame/examples/03-sidebar-tab.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;
|
|
1
|
+
{"version":3,"file":"03-sidebar-tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Frame/examples/03-sidebar-tab.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAQF,QAAA,MAAM,QAAQ,+CAoCb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -7,7 +7,11 @@ import { Frame } from 'ui-lab-components';
|
|
|
7
7
|
const TAB_WIDTH = 120;
|
|
8
8
|
const TAB_PATH = "M 0 0 C 20 0 20 -24 40 -24 L 80 -24 C 100 -24 100 0 120 0";
|
|
9
9
|
const Example3 = () => {
|
|
10
|
-
return (_jsxs("div", { className: "flex flex-row gap-0 p-12 items-center justify-center bg-background-950 min-h-[400px]", children: [_jsxs("div", { className: "flex flex-col items-end justify-center space-y-8 pr-6 border-background-800/50 h-64", children: [_jsx("div", { className: "text-foreground-400 font-medium cursor-pointer hover:text-foreground-400 transition-colors", children: "Dashboard" }), _jsx("div", { className: "text-accent-500 font-bold cursor-default", children: "Settings" }), _jsx("div", { className: "text-foreground-400 font-medium cursor-pointer hover:text-foreground-400 transition-colors", children: "Profile" })] }), _jsxs("div", { className: "-ml-[1.5px]", children: [" ", _jsx(Frame, { side: "left", shapeMode: "extend", path: TAB_PATH, pathWidth: TAB_WIDTH,
|
|
10
|
+
return (_jsxs("div", { className: "flex flex-row gap-0 p-12 items-center justify-center bg-background-950 min-h-[400px]", children: [_jsxs("div", { className: "flex flex-col items-end justify-center space-y-8 pr-6 border-background-800/50 h-64", children: [_jsx("div", { className: "text-foreground-400 font-medium cursor-pointer hover:text-foreground-400 transition-colors", children: "Dashboard" }), _jsx("div", { className: "text-accent-500 font-bold cursor-default", children: "Settings" }), _jsx("div", { className: "text-foreground-400 font-medium cursor-pointer hover:text-foreground-400 transition-colors", children: "Profile" })] }), _jsxs("div", { className: "-ml-[1.5px]", children: [" ", _jsx(Frame, { side: "left", shapeMode: "extend", path: TAB_PATH, pathWidth: TAB_WIDTH, className: "w-80 h-64 p-6", style: {
|
|
11
|
+
"--frame-fill": "var(--color-background-900)",
|
|
12
|
+
"--frame-radius": "16px",
|
|
13
|
+
color: "var(--background-700)",
|
|
14
|
+
}, children: _jsxs("div", { className: "h-full flex flex-col justify-center", children: [_jsx("h2", { className: "text-2xl font-bold text-foreground-50 mb-4", children: "Settings" }), _jsxs("div", { className: "space-y-3", children: [_jsx("div", { className: "h-2 w-2/3 bg-background-800 rounded" }), _jsx("div", { className: "h-2 w-1/2 bg-background-800 rounded" }), _jsx("div", { className: "h-2 w-3/4 bg-background-800 rounded" })] })] }) })] })] }));
|
|
11
15
|
};
|
|
12
16
|
export default Example3;
|
|
13
17
|
//# sourceMappingURL=03-sidebar-tab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"03-sidebar-tab.js","sourceRoot":"","sources":["../../../../src/components/Frame/examples/03-sidebar-tab.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,mFAAmF;CACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"03-sidebar-tab.js","sourceRoot":"","sources":["../../../../src/components/Frame/examples/03-sidebar-tab.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,mFAAmF;CACjG,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,SAAS,GAAG,GAAG,CAAC;AACtB,MAAM,QAAQ,GAAG,2DAA2D,CAAC;AAE7E,MAAM,QAAQ,GAAG,GAAG,EAAE;IACpB,OAAO,CACL,eAAK,SAAS,EAAC,sFAAsF,aAEnG,eAAK,SAAS,EAAC,qFAAqF,aAClG,cAAK,SAAS,EAAC,4FAA4F,0BAAgB,EAC3H,cAAK,SAAS,EAAC,0CAA0C,yBAAe,EACxE,cAAK,SAAS,EAAC,4FAA4F,wBAAc,IACrH,EAGN,eAAK,SAAS,EAAC,aAAa,kBAC1B,KAAC,KAAK,IACJ,IAAI,EAAC,MAAM,EACX,SAAS,EAAC,QAAQ,EAClB,IAAI,EAAE,QAAQ,EACd,SAAS,EAAE,SAAS,EACpB,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE;4BACL,cAAc,EAAE,6BAA6B;4BAC7C,gBAAgB,EAAE,MAAM;4BACxB,KAAK,EAAE,uBAAuB;yBACR,YAExB,eAAK,SAAS,EAAC,qCAAqC,aAClD,aAAI,SAAS,EAAC,4CAA4C,yBAAc,EACxE,eAAK,SAAS,EAAC,WAAW,aACxB,cAAK,SAAS,EAAC,qCAAqC,GAAO,EAC3D,cAAK,SAAS,EAAC,qCAAqC,GAAO,EAC3D,cAAK,SAAS,EAAC,qCAAqC,GAAO,IACvD,IACF,GACA,IACJ,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"02-tooltip-example": {
|
|
8
8
|
"title": "Tooltip Frame",
|
|
9
9
|
"description": "A frame with a pointer tail on the bottom, typical for tooltips or popovers.",
|
|
10
|
-
"code": "import { Frame } from 'ui-lab-components';\n\nconst TAIL_WIDTH = 48;\nconst TAIL_PATH = \"M 0 0 C 8 0 20 -16 24 -16 C 28 -16 36 0 48 0\";\n\nconst Example2 = () => {\n return (\n <div className=\"flex flex-col gap-12 p-12 items-center justify-center min-h-[400px] bg-background-950\">\n <Frame\n side=\"bottom\"\n shapeMode=\"extend\"\n path={TAIL_PATH}\n pathWidth={TAIL_WIDTH}\n
|
|
10
|
+
"code": "import React from 'react';\nimport { Frame } from 'ui-lab-components';\n\nconst TAIL_WIDTH = 48;\nconst TAIL_PATH = \"M 0 0 C 8 0 20 -16 24 -16 C 28 -16 36 0 48 0\";\n\nconst Example2 = () => {\n return (\n <div className=\"flex flex-col gap-12 p-12 items-center justify-center min-h-[400px] bg-background-950\">\n <Frame\n side=\"bottom\"\n shapeMode=\"extend\"\n path={TAIL_PATH}\n pathWidth={TAIL_WIDTH}\n className=\"max-w-sm border-background-700 p-6\"\n style={{ \"--frame-fill\": \"var(--color-background-900)\" } as React.CSSProperties}\n >\n <div className=\"text-center\">\n <h3 className=\"font-semibold text-lg mb-2 text-foreground-50\">Did you know?</h3>\n <p className=\"text-foreground-400 text-sm leading-relaxed\">\n You can customize the frame orientation using the <code className=\"bg-background-800 px-1 rounded\">side</code> prop.\n This frame uses <code className=\"text-accent-500\">side=\"bottom\"</code> to create a tooltip tail.\n </p>\n </div>\n </Frame>\n </div>\n );\n};\n\nexport default Example2;"
|
|
11
11
|
},
|
|
12
12
|
"03-sidebar-tab": {
|
|
13
13
|
"title": "Sidebar Tab Frame",
|
|
14
14
|
"description": "A frame with a tab extending from the side, perfect for active navigation states.",
|
|
15
|
-
"code": "import { Frame } from 'ui-lab-components';\n\nconst TAB_WIDTH = 120;\nconst TAB_PATH = \"M 0 0 C 20 0 20 -24 40 -24 L 80 -24 C 100 -24 100 0 120 0\";\n\nconst Example3 = () => {\n return (\n <div className=\"flex flex-row gap-0 p-12 items-center justify-center bg-background-950 min-h-[400px]\">\n {/* Mock Sidebar */}\n <div className=\"flex flex-col items-end justify-center space-y-8 pr-6 border-background-800/50 h-64\">\n <div className=\"text-foreground-400 font-medium cursor-pointer hover:text-foreground-400 transition-colors\">Dashboard</div>\n <div className=\"text-accent-500 font-bold cursor-default\">Settings</div>\n <div className=\"text-foreground-400 font-medium cursor-pointer hover:text-foreground-400 transition-colors\">Profile</div>\n </div>\n\n {/* Frame content - visually connecting to \"Settings\" */}\n <div className=\"-ml-[1.5px]\"> {/* Overlap border slightly to merge visual connection */}\n <Frame\n side=\"left\"\n shapeMode=\"extend\"\n path={TAB_PATH}\n pathWidth={TAB_WIDTH}\n
|
|
15
|
+
"code": "import React from 'react';\nimport { Frame } from 'ui-lab-components';\n\nconst TAB_WIDTH = 120;\nconst TAB_PATH = \"M 0 0 C 20 0 20 -24 40 -24 L 80 -24 C 100 -24 100 0 120 0\";\n\nconst Example3 = () => {\n return (\n <div className=\"flex flex-row gap-0 p-12 items-center justify-center bg-background-950 min-h-[400px]\">\n {/* Mock Sidebar */}\n <div className=\"flex flex-col items-end justify-center space-y-8 pr-6 border-background-800/50 h-64\">\n <div className=\"text-foreground-400 font-medium cursor-pointer hover:text-foreground-400 transition-colors\">Dashboard</div>\n <div className=\"text-accent-500 font-bold cursor-default\">Settings</div>\n <div className=\"text-foreground-400 font-medium cursor-pointer hover:text-foreground-400 transition-colors\">Profile</div>\n </div>\n\n {/* Frame content - visually connecting to \"Settings\" */}\n <div className=\"-ml-[1.5px]\"> {/* Overlap border slightly to merge visual connection */}\n <Frame\n side=\"left\"\n shapeMode=\"extend\"\n path={TAB_PATH}\n pathWidth={TAB_WIDTH}\n className=\"w-80 h-64 p-6\"\n style={{\n \"--frame-fill\": \"var(--color-background-900)\",\n \"--frame-radius\": \"16px\",\n color: \"var(--background-700)\",\n } as React.CSSProperties}\n >\n <div className=\"h-full flex flex-col justify-center\">\n <h2 className=\"text-2xl font-bold text-foreground-50 mb-4\">Settings</h2>\n <div className=\"space-y-3\">\n <div className=\"h-2 w-2/3 bg-background-800 rounded\"></div>\n <div className=\"h-2 w-1/2 bg-background-800 rounded\"></div>\n <div className=\"h-2 w-3/4 bg-background-800 rounded\"></div>\n </div>\n </div>\n </Frame>\n </div>\n </div>\n );\n};\n\nexport default Example3;"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Frame/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAatD,QAAA,MAAM,aAAa,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Frame/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAatD,QAAA,MAAM,aAAa,EAAE,UAAU,EAAO,CAAC;AAYvC,eAAO,MAAM,WAAW,EAAE,eAqCzB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
|
|
@@ -10,35 +10,12 @@ const examplesData = [
|
|
|
10
10
|
{ id: '02-tooltip-example', Component: Example2, metadata: metadata2 },
|
|
11
11
|
{ id: '03-sidebar-tab', Component: Example3, metadata: metadata3 },
|
|
12
12
|
];
|
|
13
|
-
const frameControls = [
|
|
14
|
-
{
|
|
15
|
-
name: 'variant',
|
|
16
|
-
label: 'Variant',
|
|
17
|
-
type: 'select',
|
|
18
|
-
options: [
|
|
19
|
-
{ label: 'Default', value: 'default' },
|
|
20
|
-
{ label: 'Accent', value: 'accent' },
|
|
21
|
-
],
|
|
22
|
-
defaultValue: 'default',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
name: 'padding',
|
|
26
|
-
label: 'Padding',
|
|
27
|
-
type: 'select',
|
|
28
|
-
options: [
|
|
29
|
-
{ label: 'None', value: 'none' },
|
|
30
|
-
{ label: 'Small', value: 'small' },
|
|
31
|
-
{ label: 'Medium', value: 'medium' },
|
|
32
|
-
{ label: 'Large', value: 'large' },
|
|
33
|
-
],
|
|
34
|
-
defaultValue: 'medium',
|
|
35
|
-
},
|
|
36
|
-
];
|
|
13
|
+
const frameControls = [];
|
|
37
14
|
const frameBasicCode = `import { Frame } from "ui-lab-components";
|
|
38
15
|
|
|
39
16
|
export function Example() {
|
|
40
17
|
return (
|
|
41
|
-
<Frame
|
|
18
|
+
<Frame>
|
|
42
19
|
<p className="text-foreground-300">Framed content</p>
|
|
43
20
|
</Frame>
|
|
44
21
|
);
|
|
@@ -54,9 +31,9 @@ export const frameDetail = {
|
|
|
54
31
|
title: 'Preview',
|
|
55
32
|
description: 'Adjust props to customize the component',
|
|
56
33
|
code: frameBasicCode,
|
|
57
|
-
preview: (_jsx(Frame, {
|
|
34
|
+
preview: (_jsx(Frame, { children: _jsx("p", { className: "text-sm text-foreground-300", children: "Framed content" }) })),
|
|
58
35
|
controls: frameControls,
|
|
59
|
-
renderPreview: (
|
|
36
|
+
renderPreview: () => (_jsx(Frame, { children: _jsx("p", { className: "text-sm text-foreground-300", children: "Framed content" }) })),
|
|
60
37
|
},
|
|
61
38
|
...loadComponentExamples(examplesData, examplesJson),
|
|
62
39
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Frame/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,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CAAC;AAElH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"generated-data.d.ts","sourceRoot":"","sources":["../src/generated-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAElH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CA4oIrD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAwC3D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAoMnE,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwChD,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAoLxE,CAAC;AAEF,eAAO,MAAM,4BAA4B,UAIxC,CAAC;AAEF,eAAO,MAAM,6BAA6B,UAGzC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAE7B,CAAC"}
|