taro-ui 3.3.1 → 3.3.3
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/common/component.d.ts +10 -0
- package/dist/common/component.js +32 -0
- package/dist/common/component.js.map +1 -0
- package/dist/common/utils.d.ts +41 -0
- package/dist/common/utils.js +203 -0
- package/dist/common/utils.js.map +1 -0
- package/dist/components/accordion/index.d.ts +14 -0
- package/dist/components/accordion/index.js +121 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/action-sheet/body/index.d.ts +5 -0
- package/dist/components/action-sheet/body/index.js +13 -0
- package/dist/components/action-sheet/body/index.js.map +1 -0
- package/dist/components/action-sheet/body/item/index.d.ts +9 -0
- package/dist/components/action-sheet/body/item/index.js +25 -0
- package/dist/components/action-sheet/body/item/index.js.map +1 -0
- package/dist/components/action-sheet/footer/index.d.ts +9 -0
- package/dist/components/action-sheet/footer/index.js +28 -0
- package/dist/components/action-sheet/footer/index.js.map +1 -0
- package/dist/components/action-sheet/header/index.d.ts +5 -0
- package/dist/components/action-sheet/header/index.js +16 -0
- package/dist/components/action-sheet/header/index.js.map +1 -0
- package/dist/components/action-sheet/index.d.ts +14 -0
- package/dist/components/action-sheet/index.js +76 -0
- package/dist/components/action-sheet/index.js.map +1 -0
- package/dist/components/activity-indicator/index.d.ts +8 -0
- package/dist/components/activity-indicator/index.js +39 -0
- package/dist/components/activity-indicator/index.js.map +1 -0
- package/dist/components/avatar/index.d.ts +9 -0
- package/dist/components/avatar/index.js +68 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/index.d.ts +10 -0
- package/dist/components/badge/index.js +51 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/button/index.d.ts +15 -0
- package/dist/components/button/index.js +177 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/calendar/body/index.d.ts +26 -0
- package/dist/components/calendar/body/index.js +289 -0
- package/dist/components/calendar/body/index.js.map +1 -0
- package/dist/components/calendar/common/constant.d.ts +3 -0
- package/dist/components/calendar/common/constant.js +9 -0
- package/dist/components/calendar/common/constant.js.map +1 -0
- package/dist/components/calendar/common/helper.d.ts +4 -0
- package/dist/components/calendar/common/helper.js +84 -0
- package/dist/components/calendar/common/helper.js.map +1 -0
- package/dist/components/calendar/common/plugins.d.ts +11 -0
- package/dist/components/calendar/common/plugins.js +55 -0
- package/dist/components/calendar/common/plugins.js.map +1 -0
- package/dist/components/calendar/controller/index.d.ts +5 -0
- package/dist/components/calendar/controller/index.js +51 -0
- package/dist/components/calendar/controller/index.js.map +1 -0
- package/dist/components/calendar/index.d.ts +20 -0
- package/dist/components/calendar/index.js +244 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/calendar/ui/date-list/index.d.ts +12 -0
- package/dist/components/calendar/ui/date-list/index.js +54 -0
- package/dist/components/calendar/ui/date-list/index.js.map +1 -0
- package/dist/components/calendar/ui/day-list/index.d.ts +4 -0
- package/dist/components/calendar/ui/day-list/index.js +11 -0
- package/dist/components/calendar/ui/day-list/index.js.map +1 -0
- package/dist/components/card/index.d.ts +9 -0
- package/dist/components/card/index.js +80 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/checkbox/index.d.ts +9 -0
- package/dist/components/checkbox/index.js +59 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/countdown/index.d.ts +20 -0
- package/dist/components/countdown/index.js +152 -0
- package/dist/components/countdown/index.js.map +1 -0
- package/dist/components/countdown/item/index.d.ts +9 -0
- package/dist/components/countdown/item/index.js +24 -0
- package/dist/components/countdown/item/index.js.map +1 -0
- package/dist/components/curtain/index.d.ts +10 -0
- package/dist/components/curtain/index.js +62 -0
- package/dist/components/curtain/index.js.map +1 -0
- package/dist/components/divider/index.d.ts +8 -0
- package/dist/components/divider/index.js +57 -0
- package/dist/components/divider/index.js.map +1 -0
- package/dist/components/drawer/index.d.ts +16 -0
- package/dist/components/drawer/index.js +114 -0
- package/dist/components/drawer/index.js.map +1 -0
- package/dist/components/fab/index.d.ts +9 -0
- package/dist/components/fab/index.js +29 -0
- package/dist/components/fab/index.js.map +1 -0
- package/dist/components/flex/index.d.ts +7 -0
- package/dist/components/flex/index.js +41 -0
- package/dist/components/flex/index.js.map +1 -0
- package/dist/components/flex/item/index.d.ts +7 -0
- package/dist/components/flex/item/index.js +34 -0
- package/dist/components/flex/item/index.js.map +1 -0
- package/dist/components/float-layout/index.d.ts +13 -0
- package/dist/components/float-layout/index.js +104 -0
- package/dist/components/float-layout/index.js.map +1 -0
- package/dist/components/form/index.d.ts +10 -0
- package/dist/components/form/index.js +43 -0
- package/dist/components/form/index.js.map +1 -0
- package/dist/components/grid/index.d.ts +9 -0
- package/dist/components/grid/index.js +101 -0
- package/dist/components/grid/index.js.map +1 -0
- package/dist/components/icon/index.d.ts +9 -0
- package/dist/components/icon/index.js +54 -0
- package/dist/components/icon/index.js.map +1 -0
- package/dist/components/image-picker/index.d.ts +11 -0
- package/dist/components/image-picker/index.js +164 -0
- package/dist/components/image-picker/index.js.map +1 -0
- package/dist/components/indexes/index.d.ts +29 -0
- package/dist/components/indexes/index.js +272 -0
- package/dist/components/indexes/index.js.map +1 -0
- package/dist/components/input/index.d.ts +17 -0
- package/dist/components/input/index.js +232 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/input-number/index.d.ts +13 -0
- package/dist/components/input-number/index.js +193 -0
- package/dist/components/input-number/index.js.map +1 -0
- package/dist/components/list/index.d.ts +8 -0
- package/dist/components/list/index.js +26 -0
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/list/item/index.d.ts +11 -0
- package/dist/components/list/item/index.js +152 -0
- package/dist/components/list/item/index.js.map +1 -0
- package/dist/components/load-more/index.d.ts +9 -0
- package/dist/components/load-more/index.js +72 -0
- package/dist/components/load-more/index.js.map +1 -0
- package/dist/components/loading/index.d.ts +12 -0
- package/dist/components/loading/index.js +32 -0
- package/dist/components/loading/index.js.map +1 -0
- package/dist/components/message/index.d.ts +15 -0
- package/dist/components/message/index.js +78 -0
- package/dist/components/message/index.js.map +1 -0
- package/dist/components/modal/action/index.d.ts +8 -0
- package/dist/components/modal/action/index.js +26 -0
- package/dist/components/modal/action/index.js.map +1 -0
- package/dist/components/modal/content/index.d.ts +5 -0
- package/dist/components/modal/content/index.js +13 -0
- package/dist/components/modal/content/index.js.map +1 -0
- package/dist/components/modal/header/index.d.ts +5 -0
- package/dist/components/modal/header/index.js +13 -0
- package/dist/components/modal/header/index.js.map +1 -0
- package/dist/components/modal/index.d.ts +15 -0
- package/dist/components/modal/index.js +106 -0
- package/dist/components/modal/index.js.map +1 -0
- package/dist/components/nav-bar/index.d.ts +12 -0
- package/dist/components/nav-bar/index.js +217 -0
- package/dist/components/nav-bar/index.js.map +1 -0
- package/dist/components/noticebar/index.d.ts +16 -0
- package/dist/components/noticebar/index.js +186 -0
- package/dist/components/noticebar/index.js.map +1 -0
- package/dist/components/pagination/index.d.ts +12 -0
- package/dist/components/pagination/index.js +146 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/progress/index.d.ts +7 -0
- package/dist/components/progress/index.js +53 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/radio/index.d.ts +9 -0
- package/dist/components/radio/index.js +54 -0
- package/dist/components/radio/index.js.map +1 -0
- package/dist/components/range/index.d.ts +22 -0
- package/dist/components/range/index.js +207 -0
- package/dist/components/range/index.js.map +1 -0
- package/dist/components/rate/index.d.ts +9 -0
- package/dist/components/rate/index.js +82 -0
- package/dist/components/rate/index.js.map +1 -0
- package/dist/components/search-bar/index.d.ts +16 -0
- package/dist/components/search-bar/index.js +176 -0
- package/dist/components/search-bar/index.js.map +1 -0
- package/dist/components/segmented-control/index.d.ts +9 -0
- package/dist/components/segmented-control/index.js +84 -0
- package/dist/components/segmented-control/index.js.map +1 -0
- package/dist/components/slider/index.d.ts +13 -0
- package/dist/components/slider/index.js +115 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/steps/index.d.ts +9 -0
- package/dist/components/steps/index.js +67 -0
- package/dist/components/steps/index.js.map +1 -0
- package/dist/components/swipe-action/index.d.ts +27 -0
- package/dist/components/swipe-action/index.js +220 -0
- package/dist/components/swipe-action/index.js.map +1 -0
- package/dist/components/swipe-action/options/index.d.ts +5 -0
- package/dist/components/swipe-action/options/index.js +24 -0
- package/dist/components/swipe-action/options/index.js.map +1 -0
- package/dist/components/switch/index.d.ts +9 -0
- package/dist/components/switch/index.js +59 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/tab-bar/index.d.ts +9 -0
- package/dist/components/tab-bar/index.js +170 -0
- package/dist/components/tab-bar/index.js.map +1 -0
- package/dist/components/tabs/index.d.ts +24 -0
- package/dist/components/tabs/index.js +219 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs-pane/index.d.ts +8 -0
- package/dist/components/tabs-pane/index.js +43 -0
- package/dist/components/tabs-pane/index.js.map +1 -0
- package/dist/components/tag/index.d.ts +9 -0
- package/dist/components/tag/index.js +75 -0
- package/dist/components/tag/index.js.map +1 -0
- package/dist/components/textarea/index.d.ts +13 -0
- package/dist/components/textarea/index.js +141 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/timeline/index.d.ts +8 -0
- package/dist/components/timeline/index.js +76 -0
- package/dist/components/timeline/index.js.map +1 -0
- package/dist/components/toast/img.json +8 -0
- package/dist/components/toast/index.d.ts +16 -0
- package/dist/components/toast/index.js +124 -0
- package/dist/components/toast/index.js.map +1 -0
- package/{lib/index.js → dist/index.d.ts} +0 -2
- package/dist/index.esm.js +6020 -8272
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6104 -8332
- package/dist/index.js.map +1 -1
- package/dist/style/components/grid.scss +2 -2
- package/dist/style/components/index.scss +48 -48
- package/dist/style/components/list.scss +2 -2
- package/dist/style/index.css +11754 -0
- package/dist/style/index.css.map +1 -0
- package/dist/style/mixins/index.scss +13 -13
- package/dist/style/mixins/libs/shade.scss +4 -2
- package/dist/style/mixins/libs/tint.scss +4 -2
- package/dist/style/variables/default.scss +1 -1
- package/package.json +56 -33
- package/rn/components/action-sheet/index.tsx +8 -14
- package/rn/components/calendar/ui/date-list/index.tsx +1 -1
- package/rn/components/drawer/index.tsx +15 -15
- package/rn/components/float-layout/index.tsx +3 -2
- package/rn/components/input/index.tsx +14 -7
- package/rn/components/input-number/index.tsx +19 -19
- package/rn/components/message/index.tsx +1 -1
- package/rn/components/swipe-action/index.rn.tsx +4 -2
- package/rn/components/swipe-action/index.tsx +6 -5
- package/rn/components/tab-bar/index.tsx +1 -1
- package/rn/components/tabs/index.tsx +14 -14
- package/rn/components/textarea/index.tsx +2 -2
- package/dist/style/components/accordion.rn.scss +0 -79
- package/dist/style/components/action-sheet.rn.scss +0 -80
- package/dist/style/components/activity-indicator.rn.scss +0 -30
- package/dist/style/components/article.rn.scss +0 -59
- package/dist/style/components/avatar.rn.scss +0 -46
- package/dist/style/components/badge.rn.scss +0 -52
- package/dist/style/components/button.rn.scss +0 -80
- package/dist/style/components/calendar.rn.scss +0 -182
- package/dist/style/components/card.rn.scss +0 -88
- package/dist/style/components/checkbox.rn.scss +0 -108
- package/dist/style/components/countdown.rn.scss +0 -82
- package/dist/style/components/curtain.rn.scss +0 -129
- package/dist/style/components/divider.rn.scss +0 -33
- package/dist/style/components/drawer.rn.scss +0 -72
- package/dist/style/components/fab.rn.scss +0 -38
- package/dist/style/components/flex.rn.scss +0 -159
- package/dist/style/components/float-layout.rn.scss +0 -119
- package/dist/style/components/form.rn.scss +0 -12
- package/dist/style/components/grid.rn.scss +0 -104
- package/dist/style/components/icon.rn.scss +0 -221
- package/dist/style/components/image-picker.rn.scss +0 -108
- package/dist/style/components/index.rn.scss +0 -51
- package/dist/style/components/indexes.rn.scss +0 -53
- package/dist/style/components/input-number.rn.scss +0 -82
- package/dist/style/components/input.rn.scss +0 -149
- package/dist/style/components/list.rn.scss +0 -107
- package/dist/style/components/load-more.rn.scss +0 -28
- package/dist/style/components/loading.rn.scss +0 -45
- package/dist/style/components/message.rn.scss +0 -57
- package/dist/style/components/modal.rn.scss +0 -136
- package/dist/style/components/nav-bar.rn.scss +0 -123
- package/dist/style/components/noticebar.rn.scss +0 -111
- package/dist/style/components/pagination.rn.scss +0 -43
- package/dist/style/components/progress.rn.scss +0 -105
- package/dist/style/components/radio.rn.scss +0 -94
- package/dist/style/components/range.rn.scss +0 -52
- package/dist/style/components/rate.rn.scss +0 -48
- package/dist/style/components/search-bar.rn.scss +0 -134
- package/dist/style/components/segmented-control.rn.scss +0 -44
- package/dist/style/components/slider.rn.scss +0 -33
- package/dist/style/components/steps.rn.scss +0 -131
- package/dist/style/components/swipe-action.rn.scss +0 -53
- package/dist/style/components/switch.rn.scss +0 -61
- package/dist/style/components/tab-bar.rn.scss +0 -74
- package/dist/style/components/tabs.rn.scss +0 -205
- package/dist/style/components/tag.rn.scss +0 -74
- package/dist/style/components/textarea.rn.scss +0 -57
- package/dist/style/components/timeline.rn.scss +0 -89
- package/dist/style/components/toast.rn.scss +0 -112
- package/dist/style/index.rn.scss +0 -14
- package/dist/style/mixins/index.rn.scss +0 -18
- package/dist/style/mixins/libs/absolute-center.rn.scss +0 -9
- package/dist/style/mixins/libs/active.rn.scss +0 -10
- package/dist/style/mixins/libs/alignhack.rn.scss +0 -11
- package/dist/style/mixins/libs/border.rn.scss +0 -48
- package/dist/style/mixins/libs/clearfix.rn.scss +0 -21
- package/dist/style/mixins/libs/disabled.rn.scss +0 -6
- package/dist/style/mixins/libs/flex.rn.scss +0 -49
- package/dist/style/mixins/libs/hairline.rn.scss +0 -209
- package/dist/style/mixins/libs/line.rn.scss +0 -14
- package/dist/style/mixins/libs/overlay.rn.scss +0 -11
- package/dist/style/mixins/libs/placeholder.rn.scss +0 -12
- package/dist/style/mixins/libs/shade.rn.scss +0 -23
- package/dist/style/mixins/libs/tint.rn.scss +0 -23
- package/dist/style/themes/purple.rn.scss +0 -44
- package/dist/style/themes/red.rn.scss +0 -45
- package/dist/style/variables/default.rn.scss +0 -461
- package/lib/common/component.js +0 -33
- package/lib/common/component.js.map +0 -1
- package/lib/common/utils.js +0 -226
- package/lib/common/utils.js.map +0 -1
- package/lib/components/accordion/index.js +0 -116
- package/lib/components/accordion/index.js.map +0 -1
- package/lib/components/action-sheet/body/index.js +0 -10
- package/lib/components/action-sheet/body/index.js.map +0 -1
- package/lib/components/action-sheet/body/item/index.js +0 -22
- package/lib/components/action-sheet/body/item/index.js.map +0 -1
- package/lib/components/action-sheet/footer/index.js +0 -22
- package/lib/components/action-sheet/footer/index.js.map +0 -1
- package/lib/components/action-sheet/header/index.js +0 -10
- package/lib/components/action-sheet/header/index.js.map +0 -1
- package/lib/components/action-sheet/index.js +0 -71
- package/lib/components/action-sheet/index.js.map +0 -1
- package/lib/components/activity-indicator/index.js +0 -35
- package/lib/components/activity-indicator/index.js.map +0 -1
- package/lib/components/avatar/index.js +0 -64
- package/lib/components/avatar/index.js.map +0 -1
- package/lib/components/badge/index.js +0 -42
- package/lib/components/badge/index.js.map +0 -1
- package/lib/components/button/index.js +0 -125
- package/lib/components/button/index.js.map +0 -1
- package/lib/components/calendar/body/index.js +0 -193
- package/lib/components/calendar/body/index.js.map +0 -1
- package/lib/components/calendar/common/constant.js +0 -4
- package/lib/components/calendar/common/constant.js.map +0 -1
- package/lib/components/calendar/common/helper.js +0 -83
- package/lib/components/calendar/common/helper.js.map +0 -1
- package/lib/components/calendar/common/plugins.js +0 -71
- package/lib/components/calendar/common/plugins.js.map +0 -1
- package/lib/components/calendar/controller/index.js +0 -30
- package/lib/components/calendar/controller/index.js.map +0 -1
- package/lib/components/calendar/index.js +0 -207
- package/lib/components/calendar/index.js.map +0 -1
- package/lib/components/calendar/ui/date-list/index.js +0 -43
- package/lib/components/calendar/ui/date-list/index.js.map +0 -1
- package/lib/components/calendar/ui/day-list/index.js +0 -16
- package/lib/components/calendar/ui/day-list/index.js.map +0 -1
- package/lib/components/card/index.js +0 -59
- package/lib/components/card/index.js.map +0 -1
- package/lib/components/checkbox/index.js +0 -55
- package/lib/components/checkbox/index.js.map +0 -1
- package/lib/components/countdown/index.js +0 -137
- package/lib/components/countdown/index.js.map +0 -1
- package/lib/components/countdown/item/index.js +0 -24
- package/lib/components/countdown/item/index.js.map +0 -1
- package/lib/components/curtain/index.js +0 -45
- package/lib/components/curtain/index.js.map +0 -1
- package/lib/components/divider/index.js +0 -40
- package/lib/components/divider/index.js.map +0 -1
- package/lib/components/drawer/index.js +0 -93
- package/lib/components/drawer/index.js.map +0 -1
- package/lib/components/fab/index.js +0 -26
- package/lib/components/fab/index.js.map +0 -1
- package/lib/components/flex/index.js +0 -38
- package/lib/components/flex/index.js.map +0 -1
- package/lib/components/flex/item/index.js +0 -31
- package/lib/components/flex/item/index.js.map +0 -1
- package/lib/components/float-layout/index.js +0 -76
- package/lib/components/float-layout/index.js.map +0 -1
- package/lib/components/form/index.js +0 -30
- package/lib/components/form/index.js.map +0 -1
- package/lib/components/grid/index.js +0 -71
- package/lib/components/grid/index.js.map +0 -1
- package/lib/components/icon/index.js +0 -37
- package/lib/components/icon/index.js.map +0 -1
- package/lib/components/image-picker/index.js +0 -138
- package/lib/components/image-picker/index.js.map +0 -1
- package/lib/components/indexes/index.js +0 -215
- package/lib/components/indexes/index.js.map +0 -1
- package/lib/components/input/index.js +0 -168
- package/lib/components/input/index.js.map +0 -1
- package/lib/components/input-number/index.js +0 -165
- package/lib/components/input-number/index.js.map +0 -1
- package/lib/components/list/index.js +0 -19
- package/lib/components/list/index.js.map +0 -1
- package/lib/components/list/item/index.js +0 -105
- package/lib/components/list/item/index.js.map +0 -1
- package/lib/components/load-more/index.js +0 -48
- package/lib/components/load-more/index.js.map +0 -1
- package/lib/components/loading/index.js +0 -32
- package/lib/components/loading/index.js.map +0 -1
- package/lib/components/message/index.js +0 -69
- package/lib/components/message/index.js.map +0 -1
- package/lib/components/modal/action/index.js +0 -20
- package/lib/components/modal/action/index.js.map +0 -1
- package/lib/components/modal/content/index.js +0 -10
- package/lib/components/modal/content/index.js.map +0 -1
- package/lib/components/modal/header/index.js +0 -10
- package/lib/components/modal/header/index.js.map +0 -1
- package/lib/components/modal/index.js +0 -97
- package/lib/components/modal/index.js.map +0 -1
- package/lib/components/nav-bar/index.js +0 -105
- package/lib/components/nav-bar/index.js.map +0 -1
- package/lib/components/noticebar/index.js +0 -163
- package/lib/components/noticebar/index.js.map +0 -1
- package/lib/components/pagination/index.js +0 -115
- package/lib/components/pagination/index.js.map +0 -1
- package/lib/components/progress/index.js +0 -45
- package/lib/components/progress/index.js.map +0 -1
- package/lib/components/radio/index.js +0 -43
- package/lib/components/radio/index.js.map +0 -1
- package/lib/components/range/index.js +0 -152
- package/lib/components/range/index.js.map +0 -1
- package/lib/components/rate/index.js +0 -56
- package/lib/components/rate/index.js.map +0 -1
- package/lib/components/search-bar/index.js +0 -121
- package/lib/components/search-bar/index.js.map +0 -1
- package/lib/components/segmented-control/index.js +0 -59
- package/lib/components/segmented-control/index.js.map +0 -1
- package/lib/components/slider/index.js +0 -77
- package/lib/components/slider/index.js.map +0 -1
- package/lib/components/steps/index.js +0 -50
- package/lib/components/steps/index.js.map +0 -1
- package/lib/components/swipe-action/index.js +0 -171
- package/lib/components/swipe-action/index.js.map +0 -1
- package/lib/components/swipe-action/options/index.js +0 -10
- package/lib/components/swipe-action/options/index.js.map +0 -1
- package/lib/components/switch/index.js +0 -48
- package/lib/components/switch/index.js.map +0 -1
- package/lib/components/tab-bar/index.js +0 -96
- package/lib/components/tab-bar/index.js.map +0 -1
- package/lib/components/tabs/index.js +0 -190
- package/lib/components/tabs/index.js.map +0 -1
- package/lib/components/tabs-pane/index.js +0 -30
- package/lib/components/tabs-pane/index.js.map +0 -1
- package/lib/components/tag/index.js +0 -55
- package/lib/components/tag/index.js.map +0 -1
- package/lib/components/textarea/index.js +0 -95
- package/lib/components/textarea/index.js.map +0 -1
- package/lib/components/timeline/index.js +0 -53
- package/lib/components/timeline/index.js.map +0 -1
- package/lib/components/toast/img.json +0 -5
- package/lib/components/toast/index.js +0 -117
- package/lib/components/toast/index.js.map +0 -1
- package/lib/index.js.map +0 -1
- package/types/accordion.d.ts +0 -49
- package/types/action-sheet.d.ts +0 -55
- package/types/activity-indicator.d.ts +0 -33
- package/types/avatar.d.ts +0 -39
- package/types/badge.d.ts +0 -24
- package/types/base.d.ts +0 -26
- package/types/button.d.ts +0 -70
- package/types/calendar.d.ts +0 -225
- package/types/card.d.ts +0 -48
- package/types/checkbox.d.ts +0 -24
- package/types/countdown.d.ts +0 -95
- package/types/curtain.d.ts +0 -26
- package/types/divider.d.ts +0 -33
- package/types/drawer.d.ts +0 -48
- package/types/fab.d.ts +0 -21
- package/types/flex.d.ts +0 -27
- package/types/float-button.d.ts +0 -26
- package/types/float-layout.d.ts +0 -73
- package/types/form.d.ts +0 -26
- package/types/grid.d.ts +0 -51
- package/types/icon.d.ts +0 -12
- package/types/image-picker.d.ts +0 -73
- package/types/index.d.ts +0 -55
- package/types/indexes.d.ts +0 -76
- package/types/input-number.d.ts +0 -89
- package/types/input.d.ts +0 -162
- package/types/list.d.ts +0 -84
- package/types/load-more.d.ts +0 -43
- package/types/message.d.ts +0 -43
- package/types/modal.d.ts +0 -62
- package/types/nav-bar.d.ts +0 -65
- package/types/noticebar.d.ts +0 -65
- package/types/pagination.d.ts +0 -51
- package/types/progress.d.ts +0 -30
- package/types/radio.d.ts +0 -47
- package/types/range.d.ts +0 -63
- package/types/rate.d.ts +0 -34
- package/types/search-bar.d.ts +0 -105
- package/types/segmented-control.d.ts +0 -44
- package/types/slider.d.ts +0 -73
- package/types/steps.d.ts +0 -69
- package/types/swipe-action.d.ts +0 -86
- package/types/switch.d.ts +0 -38
- package/types/tab-bar.d.ts +0 -98
- package/types/tabs-pane.d.ts +0 -25
- package/types/tabs.d.ts +0 -62
- package/types/tag.d.ts +0 -48
- package/types/textarea.d.ts +0 -113
- package/types/timeline.d.ts +0 -46
- package/types/toast.d.ts +0 -53
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
// @keyframes progress-active {
|
|
6
|
-
// from {
|
|
7
|
-
// opacity: 0.5;
|
|
8
|
-
// // transform: translate(-100%);
|
|
9
|
-
// }
|
|
10
|
-
|
|
11
|
-
// to {
|
|
12
|
-
// opacity: 0.1;
|
|
13
|
-
// // transform: translate(0);
|
|
14
|
-
// }
|
|
15
|
-
// }
|
|
16
|
-
|
|
17
|
-
.at-progress {
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
flex-direction: row;
|
|
21
|
-
width: 100%;
|
|
22
|
-
|
|
23
|
-
/* elements */
|
|
24
|
-
&__outer {
|
|
25
|
-
// flex: 1 1 100%;
|
|
26
|
-
margin-right: 0;
|
|
27
|
-
padding-right: 0;
|
|
28
|
-
flex: 1;
|
|
29
|
-
|
|
30
|
-
&-inner {
|
|
31
|
-
width: 100%;
|
|
32
|
-
background-color: $at-progress-inner-bg-color;
|
|
33
|
-
border-radius: math.div($at-progress-height, 2);
|
|
34
|
-
// vertical-align: middle;
|
|
35
|
-
|
|
36
|
-
&-background {
|
|
37
|
-
position: relative;
|
|
38
|
-
height: $at-progress-height;
|
|
39
|
-
border-radius: math.div($at-progress-height, 2);
|
|
40
|
-
background-color: $at-progress-bar-bg-color;
|
|
41
|
-
// transition: all 0.3s $ease-in-out-quad;
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&__content {
|
|
48
|
-
// flex: 1 1 70px;
|
|
49
|
-
margin-left: 10px;
|
|
50
|
-
font-size: $at-progress-text-size;
|
|
51
|
-
text-align: center;
|
|
52
|
-
|
|
53
|
-
// .at-icon {
|
|
54
|
-
// font-size: $at-progress-icon-size;
|
|
55
|
-
// }
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&__at-icon {
|
|
59
|
-
font-size: $at-progress-icon-size;
|
|
60
|
-
|
|
61
|
-
&--error {
|
|
62
|
-
color: $color-error;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&--success {
|
|
66
|
-
color: $color-success;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/* modifiers */
|
|
71
|
-
// &--progress {
|
|
72
|
-
// .at-progress__outer-inner-background::before {
|
|
73
|
-
// content: "";
|
|
74
|
-
// opacity: 0;
|
|
75
|
-
// position: absolute;
|
|
76
|
-
// top: 0;
|
|
77
|
-
// left: 0;
|
|
78
|
-
// right: 0;
|
|
79
|
-
// bottom: 0;
|
|
80
|
-
// background: $at-progress-bar-bg-color-active;
|
|
81
|
-
// border-radius: $at-progress-height / 2;
|
|
82
|
-
// // animation: progress-active 2s $ease-out-quad infinite;
|
|
83
|
-
// }
|
|
84
|
-
// }
|
|
85
|
-
|
|
86
|
-
// &--error {
|
|
87
|
-
// .at-progress__outer-inner-background {
|
|
88
|
-
// background: $color-error;
|
|
89
|
-
// }
|
|
90
|
-
|
|
91
|
-
// .at-icon {
|
|
92
|
-
// color: $color-error;
|
|
93
|
-
// }
|
|
94
|
-
// }
|
|
95
|
-
|
|
96
|
-
// &--success {
|
|
97
|
-
// .at-progress__outer-inner-background {
|
|
98
|
-
// background: $color-success;
|
|
99
|
-
// }
|
|
100
|
-
|
|
101
|
-
// .at-icon {
|
|
102
|
-
// color: $color-success;
|
|
103
|
-
// }
|
|
104
|
-
// }
|
|
105
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-radio {
|
|
5
|
-
position: relative;
|
|
6
|
-
background-color: $color-bg;
|
|
7
|
-
@include hairline-top-relative(#d6e4ef);
|
|
8
|
-
@include hairline-bottom-relative(#d6e4ef);
|
|
9
|
-
|
|
10
|
-
/* elements */
|
|
11
|
-
&__option-wrap {
|
|
12
|
-
padding: $spacing-v-lg $spacing-h-xl $spacing-v-lg 0;
|
|
13
|
-
@include border-thin-bottom(#d6e4ef);
|
|
14
|
-
|
|
15
|
-
&--without-border {
|
|
16
|
-
border-bottom-width: 0;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&__option-container {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: row;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__title {
|
|
26
|
-
flex: 6;
|
|
27
|
-
color: $at-radio-title-color;
|
|
28
|
-
font-size: $at-radio-title-size;
|
|
29
|
-
text-align: left;
|
|
30
|
-
line-height: $line-height-zh * $at-radio-title-size;
|
|
31
|
-
// word-break: break-all;
|
|
32
|
-
|
|
33
|
-
&--disabled {
|
|
34
|
-
opacity: $opacity-disabled;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&__icon {
|
|
39
|
-
flex: 1;
|
|
40
|
-
font-size: $at-radio-title-size;
|
|
41
|
-
text-align: right;
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
// visibility: hidden;
|
|
44
|
-
|
|
45
|
-
&--checked {
|
|
46
|
-
// visibility: visible;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&__desc {
|
|
51
|
-
// display: block;
|
|
52
|
-
width: 86%;
|
|
53
|
-
color: $at-radio-desc-color;
|
|
54
|
-
font-size: $at-radio-desc-size;
|
|
55
|
-
text-align: left;
|
|
56
|
-
line-height: $line-height-zh * $at-radio-desc-size;
|
|
57
|
-
letter-spacing: 0;
|
|
58
|
-
// word-break: break-all;
|
|
59
|
-
|
|
60
|
-
&--disabled {
|
|
61
|
-
opacity: $opacity-disabled;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&__option {
|
|
66
|
-
padding-left: $spacing-h-xl;
|
|
67
|
-
@include active;
|
|
68
|
-
|
|
69
|
-
&--disabled {
|
|
70
|
-
// .at-radio__option-container,
|
|
71
|
-
// .at-radio__desc {
|
|
72
|
-
// opacity: $opacity-disabled;
|
|
73
|
-
// }
|
|
74
|
-
|
|
75
|
-
// &:active {
|
|
76
|
-
// background-color: inherit;
|
|
77
|
-
// }
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// &__option + &__option {
|
|
82
|
-
// .at-radio__option-wrap {
|
|
83
|
-
// @include hairline-top();
|
|
84
|
-
// }
|
|
85
|
-
// }
|
|
86
|
-
|
|
87
|
-
&__at-icon {
|
|
88
|
-
color: $at-radio-check-color;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// .at-icon {
|
|
93
|
-
// color: $at-radio-check-color;
|
|
94
|
-
// }
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
.at-range {
|
|
6
|
-
position: relative;
|
|
7
|
-
padding: 0 math.div($at-range-slider-size, 2) + 4PX;
|
|
8
|
-
width: 100%;
|
|
9
|
-
// box-sizing: border-box;
|
|
10
|
-
|
|
11
|
-
/* elements */
|
|
12
|
-
&__container {
|
|
13
|
-
position: relative;
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
align-items: center;
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: $at-range-slider-size;
|
|
19
|
-
// box-sizing: border-box;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&__rail {
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: $at-range-rail-height;
|
|
25
|
-
background-color: $at-range-rail-bg-color;
|
|
26
|
-
// box-sizing: border-box;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__track {
|
|
31
|
-
position: absolute;
|
|
32
|
-
height: $at-range-rail-height;
|
|
33
|
-
background-color: $at-range-track-bg-color;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&__slider {
|
|
37
|
-
position: absolute;
|
|
38
|
-
margin-left: math.div($at-range-slider-size, 2) * -1;
|
|
39
|
-
width: $at-range-slider-size;
|
|
40
|
-
height: $at-range-slider-size;
|
|
41
|
-
border-radius: math.div($at-range-slider-size, 2);
|
|
42
|
-
background-color: $at-range-slider-color;
|
|
43
|
-
//box-shadow: $at-range-slider-shadow;
|
|
44
|
-
// TODO: box-shadow 替代
|
|
45
|
-
// box-sizing: border-box;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* modifiers */
|
|
49
|
-
&--disabled {
|
|
50
|
-
opacity: $opacity-disabled;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-rate {
|
|
5
|
-
font-size: 0;
|
|
6
|
-
line-height: 0;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
|
|
9
|
-
/* elements */
|
|
10
|
-
&__left {
|
|
11
|
-
// display: inline-block;
|
|
12
|
-
position: absolute;
|
|
13
|
-
left: 0;
|
|
14
|
-
top: 0;
|
|
15
|
-
width: 50%;
|
|
16
|
-
height: 100%;
|
|
17
|
-
color: transparent;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
z-index: 10;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&__icon {
|
|
23
|
-
position: relative;
|
|
24
|
-
// display: inline-block;
|
|
25
|
-
color: $at-rate-star-color;
|
|
26
|
-
font-size: 0;
|
|
27
|
-
line-height: 0;
|
|
28
|
-
// transition:: all 0.2s;
|
|
29
|
-
|
|
30
|
-
// .at-icon {
|
|
31
|
-
// font-size: $at-rate-icon-size;
|
|
32
|
-
// }
|
|
33
|
-
|
|
34
|
-
&--on {
|
|
35
|
-
color: $at-rate-star-color-on;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&--off {
|
|
39
|
-
color: $at-rate-star-color;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&--half {
|
|
43
|
-
// .at-rate__left {
|
|
44
|
-
// color: $at-rate-star-color-on;
|
|
45
|
-
// }
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
$at-search-bar-font-size: 28px;
|
|
6
|
-
$at-search-bar-input-height: 60px;
|
|
7
|
-
$at-search-bar-input-padding: 50px;
|
|
8
|
-
$at-search-bar-btn-padding: 20px;
|
|
9
|
-
$at-search-bar-placeholder-padding: 24px;
|
|
10
|
-
$at-search-bar-input-bg-color: $color-bg-grey;
|
|
11
|
-
$at-search-bar-input-color: $color-black-0;
|
|
12
|
-
$at-search-bar-placholder-color: $color-grey-2;
|
|
13
|
-
|
|
14
|
-
.at-search-bar {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: row;
|
|
17
|
-
align-items: center;
|
|
18
|
-
padding: $spacing-v-sm $spacing-v-md;
|
|
19
|
-
background-color: $color-bg;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
// box-sizing: border-box;
|
|
22
|
-
@include hairline-bottom();
|
|
23
|
-
|
|
24
|
-
/* elements */
|
|
25
|
-
&__input-cnt {
|
|
26
|
-
position: relative;
|
|
27
|
-
flex: 1;
|
|
28
|
-
width: 100%;
|
|
29
|
-
height: $at-search-bar-input-height;
|
|
30
|
-
background-color: $at-search-bar-input-bg-color;
|
|
31
|
-
border-radius: math.div($at-search-bar-input-height, 2);
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: row;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&__placeholder-wrap {
|
|
38
|
-
// position: absolute;
|
|
39
|
-
// top: 0;
|
|
40
|
-
// left: 0;
|
|
41
|
-
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: row;
|
|
44
|
-
align-self: center;
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
padding: 0 $at-search-bar-placeholder-padding;
|
|
48
|
-
// width: 100%;
|
|
49
|
-
height: $at-search-bar-input-height;
|
|
50
|
-
line-height: 0;
|
|
51
|
-
// vertical-align: middle;
|
|
52
|
-
opacity: 1;
|
|
53
|
-
// transition: flex 0.3s;
|
|
54
|
-
// background: #0084ff;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&__placeholder {
|
|
58
|
-
margin-left: $at-search-bar-placeholder-padding;
|
|
59
|
-
color: $at-search-bar-placholder-color;
|
|
60
|
-
font-size: $at-search-bar-font-size;
|
|
61
|
-
flex-shrink: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&__input {
|
|
65
|
-
position: absolute;
|
|
66
|
-
top: 0;
|
|
67
|
-
left: 0;
|
|
68
|
-
width: 100%;
|
|
69
|
-
height: $at-search-bar-input-height;
|
|
70
|
-
padding: 0 $at-search-bar-input-padding + $at-search-bar-placeholder-padding;
|
|
71
|
-
color: $at-search-bar-input-color;
|
|
72
|
-
font-size: $at-search-bar-font-size;
|
|
73
|
-
text-align: left;
|
|
74
|
-
background-color: transparent;
|
|
75
|
-
// transition: width 0.3s;
|
|
76
|
-
// box-sizing: border-box;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&__clear {
|
|
80
|
-
position: absolute;
|
|
81
|
-
display: flex;
|
|
82
|
-
align-items: center;
|
|
83
|
-
justify-content: center;
|
|
84
|
-
top: 0;
|
|
85
|
-
right: $at-search-bar-placeholder-padding;
|
|
86
|
-
height: $at-search-bar-input-height;
|
|
87
|
-
width: $at-search-bar-input-padding;
|
|
88
|
-
color: $at-search-bar-placholder-color;
|
|
89
|
-
font-size: $at-search-bar-font-size;
|
|
90
|
-
line-height: 0;
|
|
91
|
-
// vertical-align: middle;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&__action {
|
|
95
|
-
flex: none;
|
|
96
|
-
display: flex;
|
|
97
|
-
flex-direction: row;
|
|
98
|
-
justify-content: center;
|
|
99
|
-
align-items: center;
|
|
100
|
-
margin-left: 10PX;
|
|
101
|
-
padding: 0 $at-search-bar-btn-padding;
|
|
102
|
-
height: $at-search-bar-input-height;
|
|
103
|
-
border-radius: 4px;
|
|
104
|
-
background-color: $at-search-bar-btn-bg-color;
|
|
105
|
-
// transition: margin-right 0.3s, opacity 0.3s;
|
|
106
|
-
opacity: 0;
|
|
107
|
-
&__text {
|
|
108
|
-
color: $at-search-bar-btn-color;
|
|
109
|
-
font-size: $at-search-bar-font-size;
|
|
110
|
-
line-height: $at-search-bar-input-height;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/* modifiers */
|
|
115
|
-
&--fixed {
|
|
116
|
-
position: fixed;
|
|
117
|
-
top: 0;
|
|
118
|
-
left: 0;
|
|
119
|
-
right: 0;
|
|
120
|
-
z-index: $zindex-search-bar;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&__at-icon {
|
|
124
|
-
color: $at-search-bar-placholder-color;
|
|
125
|
-
font-size: $at-search-bar-font-size;
|
|
126
|
-
flex-shrink: 0;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// .at-icon {
|
|
131
|
-
// color: $at-search-bar-placholder-color;
|
|
132
|
-
// font-size: $at-search-bar-font-size;
|
|
133
|
-
// flex-shrink: 0;
|
|
134
|
-
// }
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
$at-segmented-control-min-width: 120px;
|
|
5
|
-
|
|
6
|
-
.at-segmented-control {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
position: relative;
|
|
10
|
-
width: 100%;
|
|
11
|
-
border-radius: $border-radius-md;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
@include border-thin($color: $at-segmented-control-color, $width: 1PX);
|
|
14
|
-
|
|
15
|
-
/* elements */
|
|
16
|
-
&__item {
|
|
17
|
-
flex: 1;
|
|
18
|
-
padding: $spacing-v-xs $spacing-h-sm;
|
|
19
|
-
min-width: $at-segmented-control-min-width;
|
|
20
|
-
color: $at-segmented-control-color;
|
|
21
|
-
font-size: $at-segmented-control-font-size;
|
|
22
|
-
background-color: $at-segmented-control-bg-color;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
text-align: center;
|
|
25
|
-
|
|
26
|
-
&--active {
|
|
27
|
-
color: $at-segmented-control-color-active;
|
|
28
|
-
background-color: $at-segmented-control-color;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&--plus {
|
|
32
|
-
@include border-thin-left($color: $at-segmented-control-color, $width: 1PX);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// &__item + &__item {
|
|
37
|
-
// @include border-thin-left($color: $at-segmented-control-color, $width: 1PX);
|
|
38
|
-
// }
|
|
39
|
-
|
|
40
|
-
/* modifiers */
|
|
41
|
-
&--disabled {
|
|
42
|
-
opacity: $opacity-disabled;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-slider {
|
|
5
|
-
display: flex;
|
|
6
|
-
// align-items: center;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
|
|
9
|
-
/* elements */
|
|
10
|
-
&__inner {
|
|
11
|
-
flex: 1;
|
|
12
|
-
|
|
13
|
-
&--disabled {
|
|
14
|
-
opacity: $opacity-disabled;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__text {
|
|
20
|
-
width: 80px;
|
|
21
|
-
color: $at-slider-text-color;
|
|
22
|
-
font-size: $at-slider-text-size;
|
|
23
|
-
text-align: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* modifiers */
|
|
28
|
-
// &--disabled {
|
|
29
|
-
// .at-slider__inner {
|
|
30
|
-
// opacity: $opacity-disabled;
|
|
31
|
-
// }
|
|
32
|
-
// }
|
|
33
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
.at-steps {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
width: 100%;
|
|
9
|
-
align-items: flex-start;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
|
|
12
|
-
/* elements */
|
|
13
|
-
&__circular {
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
width: $at-steps-circle-size;
|
|
18
|
-
height: $at-steps-circle-size;
|
|
19
|
-
text-align: center;
|
|
20
|
-
border-radius: math.div($at-steps-circle-size, 2);
|
|
21
|
-
color: $at-steps-color-active;
|
|
22
|
-
background-color: $at-steps-bg-color;
|
|
23
|
-
|
|
24
|
-
&--active {
|
|
25
|
-
color: $at-steps-color;
|
|
26
|
-
background-color: $at-steps-bg-color-active;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__item {
|
|
31
|
-
position: relative;
|
|
32
|
-
// width: 100px;
|
|
33
|
-
// flex: 1;
|
|
34
|
-
width: 33%;
|
|
35
|
-
text-align: center;
|
|
36
|
-
|
|
37
|
-
&--text {
|
|
38
|
-
&__active {
|
|
39
|
-
color: $at-steps-color;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__inactive {
|
|
43
|
-
color: $at-steps-color-active;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// &--active {
|
|
48
|
-
// .at-steps__circular {
|
|
49
|
-
// color: $at-steps-color;
|
|
50
|
-
// background-color: $at-steps-bg-color-active;
|
|
51
|
-
// }
|
|
52
|
-
// }
|
|
53
|
-
|
|
54
|
-
// &--inactive {
|
|
55
|
-
// .at-steps__circular {
|
|
56
|
-
// color: $at-steps-color-active;
|
|
57
|
-
// background-color: $at-steps-bg-color;
|
|
58
|
-
// }
|
|
59
|
-
// }
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&__circular-wrap {
|
|
63
|
-
position: relative;
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: row;
|
|
66
|
-
align-items: center;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
font-size: 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&__single-icon {
|
|
72
|
-
font-size: $at-steps-circle-size;
|
|
73
|
-
|
|
74
|
-
&--success {
|
|
75
|
-
color: $color-success;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&--error {
|
|
79
|
-
color: $color-error;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&__circle-icon {
|
|
84
|
-
color: $at-steps-color-active;
|
|
85
|
-
font-size: $at-steps-icon-size;
|
|
86
|
-
|
|
87
|
-
&--active {
|
|
88
|
-
color: $at-steps-color;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&--inactive {
|
|
92
|
-
color: $at-steps-color-active;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&__left-line {
|
|
97
|
-
position: absolute;
|
|
98
|
-
width: 30%;
|
|
99
|
-
top: 50%;
|
|
100
|
-
right: 70%;
|
|
101
|
-
height: 1Px;
|
|
102
|
-
background-color: $at-steps-line-color;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&__right-line {
|
|
106
|
-
position: absolute;
|
|
107
|
-
width: 30%;
|
|
108
|
-
top: 50%;
|
|
109
|
-
left: 70%;
|
|
110
|
-
height: 1Px;
|
|
111
|
-
background-color: $at-steps-line-color;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&__num {
|
|
115
|
-
font-size: $font-size-sm;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&__title {
|
|
119
|
-
padding: $spacing-v-sm 0;
|
|
120
|
-
color: $at-steps-title-color;
|
|
121
|
-
font-size: $at-steps-title-size;
|
|
122
|
-
text-align: center;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&__desc {
|
|
126
|
-
color: $at-steps-desc-color;
|
|
127
|
-
font-size: $at-steps-desc-size;
|
|
128
|
-
text-align: center;
|
|
129
|
-
line-height: 1.6 * $at-steps-desc-size;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-swipe-action {
|
|
5
|
-
position: relative;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
width: 100%;
|
|
8
|
-
|
|
9
|
-
&__area {
|
|
10
|
-
height: auto;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* elements */
|
|
14
|
-
&__content {
|
|
15
|
-
position: relative;
|
|
16
|
-
font-size: $font-size-lg;
|
|
17
|
-
background-color: $at-swipe-action-bg-color;
|
|
18
|
-
display: flex;
|
|
19
|
-
height: 100%;
|
|
20
|
-
z-index: 2;
|
|
21
|
-
|
|
22
|
-
&.animtion {
|
|
23
|
-
// transition:: transform 300ms $timing-func;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&__option {
|
|
28
|
-
@include active;
|
|
29
|
-
@include align-items(center);
|
|
30
|
-
|
|
31
|
-
// display: inline-flex;
|
|
32
|
-
padding: 0 $spacing-h-xl;
|
|
33
|
-
height: 100%;
|
|
34
|
-
color: $at-swipe-action-color;
|
|
35
|
-
font-size: $at-swipe-action-font-size;
|
|
36
|
-
width: 120px;
|
|
37
|
-
|
|
38
|
-
text-align: center;
|
|
39
|
-
background-color: $at-swipe-action-option-bg-color;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__options {
|
|
43
|
-
@include align-items(center);
|
|
44
|
-
|
|
45
|
-
// display: inline-flex;
|
|
46
|
-
position: absolute;
|
|
47
|
-
top: 0;
|
|
48
|
-
right: 0;
|
|
49
|
-
height: 100%;
|
|
50
|
-
z-index: 1;
|
|
51
|
-
opacity: 0;
|
|
52
|
-
}
|
|
53
|
-
}
|