@rockshin/tao-ui 0.0.41 → 0.0.42
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 +33 -7
- package/THIRD_PARTY_NOTICES.md +34 -0
- package/component-manifest.json +1321 -10
- package/dist/components/affix/affix.css +11 -0
- package/dist/components/affix/affix.d.ts +21 -0
- package/dist/components/affix/affix.js +140 -0
- package/dist/components/app/app-modals.d.ts +2 -0
- package/dist/components/app/app-modals.js +266 -0
- package/dist/components/app/app-notices.d.ts +6 -0
- package/dist/components/app/app-notices.js +334 -0
- package/dist/components/app/app-types.d.ts +154 -0
- package/dist/components/app/app-types.js +0 -0
- package/dist/components/app/app.css +221 -0
- package/dist/components/app/app.d.ts +7 -0
- package/dist/components/app/app.js +69 -0
- package/dist/components/auto-complete/auto-complete.css +35 -0
- package/dist/components/auto-complete/auto-complete.d.ts +47 -0
- package/dist/components/auto-complete/auto-complete.js +106 -0
- package/dist/components/avatar/avatar.css +95 -0
- package/dist/components/avatar/avatar.d.ts +50 -0
- package/dist/components/avatar/avatar.js +159 -0
- package/dist/components/badge/badge.css +165 -0
- package/dist/components/badge/badge.d.ts +48 -0
- package/dist/components/badge/badge.js +412 -0
- package/dist/components/border-beam/border-beam.css +35 -0
- package/dist/components/border-beam/border-beam.d.ts +27 -0
- package/dist/components/border-beam/border-beam.js +215 -0
- package/dist/components/button/button.css +7 -0
- package/dist/components/calendar/calendar.css +176 -0
- package/dist/components/calendar/calendar.d.ts +56 -0
- package/dist/components/calendar/calendar.js +175 -0
- package/dist/components/card/card-tabs.d.ts +43 -0
- package/dist/components/card/card-tabs.js +455 -0
- package/dist/components/card/card.css +401 -0
- package/dist/components/card/card.d.ts +74 -0
- package/dist/components/card/card.js +362 -0
- package/dist/components/carousel/carousel.css +231 -0
- package/dist/components/carousel/carousel.d.ts +35 -0
- package/dist/components/carousel/carousel.js +193 -0
- package/dist/components/cascader/cascader.css +123 -0
- package/dist/components/cascader/cascader.d.ts +58 -0
- package/dist/components/cascader/cascader.js +132 -0
- package/dist/components/checkbox/checkbox.css +7 -0
- package/dist/components/color-picker/color-picker-types.d.ts +78 -0
- package/dist/components/color-picker/color-picker-types.js +0 -0
- package/dist/components/color-picker/color-picker.css +299 -0
- package/dist/components/color-picker/color-picker.d.ts +5 -0
- package/dist/components/color-picker/color-picker.js +974 -0
- package/dist/components/color-picker/color.d.ts +35 -0
- package/dist/components/color-picker/color.js +65 -0
- package/dist/components/date-picker/calendar/calendar-grid.js +4 -11
- package/dist/components/date-picker/calendar/calendar-header.js +76 -69
- package/dist/components/date-picker/calendar/month-grid.js +20 -31
- package/dist/components/date-picker/calendar/time-panel.js +46 -41
- package/dist/components/date-picker/date-picker.css +4 -0
- package/dist/components/date-picker/date-picker.js +4 -4
- package/dist/components/date-picker/range-picker.js +14 -13
- package/dist/components/descriptions/descriptions.css +109 -0
- package/dist/components/descriptions/descriptions.d.ts +49 -0
- package/dist/components/descriptions/descriptions.js +189 -0
- package/dist/components/divider/divider.css +71 -0
- package/dist/components/divider/divider.d.ts +31 -0
- package/dist/components/divider/divider.js +83 -0
- package/dist/components/drawer/drawer.js +199 -184
- package/dist/components/empty/empty.css +35 -0
- package/dist/components/empty/empty.d.ts +25 -0
- package/dist/components/empty/empty.js +278 -0
- package/dist/components/float-button/float-button.css +146 -0
- package/dist/components/float-button/float-button.d.ts +67 -0
- package/dist/components/float-button/float-button.js +347 -0
- package/dist/components/form/form-item.d.ts +1 -1
- package/dist/components/form/form.js +3 -1
- package/dist/components/image/image-icons.d.ts +16 -0
- package/dist/components/image/image-icons.js +63 -0
- package/dist/components/image/image.css +253 -0
- package/dist/components/image/image.d.ts +75 -0
- package/dist/components/image/image.js +818 -0
- package/dist/components/input/input.css +8 -6
- package/dist/components/list/list-pagination.css +127 -0
- package/dist/components/list/list-pagination.d.ts +38 -0
- package/dist/components/list/list-pagination.js +321 -0
- package/dist/components/list/list.css +225 -0
- package/dist/components/list/list.d.ts +77 -0
- package/dist/components/list/list.js +660 -0
- package/dist/components/listy/listy.css +55 -0
- package/dist/components/listy/listy.d.ts +20 -0
- package/dist/components/listy/listy.js +158 -0
- package/dist/components/masonry/masonry.css +13 -0
- package/dist/components/masonry/masonry.d.ts +39 -0
- package/dist/components/masonry/masonry.js +287 -0
- package/dist/components/mentions/mentions.css +172 -0
- package/dist/components/mentions/mentions.d.ts +48 -0
- package/dist/components/mentions/mentions.js +115 -0
- package/dist/components/modal/modal.d.ts +30 -4
- package/dist/components/modal/modal.js +534 -241
- package/dist/components/pagination/pagination.css +10 -0
- package/dist/components/progress/progress.css +187 -0
- package/dist/components/progress/progress.d.ts +66 -0
- package/dist/components/progress/progress.js +567 -0
- package/dist/components/qr-code/qr-code.css +39 -0
- package/dist/components/qr-code/qr-code.d.ts +43 -0
- package/dist/components/qr-code/qr-code.js +286 -0
- package/dist/components/radio/radio.css +7 -0
- package/dist/components/rate/rate.css +97 -0
- package/dist/components/rate/rate.d.ts +17 -0
- package/dist/components/rate/rate.js +172 -0
- package/dist/components/result/result.css +69 -0
- package/dist/components/result/result.d.ts +33 -0
- package/dist/components/result/result.js +320 -0
- package/dist/components/segmented/segmented.css +134 -0
- package/dist/components/segmented/segmented.d.ts +40 -0
- package/dist/components/segmented/segmented.js +169 -0
- package/dist/components/select/mobile-select.d.ts +10 -4
- package/dist/components/select/mobile-select.js +166 -58
- package/dist/components/select/select-tags.js +178 -130
- package/dist/components/select/select-types.d.ts +51 -0
- package/dist/components/select/select.css +69 -10
- package/dist/components/select/select.js +30 -16
- package/dist/components/select/use-select-selection.js +44 -43
- package/dist/components/skeleton/skeleton.css +129 -0
- package/dist/components/skeleton/skeleton.d.ts +78 -0
- package/dist/components/skeleton/skeleton.js +457 -0
- package/dist/components/slider/slider.css +191 -0
- package/dist/components/slider/slider.d.ts +47 -0
- package/dist/components/slider/slider.js +310 -0
- package/dist/components/statistic/statistic.css +34 -0
- package/dist/components/statistic/statistic.d.ts +46 -0
- package/dist/components/statistic/statistic.js +491 -0
- package/dist/components/switch/switch-touch.css +20 -0
- package/dist/components/switch/switch.css +24 -13
- package/dist/components/switch/switch.js +8 -5
- package/dist/components/textarea/textarea.css +1 -1
- package/dist/components/time-picker/time-picker.css +205 -0
- package/dist/components/time-picker/time-picker.d.ts +63 -0
- package/dist/components/time-picker/time-picker.js +356 -0
- package/dist/components/timeline/timeline.css +259 -0
- package/dist/components/timeline/timeline.d.ts +50 -0
- package/dist/components/timeline/timeline.js +140 -0
- package/dist/components/tour/tour.css +151 -0
- package/dist/components/tour/tour.d.ts +45 -0
- package/dist/components/tour/tour.js +575 -0
- package/dist/components/transfer/transfer-list.d.ts +2 -0
- package/dist/components/transfer/transfer-list.js +513 -0
- package/dist/components/transfer/transfer-parts.d.ts +3 -0
- package/dist/components/transfer/transfer-parts.js +163 -0
- package/dist/components/transfer/transfer-types.d.ts +163 -0
- package/dist/components/transfer/transfer-types.js +0 -0
- package/dist/components/transfer/transfer.css +226 -0
- package/dist/components/transfer/transfer.d.ts +13 -0
- package/dist/components/transfer/transfer.js +204 -0
- package/dist/components/tree/tree.css +250 -0
- package/dist/components/tree/tree.d.ts +46 -0
- package/dist/components/tree/tree.js +389 -0
- package/dist/components/tree-select/select-engine.css +231 -0
- package/dist/components/tree-select/select-engine.d.ts +20 -0
- package/dist/components/tree-select/select-engine.js +46 -0
- package/dist/components/tree-select/tree-select.css +25 -0
- package/dist/components/tree-select/tree-select.d.ts +50 -0
- package/dist/components/tree-select/tree-select.js +131 -0
- package/dist/components/upload/upload-types.d.ts +135 -0
- package/dist/components/upload/upload-types.js +0 -0
- package/dist/components/upload/upload.css +177 -0
- package/dist/components/upload/upload.d.ts +12 -0
- package/dist/components/upload/upload.js +455 -0
- package/dist/components/watermark/watermark-context.d.ts +7 -0
- package/dist/components/watermark/watermark-context.js +20 -0
- package/dist/components/watermark/watermark.css +10 -0
- package/dist/components/watermark/watermark.d.ts +38 -0
- package/dist/components/watermark/watermark.js +436 -0
- package/dist/docs/component-docs.d.ts +35 -29
- package/dist/docs/component-docs.js +73 -1
- package/dist/docs/components/affix.doc.d.ts +14 -0
- package/dist/docs/components/affix.doc.js +22 -0
- package/dist/docs/components/app.doc.d.ts +18 -0
- package/dist/docs/components/app.doc.js +42 -0
- package/dist/docs/components/auto-complete.doc.d.ts +18 -0
- package/dist/docs/components/auto-complete.doc.js +49 -0
- package/dist/docs/components/avatar.doc.d.ts +17 -0
- package/dist/docs/components/avatar.doc.js +36 -0
- package/dist/docs/components/badge.doc.d.ts +17 -0
- package/dist/docs/components/badge.doc.js +34 -0
- package/dist/docs/components/border-beam.doc.d.ts +14 -0
- package/dist/docs/components/border-beam.doc.js +22 -0
- package/dist/docs/components/calendar.doc.d.ts +18 -0
- package/dist/docs/components/calendar.doc.js +45 -0
- package/dist/docs/components/card.doc.d.ts +17 -0
- package/dist/docs/components/card.doc.js +39 -0
- package/dist/docs/components/carousel.doc.d.ts +15 -0
- package/dist/docs/components/carousel.doc.js +26 -0
- package/dist/docs/components/cascader.doc.d.ts +18 -0
- package/dist/docs/components/cascader.doc.js +54 -0
- package/dist/docs/components/color-picker.doc.d.ts +18 -0
- package/dist/docs/components/color-picker.doc.js +46 -0
- package/dist/docs/components/descriptions.doc.d.ts +14 -0
- package/dist/docs/components/descriptions.doc.js +26 -0
- package/dist/docs/components/divider.doc.d.ts +17 -0
- package/dist/docs/components/divider.doc.js +34 -0
- package/dist/docs/components/empty.doc.d.ts +18 -0
- package/dist/docs/components/empty.doc.js +40 -0
- package/dist/docs/components/float-button.doc.d.ts +14 -0
- package/dist/docs/components/float-button.doc.js +23 -0
- package/dist/docs/components/form.doc.d.ts +1 -1
- package/dist/docs/components/image.doc.d.ts +15 -0
- package/dist/docs/components/image.doc.js +38 -0
- package/dist/docs/components/list.doc.d.ts +18 -0
- package/dist/docs/components/list.doc.js +43 -0
- package/dist/docs/components/listy.doc.d.ts +18 -0
- package/dist/docs/components/listy.doc.js +40 -0
- package/dist/docs/components/masonry.doc.d.ts +14 -0
- package/dist/docs/components/masonry.doc.js +22 -0
- package/dist/docs/components/mentions.doc.d.ts +18 -0
- package/dist/docs/components/mentions.doc.js +43 -0
- package/dist/docs/components/modal.doc.js +3 -0
- package/dist/docs/components/progress.doc.d.ts +18 -0
- package/dist/docs/components/progress.doc.js +41 -0
- package/dist/docs/components/qr-code.doc.d.ts +18 -0
- package/dist/docs/components/qr-code.doc.js +41 -0
- package/dist/docs/components/rate.doc.d.ts +18 -0
- package/dist/docs/components/rate.doc.js +38 -0
- package/dist/docs/components/result.doc.d.ts +18 -0
- package/dist/docs/components/result.doc.js +42 -0
- package/dist/docs/components/segmented.doc.d.ts +14 -0
- package/dist/docs/components/segmented.doc.js +24 -0
- package/dist/docs/components/skeleton.doc.d.ts +18 -0
- package/dist/docs/components/skeleton.doc.js +42 -0
- package/dist/docs/components/slider.doc.d.ts +18 -0
- package/dist/docs/components/slider.doc.js +41 -0
- package/dist/docs/components/statistic.doc.d.ts +14 -0
- package/dist/docs/components/statistic.doc.js +27 -0
- package/dist/docs/components/time-picker.doc.d.ts +18 -0
- package/dist/docs/components/time-picker.doc.js +45 -0
- package/dist/docs/components/timeline.doc.d.ts +14 -0
- package/dist/docs/components/timeline.doc.js +29 -0
- package/dist/docs/components/tooltip.doc.d.ts +2 -2
- package/dist/docs/components/tour.doc.d.ts +15 -0
- package/dist/docs/components/tour.doc.js +36 -0
- package/dist/docs/components/transfer.doc.d.ts +18 -0
- package/dist/docs/components/transfer.doc.js +48 -0
- package/dist/docs/components/tree-select.doc.d.ts +18 -0
- package/dist/docs/components/tree-select.doc.js +55 -0
- package/dist/docs/components/tree.doc.d.ts +18 -0
- package/dist/docs/components/tree.doc.js +46 -0
- package/dist/docs/components/upload.doc.d.ts +18 -0
- package/dist/docs/components/upload.doc.js +43 -0
- package/dist/docs/components/watermark.doc.d.ts +14 -0
- package/dist/docs/components/watermark.doc.js +22 -0
- package/dist/entries/affix.d.ts +3 -0
- package/dist/entries/affix.js +4 -0
- package/dist/entries/app.d.ts +3 -0
- package/dist/entries/app.js +4 -0
- package/dist/entries/auto-complete.d.ts +4 -0
- package/dist/entries/auto-complete.js +4 -0
- package/dist/entries/avatar.d.ts +3 -0
- package/dist/entries/avatar.js +4 -0
- package/dist/entries/badge.d.ts +3 -0
- package/dist/entries/badge.js +4 -0
- package/dist/entries/border-beam.d.ts +3 -0
- package/dist/entries/border-beam.js +4 -0
- package/dist/entries/calendar.d.ts +3 -0
- package/dist/entries/calendar.js +4 -0
- package/dist/entries/card.d.ts +3 -0
- package/dist/entries/card.js +4 -0
- package/dist/entries/carousel.d.ts +3 -0
- package/dist/entries/carousel.js +4 -0
- package/dist/entries/cascader.d.ts +4 -0
- package/dist/entries/cascader.js +4 -0
- package/dist/entries/color-picker.d.ts +5 -0
- package/dist/entries/color-picker.js +4 -0
- package/dist/entries/descriptions.d.ts +3 -0
- package/dist/entries/descriptions.js +4 -0
- package/dist/entries/divider.d.ts +3 -0
- package/dist/entries/divider.js +4 -0
- package/dist/entries/empty.d.ts +3 -0
- package/dist/entries/empty.js +4 -0
- package/dist/entries/float-button.d.ts +3 -0
- package/dist/entries/float-button.js +4 -0
- package/dist/entries/image.d.ts +3 -0
- package/dist/entries/image.js +4 -0
- package/dist/entries/list.d.ts +3 -0
- package/dist/entries/list.js +4 -0
- package/dist/entries/listy.d.ts +3 -0
- package/dist/entries/listy.js +4 -0
- package/dist/entries/masonry.d.ts +3 -0
- package/dist/entries/masonry.js +4 -0
- package/dist/entries/mentions.d.ts +4 -0
- package/dist/entries/mentions.js +4 -0
- package/dist/entries/progress.d.ts +3 -0
- package/dist/entries/progress.js +4 -0
- package/dist/entries/provider.d.ts +1 -1
- package/dist/entries/provider.js +1 -1
- package/dist/entries/qr-code.d.ts +4 -0
- package/dist/entries/qr-code.js +4 -0
- package/dist/entries/rate.d.ts +3 -0
- package/dist/entries/rate.js +4 -0
- package/dist/entries/result.d.ts +3 -0
- package/dist/entries/result.js +4 -0
- package/dist/entries/segmented.d.ts +3 -0
- package/dist/entries/segmented.js +4 -0
- package/dist/entries/skeleton.d.ts +3 -0
- package/dist/entries/skeleton.js +4 -0
- package/dist/entries/slider.d.ts +3 -0
- package/dist/entries/slider.js +4 -0
- package/dist/entries/statistic.d.ts +3 -0
- package/dist/entries/statistic.js +4 -0
- package/dist/entries/time-picker.d.ts +3 -0
- package/dist/entries/time-picker.js +4 -0
- package/dist/entries/timeline.d.ts +3 -0
- package/dist/entries/timeline.js +4 -0
- package/dist/entries/tour.d.ts +3 -0
- package/dist/entries/tour.js +4 -0
- package/dist/entries/transfer.d.ts +3 -0
- package/dist/entries/transfer.js +4 -0
- package/dist/entries/tree-select.d.ts +4 -0
- package/dist/entries/tree-select.js +4 -0
- package/dist/entries/tree.d.ts +3 -0
- package/dist/entries/tree.js +4 -0
- package/dist/entries/upload.d.ts +4 -0
- package/dist/entries/upload.js +4 -0
- package/dist/entries/util.d.ts +1 -0
- package/dist/entries/util.js +1 -0
- package/dist/entries/watermark.d.ts +3 -0
- package/dist/entries/watermark.js +4 -0
- package/dist/index.d.ts +48 -3
- package/dist/index.js +38 -2
- package/dist/provider/locale.d.ts +59 -0
- package/dist/provider/locale.js +136 -0
- package/dist/provider/tao-provider.d.ts +16 -1
- package/dist/provider/tao-provider.js +104 -87
- package/dist/theme/control.css +10 -0
- package/dist/theme/theme.css +1 -1
- package/dist/utils/breakpoint.d.ts +2 -2
- package/dist/utils/breakpoint.js +3 -1
- package/dist/utils/interop-default.d.ts +2 -0
- package/dist/utils/interop-default.js +4 -0
- package/dist/utils/types.d.ts +7 -0
- package/dist/utils/types.js +0 -0
- package/llms.txt +476 -8
- package/package.json +27 -6
package/llms.txt
CHANGED
|
@@ -22,17 +22,30 @@ The package root remains available and includes all component styles.
|
|
|
22
22
|
|
|
23
23
|
## Component Groups
|
|
24
24
|
|
|
25
|
-
- Config: TaoProvider
|
|
26
|
-
- Data Display: Collapsible, Popover, ScrollArea, Table, Tag, Tooltip
|
|
27
|
-
- Data Entry: Checkbox, DatePicker, Form, FormActions, FormField, FormSection, Input, InputNumber, Radio, RangePicker, Select, Switch, Textarea
|
|
28
|
-
- Feedback: Alert, Drawer, Modal, Popconfirm, Sonner, Spinner
|
|
29
|
-
- General: Button
|
|
25
|
+
- Config: App, TaoProvider
|
|
26
|
+
- Data Display: Avatar, Badge, Calendar, Card, Carousel, Collapsible, Descriptions, Empty, Image, List, Listy, Masonry, Popover, QRCode, ScrollArea, Statistic, Table, Tag, Timeline, Tooltip, Tree
|
|
27
|
+
- Data Entry: AutoComplete, Cascader, Checkbox, ColorPicker, DatePicker, Form, FormActions, FormField, FormSection, Input, InputNumber, Mentions, Radio, RangePicker, Rate, Segmented, Select, Slider, Switch, Textarea, TimePicker, Transfer, TreeSelect, Upload
|
|
28
|
+
- Feedback: Alert, Drawer, Modal, Popconfirm, Progress, Result, Skeleton, Sonner, Spinner, Tour
|
|
29
|
+
- General: BorderBeam, Button, FloatButton, Watermark
|
|
30
30
|
- Headless: HeadlessInputNumber
|
|
31
|
-
- Layout: FormLayout, Splitter, Stack
|
|
32
|
-
- Navigation: Breadcrumb, ContextMenu, Dropdown, Pagination, Steps, Tabs
|
|
31
|
+
- Layout: Divider, FormLayout, Splitter, Stack
|
|
32
|
+
- Navigation: Affix, Breadcrumb, ContextMenu, Dropdown, Pagination, Steps, Tabs
|
|
33
33
|
|
|
34
34
|
## Components
|
|
35
35
|
|
|
36
|
+
### Affix
|
|
37
|
+
|
|
38
|
+
Affixes content to a window or scroll container boundary.
|
|
39
|
+
|
|
40
|
+
- Category: Navigation
|
|
41
|
+
- Exports: `Affix`
|
|
42
|
+
- Source: `src/components/affix/affix.tsx`
|
|
43
|
+
- Storybook: `stories/affix.stories.tsx`
|
|
44
|
+
- Tests: `tests/affix/affix.test.tsx`
|
|
45
|
+
- Semantic parts: `root`, `content`
|
|
46
|
+
|
|
47
|
+
Affixes content to a window or scroll container boundary.
|
|
48
|
+
|
|
36
49
|
### Alert
|
|
37
50
|
|
|
38
51
|
Displays important contextual feedback messages with semantic status types.
|
|
@@ -46,6 +59,71 @@ Displays important contextual feedback messages with semantic status types.
|
|
|
46
59
|
|
|
47
60
|
Use Alert for persistent, page-level feedback about a state or operation. Use Sonner toasts for transient notifications.
|
|
48
61
|
|
|
62
|
+
### App
|
|
63
|
+
|
|
64
|
+
Scopes imperative messages, notifications and confirmation dialogs to the current React tree and TaoProvider theme.
|
|
65
|
+
|
|
66
|
+
- Category: Config
|
|
67
|
+
- Exports: `App`
|
|
68
|
+
- Source: `src/components/app/app.tsx`
|
|
69
|
+
- Storybook: `stories/app.stories.tsx`
|
|
70
|
+
- Tests: `tests/app/app.test.tsx`
|
|
71
|
+
- Semantic parts: `root`
|
|
72
|
+
|
|
73
|
+
Place App below TaoProvider, then call App.useApp() from descendant components. Messages return callable close handles that can be awaited; confirmation dialogs return update, destroy and then.
|
|
74
|
+
|
|
75
|
+
### AutoComplete
|
|
76
|
+
|
|
77
|
+
Editable text input with searchable suggestions, keyboard completion and custom input support.
|
|
78
|
+
|
|
79
|
+
- Category: Data Entry
|
|
80
|
+
- Exports: `AutoComplete`
|
|
81
|
+
- Source: `src/components/auto-complete/auto-complete.tsx`
|
|
82
|
+
- Storybook: `stories/auto-complete.stories.tsx`
|
|
83
|
+
- Tests: `tests/auto-complete/auto-complete.test.tsx`
|
|
84
|
+
- Semantic parts: `root`, `prefix`, `input`, `placeholder`, `content`, `clear`, `popup.root`, `popup.list`, `popup.listItem`
|
|
85
|
+
|
|
86
|
+
Use AutoComplete when free-form input is valid and suggestions help users finish typing.
|
|
87
|
+
|
|
88
|
+
### Avatar
|
|
89
|
+
|
|
90
|
+
Represents people with images, icons or automatically fitted initials.
|
|
91
|
+
|
|
92
|
+
- Category: Data Display
|
|
93
|
+
- Exports: `Avatar`
|
|
94
|
+
- Source: `src/components/avatar/avatar.tsx`
|
|
95
|
+
- Storybook: `stories/avatar.stories.tsx`
|
|
96
|
+
- Tests: `tests/avatar/avatar.test.tsx`
|
|
97
|
+
- Semantic parts: `root`, `image`, `icon`, `content`
|
|
98
|
+
|
|
99
|
+
Use Avatar for a person or account; group related people with Avatar.Group.
|
|
100
|
+
|
|
101
|
+
### Badge
|
|
102
|
+
|
|
103
|
+
Adds notification counts, status indicators or a ribbon to content.
|
|
104
|
+
|
|
105
|
+
- Category: Data Display
|
|
106
|
+
- Exports: `Badge`
|
|
107
|
+
- Source: `src/components/badge/badge.tsx`
|
|
108
|
+
- Storybook: `stories/badge.stories.tsx`
|
|
109
|
+
- Tests: `tests/badge/badge.test.tsx`
|
|
110
|
+
- Semantic parts: `root`, `indicator`
|
|
111
|
+
|
|
112
|
+
Use Badge for compact counts or a status next to a label.
|
|
113
|
+
|
|
114
|
+
### BorderBeam
|
|
115
|
+
|
|
116
|
+
Animates a highlighted beam around the border of its child.
|
|
117
|
+
|
|
118
|
+
- Category: General
|
|
119
|
+
- Exports: `BorderBeam`
|
|
120
|
+
- Source: `src/components/border-beam/border-beam.tsx`
|
|
121
|
+
- Storybook: `stories/border-beam.stories.tsx`
|
|
122
|
+
- Tests: `tests/border-beam/border-beam.test.tsx`
|
|
123
|
+
- Semantic parts: `root`, `beam`
|
|
124
|
+
|
|
125
|
+
Animates a highlighted beam around the border of its child.
|
|
126
|
+
|
|
49
127
|
### Breadcrumb
|
|
50
128
|
|
|
51
129
|
Renders the user location in a hierarchy of pages or views.
|
|
@@ -72,6 +150,58 @@ Triggers an immediate action such as submitting, saving, or opening a surface.
|
|
|
72
150
|
|
|
73
151
|
Use Button for explicit actions. It inherits size, disabled, and variant defaults from TaoProvider.
|
|
74
152
|
|
|
153
|
+
### Calendar
|
|
154
|
+
|
|
155
|
+
Browse a month or year and place events inside date cells.
|
|
156
|
+
|
|
157
|
+
- Category: Data Display
|
|
158
|
+
- Exports: `Calendar`
|
|
159
|
+
- Source: `src/components/calendar/calendar.tsx`
|
|
160
|
+
- Storybook: `stories/calendar.stories.tsx`
|
|
161
|
+
- Tests: `tests/calendar/calendar.test.tsx`
|
|
162
|
+
- Semantic parts: `root`, `header`, `body`, `content`, `item`, `itemContent`
|
|
163
|
+
|
|
164
|
+
Use Calendar to browse schedules and select a day without opening a popup.
|
|
165
|
+
|
|
166
|
+
### Card
|
|
167
|
+
|
|
168
|
+
Groups related content with an optional heading, cover, tabs and actions.
|
|
169
|
+
|
|
170
|
+
- Category: Data Display
|
|
171
|
+
- Exports: `Card`
|
|
172
|
+
- Source: `src/components/card/card.tsx`
|
|
173
|
+
- Storybook: `stories/card.stories.tsx`
|
|
174
|
+
- Tests: `tests/card/card.test.tsx`
|
|
175
|
+
- Semantic parts: `root`, `header`, `body`, `extra`, `title`, `actions`, `cover`
|
|
176
|
+
|
|
177
|
+
Use Card for a distinct content item; Card.Meta organizes its identity and description.
|
|
178
|
+
|
|
179
|
+
### Carousel
|
|
180
|
+
|
|
181
|
+
Swipeable slides with fade, directional dots, autoplay, arrows and imperative navigation.
|
|
182
|
+
|
|
183
|
+
- Category: Data Display
|
|
184
|
+
- Exports: `Carousel`
|
|
185
|
+
- Source: `src/components/carousel/carousel.tsx`
|
|
186
|
+
- Storybook: `stories/carousel.stories.tsx`
|
|
187
|
+
- Tests: `tests/carousel/carousel.test.tsx`
|
|
188
|
+
- Semantic parts: `root`, `dots`
|
|
189
|
+
|
|
190
|
+
Swipeable slides with fade, directional dots, autoplay, arrows and imperative navigation.
|
|
191
|
+
|
|
192
|
+
### Cascader
|
|
193
|
+
|
|
194
|
+
Choose paths through hierarchical options with search, lazy loading, multiple selection and an inline panel.
|
|
195
|
+
|
|
196
|
+
- Category: Data Entry
|
|
197
|
+
- Exports: `Cascader`, `CascaderPanel`
|
|
198
|
+
- Source: `src/components/cascader/cascader.tsx`
|
|
199
|
+
- Storybook: `stories/cascader.stories.tsx`
|
|
200
|
+
- Tests: `tests/cascader/cascader.test.tsx`
|
|
201
|
+
- Semantic parts: `root`, `prefix`, `suffix`, `input`, `clear`, `placeholder`, `content`, `item`, `itemContent`, `itemRemove`, `popup.root`, `popup.list`, `popup.listItem`
|
|
202
|
+
|
|
203
|
+
Use Cascader when users select a complete path such as region, department or category.
|
|
204
|
+
|
|
75
205
|
### Checkbox
|
|
76
206
|
|
|
77
207
|
Selects one or more independent boolean options.
|
|
@@ -98,6 +228,19 @@ Shows and hides a region of content while keeping disclosure state accessible.
|
|
|
98
228
|
|
|
99
229
|
Use Collapsible to hide secondary details while preserving a lightweight page layout.
|
|
100
230
|
|
|
231
|
+
### ColorPicker
|
|
232
|
+
|
|
233
|
+
Choose single or gradient colors with hex, RGB, HSB and alpha controls.
|
|
234
|
+
|
|
235
|
+
- Category: Data Entry
|
|
236
|
+
- Exports: `ColorPicker`
|
|
237
|
+
- Source: `src/components/color-picker/color-picker.tsx`
|
|
238
|
+
- Storybook: `stories/color-picker.stories.tsx`
|
|
239
|
+
- Tests: `tests/color-picker/color-picker.test.tsx`
|
|
240
|
+
- Semantic parts: `root`, `body`, `content`, `description`, `popup.root`, `popup.container`
|
|
241
|
+
|
|
242
|
+
Keep the returned Color object when precision matters and call toCssString for use in CSS.
|
|
243
|
+
|
|
101
244
|
### ContextMenu
|
|
102
245
|
|
|
103
246
|
Displays contextual actions from a right click or long press interaction.
|
|
@@ -124,6 +267,32 @@ Lets users enter or choose a single date, with optional time selection.
|
|
|
124
267
|
|
|
125
268
|
Use DatePicker when free text date input would be error-prone or when users benefit from calendar context.
|
|
126
269
|
|
|
270
|
+
### Descriptions
|
|
271
|
+
|
|
272
|
+
Displays labeled record fields with responsive columns and flexible spans.
|
|
273
|
+
|
|
274
|
+
- Category: Data Display
|
|
275
|
+
- Exports: `Descriptions`
|
|
276
|
+
- Source: `src/components/descriptions/descriptions.tsx`
|
|
277
|
+
- Storybook: `stories/descriptions.stories.tsx`
|
|
278
|
+
- Tests: `tests/descriptions/descriptions.test.tsx`
|
|
279
|
+
- Semantic parts: `root`, `header`, `title`, `extra`, `label`, `content`
|
|
280
|
+
|
|
281
|
+
Use Descriptions for read-only details; use Form for editable fields.
|
|
282
|
+
|
|
283
|
+
### Divider
|
|
284
|
+
|
|
285
|
+
Separates sections or inline actions with an optional title.
|
|
286
|
+
|
|
287
|
+
- Category: Layout
|
|
288
|
+
- Exports: `Divider`
|
|
289
|
+
- Source: `src/components/divider/divider.tsx`
|
|
290
|
+
- Storybook: `stories/divider.stories.tsx`
|
|
291
|
+
- Tests: `tests/divider/divider.test.tsx`
|
|
292
|
+
- Semantic parts: `root`, `rail`, `content`
|
|
293
|
+
|
|
294
|
+
Use a divider when spacing alone cannot explain a section boundary.
|
|
295
|
+
|
|
127
296
|
### Drawer
|
|
128
297
|
|
|
129
298
|
Opens a side panel for related tasks without leaving the current page.
|
|
@@ -150,6 +319,32 @@ Opens a menu of actions or navigation choices from a trigger.
|
|
|
150
319
|
|
|
151
320
|
Use Dropdown for compact action sets that do not need to stay visible.
|
|
152
321
|
|
|
322
|
+
### Empty
|
|
323
|
+
|
|
324
|
+
Shows a localized empty state with an illustration, description and optional action.
|
|
325
|
+
|
|
326
|
+
- Category: Data Display
|
|
327
|
+
- Exports: `Empty`
|
|
328
|
+
- Source: `src/components/empty/empty.tsx`
|
|
329
|
+
- Storybook: `stories/empty.stories.tsx`
|
|
330
|
+
- Tests: `tests/empty/empty.test.tsx`
|
|
331
|
+
- Semantic parts: `root`, `image`, `description`, `footer`
|
|
332
|
+
|
|
333
|
+
Shows a localized empty state with an illustration, description and optional action.
|
|
334
|
+
|
|
335
|
+
### FloatButton
|
|
336
|
+
|
|
337
|
+
Provides floating actions, grouped controls and a scroll-to-top action.
|
|
338
|
+
|
|
339
|
+
- Category: General
|
|
340
|
+
- Exports: `FloatButton`
|
|
341
|
+
- Source: `src/components/float-button/float-button.tsx`
|
|
342
|
+
- Storybook: `stories/float-button.stories.tsx`
|
|
343
|
+
- Tests: `tests/float-button/float-button.test.tsx`
|
|
344
|
+
- Semantic parts: `root`, `icon`, `content`
|
|
345
|
+
|
|
346
|
+
Provides floating actions, grouped controls and a scroll-to-top action.
|
|
347
|
+
|
|
153
348
|
### Form
|
|
154
349
|
|
|
155
350
|
Collects and validates field values with an antd-aligned API (rules, dependencies, Form.List) on top of the rc-form engine.
|
|
@@ -227,6 +422,19 @@ Headless numeric input primitives and hook for custom number entry experiences.
|
|
|
227
422
|
|
|
228
423
|
Use the headless API when tao-ui styling is not appropriate but number formatting behavior should stay consistent.
|
|
229
424
|
|
|
425
|
+
### Image
|
|
426
|
+
|
|
427
|
+
Images with keyboard-accessible preview, grouping, transforms, fallbacks and upload progress.
|
|
428
|
+
|
|
429
|
+
- Category: Data Display
|
|
430
|
+
- Exports: `Image`, `ImagePreviewGroup`
|
|
431
|
+
- Source: `src/components/image/image.tsx`
|
|
432
|
+
- Storybook: `stories/image.stories.tsx`
|
|
433
|
+
- Tests: `tests/image/image.test.tsx`
|
|
434
|
+
- Semantic parts: `root`, `image`, `cover`, `popup.root`, `popup.mask`, `popup.body`, `popup.footer`, `popup.actions`, `popup.close`, `placeholder.progress.root`, `placeholder.progress.content`, `placeholder.progress.rail`, `placeholder.progress.indicator`
|
|
435
|
+
|
|
436
|
+
Images with keyboard-accessible preview, grouping, transforms, fallbacks and upload progress.
|
|
437
|
+
|
|
230
438
|
### Input
|
|
231
439
|
|
|
232
440
|
Single-line text input for short freeform values.
|
|
@@ -253,6 +461,58 @@ A styled numeric input built on tao-ui number formatting and validation behavior
|
|
|
253
461
|
|
|
254
462
|
Use InputNumber for numeric values that need min, max, step, precision, or formatted display.
|
|
255
463
|
|
|
464
|
+
### List
|
|
465
|
+
|
|
466
|
+
Displays records with metadata, actions, loading, pagination and responsive columns.
|
|
467
|
+
|
|
468
|
+
- Category: Data Display
|
|
469
|
+
- Exports: `List`
|
|
470
|
+
- Source: `src/components/list/list.tsx`
|
|
471
|
+
- Storybook: `stories/list.stories.tsx`
|
|
472
|
+
- Tests: `tests/list/list.test.tsx`
|
|
473
|
+
- Semantic parts: `root`, `header`, `items`, `footer`, `pagination`, `empty`
|
|
474
|
+
|
|
475
|
+
Compose repeated content with List.Item and List.Item.Meta.
|
|
476
|
+
|
|
477
|
+
### Listy
|
|
478
|
+
|
|
479
|
+
Renders grouped or virtualized lists with precise item, group and position scrolling.
|
|
480
|
+
|
|
481
|
+
- Category: Data Display
|
|
482
|
+
- Exports: `Listy`
|
|
483
|
+
- Source: `src/components/listy/listy.tsx`
|
|
484
|
+
- Storybook: `stories/listy.stories.tsx`
|
|
485
|
+
- Tests: `tests/listy/listy.test.tsx`
|
|
486
|
+
- Semantic parts: `root`, `item`, `groupHeader`
|
|
487
|
+
|
|
488
|
+
Render long lists and grouped records without mounting the entire data set.
|
|
489
|
+
|
|
490
|
+
### Masonry
|
|
491
|
+
|
|
492
|
+
Arranges variable-height content in responsive balanced columns.
|
|
493
|
+
|
|
494
|
+
- Category: Data Display
|
|
495
|
+
- Exports: `Masonry`
|
|
496
|
+
- Source: `src/components/masonry/masonry.tsx`
|
|
497
|
+
- Storybook: `stories/masonry.stories.tsx`
|
|
498
|
+
- Tests: `tests/masonry/masonry.test.tsx`
|
|
499
|
+
- Semantic parts: `root`, `item`
|
|
500
|
+
|
|
501
|
+
Arranges variable-height content in responsive balanced columns.
|
|
502
|
+
|
|
503
|
+
### Mentions
|
|
504
|
+
|
|
505
|
+
Insert mentions into multiline text using configurable prefixes, search suggestions and keyboard selection.
|
|
506
|
+
|
|
507
|
+
- Category: Data Entry
|
|
508
|
+
- Exports: `Mentions`
|
|
509
|
+
- Source: `src/components/mentions/mentions.tsx`
|
|
510
|
+
- Storybook: `stories/mentions.stories.tsx`
|
|
511
|
+
- Tests: `tests/mentions/mentions.test.tsx`
|
|
512
|
+
- Semantic parts: `root`, `textarea`, `popup`, `suffix`
|
|
513
|
+
|
|
514
|
+
Use Mentions for comments and messages that refer to people, topics or identifiers.
|
|
515
|
+
|
|
256
516
|
### Modal
|
|
257
517
|
|
|
258
518
|
Displays a focused dialog for decisions, forms, and interruptive information.
|
|
@@ -262,7 +522,7 @@ Displays a focused dialog for decisions, forms, and interruptive information.
|
|
|
262
522
|
- Source: `src/components/modal/modal.tsx`
|
|
263
523
|
- Storybook: `stories/modal.stories.tsx`
|
|
264
524
|
- Tests: `tests/modal/modal.test.tsx`
|
|
265
|
-
- Semantic parts: `root`, `overlay`, `header`, `title`, `body`, `footer`, `close`
|
|
525
|
+
- Semantic parts: `root`, `container`, `wrapper`, `mask`, `overlay`, `header`, `title`, `body`, `footer`, `close`
|
|
266
526
|
|
|
267
527
|
Use Modal for focused tasks or decisions. Static helpers such as Modal.confirm mirror common confirmation flows.
|
|
268
528
|
|
|
@@ -305,6 +565,32 @@ Displays a floating card with rich content anchored to a trigger element, opened
|
|
|
305
565
|
|
|
306
566
|
Use Popover for rich, non-blocking contextual content behind a click or hover. Use Tooltip for short text-only hints and Modal for blocking interactions.
|
|
307
567
|
|
|
568
|
+
### Progress
|
|
569
|
+
|
|
570
|
+
Shows measured completion with line, circle, dashboard or stepped progress indicators.
|
|
571
|
+
|
|
572
|
+
- Category: Feedback
|
|
573
|
+
- Exports: `Progress`
|
|
574
|
+
- Source: `src/components/progress/progress.tsx`
|
|
575
|
+
- Storybook: `stories/progress.stories.tsx`
|
|
576
|
+
- Tests: `tests/progress/progress.test.tsx`
|
|
577
|
+
- Semantic parts: `root`, `body`, `rail`, `track`, `indicator`
|
|
578
|
+
|
|
579
|
+
Shows measured completion with line, circle, dashboard or stepped progress indicators.
|
|
580
|
+
|
|
581
|
+
### QRCode
|
|
582
|
+
|
|
583
|
+
Encode a value as a canvas or SVG QR code with status and refresh controls.
|
|
584
|
+
|
|
585
|
+
- Category: Data Display
|
|
586
|
+
- Exports: `QRCode`
|
|
587
|
+
- Source: `src/components/qr-code/qr-code.tsx`
|
|
588
|
+
- Storybook: `stories/qr-code.stories.tsx`
|
|
589
|
+
- Tests: `tests/qr-code/qr-code.test.tsx`
|
|
590
|
+
- Semantic parts: `root`, `cover`
|
|
591
|
+
|
|
592
|
+
Provide a stable value and choose canvas for bitmap download or SVG for resolution-independent output.
|
|
593
|
+
|
|
308
594
|
### Radio
|
|
309
595
|
|
|
310
596
|
Selects exactly one option from a mutually exclusive set.
|
|
@@ -331,6 +617,32 @@ Lets users select a start and end date as one range value.
|
|
|
331
617
|
|
|
332
618
|
Use RangePicker for reporting windows, booking windows, and filters with start/end dates.
|
|
333
619
|
|
|
620
|
+
### Rate
|
|
621
|
+
|
|
622
|
+
Collects or displays a rating with half steps, keyboard control and custom symbols.
|
|
623
|
+
|
|
624
|
+
- Category: Data Entry
|
|
625
|
+
- Exports: `Rate`
|
|
626
|
+
- Source: `src/components/rate/rate.tsx`
|
|
627
|
+
- Storybook: `stories/rate.stories.tsx`
|
|
628
|
+
- Tests: `tests/rate/rate.test.tsx`
|
|
629
|
+
- Semantic parts: `root`, `item`
|
|
630
|
+
|
|
631
|
+
Collect or show a bounded rating.
|
|
632
|
+
|
|
633
|
+
### Result
|
|
634
|
+
|
|
635
|
+
Communicates an operation result or error page with status, explanation and next actions.
|
|
636
|
+
|
|
637
|
+
- Category: Feedback
|
|
638
|
+
- Exports: `Result`
|
|
639
|
+
- Source: `src/components/result/result.tsx`
|
|
640
|
+
- Storybook: `stories/result.stories.tsx`
|
|
641
|
+
- Tests: `tests/result/result.test.tsx`
|
|
642
|
+
- Semantic parts: `root`, `title`, `subTitle`, `body`, `extra`, `icon`
|
|
643
|
+
|
|
644
|
+
Communicates an operation result or error page with status, explanation and next actions.
|
|
645
|
+
|
|
334
646
|
### ScrollArea
|
|
335
647
|
|
|
336
648
|
Provides a styled scroll container for overflow content.
|
|
@@ -344,6 +656,19 @@ Provides a styled scroll container for overflow content.
|
|
|
344
656
|
|
|
345
657
|
Use ScrollArea when a fixed region needs overflow behavior without changing page scroll.
|
|
346
658
|
|
|
659
|
+
### Segmented
|
|
660
|
+
|
|
661
|
+
Selects one option from a compact accessible radio group.
|
|
662
|
+
|
|
663
|
+
- Category: Data Entry
|
|
664
|
+
- Exports: `Segmented`
|
|
665
|
+
- Source: `src/components/segmented/segmented.tsx`
|
|
666
|
+
- Storybook: `stories/segmented.stories.tsx`
|
|
667
|
+
- Tests: `tests/segmented/segmented.test.tsx`
|
|
668
|
+
- Semantic parts: `root`, `item`, `label`, `icon`
|
|
669
|
+
|
|
670
|
+
Use Segmented for a small set of related views or modes.
|
|
671
|
+
|
|
347
672
|
### Select
|
|
348
673
|
|
|
349
674
|
Chooses one value from a compact list of options.
|
|
@@ -357,6 +682,32 @@ Chooses one value from a compact list of options.
|
|
|
357
682
|
|
|
358
683
|
Use Select when choices are known but too numerous or secondary to show as radios.
|
|
359
684
|
|
|
685
|
+
### Skeleton
|
|
686
|
+
|
|
687
|
+
Displays theme-aware loading placeholders for content, avatars, controls and images.
|
|
688
|
+
|
|
689
|
+
- Category: Feedback
|
|
690
|
+
- Exports: `Skeleton`
|
|
691
|
+
- Source: `src/components/skeleton/skeleton.tsx`
|
|
692
|
+
- Storybook: `stories/skeleton.stories.tsx`
|
|
693
|
+
- Tests: `tests/skeleton/skeleton.test.tsx`
|
|
694
|
+
- Semantic parts: `root`, `header`, `section`, `avatar`, `title`, `paragraph`
|
|
695
|
+
|
|
696
|
+
Displays theme-aware loading placeholders for content, avatars, controls and images.
|
|
697
|
+
|
|
698
|
+
### Slider
|
|
699
|
+
|
|
700
|
+
Selects a numeric value or editable range using pointer, touch and keyboard input.
|
|
701
|
+
|
|
702
|
+
- Category: Data Entry
|
|
703
|
+
- Exports: `Slider`
|
|
704
|
+
- Source: `src/components/slider/slider.tsx`
|
|
705
|
+
- Storybook: `stories/slider.stories.tsx`
|
|
706
|
+
- Tests: `tests/slider/slider.test.tsx`
|
|
707
|
+
- Semantic parts: `root`, `rail`, `tracks`, `track`, `handle`
|
|
708
|
+
|
|
709
|
+
Adjust numeric values within explicit bounds.
|
|
710
|
+
|
|
360
711
|
### Sonner
|
|
361
712
|
|
|
362
713
|
Displays temporary toast notifications with optional actions and provider-aware theming.
|
|
@@ -409,6 +760,19 @@ Composes children in a flex row or column with consistent spacing.
|
|
|
409
760
|
|
|
410
761
|
Use Stack for simple one-dimensional layout and spacing.
|
|
411
762
|
|
|
763
|
+
### Statistic
|
|
764
|
+
|
|
765
|
+
Formats metrics and live count-up or countdown timers.
|
|
766
|
+
|
|
767
|
+
- Category: Data Display
|
|
768
|
+
- Exports: `Statistic`
|
|
769
|
+
- Source: `src/components/statistic/statistic.tsx`
|
|
770
|
+
- Storybook: `stories/statistic.stories.tsx`
|
|
771
|
+
- Tests: `tests/statistic/statistic.test.tsx`
|
|
772
|
+
- Semantic parts: `root`, `header`, `title`, `content`, `value`, `prefix`, `suffix`
|
|
773
|
+
|
|
774
|
+
Use Statistic to emphasize a single metric with a clear title and unit.
|
|
775
|
+
|
|
412
776
|
### Steps
|
|
413
777
|
|
|
414
778
|
Guides users through the ordered stages of a task.
|
|
@@ -499,6 +863,32 @@ Multi-line text input with optional auto sizing.
|
|
|
499
863
|
|
|
500
864
|
Use Textarea for longer freeform content such as descriptions, notes, and comments.
|
|
501
865
|
|
|
866
|
+
### Timeline
|
|
867
|
+
|
|
868
|
+
Shows ordered events with timestamps, indicators and alternate layouts.
|
|
869
|
+
|
|
870
|
+
- Category: Data Display
|
|
871
|
+
- Exports: `Timeline`
|
|
872
|
+
- Source: `src/components/timeline/timeline.tsx`
|
|
873
|
+
- Storybook: `stories/timeline.stories.tsx`
|
|
874
|
+
- Tests: `tests/timeline/timeline.test.tsx`
|
|
875
|
+
- Semantic parts: `root`, `item`, `itemWrapper`, `itemIcon`, `itemSection`, `itemHeader`, `itemTitle`, `itemContent`, `itemRail`
|
|
876
|
+
|
|
877
|
+
Use Timeline for chronological events and their current progress.
|
|
878
|
+
|
|
879
|
+
### TimePicker
|
|
880
|
+
|
|
881
|
+
Select or type a time, or a time range, with Day.js values and configurable precision.
|
|
882
|
+
|
|
883
|
+
- Category: Data Entry
|
|
884
|
+
- Exports: `TimePicker`, `TimeRangePicker`
|
|
885
|
+
- Source: `src/components/time-picker/time-picker.tsx`
|
|
886
|
+
- Storybook: `stories/time-picker.stories.tsx`
|
|
887
|
+
- Tests: `tests/time-picker/time-picker.test.tsx`
|
|
888
|
+
- Semantic parts: `root`, `prefix`, `input`, `suffix`, `popup`
|
|
889
|
+
|
|
890
|
+
Use TimePicker when a form needs a time without a calendar date; use TimePicker.RangePicker for start and end times.
|
|
891
|
+
|
|
502
892
|
### Tooltip
|
|
503
893
|
|
|
504
894
|
Shows a brief informational popup when hovering or focusing an element.
|
|
@@ -512,6 +902,84 @@ Shows a brief informational popup when hovering or focusing an element.
|
|
|
512
902
|
|
|
513
903
|
Use Tooltip for short contextual hints on hover or focus. The popup is portaled and inherits the TaoProvider theme.
|
|
514
904
|
|
|
905
|
+
### Tour
|
|
906
|
+
|
|
907
|
+
Guided steps anchored to page elements with a spotlight mask, custom content and accessible actions.
|
|
908
|
+
|
|
909
|
+
- Category: Feedback
|
|
910
|
+
- Exports: `Tour`
|
|
911
|
+
- Source: `src/components/tour/tour.tsx`
|
|
912
|
+
- Storybook: `stories/tour.stories.tsx`
|
|
913
|
+
- Tests: `tests/tour/tour.test.tsx`
|
|
914
|
+
- Semantic parts: `root`, `cover`, `close`, `mask`, `section`, `footer`, `actions`, `indicator`, `indicators`, `header`, `title`, `description`
|
|
915
|
+
|
|
916
|
+
Guided steps anchored to page elements with a spotlight mask, custom content and accessible actions.
|
|
917
|
+
|
|
918
|
+
### Transfer
|
|
919
|
+
|
|
920
|
+
Moves selected records between searchable, paginated source and target lists.
|
|
921
|
+
|
|
922
|
+
- Category: Data Entry
|
|
923
|
+
- Exports: `Transfer`
|
|
924
|
+
- Source: `src/components/transfer/transfer.tsx`
|
|
925
|
+
- Storybook: `stories/transfer.stories.tsx`
|
|
926
|
+
- Tests: `tests/transfer/transfer.test.tsx`
|
|
927
|
+
- Semantic parts: `root`, `section`, `header`, `title`, `body`, `list`, `item`, `itemIcon`, `itemContent`, `footer`, `actions`
|
|
928
|
+
|
|
929
|
+
Assign records by moving them between source and target lists.
|
|
930
|
+
|
|
931
|
+
### Tree
|
|
932
|
+
|
|
933
|
+
Navigate, select and check hierarchical data with keyboard navigation, lazy loading and virtual scrolling.
|
|
934
|
+
|
|
935
|
+
- Category: Data Display
|
|
936
|
+
- Exports: `Tree`, `DirectoryTree`
|
|
937
|
+
- Source: `src/components/tree/tree.tsx`
|
|
938
|
+
- Storybook: `stories/tree.stories.tsx`
|
|
939
|
+
- Tests: `tests/tree/tree.test.tsx`
|
|
940
|
+
- Semantic parts: `root`, `item`, `itemIcon`, `itemTitle`, `itemSwitcher`
|
|
941
|
+
|
|
942
|
+
Use Tree for hierarchical information. DirectoryTree adds file-explorer selection with Ctrl/Command and Shift modifiers.
|
|
943
|
+
|
|
944
|
+
### TreeSelect
|
|
945
|
+
|
|
946
|
+
Select hierarchical values with search, checkable trees, lazy loading and virtual scrolling.
|
|
947
|
+
|
|
948
|
+
- Category: Data Entry
|
|
949
|
+
- Exports: `TreeSelect`
|
|
950
|
+
- Source: `src/components/tree-select/tree-select.tsx`
|
|
951
|
+
- Storybook: `stories/tree-select.stories.tsx`
|
|
952
|
+
- Tests: `tests/tree-select/tree-select.test.tsx`
|
|
953
|
+
- Semantic parts: `root`, `prefix`, `suffix`, `input`, `clear`, `placeholder`, `content`, `item`, `itemContent`, `itemRemove`, `popup.root`, `popup.item`, `popup.itemTitle`, `popup.itemSwitcher`
|
|
954
|
+
|
|
955
|
+
Use TreeSelect when a form value comes from a hierarchy and users need to search or check multiple nodes.
|
|
956
|
+
|
|
957
|
+
### Upload
|
|
958
|
+
|
|
959
|
+
Select, transform, upload and manage files with real request progress and cancellation.
|
|
960
|
+
|
|
961
|
+
- Category: Data Entry
|
|
962
|
+
- Exports: `Upload`
|
|
963
|
+
- Source: `src/components/upload/upload.tsx`
|
|
964
|
+
- Storybook: `stories/upload.stories.tsx`
|
|
965
|
+
- Tests: `tests/upload/upload.test.tsx`
|
|
966
|
+
- Semantic parts: `root`, `list`, `item`, `trigger`
|
|
967
|
+
|
|
968
|
+
Provide an upload action or a customRequest transport, or return false from beforeUpload to manage files locally.
|
|
969
|
+
|
|
970
|
+
### Watermark
|
|
971
|
+
|
|
972
|
+
Repeats a text or image watermark over content and inherited dialog panels.
|
|
973
|
+
|
|
974
|
+
- Category: General
|
|
975
|
+
- Exports: `Watermark`
|
|
976
|
+
- Source: `src/components/watermark/watermark.tsx`
|
|
977
|
+
- Storybook: `stories/watermark.stories.tsx`
|
|
978
|
+
- Tests: `tests/watermark/watermark.test.tsx`
|
|
979
|
+
- Semantic parts: `root`, `mark`
|
|
980
|
+
|
|
981
|
+
Repeats a text or image watermark over content and inherited dialog panels.
|
|
982
|
+
|
|
515
983
|
## Notes For Code Generation
|
|
516
984
|
|
|
517
985
|
- Prefer root imports from `@rockshin/tao-ui`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rockshin/tao-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A modern React component library with semantic DOM customization and OKLCH-based theming.",
|
|
6
6
|
"keywords": [
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
"files": [
|
|
51
51
|
"dist",
|
|
52
52
|
"component-manifest.json",
|
|
53
|
-
"llms.txt"
|
|
53
|
+
"llms.txt",
|
|
54
|
+
"THIRD_PARTY_NOTICES.md"
|
|
54
55
|
],
|
|
55
56
|
"scripts": {
|
|
56
57
|
"build": "rslib",
|
|
@@ -81,9 +82,9 @@
|
|
|
81
82
|
"@rsbuild/plugin-babel": "^2.1.0",
|
|
82
83
|
"@rsbuild/plugin-react": "^2.1.1",
|
|
83
84
|
"@rslib/core": "^1.0.3",
|
|
84
|
-
"@rspress/core": "^2.0
|
|
85
|
-
"@rspress/plugin-api-docgen": "^2.0
|
|
86
|
-
"@rspress/plugin-preview": "^2.0
|
|
85
|
+
"@rspress/core": "^2.1.0",
|
|
86
|
+
"@rspress/plugin-api-docgen": "^2.1.0",
|
|
87
|
+
"@rspress/plugin-preview": "^2.1.0",
|
|
87
88
|
"@rstest/adapter-rslib": "^0.12.4",
|
|
88
89
|
"@rstest/core": "^0.12.4",
|
|
89
90
|
"@storybook/addon-docs": "^10.6.2",
|
|
@@ -119,16 +120,36 @@
|
|
|
119
120
|
"registry": "https://registry.npmjs.org/"
|
|
120
121
|
},
|
|
121
122
|
"dependencies": {
|
|
123
|
+
"@ant-design/react-slick": "~2.0.0",
|
|
122
124
|
"@radix-ui/react-collapsible": "^1.2.1",
|
|
123
125
|
"@radix-ui/react-context-menu": "^2.4.1",
|
|
124
126
|
"@radix-ui/react-dialog": "^1.3.1",
|
|
125
127
|
"@radix-ui/react-dropdown-menu": "^2.2.1",
|
|
128
|
+
"@radix-ui/react-focus-scope": "^1.3.1",
|
|
126
129
|
"@radix-ui/react-popover": "^1.3.1",
|
|
127
130
|
"@radix-ui/react-select": "^2.4.1",
|
|
128
131
|
"@radix-ui/react-slot": "^1.5.0",
|
|
129
132
|
"@radix-ui/react-tooltip": "^1.4.1",
|
|
133
|
+
"@rc-component/cascader": "~1.26.0",
|
|
134
|
+
"@rc-component/color-picker": "~3.1.1",
|
|
130
135
|
"@rc-component/form": "~1.8.6",
|
|
136
|
+
"@rc-component/image": "~1.10.0",
|
|
137
|
+
"@rc-component/listy": "~1.4.0",
|
|
138
|
+
"@rc-component/mentions": "~1.14.1",
|
|
139
|
+
"@rc-component/notification": "~2.1.1",
|
|
140
|
+
"@rc-component/pagination": "~1.7.0",
|
|
141
|
+
"@rc-component/picker": "~1.17.0",
|
|
142
|
+
"@rc-component/qrcode": "~2.0.0",
|
|
143
|
+
"@rc-component/rate": "~1.0.1",
|
|
144
|
+
"@rc-component/select": "~1.12.0",
|
|
145
|
+
"@rc-component/slider": "~1.2.1",
|
|
146
|
+
"@rc-component/tabs": "~2.0.0",
|
|
147
|
+
"@rc-component/tour": "~2.4.0",
|
|
148
|
+
"@rc-component/tree": "~1.5.3",
|
|
149
|
+
"@rc-component/tree-select": "~1.19.0",
|
|
150
|
+
"@rc-component/upload": "~1.1.1",
|
|
131
151
|
"dayjs": "^1.11.23",
|
|
132
|
-
"react-compiler-runtime": "^1.0.0"
|
|
152
|
+
"react-compiler-runtime": "^1.0.0",
|
|
153
|
+
"react-remove-scroll": "^2.7.2"
|
|
133
154
|
}
|
|
134
155
|
}
|