@autobest-ui/components 2.2.1 → 2.4.0
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/esm/accordion/Item.js +6 -23
- package/esm/accordion/index.js +8 -36
- package/esm/accordion/style/index.css +1 -0
- package/esm/affix/PortalAffix.js +7 -11
- package/esm/affix/index.js +30 -70
- package/esm/affix/style/index.css +1 -1
- package/esm/base.css +1 -1
- package/esm/carousel/index.js +45 -141
- package/esm/checkbox/index.js +12 -37
- package/esm/checkbox/style/index.css +1 -1
- package/esm/collapse/index.js +11 -49
- package/esm/confirm/index.d.ts +8 -0
- package/esm/confirm/index.js +23 -31
- package/esm/confirm/style/index.css +1 -1
- package/esm/date-picker/DateEnum.js +0 -3
- package/esm/date-picker/calendar/Day.js +62 -78
- package/esm/date-picker/calendar/MonthYear.js +20 -53
- package/esm/date-picker/calendar/grid/index.js +7 -12
- package/esm/date-picker/calendar/index.js +4 -31
- package/esm/date-picker/index.js +11 -51
- package/esm/date-picker/style/index.css +1 -1
- package/esm/date-picker/utils.js +6 -11
- package/esm/drawer/Child.js +10 -20
- package/esm/drawer/index.js +22 -71
- package/esm/drawer/style/index.css +1 -1
- package/esm/ellipsis/index.js +9 -17
- package/esm/ellipsis/style/index.css +1 -1
- package/esm/guide/index.js +25 -63
- package/esm/guide/style/index.css +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/input-number/ControlArrow.js +0 -2
- package/esm/input-number/constants.js +2 -2
- package/esm/input-number/index.js +26 -106
- package/esm/input-number/style/index.css +1 -1
- package/esm/lazy-image/index.js +10 -55
- package/esm/lazy-image/style/index.css +1 -1
- package/esm/link-list/index.js +11 -35
- package/esm/link-list/style/index.css +1 -1
- package/esm/loading/index.js +15 -42
- package/esm/loading/style/index.css +1 -1
- package/esm/loading-bar/style/index.css +1 -1
- package/esm/loading-container/index.js +3 -6
- package/esm/loading-container/style/index.css +1 -1
- package/esm/loading-icon/index.js +0 -2
- package/esm/loading-icon/style/index.css +1 -1
- package/esm/mask/index.js +6 -9
- package/esm/mask/style/index.css +1 -1
- package/esm/message/index.d.ts +17 -6
- package/esm/message/index.js +68 -96
- package/esm/message/renderMessage.d.ts +17 -0
- package/esm/message/renderMessage.js +137 -0
- package/esm/message/style/index.css +1 -1
- package/esm/modal/Title.js +5 -12
- package/esm/modal/getPopupLocation.js +5 -7
- package/esm/modal/index.js +44 -125
- package/esm/modal/style/index.css +1 -1
- package/esm/move/index.js +32 -132
- package/esm/move/range.js +6 -12
- package/esm/move/utils.js +3 -10
- package/esm/popover/index.js +9 -28
- package/esm/popover/style/index.css +1 -1
- package/esm/portal/index.js +1 -22
- package/esm/script/index.js +19 -59
- package/esm/select/index.js +28 -106
- package/esm/select/style/index.css +1 -1
- package/esm/show-more/index.js +40 -103
- package/esm/skeleton/Item.js +1 -3
- package/esm/skeleton/index.js +5 -11
- package/esm/skeleton/style/index.css +1 -1
- package/esm/style.css +1 -33
- package/esm/table/body/BodyRow.js +11 -28
- package/esm/table/body/CheckIcon.js +10 -18
- package/esm/table/body/index.js +8 -12
- package/esm/table/header/CheckIcon.js +3 -11
- package/esm/table/header/HeaderCell.js +12 -33
- package/esm/table/header/HeaderRow.js +6 -17
- package/esm/table/index.js +30 -100
- package/esm/table/style/index.css +1 -1
- package/esm/tabs/index.js +35 -118
- package/esm/tabs/style/index.css +1 -1
- package/esm/tooltip/index.js +0 -4
- package/esm/tooltip/style/index.css +1 -1
- package/esm/trigger/align.js +6 -6
- package/esm/trigger/bottomAlign.js +33 -45
- package/esm/trigger/constants.js +0 -1
- package/esm/trigger/getPopupLocation.js +48 -68
- package/esm/trigger/index.js +52 -187
- package/esm/trigger/leftAlign.js +33 -47
- package/esm/trigger/ref.js +2 -7
- package/esm/trigger/rightAlign.js +33 -45
- package/esm/trigger/topAlign.js +33 -45
- package/esm/trigger/utils.js +28 -45
- package/lib/accordion/Item.js +6 -27
- package/lib/accordion/index.js +8 -41
- package/lib/accordion/style/index.css +1 -0
- package/lib/affix/PortalAffix.js +7 -17
- package/lib/affix/index.js +30 -75
- package/lib/affix/style/index.css +1 -1
- package/lib/base.css +1 -1
- package/lib/carousel/index.js +45 -146
- package/lib/checkbox/index.js +12 -41
- package/lib/checkbox/style/index.css +1 -1
- package/lib/collapse/index.js +11 -53
- package/lib/confirm/index.d.ts +8 -0
- package/lib/confirm/index.js +23 -38
- package/lib/confirm/style/index.css +1 -1
- package/lib/date-picker/DateEnum.js +0 -3
- package/lib/date-picker/calendar/Day.js +62 -87
- package/lib/date-picker/calendar/MonthYear.js +20 -62
- package/lib/date-picker/calendar/grid/index.js +7 -16
- package/lib/date-picker/calendar/index.js +4 -37
- package/lib/date-picker/index.js +9 -58
- package/lib/date-picker/style/index.css +1 -1
- package/lib/date-picker/utils.js +6 -26
- package/lib/drawer/Child.js +10 -25
- package/lib/drawer/index.js +22 -78
- package/lib/drawer/style/index.css +1 -1
- package/lib/ellipsis/index.js +9 -23
- package/lib/ellipsis/style/index.css +1 -1
- package/lib/guide/index.js +25 -71
- package/lib/guide/style/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +0 -29
- package/lib/input-number/ControlArrow.js +0 -4
- package/lib/input-number/constants.js +2 -2
- package/lib/input-number/index.js +26 -114
- package/lib/input-number/style/index.css +1 -1
- package/lib/lazy-image/index.js +10 -58
- package/lib/lazy-image/style/index.css +1 -1
- package/lib/link-list/index.js +11 -40
- package/lib/link-list/style/index.css +1 -1
- package/lib/loading/index.js +13 -48
- package/lib/loading/style/index.css +1 -1
- package/lib/loading-bar/index.js +0 -5
- package/lib/loading-bar/style/index.css +1 -1
- package/lib/loading-container/index.js +3 -11
- package/lib/loading-container/style/index.css +1 -1
- package/lib/loading-icon/index.js +0 -7
- package/lib/loading-icon/style/index.css +1 -1
- package/lib/mask/index.js +6 -17
- package/lib/mask/style/index.css +1 -1
- package/lib/message/index.d.ts +17 -6
- package/lib/message/index.js +67 -104
- package/lib/message/renderMessage.d.ts +17 -0
- package/lib/message/renderMessage.js +144 -0
- package/lib/message/style/index.css +1 -1
- package/lib/modal/Affix.js +0 -4
- package/lib/modal/Title.js +5 -15
- package/lib/modal/getPopupLocation.js +5 -9
- package/lib/modal/index.js +44 -135
- package/lib/modal/style/index.css +1 -1
- package/lib/move/index.js +32 -144
- package/lib/move/range.js +6 -14
- package/lib/move/utils.js +3 -12
- package/lib/popover/index.js +9 -33
- package/lib/popover/style/index.css +1 -1
- package/lib/portal/index.js +1 -25
- package/lib/script/index.js +19 -61
- package/lib/select/index.js +28 -113
- package/lib/select/style/index.css +1 -1
- package/lib/show-more/index.js +40 -110
- package/lib/skeleton/Item.js +1 -8
- package/lib/skeleton/index.js +5 -16
- package/lib/skeleton/style/index.css +1 -1
- package/lib/style.css +1 -33
- package/lib/table/body/BodyRow.js +11 -33
- package/lib/table/body/CheckIcon.js +10 -22
- package/lib/table/body/index.js +8 -17
- package/lib/table/header/CheckIcon.js +3 -15
- package/lib/table/header/HeaderCell.js +12 -37
- package/lib/table/header/HeaderRow.js +6 -22
- package/lib/table/index.js +30 -107
- package/lib/table/style/index.css +1 -1
- package/lib/tabs/index.js +35 -122
- package/lib/tabs/style/index.css +1 -1
- package/lib/tooltip/index.js +0 -9
- package/lib/tooltip/style/index.css +1 -1
- package/lib/trigger/align.js +0 -4
- package/lib/trigger/bottomAlign.js +33 -48
- package/lib/trigger/constants.js +0 -2
- package/lib/trigger/getPopupLocation.js +48 -74
- package/lib/trigger/index.js +52 -198
- package/lib/trigger/leftAlign.js +33 -50
- package/lib/trigger/ref.js +2 -12
- package/lib/trigger/rightAlign.js +33 -48
- package/lib/trigger/topAlign.js +33 -48
- package/lib/trigger/utils.js +28 -53
- package/package.json +9 -3
- package/esm/accordion/style/index.d.ts +0 -1
- package/esm/accordion/style/index.js +0 -5
- package/esm/affix/style/index.d.ts +0 -1
- package/esm/affix/style/index.js +0 -5
- package/esm/affix/style/index.scss +0 -35
- package/esm/base.scss +0 -42
- package/esm/carousel/style/index.d.ts +0 -1
- package/esm/carousel/style/index.js +0 -5
- package/esm/carousel/style/index.scss +0 -37
- package/esm/checkbox/style/index.d.ts +0 -1
- package/esm/checkbox/style/index.js +0 -5
- package/esm/checkbox/style/index.scss +0 -118
- package/esm/collapse/style/index.d.ts +0 -1
- package/esm/collapse/style/index.js +0 -5
- package/esm/collapse/style/index.scss +0 -43
- package/esm/confirm/style/index.d.ts +0 -1
- package/esm/confirm/style/index.js +0 -7
- package/esm/confirm/style/index.scss +0 -44
- package/esm/date-picker/calendar/grid/index.scss +0 -90
- package/esm/date-picker/calendar/index.scss +0 -58
- package/esm/date-picker/style/index.d.ts +0 -1
- package/esm/date-picker/style/index.js +0 -11
- package/esm/date-picker/style/index.scss +0 -24
- package/esm/drawer/style/index.d.ts +0 -1
- package/esm/drawer/style/index.js +0 -7
- package/esm/drawer/style/index.scss +0 -44
- package/esm/ellipsis/style/index.d.ts +0 -1
- package/esm/ellipsis/style/index.js +0 -5
- package/esm/ellipsis/style/index.scss +0 -35
- package/esm/guide/style/index.d.ts +0 -1
- package/esm/guide/style/index.js +0 -7
- package/esm/guide/style/index.scss +0 -18
- package/esm/input-number/style/index.d.ts +0 -1
- package/esm/input-number/style/index.js +0 -5
- package/esm/input-number/style/index.scss +0 -70
- package/esm/lazy-image/style/index.d.ts +0 -1
- package/esm/lazy-image/style/index.js +0 -5
- package/esm/lazy-image/style/index.scss +0 -25
- package/esm/link-list/style/index.d.ts +0 -1
- package/esm/link-list/style/index.js +0 -7
- package/esm/link-list/style/index.scss +0 -125
- package/esm/loading/style/index.d.ts +0 -1
- package/esm/loading/style/index.js +0 -7
- package/esm/loading/style/index.scss +0 -21
- package/esm/loading-bar/style/index.d.ts +0 -1
- package/esm/loading-bar/style/index.js +0 -5
- package/esm/loading-bar/style/index.scss +0 -62
- package/esm/loading-container/style/index.d.ts +0 -1
- package/esm/loading-container/style/index.js +0 -7
- package/esm/loading-container/style/index.scss +0 -28
- package/esm/loading-icon/style/index.d.ts +0 -1
- package/esm/loading-icon/style/index.js +0 -5
- package/esm/loading-icon/style/index.scss +0 -24
- package/esm/mask/style/index.d.ts +0 -1
- package/esm/mask/style/index.js +0 -5
- package/esm/mask/style/index.scss +0 -35
- package/esm/message/style/index.d.ts +0 -1
- package/esm/message/style/index.js +0 -5
- package/esm/message/style/index.scss +0 -71
- package/esm/modal/style/index.d.ts +0 -1
- package/esm/modal/style/index.js +0 -7
- package/esm/modal/style/index.scss +0 -112
- package/esm/move/style/index.d.ts +0 -1
- package/esm/move/style/index.js +0 -5
- package/esm/move/style/index.scss +0 -7
- package/esm/popover/style/index.d.ts +0 -1
- package/esm/popover/style/index.js +0 -7
- package/esm/popover/style/index.scss +0 -60
- package/esm/portal/style/index.d.ts +0 -1
- package/esm/portal/style/index.js +0 -5
- package/esm/portal/style/index.scss +0 -0
- package/esm/script/style/index.d.ts +0 -1
- package/esm/script/style/index.js +0 -1
- package/esm/script/style/index.scss +0 -0
- package/esm/select/style/index.d.ts +0 -1
- package/esm/select/style/index.js +0 -7
- package/esm/select/style/index.scss +0 -126
- package/esm/show-more/style/index.d.ts +0 -1
- package/esm/show-more/style/index.js +0 -5
- package/esm/show-more/style/index.scss +0 -23
- package/esm/skeleton/style/index.d.ts +0 -1
- package/esm/skeleton/style/index.js +0 -5
- package/esm/skeleton/style/index.scss +0 -27
- package/esm/table/style/index.d.ts +0 -1
- package/esm/table/style/index.js +0 -9
- package/esm/table/style/index.scss +0 -45
- package/esm/tabs/style/index.d.ts +0 -1
- package/esm/tabs/style/index.js +0 -5
- package/esm/tabs/style/index.scss +0 -62
- package/esm/tooltip/style/index.d.ts +0 -1
- package/esm/tooltip/style/index.js +0 -7
- package/esm/tooltip/style/index.scss +0 -62
- package/esm/trigger/style/index.d.ts +0 -1
- package/esm/trigger/style/index.js +0 -5
- package/esm/trigger/style/index.scss +0 -79
- package/lib/accordion/style/index.d.ts +0 -1
- package/lib/accordion/style/index.js +0 -7
- package/lib/affix/style/index.d.ts +0 -1
- package/lib/affix/style/index.js +0 -7
- package/lib/affix/style/index.scss +0 -35
- package/lib/base.scss +0 -42
- package/lib/carousel/style/index.d.ts +0 -1
- package/lib/carousel/style/index.js +0 -7
- package/lib/carousel/style/index.scss +0 -37
- package/lib/checkbox/style/index.d.ts +0 -1
- package/lib/checkbox/style/index.js +0 -7
- package/lib/checkbox/style/index.scss +0 -118
- package/lib/collapse/style/index.d.ts +0 -1
- package/lib/collapse/style/index.js +0 -7
- package/lib/collapse/style/index.scss +0 -43
- package/lib/confirm/style/index.d.ts +0 -1
- package/lib/confirm/style/index.js +0 -9
- package/lib/confirm/style/index.scss +0 -44
- package/lib/date-picker/calendar/grid/index.scss +0 -90
- package/lib/date-picker/calendar/index.scss +0 -58
- package/lib/date-picker/style/index.d.ts +0 -1
- package/lib/date-picker/style/index.js +0 -13
- package/lib/date-picker/style/index.scss +0 -24
- package/lib/drawer/style/index.d.ts +0 -1
- package/lib/drawer/style/index.js +0 -9
- package/lib/drawer/style/index.scss +0 -44
- package/lib/ellipsis/style/index.d.ts +0 -1
- package/lib/ellipsis/style/index.js +0 -7
- package/lib/ellipsis/style/index.scss +0 -35
- package/lib/guide/style/index.d.ts +0 -1
- package/lib/guide/style/index.js +0 -9
- package/lib/guide/style/index.scss +0 -18
- package/lib/input-number/style/index.d.ts +0 -1
- package/lib/input-number/style/index.js +0 -7
- package/lib/input-number/style/index.scss +0 -70
- package/lib/lazy-image/style/index.d.ts +0 -1
- package/lib/lazy-image/style/index.js +0 -7
- package/lib/lazy-image/style/index.scss +0 -25
- package/lib/link-list/style/index.d.ts +0 -1
- package/lib/link-list/style/index.js +0 -9
- package/lib/link-list/style/index.scss +0 -125
- package/lib/loading/style/index.d.ts +0 -1
- package/lib/loading/style/index.js +0 -9
- package/lib/loading/style/index.scss +0 -21
- package/lib/loading-bar/style/index.d.ts +0 -1
- package/lib/loading-bar/style/index.js +0 -7
- package/lib/loading-bar/style/index.scss +0 -62
- package/lib/loading-container/style/index.d.ts +0 -1
- package/lib/loading-container/style/index.js +0 -9
- package/lib/loading-container/style/index.scss +0 -28
- package/lib/loading-icon/style/index.d.ts +0 -1
- package/lib/loading-icon/style/index.js +0 -7
- package/lib/loading-icon/style/index.scss +0 -24
- package/lib/mask/style/index.d.ts +0 -1
- package/lib/mask/style/index.js +0 -7
- package/lib/mask/style/index.scss +0 -35
- package/lib/message/style/index.d.ts +0 -1
- package/lib/message/style/index.js +0 -7
- package/lib/message/style/index.scss +0 -71
- package/lib/modal/style/index.d.ts +0 -1
- package/lib/modal/style/index.js +0 -9
- package/lib/modal/style/index.scss +0 -112
- package/lib/move/style/index.d.ts +0 -1
- package/lib/move/style/index.js +0 -7
- package/lib/move/style/index.scss +0 -7
- package/lib/popover/style/index.d.ts +0 -1
- package/lib/popover/style/index.js +0 -9
- package/lib/popover/style/index.scss +0 -60
- package/lib/portal/style/index.d.ts +0 -1
- package/lib/portal/style/index.js +0 -7
- package/lib/portal/style/index.scss +0 -0
- package/lib/script/style/index.d.ts +0 -1
- package/lib/script/style/index.js +0 -1
- package/lib/script/style/index.scss +0 -0
- package/lib/select/style/index.d.ts +0 -1
- package/lib/select/style/index.js +0 -9
- package/lib/select/style/index.scss +0 -126
- package/lib/show-more/style/index.d.ts +0 -1
- package/lib/show-more/style/index.js +0 -7
- package/lib/show-more/style/index.scss +0 -23
- package/lib/skeleton/style/index.d.ts +0 -1
- package/lib/skeleton/style/index.js +0 -7
- package/lib/skeleton/style/index.scss +0 -27
- package/lib/table/style/index.d.ts +0 -1
- package/lib/table/style/index.js +0 -11
- package/lib/table/style/index.scss +0 -45
- package/lib/tabs/style/index.d.ts +0 -1
- package/lib/tabs/style/index.js +0 -7
- package/lib/tabs/style/index.scss +0 -62
- package/lib/tooltip/style/index.d.ts +0 -1
- package/lib/tooltip/style/index.js +0 -9
- package/lib/tooltip/style/index.scss +0 -62
- package/lib/trigger/style/index.d.ts +0 -1
- package/lib/trigger/style/index.js +0 -7
- package/lib/trigger/style/index.scss +0 -79
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
$namespace: ab-input-number;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
position: relative;
|
|
5
|
-
border: 1px solid #ccc;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
|
|
8
|
-
&-control {
|
|
9
|
-
-webkit-appearance: none;
|
|
10
|
-
display: block;
|
|
11
|
-
outline: none;
|
|
12
|
-
border: none;
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 100%;
|
|
15
|
-
padding: .06rem .06rem;
|
|
16
|
-
background-color: transparent;
|
|
17
|
-
font-size: .12rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-arrow {
|
|
21
|
-
font-size: 0.08rem;
|
|
22
|
-
position: absolute;
|
|
23
|
-
right: 0;
|
|
24
|
-
top: 0;
|
|
25
|
-
width: 0.22rem;
|
|
26
|
-
height: 100%;
|
|
27
|
-
background-color: #fff;
|
|
28
|
-
display: none;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
border-left: 1px solid #f1f1f1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-up, &-down {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
width: 100%;
|
|
36
|
-
height: 50%;
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
|
|
41
|
-
&:hover {
|
|
42
|
-
background-color: #e2e2e2;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&:active {
|
|
46
|
-
background-color: #929292;
|
|
47
|
-
color: #fff;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-up {
|
|
52
|
-
border-bottom: 1px solid #f1f1f1;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.#{$namespace}-enter, &.#{$namespace}-focus {
|
|
56
|
-
.#{$namespace}-arrow {
|
|
57
|
-
display: flex;
|
|
58
|
-
}
|
|
59
|
-
border-color: #348FEE;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.#{$namespace}-focus {
|
|
63
|
-
box-shadow: 0 0 4px #348FEE;
|
|
64
|
-
}
|
|
65
|
-
&.#{$namespace}-disabled {
|
|
66
|
-
.#{$namespace}-control {
|
|
67
|
-
cursor: not-allowed;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
$namespace: ab-lazy-image;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
transition: opacity 500ms;
|
|
5
|
-
|
|
6
|
-
&-loading {
|
|
7
|
-
background: #f2f2f2;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&-loading.#{$namespace}-active {
|
|
12
|
-
background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
|
|
13
|
-
background-size: 400% 100%;
|
|
14
|
-
animation: ab-skeleton-loading 1.4s ease infinite;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@keyframes ab-skeleton-loading {
|
|
18
|
-
0% {
|
|
19
|
-
background-position: 100% 50%;
|
|
20
|
-
}
|
|
21
|
-
100% {
|
|
22
|
-
background-position: 0 50%;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
$namespace: ab-link-list;
|
|
2
|
-
|
|
3
|
-
// column Gap
|
|
4
|
-
$values: (2) (4) (5) (6) (8);
|
|
5
|
-
@mixin generateIgnoreCol($type) {
|
|
6
|
-
@each $val in $values {
|
|
7
|
-
&.#{$namespace}#{$type}#{$val} > a, &.#{$namespace}#{$type}#{$val} > span {
|
|
8
|
-
min-width: calc(100% / #{$val} - 0.15rem);
|
|
9
|
-
max-width: calc(100% / #{$val} - 0.15rem);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.#{$namespace} {
|
|
15
|
-
&-title {
|
|
16
|
-
font-size: .16rem;
|
|
17
|
-
margin: 0 0;
|
|
18
|
-
padding: 0 0 .12rem 0;
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: space-between;
|
|
21
|
-
align-items: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-icon {
|
|
25
|
-
display: none;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-content {
|
|
29
|
-
flex-wrap: wrap;
|
|
30
|
-
width: auto;
|
|
31
|
-
margin-right: -0.15rem;
|
|
32
|
-
@include generateIgnoreCol($type: -col);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-content > span, &-content > a {
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
border: .5px solid #D0D0D0;
|
|
38
|
-
margin-bottom: 8px;
|
|
39
|
-
display: inline-block;
|
|
40
|
-
justify-content: space-between;
|
|
41
|
-
align-items: center;
|
|
42
|
-
width: 100%;
|
|
43
|
-
position: relative;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
text-overflow: ellipsis;
|
|
46
|
-
white-space: nowrap;
|
|
47
|
-
padding: .085rem .15rem .085rem .12rem;
|
|
48
|
-
color: #333333;
|
|
49
|
-
margin-right: .15rem;
|
|
50
|
-
|
|
51
|
-
&:after {
|
|
52
|
-
content: '>';
|
|
53
|
-
position: absolute;
|
|
54
|
-
right: .1rem;
|
|
55
|
-
top: 50%;
|
|
56
|
-
transform: translateY(-50%);
|
|
57
|
-
color: #808080;
|
|
58
|
-
font-size: .12rem;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&:hover {
|
|
62
|
-
text-decoration: underline;
|
|
63
|
-
color: #f97601;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-content > .#{$namespace}-hidden {
|
|
68
|
-
display: none;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&-wrap-popover.ab-popover-wrap {
|
|
72
|
-
max-width: 3.5rem;
|
|
73
|
-
min-width: 3rem;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&-sub-title {
|
|
77
|
-
display: block;
|
|
78
|
-
padding-bottom: .06rem;
|
|
79
|
-
font-size: .12rem;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&-sub-link {
|
|
83
|
-
text-decoration: underline;
|
|
84
|
-
color: #333;
|
|
85
|
-
font-size: .12rem;
|
|
86
|
-
padding: 0 .05rem .05rem 0;
|
|
87
|
-
display: inline-block;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@media only screen and (max-width: 767px) {
|
|
92
|
-
.#{$namespace} {
|
|
93
|
-
|
|
94
|
-
&-divider {
|
|
95
|
-
border-bottom: 1px solid #D0D0D0;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&-body {
|
|
99
|
-
height: 0;
|
|
100
|
-
width: 0;
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
|
|
103
|
-
&.#{$namespace}-active {
|
|
104
|
-
height: auto;
|
|
105
|
-
width: auto;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&-content > span, &-content > a {
|
|
110
|
-
min-width: calc(50% - 0.15rem) !important;
|
|
111
|
-
max-width: calc(50% - 0.15rem) !important;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&-icon {
|
|
115
|
-
font-weight: bold;
|
|
116
|
-
font-size: .22rem;
|
|
117
|
-
cursor: pointer;
|
|
118
|
-
width: .20rem;
|
|
119
|
-
height: .20rem;
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
$namespace: ab-loading;
|
|
2
|
-
|
|
3
|
-
.#{$namespace}-wrap {
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
z-index: 9999;
|
|
8
|
-
background-color: rgba(#fff, .7);
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
|
|
12
|
-
.#{$namespace}-content {
|
|
13
|
-
position: absolute;
|
|
14
|
-
left: 50%;
|
|
15
|
-
top: 50%;
|
|
16
|
-
display: block;
|
|
17
|
-
width: .31rem;
|
|
18
|
-
height: .31rem;
|
|
19
|
-
transform: translate3d(-50%, -50%, 0);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
$namespace: ab-loading-bar;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
margin-bottom: -3px;
|
|
8
|
-
height: 3px;
|
|
9
|
-
width: 100%;
|
|
10
|
-
z-index: 999;
|
|
11
|
-
@keyframes movingBar {
|
|
12
|
-
0% {
|
|
13
|
-
left: 50%;
|
|
14
|
-
right: 50%;
|
|
15
|
-
}
|
|
16
|
-
99.9% {
|
|
17
|
-
left: 0;
|
|
18
|
-
right: 0;
|
|
19
|
-
}
|
|
20
|
-
100% {
|
|
21
|
-
left: 50%;
|
|
22
|
-
right: 50%;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
@keyframes changeBar {
|
|
26
|
-
0% {
|
|
27
|
-
background-color: #0aa770;
|
|
28
|
-
}
|
|
29
|
-
33.3% {
|
|
30
|
-
background-color: #0aa770;
|
|
31
|
-
}
|
|
32
|
-
33.33% {
|
|
33
|
-
background-color: #ff0000;
|
|
34
|
-
}
|
|
35
|
-
66.6% {
|
|
36
|
-
background-color: #f987d6;
|
|
37
|
-
}
|
|
38
|
-
66.66% {
|
|
39
|
-
background-color: #f987d6;
|
|
40
|
-
}
|
|
41
|
-
99.9% {
|
|
42
|
-
background-color: #00bcd4;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
&-bar {
|
|
46
|
-
position: absolute;
|
|
47
|
-
height: 0;
|
|
48
|
-
width: 100%;
|
|
49
|
-
text-indent: -9999px;
|
|
50
|
-
background-color: #0aa770;
|
|
51
|
-
animation: changeBar 2.25s infinite;
|
|
52
|
-
&:before {
|
|
53
|
-
content: "";
|
|
54
|
-
height: 3px;
|
|
55
|
-
position: absolute;
|
|
56
|
-
left: 50%;
|
|
57
|
-
right: 50%;
|
|
58
|
-
background-color: inherit;
|
|
59
|
-
animation: movingBar 0.75s infinite;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
$namespace: ab-loading-container;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
position: relative;
|
|
5
|
-
|
|
6
|
-
&-active {
|
|
7
|
-
user-select: none;
|
|
8
|
-
pointer-events: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&-icon-box {
|
|
12
|
-
position: absolute;
|
|
13
|
-
background-color: rgba(#fff, .7);
|
|
14
|
-
top: 0;
|
|
15
|
-
left: 0;
|
|
16
|
-
z-index: 4;
|
|
17
|
-
display: block;
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-icon {
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 50%;
|
|
25
|
-
left: 50%;
|
|
26
|
-
transform: translate3d(-50%, -50%, 0);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
$namespace: ab-svg-loading;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
|
|
6
|
-
&-icon {
|
|
7
|
-
display: block;
|
|
8
|
-
width: .31rem;
|
|
9
|
-
height: .31rem;
|
|
10
|
-
animation: loading 1s infinite linear reverse;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@keyframes loading {
|
|
14
|
-
0% {
|
|
15
|
-
transform: rotate(0deg)
|
|
16
|
-
}
|
|
17
|
-
50% {
|
|
18
|
-
transform: rotate(180deg)
|
|
19
|
-
}
|
|
20
|
-
100% {
|
|
21
|
-
transform: rotate(360deg)
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/esm/mask/style/index.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
$namespace: ab-mask;
|
|
2
|
-
$maskFade: #{$namespace}-fade;
|
|
3
|
-
|
|
4
|
-
.#{$namespace} {
|
|
5
|
-
position: fixed;
|
|
6
|
-
top: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
z-index: 101;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
background-color: rgba(0, 0, 0, 0.45);
|
|
12
|
-
transition: opacity 400ms cubic-bezier(.7, .3, .1, 1);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.#{$maskFade} {
|
|
16
|
-
&-enter, &-appear {
|
|
17
|
-
opacity: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-enter-active, &-appear-active, &-enter-done {
|
|
21
|
-
opacity: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-exit {
|
|
25
|
-
opacity: 1;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-exit-active {
|
|
29
|
-
opacity: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-exit-done {
|
|
33
|
-
display: none;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
$namespace: ab-message;
|
|
2
|
-
$contentFade: #{$namespace}-fade;
|
|
3
|
-
|
|
4
|
-
.#{$namespace} {
|
|
5
|
-
&-container {
|
|
6
|
-
position: fixed;
|
|
7
|
-
left: 0;
|
|
8
|
-
bottom: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&-content {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
max-width: calc(100vw - .3rem);
|
|
16
|
-
border-radius: .02rem;
|
|
17
|
-
margin: .08rem .15rem;
|
|
18
|
-
padding: .08rem;
|
|
19
|
-
background-color: #333;
|
|
20
|
-
color: #fff;
|
|
21
|
-
box-shadow: 0 .04rem .08rem #00000059;
|
|
22
|
-
transition: opacity 300ms;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-close {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
width: .2rem;
|
|
31
|
-
height: .2rem;
|
|
32
|
-
font-size: .2rem;
|
|
33
|
-
margin-left: .08rem;
|
|
34
|
-
color: #b0b0b0;
|
|
35
|
-
|
|
36
|
-
&:hover {
|
|
37
|
-
color: #fff;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.#{$contentFade} {
|
|
43
|
-
&-enter, &-appear {
|
|
44
|
-
opacity: 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&-enter-active, &-appear-active, &-enter-done {
|
|
48
|
-
opacity: 1;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-exit {
|
|
52
|
-
opacity: 1;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-exit-active {
|
|
56
|
-
opacity: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-exit-done {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@media only screen and (max-width: 767px) {
|
|
65
|
-
.#{$namespace} {
|
|
66
|
-
&-content {
|
|
67
|
-
width: calc(100vw - .3rem);
|
|
68
|
-
margin: .08rem .15rem;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/esm/modal/style/index.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
$namespace: ab-modal;
|
|
2
|
-
$modalFade: #{$namespace}-fade;
|
|
3
|
-
|
|
4
|
-
.#{$namespace} {
|
|
5
|
-
position: fixed;
|
|
6
|
-
top: 0;
|
|
7
|
-
right: 0;
|
|
8
|
-
bottom: 0;
|
|
9
|
-
left: 0;
|
|
10
|
-
z-index: 101;
|
|
11
|
-
overflow: auto;
|
|
12
|
-
outline: 0;
|
|
13
|
-
|
|
14
|
-
&.#{$namespace}-center {
|
|
15
|
-
text-align: center;
|
|
16
|
-
|
|
17
|
-
&:before {
|
|
18
|
-
display: inline-block;
|
|
19
|
-
width: 0;
|
|
20
|
-
height: 100%;
|
|
21
|
-
vertical-align: middle;
|
|
22
|
-
content: '';
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.#{$namespace}-content {
|
|
26
|
-
top: 0;
|
|
27
|
-
text-align: left;
|
|
28
|
-
display: inline-block;
|
|
29
|
-
vertical-align: middle;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-content {
|
|
34
|
-
position: relative;
|
|
35
|
-
background-color: #fff;
|
|
36
|
-
max-width: calc(100vw - .3rem);
|
|
37
|
-
margin-left: auto;
|
|
38
|
-
margin-right: auto;
|
|
39
|
-
overflow: auto;
|
|
40
|
-
-webkit-overflow-scrolling: touch;
|
|
41
|
-
transition: transform 300ms, opacity 300ms cubic-bezier(.7, .3, .1, 1);
|
|
42
|
-
z-index: 101;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&-title {
|
|
46
|
-
position: relative;
|
|
47
|
-
width: 100%;
|
|
48
|
-
|
|
49
|
-
.#{$namespace}-times {
|
|
50
|
-
top: 50%;
|
|
51
|
-
transform: translateY(-50%);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-times {
|
|
56
|
-
position: absolute;
|
|
57
|
-
top: .12rem;
|
|
58
|
-
right: .12rem;
|
|
59
|
-
font-size: .15rem;
|
|
60
|
-
color: #b0b0b0;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
|
|
63
|
-
svg {
|
|
64
|
-
display: block;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&:hover {
|
|
68
|
-
color: #333;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
&-hidden {
|
|
72
|
-
display: none;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@media only screen and (max-width: 767px) {
|
|
77
|
-
.#{$namespace}-content {
|
|
78
|
-
width: calc(100vw - .3rem);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
.#{$modalFade} {
|
|
84
|
-
&-enter, &-appear {
|
|
85
|
-
transform: translate3d(0, -30px, 0);
|
|
86
|
-
opacity: 0
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&-enter-active, &-appear-active {
|
|
90
|
-
transform: translateZ(0);
|
|
91
|
-
opacity: 1
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&-enter-done {
|
|
95
|
-
transform: translateZ(0);
|
|
96
|
-
opacity: 1
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-exit {
|
|
100
|
-
transform: translateZ(0);
|
|
101
|
-
opacity: 1
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-exit-active {
|
|
105
|
-
transform: translate3d(0, -30px, 0);
|
|
106
|
-
opacity: 0
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&-exit-done {
|
|
110
|
-
display: none;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|