@rockshin/tao-ui 0.0.41 → 0.0.43
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 +39 -7
- package/THIRD_PARTY_NOTICES.md +34 -0
- package/component-manifest.json +1352 -24
- 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/alert/alert.css +1 -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 +126 -0
- package/dist/components/calendar/calendar.d.ts +56 -0
- package/dist/components/calendar/calendar.js +178 -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 +232 -0
- package/dist/components/carousel/carousel.d.ts +35 -0
- package/dist/components/carousel/carousel.js +248 -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/collapse/collapse-panels.d.ts +4 -0
- package/dist/components/collapse/collapse-panels.js +413 -0
- package/dist/components/collapse/collapse.css +199 -0
- package/dist/components/collapse/collapse.d.ts +77 -0
- package/dist/components/{collapsible/collapsible.js → collapse/collapse.js} +26 -10
- 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 +265 -0
- package/dist/components/color-picker/color-picker.d.ts +5 -0
- package/dist/components/color-picker/color-picker.js +1049 -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 +22 -56
- package/dist/components/date-picker/date-picker.d.ts +2 -0
- package/dist/components/date-picker/date-picker.js +14 -9
- package/dist/components/date-picker/presets.js +5 -2
- package/dist/components/date-picker/range-picker.d.ts +2 -0
- package/dist/components/date-picker/range-picker.js +16 -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-item.js +1 -0
- package/dist/components/form/form.css +15 -0
- package/dist/components/form/form.js +4 -1
- package/dist/components/form-field/form-field-view.d.ts +3 -1
- package/dist/components/form-field/form-field-view.js +109 -84
- 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/base-input.d.ts +25 -0
- package/dist/components/input/base-input.js +104 -0
- package/dist/components/input/input-shared.css +75 -0
- package/dist/components/input/input-shared.d.ts +59 -0
- package/dist/components/input/input-shared.js +152 -0
- package/dist/components/input/input.css +107 -10
- package/dist/components/input/input.d.ts +12 -16
- package/dist/components/input/input.js +11 -154
- package/dist/components/input/otp.d.ts +29 -0
- package/dist/components/input/otp.js +335 -0
- package/dist/components/input/password.d.ts +12 -0
- package/dist/components/input/password.js +117 -0
- package/dist/components/input/search.d.ts +16 -0
- package/dist/components/input/search.js +99 -0
- package/dist/components/input-number/input-number.d.ts +2 -2
- package/dist/components/input-number/input-number.js +2 -2
- 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 +322 -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 +179 -0
- package/dist/components/mentions/mentions.d.ts +48 -0
- package/dist/components/mentions/mentions.js +115 -0
- package/dist/components/modal/modal.css +1 -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/radio/radio.d.ts +1 -1
- package/dist/components/radio/radio.js +78 -73
- 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.css +1 -16
- package/dist/components/select/mobile-select.d.ts +11 -4
- package/dist/components/select/mobile-select.js +172 -59
- package/dist/components/select/select-tags.js +178 -130
- package/dist/components/select/select-types.d.ts +53 -0
- package/dist/components/select/select.css +86 -8
- package/dist/components/select/select.js +59 -31
- 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/spinner/spinner.css +1 -1
- 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/steps/steps.css +53 -3
- 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/table/table.css +0 -5
- package/dist/components/table/table.js +21 -22
- package/dist/components/textarea/textarea.css +21 -1
- package/dist/components/textarea/textarea.d.ts +12 -6
- package/dist/components/textarea/textarea.js +120 -219
- package/dist/components/time-picker/time-picker.css +212 -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-check.d.ts +1 -0
- package/dist/components/tree/tree-check.js +36 -0
- package/dist/components/tree/tree.css +245 -0
- package/dist/components/tree/tree.d.ts +46 -0
- package/dist/components/tree/tree.js +388 -0
- package/dist/components/tree-select/select-engine.css +238 -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 +130 -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 +166 -0
- package/dist/components/upload/upload.d.ts +12 -0
- package/dist/components/upload/upload.js +465 -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 +75 -3
- 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/{collapsible.doc.d.ts → calendar.doc.d.ts} +1 -1
- 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/collapse.doc.d.ts +18 -0
- package/dist/docs/components/collapse.doc.js +47 -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/input.doc.js +11 -4
- 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/textarea.doc.js +4 -2
- 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/{collapsible.js → affix.js} +1 -1
- 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/collapse.d.ts +3 -0
- package/dist/entries/collapse.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/input.d.ts +1 -1
- 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/textarea.d.ts +1 -1
- 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 +51 -6
- package/dist/index.js +39 -3
- package/dist/provider/locale.d.ts +65 -0
- package/dist/provider/locale.js +146 -0
- package/dist/provider/tao-provider.d.ts +16 -1
- package/dist/provider/tao-provider.js +105 -87
- package/dist/theme/control.css +12 -2
- package/dist/theme/theme.css +4 -2
- package/dist/theme/tokens.d.ts +2 -2
- package/dist/theme/tokens.js +1 -0
- package/dist/utils/breakpoint.d.ts +2 -2
- package/dist/utils/breakpoint.js +3 -1
- package/dist/utils/field-label.d.ts +4 -0
- package/dist/utils/field-label.js +7 -0
- 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 +493 -22
- package/package.json +33 -9
- package/dist/components/collapsible/collapsible.css +0 -49
- package/dist/components/collapsible/collapsible.d.ts +0 -39
- package/dist/docs/components/collapsible.doc.js +0 -39
- package/dist/entries/collapsible.d.ts +0 -3
package/llms.txt
CHANGED
|
@@ -19,20 +19,36 @@ The package root remains available and includes all component styles.
|
|
|
19
19
|
- Components expose semantic DOM customization through `classNames` and `styles` props.
|
|
20
20
|
- Theme tokens are CSS custom properties prefixed with `--tao-*`; import `tokenVar(name)` and `taoTokenNames` from `@rockshin/tao-ui/tokens`.
|
|
21
21
|
- Import `componentDocs` and `getComponentDoc(name)` from `@rockshin/tao-ui/meta` for machine-readable component metadata.
|
|
22
|
+
- Resolve `@rockshin/tao-ui/component-manifest.json` for plain JSON without loading component code.
|
|
23
|
+
- [Agent guide](https://rickyshin93.github.io/tao-ui/guide/agents.md): read contracts, choose imports, and verify generated code.
|
|
24
|
+
- [Website discovery index](https://rickyshin93.github.io/tao-ui/agent-manifest.json): current website version and bilingual Markdown/API links. Match it to your installed version.
|
|
22
25
|
|
|
23
26
|
## Component Groups
|
|
24
27
|
|
|
25
|
-
- Config: TaoProvider
|
|
26
|
-
- Data Display:
|
|
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
|
|
28
|
+
- Config: App, TaoProvider
|
|
29
|
+
- Data Display: Avatar, Badge, Calendar, Card, Carousel, Collapse, Descriptions, Empty, Image, List, Listy, Masonry, Popover, QRCode, ScrollArea, Statistic, Table, Tag, Timeline, Tooltip, Tree
|
|
30
|
+
- 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
|
|
31
|
+
- Feedback: Alert, Drawer, Modal, Popconfirm, Progress, Result, Skeleton, Sonner, Spinner, Tour
|
|
32
|
+
- General: BorderBeam, Button, FloatButton, Watermark
|
|
30
33
|
- Headless: HeadlessInputNumber
|
|
31
|
-
- Layout: FormLayout, Splitter, Stack
|
|
32
|
-
- Navigation: Breadcrumb, ContextMenu, Dropdown, Pagination, Steps, Tabs
|
|
34
|
+
- Layout: Divider, FormLayout, Splitter, Stack
|
|
35
|
+
- Navigation: Affix, Breadcrumb, ContextMenu, Dropdown, Pagination, Steps, Tabs
|
|
33
36
|
|
|
34
37
|
## Components
|
|
35
38
|
|
|
39
|
+
### Affix
|
|
40
|
+
|
|
41
|
+
Affixes content to a window or scroll container boundary.
|
|
42
|
+
|
|
43
|
+
- Category: Navigation
|
|
44
|
+
- Exports: `Affix`
|
|
45
|
+
- Source: `src/components/affix/affix.tsx`
|
|
46
|
+
- Storybook: `stories/affix.stories.tsx`
|
|
47
|
+
- Tests: `tests/affix/affix.test.tsx`
|
|
48
|
+
- Semantic parts: `root`, `content`
|
|
49
|
+
|
|
50
|
+
Affixes content to a window or scroll container boundary.
|
|
51
|
+
|
|
36
52
|
### Alert
|
|
37
53
|
|
|
38
54
|
Displays important contextual feedback messages with semantic status types.
|
|
@@ -46,6 +62,71 @@ Displays important contextual feedback messages with semantic status types.
|
|
|
46
62
|
|
|
47
63
|
Use Alert for persistent, page-level feedback about a state or operation. Use Sonner toasts for transient notifications.
|
|
48
64
|
|
|
65
|
+
### App
|
|
66
|
+
|
|
67
|
+
Scopes imperative messages, notifications and confirmation dialogs to the current React tree and TaoProvider theme.
|
|
68
|
+
|
|
69
|
+
- Category: Config
|
|
70
|
+
- Exports: `App`
|
|
71
|
+
- Source: `src/components/app/app.tsx`
|
|
72
|
+
- Storybook: `stories/app.stories.tsx`
|
|
73
|
+
- Tests: `tests/app/app.test.tsx`
|
|
74
|
+
- Semantic parts: `root`
|
|
75
|
+
|
|
76
|
+
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.
|
|
77
|
+
|
|
78
|
+
### AutoComplete
|
|
79
|
+
|
|
80
|
+
Editable text input with searchable suggestions, keyboard completion and custom input support.
|
|
81
|
+
|
|
82
|
+
- Category: Data Entry
|
|
83
|
+
- Exports: `AutoComplete`
|
|
84
|
+
- Source: `src/components/auto-complete/auto-complete.tsx`
|
|
85
|
+
- Storybook: `stories/auto-complete.stories.tsx`
|
|
86
|
+
- Tests: `tests/auto-complete/auto-complete.test.tsx`
|
|
87
|
+
- Semantic parts: `root`, `prefix`, `input`, `placeholder`, `content`, `clear`, `popup.root`, `popup.list`, `popup.listItem`
|
|
88
|
+
|
|
89
|
+
Use AutoComplete when free-form input is valid and suggestions help users finish typing.
|
|
90
|
+
|
|
91
|
+
### Avatar
|
|
92
|
+
|
|
93
|
+
Represents people with images, icons or automatically fitted initials.
|
|
94
|
+
|
|
95
|
+
- Category: Data Display
|
|
96
|
+
- Exports: `Avatar`
|
|
97
|
+
- Source: `src/components/avatar/avatar.tsx`
|
|
98
|
+
- Storybook: `stories/avatar.stories.tsx`
|
|
99
|
+
- Tests: `tests/avatar/avatar.test.tsx`
|
|
100
|
+
- Semantic parts: `root`, `image`, `icon`, `content`
|
|
101
|
+
|
|
102
|
+
Use Avatar for a person or account; group related people with Avatar.Group.
|
|
103
|
+
|
|
104
|
+
### Badge
|
|
105
|
+
|
|
106
|
+
Adds notification counts, status indicators or a ribbon to content.
|
|
107
|
+
|
|
108
|
+
- Category: Data Display
|
|
109
|
+
- Exports: `Badge`
|
|
110
|
+
- Source: `src/components/badge/badge.tsx`
|
|
111
|
+
- Storybook: `stories/badge.stories.tsx`
|
|
112
|
+
- Tests: `tests/badge/badge.test.tsx`
|
|
113
|
+
- Semantic parts: `root`, `indicator`
|
|
114
|
+
|
|
115
|
+
Use Badge for compact counts or a status next to a label.
|
|
116
|
+
|
|
117
|
+
### BorderBeam
|
|
118
|
+
|
|
119
|
+
Animates a highlighted beam around the border of its child.
|
|
120
|
+
|
|
121
|
+
- Category: General
|
|
122
|
+
- Exports: `BorderBeam`
|
|
123
|
+
- Source: `src/components/border-beam/border-beam.tsx`
|
|
124
|
+
- Storybook: `stories/border-beam.stories.tsx`
|
|
125
|
+
- Tests: `tests/border-beam/border-beam.test.tsx`
|
|
126
|
+
- Semantic parts: `root`, `beam`
|
|
127
|
+
|
|
128
|
+
Animates a highlighted beam around the border of its child.
|
|
129
|
+
|
|
49
130
|
### Breadcrumb
|
|
50
131
|
|
|
51
132
|
Renders the user location in a hierarchy of pages or views.
|
|
@@ -72,6 +153,58 @@ Triggers an immediate action such as submitting, saving, or opening a surface.
|
|
|
72
153
|
|
|
73
154
|
Use Button for explicit actions. It inherits size, disabled, and variant defaults from TaoProvider.
|
|
74
155
|
|
|
156
|
+
### Calendar
|
|
157
|
+
|
|
158
|
+
Browse a month or year and place events inside date cells.
|
|
159
|
+
|
|
160
|
+
- Category: Data Display
|
|
161
|
+
- Exports: `Calendar`
|
|
162
|
+
- Source: `src/components/calendar/calendar.tsx`
|
|
163
|
+
- Storybook: `stories/calendar.stories.tsx`
|
|
164
|
+
- Tests: `tests/calendar/calendar.test.tsx`
|
|
165
|
+
- Semantic parts: `root`, `header`, `body`, `content`, `item`, `itemContent`
|
|
166
|
+
|
|
167
|
+
Use Calendar to browse schedules and select a day without opening a popup.
|
|
168
|
+
|
|
169
|
+
### Card
|
|
170
|
+
|
|
171
|
+
Groups related content with an optional heading, cover, tabs and actions.
|
|
172
|
+
|
|
173
|
+
- Category: Data Display
|
|
174
|
+
- Exports: `Card`
|
|
175
|
+
- Source: `src/components/card/card.tsx`
|
|
176
|
+
- Storybook: `stories/card.stories.tsx`
|
|
177
|
+
- Tests: `tests/card/card.test.tsx`
|
|
178
|
+
- Semantic parts: `root`, `header`, `body`, `extra`, `title`, `actions`, `cover`
|
|
179
|
+
|
|
180
|
+
Use Card for a distinct content item; Card.Meta organizes its identity and description.
|
|
181
|
+
|
|
182
|
+
### Carousel
|
|
183
|
+
|
|
184
|
+
Swipeable slides with fade, directional dots, autoplay, arrows and imperative navigation.
|
|
185
|
+
|
|
186
|
+
- Category: Data Display
|
|
187
|
+
- Exports: `Carousel`
|
|
188
|
+
- Source: `src/components/carousel/carousel.tsx`
|
|
189
|
+
- Storybook: `stories/carousel.stories.tsx`
|
|
190
|
+
- Tests: `tests/carousel/carousel.test.tsx`
|
|
191
|
+
- Semantic parts: `root`, `dots`
|
|
192
|
+
|
|
193
|
+
Swipeable slides with fade, directional dots, autoplay, arrows and imperative navigation.
|
|
194
|
+
|
|
195
|
+
### Cascader
|
|
196
|
+
|
|
197
|
+
Choose paths through hierarchical options with search, lazy loading, multiple selection and an inline panel.
|
|
198
|
+
|
|
199
|
+
- Category: Data Entry
|
|
200
|
+
- Exports: `Cascader`, `CascaderPanel`
|
|
201
|
+
- Source: `src/components/cascader/cascader.tsx`
|
|
202
|
+
- Storybook: `stories/cascader.stories.tsx`
|
|
203
|
+
- Tests: `tests/cascader/cascader.test.tsx`
|
|
204
|
+
- Semantic parts: `root`, `prefix`, `suffix`, `input`, `clear`, `placeholder`, `content`, `item`, `itemContent`, `itemRemove`, `popup.root`, `popup.list`, `popup.listItem`
|
|
205
|
+
|
|
206
|
+
Use Cascader when users select a complete path such as region, department or category.
|
|
207
|
+
|
|
75
208
|
### Checkbox
|
|
76
209
|
|
|
77
210
|
Selects one or more independent boolean options.
|
|
@@ -85,18 +218,31 @@ Selects one or more independent boolean options.
|
|
|
85
218
|
|
|
86
219
|
Use Checkbox for independent choices, or CheckboxGroup when users can select multiple options from a set.
|
|
87
220
|
|
|
88
|
-
###
|
|
221
|
+
### Collapse
|
|
89
222
|
|
|
90
|
-
|
|
223
|
+
Groups content into accessible item-based panels with built-in headers, expand icons and accordion behavior.
|
|
91
224
|
|
|
92
225
|
- Category: Data Display
|
|
93
|
-
- Exports: `
|
|
94
|
-
- Source: `src/components/
|
|
95
|
-
- Storybook: `stories/
|
|
96
|
-
- Tests: `tests/
|
|
97
|
-
- Semantic parts: `root`, `trigger`, `content`
|
|
226
|
+
- Exports: `Collapse`
|
|
227
|
+
- Source: `src/components/collapse/collapse.tsx`
|
|
228
|
+
- Storybook: `stories/collapse.stories.tsx`
|
|
229
|
+
- Tests: `tests/collapse/collapse.test.tsx`, `tests/collapse/panels.test.tsx`
|
|
230
|
+
- Semantic parts: `root`, `item`, `header`, `trigger`, `title`, `icon`, `extra`, `content`, `body`
|
|
231
|
+
|
|
232
|
+
Pass items with key, label and children for ready-to-use panels; use accordion to allow one open panel and activeKey/onChange for controlled state.
|
|
98
233
|
|
|
99
|
-
|
|
234
|
+
### ColorPicker
|
|
235
|
+
|
|
236
|
+
Choose single or gradient colors with hex, RGB, HSB and alpha controls.
|
|
237
|
+
|
|
238
|
+
- Category: Data Entry
|
|
239
|
+
- Exports: `ColorPicker`
|
|
240
|
+
- Source: `src/components/color-picker/color-picker.tsx`
|
|
241
|
+
- Storybook: `stories/color-picker.stories.tsx`
|
|
242
|
+
- Tests: `tests/color-picker/color-picker.test.tsx`
|
|
243
|
+
- Semantic parts: `root`, `body`, `content`, `description`, `popup.root`, `popup.container`
|
|
244
|
+
|
|
245
|
+
Keep the returned Color object when precision matters and call toCssString for use in CSS.
|
|
100
246
|
|
|
101
247
|
### ContextMenu
|
|
102
248
|
|
|
@@ -124,6 +270,32 @@ Lets users enter or choose a single date, with optional time selection.
|
|
|
124
270
|
|
|
125
271
|
Use DatePicker when free text date input would be error-prone or when users benefit from calendar context.
|
|
126
272
|
|
|
273
|
+
### Descriptions
|
|
274
|
+
|
|
275
|
+
Displays labeled record fields with responsive columns and flexible spans.
|
|
276
|
+
|
|
277
|
+
- Category: Data Display
|
|
278
|
+
- Exports: `Descriptions`
|
|
279
|
+
- Source: `src/components/descriptions/descriptions.tsx`
|
|
280
|
+
- Storybook: `stories/descriptions.stories.tsx`
|
|
281
|
+
- Tests: `tests/descriptions/descriptions.test.tsx`
|
|
282
|
+
- Semantic parts: `root`, `header`, `title`, `extra`, `label`, `content`
|
|
283
|
+
|
|
284
|
+
Use Descriptions for read-only details; use Form for editable fields.
|
|
285
|
+
|
|
286
|
+
### Divider
|
|
287
|
+
|
|
288
|
+
Separates sections or inline actions with an optional title.
|
|
289
|
+
|
|
290
|
+
- Category: Layout
|
|
291
|
+
- Exports: `Divider`
|
|
292
|
+
- Source: `src/components/divider/divider.tsx`
|
|
293
|
+
- Storybook: `stories/divider.stories.tsx`
|
|
294
|
+
- Tests: `tests/divider/divider.test.tsx`
|
|
295
|
+
- Semantic parts: `root`, `rail`, `content`
|
|
296
|
+
|
|
297
|
+
Use a divider when spacing alone cannot explain a section boundary.
|
|
298
|
+
|
|
127
299
|
### Drawer
|
|
128
300
|
|
|
129
301
|
Opens a side panel for related tasks without leaving the current page.
|
|
@@ -150,6 +322,32 @@ Opens a menu of actions or navigation choices from a trigger.
|
|
|
150
322
|
|
|
151
323
|
Use Dropdown for compact action sets that do not need to stay visible.
|
|
152
324
|
|
|
325
|
+
### Empty
|
|
326
|
+
|
|
327
|
+
Shows a localized empty state with an illustration, description and optional action.
|
|
328
|
+
|
|
329
|
+
- Category: Data Display
|
|
330
|
+
- Exports: `Empty`
|
|
331
|
+
- Source: `src/components/empty/empty.tsx`
|
|
332
|
+
- Storybook: `stories/empty.stories.tsx`
|
|
333
|
+
- Tests: `tests/empty/empty.test.tsx`
|
|
334
|
+
- Semantic parts: `root`, `image`, `description`, `footer`
|
|
335
|
+
|
|
336
|
+
Shows a localized empty state with an illustration, description and optional action.
|
|
337
|
+
|
|
338
|
+
### FloatButton
|
|
339
|
+
|
|
340
|
+
Provides floating actions, grouped controls and a scroll-to-top action.
|
|
341
|
+
|
|
342
|
+
- Category: General
|
|
343
|
+
- Exports: `FloatButton`
|
|
344
|
+
- Source: `src/components/float-button/float-button.tsx`
|
|
345
|
+
- Storybook: `stories/float-button.stories.tsx`
|
|
346
|
+
- Tests: `tests/float-button/float-button.test.tsx`
|
|
347
|
+
- Semantic parts: `root`, `icon`, `content`
|
|
348
|
+
|
|
349
|
+
Provides floating actions, grouped controls and a scroll-to-top action.
|
|
350
|
+
|
|
153
351
|
### Form
|
|
154
352
|
|
|
155
353
|
Collects and validates field values with an antd-aligned API (rules, dependencies, Form.List) on top of the rc-form engine.
|
|
@@ -227,16 +425,29 @@ Headless numeric input primitives and hook for custom number entry experiences.
|
|
|
227
425
|
|
|
228
426
|
Use the headless API when tao-ui styling is not appropriate but number formatting behavior should stay consistent.
|
|
229
427
|
|
|
428
|
+
### Image
|
|
429
|
+
|
|
430
|
+
Images with keyboard-accessible preview, grouping, transforms, fallbacks and upload progress.
|
|
431
|
+
|
|
432
|
+
- Category: Data Display
|
|
433
|
+
- Exports: `Image`, `ImagePreviewGroup`
|
|
434
|
+
- Source: `src/components/image/image.tsx`
|
|
435
|
+
- Storybook: `stories/image.stories.tsx`
|
|
436
|
+
- Tests: `tests/image/image.test.tsx`
|
|
437
|
+
- 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`
|
|
438
|
+
|
|
439
|
+
Images with keyboard-accessible preview, grouping, transforms, fallbacks and upload progress.
|
|
440
|
+
|
|
230
441
|
### Input
|
|
231
442
|
|
|
232
|
-
|
|
443
|
+
Text inputs with clearing, counting, password visibility, search, text areas and OTP.
|
|
233
444
|
|
|
234
445
|
- Category: Data Entry
|
|
235
446
|
- Exports: `Input`
|
|
236
447
|
- Source: `src/components/input/input.tsx`
|
|
237
448
|
- Storybook: `stories/input.stories.tsx`
|
|
238
|
-
- Tests: `tests/input/input.test.tsx`
|
|
239
|
-
- Semantic parts: `root`, `input`, `prefix`, `suffix`
|
|
449
|
+
- Tests: `tests/input/input.test.tsx`, `tests/input/family.test.tsx`
|
|
450
|
+
- Semantic parts: `root`, `input`, `prefix`, `suffix`, `clear`, `count`, `addonBefore`, `addonAfter`
|
|
240
451
|
|
|
241
452
|
Use Input for short text values such as names, filters, search terms, and identifiers.
|
|
242
453
|
|
|
@@ -253,6 +464,58 @@ A styled numeric input built on tao-ui number formatting and validation behavior
|
|
|
253
464
|
|
|
254
465
|
Use InputNumber for numeric values that need min, max, step, precision, or formatted display.
|
|
255
466
|
|
|
467
|
+
### List
|
|
468
|
+
|
|
469
|
+
Displays records with metadata, actions, loading, pagination and responsive columns.
|
|
470
|
+
|
|
471
|
+
- Category: Data Display
|
|
472
|
+
- Exports: `List`
|
|
473
|
+
- Source: `src/components/list/list.tsx`
|
|
474
|
+
- Storybook: `stories/list.stories.tsx`
|
|
475
|
+
- Tests: `tests/list/list.test.tsx`
|
|
476
|
+
- Semantic parts: `root`, `header`, `items`, `footer`, `pagination`, `empty`
|
|
477
|
+
|
|
478
|
+
Compose repeated content with List.Item and List.Item.Meta.
|
|
479
|
+
|
|
480
|
+
### Listy
|
|
481
|
+
|
|
482
|
+
Renders grouped or virtualized lists with precise item, group and position scrolling.
|
|
483
|
+
|
|
484
|
+
- Category: Data Display
|
|
485
|
+
- Exports: `Listy`
|
|
486
|
+
- Source: `src/components/listy/listy.tsx`
|
|
487
|
+
- Storybook: `stories/listy.stories.tsx`
|
|
488
|
+
- Tests: `tests/listy/listy.test.tsx`
|
|
489
|
+
- Semantic parts: `root`, `item`, `groupHeader`
|
|
490
|
+
|
|
491
|
+
Render long lists and grouped records without mounting the entire data set.
|
|
492
|
+
|
|
493
|
+
### Masonry
|
|
494
|
+
|
|
495
|
+
Arranges variable-height content in responsive balanced columns.
|
|
496
|
+
|
|
497
|
+
- Category: Data Display
|
|
498
|
+
- Exports: `Masonry`
|
|
499
|
+
- Source: `src/components/masonry/masonry.tsx`
|
|
500
|
+
- Storybook: `stories/masonry.stories.tsx`
|
|
501
|
+
- Tests: `tests/masonry/masonry.test.tsx`
|
|
502
|
+
- Semantic parts: `root`, `item`
|
|
503
|
+
|
|
504
|
+
Arranges variable-height content in responsive balanced columns.
|
|
505
|
+
|
|
506
|
+
### Mentions
|
|
507
|
+
|
|
508
|
+
Insert mentions into multiline text using configurable prefixes, search suggestions and keyboard selection.
|
|
509
|
+
|
|
510
|
+
- Category: Data Entry
|
|
511
|
+
- Exports: `Mentions`
|
|
512
|
+
- Source: `src/components/mentions/mentions.tsx`
|
|
513
|
+
- Storybook: `stories/mentions.stories.tsx`
|
|
514
|
+
- Tests: `tests/mentions/mentions.test.tsx`
|
|
515
|
+
- Semantic parts: `root`, `textarea`, `popup`, `suffix`
|
|
516
|
+
|
|
517
|
+
Use Mentions for comments and messages that refer to people, topics or identifiers.
|
|
518
|
+
|
|
256
519
|
### Modal
|
|
257
520
|
|
|
258
521
|
Displays a focused dialog for decisions, forms, and interruptive information.
|
|
@@ -262,7 +525,7 @@ Displays a focused dialog for decisions, forms, and interruptive information.
|
|
|
262
525
|
- Source: `src/components/modal/modal.tsx`
|
|
263
526
|
- Storybook: `stories/modal.stories.tsx`
|
|
264
527
|
- Tests: `tests/modal/modal.test.tsx`
|
|
265
|
-
- Semantic parts: `root`, `overlay`, `header`, `title`, `body`, `footer`, `close`
|
|
528
|
+
- Semantic parts: `root`, `container`, `wrapper`, `mask`, `overlay`, `header`, `title`, `body`, `footer`, `close`
|
|
266
529
|
|
|
267
530
|
Use Modal for focused tasks or decisions. Static helpers such as Modal.confirm mirror common confirmation flows.
|
|
268
531
|
|
|
@@ -305,6 +568,32 @@ Displays a floating card with rich content anchored to a trigger element, opened
|
|
|
305
568
|
|
|
306
569
|
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
570
|
|
|
571
|
+
### Progress
|
|
572
|
+
|
|
573
|
+
Shows measured completion with line, circle, dashboard or stepped progress indicators.
|
|
574
|
+
|
|
575
|
+
- Category: Feedback
|
|
576
|
+
- Exports: `Progress`
|
|
577
|
+
- Source: `src/components/progress/progress.tsx`
|
|
578
|
+
- Storybook: `stories/progress.stories.tsx`
|
|
579
|
+
- Tests: `tests/progress/progress.test.tsx`
|
|
580
|
+
- Semantic parts: `root`, `body`, `rail`, `track`, `indicator`
|
|
581
|
+
|
|
582
|
+
Shows measured completion with line, circle, dashboard or stepped progress indicators.
|
|
583
|
+
|
|
584
|
+
### QRCode
|
|
585
|
+
|
|
586
|
+
Encode a value as a canvas or SVG QR code with status and refresh controls.
|
|
587
|
+
|
|
588
|
+
- Category: Data Display
|
|
589
|
+
- Exports: `QRCode`
|
|
590
|
+
- Source: `src/components/qr-code/qr-code.tsx`
|
|
591
|
+
- Storybook: `stories/qr-code.stories.tsx`
|
|
592
|
+
- Tests: `tests/qr-code/qr-code.test.tsx`
|
|
593
|
+
- Semantic parts: `root`, `cover`
|
|
594
|
+
|
|
595
|
+
Provide a stable value and choose canvas for bitmap download or SVG for resolution-independent output.
|
|
596
|
+
|
|
308
597
|
### Radio
|
|
309
598
|
|
|
310
599
|
Selects exactly one option from a mutually exclusive set.
|
|
@@ -331,6 +620,32 @@ Lets users select a start and end date as one range value.
|
|
|
331
620
|
|
|
332
621
|
Use RangePicker for reporting windows, booking windows, and filters with start/end dates.
|
|
333
622
|
|
|
623
|
+
### Rate
|
|
624
|
+
|
|
625
|
+
Collects or displays a rating with half steps, keyboard control and custom symbols.
|
|
626
|
+
|
|
627
|
+
- Category: Data Entry
|
|
628
|
+
- Exports: `Rate`
|
|
629
|
+
- Source: `src/components/rate/rate.tsx`
|
|
630
|
+
- Storybook: `stories/rate.stories.tsx`
|
|
631
|
+
- Tests: `tests/rate/rate.test.tsx`
|
|
632
|
+
- Semantic parts: `root`, `item`
|
|
633
|
+
|
|
634
|
+
Collect or show a bounded rating.
|
|
635
|
+
|
|
636
|
+
### Result
|
|
637
|
+
|
|
638
|
+
Communicates an operation result or error page with status, explanation and next actions.
|
|
639
|
+
|
|
640
|
+
- Category: Feedback
|
|
641
|
+
- Exports: `Result`
|
|
642
|
+
- Source: `src/components/result/result.tsx`
|
|
643
|
+
- Storybook: `stories/result.stories.tsx`
|
|
644
|
+
- Tests: `tests/result/result.test.tsx`
|
|
645
|
+
- Semantic parts: `root`, `title`, `subTitle`, `body`, `extra`, `icon`
|
|
646
|
+
|
|
647
|
+
Communicates an operation result or error page with status, explanation and next actions.
|
|
648
|
+
|
|
334
649
|
### ScrollArea
|
|
335
650
|
|
|
336
651
|
Provides a styled scroll container for overflow content.
|
|
@@ -344,6 +659,19 @@ Provides a styled scroll container for overflow content.
|
|
|
344
659
|
|
|
345
660
|
Use ScrollArea when a fixed region needs overflow behavior without changing page scroll.
|
|
346
661
|
|
|
662
|
+
### Segmented
|
|
663
|
+
|
|
664
|
+
Selects one option from a compact accessible radio group.
|
|
665
|
+
|
|
666
|
+
- Category: Data Entry
|
|
667
|
+
- Exports: `Segmented`
|
|
668
|
+
- Source: `src/components/segmented/segmented.tsx`
|
|
669
|
+
- Storybook: `stories/segmented.stories.tsx`
|
|
670
|
+
- Tests: `tests/segmented/segmented.test.tsx`
|
|
671
|
+
- Semantic parts: `root`, `item`, `label`, `icon`
|
|
672
|
+
|
|
673
|
+
Use Segmented for a small set of related views or modes.
|
|
674
|
+
|
|
347
675
|
### Select
|
|
348
676
|
|
|
349
677
|
Chooses one value from a compact list of options.
|
|
@@ -357,6 +685,32 @@ Chooses one value from a compact list of options.
|
|
|
357
685
|
|
|
358
686
|
Use Select when choices are known but too numerous or secondary to show as radios.
|
|
359
687
|
|
|
688
|
+
### Skeleton
|
|
689
|
+
|
|
690
|
+
Displays theme-aware loading placeholders for content, avatars, controls and images.
|
|
691
|
+
|
|
692
|
+
- Category: Feedback
|
|
693
|
+
- Exports: `Skeleton`
|
|
694
|
+
- Source: `src/components/skeleton/skeleton.tsx`
|
|
695
|
+
- Storybook: `stories/skeleton.stories.tsx`
|
|
696
|
+
- Tests: `tests/skeleton/skeleton.test.tsx`
|
|
697
|
+
- Semantic parts: `root`, `header`, `section`, `avatar`, `title`, `paragraph`
|
|
698
|
+
|
|
699
|
+
Displays theme-aware loading placeholders for content, avatars, controls and images.
|
|
700
|
+
|
|
701
|
+
### Slider
|
|
702
|
+
|
|
703
|
+
Selects a numeric value or editable range using pointer, touch and keyboard input.
|
|
704
|
+
|
|
705
|
+
- Category: Data Entry
|
|
706
|
+
- Exports: `Slider`
|
|
707
|
+
- Source: `src/components/slider/slider.tsx`
|
|
708
|
+
- Storybook: `stories/slider.stories.tsx`
|
|
709
|
+
- Tests: `tests/slider/slider.test.tsx`
|
|
710
|
+
- Semantic parts: `root`, `rail`, `tracks`, `track`, `handle`
|
|
711
|
+
|
|
712
|
+
Adjust numeric values within explicit bounds.
|
|
713
|
+
|
|
360
714
|
### Sonner
|
|
361
715
|
|
|
362
716
|
Displays temporary toast notifications with optional actions and provider-aware theming.
|
|
@@ -409,6 +763,19 @@ Composes children in a flex row or column with consistent spacing.
|
|
|
409
763
|
|
|
410
764
|
Use Stack for simple one-dimensional layout and spacing.
|
|
411
765
|
|
|
766
|
+
### Statistic
|
|
767
|
+
|
|
768
|
+
Formats metrics and live count-up or countdown timers.
|
|
769
|
+
|
|
770
|
+
- Category: Data Display
|
|
771
|
+
- Exports: `Statistic`
|
|
772
|
+
- Source: `src/components/statistic/statistic.tsx`
|
|
773
|
+
- Storybook: `stories/statistic.stories.tsx`
|
|
774
|
+
- Tests: `tests/statistic/statistic.test.tsx`
|
|
775
|
+
- Semantic parts: `root`, `header`, `title`, `content`, `value`, `prefix`, `suffix`
|
|
776
|
+
|
|
777
|
+
Use Statistic to emphasize a single metric with a clear title and unit.
|
|
778
|
+
|
|
412
779
|
### Steps
|
|
413
780
|
|
|
414
781
|
Guides users through the ordered stages of a task.
|
|
@@ -488,17 +855,43 @@ Wrap an app or subtree with TaoProvider to set size, disabled, variant, and them
|
|
|
488
855
|
|
|
489
856
|
### Textarea
|
|
490
857
|
|
|
491
|
-
Multi-line text input with
|
|
858
|
+
Multi-line text input with auto sizing, clearing and custom character counts; also available as Input.TextArea.
|
|
492
859
|
|
|
493
860
|
- Category: Data Entry
|
|
494
861
|
- Exports: `Textarea`
|
|
495
862
|
- Source: `src/components/textarea/textarea.tsx`
|
|
496
863
|
- Storybook: `stories/textarea.stories.tsx`
|
|
497
864
|
- Tests: `tests/textarea/textarea.test.tsx`
|
|
498
|
-
- Semantic parts: `root`, `textarea`
|
|
865
|
+
- Semantic parts: `root`, `textarea`, `clear`, `count`
|
|
499
866
|
|
|
500
867
|
Use Textarea for longer freeform content such as descriptions, notes, and comments.
|
|
501
868
|
|
|
869
|
+
### Timeline
|
|
870
|
+
|
|
871
|
+
Shows ordered events with timestamps, indicators and alternate layouts.
|
|
872
|
+
|
|
873
|
+
- Category: Data Display
|
|
874
|
+
- Exports: `Timeline`
|
|
875
|
+
- Source: `src/components/timeline/timeline.tsx`
|
|
876
|
+
- Storybook: `stories/timeline.stories.tsx`
|
|
877
|
+
- Tests: `tests/timeline/timeline.test.tsx`
|
|
878
|
+
- Semantic parts: `root`, `item`, `itemWrapper`, `itemIcon`, `itemSection`, `itemHeader`, `itemTitle`, `itemContent`, `itemRail`
|
|
879
|
+
|
|
880
|
+
Use Timeline for chronological events and their current progress.
|
|
881
|
+
|
|
882
|
+
### TimePicker
|
|
883
|
+
|
|
884
|
+
Select or type a time, or a time range, with Day.js values and configurable precision.
|
|
885
|
+
|
|
886
|
+
- Category: Data Entry
|
|
887
|
+
- Exports: `TimePicker`, `TimeRangePicker`
|
|
888
|
+
- Source: `src/components/time-picker/time-picker.tsx`
|
|
889
|
+
- Storybook: `stories/time-picker.stories.tsx`
|
|
890
|
+
- Tests: `tests/time-picker/time-picker.test.tsx`
|
|
891
|
+
- Semantic parts: `root`, `prefix`, `input`, `suffix`, `popup`
|
|
892
|
+
|
|
893
|
+
Use TimePicker when a form needs a time without a calendar date; use TimePicker.RangePicker for start and end times.
|
|
894
|
+
|
|
502
895
|
### Tooltip
|
|
503
896
|
|
|
504
897
|
Shows a brief informational popup when hovering or focusing an element.
|
|
@@ -512,9 +905,87 @@ Shows a brief informational popup when hovering or focusing an element.
|
|
|
512
905
|
|
|
513
906
|
Use Tooltip for short contextual hints on hover or focus. The popup is portaled and inherits the TaoProvider theme.
|
|
514
907
|
|
|
908
|
+
### Tour
|
|
909
|
+
|
|
910
|
+
Guided steps anchored to page elements with a spotlight mask, custom content and accessible actions.
|
|
911
|
+
|
|
912
|
+
- Category: Feedback
|
|
913
|
+
- Exports: `Tour`
|
|
914
|
+
- Source: `src/components/tour/tour.tsx`
|
|
915
|
+
- Storybook: `stories/tour.stories.tsx`
|
|
916
|
+
- Tests: `tests/tour/tour.test.tsx`
|
|
917
|
+
- Semantic parts: `root`, `cover`, `close`, `mask`, `section`, `footer`, `actions`, `indicator`, `indicators`, `header`, `title`, `description`
|
|
918
|
+
|
|
919
|
+
Guided steps anchored to page elements with a spotlight mask, custom content and accessible actions.
|
|
920
|
+
|
|
921
|
+
### Transfer
|
|
922
|
+
|
|
923
|
+
Moves selected records between searchable, paginated source and target lists.
|
|
924
|
+
|
|
925
|
+
- Category: Data Entry
|
|
926
|
+
- Exports: `Transfer`
|
|
927
|
+
- Source: `src/components/transfer/transfer.tsx`
|
|
928
|
+
- Storybook: `stories/transfer.stories.tsx`
|
|
929
|
+
- Tests: `tests/transfer/transfer.test.tsx`
|
|
930
|
+
- Semantic parts: `root`, `section`, `header`, `title`, `body`, `list`, `item`, `itemIcon`, `itemContent`, `footer`, `actions`
|
|
931
|
+
|
|
932
|
+
Assign records by moving them between source and target lists.
|
|
933
|
+
|
|
934
|
+
### Tree
|
|
935
|
+
|
|
936
|
+
Navigate, select and check hierarchical data with keyboard navigation, lazy loading and virtual scrolling.
|
|
937
|
+
|
|
938
|
+
- Category: Data Display
|
|
939
|
+
- Exports: `Tree`, `DirectoryTree`
|
|
940
|
+
- Source: `src/components/tree/tree.tsx`
|
|
941
|
+
- Storybook: `stories/tree.stories.tsx`
|
|
942
|
+
- Tests: `tests/tree/tree.test.tsx`
|
|
943
|
+
- Semantic parts: `root`, `item`, `itemIcon`, `itemTitle`, `itemSwitcher`
|
|
944
|
+
|
|
945
|
+
Use Tree for hierarchical information. DirectoryTree adds file-explorer selection with Ctrl/Command and Shift modifiers.
|
|
946
|
+
|
|
947
|
+
### TreeSelect
|
|
948
|
+
|
|
949
|
+
Select hierarchical values with search, checkable trees, lazy loading and virtual scrolling.
|
|
950
|
+
|
|
951
|
+
- Category: Data Entry
|
|
952
|
+
- Exports: `TreeSelect`
|
|
953
|
+
- Source: `src/components/tree-select/tree-select.tsx`
|
|
954
|
+
- Storybook: `stories/tree-select.stories.tsx`
|
|
955
|
+
- Tests: `tests/tree-select/tree-select.test.tsx`
|
|
956
|
+
- Semantic parts: `root`, `prefix`, `suffix`, `input`, `clear`, `placeholder`, `content`, `item`, `itemContent`, `itemRemove`, `popup.root`, `popup.item`, `popup.itemTitle`, `popup.itemSwitcher`
|
|
957
|
+
|
|
958
|
+
Use TreeSelect when a form value comes from a hierarchy and users need to search or check multiple nodes.
|
|
959
|
+
|
|
960
|
+
### Upload
|
|
961
|
+
|
|
962
|
+
Select, transform, upload and manage files with real request progress and cancellation.
|
|
963
|
+
|
|
964
|
+
- Category: Data Entry
|
|
965
|
+
- Exports: `Upload`
|
|
966
|
+
- Source: `src/components/upload/upload.tsx`
|
|
967
|
+
- Storybook: `stories/upload.stories.tsx`
|
|
968
|
+
- Tests: `tests/upload/upload.test.tsx`
|
|
969
|
+
- Semantic parts: `root`, `list`, `item`, `trigger`
|
|
970
|
+
|
|
971
|
+
Provide an upload action or a customRequest transport, or return false from beforeUpload to manage files locally.
|
|
972
|
+
|
|
973
|
+
### Watermark
|
|
974
|
+
|
|
975
|
+
Repeats a text or image watermark over content and inherited dialog panels.
|
|
976
|
+
|
|
977
|
+
- Category: General
|
|
978
|
+
- Exports: `Watermark`
|
|
979
|
+
- Source: `src/components/watermark/watermark.tsx`
|
|
980
|
+
- Storybook: `stories/watermark.stories.tsx`
|
|
981
|
+
- Tests: `tests/watermark/watermark.test.tsx`
|
|
982
|
+
- Semantic parts: `root`, `mark`
|
|
983
|
+
|
|
984
|
+
Repeats a text or image watermark over content and inherited dialog panels.
|
|
985
|
+
|
|
515
986
|
## Notes For Code Generation
|
|
516
987
|
|
|
517
|
-
- Prefer
|
|
988
|
+
- Prefer component subpaths for smaller imports; the root entry remains supported.
|
|
518
989
|
- Customize internals through semantic `classNames` and `styles`, not private class names.
|
|
519
990
|
- Prefer provider-level defaults for app-wide size, disabled, variant, and theme choices.
|
|
520
991
|
- Use `Modal.useModal()` inside React components so dialogs inherit the surrounding provider context.
|