@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
package/esm/affix/style/index.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
$namespace: ab-affix;
|
|
2
|
-
$customFade: #{$namespace}-fade;
|
|
3
|
-
|
|
4
|
-
.#{$namespace} {
|
|
5
|
-
&, &-custom {
|
|
6
|
-
z-index: 100;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-custom {
|
|
10
|
-
position: fixed;
|
|
11
|
-
transition: transform 200ms cubic-bezier(.7, .3, .1, 1);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.#{$customFade} {
|
|
16
|
-
&-enter, &-appear {
|
|
17
|
-
transform: translate(0, -100%)
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-enter-active, &-appear-active {
|
|
21
|
-
transform: translate(0, 0);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-exit {
|
|
25
|
-
transform: translate(0, 0);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-exit-active {
|
|
29
|
-
transform: translate(0, -100%)
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-exit-done {
|
|
33
|
-
display: none;
|
|
34
|
-
}
|
|
35
|
-
}
|
package/esm/base.scss
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* reset css */
|
|
2
|
-
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video, input, a, textarea {
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
html {
|
|
7
|
-
font-size: 100px;
|
|
8
|
-
font-family: Arial, sans-serif;
|
|
9
|
-
touch-action: manipulation;
|
|
10
|
-
-ms-touch-action: manipulation;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@media only screen and (max-width: 767px) {
|
|
14
|
-
html {
|
|
15
|
-
//font-size: 24.15459vw;
|
|
16
|
-
// 暂时取消对UI自适应,而是统一成一种
|
|
17
|
-
font-size: 100px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
body {
|
|
22
|
-
font-size: .12rem;
|
|
23
|
-
color: #333;
|
|
24
|
-
margin: 0;
|
|
25
|
-
padding: 0;
|
|
26
|
-
-webkit-font-smoothing: antialiased;
|
|
27
|
-
-moz-osx-font-smoothing: grayscale;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
a {
|
|
31
|
-
text-decoration: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
input {
|
|
35
|
-
outline: none;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
ul, li {
|
|
39
|
-
padding: 0;
|
|
40
|
-
margin: 0;
|
|
41
|
-
list-style: none;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
$namespace: ab-carousel;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
position: relative;
|
|
5
|
-
|
|
6
|
-
&-content {
|
|
7
|
-
position: relative;
|
|
8
|
-
display: block;
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-list {
|
|
17
|
-
user-select: none;
|
|
18
|
-
position: relative;
|
|
19
|
-
top: 0;
|
|
20
|
-
left: 0;
|
|
21
|
-
display: block;
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-slider {
|
|
26
|
-
outline: none;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
float: left;
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.#{$namespace}-init {
|
|
33
|
-
.#{$namespace}-slider {
|
|
34
|
-
display: block;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
$namespace: ab-checkbox;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
position: relative;
|
|
6
|
-
font-size: 0;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
|
|
9
|
-
&-input {
|
|
10
|
-
position: absolute;
|
|
11
|
-
opacity: 0;
|
|
12
|
-
margin: 0;
|
|
13
|
-
padding: 0;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 100%;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
z-index: 2;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-inner {
|
|
21
|
-
display: inline-block;
|
|
22
|
-
position: relative;
|
|
23
|
-
width: .16rem;
|
|
24
|
-
height: .16rem;
|
|
25
|
-
transition: all .3s;
|
|
26
|
-
border: .02rem solid #B0B0B0;
|
|
27
|
-
border-radius: .02rem;
|
|
28
|
-
background-color: #fff;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&-icon {
|
|
32
|
-
visibility: hidden;
|
|
33
|
-
position: absolute;
|
|
34
|
-
width: .06rem;
|
|
35
|
-
height: .1rem;
|
|
36
|
-
left: 20%;
|
|
37
|
-
top: 40%;
|
|
38
|
-
transform: rotate(45deg) scale(0) translate(-50%, -50%);
|
|
39
|
-
transition: all .2s;
|
|
40
|
-
border: .02rem solid #E84040;
|
|
41
|
-
border-top: none;
|
|
42
|
-
border-left: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.#{$namespace}-checked {
|
|
46
|
-
.#{$namespace} {
|
|
47
|
-
&-icon {
|
|
48
|
-
visibility: visible;
|
|
49
|
-
transform: rotate(45deg) scale(1) translate(-50%, -50%);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&.#{$namespace}-disabled {
|
|
55
|
-
cursor: not-allowed;
|
|
56
|
-
color: rgba(0, 0, 0, .25);
|
|
57
|
-
|
|
58
|
-
.#{$namespace} {
|
|
59
|
-
&-inner {
|
|
60
|
-
border-color: #f0f0f0 !important;
|
|
61
|
-
background-color: #f5f5f5 !important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-icon {
|
|
65
|
-
border-color: #cecece;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&-content {
|
|
69
|
-
text-decoration: none !important;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&-wrap {
|
|
75
|
-
display: inline-block;
|
|
76
|
-
position: relative;
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
|
|
79
|
-
.#{$namespace} {
|
|
80
|
-
position: absolute;
|
|
81
|
-
transform: translateY(-50%);
|
|
82
|
-
top: 50%;
|
|
83
|
-
left: 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&:hover {
|
|
87
|
-
.#{$namespace}-content {
|
|
88
|
-
text-decoration: underline;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&-content {
|
|
94
|
-
padding-left: .24rem;
|
|
95
|
-
display: inline-block;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&-wrap.#{$namespace}-reverse {
|
|
99
|
-
.#{$namespace} {
|
|
100
|
-
left: auto;
|
|
101
|
-
right: 0;
|
|
102
|
-
|
|
103
|
-
&-content {
|
|
104
|
-
padding-left: 0;
|
|
105
|
-
padding-right: .24rem;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&-wrap.#{$namespace}-disabled {
|
|
111
|
-
cursor: not-allowed;
|
|
112
|
-
color: rgba(0, 0, 0, .25);
|
|
113
|
-
|
|
114
|
-
.#{$namespace}-content {
|
|
115
|
-
text-decoration: none !important;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
$namespace: ab-collapse;
|
|
2
|
-
$collapseFade: #{$namespace}-fade;
|
|
3
|
-
|
|
4
|
-
.#{$namespace} {
|
|
5
|
-
transform-origin: left top;
|
|
6
|
-
transition: opacity 200ms, height 200ms;
|
|
7
|
-
&-hidden{
|
|
8
|
-
height: 0;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.#{$collapseFade} {
|
|
14
|
-
&-enter {
|
|
15
|
-
opacity: 0.8;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-enter-active {
|
|
20
|
-
opacity: 1;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-enter-done {
|
|
25
|
-
opacity: 1;
|
|
26
|
-
overflow: initial;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-exit {
|
|
30
|
-
opacity: 1;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&-exit-active {
|
|
35
|
-
opacity: 0.8;
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-exit-done {
|
|
40
|
-
display: none;
|
|
41
|
-
overflow: initial;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
$namespace: ab-confirm;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
&-btns {
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: flex-end;
|
|
7
|
-
padding-top: .42rem;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&-ok, &-cancel {
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
position: relative;
|
|
13
|
-
font-size: .12rem;
|
|
14
|
-
border-width: 1px;
|
|
15
|
-
border-style: solid;
|
|
16
|
-
outline: none;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
font-weight: bold;
|
|
19
|
-
padding: .05rem .3rem;
|
|
20
|
-
display: inline-block;
|
|
21
|
-
color: #fff;
|
|
22
|
-
margin-left: .3rem;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-ok {
|
|
26
|
-
border-color: #bc0000;
|
|
27
|
-
background: linear-gradient(180deg, #c00000 0%, #c00000 0%, #a00000 100%, #a00000 100%);
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
border-color: #bc0000;
|
|
31
|
-
background: #bc0000;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-cancel {
|
|
36
|
-
border-color: #808080;
|
|
37
|
-
background: linear-gradient(180deg, #909090 0%, #909090 0%, #707070 100%, #707070 100%);
|
|
38
|
-
|
|
39
|
-
&:hover {
|
|
40
|
-
border-color: #808080;
|
|
41
|
-
background: #808080;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
$namespace: ab-dp-cg;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
&-title, &-head, &-content {
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-title {
|
|
10
|
-
user-select: none;
|
|
11
|
-
font-size: .14rem;
|
|
12
|
-
padding-bottom: .08rem;
|
|
13
|
-
|
|
14
|
-
> strong {
|
|
15
|
-
flex: 1 1;
|
|
16
|
-
margin-left: .1rem;
|
|
17
|
-
cursor: default;
|
|
18
|
-
color: #4A4A4A;
|
|
19
|
-
|
|
20
|
-
&.#{$namespace}-clickable {
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
|
|
23
|
-
&:hover {
|
|
24
|
-
color: #000;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-icon, &-dis-icon {
|
|
31
|
-
align-self: flex-end;
|
|
32
|
-
margin-left: .08rem;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-icon {
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-head {
|
|
40
|
-
padding-bottom: .05rem;
|
|
41
|
-
|
|
42
|
-
> li {
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: center;
|
|
46
|
-
cursor: default;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&-content {
|
|
51
|
-
flex-wrap: wrap;
|
|
52
|
-
|
|
53
|
-
> li {
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
color: #000;
|
|
59
|
-
|
|
60
|
-
&:hover {
|
|
61
|
-
background: #F0F0F0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.#{$namespace}-dis {
|
|
65
|
-
cursor: not-allowed;
|
|
66
|
-
color: #b0b0b0;
|
|
67
|
-
|
|
68
|
-
&:hover {
|
|
69
|
-
background: none;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&:active, &.#{$namespace}-selected {
|
|
74
|
-
background: #c7e0f4;
|
|
75
|
-
border: 3px solid #C7E0F4;
|
|
76
|
-
border-radius: 2px;
|
|
77
|
-
color: #000000;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&.#{$namespace}-today {
|
|
81
|
-
background: #0078D4;
|
|
82
|
-
color: #ffffff;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&-arrow {
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
$namespace: ab-dp-cal;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
display: flex;
|
|
5
|
-
|
|
6
|
-
&-my {
|
|
7
|
-
padding-left: .12rem;
|
|
8
|
-
margin-left: .12rem;
|
|
9
|
-
border-left: 1px solid #B0B0B0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&-day, &-my {
|
|
13
|
-
width: 2.1rem;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-dis {
|
|
17
|
-
color: #C8C8C8;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-dg {
|
|
21
|
-
> ul {
|
|
22
|
-
> li {
|
|
23
|
-
width: 14.28%;
|
|
24
|
-
height: .28rem;
|
|
25
|
-
|
|
26
|
-
&.#{$namespace}-out {
|
|
27
|
-
color: #666666;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-myg {
|
|
34
|
-
padding-bottom: .62rem;
|
|
35
|
-
|
|
36
|
-
> ul {
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
|
|
39
|
-
> li {
|
|
40
|
-
width: .4rem;
|
|
41
|
-
height: .4rem;
|
|
42
|
-
margin-bottom: .1rem;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&-t {
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
position: absolute;
|
|
50
|
-
right: .08rem;
|
|
51
|
-
bottom: .3rem;
|
|
52
|
-
|
|
53
|
-
&.#{$namespace}-t-dis {
|
|
54
|
-
color: #b0b0b0;
|
|
55
|
-
cursor: default;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
$namespace: ab-date-picker;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
position: relative;
|
|
5
|
-
|
|
6
|
-
&-input {
|
|
7
|
-
outline: none;
|
|
8
|
-
font-size: .14rem;
|
|
9
|
-
padding: .04rem;
|
|
10
|
-
width: 1.44rem;
|
|
11
|
-
|
|
12
|
-
&.#{$namespace}-error {
|
|
13
|
-
background: #fffacd;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&-icon {
|
|
18
|
-
color: #606060;
|
|
19
|
-
position: absolute;
|
|
20
|
-
right: 0.05rem;
|
|
21
|
-
top: 50%;
|
|
22
|
-
transform: translateY(-50%);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
$namespace: ab-drawer;
|
|
2
|
-
|
|
3
|
-
.#{$namespace} {
|
|
4
|
-
position: fixed;
|
|
5
|
-
z-index: 101;
|
|
6
|
-
background-color: #fff;
|
|
7
|
-
overflow: auto;
|
|
8
|
-
transition: transform 300ms cubic-bezier(.7, .3, .1, 1);
|
|
9
|
-
|
|
10
|
-
&-times {
|
|
11
|
-
position: absolute;
|
|
12
|
-
right: .17rem;
|
|
13
|
-
font-size: .16rem;
|
|
14
|
-
color: #b0b0b0;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
top: .11rem;
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
color: #333;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-tf-top {
|
|
24
|
-
transform: translate(0, -100%);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-tf-bottom {
|
|
28
|
-
transform: translate(0, 100%);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&-tf-left {
|
|
32
|
-
transform: translate(-100%, 0);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-tf-right {
|
|
36
|
-
transform: translate(100%, 0);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-hidden {
|
|
40
|
-
&.ab-mask, &.ab-drawer {
|
|
41
|
-
display: none;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
$namespace: ab-ellipsis;
|
|
2
|
-
|
|
3
|
-
$lines: (1) (2) (3) (4) (5);
|
|
4
|
-
@mixin generateLines($type) {
|
|
5
|
-
@each $val in $lines {
|
|
6
|
-
&.#{$namespace}#{$type}#{$val} {
|
|
7
|
-
-webkit-line-clamp: $val;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@mixin clearLines($type) {
|
|
13
|
-
@each $val in $lines {
|
|
14
|
-
&.#{$namespace}#{$type}#{$val} {
|
|
15
|
-
-webkit-line-clamp: unset;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.#{$namespace} {
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
display: block;
|
|
23
|
-
display: -webkit-box;
|
|
24
|
-
-webkit-box-orient: vertical;
|
|
25
|
-
|
|
26
|
-
@include generateLines('-line');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
@media only screen and (max-width: 767px) {
|
|
31
|
-
.#{$namespace} {
|
|
32
|
-
@include clearLines('-line');
|
|
33
|
-
@include generateLines('-m-line');
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/esm/guide/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|