@vef-framework/components 2.0.4 → 2.0.5
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 -16
- package/dist/cjs/_base/constants/common.cjs +1 -36
- package/dist/cjs/_base/constants/css-vars.cjs +1 -680
- package/dist/cjs/_base/constants/index.cjs +1 -21
- package/dist/cjs/_base/helpers/breakpoints.cjs +1 -30
- package/dist/cjs/_base/helpers/color.cjs +1 -16
- package/dist/cjs/_base/helpers/common.cjs +1 -22
- package/dist/cjs/_base/helpers/index.cjs +1 -40
- package/dist/cjs/_base/helpers/message.cjs +1 -53
- package/dist/cjs/_base/helpers/modal.cjs +1 -122
- package/dist/cjs/_base/helpers/notification.cjs +1 -72
- package/dist/cjs/_base/helpers/props.cjs +1 -19
- package/dist/cjs/_base/helpers/react.cjs +1 -12
- package/dist/cjs/_base/hooks/index.cjs +1 -10
- package/dist/cjs/_base/hooks/use-theme-tokens.cjs +1 -18
- package/dist/cjs/_base/index.cjs +1 -9
- package/dist/cjs/_base/styles/common.cjs +1 -29
- package/dist/cjs/_base/styles/index.cjs +1 -10
- package/dist/cjs/_base/types/breakpoints.cjs +1 -3
- package/dist/cjs/_base/types/common.cjs +1 -3
- package/dist/cjs/_base/types/index.cjs +1 -6
- package/dist/cjs/action-button/index.cjs +1 -50
- package/dist/cjs/action-button/props.cjs +1 -3
- package/dist/cjs/action-button/use-action-button.cjs +1 -58
- package/dist/cjs/action-group/index.cjs +1 -28
- package/dist/cjs/action-group/props.cjs +1 -3
- package/dist/cjs/action-group/use-action-group.cjs +1 -22
- package/dist/cjs/action-group/use-computed-action-buttons.cjs +1 -43
- package/dist/cjs/affix/index.cjs +1 -13
- package/dist/cjs/alert/index.cjs +1 -13
- package/dist/cjs/anchor/index.cjs +1 -13
- package/dist/cjs/auto-complete/index.cjs +1 -13
- package/dist/cjs/avatar/index.cjs +1 -13
- package/dist/cjs/badge/index.cjs +1 -13
- package/dist/cjs/bool/index.cjs +1 -61
- package/dist/cjs/breadcrumb/index.cjs +1 -14
- package/dist/cjs/button/index.cjs +1 -13
- package/dist/cjs/calendar/index.cjs +1 -13
- package/dist/cjs/card/index.cjs +1 -13
- package/dist/cjs/carousel/index.cjs +1 -14
- package/dist/cjs/cascader/index.cjs +1 -13
- package/dist/cjs/center/index.cjs +1 -19
- package/dist/cjs/center/props.cjs +1 -3
- package/dist/cjs/charts/chart.cjs +1 -30
- package/dist/cjs/charts/helpers/group.cjs +1 -35
- package/dist/cjs/charts/helpers/index.cjs +1 -11
- package/dist/cjs/charts/hooks/index.cjs +1 -10
- package/dist/cjs/charts/hooks/use-chart.cjs +1 -176
- package/dist/cjs/charts/index.cjs +1 -12
- package/dist/cjs/charts/themes/index.cjs +1 -16
- package/dist/cjs/charts/themes/walden-dark.cjs +1 -400
- package/dist/cjs/charts/themes/walden.cjs +1 -365
- package/dist/cjs/charts/themes/wonderland-dark.cjs +1 -400
- package/dist/cjs/charts/themes/wonderland.cjs +1 -365
- package/dist/cjs/checkbox/index.cjs +1 -13
- package/dist/cjs/code-highlighter/index.cjs +1 -46
- package/dist/cjs/code-highlighter/props.cjs +1 -3
- package/dist/cjs/col/index.cjs +1 -13
- package/dist/cjs/collapse/index.cjs +1 -13
- package/dist/cjs/color-picker/index.cjs +1 -13
- package/dist/cjs/compact/index.cjs +1 -12
- package/dist/cjs/config-provider/app.cjs +1 -35
- package/dist/cjs/config-provider/context-holder.cjs +1 -29
- package/dist/cjs/config-provider/dark-mode-context.cjs +1 -15
- package/dist/cjs/config-provider/error-fallback.cjs +1 -19
- package/dist/cjs/config-provider/global-style.cjs +1 -14
- package/dist/cjs/config-provider/index.cjs +1 -58
- package/dist/cjs/config-provider/props.cjs +1 -3
- package/dist/cjs/config-provider/use-config-provider.cjs +1 -182
- package/dist/cjs/date-picker/index.cjs +1 -14
- package/dist/cjs/descriptions/index.cjs +1 -13
- package/dist/cjs/divider/index.cjs +1 -13
- package/dist/cjs/drawer/index.cjs +1 -13
- package/dist/cjs/dropdown/index.cjs +1 -13
- package/dist/cjs/dynamic-icon/index.cjs +1 -33
- package/dist/cjs/dynamic-icon/placeholder-icon.cjs +1 -17
- package/dist/cjs/dynamic-icon/props.cjs +1 -5
- package/dist/cjs/dynamic-icon/unknown-icon.cjs +1 -19
- package/dist/cjs/empty/empty.cjs +1 -16
- package/dist/cjs/empty/index.cjs +1 -10
- package/dist/cjs/flex/index.cjs +1 -13
- package/dist/cjs/flip-text/index.cjs +1 -63
- package/dist/cjs/flip-text/props.cjs +1 -3
- package/dist/cjs/float-button/index.cjs +1 -13
- package/dist/cjs/form/components/form.cjs +1 -41
- package/dist/cjs/form/components/index.cjs +1 -16
- package/dist/cjs/form/components/reset-button.cjs +1 -30
- package/dist/cjs/form/components/submit-button.cjs +1 -31
- package/dist/cjs/form/contexts/form-context.cjs +1 -18
- package/dist/cjs/form/contexts/form-layout.cjs +1 -23
- package/dist/cjs/form/contexts/index.cjs +1 -17
- package/dist/cjs/form/fields/auto-complete/index.cjs +1 -39
- package/dist/cjs/form/fields/auto-complete/props.cjs +1 -3
- package/dist/cjs/form/fields/bool/index.cjs +1 -31
- package/dist/cjs/form/fields/bool/props.cjs +1 -3
- package/dist/cjs/form/fields/cascader/index.cjs +1 -34
- package/dist/cjs/form/fields/cascader/props.cjs +1 -3
- package/dist/cjs/form/fields/checkbox/index.cjs +1 -51
- package/dist/cjs/form/fields/checkbox/props.cjs +1 -3
- package/dist/cjs/form/fields/color-picker/index.cjs +1 -32
- package/dist/cjs/form/fields/color-picker/props.cjs +1 -3
- package/dist/cjs/form/fields/date-picker/index.cjs +1 -34
- package/dist/cjs/form/fields/date-picker/props.cjs +1 -3
- package/dist/cjs/form/fields/date-range-picker/index.cjs +1 -34
- package/dist/cjs/form/fields/date-range-picker/props.cjs +1 -3
- package/dist/cjs/form/fields/index.cjs +1 -53
- package/dist/cjs/form/fields/input/index.cjs +1 -38
- package/dist/cjs/form/fields/input/props.cjs +1 -3
- package/dist/cjs/form/fields/input-number/index.cjs +1 -35
- package/dist/cjs/form/fields/input-number/props.cjs +1 -3
- package/dist/cjs/form/fields/mentions/index.cjs +1 -35
- package/dist/cjs/form/fields/mentions/props.cjs +1 -3
- package/dist/cjs/form/fields/password/index.cjs +1 -38
- package/dist/cjs/form/fields/password/props.cjs +1 -3
- package/dist/cjs/form/fields/radio/index.cjs +1 -35
- package/dist/cjs/form/fields/radio/props.cjs +1 -3
- package/dist/cjs/form/fields/rate/index.cjs +1 -33
- package/dist/cjs/form/fields/rate/props.cjs +1 -3
- package/dist/cjs/form/fields/select/index.cjs +1 -33
- package/dist/cjs/form/fields/select/props.cjs +1 -3
- package/dist/cjs/form/fields/slider/index.cjs +1 -32
- package/dist/cjs/form/fields/slider/props.cjs +1 -3
- package/dist/cjs/form/fields/textarea/index.cjs +1 -38
- package/dist/cjs/form/fields/textarea/props.cjs +1 -3
- package/dist/cjs/form/fields/time-picker/index.cjs +1 -34
- package/dist/cjs/form/fields/time-picker/props.cjs +1 -3
- package/dist/cjs/form/fields/time-range-picker/index.cjs +1 -34
- package/dist/cjs/form/fields/time-range-picker/props.cjs +1 -3
- package/dist/cjs/form/fields/transfer/index.cjs +1 -34
- package/dist/cjs/form/fields/transfer/props.cjs +1 -3
- package/dist/cjs/form/fields/tree-select/index.cjs +1 -32
- package/dist/cjs/form/fields/tree-select/props.cjs +1 -3
- package/dist/cjs/form/fields/upload/index.cjs +1 -61
- package/dist/cjs/form/fields/upload/props.cjs +1 -3
- package/dist/cjs/form/form.cjs +1 -35
- package/dist/cjs/form/helpers/index.cjs +1 -10
- package/dist/cjs/form/helpers/with-form-item.cjs +1 -50
- package/dist/cjs/form/hooks/use-form-item-props.cjs +1 -47
- package/dist/cjs/form/hooks/use-label-width.cjs +1 -23
- package/dist/cjs/form/index.cjs +1 -14
- package/dist/cjs/form/use-form.cjs +1 -29
- package/dist/cjs/grid/context.cjs +1 -19
- package/dist/cjs/grid/grid-item.cjs +1 -43
- package/dist/cjs/grid/hooks/index.cjs +1 -21
- package/dist/cjs/grid/hooks/use-container-breakpoints.cjs +1 -23
- package/dist/cjs/grid/hooks/use-container-width.cjs +1 -48
- package/dist/cjs/grid/hooks/use-grid-collapsed.cjs +1 -19
- package/dist/cjs/grid/hooks/use-normalized-gap.cjs +1 -47
- package/dist/cjs/grid/hooks/use-responsive-breakpoint.cjs +1 -19
- package/dist/cjs/grid/hooks/use-responsive-value.cjs +1 -35
- package/dist/cjs/grid/index.cjs +1 -140
- package/dist/cjs/grid/props.cjs +1 -3
- package/dist/cjs/grid/styles.cjs +1 -30
- package/dist/cjs/group/index.cjs +1 -20
- package/dist/cjs/group/props.cjs +1 -3
- package/dist/cjs/icon/index.cjs +1 -30
- package/dist/cjs/icon/props.cjs +1 -3
- package/dist/cjs/icon-button/index.cjs +1 -40
- package/dist/cjs/icon-button/props.cjs +1 -3
- package/dist/cjs/image/index.cjs +1 -13
- package/dist/cjs/index.cjs +1 -440
- package/dist/cjs/input/index.cjs +1 -13
- package/dist/cjs/input-number/index.cjs +1 -13
- package/dist/cjs/keyboard/index.cjs +1 -48
- package/dist/cjs/keyboard/props.cjs +1 -3
- package/dist/cjs/list/index.cjs +1 -13
- package/dist/cjs/loader/index.cjs +1 -48
- package/dist/cjs/loader/props.cjs +1 -3
- package/dist/cjs/mentions/index.cjs +1 -13
- package/dist/cjs/menu/index.cjs +1 -14
- package/dist/cjs/modal/index.cjs +1 -13
- package/dist/cjs/operation-button/index.cjs +1 -33
- package/dist/cjs/operation-button/props.cjs +1 -3
- package/dist/cjs/pagination/index.cjs +1 -13
- package/dist/cjs/permission-gate/index.cjs +1 -22
- package/dist/cjs/permission-gate/props.cjs +1 -3
- package/dist/cjs/popconfirm/index.cjs +1 -13
- package/dist/cjs/popover/index.cjs +1 -13
- package/dist/cjs/progress/index.cjs +1 -13
- package/dist/cjs/qrcode/index.cjs +1 -13
- package/dist/cjs/radio/index.cjs +1 -13
- package/dist/cjs/rate/index.cjs +1 -13
- package/dist/cjs/result/index.cjs +1 -13
- package/dist/cjs/row/index.cjs +1 -13
- package/dist/cjs/scroll-area/index.cjs +1 -69
- package/dist/cjs/scroll-area/props.cjs +1 -3
- package/dist/cjs/scroll-area/styles.cjs +1 -47
- package/dist/cjs/segmented/index.cjs +1 -13
- package/dist/cjs/select/hooks/index.cjs +1 -10
- package/dist/cjs/select/hooks/use-data-options-select.cjs +1 -70
- package/dist/cjs/select/index.cjs +1 -14
- package/dist/cjs/skeleton/index.cjs +1 -13
- package/dist/cjs/slider/index.cjs +1 -13
- package/dist/cjs/space/index.cjs +1 -10
- package/dist/cjs/space/space.cjs +1 -17
- package/dist/cjs/sparkles-text/index.cjs +1 -70
- package/dist/cjs/sparkles-text/props.cjs +1 -3
- package/dist/cjs/sparkles-text/sparkle.cjs +1 -44
- package/dist/cjs/spin/index.cjs +1 -13
- package/dist/cjs/split-text/index.cjs +1 -212
- package/dist/cjs/split-text/props.cjs +1 -3
- package/dist/cjs/splitter/index.cjs +1 -13
- package/dist/cjs/stack/index.cjs +1 -19
- package/dist/cjs/stack/props.cjs +1 -3
- package/dist/cjs/statistic/index.cjs +1 -13
- package/dist/cjs/steps/index.cjs +1 -13
- package/dist/cjs/switch/index.cjs +1 -13
- package/dist/cjs/table/index.cjs +1 -59
- package/dist/cjs/table/props.cjs +1 -3
- package/dist/cjs/table/use-pagination-props.cjs +1 -52
- package/dist/cjs/tabs/index.cjs +1 -13
- package/dist/cjs/tag/index.cjs +1 -13
- package/dist/cjs/time-picker/index.cjs +1 -13
- package/dist/cjs/timeline/index.cjs +1 -13
- package/dist/cjs/tooltip/index.cjs +1 -13
- package/dist/cjs/tour/index.cjs +1 -13
- package/dist/cjs/transfer/index.cjs +1 -13
- package/dist/cjs/tree/hooks/index.cjs +1 -10
- package/dist/cjs/tree/hooks/use-data-options-tree.cjs +1 -76
- package/dist/cjs/tree/index.cjs +1 -14
- package/dist/cjs/tree-select/hooks/index.cjs +1 -10
- package/dist/cjs/tree-select/hooks/use-data-options-tree-select.cjs +1 -70
- package/dist/cjs/tree-select/index.cjs +1 -14
- package/dist/cjs/typing-animation/index.cjs +1 -61
- package/dist/cjs/typing-animation/props.cjs +1 -3
- package/dist/cjs/typography/index.cjs +1 -22
- package/dist/cjs/upload/index.cjs +1 -83
- package/dist/cjs/upload/props.cjs +1 -3
- package/dist/cjs/watermark/index.cjs +1 -13
- package/dist/es/_base/constants/breakpoints.js +4 -4
- package/dist/es/_base/constants/common.js +19 -20
- package/dist/es/_base/constants/css-vars.js +4 -4
- package/dist/es/_base/constants/index.js +15 -4
- package/dist/es/_base/helpers/breakpoints.js +19 -23
- package/dist/es/_base/helpers/color.js +9 -9
- package/dist/es/_base/helpers/common.js +10 -15
- package/dist/es/_base/helpers/index.js +34 -9
- package/dist/es/_base/helpers/message.js +32 -29
- package/dist/es/_base/helpers/modal.js +82 -87
- package/dist/es/_base/helpers/notification.js +46 -44
- package/dist/es/_base/helpers/props.js +10 -10
- package/dist/es/_base/helpers/react.js +6 -7
- package/dist/es/_base/hooks/index.js +4 -2
- package/dist/es/_base/hooks/use-theme-tokens.js +10 -11
- package/dist/es/_base/index.js +5 -6
- package/dist/es/_base/styles/common.js +10 -11
- package/dist/es/_base/styles/index.js +4 -3
- 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 +2 -3
- package/dist/es/action-button/index.js +32 -38
- package/dist/es/action-button/props.js +1 -1
- package/dist/es/action-button/use-action-button.js +31 -39
- package/dist/es/action-group/index.js +14 -22
- package/dist/es/action-group/props.js +1 -1
- package/dist/es/action-group/use-action-group.js +10 -14
- package/dist/es/action-group/use-computed-action-buttons.js +25 -38
- package/dist/es/affix/index.js +4 -2
- package/dist/es/alert/index.js +4 -2
- package/dist/es/anchor/index.js +4 -2
- package/dist/es/auto-complete/index.js +4 -2
- package/dist/es/avatar/index.js +4 -2
- package/dist/es/badge/index.js +4 -2
- package/dist/es/bool/index.js +46 -53
- package/dist/es/breadcrumb/index.js +5 -3
- package/dist/es/button/index.js +4 -2
- package/dist/es/calendar/index.js +4 -2
- package/dist/es/card/index.js +4 -2
- package/dist/es/carousel/index.js +5 -3
- package/dist/es/cascader/index.js +4 -2
- package/dist/es/center/index.js +12 -13
- package/dist/es/center/props.js +1 -1
- package/dist/es/charts/chart.js +18 -25
- package/dist/es/charts/helpers/group.js +9 -9
- package/dist/es/charts/helpers/index.js +5 -2
- package/dist/es/charts/hooks/index.js +4 -2
- package/dist/es/charts/hooks/use-chart.js +97 -139
- package/dist/es/charts/index.js +6 -4
- package/dist/es/charts/themes/index.js +10 -5
- package/dist/es/charts/themes/walden-dark.js +29 -30
- package/dist/es/charts/themes/walden.js +29 -30
- package/dist/es/charts/themes/wonderland-dark.js +29 -30
- package/dist/es/charts/themes/wonderland.js +29 -30
- package/dist/es/checkbox/index.js +4 -2
- package/dist/es/code-highlighter/index.js +30 -34
- package/dist/es/code-highlighter/props.js +1 -1
- package/dist/es/col/index.js +4 -2
- package/dist/es/collapse/index.js +4 -2
- package/dist/es/color-picker/index.js +4 -2
- package/dist/es/compact/index.js +6 -7
- package/dist/es/config-provider/app.js +20 -26
- package/dist/es/config-provider/context-holder.js +18 -20
- package/dist/es/config-provider/dark-mode-context.js +8 -9
- package/dist/es/config-provider/error-fallback.js +10 -11
- package/dist/es/config-provider/global-style.js +9 -10
- package/dist/es/config-provider/index.js +36 -37
- package/dist/es/config-provider/props.js +1 -1
- package/dist/es/config-provider/use-config-provider.js +56 -75
- package/dist/es/date-picker/index.js +5 -3
- package/dist/es/descriptions/index.js +4 -2
- package/dist/es/divider/index.js +4 -2
- package/dist/es/drawer/index.js +4 -2
- package/dist/es/dropdown/index.js +4 -2
- package/dist/es/dynamic-icon/index.js +22 -25
- package/dist/es/dynamic-icon/placeholder-icon.js +10 -11
- package/dist/es/dynamic-icon/props.js +1 -2
- package/dist/es/dynamic-icon/unknown-icon.js +11 -12
- package/dist/es/empty/empty.js +9 -10
- package/dist/es/empty/index.js +4 -2
- package/dist/es/flex/index.js +4 -2
- package/dist/es/flip-text/index.js +30 -32
- package/dist/es/flip-text/props.js +1 -1
- package/dist/es/float-button/index.js +4 -2
- package/dist/es/form/components/form.js +28 -34
- package/dist/es/form/components/index.js +10 -11
- package/dist/es/form/components/reset-button.js +18 -23
- package/dist/es/form/components/submit-button.js +20 -23
- package/dist/es/form/contexts/form-context.js +12 -10
- package/dist/es/form/contexts/form-layout.js +12 -12
- package/dist/es/form/contexts/index.js +11 -3
- package/dist/es/form/fields/auto-complete/index.js +26 -29
- package/dist/es/form/fields/auto-complete/props.js +1 -1
- package/dist/es/form/fields/bool/index.js +19 -22
- package/dist/es/form/fields/bool/props.js +1 -1
- package/dist/es/form/fields/cascader/index.js +22 -25
- package/dist/es/form/fields/cascader/props.js +1 -1
- package/dist/es/form/fields/checkbox/index.js +30 -35
- package/dist/es/form/fields/checkbox/props.js +1 -1
- package/dist/es/form/fields/color-picker/index.js +20 -23
- package/dist/es/form/fields/color-picker/props.js +1 -1
- package/dist/es/form/fields/date-picker/index.js +22 -25
- package/dist/es/form/fields/date-picker/props.js +1 -1
- package/dist/es/form/fields/date-range-picker/index.js +22 -25
- package/dist/es/form/fields/date-range-picker/props.js +1 -1
- package/dist/es/form/fields/index.js +47 -48
- package/dist/es/form/fields/input/index.js +25 -28
- package/dist/es/form/fields/input/props.js +1 -1
- package/dist/es/form/fields/input-number/index.js +23 -26
- package/dist/es/form/fields/input-number/props.js +1 -1
- package/dist/es/form/fields/mentions/index.js +23 -26
- package/dist/es/form/fields/mentions/props.js +1 -1
- package/dist/es/form/fields/password/index.js +25 -28
- package/dist/es/form/fields/password/props.js +1 -1
- package/dist/es/form/fields/radio/index.js +22 -25
- package/dist/es/form/fields/radio/props.js +1 -1
- package/dist/es/form/fields/rate/index.js +21 -24
- package/dist/es/form/fields/rate/props.js +1 -1
- package/dist/es/form/fields/select/index.js +21 -24
- package/dist/es/form/fields/select/props.js +1 -1
- package/dist/es/form/fields/slider/index.js +20 -23
- package/dist/es/form/fields/slider/props.js +1 -1
- package/dist/es/form/fields/textarea/index.js +25 -28
- package/dist/es/form/fields/textarea/props.js +1 -1
- package/dist/es/form/fields/time-picker/index.js +22 -25
- package/dist/es/form/fields/time-picker/props.js +1 -1
- package/dist/es/form/fields/time-range-picker/index.js +22 -25
- package/dist/es/form/fields/time-range-picker/props.js +1 -1
- package/dist/es/form/fields/transfer/index.js +21 -24
- package/dist/es/form/fields/transfer/props.js +1 -1
- package/dist/es/form/fields/tree-select/index.js +20 -23
- package/dist/es/form/fields/tree-select/props.js +1 -1
- package/dist/es/form/fields/upload/index.js +39 -50
- package/dist/es/form/fields/upload/props.js +1 -1
- package/dist/es/form/form.js +23 -20
- package/dist/es/form/helpers/index.js +4 -2
- package/dist/es/form/helpers/with-form-item.js +33 -37
- package/dist/es/form/hooks/use-form-item-props.js +32 -39
- package/dist/es/form/hooks/use-label-width.js +11 -18
- package/dist/es/form/index.js +8 -3
- package/dist/es/form/use-form.js +16 -21
- package/dist/es/grid/context.js +10 -12
- package/dist/es/grid/grid-item.js +29 -32
- package/dist/es/grid/hooks/index.js +15 -7
- package/dist/es/grid/hooks/use-container-breakpoints.js +14 -18
- package/dist/es/grid/hooks/use-container-width.js +22 -38
- package/dist/es/grid/hooks/use-grid-collapsed.js +10 -11
- package/dist/es/grid/hooks/use-normalized-gap.js +30 -38
- package/dist/es/grid/hooks/use-responsive-breakpoint.js +10 -13
- package/dist/es/grid/hooks/use-responsive-value.js +22 -25
- package/dist/es/grid/index.js +86 -123
- package/dist/es/grid/props.js +1 -1
- package/dist/es/grid/styles.js +11 -12
- package/dist/es/group/index.js +13 -14
- package/dist/es/group/props.js +1 -1
- package/dist/es/icon/index.js +15 -16
- package/dist/es/icon/props.js +1 -1
- package/dist/es/icon-button/index.js +25 -26
- package/dist/es/icon-button/props.js +1 -1
- package/dist/es/image/index.js +4 -2
- package/dist/es/index.js +254 -115
- package/dist/es/input/index.js +4 -2
- package/dist/es/input-number/index.js +4 -2
- package/dist/es/keyboard/index.js +26 -29
- package/dist/es/keyboard/props.js +1 -1
- package/dist/es/list/index.js +4 -2
- package/dist/es/loader/index.js +31 -39
- package/dist/es/loader/props.js +1 -1
- package/dist/es/mentions/index.js +4 -2
- package/dist/es/menu/index.js +5 -3
- package/dist/es/modal/index.js +4 -2
- package/dist/es/operation-button/index.js +19 -23
- package/dist/es/operation-button/props.js +1 -1
- package/dist/es/pagination/index.js +4 -2
- package/dist/es/permission-gate/index.js +12 -16
- package/dist/es/permission-gate/props.js +1 -1
- package/dist/es/popconfirm/index.js +4 -2
- package/dist/es/popover/index.js +4 -2
- package/dist/es/progress/index.js +4 -2
- package/dist/es/qrcode/index.js +4 -2
- package/dist/es/radio/index.js +4 -2
- package/dist/es/rate/index.js +4 -2
- package/dist/es/result/index.js +4 -2
- package/dist/es/row/index.js +4 -2
- package/dist/es/scroll-area/index.js +47 -59
- package/dist/es/scroll-area/props.js +1 -1
- package/dist/es/scroll-area/styles.js +16 -17
- package/dist/es/segmented/index.js +4 -2
- package/dist/es/select/hooks/index.js +4 -2
- package/dist/es/select/hooks/use-data-options-select.js +47 -56
- package/dist/es/select/index.js +5 -3
- package/dist/es/skeleton/index.js +4 -2
- package/dist/es/slider/index.js +4 -2
- package/dist/es/space/index.js +4 -2
- package/dist/es/space/space.js +10 -11
- package/dist/es/sparkles-text/index.js +41 -50
- package/dist/es/sparkles-text/props.js +1 -1
- package/dist/es/sparkles-text/sparkle.js +23 -24
- package/dist/es/spin/index.js +4 -2
- package/dist/es/split-text/index.js +114 -158
- package/dist/es/split-text/props.js +1 -1
- package/dist/es/splitter/index.js +4 -2
- package/dist/es/stack/index.js +12 -13
- package/dist/es/stack/props.js +1 -1
- package/dist/es/statistic/index.js +4 -2
- package/dist/es/steps/index.js +4 -2
- package/dist/es/switch/index.js +4 -2
- package/dist/es/table/index.js +41 -46
- package/dist/es/table/props.js +1 -1
- package/dist/es/table/use-pagination-props.js +26 -28
- package/dist/es/tabs/index.js +4 -2
- package/dist/es/tag/index.js +4 -2
- package/dist/es/time-picker/index.js +4 -2
- package/dist/es/timeline/index.js +4 -2
- package/dist/es/tooltip/index.js +4 -2
- package/dist/es/tour/index.js +4 -2
- package/dist/es/transfer/index.js +4 -2
- package/dist/es/tree/hooks/index.js +4 -2
- package/dist/es/tree/hooks/use-data-options-tree.js +47 -63
- package/dist/es/tree/index.js +5 -3
- package/dist/es/tree-select/hooks/index.js +4 -2
- package/dist/es/tree-select/hooks/use-data-options-tree-select.js +45 -58
- package/dist/es/tree-select/index.js +5 -3
- package/dist/es/typing-animation/index.js +35 -48
- package/dist/es/typing-animation/props.js +1 -1
- package/dist/es/typography/index.js +16 -14
- package/dist/es/upload/index.js +44 -69
- package/dist/es/upload/props.js +1 -1
- package/dist/es/watermark/index.js +4 -2
- package/package.json +6 -6
package/dist/es/index.js
CHANGED
|
@@ -1,115 +1,254 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
|
|
46
|
-
import
|
|
47
|
-
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
|
|
52
|
-
import
|
|
53
|
-
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
|
|
69
|
-
import
|
|
70
|
-
|
|
71
|
-
import
|
|
72
|
-
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
import
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
export {
|
|
1
|
+
import "./_base/index.js";
|
|
2
|
+
import { ActionButton as lo } from "./action-button/index.js";
|
|
3
|
+
import { ActionGroup as co } from "./action-group/index.js";
|
|
4
|
+
import "./affix/index.js";
|
|
5
|
+
import "./alert/index.js";
|
|
6
|
+
import "./anchor/index.js";
|
|
7
|
+
import "./auto-complete/index.js";
|
|
8
|
+
import "./avatar/index.js";
|
|
9
|
+
import "./badge/index.js";
|
|
10
|
+
import { Bool as So } from "./bool/index.js";
|
|
11
|
+
import "./breadcrumb/index.js";
|
|
12
|
+
import "./button/index.js";
|
|
13
|
+
import "./calendar/index.js";
|
|
14
|
+
import "./card/index.js";
|
|
15
|
+
import "./carousel/index.js";
|
|
16
|
+
import "./cascader/index.js";
|
|
17
|
+
import { Center as ho } from "./center/index.js";
|
|
18
|
+
import "./charts/index.js";
|
|
19
|
+
import "./checkbox/index.js";
|
|
20
|
+
import { CodeHighlighter as wo } from "./code-highlighter/index.js";
|
|
21
|
+
import "./col/index.js";
|
|
22
|
+
import "./collapse/index.js";
|
|
23
|
+
import "./color-picker/index.js";
|
|
24
|
+
import { Compact as Ao } from "./compact/index.js";
|
|
25
|
+
import { ConfigProvider as Po } from "./config-provider/index.js";
|
|
26
|
+
import "./date-picker/index.js";
|
|
27
|
+
import "./descriptions/index.js";
|
|
28
|
+
import "./divider/index.js";
|
|
29
|
+
import "./drawer/index.js";
|
|
30
|
+
import "./dropdown/index.js";
|
|
31
|
+
import { DynamicIcon as Do } from "./dynamic-icon/index.js";
|
|
32
|
+
import "./empty/index.js";
|
|
33
|
+
import "./flex/index.js";
|
|
34
|
+
import { FlipText as Mo } from "./flip-text/index.js";
|
|
35
|
+
import "./float-button/index.js";
|
|
36
|
+
import "./form/index.js";
|
|
37
|
+
import { Grid as Bo } from "./grid/index.js";
|
|
38
|
+
import { Group as Go } from "./group/index.js";
|
|
39
|
+
import { Icon as vo } from "./icon/index.js";
|
|
40
|
+
import { IconButton as Ro } from "./icon-button/index.js";
|
|
41
|
+
import "./image/index.js";
|
|
42
|
+
import "./input/index.js";
|
|
43
|
+
import "./input-number/index.js";
|
|
44
|
+
import { Keyboard as zo } from "./keyboard/index.js";
|
|
45
|
+
import "./list/index.js";
|
|
46
|
+
import { Loader as Wo } from "./loader/index.js";
|
|
47
|
+
import "./mentions/index.js";
|
|
48
|
+
import "./menu/index.js";
|
|
49
|
+
import "./modal/index.js";
|
|
50
|
+
import { OperationButton as Ho } from "./operation-button/index.js";
|
|
51
|
+
import "./pagination/index.js";
|
|
52
|
+
import { PermissionGate as Qo } from "./permission-gate/index.js";
|
|
53
|
+
import "./popconfirm/index.js";
|
|
54
|
+
import "./popover/index.js";
|
|
55
|
+
import "./progress/index.js";
|
|
56
|
+
import "./qrcode/index.js";
|
|
57
|
+
import "./radio/index.js";
|
|
58
|
+
import "./rate/index.js";
|
|
59
|
+
import "./result/index.js";
|
|
60
|
+
import "./row/index.js";
|
|
61
|
+
import { ScrollArea as jo } from "./scroll-area/index.js";
|
|
62
|
+
import "./segmented/index.js";
|
|
63
|
+
import "./select/index.js";
|
|
64
|
+
import "./skeleton/index.js";
|
|
65
|
+
import "./slider/index.js";
|
|
66
|
+
import "./space/index.js";
|
|
67
|
+
import { SparklesText as Jo } from "./sparkles-text/index.js";
|
|
68
|
+
import "./spin/index.js";
|
|
69
|
+
import { SplitText as Yo } from "./split-text/index.js";
|
|
70
|
+
import "./splitter/index.js";
|
|
71
|
+
import { Stack as _o } from "./stack/index.js";
|
|
72
|
+
import "./statistic/index.js";
|
|
73
|
+
import "./steps/index.js";
|
|
74
|
+
import "./switch/index.js";
|
|
75
|
+
import { Table as or } from "./table/index.js";
|
|
76
|
+
import "./tabs/index.js";
|
|
77
|
+
import "./tag/index.js";
|
|
78
|
+
import "./time-picker/index.js";
|
|
79
|
+
import "./timeline/index.js";
|
|
80
|
+
import "./tooltip/index.js";
|
|
81
|
+
import "./tour/index.js";
|
|
82
|
+
import "./transfer/index.js";
|
|
83
|
+
import "./tree/index.js";
|
|
84
|
+
import "./tree-select/index.js";
|
|
85
|
+
import { TypingAnimation as tr } from "./typing-animation/index.js";
|
|
86
|
+
import { Link as ir, Paragraph as pr, Text as mr, Title as sr } from "./typography/index.js";
|
|
87
|
+
import { Upload as nr } from "./upload/index.js";
|
|
88
|
+
import "./watermark/index.js";
|
|
89
|
+
import { breakpoints as lr } from "./_base/constants/breakpoints.js";
|
|
90
|
+
import { closeAllMessages as cr, showErrorMessage as ur, showInfoMessage as Sr, showLoadingMessage as gr, showSuccessMessage as hr, showWarningMessage as dr } from "./_base/helpers/message.js";
|
|
91
|
+
import { closeAllNotifications as wr, showErrorNotification as Tr, showInfoNotification as Ar, showSuccessNotification as kr, showWarningNotification as Pr } from "./_base/helpers/notification.js";
|
|
92
|
+
import { colors as Dr, fullSizes as Fr, presetColors as Mr, semanticColors as br, semanticSceneIcons as Br, semanticSceneLabels as Or, semanticScenes as Gr, sizes as Nr } from "./_base/constants/common.js";
|
|
93
|
+
import { getSpacingValue as Lr, mapSize as Rr } from "./_base/helpers/common.js";
|
|
94
|
+
import { globalCssVars as zr } from "./_base/constants/css-vars.js";
|
|
95
|
+
import { isFragment as Wr } from "./_base/helpers/react.js";
|
|
96
|
+
import { isPresetColor as Hr, isSemanticColor as Kr } from "./_base/helpers/color.js";
|
|
97
|
+
import { resolveBreakpointValue as Ur } from "./_base/helpers/breakpoints.js";
|
|
98
|
+
import { showConfirm as qr, showErrorAlert as Jr, showInfoAlert as Xr, showSuccessAlert as Yr, showWarningAlert as Zr } from "./_base/helpers/modal.js";
|
|
99
|
+
import { useThemeTokens as $r } from "./_base/hooks/use-theme-tokens.js";
|
|
100
|
+
import { Affix as rt, Alert as tt, Anchor as et, AutoComplete as it, Avatar as pt, Badge as mt, Breadcrumb as st, Button as at, Calendar as nt, Card as ft, Carousel as lt, Cascader as xt, Checkbox as ct, Col as ut, Collapse as St, ColorPicker as gt, DatePicker as ht, Descriptions as dt, Divider as Ct, Drawer as wt, Dropdown as Tt, Flex as At, FloatButton as kt, Image as Pt, Input as It, InputNumber as Dt, List as Ft, Mentions as Mt, Menu as bt, Modal as Bt, Pagination as Ot, Popconfirm as Gt, Popover as Nt, Progress as vt, QRCode as Lt, Radio as Rt, Rate as yt, Result as zt, Row as Et, Segmented as Wt, Select as Vt, Skeleton as Ht, Slider as Kt, Spin as Qt, Splitter as Ut, Statistic as jt, Steps as qt, Switch as Jt, Tabs as Xt, Tag as Yt, TimePicker as Zt, Timeline as _t, Tooltip as $t, Tour as oe, Transfer as re, Tree as te, TreeSelect as ee, Watermark as ie } from "antd";
|
|
101
|
+
import { Chart as me } from "./charts/chart.js";
|
|
102
|
+
import { connectCharts as ae, disconnectCharts as ne } from "./charts/helpers/group.js";
|
|
103
|
+
import { useChart as le } from "./charts/hooks/use-chart.js";
|
|
104
|
+
import { useIsDarkMode as ce } from "./config-provider/dark-mode-context.js";
|
|
105
|
+
import { default as Se } from "./empty/empty.js";
|
|
106
|
+
import { formOptions as he, useStore as de } from "@tanstack/react-form";
|
|
107
|
+
import { useForm as we } from "./form/use-form.js";
|
|
108
|
+
import { useFormContext as Ae, withFieldGroup as ke, withForm as Pe } from "./form/form.js";
|
|
109
|
+
import { useGridCollapsed as De } from "./grid/hooks/use-grid-collapsed.js";
|
|
110
|
+
import { useDataOptionsSelect as Me } from "./select/hooks/use-data-options-select.js";
|
|
111
|
+
import { default as Be } from "./space/space.js";
|
|
112
|
+
import { pageSizeOptions as Ge, usePaginationProps as Ne } from "./table/use-pagination-props.js";
|
|
113
|
+
import { useDataOptionsTree as Le } from "./tree/hooks/use-data-options-tree.js";
|
|
114
|
+
import { useDataOptionsTreeSelect as ye } from "./tree-select/hooks/use-data-options-tree-select.js";
|
|
115
|
+
export {
|
|
116
|
+
lo as ActionButton,
|
|
117
|
+
co as ActionGroup,
|
|
118
|
+
rt as Affix,
|
|
119
|
+
tt as Alert,
|
|
120
|
+
et as Anchor,
|
|
121
|
+
it as AutoComplete,
|
|
122
|
+
pt as Avatar,
|
|
123
|
+
mt as Badge,
|
|
124
|
+
So as Bool,
|
|
125
|
+
st as Breadcrumb,
|
|
126
|
+
at as Button,
|
|
127
|
+
nt as Calendar,
|
|
128
|
+
ft as Card,
|
|
129
|
+
lt as Carousel,
|
|
130
|
+
xt as Cascader,
|
|
131
|
+
ho as Center,
|
|
132
|
+
me as Chart,
|
|
133
|
+
ct as Checkbox,
|
|
134
|
+
wo as CodeHighlighter,
|
|
135
|
+
ut as Col,
|
|
136
|
+
St as Collapse,
|
|
137
|
+
gt as ColorPicker,
|
|
138
|
+
Ao as Compact,
|
|
139
|
+
Po as ConfigProvider,
|
|
140
|
+
ht as DatePicker,
|
|
141
|
+
dt as Descriptions,
|
|
142
|
+
Ct as Divider,
|
|
143
|
+
wt as Drawer,
|
|
144
|
+
Tt as Dropdown,
|
|
145
|
+
Do as DynamicIcon,
|
|
146
|
+
Se as Empty,
|
|
147
|
+
At as Flex,
|
|
148
|
+
Mo as FlipText,
|
|
149
|
+
kt as FloatButton,
|
|
150
|
+
Bo as Grid,
|
|
151
|
+
Go as Group,
|
|
152
|
+
vo as Icon,
|
|
153
|
+
Ro as IconButton,
|
|
154
|
+
Pt as Image,
|
|
155
|
+
It as Input,
|
|
156
|
+
Dt as InputNumber,
|
|
157
|
+
zo as Keyboard,
|
|
158
|
+
ir as Link,
|
|
159
|
+
Ft as List,
|
|
160
|
+
Wo as Loader,
|
|
161
|
+
Mt as Mentions,
|
|
162
|
+
bt as Menu,
|
|
163
|
+
Bt as Modal,
|
|
164
|
+
Ho as OperationButton,
|
|
165
|
+
Ot as Pagination,
|
|
166
|
+
pr as Paragraph,
|
|
167
|
+
Qo as PermissionGate,
|
|
168
|
+
Gt as Popconfirm,
|
|
169
|
+
Nt as Popover,
|
|
170
|
+
vt as Progress,
|
|
171
|
+
Lt as QRCode,
|
|
172
|
+
Rt as Radio,
|
|
173
|
+
yt as Rate,
|
|
174
|
+
zt as Result,
|
|
175
|
+
Et as Row,
|
|
176
|
+
jo as ScrollArea,
|
|
177
|
+
Wt as Segmented,
|
|
178
|
+
Vt as Select,
|
|
179
|
+
Ht as Skeleton,
|
|
180
|
+
Kt as Slider,
|
|
181
|
+
Be as Space,
|
|
182
|
+
Jo as SparklesText,
|
|
183
|
+
Qt as Spin,
|
|
184
|
+
Yo as SplitText,
|
|
185
|
+
Ut as Splitter,
|
|
186
|
+
_o as Stack,
|
|
187
|
+
jt as Statistic,
|
|
188
|
+
qt as Steps,
|
|
189
|
+
Jt as Switch,
|
|
190
|
+
or as Table,
|
|
191
|
+
Xt as Tabs,
|
|
192
|
+
Yt as Tag,
|
|
193
|
+
mr as Text,
|
|
194
|
+
Zt as TimePicker,
|
|
195
|
+
_t as Timeline,
|
|
196
|
+
sr as Title,
|
|
197
|
+
$t as Tooltip,
|
|
198
|
+
oe as Tour,
|
|
199
|
+
re as Transfer,
|
|
200
|
+
te as Tree,
|
|
201
|
+
ee as TreeSelect,
|
|
202
|
+
tr as TypingAnimation,
|
|
203
|
+
nr as Upload,
|
|
204
|
+
ie as Watermark,
|
|
205
|
+
lr as breakpoints,
|
|
206
|
+
cr as closeAllMessages,
|
|
207
|
+
wr as closeAllNotifications,
|
|
208
|
+
Dr as colors,
|
|
209
|
+
ae as connectCharts,
|
|
210
|
+
he as createFormOptions,
|
|
211
|
+
ne as disconnectCharts,
|
|
212
|
+
Fr as fullSizes,
|
|
213
|
+
Lr as getSpacingValue,
|
|
214
|
+
zr as globalCssVars,
|
|
215
|
+
Wr as isFragment,
|
|
216
|
+
Hr as isPresetColor,
|
|
217
|
+
Kr as isSemanticColor,
|
|
218
|
+
Rr as mapSize,
|
|
219
|
+
Ge as pageSizeOptions,
|
|
220
|
+
Mr as presetColors,
|
|
221
|
+
Ur as resolveBreakpointValue,
|
|
222
|
+
br as semanticColors,
|
|
223
|
+
Br as semanticSceneIcons,
|
|
224
|
+
Or as semanticSceneLabels,
|
|
225
|
+
Gr as semanticScenes,
|
|
226
|
+
qr as showConfirm,
|
|
227
|
+
Jr as showErrorAlert,
|
|
228
|
+
ur as showErrorMessage,
|
|
229
|
+
Tr as showErrorNotification,
|
|
230
|
+
Xr as showInfoAlert,
|
|
231
|
+
Sr as showInfoMessage,
|
|
232
|
+
Ar as showInfoNotification,
|
|
233
|
+
gr as showLoadingMessage,
|
|
234
|
+
Yr as showSuccessAlert,
|
|
235
|
+
hr as showSuccessMessage,
|
|
236
|
+
kr as showSuccessNotification,
|
|
237
|
+
Zr as showWarningAlert,
|
|
238
|
+
dr as showWarningMessage,
|
|
239
|
+
Pr as showWarningNotification,
|
|
240
|
+
Nr as sizes,
|
|
241
|
+
le as useChart,
|
|
242
|
+
Me as useDataOptionsSelect,
|
|
243
|
+
Le as useDataOptionsTree,
|
|
244
|
+
ye as useDataOptionsTreeSelect,
|
|
245
|
+
we as useForm,
|
|
246
|
+
Ae as useFormContext,
|
|
247
|
+
de as useFormStore,
|
|
248
|
+
De as useGridCollapsed,
|
|
249
|
+
ce as useIsDarkMode,
|
|
250
|
+
Ne as usePaginationProps,
|
|
251
|
+
$r as useThemeTokens,
|
|
252
|
+
ke as withFieldGroup,
|
|
253
|
+
Pe as withForm
|
|
254
|
+
};
|
package/dist/es/input/index.js
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const keyboardStyle = /* @__PURE__ */ css({
|
|
10
|
-
"--vef-keyboard-size": globalCssVars.fontSize,
|
|
1
|
+
import { jsx as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { css as e } from "@emotion/react";
|
|
3
|
+
import { useMemo as Z } from "react";
|
|
4
|
+
import "../_base/index.js";
|
|
5
|
+
import "./props.js";
|
|
6
|
+
import { globalCssVars as b } from "../_base/constants/css-vars.js";
|
|
7
|
+
const t = /* @__PURE__ */ e({
|
|
8
|
+
"--vef-keyboard-size": b.fontSize,
|
|
11
9
|
"--vef-keyboard-height": "1.6em",
|
|
12
|
-
fontFamily:
|
|
10
|
+
fontFamily: b.fontFamilyCode,
|
|
13
11
|
fontWeight: "bold",
|
|
14
12
|
fontSize: "var(--vef-keyboard-size)",
|
|
15
13
|
lineHeight: 1,
|
|
16
|
-
color:
|
|
17
|
-
borderRadius:
|
|
18
|
-
border: `${
|
|
14
|
+
color: b.colorTextLabel,
|
|
15
|
+
borderRadius: b.borderRadiusSm,
|
|
16
|
+
border: `${b.lineWidth} ${b.lineType}`,
|
|
19
17
|
borderBlockEndWidth: "3px",
|
|
20
|
-
borderColor:
|
|
21
|
-
backgroundColor:
|
|
18
|
+
borderColor: b.colorBorder,
|
|
19
|
+
backgroundColor: b.colorFillQuaternary,
|
|
22
20
|
unicodeBidi: "embed",
|
|
23
21
|
textAlign: "center",
|
|
24
22
|
paddingInline: "0.45em",
|
|
@@ -27,18 +25,17 @@ const keyboardStyle = /* @__PURE__ */ css({
|
|
|
27
25
|
alignItems: "center",
|
|
28
26
|
justifyContent: "center"
|
|
29
27
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy92ZW51cy9WRUYvdmVmLWZyYW1ld29yay1yZWFjdC9wYWNrYWdlcy9jb21wb25lbnRzL3NyYy9rZXlib2FyZC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT3NCIiwiZmlsZSI6Ii9Vc2Vycy92ZW51cy9WRUYvdmVmLWZyYW1ld29yay1yZWFjdC9wYWNrYWdlcy9jb21wb25lbnRzL3NyYy9rZXlib2FyZC9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEtleWJvYXJkUHJvcHMgfSBmcm9tIFwiLi9wcm9wc1wiO1xuXG5pbXBvcnQgeyBjc3MgfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3RcIjtcbmltcG9ydCB7IHVzZU1lbW8gfSBmcm9tIFwicmVhY3RcIjtcblxuaW1wb3J0IHsgZ2xvYmFsQ3NzVmFycyB9IGZyb20gXCIuLi9fYmFzZVwiO1xuXG5jb25zdCBrZXlib2FyZFN0eWxlID0gY3NzKHtcbiAgXCItLXZlZi1rZXlib2FyZC1zaXplXCI6IGdsb2JhbENzc1ZhcnMuZm9udFNpemUsXG4gIFwiLS12ZWYta2V5Ym9hcmQtaGVpZ2h0XCI6IFwiMS42ZW1cIixcbiAgZm9udEZhbWlseTogZ2xvYmFsQ3NzVmFycy5mb250RmFtaWx5Q29kZSxcbiAgZm9udFdlaWdodDogXCJib2xkXCIsXG4gIGZvbnRTaXplOiBcInZhcigtLXZlZi1rZXlib2FyZC1zaXplKVwiLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBjb2xvcjogZ2xvYmFsQ3NzVmFycy5jb2xvclRleHRMYWJlbCxcbiAgYm9yZGVyUmFkaXVzOiBnbG9iYWxDc3NWYXJzLmJvcmRlclJhZGl1c1NtLFxuICBib3JkZXI6IGAke2dsb2JhbENzc1ZhcnMubGluZVdpZHRofSAke2dsb2JhbENzc1ZhcnMubGluZVR5cGV9YCxcbiAgYm9yZGVyQmxvY2tFbmRXaWR0aDogXCIzcHhcIixcbiAgYm9yZGVyQ29sb3I6IGdsb2JhbENzc1ZhcnMuY29sb3JCb3JkZXIsXG4gIGJhY2tncm91bmRDb2xvcjogZ2xvYmFsQ3NzVmFycy5jb2xvckZpbGxRdWF0ZXJuYXJ5LFxuICB1bmljb2RlQmlkaTogXCJlbWJlZFwiLFxuICB0ZXh0QWxpZ246IFwiY2VudGVyXCIsXG4gIHBhZGRpbmdJbmxpbmU6IFwiMC40NWVtXCIsXG4gIGhlaWdodDogXCJ2YXIoLS12ZWYta2V5Ym9hcmQtaGVpZ2h0KVwiLFxuICBkaXNwbGF5OiBcImlubGluZS1mbGV4XCIsXG4gIGFsaWduSXRlbXM6IFwiY2VudGVyXCIsXG4gIGp1c3RpZnlDb250ZW50OiBcImNlbnRlclwiXG59KTtcblxuZXhwb3J0IGZ1bmN0aW9uIEtleWJvYXJkKHtcbiAgc2l6ZSA9IFwibWVkaXVtXCIsXG4gIHN0eWxlLFxuICAuLi5wcm9wc1xufTogS2V5Ym9hcmRQcm9wcykge1xuICBjb25zdCBtZXJnZWRTdHlsZSA9IHVzZU1lbW8oKCkgPT4ge1xuICAgIHJldHVybiB7XG4gICAgICAuLi5zdHlsZSxcbiAgICAgIFwiLS12ZWYta2V5Ym9hcmQtc2l6ZVwiOiBzaXplID09PSBcInNtYWxsXCIgPyBnbG9iYWxDc3NWYXJzLmZvbnRTaXplU20gOiBzaXplID09PSBcImxhcmdlXCIgPyBnbG9iYWxDc3NWYXJzLmZvbnRTaXplTGcgOiBnbG9iYWxDc3NWYXJzLmZvbnRTaXplXG4gICAgfTtcbiAgfSwgW3NpemUsIHN0eWxlXSk7XG5cbiAgcmV0dXJuIChcbiAgICA8a2JkXG4gICAgICBjc3M9e2tleWJvYXJkU3R5bGV9XG4gICAgICBzdHlsZT17bWVyZ2VkU3R5bGV9XG4gICAgICB7Li4ucHJvcHN9XG4gICAgLz5cbiAgKTtcbn1cblxuZXhwb3J0IHsgdHlwZSBLZXlib2FyZFByb3BzIH0gZnJvbSBcIi4vcHJvcHNcIjtcbiJdfQ== */");
|
|
30
|
-
function
|
|
31
|
-
size = "medium",
|
|
32
|
-
style,
|
|
33
|
-
...
|
|
28
|
+
function n({
|
|
29
|
+
size: c = "medium",
|
|
30
|
+
style: i,
|
|
31
|
+
...l
|
|
34
32
|
}) {
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}, [size, style]);
|
|
41
|
-
return /* @__PURE__ */ jsx("kbd", { css: keyboardStyle, style: mergedStyle, ...props });
|
|
33
|
+
const I = Z(() => ({
|
|
34
|
+
...i,
|
|
35
|
+
"--vef-keyboard-size": c === "small" ? b.fontSizeSm : c === "large" ? b.fontSizeLg : b.fontSize
|
|
36
|
+
}), [c, i]);
|
|
37
|
+
return /* @__PURE__ */ m("kbd", { css: t, style: I, ...l });
|
|
42
38
|
}
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
export {
|
|
40
|
+
n as Keyboard
|
|
41
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/dist/es/list/index.js
CHANGED
package/dist/es/loader/index.js
CHANGED
|
@@ -1,44 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
description,
|
|
16
|
-
descriptionSize
|
|
1
|
+
import { jsxs as f, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { isNumber as i } from "@vef-framework/shared";
|
|
3
|
+
import { useMemo as m } from "react";
|
|
4
|
+
import "../_base/index.js";
|
|
5
|
+
import { Center as l } from "../center/index.js";
|
|
6
|
+
import { FlipText as s } from "../flip-text/index.js";
|
|
7
|
+
import "../spin/index.js";
|
|
8
|
+
import "./props.js";
|
|
9
|
+
import { Spin as u } from "antd";
|
|
10
|
+
import { fullHeight as a } from "../_base/styles/common.js";
|
|
11
|
+
function F({
|
|
12
|
+
size: r = "default",
|
|
13
|
+
description: o,
|
|
14
|
+
descriptionSize: t
|
|
17
15
|
}) {
|
|
18
|
-
const
|
|
19
|
-
|
|
16
|
+
const n = m(() => i(r) ? {
|
|
17
|
+
style: {
|
|
18
|
+
"--vef-spin-dot-size": `${r}px`
|
|
19
|
+
},
|
|
20
|
+
size: "default"
|
|
21
|
+
} : {
|
|
22
|
+
size: r
|
|
23
|
+
}, [r]), p = m(() => {
|
|
24
|
+
if (i(t))
|
|
20
25
|
return {
|
|
21
|
-
|
|
22
|
-
"--vef-spin-dot-size": `${size}px`
|
|
23
|
-
},
|
|
24
|
-
size: "default"
|
|
26
|
+
fontSize: t
|
|
25
27
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
}, [size]);
|
|
31
|
-
const descriptionStyle = useMemo(() => {
|
|
32
|
-
if (isNumber(descriptionSize)) {
|
|
33
|
-
return {
|
|
34
|
-
fontSize: descriptionSize
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
}, [descriptionSize]);
|
|
38
|
-
return /* @__PURE__ */ jsxs(Center, { css: fullHeight, gap: "large", orientation: "vertical", children: [
|
|
39
|
-
/* @__PURE__ */ jsx(Spin, { ...spinProps }),
|
|
40
|
-
description && /* @__PURE__ */ jsx(FlipText, { duration: 1, repeat: Infinity, style: descriptionStyle, children: description })
|
|
28
|
+
}, [t]);
|
|
29
|
+
return /* @__PURE__ */ f(l, { css: a, gap: "large", orientation: "vertical", children: [
|
|
30
|
+
/* @__PURE__ */ e(u, { ...n }),
|
|
31
|
+
o && /* @__PURE__ */ e(s, { duration: 1, repeat: 1 / 0, style: p, children: o })
|
|
41
32
|
] });
|
|
42
33
|
}
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
export {
|
|
35
|
+
F as Loader
|
|
36
|
+
};
|
package/dist/es/loader/props.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/dist/es/menu/index.js
CHANGED
package/dist/es/modal/index.js
CHANGED