@soybeanjs/ui 0.8.1 → 0.9.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 +110 -110
- package/README.zh-CN.md +110 -110
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +1 -1
- package/dist/components/button/button-icon.vue.d.ts +1 -1
- package/dist/components/button/button-link.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/checkbox/variants.js +1 -1
- package/dist/components/command/command.vue.d.ts +2 -2
- package/dist/components/config-provider/config-provider.vue.d.ts +1 -1
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +2 -2
- package/dist/components/input-number/index.d.ts +2 -0
- package/dist/components/input-number/index.js +1 -0
- package/dist/components/{number-input/number-input.js → input-number/input-number.js} +1 -1
- package/dist/components/{number-input/number-input.vue.d.ts → input-number/input-number.vue.d.ts} +4 -4
- package/dist/components/input-number/types.d.ts +30 -0
- package/dist/components/{number-input → input-number}/variants.js +1 -1
- package/dist/components/menu/menu-option.vue.d.ts +2 -2
- package/dist/components/menu/menu-options.vue.d.ts +2 -2
- package/dist/components/page-tabs/page-tabs.js +1 -1
- package/dist/components/page-tabs/page-tabs.vue.d.ts +1 -1
- package/dist/components/page-tabs/types.d.ts +1 -1
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/table/shared.js +1 -0
- package/dist/components/table/table-radio.js +1 -0
- package/dist/components/table/table.js +1 -0
- package/dist/components/table/table.vue.d.ts +22 -0
- package/dist/components/table/types.d.ts +94 -0
- package/dist/components/table/variants.js +1 -0
- package/dist/constants/components.d.ts +1 -1
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +29 -26
- package/dist/index.js +1 -1
- package/dist/styles.css +19 -1
- package/package.json +17 -15
- package/dist/components/number-input/index.d.ts +0 -2
- package/dist/components/number-input/index.js +0 -1
- package/dist/components/number-input/types.d.ts +0 -30
package/README.md
CHANGED
|
@@ -125,116 +125,116 @@ import { AccordionRoot, AccordionItem, AccordionTrigger, AccordionContent } from
|
|
|
125
125
|
|
|
126
126
|
✅ 48 / total: 108
|
|
127
127
|
|
|
128
|
-
| No | Priority | Name | Status | Alias
|
|
129
|
-
| --- | -------- | --------------- | ------------ |
|
|
130
|
-
| 1 | 1 | Accordion | ✅ Completed |
|
|
131
|
-
| 2 | 1 | Alert | ✅ Completed |
|
|
132
|
-
| 3 | 1 | AlertDialog | ✅ Completed |
|
|
133
|
-
| 4 | 1 | Arrow | ✅ Completed |
|
|
134
|
-
| 5 | 1 | AspectRatio | ✅ Completed |
|
|
135
|
-
| 6 | 1 | Avatar | ✅ Completed |
|
|
136
|
-
| 7 | 1 | Badge | ✅ Completed | Chip
|
|
137
|
-
| 8 | 1 | Breadcrumb | ✅ Completed |
|
|
138
|
-
| 9 | 1 | Button | ✅ Completed |
|
|
139
|
-
| 10 | 1 | Card | ✅ Completed |
|
|
140
|
-
| 11 | 1 | Checkbox | ✅ Completed |
|
|
141
|
-
| 12 | 1 | Collapsible | ✅ Completed |
|
|
142
|
-
| 13 | 1 | Command | ✅ Completed |
|
|
143
|
-
| 14 | 1 | ConfigProvider | ✅ Completed |
|
|
144
|
-
| 15 | 1 | ContextMenu | ✅ Completed |
|
|
145
|
-
| 16 | 1 | Dialog | ✅ Completed |
|
|
146
|
-
| 17 | 1 | Drawer | ✅ Completed | Sheet
|
|
147
|
-
| 18 | 1 | DropdownMenu | ✅ Completed |
|
|
148
|
-
| 19 | 1 | Form | ✅ Completed |
|
|
149
|
-
| 20 | 1 | Icon | ✅ Completed |
|
|
150
|
-
| 21 | 1 | Input | ✅ Completed |
|
|
151
|
-
| 22 | 1 |
|
|
152
|
-
| 23 | 1 |
|
|
153
|
-
| 24 | 1 |
|
|
154
|
-
| 25 | 1 |
|
|
155
|
-
| 26 | 1 |
|
|
156
|
-
| 27 | 1 |
|
|
157
|
-
| 28 | 1 |
|
|
158
|
-
| 29 | 1 |
|
|
159
|
-
| 30 | 1 |
|
|
160
|
-
| 31 | 1 | Pagination | ✅ Completed |
|
|
161
|
-
| 32 | 1 | Password | ✅ Completed |
|
|
162
|
-
| 33 | 1 | Popover | ✅ Completed |
|
|
163
|
-
| 34 | 1 | RadioGroup | ✅ Completed |
|
|
164
|
-
| 35 | 1 | Segment | ✅ Completed |
|
|
165
|
-
| 36 | 1 | Select | ✅ Completed |
|
|
166
|
-
| 37 | 1 | Separator | ✅ Completed | Divider
|
|
167
|
-
| 38 | 1 | Switch | ✅ Completed |
|
|
168
|
-
| 39 | 1 | Tabs | ✅ Completed |
|
|
169
|
-
| 40 | 1 | Tag | ✅ Completed | Badge(shadcn-ui)
|
|
170
|
-
| 41 | 1 | Textarea | ✅ Completed |
|
|
171
|
-
| 42 | 1 | Toast | ✅ Completed | Sonner
|
|
172
|
-
| 43 | 1 | Tooltip | ✅ Completed |
|
|
173
|
-
| 44 | 1 | Tree | ✅ Completed |
|
|
174
|
-
| 45 | 1 | TreeMenu | ✅ Completed |
|
|
175
|
-
| 46 | 1 | Virtualizer | ✅ Completed |
|
|
176
|
-
| 47 | 1 | VisuallyHidden | ✅ Completed |
|
|
177
|
-
| 48 | 2 | PageTabs | ✅ Completed |
|
|
178
|
-
| 49 | 2 | ColorPicker | |
|
|
179
|
-
| 50 | 2 | Combobox | |
|
|
180
|
-
| 51 | 2 | DataTable | |
|
|
181
|
-
| 52 | 2 | Menubar | |
|
|
182
|
-
| 53 | 2 | PinInput | | InputOPT, OPTInput
|
|
183
|
-
| 54 | 2 | Popconfirm | |
|
|
184
|
-
| 55 | 2 | Progress | |
|
|
185
|
-
| 56 | 2 | ScrollArea | |
|
|
186
|
-
| 57 | 2 | Skeleton | |
|
|
187
|
-
| 58 | 2 | Slider | |
|
|
188
|
-
| 59 | 2 | Table | |
|
|
189
|
-
| 60 | 2 | Toggle | |
|
|
190
|
-
| 61 | 2 | ToggleGroup | |
|
|
191
|
-
| 62 | 3 | BottomSheet | | Drawer(shadcn-ui)
|
|
192
|
-
| 63 | 3 | Calendar | |
|
|
193
|
-
| 64 | 3 | Carousel | |
|
|
194
|
-
| 65 | 3 | DateField | |
|
|
195
|
-
| 66 | 3 | DatePicker | |
|
|
196
|
-
| 67 | 3 | DateRangeField | |
|
|
197
|
-
| 68 | 3 | DateRangePicker | |
|
|
198
|
-
| 69 | 3 | Editable | |
|
|
199
|
-
| 70 | 3 | HoverCard | |
|
|
200
|
-
| 71 | 3 | RangeCalendar | |
|
|
201
|
-
| 72 | 3 | Resizable | |
|
|
202
|
-
| 73 | 3 | Splitter | |
|
|
203
|
-
| 74 | 3 | Stepper | |
|
|
204
|
-
| 75 | 3 | TagsInput | |
|
|
205
|
-
| 76 | 3 | TimeField | |
|
|
206
|
-
| 77 | 3 | Timeline | |
|
|
207
|
-
| 78 | 3 | TimePicker | |
|
|
208
|
-
| 79 | 3 | Toolbar | |
|
|
209
|
-
| 80 | 4 | Affix | |
|
|
210
|
-
| 81 | 4 | Anchor | |
|
|
211
|
-
| 82 | 4 | AutoComplete | |
|
|
212
|
-
| 83 | 4 | Backtop | |
|
|
213
|
-
| 84 | 4 | Cascader | |
|
|
214
|
-
| 85 | 4 | Clipboard | |
|
|
215
|
-
| 86 | 4 | Code | |
|
|
216
|
-
| 87 | 4 | Comment | |
|
|
217
|
-
| 88 | 4 | Countdown | |
|
|
218
|
-
| 89 | 4 | CurrencyInput | |
|
|
219
|
-
| 90 | 4 | Descriptions | |
|
|
220
|
-
| 91 | 4 | Ellipsis | |
|
|
221
|
-
| 92 | 4 | Empty | |
|
|
222
|
-
| 93 | 4 | Equation | |
|
|
223
|
-
| 94 | 4 | InfiniteScroll | |
|
|
224
|
-
| 95 | 4 | Mention | |
|
|
225
|
-
| 96 | 4 | Navbar | |
|
|
226
|
-
| 97 | 4 | NumberAnimation | |
|
|
227
|
-
| 98 | 4 | QRCode | |
|
|
228
|
-
| 99 | 4 | Rating | | Rate
|
|
229
|
-
| 100 | 4 | Result | |
|
|
230
|
-
| 101 | 4 | Spinner | | Loader, Spin
|
|
231
|
-
| 102 | 4 | Statistic | |
|
|
232
|
-
| 103 | 4 | Tour | |
|
|
233
|
-
| 104 | 4 | Transfer | |
|
|
234
|
-
| 105 | 4 | TreeSelect | |
|
|
235
|
-
| 106 | 4 | Typography | |
|
|
236
|
-
| 107 | 4 | Upload | | FileUpload, Dropfile
|
|
237
|
-
| 108 | 4 | Watermark | |
|
|
128
|
+
| No | Priority | Name | Status | Alias | 📝 Note |
|
|
129
|
+
| --- | -------- | --------------- | ------------ | ------------------------ | ------------------------ |
|
|
130
|
+
| 1 | 1 | Accordion | ✅ Completed | | |
|
|
131
|
+
| 2 | 1 | Alert | ✅ Completed | | |
|
|
132
|
+
| 3 | 1 | AlertDialog | ✅ Completed | | |
|
|
133
|
+
| 4 | 1 | Arrow | ✅ Completed | | |
|
|
134
|
+
| 5 | 1 | AspectRatio | ✅ Completed | | |
|
|
135
|
+
| 6 | 1 | Avatar | ✅ Completed | | |
|
|
136
|
+
| 7 | 1 | Badge | ✅ Completed | Chip | |
|
|
137
|
+
| 8 | 1 | Breadcrumb | ✅ Completed | | |
|
|
138
|
+
| 9 | 1 | Button | ✅ Completed | | ✨ support loading |
|
|
139
|
+
| 10 | 1 | Card | ✅ Completed | | |
|
|
140
|
+
| 11 | 1 | Checkbox | ✅ Completed | | ✨ support checkbox card |
|
|
141
|
+
| 12 | 1 | Collapsible | ✅ Completed | | |
|
|
142
|
+
| 13 | 1 | Command | ✅ Completed | | |
|
|
143
|
+
| 14 | 1 | ConfigProvider | ✅ Completed | | |
|
|
144
|
+
| 15 | 1 | ContextMenu | ✅ Completed | | |
|
|
145
|
+
| 16 | 1 | Dialog | ✅ Completed | | |
|
|
146
|
+
| 17 | 1 | Drawer | ✅ Completed | Sheet | |
|
|
147
|
+
| 18 | 1 | DropdownMenu | ✅ Completed | | ✨ support hover trigger |
|
|
148
|
+
| 19 | 1 | Form | ✅ Completed | | |
|
|
149
|
+
| 20 | 1 | Icon | ✅ Completed | | ✨ based on iconify |
|
|
150
|
+
| 21 | 1 | Input | ✅ Completed | | |
|
|
151
|
+
| 22 | 1 | InputNumber | ✅ Completed | NumberField, NumberInput | |
|
|
152
|
+
| 23 | 1 | Kbd | ✅ Completed | | |
|
|
153
|
+
| 24 | 1 | Label | ✅ Completed | | |
|
|
154
|
+
| 25 | 1 | Layout | ✅ Completed | | |
|
|
155
|
+
| 26 | 1 | Link | ✅ Completed | | |
|
|
156
|
+
| 27 | 1 | List | ✅ Completed | | |
|
|
157
|
+
| 28 | 1 | Listbox | ✅ Completed | | |
|
|
158
|
+
| 29 | 1 | Menu | ✅ Completed | | |
|
|
159
|
+
| 30 | 1 | NavigationMenu | ✅ Completed | | |
|
|
160
|
+
| 31 | 1 | Pagination | ✅ Completed | | |
|
|
161
|
+
| 32 | 1 | Password | ✅ Completed | | |
|
|
162
|
+
| 33 | 1 | Popover | ✅ Completed | | |
|
|
163
|
+
| 34 | 1 | RadioGroup | ✅ Completed | | ✨ support radio card |
|
|
164
|
+
| 35 | 1 | Segment | ✅ Completed | | |
|
|
165
|
+
| 36 | 1 | Select | ✅ Completed | | |
|
|
166
|
+
| 37 | 1 | Separator | ✅ Completed | Divider | |
|
|
167
|
+
| 38 | 1 | Switch | ✅ Completed | | ✨ support switch card |
|
|
168
|
+
| 39 | 1 | Tabs | ✅ Completed | | |
|
|
169
|
+
| 40 | 1 | Tag | ✅ Completed | Badge(shadcn-ui) | |
|
|
170
|
+
| 41 | 1 | Textarea | ✅ Completed | | ✨ support auto size |
|
|
171
|
+
| 42 | 1 | Toast | ✅ Completed | Sonner | migrate from vue-sonner |
|
|
172
|
+
| 43 | 1 | Tooltip | ✅ Completed | | |
|
|
173
|
+
| 44 | 1 | Tree | ✅ Completed | | ✨ support virtualized |
|
|
174
|
+
| 45 | 1 | TreeMenu | ✅ Completed | | |
|
|
175
|
+
| 46 | 1 | Virtualizer | ✅ Completed | | |
|
|
176
|
+
| 47 | 1 | VisuallyHidden | ✅ Completed | | |
|
|
177
|
+
| 48 | 2 | PageTabs | ✅ Completed | | |
|
|
178
|
+
| 49 | 2 | ColorPicker | | | |
|
|
179
|
+
| 50 | 2 | Combobox | | | support virtualized |
|
|
180
|
+
| 51 | 2 | DataTable | | | support virtualized |
|
|
181
|
+
| 52 | 2 | Menubar | | | |
|
|
182
|
+
| 53 | 2 | PinInput | | InputOPT, OPTInput | |
|
|
183
|
+
| 54 | 2 | Popconfirm | | | |
|
|
184
|
+
| 55 | 2 | Progress | | | include circle |
|
|
185
|
+
| 56 | 2 | ScrollArea | | | |
|
|
186
|
+
| 57 | 2 | Skeleton | | | |
|
|
187
|
+
| 58 | 2 | Slider | | | |
|
|
188
|
+
| 59 | 2 | Table | | | |
|
|
189
|
+
| 60 | 2 | Toggle | | | |
|
|
190
|
+
| 61 | 2 | ToggleGroup | | | |
|
|
191
|
+
| 62 | 3 | BottomSheet | | Drawer(shadcn-ui) | |
|
|
192
|
+
| 63 | 3 | Calendar | | | v-calendar |
|
|
193
|
+
| 64 | 3 | Carousel | | | |
|
|
194
|
+
| 65 | 3 | DateField | | | |
|
|
195
|
+
| 66 | 3 | DatePicker | | | |
|
|
196
|
+
| 67 | 3 | DateRangeField | | | |
|
|
197
|
+
| 68 | 3 | DateRangePicker | | | |
|
|
198
|
+
| 69 | 3 | Editable | | | |
|
|
199
|
+
| 70 | 3 | HoverCard | | | |
|
|
200
|
+
| 71 | 3 | RangeCalendar | | | v-calendar |
|
|
201
|
+
| 72 | 3 | Resizable | | | |
|
|
202
|
+
| 73 | 3 | Splitter | | | |
|
|
203
|
+
| 74 | 3 | Stepper | | | |
|
|
204
|
+
| 75 | 3 | TagsInput | | | |
|
|
205
|
+
| 76 | 3 | TimeField | | | |
|
|
206
|
+
| 77 | 3 | Timeline | | | ui things |
|
|
207
|
+
| 78 | 3 | TimePicker | | | element-plus |
|
|
208
|
+
| 79 | 3 | Toolbar | | | |
|
|
209
|
+
| 80 | 4 | Affix | | | |
|
|
210
|
+
| 81 | 4 | Anchor | | | |
|
|
211
|
+
| 82 | 4 | AutoComplete | | | support virtualized |
|
|
212
|
+
| 83 | 4 | Backtop | | | |
|
|
213
|
+
| 84 | 4 | Cascader | | | support virtualized |
|
|
214
|
+
| 85 | 4 | Clipboard | | | |
|
|
215
|
+
| 86 | 4 | Code | | | |
|
|
216
|
+
| 87 | 4 | Comment | | | |
|
|
217
|
+
| 88 | 4 | Countdown | | | |
|
|
218
|
+
| 89 | 4 | CurrencyInput | | | |
|
|
219
|
+
| 90 | 4 | Descriptions | | | |
|
|
220
|
+
| 91 | 4 | Ellipsis | | | |
|
|
221
|
+
| 92 | 4 | Empty | | | |
|
|
222
|
+
| 93 | 4 | Equation | | | based on katex |
|
|
223
|
+
| 94 | 4 | InfiniteScroll | | | |
|
|
224
|
+
| 95 | 4 | Mention | | | element-plus |
|
|
225
|
+
| 96 | 4 | Navbar | | | |
|
|
226
|
+
| 97 | 4 | NumberAnimation | | | naive-ui |
|
|
227
|
+
| 98 | 4 | QRCode | | | |
|
|
228
|
+
| 99 | 4 | Rating | | Rate | element-plus |
|
|
229
|
+
| 100 | 4 | Result | | | |
|
|
230
|
+
| 101 | 4 | Spinner | | Loader, Spin | github ldrs |
|
|
231
|
+
| 102 | 4 | Statistic | | | |
|
|
232
|
+
| 103 | 4 | Tour | | | |
|
|
233
|
+
| 104 | 4 | Transfer | | | |
|
|
234
|
+
| 105 | 4 | TreeSelect | | | |
|
|
235
|
+
| 106 | 4 | Typography | | | shadcn-ui |
|
|
236
|
+
| 107 | 4 | Upload | | FileUpload, Dropfile | |
|
|
237
|
+
| 108 | 4 | Watermark | | | |
|
|
238
238
|
|
|
239
239
|
### Utilities
|
|
240
240
|
|
package/README.zh-CN.md
CHANGED
|
@@ -125,116 +125,116 @@ import { AccordionRoot, AccordionItem, AccordionTrigger, AccordionContent } from
|
|
|
125
125
|
|
|
126
126
|
✅ 48 / 总计: 108
|
|
127
127
|
|
|
128
|
-
| No | Priority | Name | Status | Alias
|
|
129
|
-
| --- | -------- | --------------- | ------------ |
|
|
130
|
-
| 1 | 1 | Accordion | ✅ Completed |
|
|
131
|
-
| 2 | 1 | Alert | ✅ Completed |
|
|
132
|
-
| 3 | 1 | AlertDialog | ✅ Completed |
|
|
133
|
-
| 4 | 1 | Arrow | ✅ Completed |
|
|
134
|
-
| 5 | 1 | AspectRatio | ✅ Completed |
|
|
135
|
-
| 6 | 1 | Avatar | ✅ Completed |
|
|
136
|
-
| 7 | 1 | Badge | ✅ Completed | Chip
|
|
137
|
-
| 8 | 1 | Breadcrumb | ✅ Completed |
|
|
138
|
-
| 9 | 1 | Button | ✅ Completed |
|
|
139
|
-
| 10 | 1 | Card | ✅ Completed |
|
|
140
|
-
| 11 | 1 | Checkbox | ✅ Completed |
|
|
141
|
-
| 12 | 1 | Collapsible | ✅ Completed |
|
|
142
|
-
| 13 | 1 | Command | ✅ Completed |
|
|
143
|
-
| 14 | 1 | ConfigProvider | ✅ Completed |
|
|
144
|
-
| 15 | 1 | ContextMenu | ✅ Completed |
|
|
145
|
-
| 16 | 1 | Dialog | ✅ Completed |
|
|
146
|
-
| 17 | 1 | Drawer | ✅ Completed | Sheet
|
|
147
|
-
| 18 | 1 | DropdownMenu | ✅ Completed |
|
|
148
|
-
| 19 | 1 | Form | ✅ Completed |
|
|
149
|
-
| 20 | 1 | Icon | ✅ Completed |
|
|
150
|
-
| 21 | 1 | Input | ✅ Completed |
|
|
151
|
-
| 22 | 1 |
|
|
152
|
-
| 23 | 1 |
|
|
153
|
-
| 24 | 1 |
|
|
154
|
-
| 25 | 1 |
|
|
155
|
-
| 26 | 1 |
|
|
156
|
-
| 27 | 1 |
|
|
157
|
-
| 28 | 1 |
|
|
158
|
-
| 29 | 1 |
|
|
159
|
-
| 30 | 1 |
|
|
160
|
-
| 31 | 1 | Pagination | ✅ Completed |
|
|
161
|
-
| 32 | 1 | Password | ✅ Completed |
|
|
162
|
-
| 33 | 1 | Popover | ✅ Completed |
|
|
163
|
-
| 34 | 1 | RadioGroup | ✅ Completed |
|
|
164
|
-
| 35 | 1 | Segment | ✅ Completed |
|
|
165
|
-
| 36 | 1 | Select | ✅ Completed |
|
|
166
|
-
| 37 | 1 | Separator | ✅ Completed | Divider
|
|
167
|
-
| 38 | 1 | Switch | ✅ Completed |
|
|
168
|
-
| 39 | 1 | Tabs | ✅ Completed |
|
|
169
|
-
| 40 | 1 | Tag | ✅ Completed | Badge(shadcn-ui)
|
|
170
|
-
| 41 | 1 | Textarea | ✅ Completed |
|
|
171
|
-
| 42 | 1 | Toast | ✅ Completed | Sonner
|
|
172
|
-
| 43 | 1 | Tooltip | ✅ Completed |
|
|
173
|
-
| 44 | 1 | Tree | ✅ Completed |
|
|
174
|
-
| 45 | 1 | TreeMenu | ✅ Completed |
|
|
175
|
-
| 46 | 1 | Virtualizer | ✅ Completed |
|
|
176
|
-
| 47 | 1 | VisuallyHidden | ✅ Completed |
|
|
177
|
-
| 48 | 2 | PageTabs | ✅ Completed |
|
|
178
|
-
| 49 | 2 | ColorPicker | |
|
|
179
|
-
| 50 | 2 | Combobox | |
|
|
180
|
-
| 51 | 2 | DataTable | |
|
|
181
|
-
| 52 | 2 | Menubar | |
|
|
182
|
-
| 53 | 2 | PinInput | | InputOPT, OPTInput
|
|
183
|
-
| 54 | 2 | Popconfirm | |
|
|
184
|
-
| 55 | 2 | Progress | |
|
|
185
|
-
| 56 | 2 | ScrollArea | |
|
|
186
|
-
| 57 | 2 | Skeleton | |
|
|
187
|
-
| 58 | 2 | Slider | |
|
|
188
|
-
| 59 | 2 | Table | |
|
|
189
|
-
| 60 | 2 | Toggle | |
|
|
190
|
-
| 61 | 2 | ToggleGroup | |
|
|
191
|
-
| 62 | 3 | BottomSheet | | Drawer(shadcn-ui)
|
|
192
|
-
| 63 | 3 | Calendar | |
|
|
193
|
-
| 64 | 3 | Carousel | |
|
|
194
|
-
| 65 | 3 | DateField | |
|
|
195
|
-
| 66 | 3 | DatePicker | |
|
|
196
|
-
| 67 | 3 | DateRangeField | |
|
|
197
|
-
| 68 | 3 | DateRangePicker | |
|
|
198
|
-
| 69 | 3 | Editable | |
|
|
199
|
-
| 70 | 3 | HoverCard | |
|
|
200
|
-
| 71 | 3 | RangeCalendar | |
|
|
201
|
-
| 72 | 3 | Resizable | |
|
|
202
|
-
| 73 | 3 | Splitter | |
|
|
203
|
-
| 74 | 3 | Stepper | |
|
|
204
|
-
| 75 | 3 | TagsInput | |
|
|
205
|
-
| 76 | 3 | TimeField | |
|
|
206
|
-
| 77 | 3 | Timeline | |
|
|
207
|
-
| 78 | 3 | TimePicker | |
|
|
208
|
-
| 79 | 3 | Toolbar | |
|
|
209
|
-
| 80 | 4 | Affix | |
|
|
210
|
-
| 81 | 4 | Anchor | |
|
|
211
|
-
| 82 | 4 | AutoComplete | |
|
|
212
|
-
| 83 | 4 | Backtop | |
|
|
213
|
-
| 84 | 4 | Cascader | |
|
|
214
|
-
| 85 | 4 | Clipboard | |
|
|
215
|
-
| 86 | 4 | Code | |
|
|
216
|
-
| 87 | 4 | Comment | |
|
|
217
|
-
| 88 | 4 | Countdown | |
|
|
218
|
-
| 89 | 4 | CurrencyInput | |
|
|
219
|
-
| 90 | 4 | Descriptions | |
|
|
220
|
-
| 91 | 4 | Ellipsis | |
|
|
221
|
-
| 92 | 4 | Empty | |
|
|
222
|
-
| 93 | 4 | Equation | |
|
|
223
|
-
| 94 | 4 | InfiniteScroll | |
|
|
224
|
-
| 95 | 4 | Mention | |
|
|
225
|
-
| 96 | 4 | Navbar | |
|
|
226
|
-
| 97 | 4 | NumberAnimation | |
|
|
227
|
-
| 98 | 4 | QRCode | |
|
|
228
|
-
| 99 | 4 | Rating | | Rate
|
|
229
|
-
| 100 | 4 | Result | |
|
|
230
|
-
| 101 | 4 | Spinner | | Loader, Spin
|
|
231
|
-
| 102 | 4 | Statistic | |
|
|
232
|
-
| 103 | 4 | Tour | |
|
|
233
|
-
| 104 | 4 | Transfer | |
|
|
234
|
-
| 105 | 4 | TreeSelect | |
|
|
235
|
-
| 106 | 4 | Typography | |
|
|
236
|
-
| 107 | 4 | Upload | | FileUpload, Dropfile
|
|
237
|
-
| 108 | 4 | Watermark | |
|
|
128
|
+
| No | Priority | Name | Status | Alias | 📝 Note |
|
|
129
|
+
| --- | -------- | --------------- | ------------ | ------------------------ | ------------------------ |
|
|
130
|
+
| 1 | 1 | Accordion | ✅ Completed | | |
|
|
131
|
+
| 2 | 1 | Alert | ✅ Completed | | |
|
|
132
|
+
| 3 | 1 | AlertDialog | ✅ Completed | | |
|
|
133
|
+
| 4 | 1 | Arrow | ✅ Completed | | |
|
|
134
|
+
| 5 | 1 | AspectRatio | ✅ Completed | | |
|
|
135
|
+
| 6 | 1 | Avatar | ✅ Completed | | |
|
|
136
|
+
| 7 | 1 | Badge | ✅ Completed | Chip | |
|
|
137
|
+
| 8 | 1 | Breadcrumb | ✅ Completed | | |
|
|
138
|
+
| 9 | 1 | Button | ✅ Completed | | ✨ support loading |
|
|
139
|
+
| 10 | 1 | Card | ✅ Completed | | |
|
|
140
|
+
| 11 | 1 | Checkbox | ✅ Completed | | ✨ support checkbox card |
|
|
141
|
+
| 12 | 1 | Collapsible | ✅ Completed | | |
|
|
142
|
+
| 13 | 1 | Command | ✅ Completed | | |
|
|
143
|
+
| 14 | 1 | ConfigProvider | ✅ Completed | | |
|
|
144
|
+
| 15 | 1 | ContextMenu | ✅ Completed | | |
|
|
145
|
+
| 16 | 1 | Dialog | ✅ Completed | | |
|
|
146
|
+
| 17 | 1 | Drawer | ✅ Completed | Sheet | |
|
|
147
|
+
| 18 | 1 | DropdownMenu | ✅ Completed | | ✨ support hover trigger |
|
|
148
|
+
| 19 | 1 | Form | ✅ Completed | | |
|
|
149
|
+
| 20 | 1 | Icon | ✅ Completed | | ✨ based on iconify |
|
|
150
|
+
| 21 | 1 | Input | ✅ Completed | | |
|
|
151
|
+
| 22 | 1 | InputNumber | ✅ Completed | NumberField, NumberInput | |
|
|
152
|
+
| 23 | 1 | Kbd | ✅ Completed | | |
|
|
153
|
+
| 24 | 1 | Label | ✅ Completed | | |
|
|
154
|
+
| 25 | 1 | Layout | ✅ Completed | | |
|
|
155
|
+
| 26 | 1 | Link | ✅ Completed | | |
|
|
156
|
+
| 27 | 1 | List | ✅ Completed | | |
|
|
157
|
+
| 28 | 1 | Listbox | ✅ Completed | | |
|
|
158
|
+
| 29 | 1 | Menu | ✅ Completed | | |
|
|
159
|
+
| 30 | 1 | NavigationMenu | ✅ Completed | | |
|
|
160
|
+
| 31 | 1 | Pagination | ✅ Completed | | |
|
|
161
|
+
| 32 | 1 | Password | ✅ Completed | | |
|
|
162
|
+
| 33 | 1 | Popover | ✅ Completed | | |
|
|
163
|
+
| 34 | 1 | RadioGroup | ✅ Completed | | ✨ support radio card |
|
|
164
|
+
| 35 | 1 | Segment | ✅ Completed | | |
|
|
165
|
+
| 36 | 1 | Select | ✅ Completed | | |
|
|
166
|
+
| 37 | 1 | Separator | ✅ Completed | Divider | |
|
|
167
|
+
| 38 | 1 | Switch | ✅ Completed | | ✨ support switch card |
|
|
168
|
+
| 39 | 1 | Tabs | ✅ Completed | | |
|
|
169
|
+
| 40 | 1 | Tag | ✅ Completed | Badge(shadcn-ui) | |
|
|
170
|
+
| 41 | 1 | Textarea | ✅ Completed | | ✨ support auto size |
|
|
171
|
+
| 42 | 1 | Toast | ✅ Completed | Sonner | migrate from vue-sonner |
|
|
172
|
+
| 43 | 1 | Tooltip | ✅ Completed | | |
|
|
173
|
+
| 44 | 1 | Tree | ✅ Completed | | ✨ support virtualized |
|
|
174
|
+
| 45 | 1 | TreeMenu | ✅ Completed | | |
|
|
175
|
+
| 46 | 1 | Virtualizer | ✅ Completed | | |
|
|
176
|
+
| 47 | 1 | VisuallyHidden | ✅ Completed | | |
|
|
177
|
+
| 48 | 2 | PageTabs | ✅ Completed | | |
|
|
178
|
+
| 49 | 2 | ColorPicker | | | |
|
|
179
|
+
| 50 | 2 | Combobox | | | support virtualized |
|
|
180
|
+
| 51 | 2 | DataTable | | | support virtualized |
|
|
181
|
+
| 52 | 2 | Menubar | | | |
|
|
182
|
+
| 53 | 2 | PinInput | | InputOPT, OPTInput | |
|
|
183
|
+
| 54 | 2 | Popconfirm | | | |
|
|
184
|
+
| 55 | 2 | Progress | | | include circle |
|
|
185
|
+
| 56 | 2 | ScrollArea | | | |
|
|
186
|
+
| 57 | 2 | Skeleton | | | |
|
|
187
|
+
| 58 | 2 | Slider | | | |
|
|
188
|
+
| 59 | 2 | Table | | | |
|
|
189
|
+
| 60 | 2 | Toggle | | | |
|
|
190
|
+
| 61 | 2 | ToggleGroup | | | |
|
|
191
|
+
| 62 | 3 | BottomSheet | | Drawer(shadcn-ui) | |
|
|
192
|
+
| 63 | 3 | Calendar | | | v-calendar |
|
|
193
|
+
| 64 | 3 | Carousel | | | |
|
|
194
|
+
| 65 | 3 | DateField | | | |
|
|
195
|
+
| 66 | 3 | DatePicker | | | |
|
|
196
|
+
| 67 | 3 | DateRangeField | | | |
|
|
197
|
+
| 68 | 3 | DateRangePicker | | | |
|
|
198
|
+
| 69 | 3 | Editable | | | |
|
|
199
|
+
| 70 | 3 | HoverCard | | | |
|
|
200
|
+
| 71 | 3 | RangeCalendar | | | v-calendar |
|
|
201
|
+
| 72 | 3 | Resizable | | | |
|
|
202
|
+
| 73 | 3 | Splitter | | | |
|
|
203
|
+
| 74 | 3 | Stepper | | | |
|
|
204
|
+
| 75 | 3 | TagsInput | | | |
|
|
205
|
+
| 76 | 3 | TimeField | | | |
|
|
206
|
+
| 77 | 3 | Timeline | | | ui things |
|
|
207
|
+
| 78 | 3 | TimePicker | | | element-plus |
|
|
208
|
+
| 79 | 3 | Toolbar | | | |
|
|
209
|
+
| 80 | 4 | Affix | | | |
|
|
210
|
+
| 81 | 4 | Anchor | | | |
|
|
211
|
+
| 82 | 4 | AutoComplete | | | support virtualized |
|
|
212
|
+
| 83 | 4 | Backtop | | | |
|
|
213
|
+
| 84 | 4 | Cascader | | | support virtualized |
|
|
214
|
+
| 85 | 4 | Clipboard | | | |
|
|
215
|
+
| 86 | 4 | Code | | | |
|
|
216
|
+
| 87 | 4 | Comment | | | |
|
|
217
|
+
| 88 | 4 | Countdown | | | |
|
|
218
|
+
| 89 | 4 | CurrencyInput | | | |
|
|
219
|
+
| 90 | 4 | Descriptions | | | |
|
|
220
|
+
| 91 | 4 | Ellipsis | | | |
|
|
221
|
+
| 92 | 4 | Empty | | | |
|
|
222
|
+
| 93 | 4 | Equation | | | based on katex |
|
|
223
|
+
| 94 | 4 | InfiniteScroll | | | |
|
|
224
|
+
| 95 | 4 | Mention | | | element-plus |
|
|
225
|
+
| 96 | 4 | Navbar | | | |
|
|
226
|
+
| 97 | 4 | NumberAnimation | | | naive-ui |
|
|
227
|
+
| 98 | 4 | QRCode | | | |
|
|
228
|
+
| 99 | 4 | Rating | | Rate | element-plus |
|
|
229
|
+
| 100 | 4 | Result | | | |
|
|
230
|
+
| 101 | 4 | Spinner | | Loader, Spin | github ldrs |
|
|
231
|
+
| 102 | 4 | Statistic | | | |
|
|
232
|
+
| 103 | 4 | Tour | | | |
|
|
233
|
+
| 104 | 4 | Transfer | | | |
|
|
234
|
+
| 105 | 4 | TreeSelect | | | |
|
|
235
|
+
| 106 | 4 | Typography | | | shadcn-ui |
|
|
236
|
+
| 107 | 4 | Upload | | FileUpload, Dropfile | |
|
|
237
|
+
| 108 | 4 | Watermark | | | |
|
|
238
238
|
|
|
239
239
|
### Utilities
|
|
240
240
|
|
|
@@ -11,8 +11,8 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
default?: (props: typeof __VLS_16) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: vue.DefineComponent<AlertDialogCancelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<AlertDialogCancelProps> & Readonly<{}>, {
|
|
14
|
-
text: string;
|
|
15
14
|
variant: ButtonVariant;
|
|
15
|
+
text: string;
|
|
16
16
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -6,8 +6,8 @@ import * as vue from "vue";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/button/button-icon.vue.d.ts
|
|
8
8
|
declare const __VLS_export: vue.DefineComponent<ButtonIconProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ButtonIconProps> & Readonly<{}>, {
|
|
9
|
-
color: ThemeColor;
|
|
10
9
|
variant: ButtonVariant;
|
|
10
|
+
color: ThemeColor;
|
|
11
11
|
shape: ButtonShape;
|
|
12
12
|
fitContent: boolean;
|
|
13
13
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -12,9 +12,9 @@ type __VLS_Slots = {} & {
|
|
|
12
12
|
default?: (props: typeof __VLS_14) => any;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_base: vue.DefineComponent<ButtonLinkProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ButtonLinkProps> & Readonly<{}>, {
|
|
15
|
+
variant: ButtonVariant;
|
|
15
16
|
disabled: boolean;
|
|
16
17
|
replace: boolean;
|
|
17
|
-
variant: ButtonVariant;
|
|
18
18
|
external: boolean;
|
|
19
19
|
viewTransition: boolean;
|
|
20
20
|
noRel: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{mergeSlotVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import t from"../icon/icon.js";import{checkboxVariants as n}from"./variants.js";import{Transition as r,computed as i,createBlock as a,
|
|
1
|
+
import{mergeSlotVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import t from"../icon/icon.js";import{checkboxVariants as n}from"./variants.js";import{Transition as r,computed as i,createBlock as a,createCommentVNode as o,createTextVNode as s,createVNode as c,defineComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,openBlock as p,renderSlot as m,toDisplayString as h,unref as g,useId as _,withCtx as v}from"vue";import{useOmitProps as y}from"@soybeanjs/headless/composables";import{CheckboxControl as b,CheckboxIndicator as x,CheckboxLabel as S,CheckboxRoot as C,provideCheckboxUi as w}from"@soybeanjs/headless";const T=l({name:`SCheckbox`,__name:`checkbox`,props:{ui:{},color:{},size:{},shape:{},label:{},controlProps:{},indicatorProps:{},labelProps:{},modelValue:{type:[Boolean,String,null],default:void 0},defaultValue:{type:[Boolean,String]},value:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(l,{emit:T}){let E=l,D=T,O=y(E,[`color`,`size`,`ui`,`label`,`controlProps`,`indicatorProps`,`labelProps`]),k=_(),A=i(()=>E.id||`checkbox-${k}`);return w(i(()=>e(n({color:E.color,size:E.size,shape:E.shape}),E.ui))),(e,n)=>(p(),a(g(C),d(g(O),{"onUpdate:modelValue":n[0]||=e=>D(`update:modelValue`,e)}),{default:v(n=>[c(g(b),d(l.controlProps,{id:A.value}),{default:v(()=>[c(r,{"enter-active-class":`transition-50`,"enter-from-class":`opacity-0 scale-0`},{default:v(()=>[c(g(x),f(u(l.indicatorProps)),{default:v(()=>[m(e.$slots,`indicator`,f(u(n)),()=>[c(t,{icon:n.state===`indeterminate`?`lucide:minus`:`lucide:check`,class:`size-full`},null,8,[`icon`])])]),_:2},1040)]),_:2},1024)]),_:2},1040,[`id`]),e.$slots.default||l.label?(p(),a(g(S),d({key:0},l.labelProps,{for:A.value}),{default:v(()=>[m(e.$slots,`default`,d(n,{id:A.value}),()=>[s(h(l.label),1)])]),_:2},1040,[`for`])):o(`v-if`,!0)]),_:3},16))}});export{T as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{groupRoot:`flex`,root:`
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{groupRoot:`flex`,root:`flex items-center w-fit`,control:[`peer shrink-0 border shadow`,`focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`],indicator:`w-full h-full flex items-center justify-center text-current`,label:``},variants:{color:{primary:{control:`border-primary focus-visible:ring-primary/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground`},destructive:{control:`border-destructive focus-visible:ring-destructive/30 data-[state=checked]:bg-destructive data-[state=checked]:text-destructive-foreground data-[state=indeterminate]:bg-destructive data-[state=indeterminate]:text-destructive-foreground`},success:{control:`border-success focus-visible:ring-success/30 data-[state=checked]:bg-success data-[state=checked]:text-success-foreground data-[state=indeterminate]:bg-success data-[state=indeterminate]:text-success-foreground`},warning:{control:`border-warning focus-visible:ring-warning/30 data-[state=checked]:bg-warning data-[state=checked]:text-warning-foreground data-[state=indeterminate]:bg-warning data-[state=indeterminate]:text-warning-foreground`},info:{control:`border-info focus-visible:ring-info/30 data-[state=checked]:bg-info data-[state=checked]:text-info-foreground data-[state=indeterminate]:bg-info data-[state=indeterminate]:text-info-foreground`},carbon:{control:`border-carbon focus-visible:ring-carbon/30 data-[state=checked]:bg-carbon data-[state=checked]:text-carbon-foreground data-[state=indeterminate]:bg-carbon data-[state=indeterminate]:text-carbon-foreground`},secondary:{control:`border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:bg-secondary-foreground/5 data-[state=checked]:text-secondary-foreground data-[state=indeterminate]:bg-secondary-foreground/5 data-[state=indeterminate]:text-secondary-foreground`},accent:{control:`border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:bg-accent-foreground/5 data-[state=checked]:text-accent-foreground data-[state=indeterminate]:bg-accent-foreground/5 data-[state=indeterminate]:text-accent-foreground`}},size:{xs:{groupRoot:`gap-x-2 gap-y-1.5`,root:`gap-1.5`,control:`size-3`},sm:{groupRoot:`gap-x-2.5 gap-y-1.75`,root:`gap-1.75`,control:`size-3.5`},md:{groupRoot:`gap-x-3 gap-y-2`,root:`gap-2`,control:`size-4`},lg:{groupRoot:`gap-x-3.5 gap-y-2.5`,root:`gap-2.5`,control:`size-4.5`},xl:{groupRoot:`gap-x-4 gap-y-3`,root:`gap-3`,control:`size-5`},"2xl":{groupRoot:`gap-x-4.5 gap-y-3.5`,root:`gap-3.5`,control:`size-6`}},orientation:{horizontal:{groupRoot:`items-center`},vertical:{groupRoot:`flex-col`}},shape:{square:{control:`rounded-sm`},rounded:{control:`rounded-full`}}},defaultVariants:{color:`primary`,size:`md`,orientation:`horizontal`,shape:`square`}}),n=e({slots:{groupRoot:`flex`,root:`relative inline-flex border border-solid border-border rounded-md`,content:`flex items-center grow`,textContent:`flex flex-col`,icon:`shrink-0`,label:`font-medium`,description:`text-muted-foreground`,control:[`peer shrink-0 border shadow`,`focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50`,`order-1 after:absolute after:inset-0 after:content-empty`],indicator:`w-full h-full flex items-center justify-center text-current`},variants:{color:{primary:{root:`data-[state=checked]:border-primary`,control:`border-primary focus-visible:ring-primary/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground`},destructive:{root:`data-[state=checked]:border-destructive`,control:`border-destructive focus-visible:ring-destructive/30 data-[state=checked]:bg-destructive data-[state=checked]:text-destructive-foreground data-[state=indeterminate]:bg-destructive data-[state=indeterminate]:text-destructive-foreground`},success:{root:`data-[state=checked]:border-success`,control:`border-success focus-visible:ring-success/30 data-[state=checked]:bg-success data-[state=checked]:text-success-foreground data-[state=indeterminate]:bg-success data-[state=indeterminate]:text-success-foreground`},warning:{root:`data-[state=checked]:border-warning`,control:`border-warning focus-visible:ring-warning/30 data-[state=checked]:bg-warning data-[state=checked]:text-warning-foreground data-[state=indeterminate]:bg-warning data-[state=indeterminate]:text-warning-foreground`},info:{root:`data-[state=checked]:border-info`,control:`border-info focus-visible:ring-info/30 data-[state=checked]:bg-info data-[state=checked]:text-info-foreground data-[state=indeterminate]:bg-info data-[state=indeterminate]:text-info-foreground`},carbon:{root:`data-[state=checked]:border-carbon`,control:`border-carbon focus-visible:ring-carbon/30 data-[state=checked]:bg-carbon data-[state=checked]:text-carbon-foreground data-[state=indeterminate]:bg-carbon data-[state=indeterminate]:text-carbon-foreground`},secondary:{root:`data-[state=checked]:border-secondary-foreground/50`,control:`border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:bg-secondary-foreground/5 data-[state=checked]:text-secondary-foreground data-[state=indeterminate]:bg-secondary-foreground/5 data-[state=indeterminate]:text-secondary-foreground`},accent:{root:`data-[state=checked]:border-accent-foreground/50`,control:`border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:bg-accent-foreground/5 data-[state=checked]:text-accent-foreground data-[state=indeterminate]:bg-accent-foreground/5 data-[state=indeterminate]:text-accent-foreground`}},size:{xs:{groupRoot:`gap-x-2 gap-y-1.5`,root:`gap-2 text-2xs p-2`,content:`gap-2`,textContent:`gap-0.5`,icon:`text-3`,description:`text-3xs`,control:`size-3`},sm:{groupRoot:`gap-x-2.5 gap-y-1.75`,root:`gap-2.5 text-xs p-2.5`,content:`gap-2.5`,textContent:`gap-0.75`,icon:`text-4`,description:`text-2xs`,control:`size-3.5`},md:{groupRoot:`gap-x-3 gap-y-2`,root:`gap-3 text-sm p-3`,content:`gap-3`,textContent:`gap-1`,icon:`text-5`,description:`text-xs`,control:`size-4`},lg:{groupRoot:`gap-x-3.5 gap-y-2.5`,root:`gap-4 text-base p-4`,content:`gap-4`,textContent:`gap-1.5`,icon:`text-6`,description:`text-sm`,control:`size-4.5`},xl:{groupRoot:`gap-x-4 gap-y-3`,root:`gap-5 text-lg p-5`,content:`gap-5`,textContent:`gap-2`,icon:`text-7`,description:`text-base`,control:`size-5`},"2xl":{groupRoot:`gap-x-4.5 gap-y-3.5`,root:`gap-6 text-xl p-6`,content:`gap-6`,textContent:`gap-2.5`,icon:`text-8`,description:`text-lg`,control:`size-6`}},shape:{square:{control:`rounded-sm`},rounded:{control:`rounded-full`}}},defaultVariants:{color:`primary`,size:`md`,shape:`square`}});export{n as checkboxCardVariants,t as checkboxVariants};
|
|
@@ -8,8 +8,8 @@ declare const __VLS_export: <T extends CommandBaseOptionData = CommandBaseOption
|
|
|
8
8
|
props: vue.PublicProps & __VLS_PrettifyLocal<CommandProps<T> & {
|
|
9
9
|
onSelect?: ((event: _soybeanjs_headless0.SelectEvent<string>) => any) | undefined;
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
12
11
|
onHighlight?: ((payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless0.ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
12
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
13
13
|
onLeave?: ((event: Event) => any) | undefined;
|
|
14
14
|
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
15
15
|
}> & (typeof globalThis extends {
|
|
@@ -38,7 +38,7 @@ declare const __VLS_export: <T extends CommandBaseOptionData = CommandBaseOption
|
|
|
38
38
|
} & {
|
|
39
39
|
bottom?: (props: {}) => any;
|
|
40
40
|
};
|
|
41
|
-
emit: ((evt: "select", event: _soybeanjs_headless0.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "
|
|
41
|
+
emit: ((evt: "select", event: _soybeanjs_headless0.SelectEvent<string>) => void) & ((evt: "update:modelValue", value: string) => void) & ((evt: "highlight", payload?: _soybeanjs_headless_composables0.CollectionItemData<_soybeanjs_headless0.ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void) & ((evt: "update:searchTerm", value: string) => void);
|
|
42
42
|
}>) => vue.VNode & {
|
|
43
43
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
44
44
|
};
|