@webstudio-is/sdk-components-react-radix 0.87.0 → 0.88.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.
Files changed (182) hide show
  1. package/lib/__generated__/accordion.props.js +0 -5
  2. package/lib/__generated__/button.props.js +0 -21
  3. package/lib/__generated__/checkbox.props.js +850 -0
  4. package/lib/__generated__/collapsible.props.js +0 -2
  5. package/lib/__generated__/dialog.props.js +0 -11
  6. package/lib/__generated__/label.props.js +0 -1
  7. package/lib/__generated__/navigation-menu.props.js +2104 -0
  8. package/lib/__generated__/popover.props.js +0 -3
  9. package/lib/__generated__/radio-group.props.js +1282 -0
  10. package/lib/__generated__/select.props.js +2962 -0
  11. package/lib/__generated__/sheet.props.js +0 -11
  12. package/lib/__generated__/switch.props.js +850 -0
  13. package/lib/__generated__/tabs.props.js +428 -5
  14. package/lib/__generated__/tooltip.props.js +0 -2
  15. package/lib/accordion.js +11 -4
  16. package/lib/accordion.ws.js +87 -72
  17. package/lib/checkbox.js +13 -0
  18. package/lib/checkbox.ws.js +151 -0
  19. package/lib/cjs/__generated__/accordion.props.js +0 -5
  20. package/lib/cjs/__generated__/button.props.js +0 -21
  21. package/lib/cjs/__generated__/checkbox.props.js +870 -0
  22. package/lib/cjs/__generated__/collapsible.props.js +0 -2
  23. package/lib/cjs/__generated__/dialog.props.js +0 -11
  24. package/lib/cjs/__generated__/label.props.js +0 -1
  25. package/lib/cjs/__generated__/navigation-menu.props.js +2124 -0
  26. package/lib/cjs/__generated__/popover.props.js +0 -3
  27. package/lib/cjs/__generated__/radio-group.props.js +1302 -0
  28. package/lib/cjs/__generated__/select.props.js +2982 -0
  29. package/lib/cjs/__generated__/sheet.props.js +0 -11
  30. package/lib/cjs/__generated__/switch.props.js +870 -0
  31. package/lib/cjs/__generated__/tabs.props.js +428 -5
  32. package/lib/cjs/__generated__/tooltip.props.js +0 -2
  33. package/lib/cjs/accordion.js +11 -4
  34. package/lib/cjs/accordion.ws.js +85 -71
  35. package/lib/cjs/{textarea.js → checkbox.js} +9 -6
  36. package/lib/cjs/checkbox.ws.js +172 -0
  37. package/lib/cjs/collapsible.ws.js +4 -1
  38. package/lib/cjs/components.js +27 -14
  39. package/lib/cjs/dialog.ws.js +17 -17
  40. package/lib/cjs/hooks.js +5 -1
  41. package/lib/cjs/label.ws.js +1 -1
  42. package/lib/cjs/metas.js +29 -14
  43. package/lib/cjs/navigation-menu.js +107 -0
  44. package/lib/cjs/navigation-menu.ws.js +513 -0
  45. package/lib/cjs/popover.ws.js +12 -9
  46. package/lib/cjs/props.js +27 -14
  47. package/lib/cjs/{button.js → radio-group.js} +10 -8
  48. package/lib/cjs/radio-group.ws.js +188 -0
  49. package/lib/cjs/select.js +81 -0
  50. package/lib/cjs/select.ws.js +349 -0
  51. package/lib/cjs/sheet.ws.js +87 -176
  52. package/lib/cjs/{input.js → switch.js} +8 -9
  53. package/lib/cjs/switch.ws.js +171 -0
  54. package/lib/cjs/tabs.js +2 -3
  55. package/lib/cjs/tabs.ws.js +13 -18
  56. package/lib/cjs/theme/styles.js +100 -0
  57. package/lib/cjs/theme/tailwind-classes.js +125 -16
  58. package/lib/cjs/theme/tailwind-colors.js +1 -0
  59. package/lib/cjs/tooltip.ws.js +11 -8
  60. package/lib/collapsible.ws.js +4 -1
  61. package/lib/components.js +44 -22
  62. package/lib/dialog.ws.js +17 -17
  63. package/lib/hooks.js +5 -1
  64. package/lib/label.ws.js +1 -1
  65. package/lib/metas.js +58 -24
  66. package/lib/navigation-menu.js +85 -0
  67. package/lib/navigation-menu.ws.js +500 -0
  68. package/lib/popover.ws.js +12 -9
  69. package/lib/props.js +56 -24
  70. package/lib/radio-group.js +11 -0
  71. package/lib/radio-group.ws.js +170 -0
  72. package/lib/select.js +73 -0
  73. package/lib/select.ws.js +337 -0
  74. package/lib/sheet.ws.js +88 -194
  75. package/lib/switch.js +7 -0
  76. package/lib/switch.ws.js +143 -0
  77. package/lib/tabs.js +3 -5
  78. package/lib/tabs.ws.js +14 -19
  79. package/lib/theme/styles.js +70 -0
  80. package/lib/theme/tailwind-classes.js +125 -16
  81. package/lib/theme/tailwind-colors.js +1 -0
  82. package/lib/tooltip.ws.js +11 -8
  83. package/lib/types/__generated__/checkbox.props.d.ts +3 -0
  84. package/lib/types/__generated__/navigation-menu.props.d.ts +8 -0
  85. package/lib/types/__generated__/radio-group.props.d.ts +4 -0
  86. package/lib/types/__generated__/select.props.d.ts +9 -0
  87. package/lib/types/__generated__/switch.props.d.ts +3 -0
  88. package/lib/types/checkbox.d.ts +6 -0
  89. package/lib/types/checkbox.stories.d.ts +11 -0
  90. package/lib/types/checkbox.ws.d.ts +5 -0
  91. package/lib/types/components.d.ts +5 -4
  92. package/lib/types/metas.d.ts +6 -4
  93. package/lib/types/navigation-menu.d.ts +15 -0
  94. package/lib/types/navigation-menu.ws.d.ts +15 -0
  95. package/lib/types/props.d.ts +5 -4
  96. package/lib/types/radio-group.d.ts +5 -0
  97. package/lib/types/radio-group.stories.d.ts +9 -0
  98. package/lib/types/radio-group.ws.d.ts +7 -0
  99. package/lib/types/select.d.ts +12 -0
  100. package/lib/types/select.ws.d.ts +17 -0
  101. package/lib/types/sheet.ws.d.ts +2 -15
  102. package/lib/types/switch.d.ts +4 -0
  103. package/lib/types/switch.stories.d.ts +9 -0
  104. package/lib/types/switch.ws.d.ts +5 -0
  105. package/lib/types/tabs.d.ts +3 -12
  106. package/lib/types/theme/radix-common-types.d.ts +3 -2
  107. package/lib/types/theme/styles.d.ts +215 -0
  108. package/lib/types/theme/tailwind-classes.d.ts +16 -6
  109. package/lib/types/theme/tailwind-colors.d.ts +1 -0
  110. package/lib/types/theme/tailwind-theme.d.ts +1 -1
  111. package/package.json +12 -7
  112. package/src/__generated__/accordion.props.ts +0 -5
  113. package/src/__generated__/button.props.ts +0 -21
  114. package/src/__generated__/checkbox.props.ts +948 -0
  115. package/src/__generated__/collapsible.props.ts +0 -2
  116. package/src/__generated__/dialog.props.ts +0 -11
  117. package/src/__generated__/label.props.ts +0 -1
  118. package/src/__generated__/navigation-menu.props.ts +2349 -0
  119. package/src/__generated__/popover.props.ts +0 -3
  120. package/src/__generated__/radio-group.props.ts +1429 -0
  121. package/src/__generated__/select.props.ts +3304 -0
  122. package/src/__generated__/sheet.props.ts +0 -11
  123. package/src/__generated__/switch.props.ts +948 -0
  124. package/src/__generated__/tabs.props.ts +477 -4
  125. package/src/__generated__/tooltip.props.ts +0 -2
  126. package/src/accordion.tsx +14 -7
  127. package/src/accordion.ws.ts +85 -70
  128. package/src/{textarea.stories.ts → checkbox.stories.ts} +6 -11
  129. package/src/checkbox.tsx +22 -0
  130. package/src/checkbox.ws.ts +151 -0
  131. package/src/collapsible.ws.ts +4 -1
  132. package/src/components.ts +25 -12
  133. package/src/dialog.ws.tsx +15 -16
  134. package/src/hooks.ts +4 -0
  135. package/src/label.ws.ts +1 -1
  136. package/src/metas.ts +36 -12
  137. package/src/navigation-menu.stories.tsx +21 -0
  138. package/src/navigation-menu.tsx +130 -0
  139. package/src/navigation-menu.ws.ts +523 -0
  140. package/src/popover.ws.tsx +12 -9
  141. package/src/props.ts +35 -12
  142. package/src/{input.stories.ts → radio-group.stories.ts} +6 -15
  143. package/src/radio-group.tsx +17 -0
  144. package/src/radio-group.ws.ts +174 -0
  145. package/src/select.stories.tsx +21 -0
  146. package/src/select.tsx +107 -0
  147. package/src/select.ws.ts +347 -0
  148. package/src/sheet.ws.tsx +89 -209
  149. package/src/{button.stories.ts → switch.stories.ts} +6 -19
  150. package/src/switch.tsx +10 -0
  151. package/src/switch.ws.ts +143 -0
  152. package/src/tabs.tsx +4 -17
  153. package/src/tabs.ws.ts +17 -19
  154. package/src/theme/radix-common-types.ts +3 -2
  155. package/src/theme/styles.ts +80 -0
  156. package/src/theme/tailwind-classes.ts +150 -14
  157. package/src/theme/tailwind-colors.ts +1 -0
  158. package/src/tooltip.ws.tsx +11 -8
  159. package/lib/button.js +0 -8
  160. package/lib/button.ws.js +0 -133
  161. package/lib/cjs/button.ws.js +0 -160
  162. package/lib/cjs/input.ws.js +0 -103
  163. package/lib/cjs/textarea.ws.js +0 -98
  164. package/lib/input.js +0 -8
  165. package/lib/input.ws.js +0 -75
  166. package/lib/textarea.js +0 -8
  167. package/lib/textarea.ws.js +0 -70
  168. package/lib/types/button.d.ts +0 -7
  169. package/lib/types/button.stories.d.ts +0 -20
  170. package/lib/types/button.ws.d.ts +0 -7
  171. package/lib/types/input.d.ts +0 -2
  172. package/lib/types/input.stories.d.ts +0 -20
  173. package/lib/types/input.ws.d.ts +0 -3
  174. package/lib/types/textarea.d.ts +0 -2
  175. package/lib/types/textarea.stories.d.ts +0 -14
  176. package/lib/types/textarea.ws.d.ts +0 -3
  177. package/src/button.tsx +0 -25
  178. package/src/button.ws.ts +0 -155
  179. package/src/input.tsx +0 -12
  180. package/src/input.ws.ts +0 -78
  181. package/src/textarea.tsx +0 -12
  182. package/src/textarea.ws.ts +0 -74
