@tiny-design/react 1.0.4
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/es/_utils/components.js +205 -0
- package/es/_utils/components.js.map +1 -0
- package/es/_utils/dom.d.ts +5 -0
- package/es/_utils/dom.js +31 -0
- package/es/_utils/dom.js.map +1 -0
- package/es/_utils/general.js +24 -0
- package/es/_utils/general.js.map +1 -0
- package/es/_utils/hooks.js +33 -0
- package/es/_utils/hooks.js.map +1 -0
- package/es/_utils/object.js +29 -0
- package/es/_utils/object.js.map +1 -0
- package/es/_utils/props.d.ts +14 -0
- package/es/_utils/use-locale.d.ts +7 -0
- package/es/_utils/use-locale.js +13 -0
- package/es/_utils/use-locale.js.map +1 -0
- package/es/_utils/use-theme.d.ts +11 -0
- package/es/_utils/use-theme.js +53 -0
- package/es/_utils/use-theme.js.map +1 -0
- package/es/_utils/use-virtual-scroll.js +30 -0
- package/es/_utils/use-virtual-scroll.js.map +1 -0
- package/es/_utils/useCombobox.js +82 -0
- package/es/_utils/useCombobox.js.map +1 -0
- package/es/_utils/warning.js +6 -0
- package/es/_utils/warning.js.map +1 -0
- package/es/alert/alert.d.ts +8 -0
- package/es/alert/alert.js +87 -0
- package/es/alert/alert.js.map +1 -0
- package/es/alert/index.d.ts +1 -0
- package/es/alert/index.js +9 -0
- package/es/alert/index.js.map +1 -0
- package/es/alert/style/_index.scss +72 -0
- package/es/alert/style/_mixin.scss +5 -0
- package/es/alert/style/index.css +70 -0
- package/es/alert/style/index.d.ts +1 -0
- package/es/alert/style/index.js +1 -0
- package/es/alert/types.d.ts +26 -0
- package/es/anchor/anchor-context.js +7 -0
- package/es/anchor/anchor-context.js.map +1 -0
- package/es/anchor/anchor-link.d.ts +8 -0
- package/es/anchor/anchor-link.js +44 -0
- package/es/anchor/anchor-link.js.map +1 -0
- package/es/anchor/anchor.d.ts +10 -0
- package/es/anchor/anchor.js +166 -0
- package/es/anchor/anchor.js.map +1 -0
- package/es/anchor/index.d.ts +11 -0
- package/es/anchor/index.js +12 -0
- package/es/anchor/index.js.map +1 -0
- package/es/anchor/style/_index.scss +83 -0
- package/es/anchor/style/index.css +67 -0
- package/es/anchor/style/index.d.ts +1 -0
- package/es/anchor/style/index.js +2 -0
- package/es/anchor/types.d.ts +25 -0
- package/es/aspect-ratio/aspect-ratio.d.ts +8 -0
- package/es/aspect-ratio/aspect-ratio.js +32 -0
- package/es/aspect-ratio/aspect-ratio.js.map +1 -0
- package/es/aspect-ratio/index.d.ts +1 -0
- package/es/aspect-ratio/index.js +9 -0
- package/es/aspect-ratio/index.js.map +1 -0
- package/es/aspect-ratio/style/_index.scss +22 -0
- package/es/aspect-ratio/style/index.css +18 -0
- package/es/aspect-ratio/style/index.d.ts +1 -0
- package/es/aspect-ratio/style/index.js +1 -0
- package/es/aspect-ratio/types.d.ts +13 -0
- package/es/auto-complete/auto-complete.d.ts +8 -0
- package/es/auto-complete/auto-complete.js +138 -0
- package/es/auto-complete/auto-complete.js.map +1 -0
- package/es/auto-complete/index.d.ts +2 -0
- package/es/auto-complete/style/_index.scss +58 -0
- package/es/auto-complete/style/index.css +48 -0
- package/es/auto-complete/style/index.d.ts +1 -0
- package/es/auto-complete/style/index.js +1 -0
- package/es/auto-complete/types.d.ts +31 -0
- package/es/avatar/avatar-group.d.ts +10 -0
- package/es/avatar/avatar-group.js +31 -0
- package/es/avatar/avatar-group.js.map +1 -0
- package/es/avatar/avatar.d.ts +8 -0
- package/es/avatar/avatar.js +76 -0
- package/es/avatar/avatar.js.map +1 -0
- package/es/avatar/index.d.ts +11 -0
- package/es/avatar/index.js +11 -0
- package/es/avatar/index.js.map +1 -0
- package/es/avatar/style/_index.scss +80 -0
- package/es/avatar/style/index.css +65 -0
- package/es/avatar/style/index.d.ts +1 -0
- package/es/avatar/style/index.js +1 -0
- package/es/avatar/types.d.ts +27 -0
- package/es/back-top/back-top.d.ts +7 -0
- package/es/back-top/back-top.js +79 -0
- package/es/back-top/back-top.js.map +1 -0
- package/es/back-top/index.d.ts +1 -0
- package/es/back-top/index.js +9 -0
- package/es/back-top/index.js.map +1 -0
- package/es/back-top/style/_index.scss +25 -0
- package/es/back-top/style/index.css +22 -0
- package/es/back-top/style/index.d.ts +1 -0
- package/es/back-top/style/index.js +1 -0
- package/es/back-top/types.d.ts +14 -0
- package/es/badge/badge.d.ts +8 -0
- package/es/badge/badge.js +50 -0
- package/es/badge/badge.js.map +1 -0
- package/es/badge/index.d.ts +1 -0
- package/es/badge/index.js +9 -0
- package/es/badge/index.js.map +1 -0
- package/es/badge/style/_index.scss +60 -0
- package/es/badge/style/_mixin.scss +11 -0
- package/es/badge/style/index.css +85 -0
- package/es/badge/style/index.d.ts +1 -0
- package/es/badge/style/index.js +1 -0
- package/es/badge/types.d.ts +25 -0
- package/es/breadcrumb/breadcrumb-item.d.ts +11 -0
- package/es/breadcrumb/breadcrumb-item.js +25 -0
- package/es/breadcrumb/breadcrumb-item.js.map +1 -0
- package/es/breadcrumb/breadcrumb.d.ts +11 -0
- package/es/breadcrumb/breadcrumb.js +27 -0
- package/es/breadcrumb/breadcrumb.js.map +1 -0
- package/es/breadcrumb/index.d.ts +11 -0
- package/es/breadcrumb/index.js +11 -0
- package/es/breadcrumb/index.js.map +1 -0
- package/es/breadcrumb/style/_index.scss +38 -0
- package/es/breadcrumb/style/index.css +25 -0
- package/es/breadcrumb/style/index.d.ts +1 -0
- package/es/breadcrumb/style/index.js +1 -0
- package/es/breadcrumb/types.d.ts +15 -0
- package/es/button/button-group.d.ts +8 -0
- package/es/button/button-group.js +38 -0
- package/es/button/button-group.js.map +1 -0
- package/es/button/button.d.ts +8 -0
- package/es/button/button.js +48 -0
- package/es/button/button.js.map +1 -0
- package/es/button/index.d.ts +11 -0
- package/es/button/index.js +11 -0
- package/es/button/index.js.map +1 -0
- package/es/button/style/_index.scss +215 -0
- package/es/button/style/_mixin.scss +45 -0
- package/es/button/style/index.css +369 -0
- package/es/button/style/index.d.ts +1 -0
- package/es/button/style/index.js +1 -0
- package/es/button/types.d.ts +24 -0
- package/es/calendar/calendar.d.ts +8 -0
- package/es/calendar/calendar.js +199 -0
- package/es/calendar/calendar.js.map +1 -0
- package/es/calendar/index.d.ts +1 -0
- package/es/calendar/index.js +9 -0
- package/es/calendar/index.js.map +1 -0
- package/es/calendar/style/_index.scss +190 -0
- package/es/calendar/style/index.css +156 -0
- package/es/calendar/style/index.d.ts +1 -0
- package/es/calendar/style/index.js +1 -0
- package/es/calendar/types.d.ts +27 -0
- package/es/card/card-content.d.ts +11 -0
- package/es/card/card-content.js +16 -0
- package/es/card/card-content.js.map +1 -0
- package/es/card/card.d.ts +8 -0
- package/es/card/card.js +60 -0
- package/es/card/card.js.map +1 -0
- package/es/card/index.d.ts +11 -0
- package/es/card/index.js +11 -0
- package/es/card/index.js.map +1 -0
- package/es/card/style/_index.scss +57 -0
- package/es/card/style/_mixin.scss +4 -0
- package/es/card/style/index.css +48 -0
- package/es/card/style/index.d.ts +1 -0
- package/es/card/style/index.js +1 -0
- package/es/card/types.d.ts +25 -0
- package/es/carousel/carousel-item.d.ts +13 -0
- package/es/carousel/carousel-item.js +15 -0
- package/es/carousel/carousel-item.js.map +1 -0
- package/es/carousel/carousel.d.ts +8 -0
- package/es/carousel/carousel.js +226 -0
- package/es/carousel/carousel.js.map +1 -0
- package/es/carousel/index.d.ts +12 -0
- package/es/carousel/index.js +11 -0
- package/es/carousel/index.js.map +1 -0
- package/es/carousel/style/_index.scss +158 -0
- package/es/carousel/style/index.css +128 -0
- package/es/carousel/style/index.d.ts +1 -0
- package/es/carousel/style/index.js +1 -0
- package/es/carousel/types.d.ts +47 -0
- package/es/cascader/cascader.d.ts +8 -0
- package/es/cascader/cascader.js +196 -0
- package/es/cascader/cascader.js.map +1 -0
- package/es/cascader/index.d.ts +1 -0
- package/es/cascader/index.js +9 -0
- package/es/cascader/index.js.map +1 -0
- package/es/cascader/style/_index.scss +162 -0
- package/es/cascader/style/index.css +135 -0
- package/es/cascader/style/index.d.ts +1 -0
- package/es/cascader/style/index.js +1 -0
- package/es/cascader/types.d.ts +31 -0
- package/es/checkbox/checkbox-group-context.js +7 -0
- package/es/checkbox/checkbox-group-context.js.map +1 -0
- package/es/checkbox/checkbox-group.d.ts +8 -0
- package/es/checkbox/checkbox-group.js +42 -0
- package/es/checkbox/checkbox-group.js.map +1 -0
- package/es/checkbox/checkbox.d.ts +8 -0
- package/es/checkbox/checkbox.js +61 -0
- package/es/checkbox/checkbox.js.map +1 -0
- package/es/checkbox/index.d.ts +11 -0
- package/es/checkbox/index.js +11 -0
- package/es/checkbox/index.js.map +1 -0
- package/es/checkbox/style/_index.scss +139 -0
- package/es/checkbox/style/index.css +106 -0
- package/es/checkbox/style/index.d.ts +1 -0
- package/es/checkbox/style/index.js +1 -0
- package/es/checkbox/types.d.ts +23 -0
- package/es/col/index.d.ts +1 -0
- package/es/col/index.js +7 -0
- package/es/col/index.js.map +1 -0
- package/es/collapse/collapse-context.js +7 -0
- package/es/collapse/collapse-context.js.map +1 -0
- package/es/collapse/collapse-panel.d.ts +11 -0
- package/es/collapse/collapse-panel.js +96 -0
- package/es/collapse/collapse-panel.js.map +1 -0
- package/es/collapse/collapse.d.ts +8 -0
- package/es/collapse/collapse.js +68 -0
- package/es/collapse/collapse.js.map +1 -0
- package/es/collapse/index.d.ts +11 -0
- package/es/collapse/index.js +11 -0
- package/es/collapse/index.js.map +1 -0
- package/es/collapse/style/_index.scss +101 -0
- package/es/collapse/style/index.css +83 -0
- package/es/collapse/style/index.d.ts +1 -0
- package/es/collapse/style/index.js +1 -0
- package/es/collapse/types.d.ts +28 -0
- package/es/collapse-transition/collapse-transition.js +97 -0
- package/es/collapse-transition/collapse-transition.js.map +1 -0
- package/es/collapse-transition/index.js +9 -0
- package/es/collapse-transition/index.js.map +1 -0
- package/es/collapse-transition/style/_index.scss +4 -0
- package/es/collapse-transition/style/index.css +4 -0
- package/es/collapse-transition/style/index.d.ts +1 -0
- package/es/collapse-transition/style/index.js +1 -0
- package/es/color-picker/color-picker.d.ts +8 -0
- package/es/color-picker/color-picker.js +250 -0
- package/es/color-picker/color-picker.js.map +1 -0
- package/es/color-picker/index.d.ts +1 -0
- package/es/color-picker/index.js +9 -0
- package/es/color-picker/index.js.map +1 -0
- package/es/color-picker/style/_index.scss +196 -0
- package/es/color-picker/style/index.css +169 -0
- package/es/color-picker/style/index.d.ts +1 -0
- package/es/color-picker/style/index.js +1 -0
- package/es/color-picker/types.d.ts +23 -0
- package/es/color-picker/utils.js +113 -0
- package/es/color-picker/utils.js.map +1 -0
- package/es/config-provider/config-context.d.ts +18 -0
- package/es/config-provider/config-context.js +12 -0
- package/es/config-provider/config-context.js.map +1 -0
- package/es/config-provider/config-provider.d.ts +10 -0
- package/es/config-provider/config-provider.js +29 -0
- package/es/config-provider/config-provider.js.map +1 -0
- package/es/config-provider/index.d.ts +1 -0
- package/es/config-provider/index.js +7 -0
- package/es/config-provider/index.js.map +1 -0
- package/es/config-provider/types.d.ts +10 -0
- package/es/copy-to-clipboard/copy-to-clipboard.d.ts +11 -0
- package/es/copy-to-clipboard/copy-to-clipboard.js +45 -0
- package/es/copy-to-clipboard/copy-to-clipboard.js.map +1 -0
- package/es/copy-to-clipboard/index.d.ts +1 -0
- package/es/copy-to-clipboard/index.js +7 -0
- package/es/copy-to-clipboard/index.js.map +1 -0
- package/es/copy-to-clipboard/types.d.ts +11 -0
- package/es/countdown/countdown.d.ts +8 -0
- package/es/countdown/countdown.js +65 -0
- package/es/countdown/countdown.js.map +1 -0
- package/es/countdown/index.d.ts +1 -0
- package/es/countdown/index.js +7 -0
- package/es/countdown/index.js.map +1 -0
- package/es/countdown/types.d.ts +20 -0
- package/es/date-picker/date-picker.d.ts +11 -0
- package/es/date-picker/date-picker.js +228 -0
- package/es/date-picker/date-picker.js.map +1 -0
- package/es/date-picker/index.d.ts +2 -0
- package/es/date-picker/index.js +9 -0
- package/es/date-picker/index.js.map +1 -0
- package/es/date-picker/picker-day.js +42 -0
- package/es/date-picker/picker-day.js.map +1 -0
- package/es/date-picker/picker-header.js +74 -0
- package/es/date-picker/picker-header.js.map +1 -0
- package/es/date-picker/picker-month.js +42 -0
- package/es/date-picker/picker-month.js.map +1 -0
- package/es/date-picker/picker-year.js +46 -0
- package/es/date-picker/picker-year.js.map +1 -0
- package/es/date-picker/style/_index.scss +272 -0
- package/es/date-picker/style/index.css +221 -0
- package/es/date-picker/style/index.d.ts +1 -0
- package/es/date-picker/style/index.js +1 -0
- package/es/date-picker/types.d.ts +45 -0
- package/es/date-picker/utils.js +102 -0
- package/es/date-picker/utils.js.map +1 -0
- package/es/descriptions/col.js +50 -0
- package/es/descriptions/col.js.map +1 -0
- package/es/descriptions/descriptions-item.d.ts +10 -0
- package/es/descriptions/descriptions-item.js +9 -0
- package/es/descriptions/descriptions-item.js.map +1 -0
- package/es/descriptions/descriptions.d.ts +11 -0
- package/es/descriptions/descriptions.js +63 -0
- package/es/descriptions/descriptions.js.map +1 -0
- package/es/descriptions/index.d.ts +11 -0
- package/es/descriptions/index.js +11 -0
- package/es/descriptions/index.js.map +1 -0
- package/es/descriptions/row.js +32 -0
- package/es/descriptions/row.js.map +1 -0
- package/es/descriptions/style/_index.scss +116 -0
- package/es/descriptions/style/index.css +72 -0
- package/es/descriptions/style/index.d.ts +1 -0
- package/es/descriptions/style/index.js +1 -0
- package/es/descriptions/types.d.ts +20 -0
- package/es/divider/divider.d.ts +8 -0
- package/es/divider/divider.js +29 -0
- package/es/divider/divider.js.map +1 -0
- package/es/divider/index.d.ts +1 -0
- package/es/divider/index.js +9 -0
- package/es/divider/index.js.map +1 -0
- package/es/divider/style/_index.scss +80 -0
- package/es/divider/style/index.css +62 -0
- package/es/divider/style/index.d.ts +1 -0
- package/es/divider/style/index.js +1 -0
- package/es/divider/types.d.ts +14 -0
- package/es/drawer/drawer.d.ts +8 -0
- package/es/drawer/drawer.js +117 -0
- package/es/drawer/drawer.js.map +1 -0
- package/es/drawer/index.d.ts +1 -0
- package/es/drawer/index.js +10 -0
- package/es/drawer/index.js.map +1 -0
- package/es/drawer/style/_index.scss +152 -0
- package/es/drawer/style/index.css +110 -0
- package/es/drawer/style/index.d.ts +1 -0
- package/es/drawer/style/index.js +2 -0
- package/es/drawer/types.d.ts +26 -0
- package/es/dropdown/dropdown.d.ts +10 -0
- package/es/dropdown/dropdown.js +107 -0
- package/es/dropdown/dropdown.js.map +1 -0
- package/es/dropdown/index.d.ts +1 -0
- package/es/dropdown/index.js +10 -0
- package/es/dropdown/index.js.map +1 -0
- package/es/dropdown/style/_index.scss +37 -0
- package/es/dropdown/style/index.css +24 -0
- package/es/dropdown/style/index.d.ts +1 -0
- package/es/dropdown/style/index.js +2 -0
- package/es/dropdown/types.d.ts +20 -0
- package/es/empty/empty.d.ts +8 -0
- package/es/empty/empty.js +82 -0
- package/es/empty/empty.js.map +1 -0
- package/es/empty/index.d.ts +1 -0
- package/es/empty/index.js +9 -0
- package/es/empty/index.js.map +1 -0
- package/es/empty/style/_index.scss +26 -0
- package/es/empty/style/index.css +20 -0
- package/es/empty/style/index.d.ts +1 -0
- package/es/empty/style/index.js +1 -0
- package/es/empty/types.d.ts +14 -0
- package/es/flex/flex.d.ts +8 -0
- package/es/flex/flex.js +36 -0
- package/es/flex/flex.js.map +1 -0
- package/es/flex/index.d.ts +1 -0
- package/es/flex/index.js +9 -0
- package/es/flex/index.js.map +1 -0
- package/es/flex/style/_index.scss +5 -0
- package/es/flex/style/index.css +3 -0
- package/es/flex/style/index.d.ts +1 -0
- package/es/flex/style/index.js +1 -0
- package/es/flex/types.d.ts +16 -0
- package/es/flip/flip-item.d.ts +10 -0
- package/es/flip/flip-item.js +15 -0
- package/es/flip/flip-item.js.map +1 -0
- package/es/flip/flip.d.ts +11 -0
- package/es/flip/flip.js +50 -0
- package/es/flip/flip.js.map +1 -0
- package/es/flip/index.d.ts +11 -0
- package/es/flip/index.js +11 -0
- package/es/flip/index.js.map +1 -0
- package/es/flip/style/_index.scss +61 -0
- package/es/flip/style/index.css +46 -0
- package/es/flip/style/index.d.ts +1 -0
- package/es/flip/style/index.js +1 -0
- package/es/flip/types.d.ts +20 -0
- package/es/form/form-helper.js +36 -0
- package/es/form/form-helper.js.map +1 -0
- package/es/form/form-instance-context.js +8 -0
- package/es/form/form-instance-context.js.map +1 -0
- package/es/form/form-instance.d.ts +37 -0
- package/es/form/form-instance.js +75 -0
- package/es/form/form-instance.js.map +1 -0
- package/es/form/form-item.d.ts +10 -0
- package/es/form/form-item.js +136 -0
- package/es/form/form-item.js.map +1 -0
- package/es/form/form-options-context.js +12 -0
- package/es/form/form-options-context.js.map +1 -0
- package/es/form/form.d.ts +10 -0
- package/es/form/form.js +59 -0
- package/es/form/form.js.map +1 -0
- package/es/form/index.d.ts +15 -0
- package/es/form/index.js +16 -0
- package/es/form/index.js.map +1 -0
- package/es/form/style/_index.scss +93 -0
- package/es/form/style/index.css +71 -0
- package/es/form/style/index.d.ts +1 -0
- package/es/form/style/index.js +2 -0
- package/es/form/types.d.ts +67 -0
- package/es/form/use-form.d.ts +7 -0
- package/es/form/use-form.js +9 -0
- package/es/form/use-form.js.map +1 -0
- package/es/grid/col.d.ts +8 -0
- package/es/grid/col.js +48 -0
- package/es/grid/col.js.map +1 -0
- package/es/grid/row.d.ts +8 -0
- package/es/grid/row.js +52 -0
- package/es/grid/row.js.map +1 -0
- package/es/grid/style/_index.scss +90 -0
- package/es/grid/style/index.css +1562 -0
- package/es/grid/style/index.d.ts +1 -0
- package/es/grid/style/index.js +1 -0
- package/es/grid/types.d.ts +34 -0
- package/es/icon/icon.d.ts +8 -0
- package/es/icon/icon.js +25 -0
- package/es/icon/icon.js.map +1 -0
- package/es/icon/index.d.ts +1 -0
- package/es/icon/index.js +9 -0
- package/es/icon/index.js.map +1 -0
- package/es/icon/style/_index.scss +16 -0
- package/es/icon/style/index.css +987 -0
- package/es/icon/style/index.d.ts +1 -0
- package/es/icon/style/index.js +1 -0
- package/es/icon/types.d.ts +15 -0
- package/es/image/image.d.ts +10 -0
- package/es/image/image.js +49 -0
- package/es/image/image.js.map +1 -0
- package/es/image/index.d.ts +1 -0
- package/es/image/index.js +9 -0
- package/es/image/index.js.map +1 -0
- package/es/image/style/_index.scss +9 -0
- package/es/image/style/index.css +6 -0
- package/es/image/style/index.d.ts +1 -0
- package/es/image/style/index.js +1 -0
- package/es/image/types.d.ts +18 -0
- package/es/index.d.ts +88 -0
- package/es/index.js +88 -0
- package/es/input/index.d.ts +13 -0
- package/es/input/index.js +13 -0
- package/es/input/index.js.map +1 -0
- package/es/input/input-group-addon.d.ts +11 -0
- package/es/input/input-group-addon.js +35 -0
- package/es/input/input-group-addon.js.map +1 -0
- package/es/input/input-group.d.ts +11 -0
- package/es/input/input-group.js +28 -0
- package/es/input/input-group.js.map +1 -0
- package/es/input/input.d.ts +8 -0
- package/es/input/input.js +92 -0
- package/es/input/input.js.map +1 -0
- package/es/input/style/_index.scss +180 -0
- package/es/input/style/_mixin.scss +38 -0
- package/es/input/style/index.css +157 -0
- package/es/input/style/index.d.ts +1 -0
- package/es/input/style/index.js +1 -0
- package/es/input/types.d.ts +31 -0
- package/es/input-number/index.d.ts +1 -0
- package/es/input-number/index.js +10 -0
- package/es/input-number/index.js.map +1 -0
- package/es/input-number/input-number.d.ts +8 -0
- package/es/input-number/input-number.js +98 -0
- package/es/input-number/input-number.js.map +1 -0
- package/es/input-number/style/_index.scss +142 -0
- package/es/input-number/style/index.css +123 -0
- package/es/input-number/style/index.d.ts +1 -0
- package/es/input-number/style/index.js +2 -0
- package/es/input-number/types.d.ts +21 -0
- package/es/input-password/index.d.ts +1 -0
- package/es/input-password/index.js +10 -0
- package/es/input-password/index.js.map +1 -0
- package/es/input-password/input-password.d.ts +7 -0
- package/es/input-password/input-password.js +40 -0
- package/es/input-password/input-password.js.map +1 -0
- package/es/input-password/style/_index.scss +20 -0
- package/es/input-password/style/index.css +14 -0
- package/es/input-password/style/index.d.ts +1 -0
- package/es/input-password/style/index.js +2 -0
- package/es/input-password/types.d.ts +12 -0
- package/es/intl-provider/index.d.ts +1 -0
- package/es/intl-provider/index.js +7 -0
- package/es/intl-provider/index.js.map +1 -0
- package/es/intl-provider/intl-context.js +8 -0
- package/es/intl-provider/intl-context.js.map +1 -0
- package/es/intl-provider/intl-provider.d.ts +12 -0
- package/es/intl-provider/intl-provider.js +15 -0
- package/es/intl-provider/intl-provider.js.map +1 -0
- package/es/intl-provider/with-locale.d.ts +14 -0
- package/es/intl-provider/with-locale.js +19 -0
- package/es/intl-provider/with-locale.js.map +1 -0
- package/es/keyboard/index.d.ts +1 -0
- package/es/keyboard/index.js +9 -0
- package/es/keyboard/index.js.map +1 -0
- package/es/keyboard/keyboard.d.ts +8 -0
- package/es/keyboard/keyboard.js +21 -0
- package/es/keyboard/keyboard.js.map +1 -0
- package/es/keyboard/style/_index.scss +23 -0
- package/es/keyboard/style/index.css +22 -0
- package/es/keyboard/style/index.d.ts +1 -0
- package/es/keyboard/style/index.js +1 -0
- package/es/keyboard/types.d.ts +10 -0
- package/es/layout/index.d.ts +14 -0
- package/es/layout/index.js +14 -0
- package/es/layout/index.js.map +1 -0
- package/es/layout/layout.d.ts +14 -0
- package/es/layout/layout.js +65 -0
- package/es/layout/layout.js.map +1 -0
- package/es/layout/sidebar-context.js +11 -0
- package/es/layout/sidebar-context.js.map +1 -0
- package/es/layout/sidebar.d.ts +8 -0
- package/es/layout/sidebar.js +63 -0
- package/es/layout/sidebar.js.map +1 -0
- package/es/layout/style/_index.scss +82 -0
- package/es/layout/style/index.css +69 -0
- package/es/layout/style/index.d.ts +1 -0
- package/es/layout/style/index.js +1 -0
- package/es/layout/types.d.ts +20 -0
- package/es/link/index.d.ts +1 -0
- package/es/link/index.js +9 -0
- package/es/link/index.js.map +1 -0
- package/es/link/link.d.ts +8 -0
- package/es/link/link.js +34 -0
- package/es/link/link.js.map +1 -0
- package/es/link/style/_index.scss +17 -0
- package/es/link/style/index.css +11 -0
- package/es/link/style/index.d.ts +1 -0
- package/es/link/style/index.js +1 -0
- package/es/link/types.d.ts +13 -0
- package/es/list/index.d.ts +13 -0
- package/es/list/index.js +13 -0
- package/es/list/index.js.map +1 -0
- package/es/list/list-item-meta.d.ts +11 -0
- package/es/list/list-item-meta.js +32 -0
- package/es/list/list-item-meta.js.map +1 -0
- package/es/list/list-item.d.ts +8 -0
- package/es/list/list-item.js +38 -0
- package/es/list/list-item.js.map +1 -0
- package/es/list/list.d.ts +8 -0
- package/es/list/list.js +143 -0
- package/es/list/list.js.map +1 -0
- package/es/list/style/_index.scss +141 -0
- package/es/list/style/index.css +108 -0
- package/es/list/style/index.d.ts +1 -0
- package/es/list/style/index.js +1 -0
- package/es/list/types.d.ts +47 -0
- package/es/loader/index.d.ts +1 -0
- package/es/loader/index.js +9 -0
- package/es/loader/index.js.map +1 -0
- package/es/loader/indicator.js +19 -0
- package/es/loader/indicator.js.map +1 -0
- package/es/loader/loader.d.ts +8 -0
- package/es/loader/loader.js +42 -0
- package/es/loader/loader.js.map +1 -0
- package/es/loader/style/_index.scss +142 -0
- package/es/loader/style/index.css +135 -0
- package/es/loader/style/index.d.ts +1 -0
- package/es/loader/style/index.js +1 -0
- package/es/loader/types.d.ts +21 -0
- package/es/loading-bar/index.d.ts +9 -0
- package/es/loading-bar/index.js +79 -0
- package/es/loading-bar/index.js.map +1 -0
- package/es/loading-bar/loading-bar.js +28 -0
- package/es/loading-bar/loading-bar.js.map +1 -0
- package/es/loading-bar/style/_index.scss +17 -0
- package/es/loading-bar/style/index.css +14 -0
- package/es/loading-bar/style/index.d.ts +1 -0
- package/es/loading-bar/style/index.js +1 -0
- package/es/locale/en_US.d.ts +7 -0
- package/es/locale/en_US.js +64 -0
- package/es/locale/en_US.js.map +1 -0
- package/es/locale/types.d.ts +44 -0
- package/es/locale/zh_CN.d.ts +7 -0
- package/es/locale/zh_CN.js +64 -0
- package/es/locale/zh_CN.js.map +1 -0
- package/es/menu/index.d.ts +17 -0
- package/es/menu/index.js +19 -0
- package/es/menu/index.js.map +1 -0
- package/es/menu/menu-context.js +11 -0
- package/es/menu/menu-context.js.map +1 -0
- package/es/menu/menu-divider.d.ts +10 -0
- package/es/menu/menu-divider.js +15 -0
- package/es/menu/menu-divider.js.map +1 -0
- package/es/menu/menu-item-group.d.ts +10 -0
- package/es/menu/menu-item-group.js +43 -0
- package/es/menu/menu-item-group.js.map +1 -0
- package/es/menu/menu-item.d.ts +10 -0
- package/es/menu/menu-item.js +49 -0
- package/es/menu/menu-item.js.map +1 -0
- package/es/menu/menu.d.ts +10 -0
- package/es/menu/menu.js +51 -0
- package/es/menu/menu.js.map +1 -0
- package/es/menu/style/_index.scss +183 -0
- package/es/menu/style/_mixin.scss +16 -0
- package/es/menu/style/index.css +158 -0
- package/es/menu/style/index.d.ts +1 -0
- package/es/menu/style/index.js +3 -0
- package/es/menu/sub-menu-context.js +7 -0
- package/es/menu/sub-menu-context.js.map +1 -0
- package/es/menu/sub-menu.d.ts +10 -0
- package/es/menu/sub-menu.js +135 -0
- package/es/menu/sub-menu.js.map +1 -0
- package/es/menu/types.d.ts +37 -0
- package/es/message/index.d.ts +1 -0
- package/es/message/index.js +9 -0
- package/es/message/index.js.map +1 -0
- package/es/message/message-container.d.ts +7 -0
- package/es/message/message-container.js +69 -0
- package/es/message/message-container.js.map +1 -0
- package/es/message/message.js +81 -0
- package/es/message/message.js.map +1 -0
- package/es/message/style/_index.scss +59 -0
- package/es/message/style/index.css +73 -0
- package/es/message/style/index.d.ts +1 -0
- package/es/message/style/index.js +1 -0
- package/es/modal/index.d.ts +12 -0
- package/es/modal/index.js +14 -0
- package/es/modal/index.js.map +1 -0
- package/es/modal/modal-context.d.ts +37 -0
- package/es/modal/modal-context.js +68 -0
- package/es/modal/modal-context.js.map +1 -0
- package/es/modal/modal.d.ts +8 -0
- package/es/modal/modal.js +149 -0
- package/es/modal/modal.js.map +1 -0
- package/es/modal/style/_index.scss +116 -0
- package/es/modal/style/index.css +94 -0
- package/es/modal/style/index.d.ts +1 -0
- package/es/modal/style/index.js +3 -0
- package/es/modal/types.d.ts +38 -0
- package/es/native-select/index.d.ts +13 -0
- package/es/native-select/index.js +13 -0
- package/es/native-select/index.js.map +1 -0
- package/es/native-select/native-opt-group.d.ts +9 -0
- package/es/native-select/native-opt-group.js +15 -0
- package/es/native-select/native-opt-group.js.map +1 -0
- package/es/native-select/native-option.d.ts +9 -0
- package/es/native-select/native-option.js +14 -0
- package/es/native-select/native-option.js.map +1 -0
- package/es/native-select/native-select.d.ts +8 -0
- package/es/native-select/native-select.js +28 -0
- package/es/native-select/native-select.js.map +1 -0
- package/es/native-select/style/_index.scss +65 -0
- package/es/native-select/style/_mixin.scss +4 -0
- package/es/native-select/style/index.css +55 -0
- package/es/native-select/style/index.d.ts +1 -0
- package/es/native-select/style/index.js +1 -0
- package/es/native-select/types.d.ts +13 -0
- package/es/notification/index.js +9 -0
- package/es/notification/index.js.map +1 -0
- package/es/notification/notification-container.d.ts +5 -0
- package/es/notification/notification-container.js +78 -0
- package/es/notification/notification-container.js.map +1 -0
- package/es/notification/notification.js +82 -0
- package/es/notification/notification.js.map +1 -0
- package/es/notification/style/_index.scss +66 -0
- package/es/notification/style/index.css +57 -0
- package/es/notification/style/index.d.ts +1 -0
- package/es/notification/style/index.js +1 -0
- package/es/overlay/index.d.ts +1 -0
- package/es/overlay/index.js +9 -0
- package/es/overlay/index.js.map +1 -0
- package/es/overlay/overlay.d.ts +10 -0
- package/es/overlay/overlay.js +62 -0
- package/es/overlay/overlay.js.map +1 -0
- package/es/overlay/style/_index.scss +51 -0
- package/es/overlay/style/index.css +36 -0
- package/es/overlay/style/index.d.ts +1 -0
- package/es/overlay/style/index.js +1 -0
- package/es/overlay/types.d.ts +21 -0
- package/es/pagination/index.d.ts +1 -0
- package/es/pagination/index.js +9 -0
- package/es/pagination/index.js.map +1 -0
- package/es/pagination/pagination.d.ts +7 -0
- package/es/pagination/pagination.js +133 -0
- package/es/pagination/pagination.js.map +1 -0
- package/es/pagination/style/_index.scss +143 -0
- package/es/pagination/style/index.css +115 -0
- package/es/pagination/style/index.d.ts +1 -0
- package/es/pagination/style/index.js +1 -0
- package/es/pagination/types.d.ts +20 -0
- package/es/pop-confirm/index.d.ts +1 -0
- package/es/pop-confirm/index.js +11 -0
- package/es/pop-confirm/index.js.map +1 -0
- package/es/pop-confirm/pop-confirm.d.ts +10 -0
- package/es/pop-confirm/pop-confirm.js +67 -0
- package/es/pop-confirm/pop-confirm.js.map +1 -0
- package/es/pop-confirm/style/_index.scss +25 -0
- package/es/pop-confirm/style/index.css +18 -0
- package/es/pop-confirm/style/index.d.ts +1 -0
- package/es/pop-confirm/style/index.js +3 -0
- package/es/pop-confirm/types.d.ts +14 -0
- package/es/popover/index.d.ts +1 -0
- package/es/popover/index.js +10 -0
- package/es/popover/index.js.map +1 -0
- package/es/popover/popover.d.ts +8 -0
- package/es/popover/popover.js +35 -0
- package/es/popover/popover.js.map +1 -0
- package/es/popover/style/_index.scss +42 -0
- package/es/popover/style/index.css +24 -0
- package/es/popover/style/index.d.ts +1 -0
- package/es/popover/style/index.js +2 -0
- package/es/popover/types.d.ts +14 -0
- package/es/popup/index.js +10 -0
- package/es/popup/index.js.map +1 -0
- package/es/popup/popup.js +197 -0
- package/es/popup/popup.js.map +1 -0
- package/es/popup/style/_index.scss +84 -0
- package/es/popup/style/index.css +57 -0
- package/es/popup/style/index.d.ts +1 -0
- package/es/popup/style/index.js +2 -0
- package/es/popup/types.d.ts +36 -0
- package/es/portal/index.js +7 -0
- package/es/portal/index.js.map +1 -0
- package/es/portal/portal.js +12 -0
- package/es/portal/portal.js.map +1 -0
- package/es/progress/bar.js +58 -0
- package/es/progress/bar.js.map +1 -0
- package/es/progress/circle.js +76 -0
- package/es/progress/circle.js.map +1 -0
- package/es/progress/index.d.ts +16 -0
- package/es/progress/index.js +13 -0
- package/es/progress/index.js.map +1 -0
- package/es/progress/style/_index.scss +170 -0
- package/es/progress/style/index.css +128 -0
- package/es/progress/style/index.d.ts +1 -0
- package/es/progress/style/index.js +1 -0
- package/es/progress/types.d.ts +36 -0
- package/es/progress/types.js +12 -0
- package/es/progress/types.js.map +1 -0
- package/es/radio/index.d.ts +11 -0
- package/es/radio/index.js +11 -0
- package/es/radio/index.js.map +1 -0
- package/es/radio/radio-group-context.js +7 -0
- package/es/radio/radio-group-context.js.map +1 -0
- package/es/radio/radio-group.d.ts +8 -0
- package/es/radio/radio-group.js +42 -0
- package/es/radio/radio-group.js.map +1 -0
- package/es/radio/radio.d.ts +8 -0
- package/es/radio/radio.js +61 -0
- package/es/radio/radio.js.map +1 -0
- package/es/radio/style/_index.scss +86 -0
- package/es/radio/style/index.css +66 -0
- package/es/radio/style/index.d.ts +1 -0
- package/es/radio/style/index.js +1 -0
- package/es/radio/types.d.ts +24 -0
- package/es/rate/index.d.ts +1 -0
- package/es/rate/index.js +9 -0
- package/es/rate/index.js.map +1 -0
- package/es/rate/rate-item.js +29 -0
- package/es/rate/rate-item.js.map +1 -0
- package/es/rate/rate.d.ts +8 -0
- package/es/rate/rate.js +88 -0
- package/es/rate/rate.js.map +1 -0
- package/es/rate/style/_index.scss +31 -0
- package/es/rate/style/index.css +23 -0
- package/es/rate/style/index.d.ts +1 -0
- package/es/rate/style/index.js +1 -0
- package/es/rate/types.d.ts +19 -0
- package/es/result/index.d.ts +1 -0
- package/es/result/index.js +9 -0
- package/es/result/index.js.map +1 -0
- package/es/result/result.d.ts +8 -0
- package/es/result/result.js +61 -0
- package/es/result/result.js.map +1 -0
- package/es/result/style/_index.scss +48 -0
- package/es/result/style/index.css +65 -0
- package/es/result/style/index.d.ts +1 -0
- package/es/result/style/index.js +1 -0
- package/es/result/types.d.ts +16 -0
- package/es/row/index.d.ts +1 -0
- package/es/row/index.js +7 -0
- package/es/row/index.js.map +1 -0
- package/es/scroll-indicator/index.d.ts +1 -0
- package/es/scroll-indicator/index.js +9 -0
- package/es/scroll-indicator/index.js.map +1 -0
- package/es/scroll-indicator/scroll-indicator.d.ts +11 -0
- package/es/scroll-indicator/scroll-indicator.js +40 -0
- package/es/scroll-indicator/scroll-indicator.js.map +1 -0
- package/es/scroll-indicator/style/_index.scss +15 -0
- package/es/scroll-indicator/style/index.css +12 -0
- package/es/scroll-indicator/style/index.d.ts +1 -0
- package/es/scroll-indicator/style/index.js +1 -0
- package/es/scroll-indicator/types.d.ts +12 -0
- package/es/segmented/index.d.ts +1 -0
- package/es/segmented/index.js +9 -0
- package/es/segmented/index.js.map +1 -0
- package/es/segmented/segmented.d.ts +8 -0
- package/es/segmented/segmented.js +76 -0
- package/es/segmented/segmented.js.map +1 -0
- package/es/segmented/style/_index.scss +93 -0
- package/es/segmented/style/index.css +79 -0
- package/es/segmented/style/index.d.ts +1 -0
- package/es/segmented/style/index.js +1 -0
- package/es/segmented/types.d.ts +23 -0
- package/es/select/index.d.ts +13 -0
- package/es/select/index.js +15 -0
- package/es/select/index.js.map +1 -0
- package/es/select/opt-group.d.ts +11 -0
- package/es/select/opt-group.js +36 -0
- package/es/select/opt-group.js.map +1 -0
- package/es/select/option.d.ts +11 -0
- package/es/select/option.js +47 -0
- package/es/select/option.js.map +1 -0
- package/es/select/select-context.js +10 -0
- package/es/select/select-context.js.map +1 -0
- package/es/select/select.d.ts +11 -0
- package/es/select/select.js +367 -0
- package/es/select/select.js.map +1 -0
- package/es/select/style/_index.scss +313 -0
- package/es/select/style/index.css +260 -0
- package/es/select/style/index.d.ts +1 -0
- package/es/select/style/index.js +3 -0
- package/es/select/types.d.ts +53 -0
- package/es/skeleton/index.d.ts +1 -0
- package/es/skeleton/index.js +9 -0
- package/es/skeleton/index.js.map +1 -0
- package/es/skeleton/skeleton.d.ts +8 -0
- package/es/skeleton/skeleton.js +28 -0
- package/es/skeleton/skeleton.js.map +1 -0
- package/es/skeleton/style/_index.scss +42 -0
- package/es/skeleton/style/index.css +34 -0
- package/es/skeleton/style/index.d.ts +1 -0
- package/es/skeleton/style/index.js +1 -0
- package/es/skeleton/types.d.ts +12 -0
- package/es/slider/index.d.ts +1 -0
- package/es/slider/index.js +10 -0
- package/es/slider/index.js.map +1 -0
- package/es/slider/slider.d.ts +8 -0
- package/es/slider/slider.js +247 -0
- package/es/slider/slider.js.map +1 -0
- package/es/slider/style/_index.scss +177 -0
- package/es/slider/style/index.css +138 -0
- package/es/slider/style/index.d.ts +1 -0
- package/es/slider/style/index.js +2 -0
- package/es/slider/types.d.ts +33 -0
- package/es/space/index.d.ts +1 -0
- package/es/space/index.js +9 -0
- package/es/space/index.js.map +1 -0
- package/es/space/space.d.ts +8 -0
- package/es/space/space.js +37 -0
- package/es/space/space.js.map +1 -0
- package/es/space/style/_index.scss +25 -0
- package/es/space/style/index.css +18 -0
- package/es/space/style/index.d.ts +1 -0
- package/es/space/style/index.js +1 -0
- package/es/space/types.d.ts +14 -0
- package/es/speed-dial/index.d.ts +11 -0
- package/es/speed-dial/index.js +11 -0
- package/es/speed-dial/index.js.map +1 -0
- package/es/speed-dial/speed-dial-action.d.ts +8 -0
- package/es/speed-dial/speed-dial-action.js +40 -0
- package/es/speed-dial/speed-dial-action.js.map +1 -0
- package/es/speed-dial/speed-dial-context.js +7 -0
- package/es/speed-dial/speed-dial-context.js.map +1 -0
- package/es/speed-dial/speed-dial.d.ts +8 -0
- package/es/speed-dial/speed-dial.js +92 -0
- package/es/speed-dial/speed-dial.js.map +1 -0
- package/es/speed-dial/style/_index.scss +230 -0
- package/es/speed-dial/style/index.css +183 -0
- package/es/speed-dial/style/index.d.ts +1 -0
- package/es/speed-dial/style/index.js +1 -0
- package/es/speed-dial/types.d.ts +26 -0
- package/es/split/index.d.ts +1 -0
- package/es/split/index.js +9 -0
- package/es/split/index.js.map +1 -0
- package/es/split/resizer.d.ts +12 -0
- package/es/split/resizer.js +56 -0
- package/es/split/resizer.js.map +1 -0
- package/es/split/split-context.js +7 -0
- package/es/split/split-context.js.map +1 -0
- package/es/split/split-pane.js +27 -0
- package/es/split/split-pane.js.map +1 -0
- package/es/split/split.d.ts +10 -0
- package/es/split/split.js +141 -0
- package/es/split/split.js.map +1 -0
- package/es/split/style/_index.scss +98 -0
- package/es/split/style/index.css +82 -0
- package/es/split/style/index.d.ts +1 -0
- package/es/split/style/index.js +1 -0
- package/es/split/types.d.ts +30 -0
- package/es/split-button/index.d.ts +1 -0
- package/es/split-button/index.js +11 -0
- package/es/split-button/index.js.map +1 -0
- package/es/split-button/split-button.d.ts +11 -0
- package/es/split-button/split-button.js +43 -0
- package/es/split-button/split-button.js.map +1 -0
- package/es/split-button/style/_index.scss +9 -0
- package/es/split-button/style/index.css +4 -0
- package/es/split-button/style/index.d.ts +1 -0
- package/es/split-button/style/index.js +3 -0
- package/es/split-button/types.d.ts +20 -0
- package/es/statistic/index.d.ts +1 -0
- package/es/statistic/index.js +9 -0
- package/es/statistic/index.js.map +1 -0
- package/es/statistic/statistic.d.ts +8 -0
- package/es/statistic/statistic.js +58 -0
- package/es/statistic/statistic.js.map +1 -0
- package/es/statistic/style/_index.scss +31 -0
- package/es/statistic/style/index.css +24 -0
- package/es/statistic/style/index.d.ts +1 -0
- package/es/statistic/style/index.js +1 -0
- package/es/statistic/types.d.ts +17 -0
- package/es/steps/index.d.ts +11 -0
- package/es/steps/index.js +11 -0
- package/es/steps/index.js.map +1 -0
- package/es/steps/steps-context.js +12 -0
- package/es/steps/steps-context.js.map +1 -0
- package/es/steps/steps-item.d.ts +8 -0
- package/es/steps/steps-item.js +70 -0
- package/es/steps/steps-item.js.map +1 -0
- package/es/steps/steps.d.ts +8 -0
- package/es/steps/steps.js +49 -0
- package/es/steps/steps.js.map +1 -0
- package/es/steps/style/_index.scss +208 -0
- package/es/steps/style/index.css +148 -0
- package/es/steps/style/index.d.ts +1 -0
- package/es/steps/style/index.js +1 -0
- package/es/steps/types.d.ts +24 -0
- package/es/sticky/index.d.ts +1 -0
- package/es/sticky/index.js +9 -0
- package/es/sticky/index.js.map +1 -0
- package/es/sticky/sticky.d.ts +10 -0
- package/es/sticky/sticky.js +127 -0
- package/es/sticky/sticky.js.map +1 -0
- package/es/sticky/style/_index.scss +8 -0
- package/es/sticky/style/index.css +3 -0
- package/es/sticky/style/index.d.ts +1 -0
- package/es/sticky/style/index.js +1 -0
- package/es/sticky/types.d.ts +14 -0
- package/es/strength-indicator/index.d.ts +1 -0
- package/es/strength-indicator/index.js +9 -0
- package/es/strength-indicator/index.js.map +1 -0
- package/es/strength-indicator/strength-indicator.d.ts +8 -0
- package/es/strength-indicator/strength-indicator.js +48 -0
- package/es/strength-indicator/strength-indicator.js.map +1 -0
- package/es/strength-indicator/style/_index.scss +46 -0
- package/es/strength-indicator/style/index.css +37 -0
- package/es/strength-indicator/style/index.d.ts +1 -0
- package/es/strength-indicator/style/index.js +1 -0
- package/es/strength-indicator/types.d.ts +17 -0
- package/es/style/_animation.scss +1 -0
- package/es/style/_component.scss +78 -0
- package/es/style/_font.scss +1 -0
- package/es/style/_mixins.scss +1 -0
- package/es/style/_tokens.scss +1 -0
- package/es/style/_variables.scss +1 -0
- package/es/style/base.css +1162 -0
- package/es/style/base.scss +1 -0
- package/es/style/index.scss +2 -0
- package/es/switch/index.d.ts +1 -0
- package/es/switch/index.js +9 -0
- package/es/switch/index.js.map +1 -0
- package/es/switch/style/_index.scss +144 -0
- package/es/switch/style/_mixin.scss +16 -0
- package/es/switch/style/index.css +187 -0
- package/es/switch/style/index.d.ts +1 -0
- package/es/switch/style/index.js +1 -0
- package/es/switch/switch.d.ts +8 -0
- package/es/switch/switch.js +55 -0
- package/es/switch/switch.js.map +1 -0
- package/es/switch/types.d.ts +18 -0
- package/es/table/index.d.ts +1 -0
- package/es/table/index.js +9 -0
- package/es/table/index.js.map +1 -0
- package/es/table/style/_index.scss +143 -0
- package/es/table/style/index.css +105 -0
- package/es/table/style/index.d.ts +1 -0
- package/es/table/style/index.js +1 -0
- package/es/table/table.d.ts +8 -0
- package/es/table/table.js +294 -0
- package/es/table/table.js.map +1 -0
- package/es/table/types.d.ts +59 -0
- package/es/tabs/index.d.ts +12 -0
- package/es/tabs/index.js +11 -0
- package/es/tabs/index.js.map +1 -0
- package/es/tabs/style/index.css +241 -0
- package/es/tabs/style/index.d.ts +1 -0
- package/es/tabs/style/index.js +1 -0
- package/es/tabs/style/index.scss +315 -0
- package/es/tabs/tab-panel.d.ts +10 -0
- package/es/tabs/tab-panel.js +23 -0
- package/es/tabs/tab-panel.js.map +1 -0
- package/es/tabs/tabs.d.ts +8 -0
- package/es/tabs/tabs.js +277 -0
- package/es/tabs/tabs.js.map +1 -0
- package/es/tabs/types.d.ts +69 -0
- package/es/tag/checkable-tag.d.ts +10 -0
- package/es/tag/checkable-tag.js +35 -0
- package/es/tag/checkable-tag.js.map +1 -0
- package/es/tag/index.d.ts +11 -0
- package/es/tag/index.js +11 -0
- package/es/tag/index.js.map +1 -0
- package/es/tag/style/_index.scss +119 -0
- package/es/tag/style/index.css +103 -0
- package/es/tag/style/index.d.ts +1 -0
- package/es/tag/style/index.js +1 -0
- package/es/tag/tag.d.ts +8 -0
- package/es/tag/tag.js +54 -0
- package/es/tag/tag.js.map +1 -0
- package/es/tag/types.d.ts +22 -0
- package/es/tag/types.js +18 -0
- package/es/tag/types.js.map +1 -0
- package/es/textarea/index.d.ts +1 -0
- package/es/textarea/index.js +10 -0
- package/es/textarea/index.js.map +1 -0
- package/es/textarea/style/_index.scss +28 -0
- package/es/textarea/style/index.css +50 -0
- package/es/textarea/style/index.d.ts +1 -0
- package/es/textarea/style/index.js +2 -0
- package/es/textarea/textarea.d.ts +8 -0
- package/es/textarea/textarea.js +50 -0
- package/es/textarea/textarea.js.map +1 -0
- package/es/textarea/types.d.ts +16 -0
- package/es/time-picker/index.d.ts +2 -0
- package/es/time-picker/index.js +9 -0
- package/es/time-picker/index.js.map +1 -0
- package/es/time-picker/style/_index.scss +241 -0
- package/es/time-picker/style/index.css +202 -0
- package/es/time-picker/style/index.d.ts +1 -0
- package/es/time-picker/style/index.js +1 -0
- package/es/time-picker/time-panel.js +113 -0
- package/es/time-picker/time-panel.js.map +1 -0
- package/es/time-picker/time-picker.d.ts +10 -0
- package/es/time-picker/time-picker.js +208 -0
- package/es/time-picker/time-picker.js.map +1 -0
- package/es/time-picker/types.d.ts +56 -0
- package/es/timeline/index.d.ts +11 -0
- package/es/timeline/index.js +11 -0
- package/es/timeline/index.js.map +1 -0
- package/es/timeline/style/_index.scss +91 -0
- package/es/timeline/style/index.css +69 -0
- package/es/timeline/style/index.d.ts +1 -0
- package/es/timeline/style/index.js +1 -0
- package/es/timeline/timeline-item.d.ts +8 -0
- package/es/timeline/timeline-item.js +34 -0
- package/es/timeline/timeline-item.js.map +1 -0
- package/es/timeline/timeline.d.ts +8 -0
- package/es/timeline/timeline.js +28 -0
- package/es/timeline/timeline.js.map +1 -0
- package/es/timeline/types.d.ts +17 -0
- package/es/tooltip/index.d.ts +1 -0
- package/es/tooltip/index.js +10 -0
- package/es/tooltip/index.js.map +1 -0
- package/es/tooltip/style/_index.scss +41 -0
- package/es/tooltip/style/index.css +22 -0
- package/es/tooltip/style/index.d.ts +1 -0
- package/es/tooltip/style/index.js +2 -0
- package/es/tooltip/tooltip.d.ts +8 -0
- package/es/tooltip/tooltip.js +30 -0
- package/es/tooltip/tooltip.js.map +1 -0
- package/es/tooltip/types.d.ts +12 -0
- package/es/transfer/index.d.ts +1 -0
- package/es/transfer/index.js +13 -0
- package/es/transfer/index.js.map +1 -0
- package/es/transfer/style/_index.scss +98 -0
- package/es/transfer/style/index.css +83 -0
- package/es/transfer/style/index.d.ts +1 -0
- package/es/transfer/style/index.js +5 -0
- package/es/transfer/transfer-panel.js +95 -0
- package/es/transfer/transfer-panel.js.map +1 -0
- package/es/transfer/transfer.d.ts +8 -0
- package/es/transfer/transfer.js +122 -0
- package/es/transfer/transfer.js.map +1 -0
- package/es/transfer/types.d.ts +25 -0
- package/es/transition/index.d.ts +1 -0
- package/es/transition/index.js +9 -0
- package/es/transition/index.js.map +1 -0
- package/es/transition/style/_index.scss +20 -0
- package/es/transition/style/_mixin.scss +58 -0
- package/es/transition/style/index.css +275 -0
- package/es/transition/style/index.d.ts +1 -0
- package/es/transition/style/index.js +1 -0
- package/es/transition/transition.d.ts +18 -0
- package/es/transition/transition.js +21 -0
- package/es/transition/transition.js.map +1 -0
- package/es/tree/index.d.ts +1 -0
- package/es/tree/index.js +11 -0
- package/es/tree/index.js.map +1 -0
- package/es/tree/style/_index.scss +66 -0
- package/es/tree/style/index.css +52 -0
- package/es/tree/style/index.d.ts +1 -0
- package/es/tree/style/index.js +3 -0
- package/es/tree/tree-instance.js +108 -0
- package/es/tree/tree-instance.js.map +1 -0
- package/es/tree/tree-node.js +73 -0
- package/es/tree/tree-node.js.map +1 -0
- package/es/tree/tree.d.ts +8 -0
- package/es/tree/tree.js +50 -0
- package/es/tree/tree.js.map +1 -0
- package/es/tree/types.d.ts +28 -0
- package/es/typography/heading.d.ts +7 -0
- package/es/typography/heading.js +31 -0
- package/es/typography/heading.js.map +1 -0
- package/es/typography/index.d.ts +15 -0
- package/es/typography/index.js +15 -0
- package/es/typography/index.js.map +1 -0
- package/es/typography/paragraph.d.ts +8 -0
- package/es/typography/paragraph.js +20 -0
- package/es/typography/paragraph.js.map +1 -0
- package/es/typography/style/_index.scss +126 -0
- package/es/typography/style/index.css +105 -0
- package/es/typography/style/index.d.ts +1 -0
- package/es/typography/style/index.js +1 -0
- package/es/typography/text.d.ts +7 -0
- package/es/typography/text.js +31 -0
- package/es/typography/text.js.map +1 -0
- package/es/typography/types.d.ts +28 -0
- package/es/typography/typography.d.ts +8 -0
- package/es/typography/typography.js +20 -0
- package/es/typography/typography.js.map +1 -0
- package/es/upload/ajax.js +26 -0
- package/es/upload/ajax.js.map +1 -0
- package/es/upload/dragger-cover.js +35 -0
- package/es/upload/dragger-cover.js.map +1 -0
- package/es/upload/index.d.ts +1 -0
- package/es/upload/index.js +9 -0
- package/es/upload/index.js.map +1 -0
- package/es/upload/style/_index.scss +99 -0
- package/es/upload/style/index.css +105 -0
- package/es/upload/style/index.d.ts +1 -0
- package/es/upload/style/index.js +1 -0
- package/es/upload/types.d.ts +44 -0
- package/es/upload/upload-list.js +57 -0
- package/es/upload/upload-list.js.map +1 -0
- package/es/upload/upload.d.ts +8 -0
- package/es/upload/upload.js +141 -0
- package/es/upload/upload.js.map +1 -0
- package/lib/_utils/components.js +221 -0
- package/lib/_utils/components.js.map +1 -0
- package/lib/_utils/dom.d.ts +5 -0
- package/lib/_utils/dom.js +34 -0
- package/lib/_utils/dom.js.map +1 -0
- package/lib/_utils/general.js +25 -0
- package/lib/_utils/general.js.map +1 -0
- package/lib/_utils/hooks.js +35 -0
- package/lib/_utils/hooks.js.map +1 -0
- package/lib/_utils/object.js +29 -0
- package/lib/_utils/object.js.map +1 -0
- package/lib/_utils/props.d.ts +14 -0
- package/lib/_utils/use-locale.d.ts +7 -0
- package/lib/_utils/use-locale.js +14 -0
- package/lib/_utils/use-locale.js.map +1 -0
- package/lib/_utils/use-theme.d.ts +11 -0
- package/lib/_utils/use-theme.js +54 -0
- package/lib/_utils/use-theme.js.map +1 -0
- package/lib/_utils/use-virtual-scroll.js +31 -0
- package/lib/_utils/use-virtual-scroll.js.map +1 -0
- package/lib/_utils/useCombobox.js +83 -0
- package/lib/_utils/useCombobox.js.map +1 -0
- package/lib/_utils/warning.js +12 -0
- package/lib/_utils/warning.js.map +1 -0
- package/lib/_virtual/_rolldown/runtime.js +23 -0
- package/lib/alert/alert.d.ts +8 -0
- package/lib/alert/alert.js +90 -0
- package/lib/alert/alert.js.map +1 -0
- package/lib/alert/index.js +8 -0
- package/lib/alert/index.js.map +1 -0
- package/lib/alert/style/_index.scss +72 -0
- package/lib/alert/style/_mixin.scss +5 -0
- package/lib/alert/style/index.css +70 -0
- package/lib/alert/style/index.d.ts +1 -0
- package/lib/alert/style/index.js +1 -0
- package/lib/alert/types.d.ts +26 -0
- package/lib/anchor/anchor-context.js +9 -0
- package/lib/anchor/anchor-context.js.map +1 -0
- package/lib/anchor/anchor-link.d.ts +8 -0
- package/lib/anchor/anchor-link.js +47 -0
- package/lib/anchor/anchor-link.js.map +1 -0
- package/lib/anchor/anchor.d.ts +10 -0
- package/lib/anchor/anchor.js +169 -0
- package/lib/anchor/anchor.js.map +1 -0
- package/lib/anchor/index.d.ts +11 -0
- package/lib/anchor/index.js +12 -0
- package/lib/anchor/index.js.map +1 -0
- package/lib/anchor/style/_index.scss +83 -0
- package/lib/anchor/style/index.css +67 -0
- package/lib/anchor/style/index.d.ts +1 -0
- package/lib/anchor/style/index.js +2 -0
- package/lib/anchor/types.d.ts +25 -0
- package/lib/aspect-ratio/aspect-ratio.d.ts +8 -0
- package/lib/aspect-ratio/aspect-ratio.js +35 -0
- package/lib/aspect-ratio/aspect-ratio.js.map +1 -0
- package/lib/aspect-ratio/index.js +8 -0
- package/lib/aspect-ratio/index.js.map +1 -0
- package/lib/aspect-ratio/style/_index.scss +22 -0
- package/lib/aspect-ratio/style/index.css +18 -0
- package/lib/aspect-ratio/style/index.d.ts +1 -0
- package/lib/aspect-ratio/style/index.js +1 -0
- package/lib/aspect-ratio/types.d.ts +13 -0
- package/lib/auto-complete/auto-complete.d.ts +8 -0
- package/lib/auto-complete/auto-complete.js +141 -0
- package/lib/auto-complete/auto-complete.js.map +1 -0
- package/lib/auto-complete/style/_index.scss +58 -0
- package/lib/auto-complete/style/index.css +48 -0
- package/lib/auto-complete/style/index.d.ts +1 -0
- package/lib/auto-complete/style/index.js +1 -0
- package/lib/auto-complete/types.d.ts +31 -0
- package/lib/avatar/avatar-group.d.ts +10 -0
- package/lib/avatar/avatar-group.js +34 -0
- package/lib/avatar/avatar-group.js.map +1 -0
- package/lib/avatar/avatar.d.ts +8 -0
- package/lib/avatar/avatar.js +79 -0
- package/lib/avatar/avatar.js.map +1 -0
- package/lib/avatar/index.d.ts +11 -0
- package/lib/avatar/index.js +11 -0
- package/lib/avatar/index.js.map +1 -0
- package/lib/avatar/style/_index.scss +80 -0
- package/lib/avatar/style/index.css +65 -0
- package/lib/avatar/style/index.d.ts +1 -0
- package/lib/avatar/style/index.js +1 -0
- package/lib/avatar/types.d.ts +27 -0
- package/lib/back-top/back-top.d.ts +7 -0
- package/lib/back-top/back-top.js +82 -0
- package/lib/back-top/back-top.js.map +1 -0
- package/lib/back-top/index.js +8 -0
- package/lib/back-top/index.js.map +1 -0
- package/lib/back-top/style/_index.scss +25 -0
- package/lib/back-top/style/index.css +22 -0
- package/lib/back-top/style/index.d.ts +1 -0
- package/lib/back-top/style/index.js +1 -0
- package/lib/back-top/types.d.ts +14 -0
- package/lib/badge/badge.d.ts +8 -0
- package/lib/badge/badge.js +53 -0
- package/lib/badge/badge.js.map +1 -0
- package/lib/badge/index.js +8 -0
- package/lib/badge/index.js.map +1 -0
- package/lib/badge/style/_index.scss +60 -0
- package/lib/badge/style/_mixin.scss +11 -0
- package/lib/badge/style/index.css +85 -0
- package/lib/badge/style/index.d.ts +1 -0
- package/lib/badge/style/index.js +1 -0
- package/lib/badge/types.d.ts +25 -0
- package/lib/breadcrumb/breadcrumb-item.d.ts +11 -0
- package/lib/breadcrumb/breadcrumb-item.js +28 -0
- package/lib/breadcrumb/breadcrumb-item.js.map +1 -0
- package/lib/breadcrumb/breadcrumb.d.ts +11 -0
- package/lib/breadcrumb/breadcrumb.js +30 -0
- package/lib/breadcrumb/breadcrumb.js.map +1 -0
- package/lib/breadcrumb/index.d.ts +11 -0
- package/lib/breadcrumb/index.js +11 -0
- package/lib/breadcrumb/index.js.map +1 -0
- package/lib/breadcrumb/style/_index.scss +38 -0
- package/lib/breadcrumb/style/index.css +25 -0
- package/lib/breadcrumb/style/index.d.ts +1 -0
- package/lib/breadcrumb/style/index.js +1 -0
- package/lib/breadcrumb/types.d.ts +15 -0
- package/lib/button/button-group.d.ts +8 -0
- package/lib/button/button-group.js +41 -0
- package/lib/button/button-group.js.map +1 -0
- package/lib/button/button.d.ts +8 -0
- package/lib/button/button.js +51 -0
- package/lib/button/button.js.map +1 -0
- package/lib/button/index.d.ts +11 -0
- package/lib/button/index.js +11 -0
- package/lib/button/index.js.map +1 -0
- package/lib/button/style/_index.scss +215 -0
- package/lib/button/style/_mixin.scss +45 -0
- package/lib/button/style/index.css +369 -0
- package/lib/button/style/index.d.ts +1 -0
- package/lib/button/style/index.js +1 -0
- package/lib/button/types.d.ts +24 -0
- package/lib/calendar/calendar.d.ts +8 -0
- package/lib/calendar/calendar.js +202 -0
- package/lib/calendar/calendar.js.map +1 -0
- package/lib/calendar/index.js +8 -0
- package/lib/calendar/index.js.map +1 -0
- package/lib/calendar/style/_index.scss +190 -0
- package/lib/calendar/style/index.css +156 -0
- package/lib/calendar/style/index.d.ts +1 -0
- package/lib/calendar/style/index.js +1 -0
- package/lib/calendar/types.d.ts +27 -0
- package/lib/card/card-content.d.ts +11 -0
- package/lib/card/card-content.js +18 -0
- package/lib/card/card-content.js.map +1 -0
- package/lib/card/card.d.ts +8 -0
- package/lib/card/card.js +63 -0
- package/lib/card/card.js.map +1 -0
- package/lib/card/index.d.ts +11 -0
- package/lib/card/index.js +11 -0
- package/lib/card/index.js.map +1 -0
- package/lib/card/style/_index.scss +57 -0
- package/lib/card/style/_mixin.scss +4 -0
- package/lib/card/style/index.css +48 -0
- package/lib/card/style/index.d.ts +1 -0
- package/lib/card/style/index.js +1 -0
- package/lib/card/types.d.ts +25 -0
- package/lib/carousel/carousel-item.d.ts +13 -0
- package/lib/carousel/carousel-item.js +16 -0
- package/lib/carousel/carousel-item.js.map +1 -0
- package/lib/carousel/carousel.d.ts +8 -0
- package/lib/carousel/carousel.js +229 -0
- package/lib/carousel/carousel.js.map +1 -0
- package/lib/carousel/index.d.ts +12 -0
- package/lib/carousel/index.js +11 -0
- package/lib/carousel/index.js.map +1 -0
- package/lib/carousel/style/_index.scss +158 -0
- package/lib/carousel/style/index.css +128 -0
- package/lib/carousel/style/index.d.ts +1 -0
- package/lib/carousel/style/index.js +1 -0
- package/lib/carousel/types.d.ts +47 -0
- package/lib/cascader/cascader.d.ts +8 -0
- package/lib/cascader/cascader.js +199 -0
- package/lib/cascader/cascader.js.map +1 -0
- package/lib/cascader/index.js +8 -0
- package/lib/cascader/index.js.map +1 -0
- package/lib/cascader/style/_index.scss +162 -0
- package/lib/cascader/style/index.css +135 -0
- package/lib/cascader/style/index.d.ts +1 -0
- package/lib/cascader/style/index.js +1 -0
- package/lib/cascader/types.d.ts +31 -0
- package/lib/checkbox/checkbox-group-context.js +9 -0
- package/lib/checkbox/checkbox-group-context.js.map +1 -0
- package/lib/checkbox/checkbox-group.d.ts +8 -0
- package/lib/checkbox/checkbox-group.js +45 -0
- package/lib/checkbox/checkbox-group.js.map +1 -0
- package/lib/checkbox/checkbox.d.ts +8 -0
- package/lib/checkbox/checkbox.js +64 -0
- package/lib/checkbox/checkbox.js.map +1 -0
- package/lib/checkbox/index.d.ts +11 -0
- package/lib/checkbox/index.js +11 -0
- package/lib/checkbox/index.js.map +1 -0
- package/lib/checkbox/style/_index.scss +139 -0
- package/lib/checkbox/style/index.css +106 -0
- package/lib/checkbox/style/index.d.ts +1 -0
- package/lib/checkbox/style/index.js +1 -0
- package/lib/checkbox/types.d.ts +23 -0
- package/lib/col/index.js +6 -0
- package/lib/col/index.js.map +1 -0
- package/lib/collapse/collapse-context.js +9 -0
- package/lib/collapse/collapse-context.js.map +1 -0
- package/lib/collapse/collapse-panel.d.ts +11 -0
- package/lib/collapse/collapse-panel.js +99 -0
- package/lib/collapse/collapse-panel.js.map +1 -0
- package/lib/collapse/collapse.d.ts +8 -0
- package/lib/collapse/collapse.js +71 -0
- package/lib/collapse/collapse.js.map +1 -0
- package/lib/collapse/index.d.ts +11 -0
- package/lib/collapse/index.js +11 -0
- package/lib/collapse/index.js.map +1 -0
- package/lib/collapse/style/_index.scss +101 -0
- package/lib/collapse/style/index.css +83 -0
- package/lib/collapse/style/index.d.ts +1 -0
- package/lib/collapse/style/index.js +1 -0
- package/lib/collapse/types.d.ts +28 -0
- package/lib/collapse-transition/collapse-transition.js +99 -0
- package/lib/collapse-transition/collapse-transition.js.map +1 -0
- package/lib/collapse-transition/index.js +8 -0
- package/lib/collapse-transition/index.js.map +1 -0
- package/lib/collapse-transition/style/_index.scss +4 -0
- package/lib/collapse-transition/style/index.css +4 -0
- package/lib/collapse-transition/style/index.d.ts +1 -0
- package/lib/collapse-transition/style/index.js +1 -0
- package/lib/color-picker/color-picker.d.ts +8 -0
- package/lib/color-picker/color-picker.js +253 -0
- package/lib/color-picker/color-picker.js.map +1 -0
- package/lib/color-picker/index.js +8 -0
- package/lib/color-picker/index.js.map +1 -0
- package/lib/color-picker/style/_index.scss +196 -0
- package/lib/color-picker/style/index.css +169 -0
- package/lib/color-picker/style/index.d.ts +1 -0
- package/lib/color-picker/style/index.js +1 -0
- package/lib/color-picker/types.d.ts +23 -0
- package/lib/color-picker/utils.js +115 -0
- package/lib/color-picker/utils.js.map +1 -0
- package/lib/config-provider/config-context.d.ts +18 -0
- package/lib/config-provider/config-context.js +14 -0
- package/lib/config-provider/config-context.js.map +1 -0
- package/lib/config-provider/config-provider.d.ts +10 -0
- package/lib/config-provider/config-provider.js +30 -0
- package/lib/config-provider/config-provider.js.map +1 -0
- package/lib/config-provider/index.js +6 -0
- package/lib/config-provider/index.js.map +1 -0
- package/lib/config-provider/types.d.ts +10 -0
- package/lib/copy-to-clipboard/copy-to-clipboard.d.ts +11 -0
- package/lib/copy-to-clipboard/copy-to-clipboard.js +48 -0
- package/lib/copy-to-clipboard/copy-to-clipboard.js.map +1 -0
- package/lib/copy-to-clipboard/index.js +6 -0
- package/lib/copy-to-clipboard/index.js.map +1 -0
- package/lib/copy-to-clipboard/types.d.ts +11 -0
- package/lib/countdown/countdown.d.ts +8 -0
- package/lib/countdown/countdown.js +68 -0
- package/lib/countdown/countdown.js.map +1 -0
- package/lib/countdown/index.js +6 -0
- package/lib/countdown/index.js.map +1 -0
- package/lib/countdown/types.d.ts +20 -0
- package/lib/date-picker/date-picker.d.ts +11 -0
- package/lib/date-picker/date-picker.js +230 -0
- package/lib/date-picker/date-picker.js.map +1 -0
- package/lib/date-picker/index.js +8 -0
- package/lib/date-picker/index.js.map +1 -0
- package/lib/date-picker/picker-day.js +44 -0
- package/lib/date-picker/picker-day.js.map +1 -0
- package/lib/date-picker/picker-header.js +75 -0
- package/lib/date-picker/picker-header.js.map +1 -0
- package/lib/date-picker/picker-month.js +44 -0
- package/lib/date-picker/picker-month.js.map +1 -0
- package/lib/date-picker/picker-year.js +48 -0
- package/lib/date-picker/picker-year.js.map +1 -0
- package/lib/date-picker/style/_index.scss +272 -0
- package/lib/date-picker/style/index.css +221 -0
- package/lib/date-picker/style/index.d.ts +1 -0
- package/lib/date-picker/style/index.js +1 -0
- package/lib/date-picker/types.d.ts +45 -0
- package/lib/date-picker/utils.js +108 -0
- package/lib/date-picker/utils.js.map +1 -0
- package/lib/descriptions/col.js +53 -0
- package/lib/descriptions/col.js.map +1 -0
- package/lib/descriptions/descriptions-item.d.ts +10 -0
- package/lib/descriptions/descriptions-item.js +9 -0
- package/lib/descriptions/descriptions-item.js.map +1 -0
- package/lib/descriptions/descriptions.d.ts +11 -0
- package/lib/descriptions/descriptions.js +66 -0
- package/lib/descriptions/descriptions.js.map +1 -0
- package/lib/descriptions/index.d.ts +11 -0
- package/lib/descriptions/index.js +11 -0
- package/lib/descriptions/index.js.map +1 -0
- package/lib/descriptions/row.js +34 -0
- package/lib/descriptions/row.js.map +1 -0
- package/lib/descriptions/style/_index.scss +116 -0
- package/lib/descriptions/style/index.css +72 -0
- package/lib/descriptions/style/index.d.ts +1 -0
- package/lib/descriptions/style/index.js +1 -0
- package/lib/descriptions/types.d.ts +20 -0
- package/lib/divider/divider.d.ts +8 -0
- package/lib/divider/divider.js +32 -0
- package/lib/divider/divider.js.map +1 -0
- package/lib/divider/index.js +8 -0
- package/lib/divider/index.js.map +1 -0
- package/lib/divider/style/_index.scss +80 -0
- package/lib/divider/style/index.css +62 -0
- package/lib/divider/style/index.d.ts +1 -0
- package/lib/divider/style/index.js +1 -0
- package/lib/divider/types.d.ts +14 -0
- package/lib/drawer/drawer.d.ts +8 -0
- package/lib/drawer/drawer.js +120 -0
- package/lib/drawer/drawer.js.map +1 -0
- package/lib/drawer/index.js +9 -0
- package/lib/drawer/index.js.map +1 -0
- package/lib/drawer/style/_index.scss +152 -0
- package/lib/drawer/style/index.css +110 -0
- package/lib/drawer/style/index.d.ts +1 -0
- package/lib/drawer/style/index.js +2 -0
- package/lib/drawer/types.d.ts +26 -0
- package/lib/dropdown/dropdown.d.ts +10 -0
- package/lib/dropdown/dropdown.js +110 -0
- package/lib/dropdown/dropdown.js.map +1 -0
- package/lib/dropdown/index.js +9 -0
- package/lib/dropdown/index.js.map +1 -0
- package/lib/dropdown/style/_index.scss +37 -0
- package/lib/dropdown/style/index.css +24 -0
- package/lib/dropdown/style/index.d.ts +1 -0
- package/lib/dropdown/style/index.js +2 -0
- package/lib/dropdown/types.d.ts +20 -0
- package/lib/empty/empty.d.ts +8 -0
- package/lib/empty/empty.js +85 -0
- package/lib/empty/empty.js.map +1 -0
- package/lib/empty/index.js +8 -0
- package/lib/empty/index.js.map +1 -0
- package/lib/empty/style/_index.scss +26 -0
- package/lib/empty/style/index.css +20 -0
- package/lib/empty/style/index.d.ts +1 -0
- package/lib/empty/style/index.js +1 -0
- package/lib/empty/types.d.ts +14 -0
- package/lib/flex/flex.d.ts +8 -0
- package/lib/flex/flex.js +39 -0
- package/lib/flex/flex.js.map +1 -0
- package/lib/flex/index.js +8 -0
- package/lib/flex/index.js.map +1 -0
- package/lib/flex/style/_index.scss +5 -0
- package/lib/flex/style/index.css +3 -0
- package/lib/flex/style/index.d.ts +1 -0
- package/lib/flex/style/index.js +1 -0
- package/lib/flex/types.d.ts +16 -0
- package/lib/flip/flip-item.d.ts +10 -0
- package/lib/flip/flip-item.js +16 -0
- package/lib/flip/flip-item.js.map +1 -0
- package/lib/flip/flip.d.ts +11 -0
- package/lib/flip/flip.js +53 -0
- package/lib/flip/flip.js.map +1 -0
- package/lib/flip/index.d.ts +11 -0
- package/lib/flip/index.js +11 -0
- package/lib/flip/index.js.map +1 -0
- package/lib/flip/style/_index.scss +61 -0
- package/lib/flip/style/index.css +46 -0
- package/lib/flip/style/index.d.ts +1 -0
- package/lib/flip/style/index.js +1 -0
- package/lib/flip/types.d.ts +20 -0
- package/lib/form/form-helper.js +38 -0
- package/lib/form/form-helper.js.map +1 -0
- package/lib/form/form-instance-context.js +10 -0
- package/lib/form/form-instance-context.js.map +1 -0
- package/lib/form/form-instance.d.ts +37 -0
- package/lib/form/form-instance.js +75 -0
- package/lib/form/form-instance.js.map +1 -0
- package/lib/form/form-item.d.ts +10 -0
- package/lib/form/form-item.js +139 -0
- package/lib/form/form-item.js.map +1 -0
- package/lib/form/form-options-context.js +14 -0
- package/lib/form/form-options-context.js.map +1 -0
- package/lib/form/form.d.ts +10 -0
- package/lib/form/form.js +62 -0
- package/lib/form/form.js.map +1 -0
- package/lib/form/index.d.ts +15 -0
- package/lib/form/index.js +16 -0
- package/lib/form/index.js.map +1 -0
- package/lib/form/style/_index.scss +93 -0
- package/lib/form/style/index.css +71 -0
- package/lib/form/style/index.d.ts +1 -0
- package/lib/form/style/index.js +2 -0
- package/lib/form/types.d.ts +67 -0
- package/lib/form/use-form.d.ts +7 -0
- package/lib/form/use-form.js +9 -0
- package/lib/form/use-form.js.map +1 -0
- package/lib/grid/col.d.ts +8 -0
- package/lib/grid/col.js +51 -0
- package/lib/grid/col.js.map +1 -0
- package/lib/grid/row.d.ts +8 -0
- package/lib/grid/row.js +55 -0
- package/lib/grid/row.js.map +1 -0
- package/lib/grid/style/_index.scss +90 -0
- package/lib/grid/style/index.css +1562 -0
- package/lib/grid/style/index.d.ts +1 -0
- package/lib/grid/style/index.js +1 -0
- package/lib/grid/types.d.ts +34 -0
- package/lib/icon/icon.d.ts +8 -0
- package/lib/icon/icon.js +28 -0
- package/lib/icon/icon.js.map +1 -0
- package/lib/icon/index.js +8 -0
- package/lib/icon/index.js.map +1 -0
- package/lib/icon/style/_index.scss +16 -0
- package/lib/icon/style/index.css +987 -0
- package/lib/icon/style/index.d.ts +1 -0
- package/lib/icon/style/index.js +1 -0
- package/lib/icon/types.d.ts +15 -0
- package/lib/image/image.d.ts +10 -0
- package/lib/image/image.js +51 -0
- package/lib/image/image.js.map +1 -0
- package/lib/image/index.js +8 -0
- package/lib/image/index.js.map +1 -0
- package/lib/image/style/_index.scss +9 -0
- package/lib/image/style/index.css +6 -0
- package/lib/image/style/index.d.ts +1 -0
- package/lib/image/style/index.js +1 -0
- package/lib/image/types.d.ts +18 -0
- package/lib/index.d.ts +88 -0
- package/lib/index.js +174 -0
- package/lib/input/index.d.ts +13 -0
- package/lib/input/index.js +13 -0
- package/lib/input/index.js.map +1 -0
- package/lib/input/input-group-addon.d.ts +11 -0
- package/lib/input/input-group-addon.js +38 -0
- package/lib/input/input-group-addon.js.map +1 -0
- package/lib/input/input-group.d.ts +11 -0
- package/lib/input/input-group.js +31 -0
- package/lib/input/input-group.js.map +1 -0
- package/lib/input/input.d.ts +8 -0
- package/lib/input/input.js +95 -0
- package/lib/input/input.js.map +1 -0
- package/lib/input/style/_index.scss +180 -0
- package/lib/input/style/_mixin.scss +38 -0
- package/lib/input/style/index.css +157 -0
- package/lib/input/style/index.d.ts +1 -0
- package/lib/input/style/index.js +1 -0
- package/lib/input/types.d.ts +31 -0
- package/lib/input-number/index.js +9 -0
- package/lib/input-number/index.js.map +1 -0
- package/lib/input-number/input-number.d.ts +8 -0
- package/lib/input-number/input-number.js +101 -0
- package/lib/input-number/input-number.js.map +1 -0
- package/lib/input-number/style/_index.scss +142 -0
- package/lib/input-number/style/index.css +123 -0
- package/lib/input-number/style/index.d.ts +1 -0
- package/lib/input-number/style/index.js +2 -0
- package/lib/input-number/types.d.ts +21 -0
- package/lib/input-password/index.js +9 -0
- package/lib/input-password/index.js.map +1 -0
- package/lib/input-password/input-password.d.ts +7 -0
- package/lib/input-password/input-password.js +43 -0
- package/lib/input-password/input-password.js.map +1 -0
- package/lib/input-password/style/_index.scss +20 -0
- package/lib/input-password/style/index.css +14 -0
- package/lib/input-password/style/index.d.ts +1 -0
- package/lib/input-password/style/index.js +2 -0
- package/lib/input-password/types.d.ts +12 -0
- package/lib/intl-provider/index.js +6 -0
- package/lib/intl-provider/index.js.map +1 -0
- package/lib/intl-provider/intl-context.js +10 -0
- package/lib/intl-provider/intl-context.js.map +1 -0
- package/lib/intl-provider/intl-provider.d.ts +12 -0
- package/lib/intl-provider/intl-provider.js +17 -0
- package/lib/intl-provider/intl-provider.js.map +1 -0
- package/lib/intl-provider/with-locale.d.ts +14 -0
- package/lib/intl-provider/with-locale.js +20 -0
- package/lib/intl-provider/with-locale.js.map +1 -0
- package/lib/keyboard/index.js +8 -0
- package/lib/keyboard/index.js.map +1 -0
- package/lib/keyboard/keyboard.d.ts +8 -0
- package/lib/keyboard/keyboard.js +24 -0
- package/lib/keyboard/keyboard.js.map +1 -0
- package/lib/keyboard/style/_index.scss +23 -0
- package/lib/keyboard/style/index.css +22 -0
- package/lib/keyboard/style/index.d.ts +1 -0
- package/lib/keyboard/style/index.js +1 -0
- package/lib/keyboard/types.d.ts +10 -0
- package/lib/layout/index.d.ts +14 -0
- package/lib/layout/index.js +14 -0
- package/lib/layout/index.js.map +1 -0
- package/lib/layout/layout.d.ts +14 -0
- package/lib/layout/layout.js +71 -0
- package/lib/layout/layout.js.map +1 -0
- package/lib/layout/sidebar-context.js +13 -0
- package/lib/layout/sidebar-context.js.map +1 -0
- package/lib/layout/sidebar.d.ts +8 -0
- package/lib/layout/sidebar.js +66 -0
- package/lib/layout/sidebar.js.map +1 -0
- package/lib/layout/style/_index.scss +82 -0
- package/lib/layout/style/index.css +69 -0
- package/lib/layout/style/index.d.ts +1 -0
- package/lib/layout/style/index.js +1 -0
- package/lib/layout/types.d.ts +20 -0
- package/lib/link/index.js +8 -0
- package/lib/link/index.js.map +1 -0
- package/lib/link/link.d.ts +8 -0
- package/lib/link/link.js +37 -0
- package/lib/link/link.js.map +1 -0
- package/lib/link/style/_index.scss +17 -0
- package/lib/link/style/index.css +11 -0
- package/lib/link/style/index.d.ts +1 -0
- package/lib/link/style/index.js +1 -0
- package/lib/link/types.d.ts +13 -0
- package/lib/list/index.d.ts +13 -0
- package/lib/list/index.js +13 -0
- package/lib/list/index.js.map +1 -0
- package/lib/list/list-item-meta.d.ts +11 -0
- package/lib/list/list-item-meta.js +35 -0
- package/lib/list/list-item-meta.js.map +1 -0
- package/lib/list/list-item.d.ts +8 -0
- package/lib/list/list-item.js +41 -0
- package/lib/list/list-item.js.map +1 -0
- package/lib/list/list.d.ts +8 -0
- package/lib/list/list.js +146 -0
- package/lib/list/list.js.map +1 -0
- package/lib/list/style/_index.scss +141 -0
- package/lib/list/style/index.css +108 -0
- package/lib/list/style/index.d.ts +1 -0
- package/lib/list/style/index.js +1 -0
- package/lib/list/types.d.ts +47 -0
- package/lib/loader/index.js +8 -0
- package/lib/loader/index.js.map +1 -0
- package/lib/loader/indicator.js +21 -0
- package/lib/loader/indicator.js.map +1 -0
- package/lib/loader/loader.d.ts +8 -0
- package/lib/loader/loader.js +45 -0
- package/lib/loader/loader.js.map +1 -0
- package/lib/loader/style/_index.scss +142 -0
- package/lib/loader/style/index.css +135 -0
- package/lib/loader/style/index.d.ts +1 -0
- package/lib/loader/style/index.js +1 -0
- package/lib/loader/types.d.ts +21 -0
- package/lib/loading-bar/index.d.ts +9 -0
- package/lib/loading-bar/index.js +81 -0
- package/lib/loading-bar/index.js.map +1 -0
- package/lib/loading-bar/loading-bar.js +31 -0
- package/lib/loading-bar/loading-bar.js.map +1 -0
- package/lib/loading-bar/style/_index.scss +17 -0
- package/lib/loading-bar/style/index.css +14 -0
- package/lib/loading-bar/style/index.d.ts +1 -0
- package/lib/loading-bar/style/index.js +1 -0
- package/lib/locale/en_US.d.ts +7 -0
- package/lib/locale/en_US.js +64 -0
- package/lib/locale/en_US.js.map +1 -0
- package/lib/locale/types.d.ts +44 -0
- package/lib/locale/zh_CN.d.ts +7 -0
- package/lib/locale/zh_CN.js +64 -0
- package/lib/locale/zh_CN.js.map +1 -0
- package/lib/menu/index.d.ts +17 -0
- package/lib/menu/index.js +19 -0
- package/lib/menu/index.js.map +1 -0
- package/lib/menu/menu-context.js +13 -0
- package/lib/menu/menu-context.js.map +1 -0
- package/lib/menu/menu-divider.d.ts +10 -0
- package/lib/menu/menu-divider.js +17 -0
- package/lib/menu/menu-divider.js.map +1 -0
- package/lib/menu/menu-item-group.d.ts +10 -0
- package/lib/menu/menu-item-group.js +46 -0
- package/lib/menu/menu-item-group.js.map +1 -0
- package/lib/menu/menu-item.d.ts +10 -0
- package/lib/menu/menu-item.js +52 -0
- package/lib/menu/menu-item.js.map +1 -0
- package/lib/menu/menu.d.ts +10 -0
- package/lib/menu/menu.js +54 -0
- package/lib/menu/menu.js.map +1 -0
- package/lib/menu/style/_index.scss +183 -0
- package/lib/menu/style/_mixin.scss +16 -0
- package/lib/menu/style/index.css +158 -0
- package/lib/menu/style/index.d.ts +1 -0
- package/lib/menu/style/index.js +3 -0
- package/lib/menu/sub-menu-context.js +9 -0
- package/lib/menu/sub-menu-context.js.map +1 -0
- package/lib/menu/sub-menu.d.ts +10 -0
- package/lib/menu/sub-menu.js +138 -0
- package/lib/menu/sub-menu.js.map +1 -0
- package/lib/menu/types.d.ts +37 -0
- package/lib/message/index.js +8 -0
- package/lib/message/index.js.map +1 -0
- package/lib/message/message-container.d.ts +7 -0
- package/lib/message/message-container.js +71 -0
- package/lib/message/message-container.js.map +1 -0
- package/lib/message/message.js +84 -0
- package/lib/message/message.js.map +1 -0
- package/lib/message/style/_index.scss +59 -0
- package/lib/message/style/index.css +73 -0
- package/lib/message/style/index.d.ts +1 -0
- package/lib/message/style/index.js +1 -0
- package/lib/modal/index.d.ts +12 -0
- package/lib/modal/index.js +14 -0
- package/lib/modal/index.js.map +1 -0
- package/lib/modal/modal-context.d.ts +37 -0
- package/lib/modal/modal-context.js +71 -0
- package/lib/modal/modal-context.js.map +1 -0
- package/lib/modal/modal.d.ts +8 -0
- package/lib/modal/modal.js +152 -0
- package/lib/modal/modal.js.map +1 -0
- package/lib/modal/style/_index.scss +116 -0
- package/lib/modal/style/index.css +94 -0
- package/lib/modal/style/index.d.ts +1 -0
- package/lib/modal/style/index.js +3 -0
- package/lib/modal/types.d.ts +38 -0
- package/lib/native-select/index.d.ts +13 -0
- package/lib/native-select/index.js +13 -0
- package/lib/native-select/index.js.map +1 -0
- package/lib/native-select/native-opt-group.d.ts +9 -0
- package/lib/native-select/native-opt-group.js +17 -0
- package/lib/native-select/native-opt-group.js.map +1 -0
- package/lib/native-select/native-option.d.ts +9 -0
- package/lib/native-select/native-option.js +16 -0
- package/lib/native-select/native-option.js.map +1 -0
- package/lib/native-select/native-select.d.ts +8 -0
- package/lib/native-select/native-select.js +31 -0
- package/lib/native-select/native-select.js.map +1 -0
- package/lib/native-select/style/_index.scss +65 -0
- package/lib/native-select/style/_mixin.scss +4 -0
- package/lib/native-select/style/index.css +55 -0
- package/lib/native-select/style/index.d.ts +1 -0
- package/lib/native-select/style/index.js +1 -0
- package/lib/native-select/types.d.ts +13 -0
- package/lib/notification/index.js +8 -0
- package/lib/notification/index.js.map +1 -0
- package/lib/notification/notification-container.d.ts +5 -0
- package/lib/notification/notification-container.js +80 -0
- package/lib/notification/notification-container.js.map +1 -0
- package/lib/notification/notification.js +85 -0
- package/lib/notification/notification.js.map +1 -0
- package/lib/notification/style/_index.scss +66 -0
- package/lib/notification/style/index.css +57 -0
- package/lib/notification/style/index.d.ts +1 -0
- package/lib/notification/style/index.js +1 -0
- package/lib/overlay/index.js +8 -0
- package/lib/overlay/index.js.map +1 -0
- package/lib/overlay/overlay.d.ts +10 -0
- package/lib/overlay/overlay.js +64 -0
- package/lib/overlay/overlay.js.map +1 -0
- package/lib/overlay/style/_index.scss +51 -0
- package/lib/overlay/style/index.css +36 -0
- package/lib/overlay/style/index.d.ts +1 -0
- package/lib/overlay/style/index.js +1 -0
- package/lib/overlay/types.d.ts +21 -0
- package/lib/pagination/index.js +8 -0
- package/lib/pagination/index.js.map +1 -0
- package/lib/pagination/pagination.d.ts +7 -0
- package/lib/pagination/pagination.js +136 -0
- package/lib/pagination/pagination.js.map +1 -0
- package/lib/pagination/style/_index.scss +143 -0
- package/lib/pagination/style/index.css +115 -0
- package/lib/pagination/style/index.d.ts +1 -0
- package/lib/pagination/style/index.js +1 -0
- package/lib/pagination/types.d.ts +20 -0
- package/lib/pop-confirm/index.js +10 -0
- package/lib/pop-confirm/index.js.map +1 -0
- package/lib/pop-confirm/pop-confirm.d.ts +10 -0
- package/lib/pop-confirm/pop-confirm.js +70 -0
- package/lib/pop-confirm/pop-confirm.js.map +1 -0
- package/lib/pop-confirm/style/_index.scss +25 -0
- package/lib/pop-confirm/style/index.css +18 -0
- package/lib/pop-confirm/style/index.d.ts +1 -0
- package/lib/pop-confirm/style/index.js +3 -0
- package/lib/pop-confirm/types.d.ts +14 -0
- package/lib/popover/index.js +9 -0
- package/lib/popover/index.js.map +1 -0
- package/lib/popover/popover.d.ts +8 -0
- package/lib/popover/popover.js +38 -0
- package/lib/popover/popover.js.map +1 -0
- package/lib/popover/style/_index.scss +42 -0
- package/lib/popover/style/index.css +24 -0
- package/lib/popover/style/index.d.ts +1 -0
- package/lib/popover/style/index.js +2 -0
- package/lib/popover/types.d.ts +14 -0
- package/lib/popup/index.js +9 -0
- package/lib/popup/index.js.map +1 -0
- package/lib/popup/popup.js +200 -0
- package/lib/popup/popup.js.map +1 -0
- package/lib/popup/style/_index.scss +84 -0
- package/lib/popup/style/index.css +57 -0
- package/lib/popup/style/index.d.ts +1 -0
- package/lib/popup/style/index.js +2 -0
- package/lib/popup/types.d.ts +36 -0
- package/lib/portal/index.js +6 -0
- package/lib/portal/index.js.map +1 -0
- package/lib/portal/portal.js +14 -0
- package/lib/portal/portal.js.map +1 -0
- package/lib/progress/bar.js +61 -0
- package/lib/progress/bar.js.map +1 -0
- package/lib/progress/circle.js +79 -0
- package/lib/progress/circle.js.map +1 -0
- package/lib/progress/index.d.ts +16 -0
- package/lib/progress/index.js +13 -0
- package/lib/progress/index.js.map +1 -0
- package/lib/progress/style/_index.scss +170 -0
- package/lib/progress/style/index.css +128 -0
- package/lib/progress/style/index.d.ts +1 -0
- package/lib/progress/style/index.js +1 -0
- package/lib/progress/types.d.ts +36 -0
- package/lib/progress/types.js +12 -0
- package/lib/progress/types.js.map +1 -0
- package/lib/radio/index.d.ts +11 -0
- package/lib/radio/index.js +11 -0
- package/lib/radio/index.js.map +1 -0
- package/lib/radio/radio-group-context.js +9 -0
- package/lib/radio/radio-group-context.js.map +1 -0
- package/lib/radio/radio-group.d.ts +8 -0
- package/lib/radio/radio-group.js +45 -0
- package/lib/radio/radio-group.js.map +1 -0
- package/lib/radio/radio.d.ts +8 -0
- package/lib/radio/radio.js +64 -0
- package/lib/radio/radio.js.map +1 -0
- package/lib/radio/style/_index.scss +86 -0
- package/lib/radio/style/index.css +66 -0
- package/lib/radio/style/index.d.ts +1 -0
- package/lib/radio/style/index.js +1 -0
- package/lib/radio/types.d.ts +24 -0
- package/lib/rate/index.js +8 -0
- package/lib/rate/index.js.map +1 -0
- package/lib/rate/rate-item.js +31 -0
- package/lib/rate/rate-item.js.map +1 -0
- package/lib/rate/rate.d.ts +8 -0
- package/lib/rate/rate.js +91 -0
- package/lib/rate/rate.js.map +1 -0
- package/lib/rate/style/_index.scss +31 -0
- package/lib/rate/style/index.css +23 -0
- package/lib/rate/style/index.d.ts +1 -0
- package/lib/rate/style/index.js +1 -0
- package/lib/rate/types.d.ts +19 -0
- package/lib/result/index.js +8 -0
- package/lib/result/index.js.map +1 -0
- package/lib/result/result.d.ts +8 -0
- package/lib/result/result.js +64 -0
- package/lib/result/result.js.map +1 -0
- package/lib/result/style/_index.scss +48 -0
- package/lib/result/style/index.css +65 -0
- package/lib/result/style/index.d.ts +1 -0
- package/lib/result/style/index.js +1 -0
- package/lib/result/types.d.ts +16 -0
- package/lib/row/index.js +6 -0
- package/lib/row/index.js.map +1 -0
- package/lib/scroll-indicator/index.js +8 -0
- package/lib/scroll-indicator/index.js.map +1 -0
- package/lib/scroll-indicator/scroll-indicator.d.ts +11 -0
- package/lib/scroll-indicator/scroll-indicator.js +43 -0
- package/lib/scroll-indicator/scroll-indicator.js.map +1 -0
- package/lib/scroll-indicator/style/_index.scss +15 -0
- package/lib/scroll-indicator/style/index.css +12 -0
- package/lib/scroll-indicator/style/index.d.ts +1 -0
- package/lib/scroll-indicator/style/index.js +1 -0
- package/lib/scroll-indicator/types.d.ts +12 -0
- package/lib/segmented/index.js +8 -0
- package/lib/segmented/index.js.map +1 -0
- package/lib/segmented/segmented.d.ts +8 -0
- package/lib/segmented/segmented.js +79 -0
- package/lib/segmented/segmented.js.map +1 -0
- package/lib/segmented/style/_index.scss +93 -0
- package/lib/segmented/style/index.css +79 -0
- package/lib/segmented/style/index.d.ts +1 -0
- package/lib/segmented/style/index.js +1 -0
- package/lib/segmented/types.d.ts +23 -0
- package/lib/select/index.d.ts +13 -0
- package/lib/select/index.js +15 -0
- package/lib/select/index.js.map +1 -0
- package/lib/select/opt-group.d.ts +11 -0
- package/lib/select/opt-group.js +39 -0
- package/lib/select/opt-group.js.map +1 -0
- package/lib/select/option.d.ts +11 -0
- package/lib/select/option.js +50 -0
- package/lib/select/option.js.map +1 -0
- package/lib/select/select-context.js +12 -0
- package/lib/select/select-context.js.map +1 -0
- package/lib/select/select.d.ts +11 -0
- package/lib/select/select.js +370 -0
- package/lib/select/select.js.map +1 -0
- package/lib/select/style/_index.scss +313 -0
- package/lib/select/style/index.css +260 -0
- package/lib/select/style/index.d.ts +1 -0
- package/lib/select/style/index.js +3 -0
- package/lib/select/types.d.ts +53 -0
- package/lib/skeleton/index.js +8 -0
- package/lib/skeleton/index.js.map +1 -0
- package/lib/skeleton/skeleton.d.ts +8 -0
- package/lib/skeleton/skeleton.js +31 -0
- package/lib/skeleton/skeleton.js.map +1 -0
- package/lib/skeleton/style/_index.scss +42 -0
- package/lib/skeleton/style/index.css +34 -0
- package/lib/skeleton/style/index.d.ts +1 -0
- package/lib/skeleton/style/index.js +1 -0
- package/lib/skeleton/types.d.ts +12 -0
- package/lib/slider/index.js +9 -0
- package/lib/slider/index.js.map +1 -0
- package/lib/slider/slider.d.ts +8 -0
- package/lib/slider/slider.js +250 -0
- package/lib/slider/slider.js.map +1 -0
- package/lib/slider/style/_index.scss +177 -0
- package/lib/slider/style/index.css +138 -0
- package/lib/slider/style/index.d.ts +1 -0
- package/lib/slider/style/index.js +2 -0
- package/lib/slider/types.d.ts +33 -0
- package/lib/space/index.js +8 -0
- package/lib/space/index.js.map +1 -0
- package/lib/space/space.d.ts +8 -0
- package/lib/space/space.js +40 -0
- package/lib/space/space.js.map +1 -0
- package/lib/space/style/_index.scss +25 -0
- package/lib/space/style/index.css +18 -0
- package/lib/space/style/index.d.ts +1 -0
- package/lib/space/style/index.js +1 -0
- package/lib/space/types.d.ts +14 -0
- package/lib/speed-dial/index.d.ts +11 -0
- package/lib/speed-dial/index.js +11 -0
- package/lib/speed-dial/index.js.map +1 -0
- package/lib/speed-dial/speed-dial-action.d.ts +8 -0
- package/lib/speed-dial/speed-dial-action.js +43 -0
- package/lib/speed-dial/speed-dial-action.js.map +1 -0
- package/lib/speed-dial/speed-dial-context.js +7 -0
- package/lib/speed-dial/speed-dial-context.js.map +1 -0
- package/lib/speed-dial/speed-dial.d.ts +8 -0
- package/lib/speed-dial/speed-dial.js +95 -0
- package/lib/speed-dial/speed-dial.js.map +1 -0
- package/lib/speed-dial/style/_index.scss +230 -0
- package/lib/speed-dial/style/index.css +183 -0
- package/lib/speed-dial/style/index.d.ts +1 -0
- package/lib/speed-dial/style/index.js +1 -0
- package/lib/speed-dial/types.d.ts +26 -0
- package/lib/split/index.js +8 -0
- package/lib/split/index.js.map +1 -0
- package/lib/split/resizer.d.ts +12 -0
- package/lib/split/resizer.js +59 -0
- package/lib/split/resizer.js.map +1 -0
- package/lib/split/split-context.js +9 -0
- package/lib/split/split-context.js.map +1 -0
- package/lib/split/split-pane.js +30 -0
- package/lib/split/split-pane.js.map +1 -0
- package/lib/split/split.d.ts +10 -0
- package/lib/split/split.js +144 -0
- package/lib/split/split.js.map +1 -0
- package/lib/split/style/_index.scss +98 -0
- package/lib/split/style/index.css +82 -0
- package/lib/split/style/index.d.ts +1 -0
- package/lib/split/style/index.js +1 -0
- package/lib/split/types.d.ts +30 -0
- package/lib/split-button/index.js +10 -0
- package/lib/split-button/index.js.map +1 -0
- package/lib/split-button/split-button.d.ts +11 -0
- package/lib/split-button/split-button.js +46 -0
- package/lib/split-button/split-button.js.map +1 -0
- package/lib/split-button/style/_index.scss +9 -0
- package/lib/split-button/style/index.css +4 -0
- package/lib/split-button/style/index.d.ts +1 -0
- package/lib/split-button/style/index.js +3 -0
- package/lib/split-button/types.d.ts +20 -0
- package/lib/statistic/index.js +8 -0
- package/lib/statistic/index.js.map +1 -0
- package/lib/statistic/statistic.d.ts +8 -0
- package/lib/statistic/statistic.js +61 -0
- package/lib/statistic/statistic.js.map +1 -0
- package/lib/statistic/style/_index.scss +31 -0
- package/lib/statistic/style/index.css +24 -0
- package/lib/statistic/style/index.d.ts +1 -0
- package/lib/statistic/style/index.js +1 -0
- package/lib/statistic/types.d.ts +17 -0
- package/lib/steps/index.d.ts +11 -0
- package/lib/steps/index.js +11 -0
- package/lib/steps/index.js.map +1 -0
- package/lib/steps/steps-context.js +14 -0
- package/lib/steps/steps-context.js.map +1 -0
- package/lib/steps/steps-item.d.ts +8 -0
- package/lib/steps/steps-item.js +73 -0
- package/lib/steps/steps-item.js.map +1 -0
- package/lib/steps/steps.d.ts +8 -0
- package/lib/steps/steps.js +52 -0
- package/lib/steps/steps.js.map +1 -0
- package/lib/steps/style/_index.scss +208 -0
- package/lib/steps/style/index.css +148 -0
- package/lib/steps/style/index.d.ts +1 -0
- package/lib/steps/style/index.js +1 -0
- package/lib/steps/types.d.ts +24 -0
- package/lib/sticky/index.js +8 -0
- package/lib/sticky/index.js.map +1 -0
- package/lib/sticky/sticky.d.ts +10 -0
- package/lib/sticky/sticky.js +129 -0
- package/lib/sticky/sticky.js.map +1 -0
- package/lib/sticky/style/_index.scss +8 -0
- package/lib/sticky/style/index.css +3 -0
- package/lib/sticky/style/index.d.ts +1 -0
- package/lib/sticky/style/index.js +1 -0
- package/lib/sticky/types.d.ts +14 -0
- package/lib/strength-indicator/index.js +8 -0
- package/lib/strength-indicator/index.js.map +1 -0
- package/lib/strength-indicator/strength-indicator.d.ts +8 -0
- package/lib/strength-indicator/strength-indicator.js +51 -0
- package/lib/strength-indicator/strength-indicator.js.map +1 -0
- package/lib/strength-indicator/style/_index.scss +46 -0
- package/lib/strength-indicator/style/index.css +37 -0
- package/lib/strength-indicator/style/index.d.ts +1 -0
- package/lib/strength-indicator/style/index.js +1 -0
- package/lib/strength-indicator/types.d.ts +17 -0
- package/lib/style/_animation.scss +1 -0
- package/lib/style/_component.scss +78 -0
- package/lib/style/_font.scss +1 -0
- package/lib/style/_mixins.scss +1 -0
- package/lib/style/_tokens.scss +1 -0
- package/lib/style/_variables.scss +1 -0
- package/lib/style/base.css +1162 -0
- package/lib/style/base.scss +1 -0
- package/lib/style/index.scss +2 -0
- package/lib/switch/index.js +8 -0
- package/lib/switch/index.js.map +1 -0
- package/lib/switch/style/_index.scss +144 -0
- package/lib/switch/style/_mixin.scss +16 -0
- package/lib/switch/style/index.css +187 -0
- package/lib/switch/style/index.d.ts +1 -0
- package/lib/switch/style/index.js +1 -0
- package/lib/switch/switch.d.ts +8 -0
- package/lib/switch/switch.js +58 -0
- package/lib/switch/switch.js.map +1 -0
- package/lib/switch/types.d.ts +18 -0
- package/lib/table/index.js +8 -0
- package/lib/table/index.js.map +1 -0
- package/lib/table/style/_index.scss +143 -0
- package/lib/table/style/index.css +105 -0
- package/lib/table/style/index.d.ts +1 -0
- package/lib/table/style/index.js +1 -0
- package/lib/table/table.d.ts +8 -0
- package/lib/table/table.js +297 -0
- package/lib/table/table.js.map +1 -0
- package/lib/table/types.d.ts +59 -0
- package/lib/tabs/index.d.ts +12 -0
- package/lib/tabs/index.js +11 -0
- package/lib/tabs/index.js.map +1 -0
- package/lib/tabs/style/index.css +241 -0
- package/lib/tabs/style/index.d.ts +1 -0
- package/lib/tabs/style/index.js +1 -0
- package/lib/tabs/style/index.scss +315 -0
- package/lib/tabs/tab-panel.d.ts +10 -0
- package/lib/tabs/tab-panel.js +25 -0
- package/lib/tabs/tab-panel.js.map +1 -0
- package/lib/tabs/tabs.d.ts +8 -0
- package/lib/tabs/tabs.js +280 -0
- package/lib/tabs/tabs.js.map +1 -0
- package/lib/tabs/types.d.ts +69 -0
- package/lib/tag/checkable-tag.d.ts +10 -0
- package/lib/tag/checkable-tag.js +38 -0
- package/lib/tag/checkable-tag.js.map +1 -0
- package/lib/tag/index.d.ts +11 -0
- package/lib/tag/index.js +11 -0
- package/lib/tag/index.js.map +1 -0
- package/lib/tag/style/_index.scss +119 -0
- package/lib/tag/style/index.css +103 -0
- package/lib/tag/style/index.d.ts +1 -0
- package/lib/tag/style/index.js +1 -0
- package/lib/tag/tag.d.ts +8 -0
- package/lib/tag/tag.js +57 -0
- package/lib/tag/tag.js.map +1 -0
- package/lib/tag/types.d.ts +22 -0
- package/lib/tag/types.js +18 -0
- package/lib/tag/types.js.map +1 -0
- package/lib/textarea/index.js +9 -0
- package/lib/textarea/index.js.map +1 -0
- package/lib/textarea/style/_index.scss +28 -0
- package/lib/textarea/style/index.css +50 -0
- package/lib/textarea/style/index.d.ts +1 -0
- package/lib/textarea/style/index.js +2 -0
- package/lib/textarea/textarea.d.ts +8 -0
- package/lib/textarea/textarea.js +53 -0
- package/lib/textarea/textarea.js.map +1 -0
- package/lib/textarea/types.d.ts +16 -0
- package/lib/time-picker/index.js +8 -0
- package/lib/time-picker/index.js.map +1 -0
- package/lib/time-picker/style/_index.scss +241 -0
- package/lib/time-picker/style/index.css +202 -0
- package/lib/time-picker/style/index.d.ts +1 -0
- package/lib/time-picker/style/index.js +1 -0
- package/lib/time-picker/time-panel.js +115 -0
- package/lib/time-picker/time-panel.js.map +1 -0
- package/lib/time-picker/time-picker.d.ts +10 -0
- package/lib/time-picker/time-picker.js +210 -0
- package/lib/time-picker/time-picker.js.map +1 -0
- package/lib/time-picker/types.d.ts +56 -0
- package/lib/timeline/index.d.ts +11 -0
- package/lib/timeline/index.js +11 -0
- package/lib/timeline/index.js.map +1 -0
- package/lib/timeline/style/_index.scss +91 -0
- package/lib/timeline/style/index.css +69 -0
- package/lib/timeline/style/index.d.ts +1 -0
- package/lib/timeline/style/index.js +1 -0
- package/lib/timeline/timeline-item.d.ts +8 -0
- package/lib/timeline/timeline-item.js +37 -0
- package/lib/timeline/timeline-item.js.map +1 -0
- package/lib/timeline/timeline.d.ts +8 -0
- package/lib/timeline/timeline.js +31 -0
- package/lib/timeline/timeline.js.map +1 -0
- package/lib/timeline/types.d.ts +17 -0
- package/lib/tooltip/index.js +9 -0
- package/lib/tooltip/index.js.map +1 -0
- package/lib/tooltip/style/_index.scss +41 -0
- package/lib/tooltip/style/index.css +22 -0
- package/lib/tooltip/style/index.d.ts +1 -0
- package/lib/tooltip/style/index.js +2 -0
- package/lib/tooltip/tooltip.d.ts +8 -0
- package/lib/tooltip/tooltip.js +33 -0
- package/lib/tooltip/tooltip.js.map +1 -0
- package/lib/tooltip/types.d.ts +12 -0
- package/lib/transfer/index.js +12 -0
- package/lib/transfer/index.js.map +1 -0
- package/lib/transfer/style/_index.scss +98 -0
- package/lib/transfer/style/index.css +83 -0
- package/lib/transfer/style/index.d.ts +1 -0
- package/lib/transfer/style/index.js +5 -0
- package/lib/transfer/transfer-panel.js +98 -0
- package/lib/transfer/transfer-panel.js.map +1 -0
- package/lib/transfer/transfer.d.ts +8 -0
- package/lib/transfer/transfer.js +125 -0
- package/lib/transfer/transfer.js.map +1 -0
- package/lib/transfer/types.d.ts +25 -0
- package/lib/transition/index.js +8 -0
- package/lib/transition/index.js.map +1 -0
- package/lib/transition/style/_index.scss +20 -0
- package/lib/transition/style/_mixin.scss +58 -0
- package/lib/transition/style/index.css +275 -0
- package/lib/transition/style/index.d.ts +1 -0
- package/lib/transition/style/index.js +1 -0
- package/lib/transition/transition.d.ts +18 -0
- package/lib/transition/transition.js +23 -0
- package/lib/transition/transition.js.map +1 -0
- package/lib/tree/index.js +10 -0
- package/lib/tree/index.js.map +1 -0
- package/lib/tree/style/_index.scss +66 -0
- package/lib/tree/style/index.css +52 -0
- package/lib/tree/style/index.d.ts +1 -0
- package/lib/tree/style/index.js +3 -0
- package/lib/tree/tree-instance.js +108 -0
- package/lib/tree/tree-instance.js.map +1 -0
- package/lib/tree/tree-node.js +76 -0
- package/lib/tree/tree-node.js.map +1 -0
- package/lib/tree/tree.d.ts +8 -0
- package/lib/tree/tree.js +53 -0
- package/lib/tree/tree.js.map +1 -0
- package/lib/tree/types.d.ts +28 -0
- package/lib/typography/heading.d.ts +7 -0
- package/lib/typography/heading.js +34 -0
- package/lib/typography/heading.js.map +1 -0
- package/lib/typography/index.d.ts +15 -0
- package/lib/typography/index.js +15 -0
- package/lib/typography/index.js.map +1 -0
- package/lib/typography/paragraph.d.ts +8 -0
- package/lib/typography/paragraph.js +23 -0
- package/lib/typography/paragraph.js.map +1 -0
- package/lib/typography/style/_index.scss +126 -0
- package/lib/typography/style/index.css +105 -0
- package/lib/typography/style/index.d.ts +1 -0
- package/lib/typography/style/index.js +1 -0
- package/lib/typography/text.d.ts +7 -0
- package/lib/typography/text.js +34 -0
- package/lib/typography/text.js.map +1 -0
- package/lib/typography/types.d.ts +28 -0
- package/lib/typography/typography.d.ts +8 -0
- package/lib/typography/typography.js +23 -0
- package/lib/typography/typography.js.map +1 -0
- package/lib/upload/ajax.js +26 -0
- package/lib/upload/ajax.js.map +1 -0
- package/lib/upload/dragger-cover.js +38 -0
- package/lib/upload/dragger-cover.js.map +1 -0
- package/lib/upload/index.js +8 -0
- package/lib/upload/index.js.map +1 -0
- package/lib/upload/style/_index.scss +99 -0
- package/lib/upload/style/index.css +105 -0
- package/lib/upload/style/index.d.ts +1 -0
- package/lib/upload/style/index.js +1 -0
- package/lib/upload/types.d.ts +44 -0
- package/lib/upload/upload-list.js +58 -0
- package/lib/upload/upload-list.js.map +1 -0
- package/lib/upload/upload.d.ts +8 -0
- package/lib/upload/upload.js +144 -0
- package/lib/upload/upload.js.map +1 -0
- package/package.json +87 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("./index.css");
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BaseProps } from "../_utils/props.js";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/alert/types.d.ts
|
|
5
|
+
type AlertType = 'success' | 'info' | 'warning' | 'error';
|
|
6
|
+
interface AlertProps extends BaseProps, Omit<React.PropsWithoutRef<JSX.IntrinsicElements['div']>, 'title'> {
|
|
7
|
+
/** alert title */
|
|
8
|
+
title?: string | ReactNode;
|
|
9
|
+
/** alert type */
|
|
10
|
+
type?: AlertType;
|
|
11
|
+
/** display icon or customise an icon */
|
|
12
|
+
icon?: boolean | ReactNode;
|
|
13
|
+
/** icon size */
|
|
14
|
+
iconSize?: number;
|
|
15
|
+
/** whether the Alert can be closed */
|
|
16
|
+
closable?: boolean;
|
|
17
|
+
/** close text to show */
|
|
18
|
+
closeText?: ReactNode;
|
|
19
|
+
/** trigger when animation ending of Alert */
|
|
20
|
+
afterClose?: () => void;
|
|
21
|
+
/** close button callback */
|
|
22
|
+
onClose?: React.MouseEventHandler<HTMLSpanElement>;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { AlertProps };
|
|
26
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const require_runtime = require("../_virtual/_rolldown/runtime.js");
|
|
2
|
+
let react = require("react");
|
|
3
|
+
react = require_runtime.__toESM(react);
|
|
4
|
+
//#region src/anchor/anchor-context.ts
|
|
5
|
+
const AnchorContext = react.default.createContext({});
|
|
6
|
+
//#endregion
|
|
7
|
+
exports.AnchorContext = AnchorContext;
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=anchor-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchor-context.js","names":["React"],"sources":["../../src/anchor/anchor-context.ts"],"sourcesContent":["import React from 'react';\n\ntype Props = {\n activeId?: string;\n onClick?: (e: React.MouseEvent<HTMLAnchorElement>, anchorName: string) => void;\n registerLink?: (href: string) => void;\n unregisterLink?: (href: string) => void;\n};\n\nexport const AnchorContext = React.createContext<Props>({});\n"],"mappings":";;;;AASA,MAAa,gBAAgBA,MAAAA,QAAM,cAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AnchorLinkProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/anchor/anchor-link.d.ts
|
|
5
|
+
declare const AnchorLink: React.ForwardRefExoticComponent<Omit<AnchorLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AnchorLink };
|
|
8
|
+
//# sourceMappingURL=anchor-link.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const require_runtime = require("../_virtual/_rolldown/runtime.js");
|
|
2
|
+
const require_anchor_context = require("./anchor-context.js");
|
|
3
|
+
let react = require("react");
|
|
4
|
+
react = require_runtime.__toESM(react);
|
|
5
|
+
let classnames = require("classnames");
|
|
6
|
+
classnames = require_runtime.__toESM(classnames);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
//#region src/anchor/anchor-link.tsx
|
|
9
|
+
const AnchorLink = react.default.forwardRef((props, ref) => {
|
|
10
|
+
const { href, title, children, prefixCls, ...otherProps } = props;
|
|
11
|
+
const anchorContext = (0, react.useContext)(require_anchor_context.AnchorContext);
|
|
12
|
+
(0, react.useEffect)(() => {
|
|
13
|
+
anchorContext.registerLink?.(href);
|
|
14
|
+
return () => anchorContext.unregisterLink?.(href);
|
|
15
|
+
}, [href, anchorContext]);
|
|
16
|
+
const isActive = `#${anchorContext.activeId}` === href;
|
|
17
|
+
const cls = (0, classnames.default)(`${prefixCls}__link`, { [`${prefixCls}__link_active`]: isActive });
|
|
18
|
+
const onLinkClick = (e) => {
|
|
19
|
+
e.preventDefault();
|
|
20
|
+
const { onClick } = anchorContext;
|
|
21
|
+
onClick && onClick(e, href.replace("#", ""));
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
24
|
+
title,
|
|
25
|
+
className: cls,
|
|
26
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
27
|
+
...otherProps,
|
|
28
|
+
className: `${prefixCls}__link-title`,
|
|
29
|
+
ref,
|
|
30
|
+
href,
|
|
31
|
+
onClick: onLinkClick,
|
|
32
|
+
target: "target" in props ? props.target : void 0,
|
|
33
|
+
children: title
|
|
34
|
+
}), children && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
35
|
+
className: prefixCls,
|
|
36
|
+
children: react.default.Children.map(children, (child) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AnchorLink, {
|
|
37
|
+
...child.props,
|
|
38
|
+
prefixCls
|
|
39
|
+
}))
|
|
40
|
+
})]
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
AnchorLink.displayName = "AnchorLink";
|
|
44
|
+
//#endregion
|
|
45
|
+
exports.default = AnchorLink;
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=anchor-link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchor-link.js","names":["React","AnchorContext"],"sources":["../../src/anchor/anchor-link.tsx"],"sourcesContent":["import React, { useContext, useEffect } from 'react';\nimport classNames from 'classnames';\nimport { AnchorLinkProps } from './types';\nimport { AnchorContext } from './anchor-context';\n\nconst AnchorLink = React.forwardRef<HTMLAnchorElement, AnchorLinkProps>(\n (props: AnchorLinkProps, ref): JSX.Element => {\n const { href, title, children, prefixCls, ...otherProps } = props;\n const anchorContext = useContext(AnchorContext);\n\n useEffect(() => {\n anchorContext.registerLink?.(href);\n return () => anchorContext.unregisterLink?.(href);\n }, [href, anchorContext]);\n\n const activeHref = `#${anchorContext.activeId}`;\n const isActive = activeHref === href;\n\n const cls = classNames(`${prefixCls}__link`, {\n [`${prefixCls}__link_active`]: isActive,\n });\n\n const onLinkClick = (e: React.MouseEvent<HTMLAnchorElement>) => {\n e.preventDefault();\n const { onClick } = anchorContext;\n onClick && onClick(e, href.replace('#', ''));\n };\n\n return (\n <li title={title} className={cls}>\n <a\n {...otherProps}\n className={`${prefixCls}__link-title`}\n ref={ref}\n href={href}\n onClick={onLinkClick}\n target={'target' in props ? props.target : undefined}>\n {title}\n </a>\n {children && (\n <ul className={prefixCls}>\n {React.Children.map(children, (child) => (\n <AnchorLink {...child.props} prefixCls={prefixCls} />\n ))}\n </ul>\n )}\n </li>\n );\n }\n);\n\nAnchorLink.displayName = 'AnchorLink';\n\nexport default AnchorLink;\n"],"mappings":";;;;;;;;AAKA,MAAM,aAAaA,MAAAA,QAAM,YACtB,OAAwB,QAAqB;CAC5C,MAAM,EAAE,MAAM,OAAO,UAAU,WAAW,GAAG,eAAe;CAC5D,MAAM,iBAAA,GAAA,MAAA,YAA2BC,uBAAAA,cAAc;AAE/C,EAAA,GAAA,MAAA,iBAAgB;AACd,gBAAc,eAAe,KAAK;AAClC,eAAa,cAAc,iBAAiB,KAAK;IAChD,CAAC,MAAM,cAAc,CAAC;CAGzB,MAAM,WADa,IAAI,cAAc,eACL;CAEhC,MAAM,OAAA,GAAA,WAAA,SAAiB,GAAG,UAAU,SAAS,GAC1C,GAAG,UAAU,iBAAiB,UAChC,CAAC;CAEF,MAAM,eAAe,MAA2C;AAC9D,IAAE,gBAAgB;EAClB,MAAM,EAAE,YAAY;AACpB,aAAW,QAAQ,GAAG,KAAK,QAAQ,KAAK,GAAG,CAAC;;AAG9C,QACE,iBAAA,GAAA,kBAAA,MAAC,MAAD;EAAW;EAAO,WAAW;YAA7B,CACE,iBAAA,GAAA,kBAAA,KAAC,KAAD;GACE,GAAI;GACJ,WAAW,GAAG,UAAU;GACnB;GACC;GACN,SAAS;GACT,QAAQ,YAAY,QAAQ,MAAM,SAAS,KAAA;aAC1C;GACC,CAAA,EACH,YACC,iBAAA,GAAA,kBAAA,KAAC,MAAD;GAAI,WAAW;aACZD,MAAAA,QAAM,SAAS,IAAI,WAAW,UAC7B,iBAAA,GAAA,kBAAA,KAAC,YAAD;IAAY,GAAI,MAAM;IAAkB;IAAa,CAAA,CACrD;GACC,CAAA,CAEJ;;EAGV;AAED,WAAW,cAAc"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
const require_runtime = require("../_virtual/_rolldown/runtime.js");
|
|
2
|
+
const require_config_context = require("../config-provider/config-context.js");
|
|
3
|
+
const require_general = require("../_utils/general.js");
|
|
4
|
+
const require_anchor_context = require("./anchor-context.js");
|
|
5
|
+
const require_index = require("../sticky/index.js");
|
|
6
|
+
let react = require("react");
|
|
7
|
+
react = require_runtime.__toESM(react);
|
|
8
|
+
let classnames = require("classnames");
|
|
9
|
+
classnames = require_runtime.__toESM(classnames);
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
|
+
//#region src/anchor/anchor.tsx
|
|
12
|
+
const Anchor = (props) => {
|
|
13
|
+
const { affix = false, offsetTop = 0, offsetBottom, type = "dot", getContainer, onChange, onClick, className, style, children, prefixCls: customisedCls } = props;
|
|
14
|
+
const prefixCls = require_general.getPrefixCls("anchor", (0, react.useContext)(require_config_context.ConfigContext).prefixCls, customisedCls);
|
|
15
|
+
const cls = (0, classnames.default)(prefixCls, { [`${prefixCls}_line`]: type === "line" }, className);
|
|
16
|
+
const [activeId, setActiveId] = (0, react.useState)("");
|
|
17
|
+
const anchorRef = (0, react.useRef)(null);
|
|
18
|
+
const inkBallRef = (0, react.useRef)(null);
|
|
19
|
+
const linksRef = (0, react.useRef)(/* @__PURE__ */ new Set());
|
|
20
|
+
const registerLink = (0, react.useCallback)((href) => {
|
|
21
|
+
linksRef.current.add(href);
|
|
22
|
+
}, []);
|
|
23
|
+
const unregisterLink = (0, react.useCallback)((href) => {
|
|
24
|
+
linksRef.current.delete(href);
|
|
25
|
+
}, []);
|
|
26
|
+
const updateInk = (0, react.useCallback)(() => {
|
|
27
|
+
const anchorEl = anchorRef.current;
|
|
28
|
+
if (!anchorEl) return;
|
|
29
|
+
const activeNodes = anchorEl.getElementsByClassName(`${prefixCls}__link_active`);
|
|
30
|
+
const inkEl = inkBallRef.current;
|
|
31
|
+
const linkNode = activeNodes[activeNodes.length - 1];
|
|
32
|
+
if (linkNode && inkEl) {
|
|
33
|
+
const targetEl = linkNode.querySelector(`.${prefixCls}__link-title`) || linkNode;
|
|
34
|
+
const anchorRect = anchorEl.getBoundingClientRect();
|
|
35
|
+
const targetRect = targetEl.getBoundingClientRect();
|
|
36
|
+
if (type === "line") {
|
|
37
|
+
inkEl.style.top = `${targetRect.top - anchorRect.top}px`;
|
|
38
|
+
inkEl.style.height = `${targetEl.clientHeight}px`;
|
|
39
|
+
} else inkEl.style.top = `${targetRect.top - anchorRect.top + targetEl.clientHeight / 2 - 4.5}px`;
|
|
40
|
+
}
|
|
41
|
+
}, [prefixCls, type]);
|
|
42
|
+
const getScrollContainer = (0, react.useCallback)(() => {
|
|
43
|
+
return getContainer ? getContainer() : window;
|
|
44
|
+
}, [getContainer]);
|
|
45
|
+
const scrollToAnchor = (0, react.useCallback)((anchorName) => {
|
|
46
|
+
const element = document.getElementById(anchorName);
|
|
47
|
+
if (!element) return;
|
|
48
|
+
if (getContainer) {
|
|
49
|
+
const container = getContainer();
|
|
50
|
+
const containerRect = container.getBoundingClientRect();
|
|
51
|
+
const elementRect = element.getBoundingClientRect();
|
|
52
|
+
container.scrollTop += elementRect.top - containerRect.top;
|
|
53
|
+
} else element.scrollIntoView(true);
|
|
54
|
+
}, [getContainer]);
|
|
55
|
+
const handleLinkClick = (e, anchorName) => {
|
|
56
|
+
onClick?.(e, {
|
|
57
|
+
title: anchorName,
|
|
58
|
+
href: `#${anchorName}`
|
|
59
|
+
});
|
|
60
|
+
const { location } = window;
|
|
61
|
+
let url;
|
|
62
|
+
if (location.pathname.includes("/#/")) url = location.protocol + "//" + location.host + location.pathname + `?anchor=${anchorName}`;
|
|
63
|
+
else url = location.protocol + "//" + location.host + location.pathname + `#${anchorName}`;
|
|
64
|
+
window.history.pushState({ path: url }, "", url);
|
|
65
|
+
scrollToAnchor(anchorName);
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* If the url contains the hash, check whether there is an element can be scrolled into
|
|
69
|
+
*/
|
|
70
|
+
const initHashScroll = (0, react.useCallback)(() => {
|
|
71
|
+
const { location } = window;
|
|
72
|
+
if (location.search) {
|
|
73
|
+
const anchor = new URLSearchParams(location.search).get("anchor");
|
|
74
|
+
anchor && scrollToAnchor(anchor);
|
|
75
|
+
} else if (location.hash) {
|
|
76
|
+
const anchor = location.hash.replace("#", "");
|
|
77
|
+
anchor && scrollToAnchor(anchor);
|
|
78
|
+
}
|
|
79
|
+
}, [scrollToAnchor]);
|
|
80
|
+
const handleScroll = (0, react.useCallback)(() => {
|
|
81
|
+
const links = linksRef.current;
|
|
82
|
+
if (links.size === 0) return;
|
|
83
|
+
const container = getContainer?.();
|
|
84
|
+
const containerTop = container ? container.getBoundingClientRect().top : 0;
|
|
85
|
+
let newActiveId = "";
|
|
86
|
+
let maxTop = -Infinity;
|
|
87
|
+
let firstId = "";
|
|
88
|
+
let firstTop = Infinity;
|
|
89
|
+
links.forEach((href) => {
|
|
90
|
+
const id = href.replace("#", "");
|
|
91
|
+
const el = document.getElementById(id);
|
|
92
|
+
if (!el) return;
|
|
93
|
+
const elTop = el.getBoundingClientRect().top - containerTop;
|
|
94
|
+
if (elTop < firstTop) {
|
|
95
|
+
firstTop = elTop;
|
|
96
|
+
firstId = id;
|
|
97
|
+
}
|
|
98
|
+
if (elTop <= offsetTop && elTop > maxTop) {
|
|
99
|
+
maxTop = elTop;
|
|
100
|
+
newActiveId = id;
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
if (!newActiveId && firstId) newActiveId = firstId;
|
|
104
|
+
setActiveId((prev) => {
|
|
105
|
+
if (prev !== newActiveId) onChange?.(`#${newActiveId}`);
|
|
106
|
+
return newActiveId;
|
|
107
|
+
});
|
|
108
|
+
}, [
|
|
109
|
+
onChange,
|
|
110
|
+
getContainer,
|
|
111
|
+
offsetTop
|
|
112
|
+
]);
|
|
113
|
+
(0, react.useEffect)(() => {
|
|
114
|
+
updateInk();
|
|
115
|
+
}, [activeId, updateInk]);
|
|
116
|
+
(0, react.useEffect)(() => {
|
|
117
|
+
initHashScroll();
|
|
118
|
+
}, [initHashScroll]);
|
|
119
|
+
(0, react.useEffect)(() => {
|
|
120
|
+
const scrollTarget = getScrollContainer();
|
|
121
|
+
scrollTarget.addEventListener("scroll", handleScroll);
|
|
122
|
+
handleScroll();
|
|
123
|
+
return () => {
|
|
124
|
+
scrollTarget.removeEventListener("scroll", handleScroll);
|
|
125
|
+
};
|
|
126
|
+
}, [handleScroll, getScrollContainer]);
|
|
127
|
+
const contextValue = (0, react.useMemo)(() => ({
|
|
128
|
+
activeId,
|
|
129
|
+
onClick: handleLinkClick,
|
|
130
|
+
registerLink,
|
|
131
|
+
unregisterLink
|
|
132
|
+
}), [
|
|
133
|
+
activeId,
|
|
134
|
+
registerLink,
|
|
135
|
+
unregisterLink
|
|
136
|
+
]);
|
|
137
|
+
const anchorContent = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("ul", {
|
|
138
|
+
className: cls,
|
|
139
|
+
style,
|
|
140
|
+
ref: anchorRef,
|
|
141
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
142
|
+
className: `${prefixCls}__ink`,
|
|
143
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
144
|
+
className: `${prefixCls}__ink-ball`,
|
|
145
|
+
ref: inkBallRef
|
|
146
|
+
})
|
|
147
|
+
}), react.default.Children.map(children, (child) => {
|
|
148
|
+
const childElement = child;
|
|
149
|
+
if (childElement.type.displayName === "AnchorLink") {
|
|
150
|
+
const childProps = { prefixCls };
|
|
151
|
+
return react.default.cloneElement(childElement, childProps);
|
|
152
|
+
}
|
|
153
|
+
return null;
|
|
154
|
+
})]
|
|
155
|
+
});
|
|
156
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_anchor_context.AnchorContext.Provider, {
|
|
157
|
+
value: contextValue,
|
|
158
|
+
children: affix ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.default, {
|
|
159
|
+
offsetTop,
|
|
160
|
+
offsetBottom,
|
|
161
|
+
children: anchorContent
|
|
162
|
+
}) : anchorContent
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
Anchor.displayName = "Anchor";
|
|
166
|
+
//#endregion
|
|
167
|
+
exports.default = Anchor;
|
|
168
|
+
|
|
169
|
+
//# sourceMappingURL=anchor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchor.js","names":["getPrefixCls","ConfigContext","React","AnchorContext","Sticky"],"sources":["../../src/anchor/anchor.tsx"],"sourcesContent":["import React, { useContext, useState, useCallback, useEffect, useRef, useMemo } from 'react';\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider/config-context';\nimport { getPrefixCls } from '../_utils/general';\nimport { AnchorLinkProps, AnchorProps } from './types';\nimport { AnchorContext } from './anchor-context';\nimport Sticky from '../sticky';\n\nconst Anchor = (props: AnchorProps): JSX.Element => {\n const {\n affix = false,\n offsetTop = 0,\n offsetBottom,\n type = 'dot',\n getContainer,\n onChange,\n onClick,\n className,\n style,\n children,\n prefixCls: customisedCls,\n } = props;\n const configContext = useContext(ConfigContext);\n const prefixCls = getPrefixCls('anchor', configContext.prefixCls, customisedCls);\n const cls = classNames(prefixCls, { [`${prefixCls}_line`]: type === 'line' }, className);\n const [activeId, setActiveId] = useState('');\n const anchorRef = useRef<HTMLUListElement | null>(null);\n const inkBallRef = useRef<HTMLDivElement | null>(null);\n const linksRef = useRef<Set<string>>(new Set());\n\n const registerLink = useCallback((href: string) => {\n linksRef.current.add(href);\n }, []);\n\n const unregisterLink = useCallback((href: string) => {\n linksRef.current.delete(href);\n }, []);\n\n const updateInk = useCallback(() => {\n const anchorEl = anchorRef.current;\n if (!anchorEl) return;\n const activeNodes = anchorEl.getElementsByClassName(`${prefixCls}__link_active`);\n const inkEl = inkBallRef.current;\n // Use the last (deepest) active link so the ink ball targets the child, not the parent\n const linkNode = activeNodes[activeNodes.length - 1];\n if (linkNode && inkEl) {\n // Use the <a> title element, not the <li> (which includes nested children)\n const titleEl = linkNode.querySelector(`.${prefixCls}__link-title`);\n const targetEl = titleEl || linkNode;\n const anchorRect = anchorEl.getBoundingClientRect();\n const targetRect = targetEl.getBoundingClientRect();\n if (type === 'line') {\n inkEl.style.top = `${targetRect.top - anchorRect.top}px`;\n inkEl.style.height = `${targetEl.clientHeight}px`;\n } else {\n inkEl.style.top = `${targetRect.top - anchorRect.top + targetEl.clientHeight / 2 - 4.5}px`;\n }\n }\n }, [prefixCls, type]);\n\n const getScrollContainer = useCallback((): HTMLElement | Window => {\n return getContainer ? getContainer() : window;\n }, [getContainer]);\n\n const scrollToAnchor = useCallback(\n (anchorName: string): void => {\n const element = document.getElementById(anchorName);\n if (!element) return;\n\n if (getContainer) {\n const container = getContainer();\n const containerRect = container.getBoundingClientRect();\n const elementRect = element.getBoundingClientRect();\n container.scrollTop += elementRect.top - containerRect.top;\n } else {\n element.scrollIntoView(true);\n }\n },\n [getContainer]\n );\n\n const handleLinkClick = (e: React.MouseEvent<HTMLAnchorElement>, anchorName: string) => {\n onClick?.(e, { title: anchorName, href: `#${anchorName}` });\n const { location } = window;\n let url;\n // if it is a HashRouter mode, prevent the default event and update the query.\n if (location.pathname.includes('/#/')) {\n url = location.protocol + '//' + location.host + location.pathname + `?anchor=${anchorName}`;\n } else {\n url = location.protocol + '//' + location.host + location.pathname + `#${anchorName}`;\n }\n window.history.pushState({ path: url }, '', url);\n scrollToAnchor(anchorName);\n };\n\n /**\n * If the url contains the hash, check whether there is an element can be scrolled into\n */\n const initHashScroll = useCallback(() => {\n const { location } = window;\n if (location.search) {\n const urlParams = new URLSearchParams(location.search);\n const anchor = urlParams.get('anchor');\n !!anchor && scrollToAnchor(anchor);\n } else if (location.hash) {\n const anchor = location.hash.replace('#', '');\n !!anchor && scrollToAnchor(anchor);\n }\n }, [scrollToAnchor]);\n\n const handleScroll = useCallback(() => {\n const links = linksRef.current;\n if (links.size === 0) return;\n\n const container = getContainer?.();\n const containerTop = container\n ? container.getBoundingClientRect().top\n : 0;\n\n let newActiveId = '';\n let maxTop = -Infinity;\n let firstId = '';\n let firstTop = Infinity;\n links.forEach((href) => {\n const id = href.replace('#', '');\n const el = document.getElementById(id);\n if (!el) return;\n const elTop = el.getBoundingClientRect().top - containerTop;\n if (elTop < firstTop) {\n firstTop = elTop;\n firstId = id;\n }\n if (elTop <= offsetTop && elTop > maxTop) {\n maxTop = elTop;\n newActiveId = id;\n }\n });\n if (!newActiveId && firstId) {\n newActiveId = firstId;\n }\n\n setActiveId((prev) => {\n if (prev !== newActiveId) {\n onChange?.(`#${newActiveId}`);\n }\n return newActiveId;\n });\n }, [onChange, getContainer, offsetTop]);\n\n useEffect(() => {\n updateInk();\n }, [activeId, updateInk]);\n\n useEffect(() => {\n initHashScroll();\n }, [initHashScroll]);\n\n useEffect(() => {\n const scrollTarget = getScrollContainer();\n scrollTarget.addEventListener('scroll', handleScroll);\n handleScroll();\n return () => {\n scrollTarget.removeEventListener('scroll', handleScroll);\n };\n }, [handleScroll, getScrollContainer]);\n\n const contextValue = useMemo(\n () => ({ activeId, onClick: handleLinkClick, registerLink, unregisterLink }),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [activeId, registerLink, unregisterLink]\n );\n\n const anchorContent = (\n <ul className={cls} style={style} ref={anchorRef}>\n <div className={`${prefixCls}__ink`}>\n <div className={`${prefixCls}__ink-ball`} ref={inkBallRef} />\n </div>\n {React.Children.map(children, (child) => {\n const childElement = child as React.FunctionComponentElement<AnchorLinkProps>;\n if (childElement.type.displayName === 'AnchorLink') {\n const childProps: Partial<AnchorLinkProps> = {\n prefixCls,\n };\n return React.cloneElement(childElement, childProps);\n }\n return null;\n })}\n </ul>\n );\n\n return (\n <AnchorContext.Provider value={contextValue}>\n {affix ? (\n <Sticky offsetTop={offsetTop} offsetBottom={offsetBottom}>\n {anchorContent}\n </Sticky>\n ) : (\n anchorContent\n )}\n </AnchorContext.Provider>\n );\n};\n\nAnchor.displayName = 'Anchor';\n\nexport default Anchor;\n"],"mappings":";;;;;;;;;;;AAQA,MAAM,UAAU,UAAoC;CAClD,MAAM,EACJ,QAAQ,OACR,YAAY,GACZ,cACA,OAAO,OACP,cACA,UACA,SACA,WACA,OACA,UACA,WAAW,kBACT;CAEJ,MAAM,YAAYA,gBAAAA,aAAa,WAAA,GAAA,MAAA,YADEC,uBAAAA,cAAc,CACQ,WAAW,cAAc;CAChF,MAAM,OAAA,GAAA,WAAA,SAAiB,WAAW,GAAG,GAAG,UAAU,SAAS,SAAS,QAAQ,EAAE,UAAU;CACxF,MAAM,CAAC,UAAU,gBAAA,GAAA,MAAA,UAAwB,GAAG;CAC5C,MAAM,aAAA,GAAA,MAAA,QAA4C,KAAK;CACvD,MAAM,cAAA,GAAA,MAAA,QAA2C,KAAK;CACtD,MAAM,YAAA,GAAA,MAAA,wBAA+B,IAAI,KAAK,CAAC;CAE/C,MAAM,gBAAA,GAAA,MAAA,cAA4B,SAAiB;AACjD,WAAS,QAAQ,IAAI,KAAK;IACzB,EAAE,CAAC;CAEN,MAAM,kBAAA,GAAA,MAAA,cAA8B,SAAiB;AACnD,WAAS,QAAQ,OAAO,KAAK;IAC5B,EAAE,CAAC;CAEN,MAAM,aAAA,GAAA,MAAA,mBAA8B;EAClC,MAAM,WAAW,UAAU;AAC3B,MAAI,CAAC,SAAU;EACf,MAAM,cAAc,SAAS,uBAAuB,GAAG,UAAU,eAAe;EAChF,MAAM,QAAQ,WAAW;EAEzB,MAAM,WAAW,YAAY,YAAY,SAAS;AAClD,MAAI,YAAY,OAAO;GAGrB,MAAM,WADU,SAAS,cAAc,IAAI,UAAU,cAAc,IACvC;GAC5B,MAAM,aAAa,SAAS,uBAAuB;GACnD,MAAM,aAAa,SAAS,uBAAuB;AACnD,OAAI,SAAS,QAAQ;AACnB,UAAM,MAAM,MAAM,GAAG,WAAW,MAAM,WAAW,IAAI;AACrD,UAAM,MAAM,SAAS,GAAG,SAAS,aAAa;SAE9C,OAAM,MAAM,MAAM,GAAG,WAAW,MAAM,WAAW,MAAM,SAAS,eAAe,IAAI,IAAI;;IAG1F,CAAC,WAAW,KAAK,CAAC;CAErB,MAAM,sBAAA,GAAA,MAAA,mBAA6D;AACjE,SAAO,eAAe,cAAc,GAAG;IACtC,CAAC,aAAa,CAAC;CAElB,MAAM,kBAAA,GAAA,MAAA,cACH,eAA6B;EAC5B,MAAM,UAAU,SAAS,eAAe,WAAW;AACnD,MAAI,CAAC,QAAS;AAEd,MAAI,cAAc;GAChB,MAAM,YAAY,cAAc;GAChC,MAAM,gBAAgB,UAAU,uBAAuB;GACvD,MAAM,cAAc,QAAQ,uBAAuB;AACnD,aAAU,aAAa,YAAY,MAAM,cAAc;QAEvD,SAAQ,eAAe,KAAK;IAGhC,CAAC,aAAa,CACf;CAED,MAAM,mBAAmB,GAAwC,eAAuB;AACtF,YAAU,GAAG;GAAE,OAAO;GAAY,MAAM,IAAI;GAAc,CAAC;EAC3D,MAAM,EAAE,aAAa;EACrB,IAAI;AAEJ,MAAI,SAAS,SAAS,SAAS,MAAM,CACnC,OAAM,SAAS,WAAW,OAAO,SAAS,OAAO,SAAS,WAAW,WAAW;MAEhF,OAAM,SAAS,WAAW,OAAO,SAAS,OAAO,SAAS,WAAW,IAAI;AAE3E,SAAO,QAAQ,UAAU,EAAE,MAAM,KAAK,EAAE,IAAI,IAAI;AAChD,iBAAe,WAAW;;;;;CAM5B,MAAM,kBAAA,GAAA,MAAA,mBAAmC;EACvC,MAAM,EAAE,aAAa;AACrB,MAAI,SAAS,QAAQ;GAEnB,MAAM,SADY,IAAI,gBAAgB,SAAS,OAAO,CAC7B,IAAI,SAAS;AACpC,aAAU,eAAe,OAAO;aACzB,SAAS,MAAM;GACxB,MAAM,SAAS,SAAS,KAAK,QAAQ,KAAK,GAAG;AAC3C,aAAU,eAAe,OAAO;;IAEnC,CAAC,eAAe,CAAC;CAEpB,MAAM,gBAAA,GAAA,MAAA,mBAAiC;EACrC,MAAM,QAAQ,SAAS;AACvB,MAAI,MAAM,SAAS,EAAG;EAEtB,MAAM,YAAY,gBAAgB;EAClC,MAAM,eAAe,YACjB,UAAU,uBAAuB,CAAC,MAClC;EAEJ,IAAI,cAAc;EAClB,IAAI,SAAS;EACb,IAAI,UAAU;EACd,IAAI,WAAW;AACf,QAAM,SAAS,SAAS;GACtB,MAAM,KAAK,KAAK,QAAQ,KAAK,GAAG;GAChC,MAAM,KAAK,SAAS,eAAe,GAAG;AACtC,OAAI,CAAC,GAAI;GACT,MAAM,QAAQ,GAAG,uBAAuB,CAAC,MAAM;AAC/C,OAAI,QAAQ,UAAU;AACpB,eAAW;AACX,cAAU;;AAEZ,OAAI,SAAS,aAAa,QAAQ,QAAQ;AACxC,aAAS;AACT,kBAAc;;IAEhB;AACF,MAAI,CAAC,eAAe,QAClB,eAAc;AAGhB,eAAa,SAAS;AACpB,OAAI,SAAS,YACX,YAAW,IAAI,cAAc;AAE/B,UAAO;IACP;IACD;EAAC;EAAU;EAAc;EAAU,CAAC;AAEvC,EAAA,GAAA,MAAA,iBAAgB;AACd,aAAW;IACV,CAAC,UAAU,UAAU,CAAC;AAEzB,EAAA,GAAA,MAAA,iBAAgB;AACd,kBAAgB;IACf,CAAC,eAAe,CAAC;AAEpB,EAAA,GAAA,MAAA,iBAAgB;EACd,MAAM,eAAe,oBAAoB;AACzC,eAAa,iBAAiB,UAAU,aAAa;AACrD,gBAAc;AACd,eAAa;AACX,gBAAa,oBAAoB,UAAU,aAAa;;IAEzD,CAAC,cAAc,mBAAmB,CAAC;CAEtC,MAAM,gBAAA,GAAA,MAAA,gBACG;EAAE;EAAU,SAAS;EAAiB;EAAc;EAAgB,GAE3E;EAAC;EAAU;EAAc;EAAe,CACzC;CAED,MAAM,gBACJ,iBAAA,GAAA,kBAAA,MAAC,MAAD;EAAI,WAAW;EAAY;EAAO,KAAK;YAAvC,CACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;GAAK,WAAW,GAAG,UAAU;aAC3B,iBAAA,GAAA,kBAAA,KAAC,OAAD;IAAK,WAAW,GAAG,UAAU;IAAa,KAAK;IAAc,CAAA;GACzD,CAAA,EACLC,MAAAA,QAAM,SAAS,IAAI,WAAW,UAAU;GACvC,MAAM,eAAe;AACrB,OAAI,aAAa,KAAK,gBAAgB,cAAc;IAClD,MAAM,aAAuC,EAC3C,WACD;AACD,WAAOA,MAAAA,QAAM,aAAa,cAAc,WAAW;;AAErD,UAAO;IACP,CACC;;AAGP,QACE,iBAAA,GAAA,kBAAA,KAACC,uBAAAA,cAAc,UAAf;EAAwB,OAAO;YAC5B,QACC,iBAAA,GAAA,kBAAA,KAACC,cAAAA,SAAD;GAAmB;GAAyB;aACzC;GACM,CAAA,GAET;EAEqB,CAAA;;AAI7B,OAAO,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Anchor } from "./anchor.js";
|
|
2
|
+
import { AnchorLink } from "./anchor-link.js";
|
|
3
|
+
|
|
4
|
+
//#region src/anchor/index.d.ts
|
|
5
|
+
type IAnchor = typeof Anchor & {
|
|
6
|
+
Link: typeof AnchorLink;
|
|
7
|
+
};
|
|
8
|
+
declare const DefaultAnchor: IAnchor;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { DefaultAnchor };
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require('../style/base.css');
|
|
2
|
+
require('./style/index.css');
|
|
3
|
+
require('../sticky/style/index.css');
|
|
4
|
+
const require_anchor = require("./anchor.js");
|
|
5
|
+
const require_anchor_link = require("./anchor-link.js");
|
|
6
|
+
//#region src/anchor/index.tsx
|
|
7
|
+
const DefaultAnchor = require_anchor.default;
|
|
8
|
+
DefaultAnchor.Link = require_anchor_link.default;
|
|
9
|
+
//#endregion
|
|
10
|
+
exports.default = DefaultAnchor;
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["Anchor","AnchorLink"],"sources":["../../src/anchor/index.tsx"],"sourcesContent":["import Anchor from './anchor';\nimport AnchorLink from './anchor-link';\n\ntype IAnchor = typeof Anchor & {\n Link: typeof AnchorLink;\n};\n\nconst DefaultAnchor = Anchor as IAnchor;\nDefaultAnchor.Link = AnchorLink;\n\nexport default DefaultAnchor;\n"],"mappings":";;;AAOA,MAAM,gBAAgBA,eAAAA;AACtB,cAAc,OAAOC,oBAAAA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@use '../../style/variables' as *;
|
|
2
|
+
|
|
3
|
+
.#{$prefix}-anchor {
|
|
4
|
+
margin: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
list-style: none;
|
|
10
|
+
position: relative;
|
|
11
|
+
background-color: var(--ty-anchor-bg);
|
|
12
|
+
|
|
13
|
+
&__ink {
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 0;
|
|
16
|
+
left: 0;
|
|
17
|
+
height: 100%;
|
|
18
|
+
|
|
19
|
+
&:before {
|
|
20
|
+
content: '';
|
|
21
|
+
position: relative;
|
|
22
|
+
display: block;
|
|
23
|
+
width: 2px;
|
|
24
|
+
height: 100%;
|
|
25
|
+
margin: 0 auto;
|
|
26
|
+
background-color: var(--ty-anchor-ink-bg);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__ink-ball {
|
|
31
|
+
position: absolute;
|
|
32
|
+
left: 50%;
|
|
33
|
+
width: 8px;
|
|
34
|
+
height: 8px;
|
|
35
|
+
background-color: var(--ty-anchor-ball-bg);
|
|
36
|
+
border: 2px solid var(--ty-color-primary);
|
|
37
|
+
border-radius: 8px;
|
|
38
|
+
transform: translateX(-50%);
|
|
39
|
+
transition: top .3s ease-in-out;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__link {
|
|
43
|
+
padding: 7px 0 7px 16px;
|
|
44
|
+
|
|
45
|
+
.#{$prefix}-anchor {
|
|
46
|
+
border: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&_active {
|
|
50
|
+
& > a {
|
|
51
|
+
color: var(--ty-color-primary);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__link-title {
|
|
57
|
+
display: block;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
color: var(--ty-color-text-secondary);
|
|
60
|
+
white-space: nowrap;
|
|
61
|
+
text-overflow: ellipsis;
|
|
62
|
+
border-left: 2px solid transparent;
|
|
63
|
+
|
|
64
|
+
&:hover {
|
|
65
|
+
color: var(--ty-color-primary);
|
|
66
|
+
text-decoration: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:not(:only-child) {
|
|
70
|
+
margin-bottom: 5px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&_line {
|
|
75
|
+
.#{$prefix}-anchor__ink-ball {
|
|
76
|
+
width: 2px;
|
|
77
|
+
border: 0;
|
|
78
|
+
border-radius: 0;
|
|
79
|
+
background-color: var(--ty-color-primary);
|
|
80
|
+
transition: top .3s ease-in-out, height .3s ease-in-out;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.ty-anchor {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
list-style: none;
|
|
8
|
+
position: relative;
|
|
9
|
+
background-color: var(--ty-anchor-bg);
|
|
10
|
+
}
|
|
11
|
+
.ty-anchor__ink {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
height: 100%;
|
|
16
|
+
}
|
|
17
|
+
.ty-anchor__ink:before {
|
|
18
|
+
content: "";
|
|
19
|
+
position: relative;
|
|
20
|
+
display: block;
|
|
21
|
+
width: 2px;
|
|
22
|
+
height: 100%;
|
|
23
|
+
margin: 0 auto;
|
|
24
|
+
background-color: var(--ty-anchor-ink-bg);
|
|
25
|
+
}
|
|
26
|
+
.ty-anchor__ink-ball {
|
|
27
|
+
position: absolute;
|
|
28
|
+
left: 50%;
|
|
29
|
+
width: 8px;
|
|
30
|
+
height: 8px;
|
|
31
|
+
background-color: var(--ty-anchor-ball-bg);
|
|
32
|
+
border: 2px solid var(--ty-color-primary);
|
|
33
|
+
border-radius: 8px;
|
|
34
|
+
transform: translateX(-50%);
|
|
35
|
+
transition: top 0.3s ease-in-out;
|
|
36
|
+
}
|
|
37
|
+
.ty-anchor__link {
|
|
38
|
+
padding: 7px 0 7px 16px;
|
|
39
|
+
}
|
|
40
|
+
.ty-anchor__link .ty-anchor {
|
|
41
|
+
border: 0;
|
|
42
|
+
}
|
|
43
|
+
.ty-anchor__link_active > a {
|
|
44
|
+
color: var(--ty-color-primary);
|
|
45
|
+
}
|
|
46
|
+
.ty-anchor__link-title {
|
|
47
|
+
display: block;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
color: var(--ty-color-text-secondary);
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
text-overflow: ellipsis;
|
|
52
|
+
border-left: 2px solid transparent;
|
|
53
|
+
}
|
|
54
|
+
.ty-anchor__link-title:hover {
|
|
55
|
+
color: var(--ty-color-primary);
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
}
|
|
58
|
+
.ty-anchor__link-title:not(:only-child) {
|
|
59
|
+
margin-bottom: 5px;
|
|
60
|
+
}
|
|
61
|
+
.ty-anchor_line .ty-anchor__ink-ball {
|
|
62
|
+
width: 2px;
|
|
63
|
+
border: 0;
|
|
64
|
+
border-radius: 0;
|
|
65
|
+
background-color: var(--ty-color-primary);
|
|
66
|
+
transition: top 0.3s ease-in-out, height 0.3s ease-in-out;
|
|
67
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseProps } from "../_utils/props.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/anchor/types.d.ts
|
|
5
|
+
interface AnchorProps extends BaseProps {
|
|
6
|
+
affix?: boolean;
|
|
7
|
+
type?: 'dot' | 'line';
|
|
8
|
+
offsetBottom?: number;
|
|
9
|
+
offsetTop?: number;
|
|
10
|
+
getContainer?: () => HTMLElement;
|
|
11
|
+
onChange?: (currentActiveLink: string) => void;
|
|
12
|
+
onClick?: (e: React.MouseEvent<HTMLAnchorElement>, link: {
|
|
13
|
+
title: string;
|
|
14
|
+
href: string;
|
|
15
|
+
}) => void;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
interface AnchorLinkProps extends BaseProps, React.PropsWithRef<JSX.IntrinsicElements['a']> {
|
|
19
|
+
href: string;
|
|
20
|
+
title: string;
|
|
21
|
+
children?: React.ReactElement<AnchorLinkProps>[];
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { AnchorLinkProps, AnchorProps };
|
|
25
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AspectRatioProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/aspect-ratio/aspect-ratio.d.ts
|
|
5
|
+
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AspectRatio };
|
|
8
|
+
//# sourceMappingURL=aspect-ratio.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_runtime = require("../_virtual/_rolldown/runtime.js");
|
|
2
|
+
const require_config_context = require("../config-provider/config-context.js");
|
|
3
|
+
const require_general = require("../_utils/general.js");
|
|
4
|
+
let react = require("react");
|
|
5
|
+
react = require_runtime.__toESM(react);
|
|
6
|
+
let classnames = require("classnames");
|
|
7
|
+
classnames = require_runtime.__toESM(classnames);
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
//#region src/aspect-ratio/aspect-ratio.tsx
|
|
10
|
+
const AspectRatio = react.default.forwardRef((props, ref) => {
|
|
11
|
+
const { ratio = 1, width = "100%", prefixCls: customisedCls, className, style, children, ...otherProps } = props;
|
|
12
|
+
const prefixCls = require_general.getPrefixCls("aspect-ratio", (0, react.useContext)(require_config_context.ConfigContext).prefixCls, customisedCls);
|
|
13
|
+
const cls = (0, classnames.default)(prefixCls, className);
|
|
14
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15
|
+
...otherProps,
|
|
16
|
+
ref,
|
|
17
|
+
className: cls,
|
|
18
|
+
style: {
|
|
19
|
+
...style,
|
|
20
|
+
width
|
|
21
|
+
},
|
|
22
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
23
|
+
className: `${prefixCls}__padding`,
|
|
24
|
+
style: { paddingTop: `${1 / ratio * 100}%` }
|
|
25
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
26
|
+
className: `${prefixCls}__inside`,
|
|
27
|
+
children
|
|
28
|
+
})]
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
AspectRatio.displayName = "AspectRatio";
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.default = AspectRatio;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=aspect-ratio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aspect-ratio.js","names":["React","getPrefixCls","ConfigContext"],"sources":["../../src/aspect-ratio/aspect-ratio.tsx"],"sourcesContent":["import React, { useContext } from 'react';\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider/config-context';\nimport { getPrefixCls } from '../_utils/general';\nimport { AspectRatioProps } from './types';\n\nconst AspectRatio = React.forwardRef<HTMLDivElement, AspectRatioProps>((props, ref) => {\n const {\n ratio = 1,\n width = '100%',\n prefixCls: customisedCls,\n className,\n style,\n children,\n ...otherProps\n } = props;\n const configContext = useContext(ConfigContext);\n const prefixCls = getPrefixCls('aspect-ratio', configContext.prefixCls, customisedCls);\n const cls = classNames(prefixCls, className);\n\n return (\n <div {...otherProps} ref={ref} className={cls} style={{ ...style, width }}>\n <div className={`${prefixCls}__padding`} style={{ paddingTop: `${(1 / ratio) * 100}%` }} />\n <div className={`${prefixCls}__inside`}>{children}</div>\n </div>\n );\n});\n\nAspectRatio.displayName = 'AspectRatio';\n\nexport default AspectRatio;\n"],"mappings":";;;;;;;;;AAMA,MAAM,cAAcA,MAAAA,QAAM,YAA8C,OAAO,QAAQ;CACrF,MAAM,EACJ,QAAQ,GACR,QAAQ,QACR,WAAW,eACX,WACA,OACA,UACA,GAAG,eACD;CAEJ,MAAM,YAAYC,gBAAAA,aAAa,iBAAA,GAAA,MAAA,YADEC,uBAAAA,cAAc,CACc,WAAW,cAAc;CACtF,MAAM,OAAA,GAAA,WAAA,SAAiB,WAAW,UAAU;AAE5C,QACE,iBAAA,GAAA,kBAAA,MAAC,OAAD;EAAK,GAAI;EAAiB;EAAK,WAAW;EAAK,OAAO;GAAE,GAAG;GAAO;GAAO;YAAzE,CACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;GAAK,WAAW,GAAG,UAAU;GAAY,OAAO,EAAE,YAAY,GAAI,IAAI,QAAS,IAAI,IAAI;GAAI,CAAA,EAC3F,iBAAA,GAAA,kBAAA,KAAC,OAAD;GAAK,WAAW,GAAG,UAAU;GAAY;GAAe,CAAA,CACpD;;EAER;AAEF,YAAY,cAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["AspectRatio"],"sources":["../../src/aspect-ratio/index.tsx"],"sourcesContent":["import AspectRatio from './aspect-ratio';\n\nexport default AspectRatio;\n"],"mappings":";AAEA,IAAA,oDAAeA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use '../../style/variables' as *;
|
|
2
|
+
|
|
3
|
+
.#{$prefix}-aspect-ratio {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
position: relative;
|
|
6
|
+
display: inline-block;
|
|
7
|
+
|
|
8
|
+
&__padding {
|
|
9
|
+
display: block;
|
|
10
|
+
height: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__inside {
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 0;
|
|
16
|
+
left: 0;
|
|
17
|
+
right: 0;
|
|
18
|
+
bottom: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.ty-aspect-ratio {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
}
|
|
6
|
+
.ty-aspect-ratio__padding {
|
|
7
|
+
display: block;
|
|
8
|
+
height: 0;
|
|
9
|
+
}
|
|
10
|
+
.ty-aspect-ratio__inside {
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
right: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("./index.css");
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseProps } from "../_utils/props.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/aspect-ratio/types.d.ts
|
|
5
|
+
interface AspectRatioProps extends BaseProps, React.PropsWithoutRef<JSX.IntrinsicElements['div']> {
|
|
6
|
+
/** the width of the content */
|
|
7
|
+
width?: number | string;
|
|
8
|
+
/** the aspect ratio of the content */
|
|
9
|
+
ratio?: number;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { AspectRatioProps };
|
|
13
|
+
//# sourceMappingURL=types.d.ts.map
|