@vef-framework/components 2.0.10 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_base/constants/breakpoints.cjs +1 -1
- package/dist/cjs/_base/constants/common.cjs +1 -1
- package/dist/cjs/_base/constants/css-vars.cjs +1 -1
- package/dist/cjs/_base/constants/index.cjs +1 -1
- package/dist/cjs/_base/constants/theme.cjs +1 -0
- package/dist/cjs/_base/helpers/breakpoints.cjs +1 -1
- package/dist/cjs/_base/helpers/color.cjs +1 -1
- package/dist/cjs/_base/helpers/common.cjs +1 -1
- package/dist/cjs/_base/helpers/index.cjs +1 -1
- package/dist/cjs/_base/helpers/message.cjs +1 -1
- package/dist/cjs/_base/helpers/modal.cjs +1 -1
- package/dist/cjs/_base/helpers/notification.cjs +1 -1
- package/dist/cjs/_base/helpers/props.cjs +1 -1
- package/dist/cjs/_base/helpers/react.cjs +1 -1
- package/dist/cjs/_base/hooks/index.cjs +1 -1
- package/dist/cjs/_base/hooks/use-theme-tokens.cjs +1 -1
- package/dist/cjs/_base/index.cjs +1 -1
- package/dist/cjs/_base/styles/common.cjs +1 -1
- package/dist/cjs/_base/styles/index.cjs +0 -1
- package/dist/cjs/_base/types/breakpoints.cjs +0 -1
- package/dist/cjs/_base/types/common.cjs +0 -1
- package/dist/cjs/_base/types/index.cjs +0 -1
- package/dist/cjs/_internal/_rolldown/runtime.cjs +1 -0
- package/dist/cjs/action-button/index.cjs +1 -1
- package/dist/cjs/action-button/use-action-button.cjs +1 -1
- package/dist/cjs/action-group/index.cjs +1 -1
- package/dist/cjs/action-group/use-action-group.cjs +1 -1
- package/dist/cjs/action-group/use-computed-action-buttons.cjs +1 -1
- package/dist/cjs/affix/index.cjs +1 -1
- package/dist/cjs/alert/index.cjs +1 -1
- package/dist/cjs/anchor/index.cjs +1 -1
- package/dist/cjs/auto-complete/index.cjs +1 -1
- package/dist/cjs/avatar/index.cjs +1 -1
- package/dist/cjs/badge/index.cjs +1 -1
- package/dist/cjs/bool/index.cjs +1 -1
- package/dist/cjs/breadcrumb/index.cjs +1 -1
- package/dist/cjs/button/index.cjs +1 -1
- package/dist/cjs/calendar/index.cjs +1 -1
- package/dist/cjs/card/index.cjs +1 -1
- package/dist/cjs/carousel/index.cjs +1 -1
- package/dist/cjs/cascader/index.cjs +1 -1
- package/dist/cjs/center/index.cjs +1 -1
- package/dist/cjs/charts/chart.cjs +1 -1
- package/dist/cjs/charts/helpers/group.cjs +1 -1
- package/dist/cjs/charts/helpers/index.cjs +1 -1
- package/dist/cjs/charts/hooks/index.cjs +1 -1
- package/dist/cjs/charts/hooks/use-chart.cjs +1 -1
- package/dist/cjs/charts/index.cjs +1 -1
- package/dist/cjs/charts/themes/index.cjs +1 -1
- package/dist/cjs/charts/themes/walden-dark.cjs +1 -1
- package/dist/cjs/charts/themes/walden.cjs +1 -1
- package/dist/cjs/charts/themes/wonderland-dark.cjs +1 -1
- package/dist/cjs/charts/themes/wonderland.cjs +1 -1
- package/dist/cjs/checkbox/index.cjs +1 -1
- package/dist/cjs/code-highlighter/index.cjs +1 -1
- package/dist/cjs/col/index.cjs +1 -1
- package/dist/cjs/collapse/index.cjs +1 -1
- package/dist/cjs/color-picker/index.cjs +1 -1
- package/dist/cjs/compact/index.cjs +1 -1
- package/dist/cjs/config-provider/app.cjs +1 -1
- package/dist/cjs/config-provider/constants.cjs +1 -0
- package/dist/cjs/config-provider/context-holder.cjs +1 -1
- package/dist/cjs/config-provider/css-vars.cjs +1 -0
- package/dist/cjs/config-provider/dark-mode-context.cjs +1 -1
- package/dist/cjs/config-provider/error-fallback.cjs +1 -1
- package/dist/cjs/config-provider/global-style.cjs +1 -1
- package/dist/cjs/config-provider/index.cjs +1 -1
- package/dist/cjs/config-provider/theme-config.cjs +1 -0
- package/dist/cjs/config-provider/use-config-provider.cjs +1 -1
- package/dist/cjs/date-picker/index.cjs +1 -1
- package/dist/cjs/descriptions/index.cjs +1 -1
- package/dist/cjs/divider/index.cjs +1 -1
- package/dist/cjs/drawer/index.cjs +1 -1
- package/dist/cjs/dropdown/index.cjs +1 -1
- package/dist/cjs/dynamic-icon/index.cjs +1 -1
- package/dist/cjs/dynamic-icon/placeholder-icon.cjs +1 -1
- package/dist/cjs/dynamic-icon/unknown-icon.cjs +1 -1
- package/dist/cjs/empty/empty.cjs +1 -1
- package/dist/cjs/empty/index.cjs +1 -1
- package/dist/cjs/flex/index.cjs +1 -1
- package/dist/cjs/flip-text/index.cjs +1 -1
- package/dist/cjs/float-button/index.cjs +1 -1
- package/dist/cjs/form/components/form.cjs +1 -1
- package/dist/cjs/form/components/index.cjs +1 -1
- package/dist/cjs/form/components/reset-button.cjs +1 -1
- package/dist/cjs/form/components/submit-button.cjs +1 -1
- package/dist/cjs/form/contexts/form-context.cjs +1 -1
- package/dist/cjs/form/contexts/form-layout.cjs +1 -1
- package/dist/cjs/form/contexts/index.cjs +1 -1
- package/dist/cjs/form/fields/auto-complete/index.cjs +1 -1
- package/dist/cjs/form/fields/bool/index.cjs +1 -1
- package/dist/cjs/form/fields/cascader/index.cjs +1 -1
- package/dist/cjs/form/fields/checkbox/index.cjs +1 -1
- package/dist/cjs/form/fields/color-picker/index.cjs +1 -1
- package/dist/cjs/form/fields/date-picker/index.cjs +1 -1
- package/dist/cjs/form/fields/date-range-picker/index.cjs +1 -1
- package/dist/cjs/form/fields/index.cjs +1 -1
- package/dist/cjs/form/fields/input/index.cjs +1 -1
- package/dist/cjs/form/fields/input-number/index.cjs +1 -1
- package/dist/cjs/form/fields/mentions/index.cjs +1 -1
- package/dist/cjs/form/fields/password/index.cjs +1 -1
- package/dist/cjs/form/fields/radio/index.cjs +1 -1
- package/dist/cjs/form/fields/rate/index.cjs +1 -1
- package/dist/cjs/form/fields/select/index.cjs +1 -1
- package/dist/cjs/form/fields/slider/index.cjs +1 -1
- package/dist/cjs/form/fields/textarea/index.cjs +1 -1
- package/dist/cjs/form/fields/time-picker/index.cjs +1 -1
- package/dist/cjs/form/fields/time-range-picker/index.cjs +1 -1
- package/dist/cjs/form/fields/transfer/index.cjs +1 -1
- package/dist/cjs/form/fields/tree-select/index.cjs +1 -1
- package/dist/cjs/form/fields/upload/index.cjs +1 -1
- package/dist/cjs/form/form.cjs +1 -1
- package/dist/cjs/form/helpers/index.cjs +1 -1
- package/dist/cjs/form/helpers/with-form-item.cjs +1 -1
- package/dist/cjs/form/hooks/use-form-item-props.cjs +1 -1
- package/dist/cjs/form/hooks/use-label-width.cjs +1 -1
- package/dist/cjs/form/index.cjs +1 -1
- package/dist/cjs/form/use-form.cjs +1 -1
- package/dist/cjs/grid/context.cjs +1 -1
- package/dist/cjs/grid/grid-item.cjs +1 -1
- package/dist/cjs/grid/hooks/index.cjs +1 -1
- package/dist/cjs/grid/hooks/use-container-breakpoints.cjs +1 -1
- package/dist/cjs/grid/hooks/use-container-width.cjs +1 -1
- package/dist/cjs/grid/hooks/use-grid-collapsed.cjs +1 -1
- package/dist/cjs/grid/hooks/use-normalized-gap.cjs +1 -1
- package/dist/cjs/grid/hooks/use-responsive-breakpoint.cjs +1 -1
- package/dist/cjs/grid/hooks/use-responsive-value.cjs +1 -1
- package/dist/cjs/grid/index.cjs +1 -1
- package/dist/cjs/grid/styles.cjs +1 -1
- package/dist/cjs/group/index.cjs +1 -1
- package/dist/cjs/icon/index.cjs +1 -1
- package/dist/cjs/icon-button/index.cjs +1 -1
- package/dist/cjs/image/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/input/index.cjs +1 -1
- package/dist/cjs/input-number/index.cjs +1 -1
- package/dist/cjs/keyboard/index.cjs +1 -1
- package/dist/cjs/list/index.cjs +1 -1
- package/dist/cjs/loader/index.cjs +1 -1
- package/dist/cjs/mentions/index.cjs +1 -1
- package/dist/cjs/menu/index.cjs +1 -1
- package/dist/cjs/modal/index.cjs +1 -1
- package/dist/cjs/operation-button/index.cjs +1 -1
- package/dist/cjs/pagination/index.cjs +1 -1
- package/dist/cjs/permission-gate/index.cjs +1 -1
- package/dist/cjs/popconfirm/index.cjs +1 -1
- package/dist/cjs/popover/index.cjs +1 -1
- package/dist/cjs/progress/index.cjs +1 -1
- package/dist/cjs/qrcode/index.cjs +1 -1
- package/dist/cjs/radio/index.cjs +1 -1
- package/dist/cjs/rate/index.cjs +1 -1
- package/dist/cjs/result/index.cjs +1 -1
- package/dist/cjs/row/index.cjs +1 -1
- package/dist/cjs/scroll-area/index.cjs +1 -1
- package/dist/cjs/scroll-area/styles.cjs +1 -1
- package/dist/cjs/segmented/index.cjs +1 -1
- package/dist/cjs/select/hooks/index.cjs +1 -1
- package/dist/cjs/select/hooks/use-data-options-select.cjs +1 -1
- package/dist/cjs/select/index.cjs +1 -1
- package/dist/cjs/skeleton/index.cjs +1 -1
- package/dist/cjs/slider/index.cjs +1 -1
- package/dist/cjs/space/index.cjs +1 -1
- package/dist/cjs/space/space.cjs +1 -1
- package/dist/cjs/sparkles-text/index.cjs +1 -1
- package/dist/cjs/sparkles-text/sparkle.cjs +1 -1
- package/dist/cjs/spin/index.cjs +1 -1
- package/dist/cjs/split-text/index.cjs +1 -1
- package/dist/cjs/splitter/index.cjs +1 -1
- package/dist/cjs/stack/index.cjs +1 -1
- package/dist/cjs/statistic/index.cjs +1 -1
- package/dist/cjs/steps/index.cjs +1 -1
- package/dist/cjs/switch/index.cjs +1 -1
- package/dist/cjs/table/index.cjs +1 -1
- package/dist/cjs/table/use-pagination-props.cjs +1 -1
- package/dist/cjs/tabs/index.cjs +1 -1
- package/dist/cjs/tag/index.cjs +1 -1
- package/dist/cjs/time-picker/index.cjs +1 -1
- package/dist/cjs/timeline/index.cjs +1 -1
- package/dist/cjs/tooltip/index.cjs +1 -1
- package/dist/cjs/tour/index.cjs +1 -1
- package/dist/cjs/transfer/index.cjs +1 -1
- package/dist/cjs/tree/hooks/index.cjs +1 -1
- package/dist/cjs/tree/hooks/use-data-options-tree.cjs +1 -1
- package/dist/cjs/tree/index.cjs +1 -1
- package/dist/cjs/tree-select/hooks/index.cjs +1 -1
- package/dist/cjs/tree-select/hooks/use-data-options-tree-select.cjs +1 -1
- package/dist/cjs/tree-select/index.cjs +1 -1
- package/dist/cjs/typing-animation/index.cjs +1 -1
- package/dist/cjs/typography/index.cjs +1 -1
- package/dist/cjs/upload/index.cjs +1 -1
- package/dist/cjs/watermark/index.cjs +1 -1
- package/dist/es/_base/constants/breakpoints.js +12 -11
- package/dist/es/_base/constants/common.js +31 -24
- package/dist/es/_base/constants/css-vars.js +677 -676
- package/dist/es/_base/constants/index.js +4 -15
- package/dist/es/_base/constants/theme.js +5 -0
- package/dist/es/_base/helpers/breakpoints.js +19 -21
- package/dist/es/_base/helpers/color.js +9 -9
- package/dist/es/_base/helpers/common.js +9 -10
- package/dist/es/_base/helpers/index.js +9 -34
- package/dist/es/_base/helpers/message.js +35 -40
- package/dist/es/_base/helpers/modal.js +67 -100
- package/dist/es/_base/helpers/notification.js +53 -65
- package/dist/es/_base/helpers/props.js +12 -12
- package/dist/es/_base/helpers/react.js +7 -6
- package/dist/es/_base/hooks/index.js +2 -4
- package/dist/es/_base/hooks/use-theme-tokens.js +8 -12
- package/dist/es/_base/index.js +13 -5
- package/dist/es/_base/styles/common.js +19 -18
- package/dist/es/_base/styles/index.js +1 -4
- package/dist/es/_base/types/breakpoints.js +1 -1
- package/dist/es/_base/types/common.js +1 -1
- package/dist/es/_base/types/index.js +1 -2
- package/dist/es/action-button/index.js +37 -38
- package/dist/es/action-button/use-action-button.js +41 -45
- package/dist/es/action-group/index.js +10 -14
- package/dist/es/action-group/use-action-group.js +9 -13
- package/dist/es/action-group/use-computed-action-buttons.js +34 -25
- package/dist/es/affix/index.js +3 -4
- package/dist/es/alert/index.js +3 -4
- package/dist/es/anchor/index.js +3 -4
- package/dist/es/auto-complete/index.js +3 -4
- package/dist/es/avatar/index.js +3 -4
- package/dist/es/badge/index.js +3 -4
- package/dist/es/bool/index.js +68 -49
- package/dist/es/breadcrumb/index.js +2 -4
- package/dist/es/button/index.js +3 -4
- package/dist/es/calendar/index.js +2 -3
- package/dist/es/card/index.js +3 -4
- package/dist/es/carousel/index.js +3 -5
- package/dist/es/cascader/index.js +2 -3
- package/dist/es/center/index.js +15 -13
- package/dist/es/charts/chart.js +20 -19
- package/dist/es/charts/helpers/group.js +9 -9
- package/dist/es/charts/helpers/index.js +2 -5
- package/dist/es/charts/hooks/index.js +2 -4
- package/dist/es/charts/hooks/use-chart.js +107 -109
- package/dist/es/charts/index.js +4 -6
- package/dist/es/charts/themes/index.js +5 -10
- package/dist/es/charts/themes/walden-dark.js +294 -393
- package/dist/es/charts/themes/walden.js +277 -358
- package/dist/es/charts/themes/wonderland-dark.js +298 -393
- package/dist/es/charts/themes/wonderland.js +281 -358
- package/dist/es/checkbox/index.js +3 -4
- package/dist/es/code-highlighter/index.js +39 -36
- package/dist/es/col/index.js +2 -3
- package/dist/es/collapse/index.js +3 -4
- package/dist/es/color-picker/index.js +2 -3
- package/dist/es/compact/index.js +6 -7
- package/dist/es/config-provider/app.js +17 -23
- package/dist/es/config-provider/constants.js +26 -0
- package/dist/es/config-provider/context-holder.js +20 -23
- package/dist/es/config-provider/css-vars.js +67 -0
- package/dist/es/config-provider/dark-mode-context.js +8 -8
- package/dist/es/config-provider/error-fallback.js +48 -13
- package/dist/es/config-provider/global-style.js +9 -9
- package/dist/es/config-provider/index.js +68 -52
- package/dist/es/config-provider/theme-config.js +98 -0
- package/dist/es/config-provider/use-config-provider.js +28 -158
- package/dist/es/date-picker/index.js +3 -5
- package/dist/es/descriptions/index.js +2 -3
- package/dist/es/divider/index.js +3 -4
- package/dist/es/drawer/index.js +3 -4
- package/dist/es/dropdown/index.js +3 -4
- package/dist/es/dynamic-icon/index.js +44 -24
- package/dist/es/dynamic-icon/placeholder-icon.js +22 -11
- package/dist/es/dynamic-icon/unknown-icon.js +57 -13
- package/dist/es/empty/empty.js +10 -9
- package/dist/es/empty/index.js +2 -4
- package/dist/es/flex/index.js +3 -4
- package/dist/es/flip-text/index.js +48 -52
- package/dist/es/float-button/index.js +3 -4
- package/dist/es/form/components/form.js +37 -30
- package/dist/es/form/components/index.js +10 -9
- package/dist/es/form/components/reset-button.js +24 -20
- package/dist/es/form/components/submit-button.js +25 -23
- package/dist/es/form/contexts/form-context.js +6 -13
- package/dist/es/form/contexts/form-layout.js +13 -16
- package/dist/es/form/contexts/index.js +3 -11
- package/dist/es/form/fields/auto-complete/index.js +23 -30
- package/dist/es/form/fields/bool/index.js +18 -23
- package/dist/es/form/fields/cascader/index.js +20 -26
- package/dist/es/form/fields/checkbox/index.js +29 -39
- package/dist/es/form/fields/color-picker/index.js +18 -24
- package/dist/es/form/fields/date-picker/index.js +20 -26
- package/dist/es/form/fields/date-range-picker/index.js +20 -26
- package/dist/es/form/fields/index.js +46 -45
- package/dist/es/form/fields/input/index.js +23 -30
- package/dist/es/form/fields/input-number/index.js +21 -27
- package/dist/es/form/fields/mentions/index.js +21 -27
- package/dist/es/form/fields/password/index.js +23 -30
- package/dist/es/form/fields/radio/index.js +21 -27
- package/dist/es/form/fields/rate/index.js +19 -25
- package/dist/es/form/fields/select/index.js +19 -25
- package/dist/es/form/fields/slider/index.js +18 -24
- package/dist/es/form/fields/textarea/index.js +23 -30
- package/dist/es/form/fields/time-picker/index.js +20 -26
- package/dist/es/form/fields/time-range-picker/index.js +20 -26
- package/dist/es/form/fields/transfer/index.js +20 -26
- package/dist/es/form/fields/tree-select/index.js +18 -24
- package/dist/es/form/fields/upload/index.js +36 -45
- package/dist/es/form/form.js +14 -24
- package/dist/es/form/helpers/index.js +2 -4
- package/dist/es/form/helpers/with-form-item.js +32 -41
- package/dist/es/form/hooks/use-form-item-props.js +20 -35
- package/dist/es/form/hooks/use-label-width.js +11 -11
- package/dist/es/form/index.js +3 -8
- package/dist/es/form/use-form.js +14 -18
- package/dist/es/grid/context.js +10 -11
- package/dist/es/grid/grid-item.js +27 -33
- package/dist/es/grid/hooks/index.js +7 -15
- package/dist/es/grid/hooks/use-container-breakpoints.js +15 -14
- package/dist/es/grid/hooks/use-container-width.js +25 -27
- package/dist/es/grid/hooks/use-grid-collapsed.js +11 -13
- package/dist/es/grid/hooks/use-normalized-gap.js +24 -33
- package/dist/es/grid/hooks/use-responsive-breakpoint.js +10 -11
- package/dist/es/grid/hooks/use-responsive-value.js +18 -26
- package/dist/es/grid/index.js +95 -97
- package/dist/es/grid/styles.js +19 -20
- package/dist/es/group/index.js +15 -14
- package/dist/es/icon/index.js +28 -20
- package/dist/es/icon-button/index.js +30 -34
- package/dist/es/image/index.js +3 -4
- package/dist/es/index.js +109 -254
- package/dist/es/input/index.js +3 -4
- package/dist/es/input-number/index.js +3 -4
- package/dist/es/keyboard/index.js +38 -40
- package/dist/es/list/index.js +3 -4
- package/dist/es/loader/index.js +29 -35
- package/dist/es/mentions/index.js +3 -4
- package/dist/es/menu/index.js +3 -5
- package/dist/es/modal/index.js +3 -4
- package/dist/es/operation-button/index.js +26 -24
- package/dist/es/pagination/index.js +3 -4
- package/dist/es/permission-gate/index.js +9 -13
- package/dist/es/popconfirm/index.js +3 -4
- package/dist/es/popover/index.js +2 -3
- package/dist/es/progress/index.js +2 -3
- package/dist/es/qrcode/index.js +3 -4
- package/dist/es/radio/index.js +3 -4
- package/dist/es/rate/index.js +3 -4
- package/dist/es/result/index.js +3 -4
- package/dist/es/row/index.js +2 -3
- package/dist/es/scroll-area/index.js +56 -52
- package/dist/es/scroll-area/styles.js +30 -32
- package/dist/es/segmented/index.js +3 -4
- package/dist/es/select/hooks/index.js +2 -4
- package/dist/es/select/hooks/use-data-options-select.js +45 -55
- package/dist/es/select/index.js +4 -5
- package/dist/es/skeleton/index.js +3 -4
- package/dist/es/slider/index.js +3 -4
- package/dist/es/space/index.js +2 -4
- package/dist/es/space/space.js +12 -11
- package/dist/es/sparkles-text/index.js +47 -51
- package/dist/es/sparkles-text/sparkle.js +52 -34
- package/dist/es/spin/index.js +3 -4
- package/dist/es/split-text/index.js +148 -161
- package/dist/es/splitter/index.js +2 -3
- package/dist/es/stack/index.js +14 -13
- package/dist/es/statistic/index.js +3 -4
- package/dist/es/steps/index.js +3 -4
- package/dist/es/switch/index.js +3 -4
- package/dist/es/table/index.js +46 -47
- package/dist/es/table/use-pagination-props.js +48 -43
- package/dist/es/tabs/index.js +3 -4
- package/dist/es/tag/index.js +3 -4
- package/dist/es/time-picker/index.js +3 -4
- package/dist/es/timeline/index.js +3 -4
- package/dist/es/tooltip/index.js +3 -4
- package/dist/es/tour/index.js +2 -3
- package/dist/es/transfer/index.js +3 -4
- package/dist/es/tree/hooks/index.js +2 -4
- package/dist/es/tree/hooks/use-data-options-tree.js +38 -54
- package/dist/es/tree/index.js +4 -5
- package/dist/es/tree-select/hooks/index.js +2 -4
- package/dist/es/tree-select/hooks/use-data-options-tree-select.js +47 -51
- package/dist/es/tree-select/index.js +4 -5
- package/dist/es/typing-animation/index.js +45 -43
- package/dist/es/typography/index.js +6 -17
- package/dist/es/upload/index.js +59 -51
- package/dist/es/watermark/index.js +2 -3
- package/dist/types/_base/constants/common.d.ts +3 -32
- package/dist/types/_base/constants/css-vars.d.ts +673 -673
- package/dist/types/_base/constants/index.d.ts +1 -0
- package/dist/types/_base/constants/theme.d.ts +5 -6
- package/dist/types/_base/helpers/breakpoints.d.ts +1 -4
- package/dist/types/_base/helpers/color.d.ts +0 -12
- package/dist/types/_base/helpers/common.d.ts +2 -24
- package/dist/types/_base/helpers/message.d.ts +4 -31
- package/dist/types/_base/helpers/modal.d.ts +10 -87
- package/dist/types/_base/helpers/notification.d.ts +6 -63
- package/dist/types/_base/helpers/props.d.ts +3 -16
- package/dist/types/_base/helpers/react.d.ts +0 -6
- package/dist/types/_base/hooks/use-theme-tokens.d.ts +0 -5
- package/dist/types/_base/index.d.ts +0 -1
- package/dist/types/_base/styles/common.d.ts +2 -1
- package/dist/types/_base/types/common.d.ts +8 -71
- package/dist/types/action-button/use-action-button.d.ts +5 -2
- package/dist/types/action-group/use-action-group.d.ts +2 -1
- package/dist/types/action-group/use-computed-action-buttons.d.ts +3 -1
- package/dist/types/center/index.d.ts +2 -1
- package/dist/types/charts/chart.d.ts +3 -16
- package/dist/types/charts/helpers/group.d.ts +0 -8
- package/dist/types/charts/hooks/use-chart.d.ts +0 -27
- package/dist/types/config-provider/app.d.ts +5 -4
- package/dist/types/config-provider/constants.d.ts +22 -0
- package/dist/types/config-provider/context-holder.d.ts +6 -5
- package/dist/types/config-provider/css-vars.d.ts +6 -0
- package/dist/types/config-provider/error-fallback.d.ts +2 -1
- package/dist/types/config-provider/index.d.ts +3 -2
- package/dist/types/config-provider/theme-config.d.ts +7 -0
- package/dist/types/config-provider/use-config-provider.d.ts +8 -5
- package/dist/types/dynamic-icon/index.d.ts +1 -1
- package/dist/types/form/components/form.d.ts +0 -3
- package/dist/types/form/fields/auto-complete/props.d.ts +1 -0
- package/dist/types/form/fields/input/props.d.ts +1 -0
- package/dist/types/form/fields/password/props.d.ts +1 -0
- package/dist/types/form/fields/textarea/props.d.ts +1 -0
- package/dist/types/form/form.d.ts +7 -5
- package/dist/types/form/helpers/with-form-item.d.ts +1 -1
- package/dist/types/form/hooks/use-label-width.d.ts +3 -5
- package/dist/types/form/types.d.ts +4 -4
- package/dist/types/group/index.d.ts +2 -1
- package/dist/types/select/hooks/use-data-options-select.d.ts +1 -0
- package/dist/types/split-text/index.d.ts +2 -2
- package/dist/types/split-text/props.d.ts +10 -0
- package/dist/types/src/_base/constants/breakpoints.d.ts +9 -0
- package/dist/types/src/_base/constants/common.d.ts +10 -0
- package/dist/types/src/_base/constants/css-vars.d.ts +673 -0
- package/dist/types/src/_base/constants/index.d.ts +4 -0
- package/dist/types/src/_base/constants/theme.d.ts +8 -0
- package/dist/types/src/_base/helpers/breakpoints.d.ts +7 -0
- package/dist/types/src/_base/helpers/color.d.ts +3 -0
- package/dist/types/src/_base/helpers/common.d.ts +8 -0
- package/dist/types/src/_base/helpers/index.d.ts +8 -0
- package/dist/types/src/_base/helpers/message.d.ts +11 -0
- package/dist/types/src/_base/helpers/modal.d.ts +31 -0
- package/dist/types/src/_base/helpers/notification.d.ts +17 -0
- package/dist/types/src/_base/helpers/props.d.ts +5 -0
- package/dist/types/src/_base/helpers/react.d.ts +2 -0
- package/dist/types/src/_base/hooks/index.d.ts +1 -0
- package/dist/types/src/_base/hooks/use-theme-tokens.d.ts +2 -0
- package/dist/types/src/_base/index.d.ts +5 -0
- package/dist/types/src/_base/styles/common.d.ts +4 -0
- package/dist/types/src/_base/styles/index.d.ts +1 -0
- package/dist/types/src/_base/types/breakpoints.d.ts +2 -0
- package/dist/types/src/_base/types/common.d.ts +41 -0
- package/dist/types/src/_base/types/index.d.ts +2 -0
- package/dist/types/src/action-button/index.d.ts +3 -0
- package/dist/types/src/action-button/props.d.ts +39 -0
- package/dist/types/src/action-button/use-action-button.d.ts +12 -0
- package/dist/types/src/action-group/index.d.ts +7 -0
- package/dist/types/src/action-group/props.d.ts +18 -0
- package/dist/types/src/action-group/use-action-group.d.ts +8 -0
- package/dist/types/src/action-group/use-computed-action-buttons.d.ts +12 -0
- package/dist/types/src/affix/index.d.ts +2 -0
- package/dist/types/src/alert/index.d.ts +2 -0
- package/dist/types/src/anchor/index.d.ts +4 -0
- package/dist/types/src/auto-complete/index.d.ts +4 -0
- package/dist/types/src/avatar/index.d.ts +3 -0
- package/dist/types/src/badge/index.d.ts +4 -0
- package/dist/types/src/bool/index.d.ts +4 -0
- package/dist/types/src/bool/props.d.ts +67 -0
- package/dist/types/src/breadcrumb/index.d.ts +5 -0
- package/dist/types/src/button/index.d.ts +3 -0
- package/dist/types/src/calendar/index.d.ts +2 -0
- package/dist/types/src/card/index.d.ts +3 -0
- package/dist/types/src/carousel/index.d.ts +3 -0
- package/dist/types/src/cascader/index.d.ts +3 -0
- package/dist/types/src/center/index.d.ts +4 -0
- package/dist/types/src/center/props.d.ts +13 -0
- package/dist/types/src/charts/chart.d.ts +11 -0
- package/dist/types/src/charts/helpers/group.d.ts +2 -0
- package/dist/types/src/charts/helpers/index.d.ts +1 -0
- package/dist/types/src/charts/hooks/index.d.ts +2 -0
- package/dist/types/src/charts/hooks/use-chart.d.ts +15 -0
- package/dist/types/src/charts/index.d.ts +4 -0
- package/dist/types/src/charts/themes/index.d.ts +4 -0
- package/dist/types/src/charts/themes/walden-dark.d.ts +1 -0
- package/dist/types/src/charts/themes/walden.d.ts +1 -0
- package/dist/types/src/charts/themes/wonderland-dark.d.ts +1 -0
- package/dist/types/src/charts/themes/wonderland.d.ts +1 -0
- package/dist/types/src/checkbox/index.d.ts +5 -0
- package/dist/types/src/code-highlighter/index.d.ts +3 -0
- package/dist/types/src/code-highlighter/props.d.ts +58 -0
- package/dist/types/src/col/index.d.ts +2 -0
- package/dist/types/src/collapse/index.d.ts +5 -0
- package/dist/types/src/color-picker/index.d.ts +2 -0
- package/dist/types/src/compact/index.d.ts +5 -0
- package/dist/types/src/config-provider/app.d.ts +9 -0
- package/dist/types/src/config-provider/constants.d.ts +22 -0
- package/dist/types/src/config-provider/context-holder.d.ts +6 -0
- package/dist/types/src/config-provider/css-vars.d.ts +6 -0
- package/dist/types/src/config-provider/dark-mode-context.d.ts +3 -0
- package/dist/types/src/config-provider/error-fallback.d.ts +3 -0
- package/dist/types/src/config-provider/global-style.d.ts +2 -0
- package/dist/types/src/config-provider/index.d.ts +5 -0
- package/dist/types/src/config-provider/props.d.ts +34 -0
- package/dist/types/src/config-provider/theme-config.d.ts +7 -0
- package/dist/types/src/config-provider/use-config-provider.d.ts +10 -0
- package/dist/types/src/date-picker/index.d.ts +5 -0
- package/dist/types/src/descriptions/index.d.ts +4 -0
- package/dist/types/src/divider/index.d.ts +2 -0
- package/dist/types/src/drawer/index.d.ts +2 -0
- package/dist/types/src/dropdown/index.d.ts +5 -0
- package/dist/types/src/dynamic-icon/index.d.ts +7 -0
- package/dist/types/src/dynamic-icon/placeholder-icon.d.ts +2 -0
- package/dist/types/src/dynamic-icon/props.d.ts +13 -0
- package/dist/types/src/dynamic-icon/unknown-icon.d.ts +2 -0
- package/dist/types/src/empty/empty.d.ts +2 -0
- package/dist/types/src/empty/index.d.ts +2 -0
- package/dist/types/src/flex/index.d.ts +14 -0
- package/dist/types/src/flip-text/index.d.ts +3 -0
- package/dist/types/src/flip-text/props.d.ts +32 -0
- package/dist/types/src/float-button/index.d.ts +2 -0
- package/dist/types/src/form/components/form.d.ts +10 -0
- package/dist/types/src/form/components/index.d.ts +11 -0
- package/dist/types/src/form/components/reset-button.d.ts +6 -0
- package/dist/types/src/form/components/submit-button.d.ts +6 -0
- package/dist/types/src/form/contexts/form-context.d.ts +4 -0
- package/dist/types/src/form/contexts/form-layout.d.ts +7 -0
- package/dist/types/src/form/contexts/index.d.ts +3 -0
- package/dist/types/src/form/fields/auto-complete/index.d.ts +5 -0
- package/dist/types/src/form/fields/auto-complete/props.d.ts +10 -0
- package/dist/types/src/form/fields/bool/index.d.ts +5 -0
- package/dist/types/src/form/fields/bool/props.d.ts +4 -0
- package/dist/types/src/form/fields/cascader/index.d.ts +5 -0
- package/dist/types/src/form/fields/cascader/props.d.ts +4 -0
- package/dist/types/src/form/fields/checkbox/index.d.ts +6 -0
- package/dist/types/src/form/fields/checkbox/props.d.ts +6 -0
- package/dist/types/src/form/fields/color-picker/index.d.ts +5 -0
- package/dist/types/src/form/fields/color-picker/props.d.ts +4 -0
- package/dist/types/src/form/fields/date-picker/index.d.ts +5 -0
- package/dist/types/src/form/fields/date-picker/props.d.ts +4 -0
- package/dist/types/src/form/fields/date-range-picker/index.d.ts +5 -0
- package/dist/types/src/form/fields/date-range-picker/props.d.ts +4 -0
- package/dist/types/src/form/fields/index.d.ts +68 -0
- package/dist/types/src/form/fields/input/index.d.ts +5 -0
- package/dist/types/src/form/fields/input/props.d.ts +10 -0
- package/dist/types/src/form/fields/input-number/index.d.ts +5 -0
- package/dist/types/src/form/fields/input-number/props.d.ts +4 -0
- package/dist/types/src/form/fields/mentions/index.d.ts +5 -0
- package/dist/types/src/form/fields/mentions/props.d.ts +4 -0
- package/dist/types/src/form/fields/password/index.d.ts +5 -0
- package/dist/types/src/form/fields/password/props.d.ts +10 -0
- package/dist/types/src/form/fields/radio/index.d.ts +5 -0
- package/dist/types/src/form/fields/radio/props.d.ts +4 -0
- package/dist/types/src/form/fields/rate/index.d.ts +5 -0
- package/dist/types/src/form/fields/rate/props.d.ts +4 -0
- package/dist/types/src/form/fields/select/index.d.ts +6 -0
- package/dist/types/src/form/fields/select/props.d.ts +5 -0
- package/dist/types/src/form/fields/slider/index.d.ts +5 -0
- package/dist/types/src/form/fields/slider/props.d.ts +4 -0
- package/dist/types/src/form/fields/textarea/index.d.ts +5 -0
- package/dist/types/src/form/fields/textarea/props.d.ts +10 -0
- package/dist/types/src/form/fields/time-picker/index.d.ts +5 -0
- package/dist/types/src/form/fields/time-picker/props.d.ts +4 -0
- package/dist/types/src/form/fields/time-range-picker/index.d.ts +5 -0
- package/dist/types/src/form/fields/time-range-picker/props.d.ts +4 -0
- package/dist/types/src/form/fields/transfer/index.d.ts +5 -0
- package/dist/types/src/form/fields/transfer/props.d.ts +4 -0
- package/dist/types/src/form/fields/tree-select/index.d.ts +6 -0
- package/dist/types/src/form/fields/tree-select/props.d.ts +5 -0
- package/dist/types/src/form/fields/upload/index.d.ts +5 -0
- package/dist/types/src/form/fields/upload/props.d.ts +4 -0
- package/dist/types/src/form/form.d.ts +183 -0
- package/dist/types/src/form/helpers/index.d.ts +1 -0
- package/dist/types/src/form/helpers/with-form-item.d.ts +3 -0
- package/dist/types/src/form/hooks/use-form-item-props.d.ts +15 -0
- package/dist/types/src/form/hooks/use-label-width.d.ts +7 -0
- package/dist/types/src/form/index.d.ts +5 -0
- package/dist/types/src/form/types.d.ts +17 -0
- package/dist/types/src/form/use-form.d.ts +38 -0
- package/dist/types/src/grid/context.d.ts +15 -0
- package/dist/types/src/grid/grid-item.d.ts +5 -0
- package/dist/types/src/grid/hooks/index.d.ts +6 -0
- package/dist/types/src/grid/hooks/use-container-breakpoints.d.ts +1 -0
- package/dist/types/src/grid/hooks/use-container-width.d.ts +5 -0
- package/dist/types/src/grid/hooks/use-grid-collapsed.d.ts +4 -0
- package/dist/types/src/grid/hooks/use-normalized-gap.d.ts +3 -0
- package/dist/types/src/grid/hooks/use-responsive-breakpoint.d.ts +2 -0
- package/dist/types/src/grid/hooks/use-responsive-value.d.ts +4 -0
- package/dist/types/src/grid/index.d.ts +8 -0
- package/dist/types/src/grid/props.d.ts +85 -0
- package/dist/types/src/grid/styles.d.ts +4 -0
- package/dist/types/src/group/index.d.ts +4 -0
- package/dist/types/src/group/props.d.ts +13 -0
- package/dist/types/src/icon/index.d.ts +3 -0
- package/dist/types/src/icon/props.d.ts +20 -0
- package/dist/types/src/icon-button/index.d.ts +3 -0
- package/dist/types/src/icon-button/props.d.ts +22 -0
- package/dist/types/src/image/index.d.ts +2 -0
- package/dist/types/src/index.d.ts +90 -0
- package/dist/types/src/input/index.d.ts +4 -0
- package/dist/types/src/input-number/index.d.ts +2 -0
- package/dist/types/src/keyboard/index.d.ts +3 -0
- package/dist/types/src/keyboard/props.d.ts +13 -0
- package/dist/types/src/list/index.d.ts +3 -0
- package/dist/types/src/loader/index.d.ts +3 -0
- package/dist/types/src/loader/props.d.ts +20 -0
- package/dist/types/src/mentions/index.d.ts +4 -0
- package/dist/types/src/menu/index.d.ts +5 -0
- package/dist/types/src/modal/index.d.ts +2 -0
- package/dist/types/src/operation-button/index.d.ts +3 -0
- package/dist/types/src/operation-button/props.d.ts +10 -0
- package/dist/types/src/pagination/index.d.ts +2 -0
- package/dist/types/src/permission-gate/index.d.ts +4 -0
- package/dist/types/src/permission-gate/props.d.ts +26 -0
- package/dist/types/src/popconfirm/index.d.ts +2 -0
- package/dist/types/src/popover/index.d.ts +2 -0
- package/dist/types/src/progress/index.d.ts +2 -0
- package/dist/types/src/qrcode/index.d.ts +2 -0
- package/dist/types/src/radio/index.d.ts +4 -0
- package/dist/types/src/rate/index.d.ts +2 -0
- package/dist/types/src/result/index.d.ts +2 -0
- package/dist/types/src/row/index.d.ts +2 -0
- package/dist/types/src/scroll-area/index.d.ts +3 -0
- package/dist/types/src/scroll-area/props.d.ts +49 -0
- package/dist/types/src/scroll-area/styles.d.ts +5 -0
- package/dist/types/src/segmented/index.d.ts +5 -0
- package/dist/types/src/select/hooks/index.d.ts +1 -0
- package/dist/types/src/select/hooks/use-data-options-select.d.ts +16 -0
- package/dist/types/src/select/index.d.ts +5 -0
- package/dist/types/src/skeleton/index.d.ts +8 -0
- package/dist/types/src/slider/index.d.ts +5 -0
- package/dist/types/src/space/index.d.ts +2 -0
- package/dist/types/src/space/props.d.ts +13 -0
- package/dist/types/src/space/space.d.ts +2 -0
- package/dist/types/src/sparkles-text/index.d.ts +3 -0
- package/dist/types/src/sparkles-text/props.d.ts +12 -0
- package/dist/types/src/sparkles-text/sparkle.d.ts +10 -0
- package/dist/types/src/spin/index.d.ts +2 -0
- package/dist/types/src/split-text/index.d.ts +4 -0
- package/dist/types/src/split-text/props.d.ts +78 -0
- package/dist/types/src/splitter/index.d.ts +2 -0
- package/dist/types/src/stack/index.d.ts +4 -0
- package/dist/types/src/stack/props.d.ts +13 -0
- package/dist/types/src/statistic/index.d.ts +2 -0
- package/dist/types/src/steps/index.d.ts +2 -0
- package/dist/types/src/switch/index.d.ts +2 -0
- package/dist/types/src/table/index.d.ts +7 -0
- package/dist/types/src/table/props.d.ts +13 -0
- package/dist/types/src/table/use-pagination-props.d.ts +9 -0
- package/dist/types/src/tabs/index.d.ts +4 -0
- package/dist/types/src/tag/index.d.ts +3 -0
- package/dist/types/src/time-picker/index.d.ts +2 -0
- package/dist/types/src/timeline/index.d.ts +4 -0
- package/dist/types/src/tooltip/index.d.ts +3 -0
- package/dist/types/src/tour/index.d.ts +4 -0
- package/dist/types/src/transfer/index.d.ts +3 -0
- package/dist/types/src/tree/hooks/index.d.ts +1 -0
- package/dist/types/src/tree/hooks/use-data-options-tree.d.ts +16 -0
- package/dist/types/src/tree/index.d.ts +5 -0
- package/dist/types/src/tree-select/hooks/index.d.ts +1 -0
- package/dist/types/src/tree-select/hooks/use-data-options-tree-select.d.ts +16 -0
- package/dist/types/src/tree-select/index.d.ts +3 -0
- package/dist/types/src/typing-animation/index.d.ts +3 -0
- package/dist/types/src/typing-animation/props.d.ts +25 -0
- package/dist/types/src/typography/index.d.ts +11 -0
- package/dist/types/src/upload/index.d.ts +4 -0
- package/dist/types/src/upload/props.d.ts +15 -0
- package/dist/types/src/watermark/index.d.ts +2 -0
- package/dist/types/stack/index.d.ts +2 -1
- package/dist/types/table/props.d.ts +1 -0
- package/dist/types/tree-select/hooks/use-data-options-tree-select.d.ts +1 -0
- package/dist/types/upload/props.d.ts +1 -0
- package/dist/types/x-actions/index.d.ts +2 -0
- package/dist/types/x-attachments/index.d.ts +2 -0
- package/dist/types/x-bubble/index.d.ts +2 -0
- package/dist/types/x-code-highlighter/index.d.ts +3 -0
- package/dist/types/x-code-highlighter/props.d.ts +3 -0
- package/dist/types/x-conversations/index.d.ts +2 -0
- package/dist/types/x-file-card/index.d.ts +2 -0
- package/dist/types/x-markdown/components/code/index.d.ts +5 -0
- package/dist/types/x-markdown/components/index.d.ts +6 -0
- package/dist/types/x-markdown/components/think/index.d.ts +5 -0
- package/dist/types/x-markdown/extensions.d.ts +3 -0
- package/dist/types/x-markdown/index.d.ts +5 -0
- package/dist/types/x-markdown/props.d.ts +3 -0
- package/dist/types/x-mermaid/index.d.ts +3 -0
- package/dist/types/x-mermaid/props.d.ts +3 -0
- package/dist/types/x-notification/index.d.ts +2 -0
- package/dist/types/x-prompts/index.d.ts +2 -0
- package/dist/types/x-sender/index.d.ts +2 -0
- package/dist/types/x-sources/index.d.ts +2 -0
- package/dist/types/x-suggestion/index.d.ts +2 -0
- package/dist/types/x-think/index.d.ts +2 -0
- package/dist/types/x-thought-chain/index.d.ts +2 -0
- package/dist/types/x-welcome/index.d.ts +2 -0
- package/package.json +16 -15
- package/dist/cjs/action-button/props.cjs +0 -1
- package/dist/cjs/action-group/props.cjs +0 -1
- package/dist/cjs/center/props.cjs +0 -1
- package/dist/cjs/code-highlighter/props.cjs +0 -1
- package/dist/cjs/config-provider/props.cjs +0 -1
- package/dist/cjs/dynamic-icon/props.cjs +0 -1
- package/dist/cjs/flip-text/props.cjs +0 -1
- package/dist/cjs/form/fields/auto-complete/props.cjs +0 -1
- package/dist/cjs/form/fields/bool/props.cjs +0 -1
- package/dist/cjs/form/fields/cascader/props.cjs +0 -1
- package/dist/cjs/form/fields/checkbox/props.cjs +0 -1
- package/dist/cjs/form/fields/color-picker/props.cjs +0 -1
- package/dist/cjs/form/fields/date-picker/props.cjs +0 -1
- package/dist/cjs/form/fields/date-range-picker/props.cjs +0 -1
- package/dist/cjs/form/fields/input/props.cjs +0 -1
- package/dist/cjs/form/fields/input-number/props.cjs +0 -1
- package/dist/cjs/form/fields/mentions/props.cjs +0 -1
- package/dist/cjs/form/fields/password/props.cjs +0 -1
- package/dist/cjs/form/fields/radio/props.cjs +0 -1
- package/dist/cjs/form/fields/rate/props.cjs +0 -1
- package/dist/cjs/form/fields/select/props.cjs +0 -1
- package/dist/cjs/form/fields/slider/props.cjs +0 -1
- package/dist/cjs/form/fields/textarea/props.cjs +0 -1
- package/dist/cjs/form/fields/time-picker/props.cjs +0 -1
- package/dist/cjs/form/fields/time-range-picker/props.cjs +0 -1
- package/dist/cjs/form/fields/transfer/props.cjs +0 -1
- package/dist/cjs/form/fields/tree-select/props.cjs +0 -1
- package/dist/cjs/form/fields/upload/props.cjs +0 -1
- package/dist/cjs/grid/props.cjs +0 -1
- package/dist/cjs/group/props.cjs +0 -1
- package/dist/cjs/icon/props.cjs +0 -1
- package/dist/cjs/icon-button/props.cjs +0 -1
- package/dist/cjs/keyboard/props.cjs +0 -1
- package/dist/cjs/loader/props.cjs +0 -1
- package/dist/cjs/operation-button/props.cjs +0 -1
- package/dist/cjs/permission-gate/props.cjs +0 -1
- package/dist/cjs/scroll-area/props.cjs +0 -1
- package/dist/cjs/sparkles-text/props.cjs +0 -1
- package/dist/cjs/split-text/props.cjs +0 -1
- package/dist/cjs/stack/props.cjs +0 -1
- package/dist/cjs/table/props.cjs +0 -1
- package/dist/cjs/typing-animation/props.cjs +0 -1
- package/dist/cjs/upload/props.cjs +0 -1
- package/dist/es/action-button/props.js +0 -1
- package/dist/es/action-group/props.js +0 -1
- package/dist/es/center/props.js +0 -1
- package/dist/es/code-highlighter/props.js +0 -1
- package/dist/es/config-provider/props.js +0 -1
- package/dist/es/dynamic-icon/props.js +0 -1
- package/dist/es/flip-text/props.js +0 -1
- package/dist/es/form/fields/auto-complete/props.js +0 -1
- package/dist/es/form/fields/bool/props.js +0 -1
- package/dist/es/form/fields/cascader/props.js +0 -1
- package/dist/es/form/fields/checkbox/props.js +0 -1
- package/dist/es/form/fields/color-picker/props.js +0 -1
- package/dist/es/form/fields/date-picker/props.js +0 -1
- package/dist/es/form/fields/date-range-picker/props.js +0 -1
- package/dist/es/form/fields/input/props.js +0 -1
- package/dist/es/form/fields/input-number/props.js +0 -1
- package/dist/es/form/fields/mentions/props.js +0 -1
- package/dist/es/form/fields/password/props.js +0 -1
- package/dist/es/form/fields/radio/props.js +0 -1
- package/dist/es/form/fields/rate/props.js +0 -1
- package/dist/es/form/fields/select/props.js +0 -1
- package/dist/es/form/fields/slider/props.js +0 -1
- package/dist/es/form/fields/textarea/props.js +0 -1
- package/dist/es/form/fields/time-picker/props.js +0 -1
- package/dist/es/form/fields/time-range-picker/props.js +0 -1
- package/dist/es/form/fields/transfer/props.js +0 -1
- package/dist/es/form/fields/tree-select/props.js +0 -1
- package/dist/es/form/fields/upload/props.js +0 -1
- package/dist/es/grid/props.js +0 -1
- package/dist/es/group/props.js +0 -1
- package/dist/es/icon/props.js +0 -1
- package/dist/es/icon-button/props.js +0 -1
- package/dist/es/keyboard/props.js +0 -1
- package/dist/es/loader/props.js +0 -1
- package/dist/es/operation-button/props.js +0 -1
- package/dist/es/permission-gate/props.js +0 -1
- package/dist/es/scroll-area/props.js +0 -1
- package/dist/es/sparkles-text/props.js +0 -1
- package/dist/es/split-text/props.js +0 -1
- package/dist/es/stack/props.js +0 -1
- package/dist/es/table/props.js +0 -1
- package/dist/es/typing-animation/props.js +0 -1
- package/dist/es/upload/props.js +0 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { LiteralUnion } from '@vef-framework/shared';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { Breakpoint, FullSize } from '../_base';
|
|
4
|
+
/**
|
|
5
|
+
* Responsive breakpoint type for grid system
|
|
6
|
+
*/
|
|
7
|
+
export type ResponsiveValue<T> = T | Partial<Record<Breakpoint, T>>;
|
|
8
|
+
/**
|
|
9
|
+
* The props for the Grid component.
|
|
10
|
+
*/
|
|
11
|
+
export interface GridProps extends ComponentProps<"div"> {
|
|
12
|
+
/**
|
|
13
|
+
* The base width of the grid item.
|
|
14
|
+
*/
|
|
15
|
+
baseWidth?: number;
|
|
16
|
+
/**
|
|
17
|
+
* The gap between both columns and rows.
|
|
18
|
+
* This is a convenience property that sets both columnGap and rowGap to the same value.
|
|
19
|
+
* If columnGap or rowGap are explicitly set, they will take precedence over this value.
|
|
20
|
+
*
|
|
21
|
+
* @default 0
|
|
22
|
+
*/
|
|
23
|
+
gap?: LiteralUnion<FullSize, number>;
|
|
24
|
+
/**
|
|
25
|
+
* The gap between columns.
|
|
26
|
+
*
|
|
27
|
+
* @default 0
|
|
28
|
+
*/
|
|
29
|
+
columnGap?: LiteralUnion<FullSize, number>;
|
|
30
|
+
/**
|
|
31
|
+
* The gap between rows.
|
|
32
|
+
*
|
|
33
|
+
* @default 0
|
|
34
|
+
*/
|
|
35
|
+
rowGap?: LiteralUnion<FullSize, number>;
|
|
36
|
+
/**
|
|
37
|
+
* The default value of isCollapsed.
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
defaultIsCollapsed?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether to enable collapsed mode.
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
isCollapsed?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Number of rows to display when isCollapsed.
|
|
50
|
+
*
|
|
51
|
+
* @default 1
|
|
52
|
+
*/
|
|
53
|
+
collapsedRows?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Callback function when isCollapsed is changed.
|
|
56
|
+
*
|
|
57
|
+
* @param isCollapsed - The new value of isCollapsed.
|
|
58
|
+
*/
|
|
59
|
+
onCollapseChange?: (isCollapsed: boolean) => void;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The props for the GridItem component.
|
|
63
|
+
*/
|
|
64
|
+
export interface GridItemProps extends ComponentProps<"div"> {
|
|
65
|
+
/**
|
|
66
|
+
* Number of columns the grid item spans.
|
|
67
|
+
* Supports responsive values.
|
|
68
|
+
*
|
|
69
|
+
* @default 1
|
|
70
|
+
*/
|
|
71
|
+
span?: ResponsiveValue<number>;
|
|
72
|
+
/**
|
|
73
|
+
* Number of columns to offset the grid item.
|
|
74
|
+
* Supports responsive values.
|
|
75
|
+
*
|
|
76
|
+
* @default 0
|
|
77
|
+
*/
|
|
78
|
+
offset?: ResponsiveValue<number>;
|
|
79
|
+
/**
|
|
80
|
+
* Whether this item should be positioned as a suffix item (aligned to the end).
|
|
81
|
+
*
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
suffix?: boolean;
|
|
85
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PropsWithRef } from '../_base';
|
|
2
|
+
import { GroupProps } from './props';
|
|
3
|
+
export declare function Group({ ref, children, gap, align, ...props }: PropsWithRef<HTMLDivElement, GroupProps>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { type GroupProps } from './props';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Except, LiteralUnion } from '@vef-framework/shared';
|
|
2
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
|
+
import { CSSProperties } from 'react';
|
|
4
|
+
import { FlexProps } from '../flex';
|
|
5
|
+
/**
|
|
6
|
+
* The props for the group component.
|
|
7
|
+
*/
|
|
8
|
+
export interface GroupProps extends Except<FlexProps, "vertical" | "orientation" | "gap"> {
|
|
9
|
+
/**
|
|
10
|
+
* The gap between the items.
|
|
11
|
+
*/
|
|
12
|
+
gap?: LiteralUnion<SizeType, CSSProperties["gap"]>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Except } from '@vef-framework/shared';
|
|
2
|
+
import { IconNode, LucideProps } from 'lucide-react';
|
|
3
|
+
import { ComponentType } from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* The props of the Icon component
|
|
6
|
+
*/
|
|
7
|
+
type BaseIconProps = Except<LucideProps, "size" | "color" | "children">;
|
|
8
|
+
interface IconComponentProps extends BaseIconProps {
|
|
9
|
+
/**
|
|
10
|
+
* The component to render the icon
|
|
11
|
+
*/
|
|
12
|
+
component: ComponentType<LucideProps>;
|
|
13
|
+
iconNode?: never;
|
|
14
|
+
}
|
|
15
|
+
interface IconNodeProps extends BaseIconProps {
|
|
16
|
+
component?: never;
|
|
17
|
+
iconNode: IconNode;
|
|
18
|
+
}
|
|
19
|
+
export type IconProps = IconComponentProps | IconNodeProps;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Except } from '@vef-framework/shared';
|
|
2
|
+
import { LucideIcon, LucideProps } from 'lucide-react';
|
|
3
|
+
import { JSXElementConstructor, ReactElement, ReactNode } from 'react';
|
|
4
|
+
import { ButtonProps } from '../button';
|
|
5
|
+
import { TooltipProps } from '../tooltip';
|
|
6
|
+
/**
|
|
7
|
+
* The props for the `IconButton` component
|
|
8
|
+
*/
|
|
9
|
+
export interface IconButtonProps extends Except<ButtonProps, "icon" | "iconPosition" | "type" | "htmlType" | "autoInsertSpace" | "color" | "variant" | "ghost" | "danger" | "block">, Pick<TooltipProps, "placement"> {
|
|
10
|
+
/**
|
|
11
|
+
* The icon of the button.
|
|
12
|
+
*/
|
|
13
|
+
icon: ReactElement<LucideProps, JSXElementConstructor<LucideIcon>>;
|
|
14
|
+
/**
|
|
15
|
+
* The tooltip of the button.
|
|
16
|
+
*/
|
|
17
|
+
tip?: ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* The delay before the tooltip becomes visible.
|
|
20
|
+
*/
|
|
21
|
+
tipDelay?: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export { breakpoints, closeAllMessages, closeAllNotifications, colors, fullSizes, getSpacingValue, globalCssVars, isFragment, isPresetColor, isSemanticColor, mapSize, presetColors, resolveBreakpointValue, semanticColors, semanticSceneIcons, semanticSceneLabels, semanticScenes, showConfirm, showErrorAlert, showErrorMessage, showErrorNotification, showInfoAlert, showInfoMessage, showInfoNotification, showLoadingMessage, showSuccessAlert, showSuccessMessage, showSuccessNotification, showWarningAlert, showWarningMessage, showWarningNotification, sizes, useThemeTokens, type ActionButtonConfig, type ActionConfirmMode, type AlertOptions, type Breakpoint, type Color, type ConfirmOptions, type FullSize, type GetProp, type GetProps, type GetRef, type Length, type NotificationOptions, type Orientation, type Position, type PresetColor, type PropsWithRef, type SemanticColor, type SemanticScene, type Size, type SizeableLength } from './_base';
|
|
2
|
+
export { ActionButton, type ActionButtonProps } from './action-button';
|
|
3
|
+
export { ActionGroup, type ActionGroupProps } from './action-group';
|
|
4
|
+
export { Affix, type AffixProps } from './affix';
|
|
5
|
+
export { Alert, type AlertProps } from './alert';
|
|
6
|
+
export { Anchor, type AnchorLinkItem, type AnchorProps } from './anchor';
|
|
7
|
+
export { AutoComplete, type AutoCompleteOption, type AutoCompleteProps } from './auto-complete';
|
|
8
|
+
export { Avatar, type AvatarGroupProps, type AvatarProps } from './avatar';
|
|
9
|
+
export { Badge, type BadgeProps, type BadgeRibbonProps } from './badge';
|
|
10
|
+
export { Bool, type BoolProps, type BoolVariant } from './bool';
|
|
11
|
+
export { Breadcrumb, type BreadcrumbItem, type BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbSeparatorType } from './breadcrumb';
|
|
12
|
+
export { Button, type ButtonProps } from './button';
|
|
13
|
+
export { Calendar, type CalendarProps } from './calendar';
|
|
14
|
+
export { Card, type CardGridProps, type CardMetaProps, type CardProps } from './card';
|
|
15
|
+
export { Carousel, type CarouselDotPlacement, type CarouselEffect, type CarouselRef } from './carousel';
|
|
16
|
+
export { Cascader, type CascaderOption, type CascaderProps } from './cascader';
|
|
17
|
+
export { Center, type CenterProps } from './center';
|
|
18
|
+
export { Chart, connectCharts, disconnectCharts, useChart, type ChartInstance, type ChartOption, type ChartProps, type UseChartOptions } from './charts';
|
|
19
|
+
export { Checkbox, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps } from './checkbox';
|
|
20
|
+
export { CodeHighlighter, type CodeHighlighterProps } from './code-highlighter';
|
|
21
|
+
export { Col, type ColProps } from './col';
|
|
22
|
+
export { Collapse, type CollapseItem, type CollapseProps } from './collapse';
|
|
23
|
+
export { ColorPicker, type ColorPickerProps } from './color-picker';
|
|
24
|
+
export { Compact, type CompactProps } from './compact';
|
|
25
|
+
export { ConfigProvider, useIsDarkMode, type ConfigProviderProps, type ThemeConfig } from './config-provider';
|
|
26
|
+
export { DatePicker, type DatePickerProps, type DateRangePickerProps } from './date-picker';
|
|
27
|
+
export { Descriptions, type DescriptionsItem, type DescriptionsProps } from './descriptions';
|
|
28
|
+
export { Divider, type DividerProps } from './divider';
|
|
29
|
+
export { Drawer, type DrawerProps } from './drawer';
|
|
30
|
+
export { Dropdown, type DropdownButtonProps, type DropdownButtonType, type DropdownMenuProps, type DropdownProps } from './dropdown';
|
|
31
|
+
export { DynamicIcon, type DynamicIconName, type DynamicIconProps } from './dynamic-icon';
|
|
32
|
+
export { Empty, type EmptyProps } from './empty';
|
|
33
|
+
export { Flex, type FlexProps } from './flex';
|
|
34
|
+
export { FlipText, type FlipTextProps } from './flip-text';
|
|
35
|
+
export { FloatButton, type FloatButtonProps } from './float-button';
|
|
36
|
+
export { createFormOptions, useForm, useFormContext, useFormStore, withFieldGroup, withForm } from './form';
|
|
37
|
+
export type * from './form';
|
|
38
|
+
export { Grid, useGridCollapsed, type GridItemProps, type GridProps } from './grid';
|
|
39
|
+
export { Group, type GroupProps } from './group';
|
|
40
|
+
export { Icon, type IconProps } from './icon';
|
|
41
|
+
export { IconButton, type IconButtonProps } from './icon-button';
|
|
42
|
+
export { Image, type ImageProps } from './image';
|
|
43
|
+
export { Input, type InputProps, type InputRef, type OTPProps, type PasswordProps, type SearchProps, type TextAreaProps } from './input';
|
|
44
|
+
export { InputNumber, type InputNumberProps } from './input-number';
|
|
45
|
+
export { Keyboard, type KeyboardProps } from './keyboard';
|
|
46
|
+
export { List, type ListGridType, type ListItemMetaProps, type ListItemProps, type ListProps } from './list';
|
|
47
|
+
export { Loader, type LoaderProps } from './loader';
|
|
48
|
+
export { Mentions, type MentionsOption, type MentionsProps } from './mentions';
|
|
49
|
+
export { Menu, type MenuDividerType, type MenuItem, type MenuItemGroupType, type MenuItemType, type MenuProps, type SubMenuType } from './menu';
|
|
50
|
+
export { Modal, type ModalProps } from './modal';
|
|
51
|
+
export { OperationButton, type OperationButtonProps } from './operation-button';
|
|
52
|
+
export { Pagination, type PaginationProps } from './pagination';
|
|
53
|
+
export { PermissionGate, type PermissionGateProps } from './permission-gate';
|
|
54
|
+
export { Popconfirm, type PopconfirmProps } from './popconfirm';
|
|
55
|
+
export { Popover, type PopoverProps } from './popover';
|
|
56
|
+
export { Progress, type ProgressProps } from './progress';
|
|
57
|
+
export { QRCode, type QRCodeProps } from './qrcode';
|
|
58
|
+
export { Radio, type RadioGroupProps, type RadioOption, type RadioProps } from './radio';
|
|
59
|
+
export { Rate, type RateProps } from './rate';
|
|
60
|
+
export { Result, type ResultProps } from './result';
|
|
61
|
+
export { Row, type RowProps } from './row';
|
|
62
|
+
export { ScrollArea, type ScrollAreaProps } from './scroll-area';
|
|
63
|
+
export { Segmented, type SegmentedOption, type SegmentedProps } from './segmented';
|
|
64
|
+
export { Select, useDataOptionsSelect, type SelectOption, type SelectProps, type UseDataOptionsSelectOptions } from './select';
|
|
65
|
+
export { Skeleton, type SkeletonButtonProps, type SkeletonImageProps, type SkeletonInputProps, type SkeletonNodeProps, type SkeletonParagraphProps, type SkeletonProps, type SkeletonTitleProps } from './skeleton';
|
|
66
|
+
export { Slider, type SliderProps, type SliderRangeProps, type SliderSingleProps } from './slider';
|
|
67
|
+
export { Space, type SpaceProps } from './space';
|
|
68
|
+
export { SparklesText, type SparklesTextProps } from './sparkles-text';
|
|
69
|
+
export { Spin, type SpinProps } from './spin';
|
|
70
|
+
export { SplitText, type SplitTextProps } from './split-text';
|
|
71
|
+
export { Splitter, type SplitterProps } from './splitter';
|
|
72
|
+
export { Stack, type StackProps } from './stack';
|
|
73
|
+
export { Statistic, type StatisticProps, type StatisticTimerProps } from './statistic';
|
|
74
|
+
export { Steps, type StepsProps } from './steps';
|
|
75
|
+
export { Switch, type SwitchProps } from './switch';
|
|
76
|
+
export { pageSizeOptions, Table, usePaginationProps, type TableColumn, type TableProps, type TableRowSelection } from './table';
|
|
77
|
+
export * from './table';
|
|
78
|
+
export { Tabs, type TabItem, type TabsProps } from './tabs';
|
|
79
|
+
export { Tag, type CheckableTagProps, type TagProps } from './tag';
|
|
80
|
+
export { TimePicker, type TimePickerProps, type TimeRangePickerProps } from './time-picker';
|
|
81
|
+
export { Timeline, type TimelineItem, type TimelineProps } from './timeline';
|
|
82
|
+
export { Tooltip, type TooltipPlacement, type TooltipProps, type TooltipRef } from './tooltip';
|
|
83
|
+
export { Tour, type TourProps, type TourStep } from './tour';
|
|
84
|
+
export { Transfer, type TransferItem, type TransferProps } from './transfer';
|
|
85
|
+
export { Tree, useDataOptionsTree, type TreeNode, type TreeProps, type UseDataOptionsTreeOptions } from './tree';
|
|
86
|
+
export { TreeSelect, useDataOptionsTreeSelect, type TreeSelectProps, type UseDataOptionsTreeSelectOptions } from './tree-select';
|
|
87
|
+
export { TypingAnimation, type TypingAnimationProps } from './typing-animation';
|
|
88
|
+
export { Link, Paragraph, Text, Title, type LinkProps, type ParagraphProps, type TextProps, type TitleProps } from './typography';
|
|
89
|
+
export { Upload, type UploadFile, type UploadProps } from './upload';
|
|
90
|
+
export { Watermark, type WatermarkProps } from './watermark';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { Size } from '../_base';
|
|
3
|
+
/**
|
|
4
|
+
* The props of the Keyboard component.
|
|
5
|
+
*/
|
|
6
|
+
export interface KeyboardProps extends ComponentProps<"kbd"> {
|
|
7
|
+
/**
|
|
8
|
+
* The size of the keyboard.
|
|
9
|
+
*
|
|
10
|
+
* @default "medium"
|
|
11
|
+
*/
|
|
12
|
+
size?: Size;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LiteralUnion } from '@vef-framework/shared';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { SpinProps } from '../spin';
|
|
4
|
+
/**
|
|
5
|
+
* The props of the Loader component.
|
|
6
|
+
*/
|
|
7
|
+
export interface LoaderProps {
|
|
8
|
+
/**
|
|
9
|
+
* The size of the loader.
|
|
10
|
+
*/
|
|
11
|
+
size?: LiteralUnion<NonNullable<SpinProps["size"]>, number>;
|
|
12
|
+
/**
|
|
13
|
+
* The description of the loader.
|
|
14
|
+
*/
|
|
15
|
+
description?: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* The description font size.
|
|
18
|
+
*/
|
|
19
|
+
descriptionSize?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ItemType } from 'antd/es/menu/interface';
|
|
2
|
+
export { Menu } from 'antd';
|
|
3
|
+
export type { MenuProps } from 'antd';
|
|
4
|
+
export type MenuItem = ItemType;
|
|
5
|
+
export { type MenuDividerType, type MenuItemGroupType, type MenuItemType, type SubMenuType } from 'antd/es/menu/interface';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Except } from '@vef-framework/shared';
|
|
2
|
+
import { ActionButtonProps } from '../action-button';
|
|
3
|
+
import { PermissionGateProps } from '../permission-gate';
|
|
4
|
+
/**
|
|
5
|
+
* The props for the OperationButton component.
|
|
6
|
+
*
|
|
7
|
+
* @see {@link ActionButtonProps}
|
|
8
|
+
*/
|
|
9
|
+
export interface OperationButtonProps extends Pick<PermissionGateProps, "checkMode" | "permTokens">, Except<ActionButtonProps, "size" | "variant" | "type" | "danger"> {
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PermissionCheckMode } from '@vef-framework/core';
|
|
2
|
+
import { MaybeArray } from '@vef-framework/shared';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* The props for the PermissionGate component.
|
|
6
|
+
*/
|
|
7
|
+
export interface PermissionGateProps {
|
|
8
|
+
/**
|
|
9
|
+
* The permission tokens to check.
|
|
10
|
+
*/
|
|
11
|
+
permTokens?: MaybeArray<string>;
|
|
12
|
+
/**
|
|
13
|
+
* The permission check mode.
|
|
14
|
+
* - "any": Has permission if any of the permissions are granted
|
|
15
|
+
* - "all": Has permission only if all permissions are granted
|
|
16
|
+
*
|
|
17
|
+
* @default "any"
|
|
18
|
+
*/
|
|
19
|
+
checkMode?: PermissionCheckMode;
|
|
20
|
+
/**
|
|
21
|
+
* The content to render.
|
|
22
|
+
* - ReactNode: Render if has permission, otherwise render null
|
|
23
|
+
* - Function: Receives hasPermission boolean and returns content to render
|
|
24
|
+
*/
|
|
25
|
+
children?: ReactNode | ((hasPermission: boolean) => ReactNode);
|
|
26
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ScrollAreaProps } from './props';
|
|
2
|
+
export declare function ScrollArea({ ref, scrollbarSize, scrollbarPadding, viewportRef, viewportClassName, viewportStyle, overscrollBehavior, onScrollPositionChange, onTopReached, onBottomReached, children, ...rootProps }: ScrollAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { type ScrollAreaProps } from './props';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ScrollAreaProps as ScrollAreaPropsInternal } from '@radix-ui/react-scroll-area';
|
|
2
|
+
import { Except } from '@vef-framework/shared';
|
|
3
|
+
import { ComponentPropsWithRef, CSSProperties, Ref } from 'react';
|
|
4
|
+
import { Length, Position } from '../_base';
|
|
5
|
+
/**
|
|
6
|
+
* The props for the ScrollArea component.
|
|
7
|
+
*/
|
|
8
|
+
export interface ScrollAreaProps extends Except<ComponentPropsWithRef<"div">, "dir">, Pick<ScrollAreaPropsInternal, "type" | "scrollHideDelay"> {
|
|
9
|
+
/**
|
|
10
|
+
* The size of the scrollbar
|
|
11
|
+
*
|
|
12
|
+
* @default "10px"
|
|
13
|
+
*/
|
|
14
|
+
scrollbarSize?: Length;
|
|
15
|
+
/**
|
|
16
|
+
* The padding of the scrollbar
|
|
17
|
+
*
|
|
18
|
+
* @default "2px"
|
|
19
|
+
*/
|
|
20
|
+
scrollbarPadding?: Length;
|
|
21
|
+
/**
|
|
22
|
+
* The ref of the viewport element
|
|
23
|
+
*/
|
|
24
|
+
viewportRef?: Ref<HTMLDivElement>;
|
|
25
|
+
/**
|
|
26
|
+
* The class name of the viewport element
|
|
27
|
+
*/
|
|
28
|
+
viewportClassName?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The style of the viewport element
|
|
31
|
+
*/
|
|
32
|
+
viewportStyle?: CSSProperties;
|
|
33
|
+
/**
|
|
34
|
+
* Controls the behavior when scrolling beyond the boundaries
|
|
35
|
+
*/
|
|
36
|
+
overscrollBehavior?: CSSProperties["overscrollBehavior"];
|
|
37
|
+
/**
|
|
38
|
+
* Callback fired when the scroll position changes
|
|
39
|
+
*/
|
|
40
|
+
onScrollPositionChange?: (position: Position) => void;
|
|
41
|
+
/**
|
|
42
|
+
* Callback fired when scrolled to the top
|
|
43
|
+
*/
|
|
44
|
+
onTopReached?: () => void;
|
|
45
|
+
/**
|
|
46
|
+
* Callback fired when scrolled to the bottom
|
|
47
|
+
*/
|
|
48
|
+
onBottomReached?: () => void;
|
|
49
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IterableElement } from '@vef-framework/shared';
|
|
2
|
+
import { SegmentedOptions, SegmentedValue } from 'antd/es/segmented';
|
|
3
|
+
export { Segmented } from 'antd';
|
|
4
|
+
export type { SegmentedProps } from 'antd';
|
|
5
|
+
export type SegmentedOption<T = SegmentedValue> = IterableElement<SegmentedOptions<T>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useDataOptionsSelect, type UseDataOptionsSelectOptions } from './use-data-options-select';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DataOptionWithPinyin } from '@vef-framework/core';
|
|
2
|
+
import { UseDataOptionsQueryOptions } from '@vef-framework/hooks';
|
|
3
|
+
import { SelectProps } from '..';
|
|
4
|
+
export type UseDataOptionsSelectOptions<TQueryFnData = unknown, TData = TQueryFnData, TParams = unknown> = UseDataOptionsQueryOptions<TQueryFnData, TData, TParams> & {
|
|
5
|
+
/**
|
|
6
|
+
* Whether the select is filterable
|
|
7
|
+
*
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
filterable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Callback function invoked after data is fetched
|
|
13
|
+
*/
|
|
14
|
+
onFetch?: (data: TData[]) => void;
|
|
15
|
+
};
|
|
16
|
+
export declare function useDataOptionsSelect<TQueryFnData = unknown, TData = TQueryFnData, TParams = never>({ filterable, onFetch, ...queryOptions }: UseDataOptionsSelectOptions<TQueryFnData, TData, TParams>): SelectProps<string, DataOptionWithPinyin<TData>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { Skeleton } from 'antd';
|
|
2
|
+
export type { SkeletonProps } from 'antd';
|
|
3
|
+
export type { SkeletonButtonProps } from 'antd/es/skeleton/Button';
|
|
4
|
+
export type { SkeletonImageProps } from 'antd/es/skeleton/Image';
|
|
5
|
+
export type { SkeletonInputProps } from 'antd/es/skeleton/Input';
|
|
6
|
+
export type { SkeletonNodeProps } from 'antd/es/skeleton/Node';
|
|
7
|
+
export type { SkeletonParagraphProps } from 'antd/es/skeleton/Paragraph';
|
|
8
|
+
export type { SkeletonTitleProps } from 'antd/es/skeleton/Title';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Except, LiteralUnion } from '@vef-framework/shared';
|
|
2
|
+
import { SpaceProps as SpacePropsInternal } from 'antd';
|
|
3
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
4
|
+
export type SpaceSize = LiteralUnion<SizeType, number>;
|
|
5
|
+
/**
|
|
6
|
+
* The props for the space component.
|
|
7
|
+
*/
|
|
8
|
+
export interface SpaceProps extends Except<SpacePropsInternal, "size"> {
|
|
9
|
+
/**
|
|
10
|
+
* The size of the space.
|
|
11
|
+
*/
|
|
12
|
+
size?: SpaceSize | [SpaceSize, SpaceSize];
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The props of the SparklesText component.
|
|
4
|
+
*/
|
|
5
|
+
export interface SparklesTextProps extends ComponentProps<"div"> {
|
|
6
|
+
/**
|
|
7
|
+
* The number of sparkles to display.
|
|
8
|
+
*
|
|
9
|
+
* @default 10
|
|
10
|
+
*/
|
|
11
|
+
sparklesCount?: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface SparkleProps {
|
|
2
|
+
id: string;
|
|
3
|
+
x: string;
|
|
4
|
+
y: string;
|
|
5
|
+
color: string;
|
|
6
|
+
delay: number;
|
|
7
|
+
scale: number;
|
|
8
|
+
lifespan: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function Sparkle({ id, x, y, color, delay, scale }: SparkleProps): import("@emotion/react/jsx-runtime").JSX.Element;
|