@gridui/choice 1.2.1 → 1.2.3
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/docs/catalog.json +100 -0
- package/package.json +8 -8
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"name": "@gridui/choice",
|
|
4
|
+
"version": "1.2.3",
|
|
5
|
+
"category": "core",
|
|
6
|
+
"description": "GridUI React choice",
|
|
7
|
+
"usage": "Core family. Public components: `Checkbox`, `Switch`, `SwitchGroup`, `SwitchPanel`, `ToggleGroup`, and `ToggleGroupItem`. Each exports its named Props contract. Switch presentation types and `SwitchGroupItem` describe their supported configuration.",
|
|
8
|
+
"documentation": [
|
|
9
|
+
"README.md",
|
|
10
|
+
"docs/switches.md",
|
|
11
|
+
"docs/tabs-and-choices.md"
|
|
12
|
+
],
|
|
13
|
+
"exports": [
|
|
14
|
+
{
|
|
15
|
+
"name": "Checkbox",
|
|
16
|
+
"kind": "component",
|
|
17
|
+
"importPath": "@gridui/choice"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "CheckboxProps",
|
|
21
|
+
"kind": "type",
|
|
22
|
+
"importPath": "@gridui/choice"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "Switch",
|
|
26
|
+
"kind": "component",
|
|
27
|
+
"importPath": "@gridui/choice"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "SwitchGroup",
|
|
31
|
+
"kind": "component",
|
|
32
|
+
"importPath": "@gridui/choice"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "SwitchGroupItem",
|
|
36
|
+
"kind": "type",
|
|
37
|
+
"importPath": "@gridui/choice"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "SwitchGroupProps",
|
|
41
|
+
"kind": "type",
|
|
42
|
+
"importPath": "@gridui/choice"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "SwitchPanel",
|
|
46
|
+
"kind": "component",
|
|
47
|
+
"importPath": "@gridui/choice"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "SwitchPanelProps",
|
|
51
|
+
"kind": "type",
|
|
52
|
+
"importPath": "@gridui/choice"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "SwitchProps",
|
|
56
|
+
"kind": "type",
|
|
57
|
+
"importPath": "@gridui/choice"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "SwitchStateLabels",
|
|
61
|
+
"kind": "type",
|
|
62
|
+
"importPath": "@gridui/choice"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "SwitchVariant",
|
|
66
|
+
"kind": "type",
|
|
67
|
+
"importPath": "@gridui/choice"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "ToggleGroup",
|
|
71
|
+
"kind": "component",
|
|
72
|
+
"importPath": "@gridui/choice"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "ToggleGroupItem",
|
|
76
|
+
"kind": "component",
|
|
77
|
+
"importPath": "@gridui/choice"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "ToggleGroupItemProps",
|
|
81
|
+
"kind": "type",
|
|
82
|
+
"importPath": "@gridui/choice"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "ToggleGroupProps",
|
|
86
|
+
"kind": "type",
|
|
87
|
+
"importPath": "@gridui/choice"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"styles": [
|
|
91
|
+
"@gridui/theme/styles.css",
|
|
92
|
+
"@gridui/form/styles.css",
|
|
93
|
+
"@gridui/choice/styles.css"
|
|
94
|
+
],
|
|
95
|
+
"examples": [
|
|
96
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/choice/stories/choices.stories.tsx",
|
|
97
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/choice/stories/switch.stories.tsx",
|
|
98
|
+
"https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/choice/stories/toggle-group.stories.tsx"
|
|
99
|
+
]
|
|
100
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridui/choice",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "GridUI React choice",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -27,20 +27,20 @@
|
|
|
27
27
|
"react-dom": "^19.2.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@gridui/form": "^3.0.
|
|
31
|
-
"@gridui/interaction": "^1.1
|
|
32
|
-
"@gridui/style-utils": "^2.2.
|
|
33
|
-
"@gridui/theme": "^2.5.
|
|
30
|
+
"@gridui/form": "^3.0.2",
|
|
31
|
+
"@gridui/interaction": "^1.2.1",
|
|
32
|
+
"@gridui/style-utils": "^2.2.2",
|
|
33
|
+
"@gridui/theme": "^2.5.3",
|
|
34
34
|
"@radix-ui/react-checkbox": "1.4.1",
|
|
35
35
|
"@radix-ui/react-toggle-group": "1.2.1",
|
|
36
36
|
"class-variance-authority": "0.7.1",
|
|
37
|
-
"lucide-react": "1.
|
|
37
|
+
"lucide-react": "1.69.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@gridui-internal/configuration": "0.0.0-internal",
|
|
41
|
-
"@gridui/button": "3.1.
|
|
41
|
+
"@gridui/button": "3.1.2",
|
|
42
42
|
"@jest/globals": "30.5.2",
|
|
43
|
-
"@storybook/react-vite": "10.6.
|
|
43
|
+
"@storybook/react-vite": "10.6.6",
|
|
44
44
|
"@types/jest": "30.0.0",
|
|
45
45
|
"@types/node": "26.6.6",
|
|
46
46
|
"@types/react": "19.3.0",
|