ui-lab-registry 0.3.43 → 0.3.44
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/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +2 -13
- package/dist/components/Slider/index.js.map +1 -1
- package/dist/generated-data.d.ts.map +1 -1
- package/dist/generated-data.js +259 -134
- package/dist/generated-data.js.map +1 -1
- package/dist/generated-styles.d.ts.map +1 -1
- package/dist/generated-styles.js +364 -472
- package/dist/generated-styles.js.map +1 -1
- package/dist/generated-styles.json +364 -472
- package/dist/registry.js +2 -2
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Group/metadata.json +3 -2
- package/src/components/Slider/index.tsx +1 -13
- package/src/generated-data.ts +259 -134
- package/src/generated-styles.ts +364 -472
- package/src/registry.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAStD,QAAA,MAAM,cAAc,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAStD,QAAA,MAAM,cAAc,EAAE,UAAU,EAO/B,CAAC;AAQF,eAAO,MAAM,YAAY,EAAE,eAiD1B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
|
|
@@ -7,17 +7,6 @@ const examplesData = [
|
|
|
7
7
|
{ id: '01-basic-slider', Component: Example1, metadata: metadata1 },
|
|
8
8
|
];
|
|
9
9
|
const sliderControls = [
|
|
10
|
-
{
|
|
11
|
-
name: "size",
|
|
12
|
-
label: "Size",
|
|
13
|
-
type: "select",
|
|
14
|
-
options: [
|
|
15
|
-
{ label: "Small", value: "sm" },
|
|
16
|
-
{ label: "Medium", value: "md" },
|
|
17
|
-
{ label: "Large", value: "lg" },
|
|
18
|
-
],
|
|
19
|
-
defaultValue: "md",
|
|
20
|
-
},
|
|
21
10
|
{
|
|
22
11
|
name: "disabled",
|
|
23
12
|
label: "Disabled",
|
|
@@ -34,7 +23,7 @@ export const sliderDetail = {
|
|
|
34
23
|
id: "slider",
|
|
35
24
|
name: "Slider",
|
|
36
25
|
description: "A customizable range input with minimal styling and no transitions",
|
|
37
|
-
overview: (_jsxs("div", { className: "space-y-4 text-foreground-300", children: [_jsx("p", { children: "The Slider component provides a clean, minimal range input for selecting values within a specified range. It features custom styling that completely overrides native HTML range input appearance, offering a consistent look across all browsers." }), _jsx("p", { children: "Perfect for volume controls, brightness adjustment, price ranges, and other value selection scenarios.
|
|
26
|
+
overview: (_jsxs("div", { className: "space-y-4 text-foreground-300", children: [_jsx("p", { children: "The Slider component provides a clean, minimal range input for selecting values within a specified range. It features custom styling that completely overrides native HTML range input appearance, offering a consistent look across all browsers." }), _jsx("p", { children: "Perfect for volume controls, brightness adjustment, price ranges, and other value selection scenarios." })] })),
|
|
38
27
|
examples: [
|
|
39
28
|
{
|
|
40
29
|
id: "preview",
|
|
@@ -43,7 +32,7 @@ export const sliderDetail = {
|
|
|
43
32
|
code: sliderBasicCode,
|
|
44
33
|
preview: _jsx(Slider.Root, { min: 0, max: 100, defaultValue: [50] }),
|
|
45
34
|
controls: sliderControls,
|
|
46
|
-
renderPreview: (props) => (_jsx(Slider.Root, { min: 0, max: 100, defaultValue: [50],
|
|
35
|
+
renderPreview: (props) => (_jsx(Slider.Root, { min: 0, max: 100, defaultValue: [50], disabled: props.disabled })),
|
|
47
36
|
},
|
|
48
37
|
...loadComponentExamples(examplesData, examplesJson),
|
|
49
38
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/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@
|
|
|
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,
|
|
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,CAywIrD,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"}
|