element-plus 2.2.20 → 2.2.22
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +118 -61
- package/dist/index.full.min.js +14 -14
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +118 -61
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.d.ts +12 -8
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +12 -8
- package/es/components/button/src/button-group.d.ts +6 -0
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/calendar/src/use-calendar.mjs +1 -1
- package/es/components/calendar/src/use-calendar.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +48 -32
- package/es/components/cascader/src/index.mjs +3 -2
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/cascader/src/index.vue.d.ts +24 -16
- package/es/components/checkbox/src/composables/use-checkbox-status.mjs +7 -2
- package/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +132 -88
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +132 -88
- package/es/components/date-picker/src/panel-utils.d.ts +264 -176
- package/es/components/dropdown/src/dropdown-item.mjs +3 -0
- package/es/components/dropdown/src/dropdown-item.mjs.map +1 -1
- package/es/components/focus-trap/src/utils.mjs +4 -0
- package/es/components/focus-trap/src/utils.mjs.map +1 -1
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.d.ts +12 -0
- package/es/components/pagination/src/components/jumper.mjs +9 -53
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +16 -2
- package/es/components/pagination/src/components/jumper2.mjs +64 -0
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -0
- package/es/components/pagination/src/components/pager2.mjs +2 -2
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +4 -2
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- package/es/components/scrollbar/index.d.ts +12 -8
- package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.mjs +4 -1
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +12 -8
- package/es/components/scrollbar/src/scrollbar2.mjs +44 -38
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/select-v2/src/select.mjs +2 -2
- package/es/components/select-v2/src/select.mjs.map +1 -1
- package/es/components/select-v2/src/useSelect.mjs +3 -2
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.mjs +3 -3
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-layout.mjs +1 -1
- package/es/components/table/src/table-layout.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +108 -72
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +132 -88
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +132 -88
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +12 -8
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +12 -8
- package/lib/components/button/src/button-group.d.ts +6 -0
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/calendar/src/use-calendar.js +1 -1
- package/lib/components/calendar/src/use-calendar.js.map +1 -1
- package/lib/components/cascader/index.d.ts +48 -32
- package/lib/components/cascader/src/index.js +2 -1
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +24 -16
- package/lib/components/checkbox/src/composables/use-checkbox-status.js +6 -1
- package/lib/components/checkbox/src/composables/use-checkbox-status.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +132 -88
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +132 -88
- package/lib/components/date-picker/src/panel-utils.d.ts +264 -176
- package/lib/components/dropdown/src/dropdown-item.js +3 -0
- package/lib/components/dropdown/src/dropdown-item.js.map +1 -1
- package/lib/components/focus-trap/src/utils.js +4 -0
- package/lib/components/focus-trap/src/utils.js.map +1 -1
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.d.ts +12 -0
- package/lib/components/pagination/src/components/jumper.js +9 -53
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +16 -2
- package/lib/components/pagination/src/components/jumper2.js +68 -0
- package/lib/components/pagination/src/components/jumper2.js.map +1 -0
- package/lib/components/pagination/src/components/pager2.js +2 -2
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +4 -2
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/components/scrollbar/index.d.ts +12 -8
- package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.js +4 -1
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +12 -8
- package/lib/components/scrollbar/src/scrollbar2.js +44 -38
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/select-v2/src/select.js +2 -2
- package/lib/components/select-v2/src/select.js.map +1 -1
- package/lib/components/select-v2/src/useSelect.js +3 -2
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/table/src/table/style-helper.js +3 -3
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-layout.js +1 -1
- package/lib/components/table/src/table-layout.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +108 -72
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +132 -88
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +132 -88
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-image-viewer.css +1 -1
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/el-pagination.css +1 -1
- package/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/var.scss +5 -3
- package/theme-chalk/src/image-viewer.scss +1 -0
- package/theme-chalk/src/input.scss +0 -4
- package/theme-chalk/src/pagination.scss +108 -258
- package/theme-chalk/src/select-v2.scss +8 -14
- package/theme-chalk/src/select.scss +29 -30
- package/web-types.json +1 -1
|
@@ -804,7 +804,7 @@ $pagination: map.merge(
|
|
|
804
804
|
'font-size': 14px,
|
|
805
805
|
'bg-color': getCssVar('fill-color', 'blank'),
|
|
806
806
|
'text-color': getCssVar('text-color-primary'),
|
|
807
|
-
'border-radius':
|
|
807
|
+
'border-radius': 2px,
|
|
808
808
|
'button-color': getCssVar('text-color-primary'),
|
|
809
809
|
'button-width': 32px,
|
|
810
810
|
'button-height': 32px,
|
|
@@ -812,8 +812,10 @@ $pagination: map.merge(
|
|
|
812
812
|
'button-disabled-bg-color': getCssVar('fill-color', 'blank'),
|
|
813
813
|
'button-bg-color': getCssVar('fill-color'),
|
|
814
814
|
'hover-color': getCssVar('color-primary'),
|
|
815
|
-
'
|
|
816
|
-
'
|
|
815
|
+
'font-size-small': 12px,
|
|
816
|
+
'button-width-small': 24px,
|
|
817
|
+
'button-height-small': 24px,
|
|
818
|
+
'item-gap': 16px,
|
|
817
819
|
),
|
|
818
820
|
$pagination
|
|
819
821
|
);
|
|
@@ -5,23 +5,6 @@
|
|
|
5
5
|
@use 'mixins/var' as *;
|
|
6
6
|
@use 'common/var' as *;
|
|
7
7
|
|
|
8
|
-
@mixin remove-margin {
|
|
9
|
-
& + button.btn-prev[type='button'] {
|
|
10
|
-
margin-left: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
& + .#{$namespace}-pager {
|
|
14
|
-
.number {
|
|
15
|
-
&:first-child {
|
|
16
|
-
margin-left: 0;
|
|
17
|
-
}
|
|
18
|
-
&:last-child {
|
|
19
|
-
margin-right: 0;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
8
|
@mixin pagination-button {
|
|
26
9
|
display: flex;
|
|
27
10
|
justify-content: center;
|
|
@@ -30,29 +13,63 @@
|
|
|
30
13
|
min-width: getCssVar('pagination-button-width');
|
|
31
14
|
height: getCssVar('pagination-button-height');
|
|
32
15
|
line-height: getCssVar('pagination-button-height');
|
|
16
|
+
color: getCssVar('pagination-button-color');
|
|
17
|
+
background: getCssVar('pagination-bg-color');
|
|
18
|
+
padding: 0 4px;
|
|
19
|
+
border: none;
|
|
20
|
+
border-radius: getCssVar('pagination-border-radius');
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
text-align: center;
|
|
33
23
|
box-sizing: border-box;
|
|
24
|
+
|
|
25
|
+
* {
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:focus {
|
|
30
|
+
outline: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:hover {
|
|
34
|
+
color: getCssVar('pagination-hover-color');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.is-active {
|
|
38
|
+
color: getCssVar('pagination-hover-color');
|
|
39
|
+
cursor: default;
|
|
40
|
+
font-weight: bold;
|
|
41
|
+
|
|
42
|
+
&.is-disabled {
|
|
43
|
+
font-weight: bold;
|
|
44
|
+
color: getCssVar('text-color', 'secondary');
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:disabled,
|
|
49
|
+
&.is-disabled {
|
|
50
|
+
color: getCssVar('pagination-button-disabled-color');
|
|
51
|
+
background-color: getCssVar('pagination-button-disabled-bg-color');
|
|
52
|
+
cursor: not-allowed;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:focus-visible {
|
|
56
|
+
outline: 1px solid getCssVar('pagination-hover-color');
|
|
57
|
+
outline-offset: -1px;
|
|
58
|
+
}
|
|
34
59
|
}
|
|
35
60
|
|
|
36
61
|
@include b(pagination) {
|
|
37
62
|
@include set-component-css-var('pagination', $pagination);
|
|
38
63
|
|
|
39
64
|
white-space: nowrap;
|
|
40
|
-
padding: 2px 5px;
|
|
41
65
|
color: getCssVar('pagination-text-color');
|
|
42
66
|
font-weight: normal;
|
|
43
67
|
display: flex;
|
|
44
68
|
align-items: center;
|
|
45
|
-
@include utils-clearfix;
|
|
46
|
-
|
|
47
|
-
span:not([class*='suffix']),
|
|
48
|
-
button {
|
|
49
|
-
@include pagination-button;
|
|
50
|
-
}
|
|
51
69
|
|
|
52
70
|
.#{$namespace}-input__inner {
|
|
53
71
|
text-align: center;
|
|
54
72
|
-moz-appearance: textfield;
|
|
55
|
-
line-height: normal;
|
|
56
73
|
}
|
|
57
74
|
|
|
58
75
|
.#{$namespace}-select .#{$namespace}-input {
|
|
@@ -60,183 +77,110 @@
|
|
|
60
77
|
}
|
|
61
78
|
|
|
62
79
|
button {
|
|
63
|
-
|
|
64
|
-
padding: 0 6px;
|
|
65
|
-
background: transparent;
|
|
66
|
-
|
|
67
|
-
&:focus {
|
|
68
|
-
outline: none;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&:hover {
|
|
72
|
-
color: getCssVar('pagination-hover-color');
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&:disabled {
|
|
76
|
-
color: getCssVar('pagination-button-disabled-color');
|
|
77
|
-
background-color: getCssVar('pagination-button-disabled-bg-color');
|
|
78
|
-
cursor: not-allowed;
|
|
79
|
-
}
|
|
80
|
+
@include pagination-button;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
.btn-prev,
|
|
83
84
|
.btn-next {
|
|
84
|
-
background: center center no-repeat;
|
|
85
|
-
background-size: 16px;
|
|
86
|
-
background-color: getCssVar('pagination-bg-color');
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
margin: 0;
|
|
89
|
-
color: getCssVar('pagination-button-color');
|
|
90
|
-
|
|
91
85
|
.#{$namespace}-icon {
|
|
92
86
|
display: block;
|
|
93
87
|
font-size: 12px;
|
|
94
88
|
font-weight: bold;
|
|
95
89
|
width: inherit;
|
|
96
90
|
}
|
|
97
|
-
|
|
98
|
-
&:focus-visible {
|
|
99
|
-
outline: 1px solid getCssVar('pagination-hover-color');
|
|
100
|
-
color: getCssVar('pagination-hover-color');
|
|
101
|
-
}
|
|
102
91
|
}
|
|
103
92
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@include m(small) {
|
|
110
|
-
.btn-prev,
|
|
111
|
-
.btn-next,
|
|
112
|
-
.#{$namespace}-pager li,
|
|
113
|
-
.#{$namespace}-pager li.btn-quicknext,
|
|
114
|
-
.#{$namespace}-pager li.btn-quickprev,
|
|
115
|
-
.#{$namespace}-pager li:last-child {
|
|
116
|
-
border-color: transparent;
|
|
117
|
-
font-size: getCssVar('font-size-extra-small');
|
|
118
|
-
line-height: getCssVar('pagination-line-height-extra-small');
|
|
119
|
-
height: getCssVar('pagination-height-extra-small');
|
|
120
|
-
min-width: 24px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.arrow.is-disabled {
|
|
124
|
-
visibility: hidden;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.more::before,
|
|
128
|
-
li.more::before {
|
|
129
|
-
line-height: getCssVar('pagination-line-height-extra-small');
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
span:not([class*='suffix']),
|
|
133
|
-
button {
|
|
134
|
-
height: getCssVar('pagination-height-extra-small');
|
|
135
|
-
line-height: getCssVar('pagination-line-height-extra-small');
|
|
136
|
-
font-size: getCssVar('font-size-extra-small');
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
@include e(editor) {
|
|
140
|
-
height: getCssVar('pagination-line-height-extra-small');
|
|
141
|
-
&.#{$namespace}-input .#{$namespace}-input__inner {
|
|
142
|
-
height: getCssVar('pagination-height-extra-small');
|
|
143
|
-
}
|
|
93
|
+
& > * {
|
|
94
|
+
@include when(first) {
|
|
95
|
+
margin-left: 0 !important;
|
|
144
96
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
.#{$namespace}-input--small {
|
|
148
|
-
height: getCssVar('pagination-height-extra-small') !important;
|
|
149
|
-
line-height: getCssVar('pagination-line-height-extra-small');
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.#{$namespace}-input__suffix {
|
|
153
|
-
line-height: getCssVar('pagination-line-height-extra-small');
|
|
154
|
-
.#{$namespace}-input__suffix-inner {
|
|
155
|
-
line-height: getCssVar('pagination-line-height-extra-small');
|
|
156
|
-
i.#{$namespace}-select__caret {
|
|
157
|
-
line-height: getCssVar('pagination-line-height-extra-small');
|
|
158
|
-
}
|
|
159
|
-
}
|
|
97
|
+
@include when(last) {
|
|
98
|
+
margin-right: 0 !important;
|
|
160
99
|
}
|
|
100
|
+
}
|
|
161
101
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
102
|
+
.btn-prev {
|
|
103
|
+
margin-left: getCssVar('pagination-item-gap');
|
|
165
104
|
}
|
|
166
105
|
|
|
167
106
|
@include e(sizes) {
|
|
168
|
-
margin:
|
|
107
|
+
margin-left: getCssVar('pagination-item-gap');
|
|
169
108
|
font-weight: normal;
|
|
170
109
|
color: getCssVar('text-color', 'regular');
|
|
171
|
-
@include remove-margin();
|
|
172
110
|
}
|
|
173
111
|
|
|
174
112
|
@include e(total) {
|
|
175
|
-
margin-
|
|
113
|
+
margin-left: getCssVar('pagination-item-gap');
|
|
176
114
|
font-weight: normal;
|
|
177
115
|
color: getCssVar('text-color', 'regular');
|
|
178
|
-
|
|
116
|
+
|
|
179
117
|
&[disabled='true'] {
|
|
180
118
|
color: getCssVar('text-color', 'placeholder');
|
|
181
119
|
}
|
|
182
120
|
}
|
|
183
121
|
|
|
184
122
|
@include e(jump) {
|
|
185
|
-
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
margin-left: getCssVar('pagination-item-gap');
|
|
186
126
|
font-weight: normal;
|
|
187
127
|
color: getCssVar('text-color', 'regular');
|
|
188
128
|
|
|
189
|
-
.#{$namespace}-input__inner {
|
|
190
|
-
padding: 0 3px;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
129
|
&[disabled='true'] {
|
|
194
130
|
color: getCssVar('text-color', 'placeholder');
|
|
195
131
|
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
@include e(rightwrapper) {
|
|
199
|
-
flex: 1;
|
|
200
|
-
display: flex;
|
|
201
|
-
align-items: center;
|
|
202
|
-
justify-content: flex-end;
|
|
203
|
-
}
|
|
204
132
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
min-width: 56px;
|
|
133
|
+
@include e(editor) {
|
|
134
|
+
margin-left: 8px;
|
|
135
|
+
text-align: center;
|
|
136
|
+
box-sizing: border-box;
|
|
210
137
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
138
|
+
&.#{$namespace}-input {
|
|
139
|
+
width: 56px;
|
|
140
|
+
}
|
|
214
141
|
|
|
215
|
-
|
|
216
|
-
|
|
142
|
+
.#{$namespace}-input__inner::-webkit-inner-spin-button,
|
|
143
|
+
.#{$namespace}-input__inner::-webkit-outer-spin-button {
|
|
144
|
+
-webkit-appearance: none;
|
|
145
|
+
margin: 0;
|
|
146
|
+
}
|
|
217
147
|
}
|
|
148
|
+
}
|
|
218
149
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
150
|
+
@include b(pager) {
|
|
151
|
+
user-select: none;
|
|
152
|
+
list-style: none;
|
|
153
|
+
font-size: 0;
|
|
154
|
+
padding: 0;
|
|
155
|
+
margin: 0;
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: center;
|
|
222
158
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
-webkit-appearance: none;
|
|
226
|
-
margin: 0;
|
|
159
|
+
li {
|
|
160
|
+
@include pagination-button;
|
|
227
161
|
}
|
|
228
162
|
}
|
|
229
163
|
|
|
164
|
+
@include e(rightwrapper) {
|
|
165
|
+
flex: 1;
|
|
166
|
+
display: flex;
|
|
167
|
+
align-items: center;
|
|
168
|
+
justify-content: flex-end;
|
|
169
|
+
}
|
|
170
|
+
|
|
230
171
|
@include when(background) {
|
|
231
172
|
.btn-prev,
|
|
232
173
|
.btn-next,
|
|
233
174
|
.#{$namespace}-pager li {
|
|
234
175
|
margin: 0 4px;
|
|
235
176
|
background-color: getCssVar('pagination-button-bg-color');
|
|
236
|
-
color: getCssVar('text-color', 'regular');
|
|
237
|
-
min-width: 32px;
|
|
238
|
-
border-radius: 2px;
|
|
239
177
|
|
|
178
|
+
&.is-active {
|
|
179
|
+
background-color: getCssVar('color-primary');
|
|
180
|
+
color: getCssVar('color-white');
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&:disabled,
|
|
240
184
|
&.is-disabled {
|
|
241
185
|
color: getCssVar('text-color', 'placeholder');
|
|
242
186
|
background-color: getCssVar('disabled-bg-color');
|
|
@@ -246,124 +190,30 @@
|
|
|
246
190
|
background-color: getCssVar('fill-color', 'dark');
|
|
247
191
|
}
|
|
248
192
|
}
|
|
249
|
-
@include when(first) {
|
|
250
|
-
margin-left: 0;
|
|
251
|
-
}
|
|
252
|
-
@include when(last) {
|
|
253
|
-
margin-right: 0;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.btn-prev,
|
|
258
|
-
.btn-next {
|
|
259
|
-
padding: 0;
|
|
260
|
-
|
|
261
|
-
&:disabled {
|
|
262
|
-
color: getCssVar('text-color', 'placeholder');
|
|
263
|
-
background-color: getCssVar('disabled-bg-color');
|
|
264
|
-
}
|
|
265
|
-
&:hover:not([disabled]) {
|
|
266
|
-
color: getCssVar('pagination-hover-color');
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.#{$namespace}-pager li:not(.is-disabled) {
|
|
271
|
-
&:hover {
|
|
272
|
-
color: getCssVar('pagination-hover-color');
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
&.is-active {
|
|
276
|
-
background-color: getCssVar('color-primary');
|
|
277
|
-
color: getCssVar('color-white');
|
|
278
|
-
font-weight: bold;
|
|
279
|
-
}
|
|
280
193
|
}
|
|
281
194
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
.btn-next,
|
|
285
|
-
.#{$namespace}-pager li {
|
|
286
|
-
min-width: 24px;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
@include e(sizes) {
|
|
291
|
-
@include when(last) {
|
|
292
|
-
margin-left: 16px;
|
|
293
|
-
}
|
|
195
|
+
.btn-prev {
|
|
196
|
+
margin-left: getCssVar('pagination-item-gap');
|
|
294
197
|
}
|
|
295
198
|
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
@include b(pager) {
|
|
299
|
-
user-select: none;
|
|
300
|
-
list-style: none;
|
|
301
|
-
font-size: 0;
|
|
302
|
-
padding: 0;
|
|
303
|
-
margin: 0;
|
|
304
|
-
display: flex;
|
|
305
|
-
align-items: center;
|
|
306
|
-
|
|
307
|
-
li {
|
|
308
|
-
padding: 0 4px;
|
|
309
|
-
background: getCssVar('pagination-bg-color');
|
|
310
|
-
@include pagination-button;
|
|
311
|
-
cursor: pointer;
|
|
312
|
-
text-align: center;
|
|
313
|
-
margin: 0 1px;
|
|
314
199
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
&.btn-quicknext,
|
|
324
|
-
&.btn-quickprev {
|
|
325
|
-
line-height: 32px;
|
|
326
|
-
color: getCssVar('pagination-button-color');
|
|
327
|
-
|
|
328
|
-
&.is-disabled {
|
|
329
|
-
color: getCssVar('text-color', 'placeholder');
|
|
330
|
-
cursor: not-allowed;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
svg {
|
|
334
|
-
pointer-events: none;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
&:focus-visible {
|
|
338
|
-
outline: 1px solid getCssVar('pagination-hover-color');
|
|
339
|
-
color: getCssVar('pagination-hover-color');
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
&.is-active + li {
|
|
344
|
-
border-left: 0;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
&:focus-visible {
|
|
348
|
-
outline: 1px solid getCssVar('pagination-hover-color');
|
|
200
|
+
@include m(small) {
|
|
201
|
+
.btn-prev,
|
|
202
|
+
.btn-next,
|
|
203
|
+
.#{$namespace}-pager li {
|
|
204
|
+
height: getCssVar('pagination-button-height-small');
|
|
205
|
+
line-height: getCssVar('pagination-button-height-small');
|
|
206
|
+
font-size: getCssVar('pagination-font-size-small');
|
|
207
|
+
min-width: getCssVar('pagination-button-width-small');
|
|
349
208
|
}
|
|
350
209
|
|
|
351
|
-
|
|
352
|
-
|
|
210
|
+
span:not([class*='suffix']),
|
|
211
|
+
button {
|
|
212
|
+
font-size: getCssVar('pagination-font-size-small');
|
|
353
213
|
}
|
|
354
214
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
cursor: default;
|
|
358
|
-
|
|
359
|
-
&.is-disabled {
|
|
360
|
-
font-weight: bold;
|
|
361
|
-
color: getCssVar('text-color', 'secondary');
|
|
362
|
-
}
|
|
215
|
+
.#{$namespace}-select .#{$namespace}-input {
|
|
216
|
+
width: 100px;
|
|
363
217
|
}
|
|
364
218
|
}
|
|
365
|
-
|
|
366
|
-
& + button.btn-next[type='button'] {
|
|
367
|
-
margin-right: 0;
|
|
368
|
-
}
|
|
369
219
|
}
|
|
@@ -25,14 +25,15 @@ $input-inline-start: map.get($input-padding-horizontal, 'default') !default;
|
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
flex-wrap: wrap;
|
|
28
|
-
|
|
28
|
+
position: relative;
|
|
29
29
|
box-sizing: border-box;
|
|
30
30
|
cursor: pointer;
|
|
31
31
|
padding: 1px 30px 1px 0;
|
|
32
32
|
border: 1px solid getCssVar('border-color');
|
|
33
33
|
border-radius: getCssVar('border-radius-base');
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
background-color: getCssVar('fill-color', 'blank');
|
|
35
|
+
transition: getCssVar('transition', 'duration');
|
|
36
|
+
|
|
36
37
|
&:hover {
|
|
37
38
|
border-color: getCssVar('text-color', 'placeholder');
|
|
38
39
|
}
|
|
@@ -47,7 +48,7 @@ $input-inline-start: map.get($input-padding-horizontal, 'default') !default;
|
|
|
47
48
|
|
|
48
49
|
@include when(hovering) {
|
|
49
50
|
&:not(.is-focused) {
|
|
50
|
-
border-color: getCssVar('
|
|
51
|
+
border-color: getCssVar('border-color-hover');
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
|
|
@@ -180,6 +181,7 @@ $input-inline-start: map.get($input-padding-horizontal, 'default') !default;
|
|
|
180
181
|
#{$selector}__combobox-input {
|
|
181
182
|
padding-right: 35px;
|
|
182
183
|
display: block;
|
|
184
|
+
color: getCssVar('text-color', 'regular');
|
|
183
185
|
|
|
184
186
|
&:focus {
|
|
185
187
|
border-color: getCssVar('select-input-focus-border-color');
|
|
@@ -236,7 +238,7 @@ $input-inline-start: map.get($input-padding-horizontal, 'default') !default;
|
|
|
236
238
|
@include e(caret) {
|
|
237
239
|
color: getCssVar('select-input-color');
|
|
238
240
|
font-size: getCssVar('select-input-font-size');
|
|
239
|
-
transition:
|
|
241
|
+
transition: getCssVar('transition', 'duration');
|
|
240
242
|
transform: rotateZ(180deg);
|
|
241
243
|
cursor: pointer;
|
|
242
244
|
|
|
@@ -259,6 +261,7 @@ $input-inline-start: map.get($input-padding-horizontal, 'default') !default;
|
|
|
259
261
|
|
|
260
262
|
&.#{$namespace}-icon {
|
|
261
263
|
height: inherit;
|
|
264
|
+
|
|
262
265
|
svg {
|
|
263
266
|
vertical-align: middle;
|
|
264
267
|
}
|
|
@@ -273,15 +276,6 @@ $input-inline-start: map.get($input-padding-horizontal, 'default') !default;
|
|
|
273
276
|
flex-wrap: wrap;
|
|
274
277
|
}
|
|
275
278
|
|
|
276
|
-
@include e(wrapper) {
|
|
277
|
-
background-color: getCssVar('fill-color', 'blank');
|
|
278
|
-
border: 1px solid getCssVar('border-color');
|
|
279
|
-
border-radius: getCssVar('border-radius-base');
|
|
280
|
-
position: relative;
|
|
281
|
-
transition: all getCssVar('transition-duration')
|
|
282
|
-
getCssVar('ease-in-out-bezier-function');
|
|
283
|
-
}
|
|
284
|
-
|
|
285
279
|
@include e(input-calculator) {
|
|
286
280
|
left: 0;
|
|
287
281
|
position: absolute;
|
|
@@ -13,6 +13,35 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
flex-wrap: wrap;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
|
|
18
|
+
.#{$namespace}-tag {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
border-color: transparent;
|
|
21
|
+
margin: 2px 6px 2px 0;
|
|
22
|
+
&:last-child {
|
|
23
|
+
margin-right: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.#{$namespace}-icon-close {
|
|
27
|
+
background-color: getCssVar('text-color', 'placeholder');
|
|
28
|
+
right: -7px;
|
|
29
|
+
top: 0;
|
|
30
|
+
color: $color-white;
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: getCssVar('text-color', 'secondary');
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&::before {
|
|
37
|
+
display: block;
|
|
38
|
+
transform: translate(0, 0.5px);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.#{$namespace}-tag--info {
|
|
43
|
+
background-color: getCssVar('fill-color');
|
|
44
|
+
}
|
|
16
45
|
}
|
|
17
46
|
|
|
18
47
|
@include b(select) {
|
|
@@ -187,34 +216,4 @@
|
|
|
187
216
|
height: inherit;
|
|
188
217
|
display: flex;
|
|
189
218
|
}
|
|
190
|
-
|
|
191
|
-
.#{$namespace}-select__tags {
|
|
192
|
-
.#{$namespace}-tag {
|
|
193
|
-
box-sizing: border-box;
|
|
194
|
-
border-color: transparent;
|
|
195
|
-
margin: 2px 6px 2px 0;
|
|
196
|
-
&:last-child {
|
|
197
|
-
margin-right: 0;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.#{$namespace}-icon-close {
|
|
201
|
-
background-color: getCssVar('text-color', 'placeholder');
|
|
202
|
-
right: -7px;
|
|
203
|
-
top: 0;
|
|
204
|
-
color: $color-white;
|
|
205
|
-
|
|
206
|
-
&:hover {
|
|
207
|
-
background-color: getCssVar('text-color', 'secondary');
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
&::before {
|
|
211
|
-
display: block;
|
|
212
|
-
transform: translate(0, 0.5px);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
.#{$namespace}-tag--info {
|
|
217
|
-
background-color: getCssVar('fill-color');
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
219
|
}
|