@@ -3,10 +3,12 @@ import {
3
3
  ItemIcon,
4
4
  HeaderIcon,
5
5
  TriggerIcon,
6
- ContentIcon
6
+ ContentIcon,
7
+ ChevronDownIcon
7
8
  } from "@webstudio-is/icons/svg";
8
9
  import { div, h3, button } from "@webstudio-is/react-sdk/css-normalize";
9
10
  import * as tc from "./theme/tailwind-classes";
11
+ import { buttonReset } from "./theme/styles";
10
12
  import {
11
13
  propsAccordion,
12
14
  propsAccordionItem,
@@ -18,17 +20,71 @@ const presetStyle = {
18
20
  div
19
21
  };
20
22
  const accordionItemStyles = [tc.borderB()].flat();
21
- const accordionHeaderStyles = [tc.flex()].flat();
22
- const accordionTriggerStyles = [
23
- tc.flex(),
24
- tc.flex(1),
25
- tc.items("center"),
26
- tc.justify("between"),
27
- tc.py(4),
28
- tc.font("medium"),
29
- tc.transition("all"),
30
- tc.hover([tc.underline()].flat())
31
- ].flat();
23
+ const createAccordionTrigger = ({
24
+ children
25
+ }) => ({
26
+ type: "instance",
27
+ component: "AccordionHeader",
28
+ // flex
29
+ styles: [tc.flex()].flat(),
30
+ children: [
31
+ {
32
+ type: "instance",
33
+ component: "AccordionTrigger",
34
+ // flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180
35
+ styles: [
36
+ tc.flex(),
37
+ tc.flex(1),
38
+ tc.items("center"),
39
+ tc.justify("between"),
40
+ tc.py(4),
41
+ tc.font("medium"),
42
+ tc.hover([tc.underline()].flat()),
43
+ tc.property("--accordion-trigger-icon-transform", "0deg"),
44
+ tc.state(
45
+ [tc.property("--accordion-trigger-icon-transform", "180deg")],
46
+ "[data-state=open]"
47
+ )
48
+ ].flat(),
49
+ children: [
50
+ {
51
+ type: "instance",
52
+ component: "Text",
53
+ children
54
+ },
55
+ {
56
+ type: "instance",
57
+ component: "Box",
58
+ label: "Icon Container",
59
+ // h-4 w-4 shrink-0 transition-transform duration-200
60
+ styles: [
61
+ tc.property("rotate", "--accordion-trigger-icon-transform"),
62
+ tc.h(4),
63
+ tc.w(4),
64
+ tc.shrink(0),
65
+ tc.transition("all"),
66
+ tc.duration(200)
67
+ ].flat(),
68
+ children: [
69
+ {
70
+ type: "instance",
71
+ component: "HtmlEmbed",
72
+ label: "Chevron Icon",
73
+ props: [
74
+ {
75
+ type: "string",
76
+ name: "code",
77
+ value: ChevronDownIcon
78
+ }
79
+ ],
80
+ children: []
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ }
86
+ ]
87
+ });
32
88
  const accordionContentStyles = [
33
89
  tc.overflow("hidden"),
34
90
  tc.text("sm"),
@@ -38,6 +94,7 @@ const accordionContentStyles = [
38
94
  ].flat();
39
95
  const metaAccordion = {
40
96
  category: "radix",
97
+ order: 3,
41
98
  type: "container",
42
99
  icon: AccordionIcon,
43
100
  presetStyle,
@@ -69,19 +126,9 @@ const metaAccordion = {
69
126
  component: "AccordionItem",
70
127
  styles: accordionItemStyles,
71
128
  children: [
72
- {
73
- type: "instance",
74
- component: "AccordionHeader",
75
- styles: accordionHeaderStyles,
76
- children: [
77
- {
78
- type: "instance",
79
- component: "AccordionTrigger",
80
- styles: accordionTriggerStyles,
81
- children: [{ type: "text", value: "Is it accessible?" }]
82
- }
83
- ]
84
- },
129
+ createAccordionTrigger({
130
+ children: [{ type: "text", value: "Is it accessible?" }]
131
+ }),
85
132
  {
86
133
  type: "instance",
87
134
  component: "AccordionContent",
@@ -100,19 +147,9 @@ const metaAccordion = {
100
147
  component: "AccordionItem",
101
148
  styles: accordionItemStyles,
102
149
  children: [
103
- {
104
- type: "instance",
105
- component: "AccordionHeader",
106
- styles: accordionHeaderStyles,
107
- children: [
108
- {
109
- type: "instance",
110
- component: "AccordionTrigger",
111
- styles: accordionTriggerStyles,
112
- children: [{ type: "text", value: "Is it styled?" }]
113
- }
114
- ]
115
- },
150
+ createAccordionTrigger({
151
+ children: [{ type: "text", value: "Is it styled?" }]
152
+ }),
116
153
  {
117
154
  type: "instance",
118
155
  component: "AccordionContent",
@@ -131,19 +168,9 @@ const metaAccordion = {
131
168
  component: "AccordionItem",
132
169
  styles: accordionItemStyles,
133
170
  children: [
134
- {
135
- type: "instance",
136
- component: "AccordionHeader",
137
- styles: accordionHeaderStyles,
138
- children: [
139
- {
140
- type: "instance",
141
- component: "AccordionTrigger",
142
- styles: accordionTriggerStyles,
143
- children: [{ type: "text", value: "Is it animated?" }]
144
- }
145
- ]
146
- },
171
+ createAccordionTrigger({
172
+ children: [{ type: "text", value: "Is it animated?" }]
173
+ }),
147
174
  {
148
175
  type: "instance",
149
176
  component: "AccordionContent",
@@ -167,7 +194,8 @@ const metaAccordionItem = {
167
194
  icon: ItemIcon,
168
195
  requiredAncestors: ["Accordion"],
169
196
  indexWithinAncestor: "Accordion",
170
- presetStyle
197
+ presetStyle,
198
+ label: "Item"
171
199
  };
172
200
  const metaAccordionHeader = {
173
201
  category: "hidden",
@@ -177,7 +205,8 @@ const metaAccordionHeader = {
177
205
  detachable: false,
178
206
  presetStyle: {
179
207
  h3: [h3, tc.my(0)].flat()
180
- }
208
+ },
209
+ label: "Item Header"
181
210
  };
182
211
  const metaAccordionTrigger = {
183
212
  category: "hidden",
@@ -186,24 +215,9 @@ const metaAccordionTrigger = {
186
215
  requiredAncestors: ["AccordionHeader"],
187
216
  detachable: false,
188
217
  presetStyle: {
189
- button: [
190
- button,
191
- {
192
- property: "backgroundColor",
193
- value: { type: "keyword", value: "transparent" }
194
- },
195
- {
196
- property: "backgroundImage",
197
- value: { type: "keyword", value: "none" }
198
- },
199
- {
200
- property: "cursor",
201
- value: { type: "keyword", value: "pointer" }
202
- },
203
- tc.px(0),
204
- tc.border(0)
205
- ].flat()
206
- }
218
+ button: [button, buttonReset].flat()
219
+ },
220
+ label: "Item Trigger"
207
221
  };
208
222
  const metaAccordionContent = {
209
223
  category: "hidden",
@@ -211,7 +225,8 @@ const metaAccordionContent = {
211
225
  icon: ContentIcon,
212
226
  requiredAncestors: ["AccordionItem"],
213
227
  detachable: false,
214
- presetStyle
228
+ presetStyle,
229
+ label: "Item Content"
215
230
  };
216
231
  const propsMetaAccordion = {
217
232
  props: propsAccordion,
@@ -0,0 +1,13 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import {
3
+ forwardRef
4
+ } from "react";
5
+ import { Root, Indicator } from "@radix-ui/react-checkbox";
6
+ const Checkbox = forwardRef((props, ref) => {
7
+ return /* @__PURE__ */ jsx(Root, { ref, ...props });
8
+ });
9
+ const CheckboxIndicator = Indicator;
10
+ export {
11
+ Checkbox,
12
+ CheckboxIndicator
13
+ };
@@ -0,0 +1,151 @@
1
+ import {
2
+ CheckMarkIcon,
3
+ CheckboxCheckedIcon,
4
+ TriggerIcon
5
+ } from "@webstudio-is/icons/svg";
6
+ import {
7
+ defaultStates
8
+ } from "@webstudio-is/react-sdk";
9
+ import { button, span } from "@webstudio-is/react-sdk/css-normalize";
10
+ import * as tc from "./theme/tailwind-classes";
11
+ import { buttonReset } from "./theme/styles";
12
+ import {
13
+ propsCheckbox,
14
+ propsCheckboxIndicator
15
+ } from "./__generated__/checkbox.props";
16
+ const metaCheckbox = {
17
+ category: "radix",
18
+ order: 101,
19
+ type: "container",
20
+ icon: CheckboxCheckedIcon,
21
+ states: [
22
+ ...defaultStates,
23
+ {
24
+ label: "Checked",
25
+ selector: "[data-state=checked]",
26
+ category: "component-states"
27
+ },
28
+ {
29
+ label: "Unchecked",
30
+ selector: "[data-state=unchecked]",
31
+ category: "component-states"
32
+ }
33
+ ],
34
+ presetStyle: {
35
+ button: [button, buttonReset].flat()
36
+ },
37
+ template: [
38
+ {
39
+ type: "instance",
40
+ component: "Label",
41
+ label: "Checkbox Field",
42
+ styles: [tc.flex(), tc.gap(2), tc.items("center")].flat(),
43
+ children: [
44
+ {
45
+ type: "instance",
46
+ component: "Checkbox",
47
+ dataSources: {
48
+ checkboxChecked: { type: "variable", initialValue: false }
49
+ },
50
+ props: [
51
+ {
52
+ name: "checked",
53
+ type: "dataSource",
54
+ dataSourceName: "checkboxChecked"
55
+ },
56
+ {
57
+ name: "onCheckedChange",
58
+ type: "action",
59
+ value: [
60
+ {
61
+ type: "execute",
62
+ args: ["checked"],
63
+ code: `checkboxChecked = checked`
64
+ }
65
+ ]
66
+ }
67
+ ],
68
+ // peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background
69
+ // focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2
70
+ // disabled:cursor-not-allowed disabled:opacity-50
71
+ // data-[state=checked]:bg-primary
72
+ // data-[state=checked]:text-primary-foreground",
73
+ styles: [
74
+ // We are not supporting peer like styles yet
75
+ tc.h(4),
76
+ tc.w(4),
77
+ tc.shrink(0),
78
+ tc.rounded("sm"),
79
+ tc.border(),
80
+ tc.border("primary"),
81
+ tc.focusVisible(
82
+ [tc.outline("none"), tc.ring("ring", 2, "background", 2)].flat()
83
+ ),
84
+ tc.disabled([tc.cursor("not-allowed"), tc.opacity(50)].flat()),
85
+ tc.state(
86
+ [tc.bg("primary"), tc.text("primaryForeground")].flat(),
87
+ "[data-state=checked]"
88
+ )
89
+ ].flat(),
90
+ children: [
91
+ {
92
+ type: "instance",
93
+ component: "CheckboxIndicator",
94
+ // flex items-center justify-center text-current
95
+ styles: [
96
+ tc.flex(),
97
+ tc.items("center"),
98
+ tc.justify("center"),
99
+ tc.text("current")
100
+ ].flat(),
101
+ children: [
102
+ {
103
+ type: "instance",
104
+ component: "HtmlEmbed",
105
+ label: "Indicator Icon",
106
+ props: [
107
+ {
108
+ type: "string",
109
+ name: "code",
110
+ value: CheckMarkIcon
111
+ }
112
+ ],
113
+ children: []
114
+ }
115
+ ]
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ type: "instance",
121
+ component: "Text",
122
+ label: "Checkbox Label",
123
+ props: [{ name: "tag", type: "string", value: "span" }],
124
+ children: [{ type: "text", value: "Checkbox" }]
125
+ }
126
+ ]
127
+ }
128
+ ]
129
+ };
130
+ const metaCheckboxIndicator = {
131
+ category: "hidden",
132
+ type: "container",
133
+ icon: TriggerIcon,
134
+ states: defaultStates,
135
+ presetStyle: {
136
+ span
137
+ }
138
+ };
139
+ const propsMetaCheckbox = {
140
+ props: propsCheckbox,
141
+ initialProps: ["id", "checked", "name", "required"]
142
+ };
143
+ const propsMetaCheckboxIndicator = {
144
+ props: propsCheckboxIndicator
145
+ };
146
+ export {
147
+ metaCheckbox,
148
+ metaCheckboxIndicator,
149
+ propsMetaCheckbox,
150
+ propsMetaCheckboxIndicator
151
+ };
@@ -368,7 +368,6 @@ const propsAccordion = {
368
368
  content: { required: false, control: "text", type: "string" },
369
369
  contextMenu: { required: false, control: "text", type: "string" },
370
370
  datatype: { required: false, control: "text", type: "string" },
371
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
372
371
  dir: {
373
372
  description: "The language read direction.",
374
373
  required: false,
@@ -805,7 +804,6 @@ const propsAccordionItem = {
805
804
  content: { required: false, control: "text", type: "string" },
806
805
  contextMenu: { required: false, control: "text", type: "string" },
807
806
  datatype: { required: false, control: "text", type: "string" },
808
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
809
807
  dir: { required: false, control: "text", type: "string" },
810
808
  disabled: {
811
809
  description: "Whether or not an accordion item is disabled from user interaction.\n@defaultValue false",
@@ -1233,7 +1231,6 @@ const propsAccordionHeader = {
1233
1231
  content: { required: false, control: "text", type: "string" },
1234
1232
  contextMenu: { required: false, control: "text", type: "string" },
1235
1233
  datatype: { required: false, control: "text", type: "string" },
1236
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1237
1234
  dir: { required: false, control: "text", type: "string" },
1238
1235
  draggable: { required: false, control: "boolean", type: "boolean" },
1239
1236
  hidden: { required: false, control: "boolean", type: "boolean" },
@@ -1649,7 +1646,6 @@ const propsAccordionTrigger = {
1649
1646
  content: { required: false, control: "text", type: "string" },
1650
1647
  contextMenu: { required: false, control: "text", type: "string" },
1651
1648
  datatype: { required: false, control: "text", type: "string" },
1652
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1653
1649
  dir: { required: false, control: "text", type: "string" },
1654
1650
  disabled: { required: false, control: "boolean", type: "boolean" },
1655
1651
  draggable: { required: false, control: "boolean", type: "boolean" },
@@ -2079,7 +2075,6 @@ const propsAccordionContent = {
2079
2075
  content: { required: false, control: "text", type: "string" },
2080
2076
  contextMenu: { required: false, control: "text", type: "string" },
2081
2077
  datatype: { required: false, control: "text", type: "string" },
2082
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
2083
2078
  dir: { required: false, control: "text", type: "string" },
2084
2079
  draggable: { required: false, control: "boolean", type: "boolean" },
2085
2080
  hidden: { required: false, control: "boolean", type: "boolean" },
@@ -416,13 +416,6 @@ const props = {
416
416
  rev: { required: false, control: "text", type: "string" },
417
417
  role: { required: false, control: "text", type: "string" },
418
418
  security: { required: false, control: "text", type: "string" },
419
- size: {
420
- required: false,
421
- control: "select",
422
- type: "string",
423
- defaultValue: "default",
424
- options: ["default", "sm", "lg", "icon"]
425
- },
426
419
  slot: { required: false, control: "text", type: "string" },
427
420
  spellCheck: { required: false, control: "boolean", type: "boolean" },
428
421
  suppressContentEditableWarning: {
@@ -456,19 +449,5 @@ const props = {
456
449
  type: "string",
457
450
  options: ["on", "off"]
458
451
  },
459
- variant: {
460
- required: false,
461
- control: "select",
462
- type: "string",
463
- defaultValue: "default",
464
- options: [
465
- "link",
466
- "default",
467
- "destructive",
468
- "outline",
469
- "secondary",
470
- "ghost"
471
- ]
472
- },
473
452
  vocab: { required: false, control: "text", type: "string" }
474
453
  };