@varlet/ui 2.22.3 → 3.0.0-alpha.1707916363117
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/README.md +1 -0
- package/README.zh-CN.md +1 -0
- package/es/action-sheet/ActionSheet.mjs +3 -3
- package/es/back-top/BackTop.mjs +0 -1
- package/es/back-top/backTop.css +1 -1
- package/es/badge/badge.css +1 -1
- package/es/bottom-navigation/BottomNavigation.mjs +1 -1
- package/es/bottom-navigation/bottomNavigation.css +1 -1
- package/es/button/Button.mjs +12 -7
- package/es/button/button.css +1 -1
- package/es/button/props.mjs +1 -0
- package/es/card/Card.mjs +0 -1
- package/es/card/card.css +1 -1
- package/es/cell/cell.css +1 -1
- package/es/chip/Chip.mjs +1 -1
- package/es/chip/chip.css +1 -1
- package/es/chip/props.mjs +0 -2
- package/es/collapse-item/collapseItem.css +1 -1
- package/es/countdown/countdown.css +1 -1
- package/es/date-picker/DatePicker.mjs +11 -11
- package/es/date-picker/date-picker.css +1 -1
- package/es/date-picker/props.mjs +0 -2
- package/es/date-picker/src/day-picker-panel.mjs +2 -2
- package/es/date-picker/src/month-picker-panel.mjs +3 -3
- package/es/date-picker/src/panel-header.mjs +11 -9
- package/es/dialog/Dialog.mjs +5 -5
- package/es/divider/divider.css +1 -1
- package/es/fab/Fab.mjs +1 -1
- package/es/fab/fab.css +1 -1
- package/es/field-decorator/FieldDecorator.mjs +33 -15
- package/es/field-decorator/fieldDecorator.css +1 -1
- package/es/field-decorator/props.mjs +4 -0
- package/es/hover-overlay/hoverOverlay.css +1 -1
- package/es/icon/icon.css +1 -1
- package/es/image-preview/ImagePreview.mjs +2 -10
- package/es/image-preview/props.mjs +0 -2
- package/es/index-bar/IndexBar.mjs +1 -1
- package/es/index-bar/props.mjs +0 -2
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/input/Input.mjs +1 -0
- package/es/list/List.mjs +5 -5
- package/es/loading-bar/index.mjs +0 -5
- package/es/locale/en-US.d.ts +2 -2
- package/es/locale/fa-IR.d.ts +2 -2
- package/es/locale/index.mjs +32 -25
- package/es/locale/zh-CN.d.ts +2 -2
- package/es/locale/zh-HK.d.ts +2 -2
- package/es/locale/zh-HK.mjs +2 -2
- package/es/locale/zh-TW.d.ts +2 -2
- package/es/pagination/Pagination.mjs +5 -5
- package/es/pagination/pagination.css +1 -1
- package/es/picker/Picker.mjs +5 -5
- package/es/picker/picker.css +1 -1
- package/es/progress/Progress.mjs +1 -1
- package/es/progress/progress.css +1 -1
- package/es/progress/props.mjs +0 -1
- package/es/slider/slider.css +1 -1
- package/es/step/step.css +1 -1
- package/es/style.css +1 -1
- package/es/styles/common.css +1 -1
- package/es/switch/Switch.mjs +1 -1
- package/es/table/table.css +1 -1
- package/es/themes/dark/badge.mjs +2 -1
- package/es/themes/dark/bottomNavigation.mjs +1 -2
- package/es/themes/dark/button.mjs +3 -1
- package/es/themes/dark/card.mjs +0 -1
- package/es/themes/dark/cell.mjs +1 -2
- package/es/themes/dark/collapse.mjs +1 -2
- package/es/themes/dark/datePicker.mjs +1 -1
- package/es/themes/dark/divider.mjs +0 -1
- package/es/themes/dark/index.mjs +19 -4
- package/es/themes/dark/pagination.mjs +0 -1
- package/es/themes/dark/picker.mjs +0 -1
- package/es/themes/dark/table.mjs +1 -4
- package/es/themes/dark/timePicker.mjs +2 -1
- package/es/themes/index.mjs +3 -1
- package/es/themes/md3-dark/actionSheet.mjs +9 -0
- package/es/themes/md3-dark/appBar.mjs +7 -0
- package/es/themes/md3-dark/avatar.mjs +7 -0
- package/es/themes/md3-dark/backTop.mjs +6 -0
- package/es/themes/md3-dark/badge.mjs +7 -0
- package/es/themes/md3-dark/bottomNavigation.mjs +6 -0
- package/es/themes/md3-dark/bottomNavigationItem.mjs +8 -0
- package/es/themes/md3-dark/breadcrumb.mjs +6 -0
- package/es/themes/md3-dark/button.mjs +10 -0
- package/es/themes/md3-dark/card.mjs +27 -0
- package/es/themes/md3-dark/cell.mjs +6 -0
- package/es/themes/md3-dark/checkbox.mjs +7 -0
- package/es/themes/md3-dark/chip.mjs +8 -0
- package/es/themes/md3-dark/collapse.mjs +7 -0
- package/es/themes/md3-dark/counter.mjs +7 -0
- package/es/themes/md3-dark/datePicker.mjs +19 -0
- package/es/themes/md3-dark/dialog.mjs +15 -0
- package/es/themes/{dark/countdown.mjs → md3-dark/divider.mjs} +1 -1
- package/es/themes/md3-dark/fab.mjs +8 -0
- package/es/themes/md3-dark/fieldDecorator.mjs +7 -0
- package/es/themes/md3-dark/floatingPanel.mjs +10 -0
- package/es/themes/md3-dark/hoverOverlay.mjs +6 -0
- package/es/themes/md3-dark/index.d.ts +5 -0
- package/es/themes/md3-dark/index.mjs +96 -0
- package/es/themes/md3-dark/link.mjs +6 -0
- package/es/themes/md3-dark/menu.mjs +7 -0
- package/es/themes/md3-dark/menuOption.mjs +6 -0
- package/es/themes/md3-dark/menuSelect.mjs +7 -0
- package/es/themes/md3-dark/option.mjs +6 -0
- package/es/themes/md3-dark/pagination.mjs +9 -0
- package/es/themes/md3-dark/paper.mjs +6 -0
- package/es/themes/md3-dark/picker.mjs +10 -0
- package/es/themes/md3-dark/popup.mjs +6 -0
- package/es/themes/md3-dark/progress.mjs +6 -0
- package/es/themes/md3-dark/pullRefresh.mjs +6 -0
- package/es/themes/md3-dark/radio.mjs +7 -0
- package/es/themes/md3-dark/rate.mjs +6 -0
- package/es/themes/md3-dark/result.mjs +16 -0
- package/es/themes/md3-dark/select.mjs +7 -0
- package/es/themes/md3-dark/skeleton.mjs +11 -0
- package/es/themes/md3-dark/slider.mjs +10 -0
- package/es/themes/md3-dark/snackbar.mjs +7 -0
- package/es/themes/md3-dark/steps.mjs +8 -0
- package/es/themes/md3-dark/switch.mjs +7 -0
- package/es/themes/md3-dark/tab.mjs +6 -0
- package/es/themes/md3-dark/table.mjs +9 -0
- package/es/themes/md3-dark/tabs.mjs +6 -0
- package/es/themes/md3-dark/timePicker.mjs +27 -0
- package/es/themes/md3-dark/tooltip.mjs +8 -0
- package/es/themes/md3-dark/uploader.mjs +11 -0
- package/es/themes/md3-dark/watermark.mjs +6 -0
- package/es/themes/md3-light/actionSheet.mjs +9 -0
- package/es/themes/md3-light/avatar.mjs +7 -0
- package/es/themes/md3-light/backTop.mjs +6 -0
- package/es/themes/md3-light/bottomNavigation.mjs +7 -0
- package/es/themes/md3-light/bottomNavigationItem.mjs +7 -0
- package/es/themes/md3-light/breadcrumb.mjs +6 -0
- package/es/themes/md3-light/button.mjs +10 -0
- package/es/themes/md3-light/card.mjs +27 -0
- package/es/themes/md3-light/cell.mjs +6 -0
- package/es/themes/md3-light/checkbox.mjs +7 -0
- package/es/themes/md3-light/chip.mjs +8 -0
- package/es/themes/md3-light/collapse.mjs +7 -0
- package/es/themes/md3-light/datePicker.mjs +19 -0
- package/es/themes/md3-light/dialog.mjs +15 -0
- package/es/themes/md3-light/fab.mjs +8 -0
- package/es/themes/md3-light/fieldDecorator.mjs +7 -0
- package/es/themes/md3-light/floatingPanel.mjs +10 -0
- package/es/themes/md3-light/hoverOverlay.mjs +6 -0
- package/es/themes/md3-light/index.d.ts +5 -0
- package/es/themes/md3-light/index.mjs +86 -0
- package/es/themes/md3-light/link.mjs +6 -0
- package/es/themes/md3-light/menu.mjs +7 -0
- package/es/themes/md3-light/menuOption.mjs +6 -0
- package/es/themes/md3-light/menuSelect.mjs +7 -0
- package/es/themes/md3-light/option.mjs +6 -0
- package/es/themes/md3-light/pagination.mjs +6 -0
- package/es/themes/md3-light/paper.mjs +6 -0
- package/es/themes/md3-light/picker.mjs +8 -0
- package/es/themes/md3-light/popup.mjs +6 -0
- package/es/themes/md3-light/pullRefresh.mjs +6 -0
- package/es/themes/md3-light/radio.mjs +7 -0
- package/es/themes/md3-light/rate.mjs +6 -0
- package/es/themes/md3-light/result.mjs +12 -0
- package/es/themes/md3-light/select.mjs +7 -0
- package/es/themes/md3-light/slider.mjs +10 -0
- package/es/themes/md3-light/snackbar.mjs +7 -0
- package/es/themes/md3-light/switch.mjs +7 -0
- package/es/themes/md3-light/tab.mjs +6 -0
- package/es/themes/md3-light/table.mjs +7 -0
- package/es/themes/md3-light/tabs.mjs +6 -0
- package/es/themes/md3-light/timePicker.mjs +25 -0
- package/es/themes/md3-light/tooltip.mjs +7 -0
- package/es/themes/md3-light/uploader.mjs +11 -0
- package/es/time-picker/TimePicker.mjs +24 -16
- package/es/time-picker/clock.mjs +4 -4
- package/es/time-picker/props.mjs +0 -2
- package/es/time-picker/timePicker.css +1 -1
- package/es/tooltip/tooltip.css +1 -1
- package/es/uploader/uploader.css +1 -1
- package/es/varlet.esm.js +6588 -6082
- package/highlight/web-types.en-US.json +15 -6
- package/highlight/web-types.zh-CN.json +15 -6
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +2190 -1566
- package/package.json +8 -7
- package/types/button.d.ts +1 -0
- package/types/buttonGroup.d.ts +1 -1
- package/types/chip.d.ts +0 -2
- package/types/datePicker.d.ts +0 -2
- package/types/imagePreview.d.ts +0 -6
- package/types/indexBar.d.ts +0 -3
- package/types/loadingBar.d.ts +0 -3
- package/types/locale.d.ts +18 -14
- package/types/progress.d.ts +0 -3
- package/types/styleVars.d.ts +192 -68
- package/types/themes.d.ts +2 -0
- package/types/timePicker.d.ts +0 -2
- package/types/uploader.d.ts +1 -0
- package/umd/varlet.js +7 -5
package/es/styles/common.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.var--box { box-sizing: border-box;}.var--box * { box-sizing: border-box;}.var--relative { position: relative;}.var--absolute { position: absolute;}.var--hidden { overflow: hidden;}.var--lock { overflow: hidden !important;}.var--block { display: block;}.var--ellipsis { overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap;}.var--inline-block { display: inline-block;}.var--flex { display: flex;}.var--inline-flex { display: inline-flex;}:root { --font-size-xs: 10px; --font-size-sm: 12px; --font-size-md: 14px; --font-size-lg: 16px; --icon-size-xs: 16px; --icon-size-sm: 18px; --icon-size-md: 20px; --icon-size-lg: 22px; --color-body: #fff; --color-text: #333; --color-primary: #3a7afe; --color-info: #00afef; --color-success: #00c48f; --color-warning: #ff9f00; --color-danger: #f44336; --color-disabled: #e0e0e0; --color-text-disabled: #aaa; --opacity-disabled: 0.6; --cubic-bezier: cubic-bezier(0.25, 0.8, 0.5, 1); --shadow-key-umbra-opacity: rgba(0, 0, 0, 0.2); --shadow-key-penumbra-opacity: rgba(0, 0, 0, 0.14); --shadow-key-ambient-opacity: rgba(0, 0, 0, 0.12);}
|
|
1
|
+
.var--box { box-sizing: border-box;}.var--box * { box-sizing: border-box;}.var--relative { position: relative;}.var--absolute { position: absolute;}.var--hidden { overflow: hidden;}.var--lock { overflow: hidden !important;}.var--block { display: block;}.var--ellipsis { overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap;}.var--inline-block { display: inline-block;}.var--flex { display: flex;}.var--inline-flex { display: inline-flex;}:root { --font-size-xs: 10px; --font-size-sm: 12px; --font-size-md: 14px; --font-size-lg: 16px; --icon-size-xs: 16px; --icon-size-sm: 18px; --icon-size-md: 20px; --icon-size-lg: 22px; --color-body: #fff; --color-text: #333; --color-primary: #3a7afe; --color-info: #00afef; --color-success: #00c48f; --color-warning: #ff9f00; --color-danger: #f44336; --color-disabled: #e0e0e0; --color-text-disabled: #aaa; --color-on-primary: #fff; --color-on-info: #fff; --color-on-success: #fff; --color-on-warning: #fff; --color-on-danger: #fff; --color-primary-container: #3a7afe; --color-info-container: #00afef; --color-success-container: #00c48f; --color-warning-container: #ff9f00; --color-danger-container: #f44336; --color-on-primary-container: #fff; --color-on-info-container: #fff; --color-on-success-container: #fff; --color-on-warning-container: #fff; --color-on-danger-container: #fff; --color-outline: rgba(0, 0, 0, 0.12); --opacity-disabled: 0.6; --cubic-bezier: cubic-bezier(0.25, 0.8, 0.5, 1); --shadow-key-umbra-opacity: rgba(0, 0, 0, 0.2); --shadow-key-penumbra-opacity: rgba(0, 0, 0, 0.14); --shadow-key-ambient-opacity: rgba(0, 0, 0, 0.12);}
|
package/es/switch/Switch.mjs
CHANGED
|
@@ -142,7 +142,7 @@ const __sfc__ = defineComponent({
|
|
|
142
142
|
},
|
|
143
143
|
ripple: {
|
|
144
144
|
left: modelValue === activeValue ? multiplySizeUnit(size, 0.5) : `-${multiplySizeUnit(size, 0.5)}`,
|
|
145
|
-
color: modelValue === activeValue ? color : closeColor || "
|
|
145
|
+
color: modelValue === activeValue ? color : closeColor || "currentColor",
|
|
146
146
|
width: multiplySizeUnit(size, 2),
|
|
147
147
|
height: multiplySizeUnit(size, 2)
|
|
148
148
|
},
|
package/es/table/table.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --table-background: #fff; --table-border-radius: 2px; --table-thead-border-bottom: thin solid
|
|
1
|
+
:root { --table-background: #fff; --table-border-radius: 2px; --table-thead-border-bottom: thin solid var(--color-outline); --table-thead-th-text-color: rgba(0, 0, 0, 0.6); --table-thead-th-font-size: 14px; --table-thead-tr-border-bottom: thin solid var(--color-outline); --table-tbody-tr-hover-background: #eee; --table-tbody-tr-border-bottom: thin solid var(--color-outline); --table-tbody-td-text-color: #555; --table-tbody-td-font-size: 16px; --table-row-height: 46px; --table-row-padding: 0 16px; --table-footer-border-top: thin solid var(--color-outline);}.var-table { width: 100%; background: var(--table-background); border-radius: var(--table-border-radius); transition: 0.25s background-color;}.var-table * { box-sizing: border-box;}.var-table__main { width: 100%; overflow-x: auto;}.var-table__main > table { min-width: 100%; display: table; border-spacing: 0; border-collapse: collapse; line-height: normal;}.var-table__main > table thead { display: table-header-group; border-bottom: var(--table-thead-border-bottom);}.var-table__main > table thead tr th { color: var(--table-thead-th-text-color); font-size: var(--table-thead-th-font-size);}.var-table__main > table thead tr:not(:last-child) { border-bottom: var(--table-thead-tr-border-bottom);}.var-table__main > table tbody { display: table-row-group;}.var-table__main > table tbody tr { display: table-row; outline: 0; vertical-align: middle;}.var-table__main > table tbody tr:hover { background: var(--table-tbody-tr-hover-background); transition: background-color 0.25s;}.var-table__main > table tbody tr:not(:last-child) { border-bottom: var(--table-tbody-tr-border-bottom);}.var-table__main > table tbody td { color: var(--table-tbody-td-text-color); font-size: var(--table-tbody-td-font-size);}.var-table__main > table th { display: table-cell; height: var(--table-row-height); padding: var(--table-row-padding); font-weight: 500; text-align: left;}.var-table__main > table td { display: table-cell; padding: var(--table-row-padding); height: var(--table-row-height); text-align: left;}.var-table__footer { width: 100%; min-height: var(--table-row-height); border-top: var(--table-footer-border-top);}
|
package/es/themes/dark/badge.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
var stdin_default = {
|
|
2
2
|
"--button-default-color": "#303030",
|
|
3
|
-
"--button-default-text-color": "#fff"
|
|
3
|
+
"--button-default-text-color": "#fff",
|
|
4
|
+
"--button-default-icon-container-color": "#303030",
|
|
5
|
+
"--button-default-icon-color": "#fff"
|
|
4
6
|
};
|
|
5
7
|
export {
|
|
6
8
|
stdin_default as default
|
package/es/themes/dark/card.mjs
CHANGED
package/es/themes/dark/cell.mjs
CHANGED
|
@@ -3,7 +3,7 @@ var stdin_default = {
|
|
|
3
3
|
"--date-picker-body-background-color": "#303030",
|
|
4
4
|
"--day-picker-head-item-color": "#aaaaaa",
|
|
5
5
|
"--year-picker-item-color": "#fff",
|
|
6
|
-
"--picker-header-color": "#fff"
|
|
6
|
+
"--date-picker-header-color": "#fff"
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
stdin_default as default
|
package/es/themes/dark/index.mjs
CHANGED
|
@@ -52,11 +52,10 @@ import avatar from "./avatar.mjs";
|
|
|
52
52
|
import link from "./link.mjs";
|
|
53
53
|
import progress from "./progress.mjs";
|
|
54
54
|
import option from "./option.mjs";
|
|
55
|
-
import countdown from "./countdown.mjs";
|
|
56
55
|
import watermark from "./watermark.mjs";
|
|
57
56
|
import menuSelect from "./menuSelect.mjs";
|
|
58
57
|
import menuOption from "./menuOption.mjs";
|
|
59
|
-
var stdin_default = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(
|
|
58
|
+
var stdin_default = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({
|
|
60
59
|
// common
|
|
61
60
|
"--color-body": "#1e1e1e",
|
|
62
61
|
"--color-text": "#fff",
|
|
@@ -65,9 +64,25 @@ var stdin_default = __spreadValues(__spreadValues(__spreadValues(__spreadValues(
|
|
|
65
64
|
"--color-success": "#10c48f",
|
|
66
65
|
"--color-warning": "#ff8800",
|
|
67
66
|
"--color-danger": "#ef5350",
|
|
67
|
+
"--color-on-primary": "#fff",
|
|
68
|
+
"--color-on-info": "#fff",
|
|
69
|
+
"--color-on-success": "#fff",
|
|
70
|
+
"--color-on-warning": "#fff",
|
|
71
|
+
"--color-on-danger": "#fff",
|
|
72
|
+
"--color-primary-container": "#4a7afe",
|
|
73
|
+
"--color-info-container": "#10afef",
|
|
74
|
+
"--color-success-container": "#10c48f",
|
|
75
|
+
"--color-warning-container": "#ff8800",
|
|
76
|
+
"--color-danger-container": "#ef5350",
|
|
77
|
+
"--color-on-primary-container": "#fff",
|
|
78
|
+
"--color-on-info-container": "#fff",
|
|
79
|
+
"--color-on-success-container": "#fff",
|
|
80
|
+
"--color-on-warning-container": "#fff",
|
|
81
|
+
"--color-on-danger-container": "#fff",
|
|
68
82
|
"--color-disabled": "#404040",
|
|
69
|
-
"--color-text-disabled": "#757575"
|
|
70
|
-
|
|
83
|
+
"--color-text-disabled": "#757575",
|
|
84
|
+
"--color-outline": "rgba(255, 255, 255, 0.2)"
|
|
85
|
+
}, button), cell), card), timePicker), datePicker), skeleton), tabs), tab), popup), dialog), actionSheet), chip), badge), uploader), collapse), pullRefresh), switchThemes), steps), pagination), table), fieldDecorator), select), radio), checkbox), divider), picker), appBar), bottomNavigation), bottomNavigationItem), menu), result), breadcrumb), paper), avatar), link), progress), option), watermark), menuSelect), menuOption), floatingPanel);
|
|
71
86
|
export {
|
|
72
87
|
stdin_default as default
|
|
73
88
|
};
|
|
@@ -3,7 +3,6 @@ var stdin_default = {
|
|
|
3
3
|
"--pagination-list-bg-color": "#303030",
|
|
4
4
|
"--pagination-hover-bg-color": "rgba(255, 255, 255, .15)",
|
|
5
5
|
"--pagination-list-active-bg-color": "#25293a",
|
|
6
|
-
"--pagination-list-active-color": "#4a7afe",
|
|
7
6
|
"--pagination-item-background": "#303030"
|
|
8
7
|
};
|
|
9
8
|
export {
|
|
@@ -3,7 +3,6 @@ var stdin_default = {
|
|
|
3
3
|
"--picker-cancel-button-text-color": "#aaa",
|
|
4
4
|
"--picker-title-text-color": "#fff",
|
|
5
5
|
"--picker-option-text-color": "#fff",
|
|
6
|
-
"--picker-picked-border": "1px solid rgba(255, 255, 255, 0.12)",
|
|
7
6
|
"--picker-mask-background-image": "linear-gradient(180deg, hsla(0, 0%, 12%, 0.9), hsla(0, 0%, 12%, 0.4)), linear-gradient(0deg, hsla(0, 0%, 12%, 0.9), hsla(0, 0%, 12%, 0.4))"
|
|
8
7
|
};
|
|
9
8
|
export {
|
package/es/themes/dark/table.mjs
CHANGED
|
@@ -2,10 +2,7 @@ var stdin_default = {
|
|
|
2
2
|
"--table-background": "#303030",
|
|
3
3
|
"--table-thead-th-text-color": "rgba(255, 255, 255, 0.6)",
|
|
4
4
|
"--table-tbody-td-text-color": "#fff",
|
|
5
|
-
"--table-tbody-tr-hover-background": "#4c4b4b"
|
|
6
|
-
"--table-thead-border-bottom": "thin solid rgba(255, 255, 255, 0.12)",
|
|
7
|
-
"--table-tbody-tr-border-bottom": "thin solid rgba(255, 255, 255, 0.12)",
|
|
8
|
-
"--table-footer-border-top": "thin solid rgba(255, 255, 255, 0.12)"
|
|
5
|
+
"--table-tbody-tr-hover-background": "#4c4b4b"
|
|
9
6
|
};
|
|
10
7
|
export {
|
|
11
8
|
stdin_default as default
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
var stdin_default = {
|
|
2
2
|
"--time-picker-clock-container-background": "#545454",
|
|
3
3
|
"--time-picker-body-background": "#303030",
|
|
4
|
-
"--time-picker-clock-item-disable-color": "#
|
|
4
|
+
"--time-picker-clock-item-disable-color": "#fff",
|
|
5
|
+
"--time-picker-clock-item-disable-background": "#aaaaaa",
|
|
5
6
|
"--time-picker-clock-item-text-color": "#fff"
|
|
6
7
|
};
|
|
7
8
|
export {
|
package/es/themes/index.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import dark from "./dark/index.mjs";
|
|
2
|
-
|
|
2
|
+
import md3Light from "./md3-light/index.mjs";
|
|
3
|
+
import md3Dark from "./md3-dark/index.mjs";
|
|
4
|
+
const Themes = { dark, md3Light, md3Dark };
|
|
3
5
|
const _ThemesComponent = null;
|
|
4
6
|
var stdin_default = Themes;
|
|
5
7
|
export {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var stdin_default = {
|
|
2
|
+
"--button-default-color": "#3B383E",
|
|
3
|
+
"--button-default-text-color": "var(--color-primary)",
|
|
4
|
+
"--button-default-icon-color": "#CAC4D0",
|
|
5
|
+
"--button-default-icon-container-color": "#36343B",
|
|
6
|
+
"--button-border-radius": "100px"
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
stdin_default as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var stdin_default = {
|
|
2
|
+
"--card-border-radius": "12px",
|
|
3
|
+
"--card-background": "#36343B",
|
|
4
|
+
"--card-image-height": "188px",
|
|
5
|
+
"--card-title-color": "#E6E0E9",
|
|
6
|
+
"--card-title-font-size": "16px",
|
|
7
|
+
"--card-title-padding": "0 16px",
|
|
8
|
+
"--card-title-margin": "16px 0 0 0",
|
|
9
|
+
"--card-subtitle-color": "#CAC4D0",
|
|
10
|
+
"--card-subtitle-padding": "0 16px",
|
|
11
|
+
"--card-subtitle-margin": "4px 0 0 0",
|
|
12
|
+
"--card-description-margin": "32px 0 0 0",
|
|
13
|
+
"--card-description-padding": "0 16px",
|
|
14
|
+
"--card-description-color": "#CAC4D0",
|
|
15
|
+
"--card-padding": "0 0 16px 0",
|
|
16
|
+
"--card-footer-margin": "32px 0 0 0",
|
|
17
|
+
"--card-title-row-margin": "16px 0 0 0",
|
|
18
|
+
"--card-subtitle-row-margin": "4px 0 0 0",
|
|
19
|
+
"--card-footer-padding": "0 16px",
|
|
20
|
+
"--card-close-button-size": "56px",
|
|
21
|
+
"--card-close-button-primary-color": "var(--color-primary-container)",
|
|
22
|
+
"--card-close-button-text-color": "var(--color-on-primary-container)",
|
|
23
|
+
"--card-close-button-border-radius": "12px"
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
stdin_default as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var stdin_default = {
|
|
2
|
+
"--date-picker-title-background": "#2B2930",
|
|
3
|
+
"--date-picker-title-color": "#E6E0E9",
|
|
4
|
+
"--date-picker-title-hint-color": "#CAC4D0",
|
|
5
|
+
"--date-picker-body-background-color": "#2B2930",
|
|
6
|
+
"--date-picker-main-color": "#E6E0E9",
|
|
7
|
+
"--date-picker-border-radius": "20px",
|
|
8
|
+
"--date-picker-title-padding": "20px 20px 16px",
|
|
9
|
+
"--date-picker-actions-padding": "20px",
|
|
10
|
+
"--day-picker-head-item-color": "#E6E0E9",
|
|
11
|
+
"--date-picker-header-arrow-filter": "opacity(1)",
|
|
12
|
+
"--date-picker-header-padding": "0 0 16px",
|
|
13
|
+
"--date-picker-body-height": "300px",
|
|
14
|
+
"--date-picker-body-padding": "0 14px 16px",
|
|
15
|
+
"--date-picker-header-color": "#CAC4D0"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
stdin_default as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var stdin_default = {
|
|
2
|
+
"--dialog-width": "312px",
|
|
3
|
+
"--dialog-background": "#2B2930",
|
|
4
|
+
"--dialog-title-color": "#E6E0E9",
|
|
5
|
+
"--dialog-message-color": "#CAC4D0",
|
|
6
|
+
"--dialog-border-radius": "28px",
|
|
7
|
+
"--dialog-title-padding": "24px 24px 0",
|
|
8
|
+
"--dialog-message-padding": "16px 24px 24px",
|
|
9
|
+
"--dialog-actions-padding": "0 24px 24px",
|
|
10
|
+
"--dialog-title-font-size": "20px",
|
|
11
|
+
"--dialog-button-margin-left": "8px"
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
stdin_default as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var stdin_default = {
|
|
2
|
+
"--floating-panel-background": "#1D1B20",
|
|
3
|
+
"--floating-panel-toolbar-background": "#938F99",
|
|
4
|
+
"--floating-panel-toolbar-width": "32px",
|
|
5
|
+
"--floating-panel-toolbar-height": "4px",
|
|
6
|
+
"--floating-panel-header-height": "36px"
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
stdin_default as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
import button from "./button.mjs";
|
|
18
|
+
import hoverOverlay from "./hoverOverlay.mjs";
|
|
19
|
+
import menu from "./menu.mjs";
|
|
20
|
+
import menuSelect from "./menuSelect.mjs";
|
|
21
|
+
import menuOption from "./menuOption.mjs";
|
|
22
|
+
import fab from "./fab.mjs";
|
|
23
|
+
import breadcrumb from "./breadcrumb.mjs";
|
|
24
|
+
import link from "./link.mjs";
|
|
25
|
+
import cell from "./cell.mjs";
|
|
26
|
+
import paper from "./paper.mjs";
|
|
27
|
+
import avatar from "./avatar.mjs";
|
|
28
|
+
import fieldDecorator from "./fieldDecorator.mjs";
|
|
29
|
+
import checkbox from "./checkbox.mjs";
|
|
30
|
+
import radio from "./radio.mjs";
|
|
31
|
+
import card from "./card.mjs";
|
|
32
|
+
import chip from "./chip.mjs";
|
|
33
|
+
import badge from "./badge.mjs";
|
|
34
|
+
import tooltip from "./tooltip.mjs";
|
|
35
|
+
import progress from "./progress.mjs";
|
|
36
|
+
import tabs from "./tabs.mjs";
|
|
37
|
+
import tab from "./tab.mjs";
|
|
38
|
+
import steps from "./steps.mjs";
|
|
39
|
+
import divider from "./divider.mjs";
|
|
40
|
+
import table from "./table.mjs";
|
|
41
|
+
import pagination from "./pagination.mjs";
|
|
42
|
+
import watermark from "./watermark.mjs";
|
|
43
|
+
import collapse from "./collapse.mjs";
|
|
44
|
+
import result from "./result.mjs";
|
|
45
|
+
import appBar from "./appBar.mjs";
|
|
46
|
+
import bottomNavigation from "./bottomNavigation.mjs";
|
|
47
|
+
import bottomNavigationItem from "./bottomNavigationItem.mjs";
|
|
48
|
+
import snackbar from "./snackbar.mjs";
|
|
49
|
+
import actionSheet from "./actionSheet.mjs";
|
|
50
|
+
import dialog from "./dialog.mjs";
|
|
51
|
+
import pullRefresh from "./pullRefresh.mjs";
|
|
52
|
+
import popup from "./popup.mjs";
|
|
53
|
+
import picker from "./picker.mjs";
|
|
54
|
+
import floatingPanel from "./floatingPanel.mjs";
|
|
55
|
+
import backTop from "./backTop.mjs";
|
|
56
|
+
import select from "./select.mjs";
|
|
57
|
+
import option from "./option.mjs";
|
|
58
|
+
import counter from "./counter.mjs";
|
|
59
|
+
import switchThemes from "./switch.mjs";
|
|
60
|
+
import slider from "./slider.mjs";
|
|
61
|
+
import uploader from "./uploader.mjs";
|
|
62
|
+
import timePicker from "./timePicker.mjs";
|
|
63
|
+
import datePicker from "./datePicker.mjs";
|
|
64
|
+
import rate from "./rate.mjs";
|
|
65
|
+
import skeleton from "./skeleton.mjs";
|
|
66
|
+
var stdin_default = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({
|
|
67
|
+
// common
|
|
68
|
+
"--color-body": "#141218",
|
|
69
|
+
"--color-text": "#fff",
|
|
70
|
+
"--color-primary": "#D0BCFF",
|
|
71
|
+
"--color-info": "#CCC2DC",
|
|
72
|
+
"--color-success": "#BACF83",
|
|
73
|
+
"--color-warning": "#EFB8C8",
|
|
74
|
+
"--color-danger": "#F2B8B5",
|
|
75
|
+
"--color-on-primary": "#381E72",
|
|
76
|
+
"--color-on-info": "#332D41",
|
|
77
|
+
"--color-on-success": "#273500",
|
|
78
|
+
"--color-on-warning": "#492532",
|
|
79
|
+
"--color-on-danger": "#601410",
|
|
80
|
+
"--color-primary-container": "#5B4494",
|
|
81
|
+
"--color-info-container": "#575065",
|
|
82
|
+
"--color-success-container": "#485A19",
|
|
83
|
+
"--color-warning-container": "#6F4854",
|
|
84
|
+
"--color-danger-container": "#9D3A37",
|
|
85
|
+
"--color-on-primary-container": "#EADDFF",
|
|
86
|
+
"--color-on-info-container": "#E8DEF8",
|
|
87
|
+
"--color-on-success-container": "#D5EC9C",
|
|
88
|
+
"--color-on-warning-container": "#FFD8E4",
|
|
89
|
+
"--color-on-danger-container": "#F9DEDC",
|
|
90
|
+
"--color-disabled": "#404040",
|
|
91
|
+
"--color-text-disabled": "#757575",
|
|
92
|
+
"--color-outline": "#49454F"
|
|
93
|
+
}, button), hoverOverlay), menu), menuSelect), menuOption), fab), breadcrumb), link), cell), paper), avatar), fieldDecorator), checkbox), radio), card), chip), badge), tooltip), progress), tabs), tab), steps), divider), table), pagination), watermark), collapse), result), appBar), bottomNavigation), bottomNavigationItem), snackbar), actionSheet), dialog), pullRefresh), popup), picker), floatingPanel), backTop), select), option), counter), switchThemes), slider), uploader), timePicker), datePicker), rate), skeleton);
|
|
94
|
+
export {
|
|
95
|
+
stdin_default as default
|
|
96
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var stdin_default = {
|
|
2
|
+
"--picker-background": "#141218",
|
|
3
|
+
"--picker-cancel-button-text-color": "var(--color-primary)",
|
|
4
|
+
"--picker-title-text-color": "#fff",
|
|
5
|
+
"--picker-option-text-color": "#fff",
|
|
6
|
+
"--picker-mask-background-image": "linear-gradient(180deg, rgba(20, 18, 24, 0.9), rgba(20, 18, 24, 0.4)), linear-gradient(0deg, rgba(20, 18, 24, 0.9), rgba(20, 18, 24, 0.4))"
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
stdin_default as default
|
|
10
|
+
};
|