taro-ui 3.3.0 → 3.3.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/LICENSE +21 -0
- package/lib/common/component.d.ts +10 -0
- package/lib/common/component.js +27 -28
- package/lib/common/component.js.map +1 -1
- package/lib/common/utils.d.ts +41 -0
- package/lib/common/utils.js +169 -192
- package/lib/common/utils.js.map +1 -1
- package/lib/components/accordion/index.d.ts +14 -0
- package/lib/components/accordion/index.js +111 -106
- package/lib/components/accordion/index.js.map +1 -1
- package/lib/components/action-sheet/body/index.d.ts +5 -0
- package/lib/components/action-sheet/body/index.js +11 -8
- package/lib/components/action-sheet/body/index.js.map +1 -1
- package/lib/components/action-sheet/body/item/index.d.ts +9 -0
- package/lib/components/action-sheet/body/item/index.js +21 -18
- package/lib/components/action-sheet/body/item/index.js.map +1 -1
- package/lib/components/action-sheet/footer/index.d.ts +9 -0
- package/lib/components/action-sheet/footer/index.js +24 -18
- package/lib/components/action-sheet/footer/index.js.map +1 -1
- package/lib/components/action-sheet/header/index.d.ts +5 -0
- package/lib/components/action-sheet/header/index.js +14 -8
- package/lib/components/action-sheet/header/index.js.map +1 -1
- package/lib/components/action-sheet/index.d.ts +14 -0
- package/lib/components/action-sheet/index.js +69 -64
- package/lib/components/action-sheet/index.js.map +1 -1
- package/lib/components/activity-indicator/index.d.ts +8 -0
- package/lib/components/activity-indicator/index.js +33 -29
- package/lib/components/activity-indicator/index.js.map +1 -1
- package/lib/components/avatar/index.d.ts +9 -0
- package/lib/components/avatar/index.js +58 -50
- package/lib/components/avatar/index.js.map +1 -1
- package/lib/components/badge/index.d.ts +10 -0
- package/lib/components/badge/index.js +44 -35
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/button/index.d.ts +15 -0
- package/lib/components/button/index.js +165 -113
- package/lib/components/button/index.js.map +1 -1
- package/lib/components/calendar/body/index.d.ts +26 -0
- package/lib/components/calendar/body/index.js +279 -183
- package/lib/components/calendar/body/index.js.map +1 -1
- package/lib/components/calendar/common/constant.d.ts +3 -0
- package/lib/components/calendar/common/constant.js +8 -3
- package/lib/components/calendar/common/constant.js.map +1 -1
- package/lib/components/calendar/common/helper.d.ts +4 -0
- package/lib/components/calendar/common/helper.js +77 -76
- package/lib/components/calendar/common/helper.js.map +1 -1
- package/lib/components/calendar/common/plugins.d.ts +11 -0
- package/lib/components/calendar/common/plugins.js +50 -66
- package/lib/components/calendar/common/plugins.js.map +1 -1
- package/lib/components/calendar/controller/index.d.ts +5 -0
- package/lib/components/calendar/controller/index.js +49 -28
- package/lib/components/calendar/controller/index.js.map +1 -1
- package/lib/components/calendar/index.d.ts +20 -0
- package/lib/components/calendar/index.js +233 -196
- package/lib/components/calendar/index.js.map +1 -1
- package/lib/components/calendar/ui/date-list/index.d.ts +12 -0
- package/lib/components/calendar/ui/date-list/index.js +50 -39
- package/lib/components/calendar/ui/date-list/index.js.map +1 -1
- package/lib/components/calendar/ui/day-list/index.d.ts +4 -0
- package/lib/components/calendar/ui/day-list/index.js +9 -14
- package/lib/components/calendar/ui/day-list/index.js.map +1 -1
- package/lib/components/card/index.d.ts +9 -0
- package/lib/components/card/index.js +73 -52
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +9 -0
- package/lib/components/checkbox/index.js +52 -48
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/countdown/index.d.ts +20 -0
- package/lib/components/countdown/index.js +140 -125
- package/lib/components/countdown/index.js.map +1 -1
- package/lib/components/countdown/item/index.d.ts +9 -0
- package/lib/components/countdown/item/index.js +18 -18
- package/lib/components/countdown/item/index.js.map +1 -1
- package/lib/components/curtain/index.d.ts +10 -0
- package/lib/components/curtain/index.js +56 -39
- package/lib/components/curtain/index.js.map +1 -1
- package/lib/components/divider/index.d.ts +8 -0
- package/lib/components/divider/index.js +51 -34
- package/lib/components/divider/index.js.map +1 -1
- package/lib/components/drawer/index.d.ts +16 -0
- package/lib/components/drawer/index.js +106 -85
- package/lib/components/drawer/index.js.map +1 -1
- package/lib/components/fab/index.d.ts +9 -0
- package/lib/components/fab/index.js +22 -19
- package/lib/components/fab/index.js.map +1 -1
- package/lib/components/flex/index.d.ts +7 -0
- package/lib/components/flex/index.js +37 -34
- package/lib/components/flex/index.js.map +1 -1
- package/lib/components/flex/item/index.d.ts +7 -0
- package/lib/components/flex/item/index.js +30 -27
- package/lib/components/flex/item/index.js.map +1 -1
- package/lib/components/float-layout/index.d.ts +13 -0
- package/lib/components/float-layout/index.js +96 -68
- package/lib/components/float-layout/index.js.map +1 -1
- package/lib/components/form/index.d.ts +10 -0
- package/lib/components/form/index.js +37 -24
- package/lib/components/form/index.js.map +1 -1
- package/lib/components/grid/index.d.ts +9 -0
- package/lib/components/grid/index.js +92 -62
- package/lib/components/grid/index.js.map +1 -1
- package/lib/components/icon/index.d.ts +9 -0
- package/lib/components/icon/index.js +48 -31
- package/lib/components/icon/index.js.map +1 -1
- package/lib/components/image-picker/index.d.ts +11 -0
- package/lib/components/image-picker/index.js +152 -126
- package/lib/components/image-picker/index.js.map +1 -1
- package/lib/components/indexes/index.d.ts +29 -0
- package/lib/components/indexes/index.js +255 -198
- package/lib/components/indexes/index.js.map +1 -1
- package/lib/components/input/index.d.ts +17 -0
- package/lib/components/input/index.js +224 -160
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/input-number/index.d.ts +13 -0
- package/lib/components/input-number/index.js +180 -152
- package/lib/components/input-number/index.js.map +1 -1
- package/lib/components/list/index.d.ts +8 -0
- package/lib/components/list/index.js +20 -13
- package/lib/components/list/index.js.map +1 -1
- package/lib/components/list/item/index.d.ts +11 -0
- package/lib/components/list/item/index.js +146 -99
- package/lib/components/list/item/index.js.map +1 -1
- package/lib/components/load-more/index.d.ts +9 -0
- package/lib/components/load-more/index.js +65 -41
- package/lib/components/load-more/index.js.map +1 -1
- package/lib/components/loading/index.d.ts +12 -0
- package/lib/components/loading/index.js +26 -26
- package/lib/components/loading/index.js.map +1 -1
- package/lib/components/message/index.d.ts +15 -0
- package/lib/components/message/index.js +72 -63
- package/lib/components/message/index.js.map +1 -1
- package/lib/components/modal/action/index.d.ts +8 -0
- package/lib/components/modal/action/index.js +20 -14
- package/lib/components/modal/action/index.js.map +1 -1
- package/lib/components/modal/content/index.d.ts +5 -0
- package/lib/components/modal/content/index.js +11 -8
- package/lib/components/modal/content/index.js.map +1 -1
- package/lib/components/modal/header/index.d.ts +5 -0
- package/lib/components/modal/header/index.js +11 -8
- package/lib/components/modal/header/index.js.map +1 -1
- package/lib/components/modal/index.d.ts +15 -0
- package/lib/components/modal/index.js +96 -87
- package/lib/components/modal/index.js.map +1 -1
- package/lib/components/nav-bar/index.d.ts +12 -0
- package/lib/components/nav-bar/index.js +210 -98
- package/lib/components/nav-bar/index.js.map +1 -1
- package/lib/components/noticebar/index.d.ts +16 -0
- package/lib/components/noticebar/index.js +177 -154
- package/lib/components/noticebar/index.js.map +1 -1
- package/lib/components/pagination/index.d.ts +12 -0
- package/lib/components/pagination/index.js +133 -102
- package/lib/components/pagination/index.js.map +1 -1
- package/lib/components/progress/index.d.ts +7 -0
- package/lib/components/progress/index.js +48 -40
- package/lib/components/progress/index.js.map +1 -1
- package/lib/components/radio/index.d.ts +9 -0
- package/lib/components/radio/index.js +48 -37
- package/lib/components/radio/index.js.map +1 -1
- package/lib/components/range/index.d.ts +22 -0
- package/lib/components/range/index.js +197 -142
- package/lib/components/range/index.js.map +1 -1
- package/lib/components/rate/index.d.ts +9 -0
- package/lib/components/rate/index.js +74 -48
- package/lib/components/rate/index.js.map +1 -1
- package/lib/components/search-bar/index.d.ts +16 -0
- package/lib/components/search-bar/index.js +167 -112
- package/lib/components/search-bar/index.js.map +1 -1
- package/lib/components/segmented-control/index.d.ts +9 -0
- package/lib/components/segmented-control/index.js +78 -53
- package/lib/components/segmented-control/index.js.map +1 -1
- package/lib/components/slider/index.d.ts +13 -0
- package/lib/components/slider/index.js +107 -69
- package/lib/components/slider/index.js.map +1 -1
- package/lib/components/steps/index.d.ts +9 -0
- package/lib/components/steps/index.js +61 -44
- package/lib/components/steps/index.js.map +1 -1
- package/lib/components/swipe-action/index.d.ts +27 -0
- package/lib/components/swipe-action/index.js +206 -157
- package/lib/components/swipe-action/index.js.map +1 -1
- package/lib/components/swipe-action/options/index.d.ts +5 -0
- package/lib/components/swipe-action/options/index.js +22 -8
- package/lib/components/swipe-action/options/index.js.map +1 -1
- package/lib/components/switch/index.d.ts +9 -0
- package/lib/components/switch/index.js +53 -42
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/tab-bar/index.d.ts +9 -0
- package/lib/components/tab-bar/index.js +164 -90
- package/lib/components/tab-bar/index.js.map +1 -1
- package/lib/components/tabs/index.d.ts +24 -0
- package/lib/components/tabs/index.js +203 -174
- package/lib/components/tabs/index.js.map +1 -1
- package/lib/components/tabs-pane/index.d.ts +8 -0
- package/lib/components/tabs-pane/index.js +37 -24
- package/lib/components/tabs-pane/index.js.map +1 -1
- package/lib/components/tag/index.d.ts +9 -0
- package/lib/components/tag/index.js +64 -44
- package/lib/components/tag/index.js.map +1 -1
- package/lib/components/textarea/index.d.ts +13 -0
- package/lib/components/textarea/index.js +132 -86
- package/lib/components/textarea/index.js.map +1 -1
- package/lib/components/timeline/index.d.ts +8 -0
- package/lib/components/timeline/index.js +70 -47
- package/lib/components/timeline/index.js.map +1 -1
- package/lib/components/toast/img.json +6 -3
- package/lib/components/toast/index.d.ts +16 -0
- package/lib/components/toast/index.js +111 -104
- package/lib/components/toast/index.js.map +1 -1
- package/lib/index.d.ts +53 -0
- package/lib/index.js +108 -54
- package/lib/index.js.map +1 -1
- package/{dist → lib}/style/components/curtain.scss +3 -3
- package/{dist → lib}/style/components/grid.scss +2 -2
- package/lib/style/components/index.scss +52 -0
- package/{dist → lib}/style/components/list.scss +2 -2
- package/{dist → lib}/style/components/range.scss +2 -2
- package/{dist → lib}/style/components/toast.scss +1 -1
- package/lib/style/index.css +11754 -0
- package/lib/style/index.css.map +1 -0
- package/lib/style/mixins/index.scss +18 -0
- package/{dist → lib}/style/mixins/libs/shade.scss +4 -2
- package/{dist → lib}/style/mixins/libs/tint.scss +4 -2
- package/{dist → lib}/style/variables/default.scss +1 -1
- package/package.json +45 -48
- 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/README.md +0 -85
- package/dist/index.esm.js +0 -8407
- package/dist/index.esm.js.map +0 -1
- package/dist/index.js +0 -8468
- package/dist/index.js.map +0 -1
- 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/index.scss +0 -52
- 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/index.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/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
- /package/{dist → lib}/style/components/accordion.scss +0 -0
- /package/{dist → lib}/style/components/action-sheet.scss +0 -0
- /package/{dist → lib}/style/components/activity-indicator.scss +0 -0
- /package/{dist → lib}/style/components/article.scss +0 -0
- /package/{dist → lib}/style/components/avatar.scss +0 -0
- /package/{dist → lib}/style/components/badge.scss +0 -0
- /package/{dist → lib}/style/components/button.scss +0 -0
- /package/{dist → lib}/style/components/calendar.scss +0 -0
- /package/{dist → lib}/style/components/card.scss +0 -0
- /package/{dist → lib}/style/components/checkbox.scss +0 -0
- /package/{dist → lib}/style/components/countdown.scss +0 -0
- /package/{dist → lib}/style/components/divider.scss +0 -0
- /package/{dist → lib}/style/components/drawer.scss +0 -0
- /package/{dist → lib}/style/components/fab.scss +0 -0
- /package/{dist → lib}/style/components/flex.scss +0 -0
- /package/{dist → lib}/style/components/float-layout.scss +0 -0
- /package/{dist → lib}/style/components/form.scss +0 -0
- /package/{dist → lib}/style/components/icon.scss +0 -0
- /package/{dist → lib}/style/components/image-picker.scss +0 -0
- /package/{dist → lib}/style/components/indexes.scss +0 -0
- /package/{dist → lib}/style/components/input-number.scss +0 -0
- /package/{dist → lib}/style/components/input.scss +0 -0
- /package/{dist → lib}/style/components/load-more.scss +0 -0
- /package/{dist → lib}/style/components/loading.scss +0 -0
- /package/{dist → lib}/style/components/message.scss +0 -0
- /package/{dist → lib}/style/components/modal.scss +0 -0
- /package/{dist → lib}/style/components/nav-bar.scss +0 -0
- /package/{dist → lib}/style/components/noticebar.scss +0 -0
- /package/{dist → lib}/style/components/pagination.scss +0 -0
- /package/{dist → lib}/style/components/progress.scss +0 -0
- /package/{dist → lib}/style/components/radio.scss +0 -0
- /package/{dist → lib}/style/components/rate.scss +0 -0
- /package/{dist → lib}/style/components/search-bar.scss +0 -0
- /package/{dist → lib}/style/components/segmented-control.scss +0 -0
- /package/{dist → lib}/style/components/slider.scss +0 -0
- /package/{dist → lib}/style/components/steps.scss +0 -0
- /package/{dist → lib}/style/components/swipe-action.scss +0 -0
- /package/{dist → lib}/style/components/switch.scss +0 -0
- /package/{dist → lib}/style/components/tab-bar.scss +0 -0
- /package/{dist → lib}/style/components/tabs.scss +0 -0
- /package/{dist → lib}/style/components/tag.scss +0 -0
- /package/{dist → lib}/style/components/textarea.scss +0 -0
- /package/{dist → lib}/style/components/timeline.scss +0 -0
- /package/{dist → lib}/style/index.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/absolute-center.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/active.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/alignhack.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/border.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/clearfix.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/disabled.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/flex.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/hairline.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/line.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/overlay.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/placeholder.scss +0 -0
- /package/{dist → lib}/style/themes/purple.scss +0 -0
- /package/{dist → lib}/style/themes/red.scss +0 -0
|
@@ -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
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
$component: '.at-switch';
|
|
5
|
-
|
|
6
|
-
#{$component} {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
align-items: center;
|
|
11
|
-
background-color: $color-bg;
|
|
12
|
-
margin-left: $spacing-h-xl;
|
|
13
|
-
padding: $spacing-v-lg $spacing-h-xl $spacing-v-lg 0;
|
|
14
|
-
margin-bottom: 1PX;
|
|
15
|
-
|
|
16
|
-
@include hairline-bottom();
|
|
17
|
-
|
|
18
|
-
// /* elements */
|
|
19
|
-
// &__title {
|
|
20
|
-
// flex: 6;
|
|
21
|
-
// color: $at-switch-title-color;
|
|
22
|
-
// font-size: $at-switch-title-size;
|
|
23
|
-
// }
|
|
24
|
-
|
|
25
|
-
&__container {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
flex-direction: row-reverse;
|
|
29
|
-
position: relative;
|
|
30
|
-
background-color: $color-bg;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__switch {
|
|
34
|
-
display: flex;
|
|
35
|
-
|
|
36
|
-
&--disabled {
|
|
37
|
-
opacity: $opacity-disabled;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&__mask {
|
|
42
|
-
position: absolute;
|
|
43
|
-
display: none;
|
|
44
|
-
top: 0;
|
|
45
|
-
left: 0;
|
|
46
|
-
right: 0;
|
|
47
|
-
bottom: 0;
|
|
48
|
-
z-index: $zindex-form;
|
|
49
|
-
&--disabled {
|
|
50
|
-
display: flex;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
&--without-border {
|
|
56
|
-
border-bottom-width: 0;
|
|
57
|
-
// &::after {
|
|
58
|
-
// border: none;
|
|
59
|
-
// }
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
$at-tab-bar-min-height: 50px;
|
|
5
|
-
$at-tab-bar-title-max-width: 200px;
|
|
6
|
-
|
|
7
|
-
.at-tab-bar {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: row;
|
|
10
|
-
padding: $spacing-v-sm 0 $spacing-v-xs;
|
|
11
|
-
width: 100%;
|
|
12
|
-
min-height: $at-tab-bar-min-height;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
align-items: flex-start;
|
|
15
|
-
// box-sizing: border-box;
|
|
16
|
-
background-color: $at-tab-bar-bg-color;
|
|
17
|
-
@include hairline-top($color-border-light, solid, 0.5);
|
|
18
|
-
|
|
19
|
-
/* elements */
|
|
20
|
-
&__item {
|
|
21
|
-
flex: 1;
|
|
22
|
-
padding: $spacing-v-sm $spacing-v-sm;
|
|
23
|
-
color: $at-tab-bar-color;
|
|
24
|
-
font-size: 0;
|
|
25
|
-
align-items: center;
|
|
26
|
-
// transition: all 0.2s;
|
|
27
|
-
|
|
28
|
-
&--active {
|
|
29
|
-
color: $at-tab-bar-color-active;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__icon {
|
|
34
|
-
font-size: $at-tab-bar-icon-font-size;
|
|
35
|
-
// line-height: 1;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&__inner-img {
|
|
39
|
-
width: $at-tab-bar-icon-image-size;
|
|
40
|
-
height: $at-tab-bar-icon-image-size;
|
|
41
|
-
|
|
42
|
-
&--inactive {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&__title {
|
|
48
|
-
display: flex;
|
|
49
|
-
padding: $spacing-v-xs 0;
|
|
50
|
-
max-width: $at-tab-bar-title-max-width;
|
|
51
|
-
font-size: $at-tab-bar-font-size;
|
|
52
|
-
// line-height: $line-height-base;
|
|
53
|
-
// white-space: nowrap;
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
// text-overflow: ellipsis;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/* modifiers */
|
|
59
|
-
&--fixed {
|
|
60
|
-
position: absolute;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
left: 0;
|
|
63
|
-
right: 0;
|
|
64
|
-
// padding-bottom: constant(safe-area-inset-bottom);
|
|
65
|
-
// padding-bottom: env(safe-area-inset-bottom);
|
|
66
|
-
z-index: $zindex-nav;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&--ipx {
|
|
70
|
-
&.at-tab-bar--fixed {
|
|
71
|
-
padding-bottom: 68px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
$component:'.at-tabs';
|
|
5
|
-
$at-tabs-pane-min-height: 100px;
|
|
6
|
-
|
|
7
|
-
#{$component} {
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 100%;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
|
|
12
|
-
/* elements */
|
|
13
|
-
&__item {
|
|
14
|
-
position: relative;
|
|
15
|
-
flex: 1;
|
|
16
|
-
padding: $spacing-v-lg $spacing-h-lg;
|
|
17
|
-
color: $at-tabs-color;
|
|
18
|
-
font-size: $at-tabs-font-size;
|
|
19
|
-
// text-overflow: ellipsis;
|
|
20
|
-
text-align: center;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
|
|
23
|
-
// &-underline {
|
|
24
|
-
// position: absolute;
|
|
25
|
-
// left: 0;
|
|
26
|
-
// bottom: 0;
|
|
27
|
-
// // width: 100%;
|
|
28
|
-
// height: $at-tabs-line-height;
|
|
29
|
-
// // transform: scaleX(0);
|
|
30
|
-
// // transition: all 0.15s;
|
|
31
|
-
// }
|
|
32
|
-
|
|
33
|
-
&--active {
|
|
34
|
-
color: $at-tabs-color-active;
|
|
35
|
-
|
|
36
|
-
// #{$component}__item-underline {
|
|
37
|
-
// transform: scaleX(1);
|
|
38
|
-
// }
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&--horizontal {
|
|
42
|
-
@include hairline-bottom($color-border-light, solid, 0.5);
|
|
43
|
-
&--active {
|
|
44
|
-
@include hairline-bottom($at-tabs-color-active, solid, 1);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&--vertical {
|
|
49
|
-
@include hairline-right($color-border-light, solid, 0.5);
|
|
50
|
-
&--active {
|
|
51
|
-
@include hairline-right($at-tabs-color-active, solid, 1);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&__header {
|
|
57
|
-
position: relative;
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: row;
|
|
60
|
-
flex-grow: 0;
|
|
61
|
-
// width: 100%;
|
|
62
|
-
text-align: center;
|
|
63
|
-
// white-space: nowrap;
|
|
64
|
-
background-color: $at-tabs-bg-color;
|
|
65
|
-
// box-sizing: border-box;
|
|
66
|
-
// overflow: -moz-scrollbars-none;
|
|
67
|
-
|
|
68
|
-
&--horizontal {
|
|
69
|
-
flex-direction: row;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&--vertical {
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// &::-webkit-scrollbar {
|
|
77
|
-
// display: none;
|
|
78
|
-
// width: 0 !important;
|
|
79
|
-
// height: 0 !important;
|
|
80
|
-
// background: transparent;
|
|
81
|
-
// }
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&__body {
|
|
85
|
-
display: flex;
|
|
86
|
-
flex: 1;
|
|
87
|
-
// width: 100%;
|
|
88
|
-
// white-space: nowrap;
|
|
89
|
-
// transition: all 0.3s;
|
|
90
|
-
// will-change: transform, left, top;
|
|
91
|
-
overflow: visible;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&__underline {
|
|
95
|
-
display: flex;
|
|
96
|
-
position: absolute;
|
|
97
|
-
top: 0;
|
|
98
|
-
left: 0;
|
|
99
|
-
bottom: auto;
|
|
100
|
-
right: auto;
|
|
101
|
-
width: 600%;
|
|
102
|
-
height: $at-tabs-line-height;
|
|
103
|
-
background-color: $at-tabs-underline-color;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/* modifiers */
|
|
107
|
-
// &--scroll {
|
|
108
|
-
// #{$component}__header {
|
|
109
|
-
// overflow: scroll;
|
|
110
|
-
// // overflow-x: scroll;
|
|
111
|
-
// // -webkit-overflow-scrolling: touch;
|
|
112
|
-
// // white-space: nowrap;
|
|
113
|
-
// }
|
|
114
|
-
|
|
115
|
-
// #{$component}__item {
|
|
116
|
-
// display: flex;
|
|
117
|
-
// overflow: visible;
|
|
118
|
-
// }
|
|
119
|
-
// }
|
|
120
|
-
|
|
121
|
-
&--vertical {
|
|
122
|
-
display: flex;
|
|
123
|
-
// flex: 1;
|
|
124
|
-
flex-direction: row;
|
|
125
|
-
overflow: hidden;
|
|
126
|
-
|
|
127
|
-
// #{$component}__body {
|
|
128
|
-
// display: flex;
|
|
129
|
-
// flex: 1;
|
|
130
|
-
// height: $at-tabs-pane-min-height;
|
|
131
|
-
// // width: auto;
|
|
132
|
-
// }
|
|
133
|
-
|
|
134
|
-
// #{$component}__underline {
|
|
135
|
-
// top: 0;
|
|
136
|
-
// left: 0;
|
|
137
|
-
// bottom: auto;
|
|
138
|
-
// width: $at-tabs-line-height;
|
|
139
|
-
// height: 100%;
|
|
140
|
-
// }
|
|
141
|
-
|
|
142
|
-
// #{$component}__header {
|
|
143
|
-
// display: flex;
|
|
144
|
-
// // width: auto;
|
|
145
|
-
// }
|
|
146
|
-
|
|
147
|
-
// #{$component}__item {
|
|
148
|
-
// display: flex;
|
|
149
|
-
// justify-content: center;
|
|
150
|
-
// width: auto;
|
|
151
|
-
// align-items: center;
|
|
152
|
-
|
|
153
|
-
// &-underline {
|
|
154
|
-
// display: flex;
|
|
155
|
-
// top: 0;
|
|
156
|
-
// right: 0;
|
|
157
|
-
// bottom: auto;
|
|
158
|
-
// left: auto;
|
|
159
|
-
// width: $at-tabs-line-height;
|
|
160
|
-
// height: 100%;
|
|
161
|
-
// // transform: scaleY(0);
|
|
162
|
-
// }
|
|
163
|
-
|
|
164
|
-
// &--active {
|
|
165
|
-
// #{$component}__item-underline {
|
|
166
|
-
// // transform: scaleY(1);
|
|
167
|
-
// }
|
|
168
|
-
// }
|
|
169
|
-
// }
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/* hack SWAN */
|
|
174
|
-
|
|
175
|
-
// #{$component}--scroll#{$component}--horizontal#{$component}--SWAN {
|
|
176
|
-
// #{$component}__item-underline {
|
|
177
|
-
// bottom: $at-tabs-line-height;
|
|
178
|
-
// }
|
|
179
|
-
// }
|
|
180
|
-
|
|
181
|
-
/* hack SWAN */
|
|
182
|
-
|
|
183
|
-
.at-tabs-pane {
|
|
184
|
-
display: flex;
|
|
185
|
-
height: 100%;
|
|
186
|
-
// box-sizing: border-box;
|
|
187
|
-
// white-space: initial;
|
|
188
|
-
// vertical-align: top;
|
|
189
|
-
|
|
190
|
-
/* modifiers */
|
|
191
|
-
&--active {
|
|
192
|
-
height: auto;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
&--inactive {
|
|
196
|
-
height: 0;
|
|
197
|
-
overflow: hidden;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&--vertical {
|
|
201
|
-
display: flex;
|
|
202
|
-
height: 100%;
|
|
203
|
-
overflow: scroll;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
$at-tag-border-size: 1PX;
|
|
6
|
-
|
|
7
|
-
.at-tag {
|
|
8
|
-
padding: 0 $spacing-h-xl;
|
|
9
|
-
height: $at-tag-height;
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
text-align: center;
|
|
15
|
-
border: $at-tag-border-size solid $at-tag-border-color;
|
|
16
|
-
border-radius: $border-radius-md;
|
|
17
|
-
background-color: $at-tag-bg-color;
|
|
18
|
-
|
|
19
|
-
&--text {
|
|
20
|
-
color: $at-tag-color;
|
|
21
|
-
font-size: $at-tag-font-size;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* modifiers */
|
|
25
|
-
&--primary {
|
|
26
|
-
color: $at-tag-color-primary;
|
|
27
|
-
border-color: $at-tag-border-color-primary;
|
|
28
|
-
background-color: $at-tag-bg-color-primary;
|
|
29
|
-
|
|
30
|
-
&--text {
|
|
31
|
-
color: $at-tag-color-primary;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&--active {
|
|
36
|
-
border-color: $at-tag-border-color-active;
|
|
37
|
-
background-color: $at-tag-bg-color-active;
|
|
38
|
-
|
|
39
|
-
&--text {
|
|
40
|
-
color: $at-tag-color-active;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-primary {
|
|
44
|
-
border-color: $at-tag-border-color-active;
|
|
45
|
-
background-color: $at-tag-bg-color-primary-active;
|
|
46
|
-
|
|
47
|
-
&--text {
|
|
48
|
-
color: $at-tag-color-primary-active;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&--disabled {
|
|
54
|
-
opacity: $opacity-disabled;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&--circle {
|
|
58
|
-
border-radius: math.div($at-tag-height, 2);
|
|
59
|
-
overflow: hidden;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&--small {
|
|
63
|
-
padding: 0 $spacing-h-md;
|
|
64
|
-
height: $at-tag-height-sm;
|
|
65
|
-
|
|
66
|
-
&--text {
|
|
67
|
-
font-size: $at-tag-font-size-sm;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&-circle {
|
|
71
|
-
border-radius: math.div($at-tag-height-sm, 2);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|