tiny-ui 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles/index.css +6 -62
- package/dist/styles/index.css.map +1 -1
- package/dist/styles/index.min.css +1 -1
- package/dist/styles/index.min.css.map +1 -1
- package/dist/tiny.min.js +1 -1
- package/dist/tiny.min.js.map +1 -1
- package/es/_utils/use-theme.js +1 -1
- package/es/_utils/use-theme.js.map +1 -1
- package/es/alert/alert.d.ts +4 -0
- package/es/alert/alert.js +56 -0
- package/es/alert/alert.js.map +1 -0
- package/es/alert/index.d.ts +1 -3
- package/es/alert/index.js +1 -54
- package/es/alert/index.js.map +1 -1
- package/es/anchor/anchor.js +9 -0
- package/es/anchor/anchor.js.map +1 -1
- package/es/aspect-ratio/aspect-ratio.d.ts +4 -0
- package/es/aspect-ratio/aspect-ratio.js +15 -0
- package/es/aspect-ratio/aspect-ratio.js.map +1 -0
- package/es/aspect-ratio/index.d.ts +1 -3
- package/es/aspect-ratio/index.js +1 -13
- package/es/aspect-ratio/index.js.map +1 -1
- package/es/back-top/back-top.d.ts +3 -0
- package/es/back-top/back-top.js +80 -0
- package/es/back-top/back-top.js.map +1 -0
- package/es/back-top/index.d.ts +1 -2
- package/es/back-top/index.js +1 -78
- package/es/back-top/index.js.map +1 -1
- package/es/badge/badge.d.ts +4 -0
- package/es/badge/badge.js +29 -0
- package/es/badge/badge.js.map +1 -0
- package/es/badge/index.d.ts +1 -3
- package/es/badge/index.js +1 -27
- package/es/badge/index.js.map +1 -1
- package/es/calendar/calendar.d.ts +4 -0
- package/es/calendar/calendar.js +117 -0
- package/es/calendar/calendar.js.map +1 -0
- package/es/calendar/index.d.ts +1 -3
- package/es/calendar/index.js +1 -115
- package/es/calendar/index.js.map +1 -1
- package/es/collapse-transition/collapse-transition.d.ts +10 -0
- package/es/collapse-transition/collapse-transition.js +89 -0
- package/es/collapse-transition/collapse-transition.js.map +1 -0
- package/es/collapse-transition/index.d.ts +1 -9
- package/es/collapse-transition/index.js +1 -87
- package/es/collapse-transition/index.js.map +1 -1
- package/es/config-provider/config-provider.d.ts +6 -0
- package/es/config-provider/config-provider.js +23 -0
- package/es/config-provider/config-provider.js.map +1 -0
- package/es/config-provider/index.d.ts +1 -5
- package/es/config-provider/index.js +1 -21
- package/es/config-provider/index.js.map +1 -1
- package/es/copy-to-clipboard/copy-to-clipboard.d.ts +7 -0
- package/es/copy-to-clipboard/copy-to-clipboard.js +47 -0
- package/es/copy-to-clipboard/copy-to-clipboard.js.map +1 -0
- package/es/copy-to-clipboard/index.d.ts +1 -6
- package/es/copy-to-clipboard/index.js +1 -45
- package/es/copy-to-clipboard/index.js.map +1 -1
- package/es/countdown/countdown.d.ts +4 -0
- package/es/countdown/countdown.js +42 -0
- package/es/countdown/countdown.js.map +1 -0
- package/es/countdown/index.d.ts +1 -3
- package/es/countdown/index.js +1 -40
- package/es/countdown/index.js.map +1 -1
- package/es/date-picker/date-picker.d.ts +6 -0
- package/es/date-picker/date-picker.js +142 -0
- package/es/date-picker/date-picker.js.map +1 -0
- package/es/date-picker/index.d.ts +1 -5
- package/es/date-picker/index.js +1 -140
- package/es/date-picker/index.js.map +1 -1
- package/es/divider/divider.d.ts +4 -0
- package/es/divider/divider.js +18 -0
- package/es/divider/divider.js.map +1 -0
- package/es/divider/index.d.ts +1 -3
- package/es/divider/index.js +1 -16
- package/es/divider/index.js.map +1 -1
- package/es/drawer/drawer.d.ts +4 -0
- package/es/drawer/drawer.js +67 -0
- package/es/drawer/drawer.js.map +1 -0
- package/es/drawer/index.d.ts +1 -3
- package/es/drawer/index.js +1 -65
- package/es/drawer/index.js.map +1 -1
- package/es/dropdown/dropdown.d.ts +6 -0
- package/es/dropdown/dropdown.js +101 -0
- package/es/dropdown/dropdown.js.map +1 -0
- package/es/dropdown/index.d.ts +1 -5
- package/es/dropdown/index.js +1 -99
- package/es/dropdown/index.js.map +1 -1
- package/es/empty/empty.d.ts +4 -0
- package/es/empty/empty.js +28 -0
- package/es/empty/empty.js.map +1 -0
- package/es/empty/index.d.ts +1 -3
- package/es/empty/index.js +1 -26
- package/es/empty/index.js.map +1 -1
- package/es/flex/flex.d.ts +4 -0
- package/es/flex/flex.js +29 -0
- package/es/flex/flex.js.map +1 -0
- package/es/flex/index.d.ts +1 -3
- package/es/flex/index.js +1 -27
- package/es/flex/index.js.map +1 -1
- package/es/grid/types.d.ts +1 -1
- package/es/icon/icon.d.ts +4 -0
- package/es/icon/icon.js +17 -0
- package/es/icon/icon.js.map +1 -0
- package/es/icon/index.d.ts +1 -3
- package/es/icon/index.js +1 -15
- package/es/icon/index.js.map +1 -1
- package/es/image/image.d.ts +6 -0
- package/es/image/image.js +34 -0
- package/es/image/image.js.map +1 -0
- package/es/image/index.d.ts +1 -5
- package/es/image/index.js +1 -32
- package/es/image/index.js.map +1 -1
- package/es/input-number/index.d.ts +1 -3
- package/es/input-number/index.js +1 -60
- package/es/input-number/index.js.map +1 -1
- package/es/input-number/input-number.d.ts +4 -0
- package/es/input-number/input-number.js +62 -0
- package/es/input-number/input-number.js.map +1 -0
- package/es/input-password/index.d.ts +1 -2
- package/es/input-password/index.js +1 -19
- package/es/input-password/index.js.map +1 -1
- package/es/input-password/input-password.d.ts +3 -0
- package/es/input-password/input-password.js +21 -0
- package/es/input-password/input-password.js.map +1 -0
- package/es/intl-provider/index.d.ts +1 -7
- package/es/intl-provider/index.js +1 -6
- package/es/intl-provider/index.js.map +1 -1
- package/es/intl-provider/intl-provider.d.ts +8 -0
- package/es/intl-provider/intl-provider.js +8 -0
- package/es/intl-provider/intl-provider.js.map +1 -0
- package/es/keyboard/index.d.ts +1 -3
- package/es/keyboard/index.js +1 -13
- package/es/keyboard/index.js.map +1 -1
- package/es/keyboard/keyboard.d.ts +4 -0
- package/es/keyboard/keyboard.js +15 -0
- package/es/keyboard/keyboard.js.map +1 -0
- package/es/link/index.d.ts +1 -6
- package/es/link/index.js +1 -19
- package/es/link/index.js.map +1 -1
- package/es/link/link.d.ts +7 -0
- package/es/link/link.js +21 -0
- package/es/link/link.js.map +1 -0
- package/es/list/list.js +2 -4
- package/es/list/list.js.map +1 -1
- package/es/list/types.d.ts +2 -1
- package/es/loader/index.d.ts +1 -3
- package/es/loader/index.js +1 -23
- package/es/loader/index.js.map +1 -1
- package/es/loader/loader.d.ts +4 -0
- package/es/loader/loader.js +25 -0
- package/es/loader/loader.js.map +1 -0
- package/es/message/index.d.ts +2 -9
- package/es/message/index.js +1 -61
- package/es/message/index.js.map +1 -1
- package/es/message/message-container.d.ts +10 -0
- package/es/message/message-container.js +63 -0
- package/es/message/message-container.js.map +1 -0
- package/es/modal/index.d.ts +1 -3
- package/es/modal/index.js +1 -80
- package/es/modal/index.js.map +1 -1
- package/es/modal/modal.d.ts +4 -0
- package/es/modal/modal.js +82 -0
- package/es/modal/modal.js.map +1 -0
- package/es/notification/index.d.ts +1 -1
- package/es/notification/index.js +1 -72
- package/es/notification/index.js.map +1 -1
- package/es/notification/notification-container.d.ts +2 -0
- package/es/notification/notification-container.js +74 -0
- package/es/notification/notification-container.js.map +1 -0
- package/es/overlay/index.d.ts +1 -5
- package/es/overlay/index.js +1 -24
- package/es/overlay/index.js.map +1 -1
- package/es/overlay/overlay.d.ts +6 -0
- package/es/overlay/overlay.js +26 -0
- package/es/overlay/overlay.js.map +1 -0
- package/es/pagination/index.d.ts +1 -2
- package/es/pagination/index.js +1 -114
- package/es/pagination/index.js.map +1 -1
- package/es/pagination/pagination.d.ts +3 -0
- package/es/pagination/pagination.js +116 -0
- package/es/pagination/pagination.js.map +1 -0
- package/es/pop-confirm/index.d.ts +1 -5
- package/es/pop-confirm/index.js +1 -33
- package/es/pop-confirm/index.js.map +1 -1
- package/es/pop-confirm/pop-confirm.d.ts +6 -0
- package/es/pop-confirm/pop-confirm.js +35 -0
- package/es/pop-confirm/pop-confirm.js.map +1 -0
- package/es/popover/index.d.ts +1 -3
- package/es/popover/index.js +1 -15
- package/es/popover/index.js.map +1 -1
- package/es/popover/popover.d.ts +4 -0
- package/es/popover/popover.js +17 -0
- package/es/popover/popover.js.map +1 -0
- package/es/popup/index.d.ts +1 -2
- package/es/popup/index.js +1 -194
- package/es/popup/index.js.map +1 -1
- package/es/popup/popup.d.ts +3 -0
- package/es/popup/popup.js +196 -0
- package/es/popup/popup.js.map +1 -0
- package/es/portal/index.d.ts +1 -6
- package/es/portal/index.js +1 -5
- package/es/portal/index.js.map +1 -1
- package/es/portal/portal.d.ts +7 -0
- package/es/portal/portal.js +7 -0
- package/es/portal/portal.js.map +1 -0
- package/es/rate/index.d.ts +1 -3
- package/es/rate/index.js +1 -67
- package/es/rate/index.js.map +1 -1
- package/es/rate/rate.d.ts +4 -0
- package/es/rate/rate.js +69 -0
- package/es/rate/rate.js.map +1 -0
- package/es/result/index.d.ts +1 -3
- package/es/result/index.js +1 -35
- package/es/result/index.js.map +1 -1
- package/es/result/result.d.ts +4 -0
- package/es/result/result.js +37 -0
- package/es/result/result.js.map +1 -0
- package/es/scroll-indicator/index.d.ts +1 -6
- package/es/scroll-indicator/index.js +1 -36
- package/es/scroll-indicator/index.js.map +1 -1
- package/es/scroll-indicator/scroll-indicator.d.ts +7 -0
- package/es/scroll-indicator/scroll-indicator.js +38 -0
- package/es/scroll-indicator/scroll-indicator.js.map +1 -0
- package/es/skeleton/index.d.ts +1 -3
- package/es/skeleton/index.js +1 -16
- package/es/skeleton/index.js.map +1 -1
- package/es/skeleton/skeleton.d.ts +4 -0
- package/es/skeleton/skeleton.js +18 -0
- package/es/skeleton/skeleton.js.map +1 -0
- package/es/slider/index.d.ts +1 -3
- package/es/slider/index.js +1 -245
- package/es/slider/index.js.map +1 -1
- package/es/slider/slider.d.ts +4 -0
- package/es/slider/slider.js +247 -0
- package/es/slider/slider.js.map +1 -0
- package/es/space/index.d.ts +1 -3
- package/es/space/index.js +1 -27
- package/es/space/index.js.map +1 -1
- package/es/space/space.d.ts +4 -0
- package/es/space/space.js +29 -0
- package/es/space/space.js.map +1 -0
- package/es/split-button/index.d.ts +1 -6
- package/es/split-button/index.js +1 -17
- package/es/split-button/index.js.map +1 -1
- package/es/split-button/split-button.d.ts +7 -0
- package/es/split-button/split-button.js +19 -0
- package/es/split-button/split-button.js.map +1 -0
- package/es/sticky/index.d.ts +1 -5
- package/es/sticky/index.js +1 -125
- package/es/sticky/index.js.map +1 -1
- package/es/sticky/sticky.d.ts +6 -0
- package/es/sticky/sticky.js +127 -0
- package/es/sticky/sticky.js.map +1 -0
- package/es/strength-indicator/index.d.ts +1 -3
- package/es/strength-indicator/index.js +1 -22
- package/es/strength-indicator/index.js.map +1 -1
- package/es/strength-indicator/strength-indicator.d.ts +4 -0
- package/es/strength-indicator/strength-indicator.js +24 -0
- package/es/strength-indicator/strength-indicator.js.map +1 -0
- package/es/switch/index.d.ts +1 -3
- package/es/switch/index.js +1 -35
- package/es/switch/index.js.map +1 -1
- package/es/switch/switch.d.ts +4 -0
- package/es/switch/switch.js +37 -0
- package/es/switch/switch.js.map +1 -0
- package/es/table/table.js +2 -4
- package/es/table/table.js.map +1 -1
- package/es/table/types.d.ts +2 -1
- package/es/textarea/index.d.ts +1 -3
- package/es/textarea/index.js +1 -25
- package/es/textarea/index.js.map +1 -1
- package/es/textarea/textarea.d.ts +4 -0
- package/es/textarea/textarea.js +27 -0
- package/es/textarea/textarea.js.map +1 -0
- package/es/tooltip/index.d.ts +1 -3
- package/es/tooltip/index.js +1 -15
- package/es/tooltip/index.js.map +1 -1
- package/es/tooltip/tooltip.d.ts +4 -0
- package/es/tooltip/tooltip.js +17 -0
- package/es/tooltip/tooltip.js.map +1 -0
- package/es/transition/index.d.ts +2 -16
- package/es/transition/index.js +1 -7
- package/es/transition/index.js.map +1 -1
- package/es/transition/transition.d.ts +17 -0
- package/es/transition/transition.js +9 -0
- package/es/transition/transition.js.map +1 -0
- package/lib/_utils/use-theme.js +1 -1
- package/lib/_utils/use-theme.js.map +1 -1
- package/lib/alert/alert.d.ts +4 -0
- package/lib/alert/alert.js +59 -0
- package/lib/alert/alert.js.map +1 -0
- package/lib/alert/index.d.ts +1 -3
- package/lib/alert/index.js +2 -55
- package/lib/alert/index.js.map +1 -1
- package/lib/anchor/anchor.js +9 -0
- package/lib/anchor/anchor.js.map +1 -1
- package/lib/aspect-ratio/aspect-ratio.d.ts +4 -0
- package/lib/aspect-ratio/aspect-ratio.js +18 -0
- package/lib/aspect-ratio/aspect-ratio.js.map +1 -0
- package/lib/aspect-ratio/index.d.ts +1 -3
- package/lib/aspect-ratio/index.js +2 -14
- package/lib/aspect-ratio/index.js.map +1 -1
- package/lib/back-top/back-top.d.ts +3 -0
- package/lib/back-top/back-top.js +83 -0
- package/lib/back-top/back-top.js.map +1 -0
- package/lib/back-top/index.d.ts +1 -2
- package/lib/back-top/index.js +2 -79
- package/lib/back-top/index.js.map +1 -1
- package/lib/badge/badge.d.ts +4 -0
- package/lib/badge/badge.js +32 -0
- package/lib/badge/badge.js.map +1 -0
- package/lib/badge/index.d.ts +1 -3
- package/lib/badge/index.js +2 -28
- package/lib/badge/index.js.map +1 -1
- package/lib/calendar/calendar.d.ts +4 -0
- package/lib/calendar/calendar.js +120 -0
- package/lib/calendar/calendar.js.map +1 -0
- package/lib/calendar/index.d.ts +1 -3
- package/lib/calendar/index.js +2 -116
- package/lib/calendar/index.js.map +1 -1
- package/lib/collapse-transition/collapse-transition.d.ts +10 -0
- package/lib/collapse-transition/collapse-transition.js +91 -0
- package/lib/collapse-transition/collapse-transition.js.map +1 -0
- package/lib/collapse-transition/index.d.ts +1 -9
- package/lib/collapse-transition/index.js +3 -88
- package/lib/collapse-transition/index.js.map +1 -1
- package/lib/config-provider/config-provider.d.ts +6 -0
- package/lib/config-provider/config-provider.js +26 -0
- package/lib/config-provider/config-provider.js.map +1 -0
- package/lib/config-provider/index.d.ts +1 -5
- package/lib/config-provider/index.js +2 -22
- package/lib/config-provider/index.js.map +1 -1
- package/lib/copy-to-clipboard/copy-to-clipboard.d.ts +7 -0
- package/lib/copy-to-clipboard/copy-to-clipboard.js +50 -0
- package/lib/copy-to-clipboard/copy-to-clipboard.js.map +1 -0
- package/lib/copy-to-clipboard/index.d.ts +1 -6
- package/lib/copy-to-clipboard/index.js +2 -46
- package/lib/copy-to-clipboard/index.js.map +1 -1
- package/lib/countdown/countdown.d.ts +4 -0
- package/lib/countdown/countdown.js +45 -0
- package/lib/countdown/countdown.js.map +1 -0
- package/lib/countdown/index.d.ts +1 -3
- package/lib/countdown/index.js +2 -41
- package/lib/countdown/index.js.map +1 -1
- package/lib/date-picker/date-picker.d.ts +6 -0
- package/lib/date-picker/date-picker.js +145 -0
- package/lib/date-picker/date-picker.js.map +1 -0
- package/lib/date-picker/index.d.ts +1 -5
- package/lib/date-picker/index.js +2 -141
- package/lib/date-picker/index.js.map +1 -1
- package/lib/divider/divider.d.ts +4 -0
- package/lib/divider/divider.js +21 -0
- package/lib/divider/divider.js.map +1 -0
- package/lib/divider/index.d.ts +1 -3
- package/lib/divider/index.js +2 -17
- package/lib/divider/index.js.map +1 -1
- package/lib/drawer/drawer.d.ts +4 -0
- package/lib/drawer/drawer.js +70 -0
- package/lib/drawer/drawer.js.map +1 -0
- package/lib/drawer/index.d.ts +1 -3
- package/lib/drawer/index.js +2 -66
- package/lib/drawer/index.js.map +1 -1
- package/lib/dropdown/dropdown.d.ts +6 -0
- package/lib/dropdown/dropdown.js +104 -0
- package/lib/dropdown/dropdown.js.map +1 -0
- package/lib/dropdown/index.d.ts +1 -5
- package/lib/dropdown/index.js +2 -100
- package/lib/dropdown/index.js.map +1 -1
- package/lib/empty/empty.d.ts +4 -0
- package/lib/empty/empty.js +31 -0
- package/lib/empty/empty.js.map +1 -0
- package/lib/empty/index.d.ts +1 -3
- package/lib/empty/index.js +2 -27
- package/lib/empty/index.js.map +1 -1
- package/lib/flex/flex.d.ts +4 -0
- package/lib/flex/flex.js +32 -0
- package/lib/flex/flex.js.map +1 -0
- package/lib/flex/index.d.ts +1 -3
- package/lib/flex/index.js +2 -28
- package/lib/flex/index.js.map +1 -1
- package/lib/grid/types.d.ts +1 -1
- package/lib/icon/icon.d.ts +4 -0
- package/lib/icon/icon.js +20 -0
- package/lib/icon/icon.js.map +1 -0
- package/lib/icon/index.d.ts +1 -3
- package/lib/icon/index.js +2 -16
- package/lib/icon/index.js.map +1 -1
- package/lib/image/image.d.ts +6 -0
- package/lib/image/image.js +37 -0
- package/lib/image/image.js.map +1 -0
- package/lib/image/index.d.ts +1 -5
- package/lib/image/index.js +2 -33
- package/lib/image/index.js.map +1 -1
- package/lib/input-number/index.d.ts +1 -3
- package/lib/input-number/index.js +2 -61
- package/lib/input-number/index.js.map +1 -1
- package/lib/input-number/input-number.d.ts +4 -0
- package/lib/input-number/input-number.js +65 -0
- package/lib/input-number/input-number.js.map +1 -0
- package/lib/input-password/index.d.ts +1 -2
- package/lib/input-password/index.js +2 -20
- package/lib/input-password/index.js.map +1 -1
- package/lib/input-password/input-password.d.ts +3 -0
- package/lib/input-password/input-password.js +24 -0
- package/lib/input-password/input-password.js.map +1 -0
- package/lib/intl-provider/index.d.ts +1 -7
- package/lib/intl-provider/index.js +2 -7
- package/lib/intl-provider/index.js.map +1 -1
- package/lib/intl-provider/intl-provider.d.ts +8 -0
- package/lib/intl-provider/intl-provider.js +11 -0
- package/lib/intl-provider/intl-provider.js.map +1 -0
- package/lib/keyboard/index.d.ts +1 -3
- package/lib/keyboard/index.js +2 -14
- package/lib/keyboard/index.js.map +1 -1
- package/lib/keyboard/keyboard.d.ts +4 -0
- package/lib/keyboard/keyboard.js +18 -0
- package/lib/keyboard/keyboard.js.map +1 -0
- package/lib/link/index.d.ts +1 -6
- package/lib/link/index.js +2 -20
- package/lib/link/index.js.map +1 -1
- package/lib/link/link.d.ts +7 -0
- package/lib/link/link.js +24 -0
- package/lib/link/link.js.map +1 -0
- package/lib/list/list.js +2 -4
- package/lib/list/list.js.map +1 -1
- package/lib/list/types.d.ts +2 -1
- package/lib/loader/index.d.ts +1 -3
- package/lib/loader/index.js +2 -24
- package/lib/loader/index.js.map +1 -1
- package/lib/loader/loader.d.ts +4 -0
- package/lib/loader/loader.js +28 -0
- package/lib/loader/loader.js.map +1 -0
- package/lib/message/index.d.ts +2 -9
- package/lib/message/index.js +2 -62
- package/lib/message/index.js.map +1 -1
- package/lib/message/message-container.d.ts +10 -0
- package/lib/message/message-container.js +66 -0
- package/lib/message/message-container.js.map +1 -0
- package/lib/modal/index.d.ts +1 -3
- package/lib/modal/index.js +2 -81
- package/lib/modal/index.js.map +1 -1
- package/lib/modal/modal.d.ts +4 -0
- package/lib/modal/modal.js +85 -0
- package/lib/modal/modal.js.map +1 -0
- package/lib/notification/index.d.ts +1 -1
- package/lib/notification/index.js +2 -73
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/notification-container.d.ts +2 -0
- package/lib/notification/notification-container.js +77 -0
- package/lib/notification/notification-container.js.map +1 -0
- package/lib/overlay/index.d.ts +1 -5
- package/lib/overlay/index.js +2 -25
- package/lib/overlay/index.js.map +1 -1
- package/lib/overlay/overlay.d.ts +6 -0
- package/lib/overlay/overlay.js +29 -0
- package/lib/overlay/overlay.js.map +1 -0
- package/lib/pagination/index.d.ts +1 -2
- package/lib/pagination/index.js +2 -115
- package/lib/pagination/index.js.map +1 -1
- package/lib/pagination/pagination.d.ts +3 -0
- package/lib/pagination/pagination.js +119 -0
- package/lib/pagination/pagination.js.map +1 -0
- package/lib/pop-confirm/index.d.ts +1 -5
- package/lib/pop-confirm/index.js +2 -34
- package/lib/pop-confirm/index.js.map +1 -1
- package/lib/pop-confirm/pop-confirm.d.ts +6 -0
- package/lib/pop-confirm/pop-confirm.js +38 -0
- package/lib/pop-confirm/pop-confirm.js.map +1 -0
- package/lib/popover/index.d.ts +1 -3
- package/lib/popover/index.js +2 -16
- package/lib/popover/index.js.map +1 -1
- package/lib/popover/popover.d.ts +4 -0
- package/lib/popover/popover.js +20 -0
- package/lib/popover/popover.js.map +1 -0
- package/lib/popup/index.d.ts +1 -2
- package/lib/popup/index.js +2 -195
- package/lib/popup/index.js.map +1 -1
- package/lib/popup/popup.d.ts +3 -0
- package/lib/popup/popup.js +199 -0
- package/lib/popup/popup.js.map +1 -0
- package/lib/portal/index.d.ts +1 -6
- package/lib/portal/index.js +2 -6
- package/lib/portal/index.js.map +1 -1
- package/lib/portal/portal.d.ts +7 -0
- package/lib/portal/portal.js +10 -0
- package/lib/portal/portal.js.map +1 -0
- package/lib/rate/index.d.ts +1 -3
- package/lib/rate/index.js +2 -68
- package/lib/rate/index.js.map +1 -1
- package/lib/rate/rate.d.ts +4 -0
- package/lib/rate/rate.js +72 -0
- package/lib/rate/rate.js.map +1 -0
- package/lib/result/index.d.ts +1 -3
- package/lib/result/index.js +2 -36
- package/lib/result/index.js.map +1 -1
- package/lib/result/result.d.ts +4 -0
- package/lib/result/result.js +40 -0
- package/lib/result/result.js.map +1 -0
- package/lib/scroll-indicator/index.d.ts +1 -6
- package/lib/scroll-indicator/index.js +2 -37
- package/lib/scroll-indicator/index.js.map +1 -1
- package/lib/scroll-indicator/scroll-indicator.d.ts +7 -0
- package/lib/scroll-indicator/scroll-indicator.js +41 -0
- package/lib/scroll-indicator/scroll-indicator.js.map +1 -0
- package/lib/skeleton/index.d.ts +1 -3
- package/lib/skeleton/index.js +2 -17
- package/lib/skeleton/index.js.map +1 -1
- package/lib/skeleton/skeleton.d.ts +4 -0
- package/lib/skeleton/skeleton.js +21 -0
- package/lib/skeleton/skeleton.js.map +1 -0
- package/lib/slider/index.d.ts +1 -3
- package/lib/slider/index.js +2 -246
- package/lib/slider/index.js.map +1 -1
- package/lib/slider/slider.d.ts +4 -0
- package/lib/slider/slider.js +250 -0
- package/lib/slider/slider.js.map +1 -0
- package/lib/space/index.d.ts +1 -3
- package/lib/space/index.js +2 -28
- package/lib/space/index.js.map +1 -1
- package/lib/space/space.d.ts +4 -0
- package/lib/space/space.js +32 -0
- package/lib/space/space.js.map +1 -0
- package/lib/split-button/index.d.ts +1 -6
- package/lib/split-button/index.js +2 -18
- package/lib/split-button/index.js.map +1 -1
- package/lib/split-button/split-button.d.ts +7 -0
- package/lib/split-button/split-button.js +22 -0
- package/lib/split-button/split-button.js.map +1 -0
- package/lib/sticky/index.d.ts +1 -5
- package/lib/sticky/index.js +2 -126
- package/lib/sticky/index.js.map +1 -1
- package/lib/sticky/sticky.d.ts +6 -0
- package/lib/sticky/sticky.js +130 -0
- package/lib/sticky/sticky.js.map +1 -0
- package/lib/strength-indicator/index.d.ts +1 -3
- package/lib/strength-indicator/index.js +2 -23
- package/lib/strength-indicator/index.js.map +1 -1
- package/lib/strength-indicator/strength-indicator.d.ts +4 -0
- package/lib/strength-indicator/strength-indicator.js +27 -0
- package/lib/strength-indicator/strength-indicator.js.map +1 -0
- package/lib/switch/index.d.ts +1 -3
- package/lib/switch/index.js +2 -36
- package/lib/switch/index.js.map +1 -1
- package/lib/switch/switch.d.ts +4 -0
- package/lib/switch/switch.js +40 -0
- package/lib/switch/switch.js.map +1 -0
- package/lib/table/table.js +2 -4
- package/lib/table/table.js.map +1 -1
- package/lib/table/types.d.ts +2 -1
- package/lib/textarea/index.d.ts +1 -3
- package/lib/textarea/index.js +2 -26
- package/lib/textarea/index.js.map +1 -1
- package/lib/textarea/textarea.d.ts +4 -0
- package/lib/textarea/textarea.js +30 -0
- package/lib/textarea/textarea.js.map +1 -0
- package/lib/tooltip/index.d.ts +1 -3
- package/lib/tooltip/index.js +2 -16
- package/lib/tooltip/index.js.map +1 -1
- package/lib/tooltip/tooltip.d.ts +4 -0
- package/lib/tooltip/tooltip.js +20 -0
- package/lib/tooltip/tooltip.js.map +1 -0
- package/lib/transition/index.d.ts +2 -16
- package/lib/transition/index.js +3 -8
- package/lib/transition/index.js.map +1 -1
- package/lib/transition/transition.d.ts +17 -0
- package/lib/transition/transition.js +11 -0
- package/lib/transition/transition.js.map +1 -0
- package/package.json +3 -2
- package/es/alert/style/_index.scss +0 -72
- package/es/alert/style/_mixin.scss +0 -5
- package/es/alert/style/css.js +0 -2
- package/es/anchor/style/_index.scss +0 -83
- package/es/anchor/style/css.js +0 -3
- package/es/aspect-ratio/style/_index.scss +0 -22
- package/es/aspect-ratio/style/css.js +0 -2
- package/es/auto-complete/style/_index.scss +0 -58
- package/es/auto-complete/style/css.js +0 -2
- package/es/avatar/style/_index.scss +0 -80
- package/es/avatar/style/css.js +0 -2
- package/es/back-top/style/_index.scss +0 -25
- package/es/back-top/style/css.js +0 -2
- package/es/badge/style/_index.scss +0 -60
- package/es/badge/style/_mixin.scss +0 -11
- package/es/badge/style/css.js +0 -2
- package/es/breadcrumb/style/_index.scss +0 -38
- package/es/breadcrumb/style/css.js +0 -2
- package/es/button/style/_index.scss +0 -215
- package/es/button/style/_mixin.scss +0 -45
- package/es/button/style/css.js +0 -2
- package/es/calendar/style/_index.scss +0 -190
- package/es/calendar/style/css.js +0 -2
- package/es/card/style/_index.scss +0 -57
- package/es/card/style/_mixin.scss +0 -4
- package/es/card/style/css.js +0 -2
- package/es/carousel/style/_index.scss +0 -158
- package/es/carousel/style/css.js +0 -2
- package/es/cascader/style/_index.scss +0 -162
- package/es/cascader/style/css.js +0 -2
- package/es/checkbox/style/_index.scss +0 -139
- package/es/checkbox/style/css.js +0 -2
- package/es/collapse/style/_index.scss +0 -101
- package/es/collapse/style/css.js +0 -2
- package/es/collapse-transition/style/_index.scss +0 -4
- package/es/collapse-transition/style/css.js +0 -2
- package/es/color-picker/style/_index.scss +0 -196
- package/es/color-picker/style/css.js +0 -2
- package/es/date-picker/style/_index.scss +0 -272
- package/es/date-picker/style/css.js +0 -2
- package/es/descriptions/style/_index.scss +0 -116
- package/es/descriptions/style/css.js +0 -2
- package/es/divider/style/_index.scss +0 -80
- package/es/divider/style/css.js +0 -2
- package/es/drawer/style/_index.scss +0 -148
- package/es/drawer/style/css.js +0 -4
- package/es/dropdown/style/_index.scss +0 -37
- package/es/dropdown/style/css.js +0 -4
- package/es/empty/style/_index.scss +0 -26
- package/es/empty/style/css.js +0 -2
- package/es/flex/style/_index.scss +0 -5
- package/es/flex/style/css.js +0 -2
- package/es/flip/style/_index.scss +0 -61
- package/es/flip/style/css.js +0 -2
- package/es/form/style/_index.scss +0 -93
- package/es/form/style/css.js +0 -3
- package/es/grid/style/_index.scss +0 -90
- package/es/grid/style/css.js +0 -2
- package/es/icon/style/_index.scss +0 -16
- package/es/icon/style/css.js +0 -2
- package/es/image/style/_index.scss +0 -9
- package/es/image/style/css.js +0 -2
- package/es/input/style/_index.scss +0 -180
- package/es/input/style/_mixin.scss +0 -38
- package/es/input/style/css.js +0 -2
- package/es/input-number/style/_index.scss +0 -142
- package/es/input-number/style/css.js +0 -3
- package/es/input-password/style/_index.scss +0 -20
- package/es/input-password/style/css.js +0 -3
- package/es/keyboard/style/_index.scss +0 -23
- package/es/keyboard/style/css.js +0 -2
- package/es/layout/style/_index.scss +0 -82
- package/es/layout/style/css.js +0 -2
- package/es/link/style/_index.scss +0 -17
- package/es/link/style/css.js +0 -2
- package/es/list/style/_index.scss +0 -172
- package/es/list/style/css.js +0 -2
- package/es/loader/style/_index.scss +0 -142
- package/es/loader/style/css.js +0 -2
- package/es/loading-bar/style/_index.scss +0 -17
- package/es/loading-bar/style/css.js +0 -2
- package/es/menu/style/_index.scss +0 -183
- package/es/menu/style/_mixin.scss +0 -16
- package/es/menu/style/css.js +0 -4
- package/es/message/style/_index.scss +0 -59
- package/es/message/style/css.js +0 -2
- package/es/modal/style/_index.scss +0 -115
- package/es/modal/style/css.js +0 -5
- package/es/native-select/style/_index.scss +0 -65
- package/es/native-select/style/_mixin.scss +0 -4
- package/es/native-select/style/css.js +0 -2
- package/es/notification/style/_index.scss +0 -66
- package/es/notification/style/css.js +0 -2
- package/es/overlay/style/_index.scss +0 -51
- package/es/overlay/style/css.js +0 -2
- package/es/pagination/style/_index.scss +0 -143
- package/es/pagination/style/css.js +0 -2
- package/es/pop-confirm/style/_index.scss +0 -25
- package/es/pop-confirm/style/css.js +0 -5
- package/es/popover/style/_index.scss +0 -42
- package/es/popover/style/css.js +0 -4
- package/es/popup/style/_index.scss +0 -84
- package/es/popup/style/css.js +0 -4
- package/es/progress/style/_index.scss +0 -170
- package/es/progress/style/css.js +0 -2
- package/es/radio/style/_index.scss +0 -86
- package/es/radio/style/css.js +0 -2
- package/es/rate/style/_index.scss +0 -31
- package/es/rate/style/css.js +0 -2
- package/es/result/style/_index.scss +0 -48
- package/es/result/style/css.js +0 -2
- package/es/scroll-indicator/style/_index.scss +0 -15
- package/es/scroll-indicator/style/css.js +0 -2
- package/es/segmented/style/_index.scss +0 -93
- package/es/segmented/style/css.js +0 -2
- package/es/select/style/_index.scss +0 -313
- package/es/select/style/css.js +0 -4
- package/es/skeleton/style/_index.scss +0 -42
- package/es/skeleton/style/css.js +0 -2
- package/es/slider/style/_index.scss +0 -177
- package/es/slider/style/css.js +0 -4
- package/es/space/style/_index.scss +0 -25
- package/es/space/style/css.js +0 -2
- package/es/speed-dial/style/_index.scss +0 -230
- package/es/speed-dial/style/css.js +0 -2
- package/es/split/style/_index.scss +0 -98
- package/es/split/style/css.js +0 -2
- package/es/split-button/style/_index.scss +0 -9
- package/es/split-button/style/css.js +0 -5
- package/es/statistic/style/_index.scss +0 -31
- package/es/statistic/style/css.js +0 -2
- package/es/steps/style/_index.scss +0 -208
- package/es/steps/style/css.js +0 -2
- package/es/sticky/style/_index.scss +0 -8
- package/es/sticky/style/css.js +0 -2
- package/es/strength-indicator/style/_index.scss +0 -46
- package/es/strength-indicator/style/css.js +0 -2
- package/es/style/_animation.scss +0 -31
- package/es/style/_component.scss +0 -78
- package/es/style/_font.scss +0 -981
- package/es/style/_mixins.scss +0 -13
- package/es/style/_normalise.scss +0 -405
- package/es/style/_theme.scss +0 -26
- package/es/style/_tokens.scss +0 -61
- package/es/style/_variables.scss +0 -266
- package/es/style/fonts/iconfont.eot +0 -0
- package/es/style/fonts/iconfont.svg +0 -752
- package/es/style/fonts/iconfont.ttf +0 -0
- package/es/style/fonts/iconfont.woff +0 -0
- package/es/style/index.css +0 -10104
- package/es/style/index.scss +0 -7
- package/es/style/themes/_dark.scss +0 -380
- package/es/style/themes/_light.scss +0 -380
- package/es/switch/style/_index.scss +0 -144
- package/es/switch/style/_mixin.scss +0 -16
- package/es/switch/style/css.js +0 -2
- package/es/table/style/_index.scss +0 -181
- package/es/table/style/css.js +0 -2
- package/es/tabs/style/css.js +0 -2
- package/es/tabs/style/index.css +0 -241
- package/es/tabs/style/index.scss +0 -315
- package/es/tag/style/_index.scss +0 -119
- package/es/tag/style/css.js +0 -2
- package/es/textarea/style/_index.scss +0 -28
- package/es/textarea/style/css.js +0 -4
- package/es/time-picker/style/_index.scss +0 -212
- package/es/time-picker/style/css.js +0 -2
- package/es/timeline/style/_index.scss +0 -91
- package/es/timeline/style/css.js +0 -2
- package/es/tooltip/style/_index.scss +0 -41
- package/es/tooltip/style/css.js +0 -4
- package/es/transfer/style/_index.scss +0 -98
- package/es/transfer/style/css.js +0 -6
- package/es/transition/style/_index.scss +0 -20
- package/es/transition/style/_mixin.scss +0 -58
- package/es/transition/style/css.js +0 -2
- package/es/tree/style/_index.scss +0 -66
- package/es/tree/style/css.js +0 -4
- package/es/typography/style/_index.scss +0 -126
- package/es/typography/style/css.js +0 -2
- package/es/upload/style/_index.scss +0 -99
- package/es/upload/style/css.js +0 -4
- package/lib/alert/style/_index.scss +0 -72
- package/lib/alert/style/_mixin.scss +0 -5
- package/lib/alert/style/css.js +0 -4
- package/lib/anchor/style/_index.scss +0 -83
- package/lib/anchor/style/css.js +0 -5
- package/lib/aspect-ratio/style/_index.scss +0 -22
- package/lib/aspect-ratio/style/css.js +0 -4
- package/lib/auto-complete/style/_index.scss +0 -58
- package/lib/auto-complete/style/css.js +0 -4
- package/lib/avatar/style/_index.scss +0 -80
- package/lib/avatar/style/css.js +0 -4
- package/lib/back-top/style/_index.scss +0 -25
- package/lib/back-top/style/css.js +0 -4
- package/lib/badge/style/_index.scss +0 -60
- package/lib/badge/style/_mixin.scss +0 -11
- package/lib/badge/style/css.js +0 -4
- package/lib/breadcrumb/style/_index.scss +0 -38
- package/lib/breadcrumb/style/css.js +0 -4
- package/lib/button/style/_index.scss +0 -215
- package/lib/button/style/_mixin.scss +0 -45
- package/lib/button/style/css.js +0 -4
- package/lib/calendar/style/_index.scss +0 -190
- package/lib/calendar/style/css.js +0 -4
- package/lib/card/style/_index.scss +0 -57
- package/lib/card/style/_mixin.scss +0 -4
- package/lib/card/style/css.js +0 -4
- package/lib/carousel/style/_index.scss +0 -158
- package/lib/carousel/style/css.js +0 -4
- package/lib/cascader/style/_index.scss +0 -162
- package/lib/cascader/style/css.js +0 -4
- package/lib/checkbox/style/_index.scss +0 -139
- package/lib/checkbox/style/css.js +0 -4
- package/lib/collapse/style/_index.scss +0 -101
- package/lib/collapse/style/css.js +0 -4
- package/lib/collapse-transition/style/_index.scss +0 -4
- package/lib/collapse-transition/style/css.js +0 -4
- package/lib/color-picker/style/_index.scss +0 -196
- package/lib/color-picker/style/css.js +0 -4
- package/lib/date-picker/style/_index.scss +0 -272
- package/lib/date-picker/style/css.js +0 -4
- package/lib/descriptions/style/_index.scss +0 -116
- package/lib/descriptions/style/css.js +0 -4
- package/lib/divider/style/_index.scss +0 -80
- package/lib/divider/style/css.js +0 -4
- package/lib/drawer/style/_index.scss +0 -148
- package/lib/drawer/style/css.js +0 -6
- package/lib/dropdown/style/_index.scss +0 -37
- package/lib/dropdown/style/css.js +0 -6
- package/lib/empty/style/_index.scss +0 -26
- package/lib/empty/style/css.js +0 -4
- package/lib/flex/style/_index.scss +0 -5
- package/lib/flex/style/css.js +0 -4
- package/lib/flip/style/_index.scss +0 -61
- package/lib/flip/style/css.js +0 -4
- package/lib/form/style/_index.scss +0 -93
- package/lib/form/style/css.js +0 -5
- package/lib/grid/style/_index.scss +0 -90
- package/lib/grid/style/css.js +0 -4
- package/lib/icon/style/_index.scss +0 -16
- package/lib/icon/style/css.js +0 -4
- package/lib/image/style/_index.scss +0 -9
- package/lib/image/style/css.js +0 -4
- package/lib/input/style/_index.scss +0 -180
- package/lib/input/style/_mixin.scss +0 -38
- package/lib/input/style/css.js +0 -4
- package/lib/input-number/style/_index.scss +0 -142
- package/lib/input-number/style/css.js +0 -5
- package/lib/input-password/style/_index.scss +0 -20
- package/lib/input-password/style/css.js +0 -5
- package/lib/keyboard/style/_index.scss +0 -23
- package/lib/keyboard/style/css.js +0 -4
- package/lib/layout/style/_index.scss +0 -82
- package/lib/layout/style/css.js +0 -4
- package/lib/link/style/_index.scss +0 -17
- package/lib/link/style/css.js +0 -4
- package/lib/list/style/_index.scss +0 -172
- package/lib/list/style/css.js +0 -4
- package/lib/loader/style/_index.scss +0 -142
- package/lib/loader/style/css.js +0 -4
- package/lib/loading-bar/style/_index.scss +0 -17
- package/lib/loading-bar/style/css.js +0 -4
- package/lib/menu/style/_index.scss +0 -183
- package/lib/menu/style/_mixin.scss +0 -16
- package/lib/menu/style/css.js +0 -6
- package/lib/message/style/_index.scss +0 -59
- package/lib/message/style/css.js +0 -4
- package/lib/modal/style/_index.scss +0 -115
- package/lib/modal/style/css.js +0 -7
- package/lib/native-select/style/_index.scss +0 -65
- package/lib/native-select/style/_mixin.scss +0 -4
- package/lib/native-select/style/css.js +0 -4
- package/lib/notification/style/_index.scss +0 -66
- package/lib/notification/style/css.js +0 -4
- package/lib/overlay/style/_index.scss +0 -51
- package/lib/overlay/style/css.js +0 -4
- package/lib/pagination/style/_index.scss +0 -143
- package/lib/pagination/style/css.js +0 -4
- package/lib/pop-confirm/style/_index.scss +0 -25
- package/lib/pop-confirm/style/css.js +0 -7
- package/lib/popover/style/_index.scss +0 -42
- package/lib/popover/style/css.js +0 -6
- package/lib/popup/style/_index.scss +0 -84
- package/lib/popup/style/css.js +0 -6
- package/lib/progress/style/_index.scss +0 -170
- package/lib/progress/style/css.js +0 -4
- package/lib/radio/style/_index.scss +0 -86
- package/lib/radio/style/css.js +0 -4
- package/lib/rate/style/_index.scss +0 -31
- package/lib/rate/style/css.js +0 -4
- package/lib/result/style/_index.scss +0 -48
- package/lib/result/style/css.js +0 -4
- package/lib/scroll-indicator/style/_index.scss +0 -15
- package/lib/scroll-indicator/style/css.js +0 -4
- package/lib/segmented/style/_index.scss +0 -93
- package/lib/segmented/style/css.js +0 -4
- package/lib/select/style/_index.scss +0 -313
- package/lib/select/style/css.js +0 -6
- package/lib/skeleton/style/_index.scss +0 -42
- package/lib/skeleton/style/css.js +0 -4
- package/lib/slider/style/_index.scss +0 -177
- package/lib/slider/style/css.js +0 -6
- package/lib/space/style/_index.scss +0 -25
- package/lib/space/style/css.js +0 -4
- package/lib/speed-dial/style/_index.scss +0 -230
- package/lib/speed-dial/style/css.js +0 -4
- package/lib/split/style/_index.scss +0 -98
- package/lib/split/style/css.js +0 -4
- package/lib/split-button/style/_index.scss +0 -9
- package/lib/split-button/style/css.js +0 -7
- package/lib/statistic/style/_index.scss +0 -31
- package/lib/statistic/style/css.js +0 -4
- package/lib/steps/style/_index.scss +0 -208
- package/lib/steps/style/css.js +0 -4
- package/lib/sticky/style/_index.scss +0 -8
- package/lib/sticky/style/css.js +0 -4
- package/lib/strength-indicator/style/_index.scss +0 -46
- package/lib/strength-indicator/style/css.js +0 -4
- package/lib/style/_animation.scss +0 -31
- package/lib/style/_component.scss +0 -78
- package/lib/style/_font.scss +0 -981
- package/lib/style/_mixins.scss +0 -13
- package/lib/style/_normalise.scss +0 -405
- package/lib/style/_theme.scss +0 -26
- package/lib/style/_tokens.scss +0 -61
- package/lib/style/_variables.scss +0 -266
- package/lib/style/fonts/iconfont.eot +0 -0
- package/lib/style/fonts/iconfont.svg +0 -752
- package/lib/style/fonts/iconfont.ttf +0 -0
- package/lib/style/fonts/iconfont.woff +0 -0
- package/lib/style/index.css +0 -10104
- package/lib/style/index.scss +0 -7
- package/lib/style/themes/_dark.scss +0 -380
- package/lib/style/themes/_light.scss +0 -380
- package/lib/switch/style/_index.scss +0 -144
- package/lib/switch/style/_mixin.scss +0 -16
- package/lib/switch/style/css.js +0 -4
- package/lib/table/style/_index.scss +0 -181
- package/lib/table/style/css.js +0 -4
- package/lib/tabs/style/css.js +0 -4
- package/lib/tabs/style/index.css +0 -241
- package/lib/tabs/style/index.scss +0 -315
- package/lib/tag/style/_index.scss +0 -119
- package/lib/tag/style/css.js +0 -4
- package/lib/textarea/style/_index.scss +0 -28
- package/lib/textarea/style/css.js +0 -6
- package/lib/time-picker/style/_index.scss +0 -212
- package/lib/time-picker/style/css.js +0 -4
- package/lib/timeline/style/_index.scss +0 -91
- package/lib/timeline/style/css.js +0 -4
- package/lib/tooltip/style/_index.scss +0 -41
- package/lib/tooltip/style/css.js +0 -6
- package/lib/transfer/style/_index.scss +0 -98
- package/lib/transfer/style/css.js +0 -8
- package/lib/transition/style/_index.scss +0 -20
- package/lib/transition/style/_mixin.scss +0 -58
- package/lib/transition/style/css.js +0 -4
- package/lib/tree/style/_index.scss +0 -66
- package/lib/tree/style/css.js +0 -6
- package/lib/typography/style/_index.scss +0 -126
- package/lib/typography/style/css.js +0 -4
- package/lib/upload/style/_index.scss +0 -99
- package/lib/upload/style/css.js +0 -6
package/lib/style/_mixins.scss
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@use "./animation" as *;
|
|
2
|
-
|
|
3
|
-
@mixin loader() {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
width: 1em;
|
|
6
|
-
height: 1em;
|
|
7
|
-
position: relative;
|
|
8
|
-
border-width: 2px;
|
|
9
|
-
border-color: currentColor currentColor transparent transparent;
|
|
10
|
-
border-style: solid;
|
|
11
|
-
border-radius: 50%;
|
|
12
|
-
animation: ty-rotate-reverse 600ms infinite linear;
|
|
13
|
-
}
|
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
@use "./variables" as *;
|
|
2
|
-
|
|
3
|
-
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
4
|
-
|
|
5
|
-
// Reboot
|
|
6
|
-
//
|
|
7
|
-
// Normalization of HTML elements, manually forked from Normalize.css to remove
|
|
8
|
-
// styles targeting irrelevant browsers while applying new styles.
|
|
9
|
-
//
|
|
10
|
-
// Normalize is licensed MIT. https://github.com/necolas/normalize.css
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 1. Correct the line height in all browsers.
|
|
14
|
-
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
html {
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
line-height: 1.15; /* 1 */
|
|
20
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* Sections
|
|
24
|
-
========================================================================== */
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Remove the margin in all browsers.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
body {
|
|
31
|
-
margin: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Render the `main` element consistently in IE.
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
|
-
main {
|
|
39
|
-
display: block;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Typography
|
|
43
|
-
//
|
|
44
|
-
// 1. Remove top margins from headings
|
|
45
|
-
// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
|
|
46
|
-
// margin for easier control within type scales as it avoids margin collapsing.
|
|
47
|
-
|
|
48
|
-
%heading {
|
|
49
|
-
margin-top: 0; // 1
|
|
50
|
-
margin-bottom: $headings-margin-bottom;
|
|
51
|
-
font-family: $headings-font-family;
|
|
52
|
-
font-style: $headings-font-style;
|
|
53
|
-
font-weight: $headings-font-weight;
|
|
54
|
-
line-height: $headings-line-height;
|
|
55
|
-
color: $headings-color;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
h1 {
|
|
59
|
-
@extend %heading;
|
|
60
|
-
|
|
61
|
-
font-size: $h1-font-size;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
h2 {
|
|
65
|
-
@extend %heading;
|
|
66
|
-
|
|
67
|
-
font-size: $h2-font-size;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
h3 {
|
|
71
|
-
@extend %heading;
|
|
72
|
-
|
|
73
|
-
font-size: $h3-font-size;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
h4 {
|
|
77
|
-
@extend %heading;
|
|
78
|
-
|
|
79
|
-
font-size: $h4-font-size;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
h5 {
|
|
83
|
-
@extend %heading;
|
|
84
|
-
|
|
85
|
-
font-size: $h5-font-size;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
h6 {
|
|
89
|
-
@extend %heading;
|
|
90
|
-
|
|
91
|
-
font-size: $h6-font-size;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/* Grouping content
|
|
95
|
-
========================================================================== */
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* 1. Add the correct box sizing in Firefox.
|
|
99
|
-
* 2. Show the overflow in Edge and IE.
|
|
100
|
-
*/
|
|
101
|
-
|
|
102
|
-
hr {
|
|
103
|
-
box-sizing: content-box; /* 1 */
|
|
104
|
-
height: 0; /* 1 */
|
|
105
|
-
overflow: visible; /* 2 */
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* Text-level semantics
|
|
109
|
-
========================================================================== */
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Remove the gray background on active links in IE 10.
|
|
113
|
-
*/
|
|
114
|
-
|
|
115
|
-
a {
|
|
116
|
-
background-color: transparent;
|
|
117
|
-
color: var(--ty-color-primary);
|
|
118
|
-
text-decoration: $link-decoration;
|
|
119
|
-
cursor: pointer;
|
|
120
|
-
|
|
121
|
-
&:hover {
|
|
122
|
-
color: var(--ty-color-primary-hover);
|
|
123
|
-
text-decoration: $link-hover-decoration;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// Undo these styles for placeholder links/named anchors (without href).
|
|
128
|
-
a:not([href]) {
|
|
129
|
-
&,
|
|
130
|
-
&:hover {
|
|
131
|
-
text-decoration: none;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* 1. Remove the bottom border in Chrome 57-
|
|
137
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
abbr[title] {
|
|
141
|
-
border-bottom: none; /* 1 */
|
|
142
|
-
text-decoration: underline; /* 2 */
|
|
143
|
-
text-decoration: underline dotted; /* 2 */
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
148
|
-
*/
|
|
149
|
-
|
|
150
|
-
b,
|
|
151
|
-
strong {
|
|
152
|
-
font-weight: bolder;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
157
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
|
-
pre,
|
|
161
|
-
code,
|
|
162
|
-
kbd,
|
|
163
|
-
samp {
|
|
164
|
-
font-family: $font-family-monospace; /* 1 */
|
|
165
|
-
font-size: 1em; /* 2 */
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Add the correct font size in all browsers.
|
|
170
|
-
*/
|
|
171
|
-
|
|
172
|
-
small {
|
|
173
|
-
font-size: 80%;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
178
|
-
* all browsers.
|
|
179
|
-
*/
|
|
180
|
-
|
|
181
|
-
sub,
|
|
182
|
-
sup {
|
|
183
|
-
font-size: 75%;
|
|
184
|
-
line-height: 0;
|
|
185
|
-
position: relative;
|
|
186
|
-
vertical-align: baseline;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
sub {
|
|
190
|
-
bottom: -0.25em;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
sup {
|
|
194
|
-
top: 0;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/* Embedded content
|
|
198
|
-
========================================================================== */
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Remove the border on images inside links in IE 10.
|
|
202
|
-
*/
|
|
203
|
-
|
|
204
|
-
img {
|
|
205
|
-
border-style: none;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/* Forms
|
|
209
|
-
========================================================================== */
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* 1. Change the font styles in all browsers.
|
|
213
|
-
* 2. Remove the margin in Firefox and Safari.
|
|
214
|
-
*/
|
|
215
|
-
|
|
216
|
-
button,
|
|
217
|
-
input,
|
|
218
|
-
optgroup,
|
|
219
|
-
select,
|
|
220
|
-
textarea {
|
|
221
|
-
font-family: inherit; /* 1 */
|
|
222
|
-
font-size: 100%; /* 1 */
|
|
223
|
-
line-height: 1.15; /* 1 */
|
|
224
|
-
margin: 0; /* 2 */
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Show the overflow in IE.
|
|
229
|
-
* 1. Show the overflow in Edge.
|
|
230
|
-
*/
|
|
231
|
-
|
|
232
|
-
button,
|
|
233
|
-
input { /* 1 */
|
|
234
|
-
overflow: visible;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
239
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
|
240
|
-
*/
|
|
241
|
-
|
|
242
|
-
button,
|
|
243
|
-
select { /* 1 */
|
|
244
|
-
text-transform: none;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Correct the inability to style clickable types in iOS and Safari.
|
|
249
|
-
*/
|
|
250
|
-
|
|
251
|
-
button,
|
|
252
|
-
[type="button"],
|
|
253
|
-
[type="reset"],
|
|
254
|
-
[type="submit"] {
|
|
255
|
-
-webkit-appearance: button;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Remove the inner border and padding in Firefox.
|
|
260
|
-
*/
|
|
261
|
-
|
|
262
|
-
button::-moz-focus-inner,
|
|
263
|
-
[type="button"]::-moz-focus-inner,
|
|
264
|
-
[type="reset"]::-moz-focus-inner,
|
|
265
|
-
[type="submit"]::-moz-focus-inner {
|
|
266
|
-
border-style: none;
|
|
267
|
-
padding: 0;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Restore the focus styles unset by the previous rule.
|
|
272
|
-
*/
|
|
273
|
-
|
|
274
|
-
button:-moz-focusring,
|
|
275
|
-
[type="button"]:-moz-focusring,
|
|
276
|
-
[type="reset"]:-moz-focusring,
|
|
277
|
-
[type="submit"]:-moz-focusring {
|
|
278
|
-
outline: 1px dotted ButtonText;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Correct the padding in Firefox.
|
|
283
|
-
*/
|
|
284
|
-
|
|
285
|
-
fieldset {
|
|
286
|
-
padding: 0.35em 0.75em 0.625em;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* 1. Correct the text wrapping in Edge and IE.
|
|
291
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
292
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
|
293
|
-
* `fieldset` elements in all browsers.
|
|
294
|
-
*/
|
|
295
|
-
|
|
296
|
-
legend {
|
|
297
|
-
box-sizing: border-box; /* 1 */
|
|
298
|
-
color: inherit; /* 2 */
|
|
299
|
-
display: table; /* 1 */
|
|
300
|
-
max-width: 100%; /* 1 */
|
|
301
|
-
padding: 0; /* 3 */
|
|
302
|
-
white-space: normal; /* 1 */
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
307
|
-
*/
|
|
308
|
-
|
|
309
|
-
progress {
|
|
310
|
-
vertical-align: baseline;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Remove the default vertical scrollbar in IE 10+.
|
|
315
|
-
*/
|
|
316
|
-
|
|
317
|
-
textarea {
|
|
318
|
-
overflow: auto;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* 1. Add the correct box sizing in IE 10.
|
|
323
|
-
* 2. Remove the padding in IE 10.
|
|
324
|
-
*/
|
|
325
|
-
|
|
326
|
-
[type="checkbox"],
|
|
327
|
-
[type="radio"] {
|
|
328
|
-
box-sizing: border-box; /* 1 */
|
|
329
|
-
padding: 0; /* 2 */
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
334
|
-
*/
|
|
335
|
-
|
|
336
|
-
[type="number"]::-webkit-inner-spin-button,
|
|
337
|
-
[type="number"]::-webkit-outer-spin-button {
|
|
338
|
-
height: auto;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
|
343
|
-
* 2. Correct the outline style in Safari.
|
|
344
|
-
*/
|
|
345
|
-
|
|
346
|
-
[type="search"] {
|
|
347
|
-
-webkit-appearance: textfield; /* 1 */
|
|
348
|
-
outline-offset: -2px; /* 2 */
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Remove the inner padding in Chrome and Safari on macOS.
|
|
353
|
-
*/
|
|
354
|
-
|
|
355
|
-
[type="search"]::-webkit-search-decoration {
|
|
356
|
-
-webkit-appearance: none;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
361
|
-
* 2. Change font properties to `inherit` in Safari.
|
|
362
|
-
*/
|
|
363
|
-
|
|
364
|
-
::-webkit-file-upload-button {
|
|
365
|
-
-webkit-appearance: button; /* 1 */
|
|
366
|
-
font: inherit; /* 2 */
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/* Interactive
|
|
370
|
-
========================================================================== */
|
|
371
|
-
|
|
372
|
-
/*
|
|
373
|
-
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
374
|
-
*/
|
|
375
|
-
|
|
376
|
-
details {
|
|
377
|
-
display: block;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
/*
|
|
381
|
-
* Add the correct display in all browsers.
|
|
382
|
-
*/
|
|
383
|
-
|
|
384
|
-
summary {
|
|
385
|
-
display: list-item;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/* Misc
|
|
389
|
-
========================================================================== */
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* Add the correct display in IE 10+.
|
|
393
|
-
*/
|
|
394
|
-
|
|
395
|
-
template {
|
|
396
|
-
display: none;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Add the correct display in IE 10.
|
|
401
|
-
*/
|
|
402
|
-
|
|
403
|
-
[hidden] {
|
|
404
|
-
display: none;
|
|
405
|
-
}
|
package/lib/style/_theme.scss
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@use './themes/light' as *;
|
|
2
|
-
@use './themes/dark' as *;
|
|
3
|
-
|
|
4
|
-
// Generate CSS custom properties from a theme map
|
|
5
|
-
@mixin generate-theme-vars($theme) {
|
|
6
|
-
@each $key, $value in $theme {
|
|
7
|
-
--ty-#{$key}: #{$value};
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// Light theme (default)
|
|
12
|
-
:root {
|
|
13
|
-
@include generate-theme-vars($light-theme);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// Dark theme (explicit)
|
|
17
|
-
html[data-theme='dark'] {
|
|
18
|
-
@include generate-theme-vars($dark-theme);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// System preference (when no explicit data-theme is set)
|
|
22
|
-
@media (prefers-color-scheme: dark) {
|
|
23
|
-
html:not([data-theme]) {
|
|
24
|
-
@include generate-theme-vars($dark-theme);
|
|
25
|
-
}
|
|
26
|
-
}
|
package/lib/style/_tokens.scss
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// SCSS convenience variables referencing CSS custom properties
|
|
2
|
-
// Usage: background: $token-color-bg;
|
|
3
|
-
|
|
4
|
-
// ---- Background ----
|
|
5
|
-
$token-color-bg: var(--ty-color-bg);
|
|
6
|
-
$token-color-bg-elevated: var(--ty-color-bg-elevated);
|
|
7
|
-
$token-color-bg-container: var(--ty-color-bg-container);
|
|
8
|
-
$token-color-bg-spotlight: var(--ty-color-bg-spotlight);
|
|
9
|
-
$token-color-bg-disabled: var(--ty-color-bg-disabled);
|
|
10
|
-
$token-color-bg-layout: var(--ty-color-bg-layout);
|
|
11
|
-
|
|
12
|
-
// ---- Text ----
|
|
13
|
-
$token-color-text: var(--ty-color-text);
|
|
14
|
-
$token-color-text-secondary: var(--ty-color-text-secondary);
|
|
15
|
-
$token-color-text-tertiary: var(--ty-color-text-tertiary);
|
|
16
|
-
$token-color-text-quaternary: var(--ty-color-text-quaternary);
|
|
17
|
-
$token-color-text-heading: var(--ty-color-text-heading);
|
|
18
|
-
$token-color-text-label: var(--ty-color-text-label);
|
|
19
|
-
$token-color-text-placeholder: var(--ty-color-text-placeholder);
|
|
20
|
-
|
|
21
|
-
// ---- Primary ----
|
|
22
|
-
$token-color-primary: var(--ty-color-primary);
|
|
23
|
-
$token-color-primary-hover: var(--ty-color-primary-hover);
|
|
24
|
-
$token-color-primary-active: var(--ty-color-primary-active);
|
|
25
|
-
$token-color-primary-bg: var(--ty-color-primary-bg);
|
|
26
|
-
$token-color-primary-border: var(--ty-color-primary-border);
|
|
27
|
-
$token-color-primary-bg-hover: var(--ty-color-primary-bg-hover);
|
|
28
|
-
$token-color-primary-text-hover: var(--ty-color-primary-text-hover);
|
|
29
|
-
|
|
30
|
-
// ---- Border ----
|
|
31
|
-
$token-color-border: var(--ty-color-border);
|
|
32
|
-
$token-color-border-secondary: var(--ty-color-border-secondary);
|
|
33
|
-
$token-color-border-light: var(--ty-color-border-light);
|
|
34
|
-
|
|
35
|
-
// ---- Fill ----
|
|
36
|
-
$token-color-fill: var(--ty-color-fill);
|
|
37
|
-
$token-color-fill-secondary: var(--ty-color-fill-secondary);
|
|
38
|
-
$token-color-fill-tertiary: var(--ty-color-fill-tertiary);
|
|
39
|
-
|
|
40
|
-
// ---- Status ----
|
|
41
|
-
$token-color-success: var(--ty-color-success);
|
|
42
|
-
$token-color-success-bg: var(--ty-color-success-bg);
|
|
43
|
-
$token-color-success-border: var(--ty-color-success-border);
|
|
44
|
-
$token-color-warning: var(--ty-color-warning);
|
|
45
|
-
$token-color-warning-bg: var(--ty-color-warning-bg);
|
|
46
|
-
$token-color-warning-border: var(--ty-color-warning-border);
|
|
47
|
-
$token-color-danger: var(--ty-color-danger);
|
|
48
|
-
$token-color-danger-bg: var(--ty-color-danger-bg);
|
|
49
|
-
$token-color-danger-border: var(--ty-color-danger-border);
|
|
50
|
-
$token-color-info: var(--ty-color-info);
|
|
51
|
-
$token-color-info-bg: var(--ty-color-info-bg);
|
|
52
|
-
$token-color-info-border: var(--ty-color-info-border);
|
|
53
|
-
|
|
54
|
-
// ---- Shadows ----
|
|
55
|
-
$token-shadow-sm: var(--ty-shadow-sm);
|
|
56
|
-
$token-shadow: var(--ty-shadow);
|
|
57
|
-
$token-shadow-lg: var(--ty-shadow-lg);
|
|
58
|
-
$token-shadow-popup: var(--ty-shadow-popup);
|
|
59
|
-
|
|
60
|
-
// ---- Overlay ----
|
|
61
|
-
$token-color-overlay-bg: var(--ty-color-overlay-bg);
|