@gyyxds/zy-ui 0.0.1 → 0.0.3
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/CHANGELOG.md +34 -19
- package/CONTRIBUTING.md +109 -99
- package/LICENSE +21 -0
- package/README.md +397 -162
- package/dist/zy-ui/badge/ZyBadge.vue.d.ts +4 -4
- package/dist/zy-ui/badge/index.d.ts +6 -6
- package/dist/zy-ui/button/ZyButton.vue.d.ts +3 -3
- package/dist/zy-ui/button/index.d.ts +9 -9
- package/dist/zy-ui/card/ZyCard.vue.d.ts +1 -1
- package/dist/zy-ui/card/index.d.ts +3 -3
- package/dist/zy-ui/checkbox/ZyCheckboxGroup.vue.d.ts +1 -1
- package/dist/zy-ui/checkbox/index.d.ts +3 -3
- package/dist/zy-ui/code-input/ZyCodeInput.vue.d.ts +2 -2
- package/dist/zy-ui/code-input/index.d.ts +2 -2
- package/dist/zy-ui/divider/ZyDivider.vue.d.ts +1 -1
- package/dist/zy-ui/divider/index.d.ts +3 -3
- package/dist/zy-ui/icon/ZyIcon.vue.d.ts +1 -1
- package/dist/zy-ui/icon/index.d.ts +1 -1
- package/dist/zy-ui/index.d.ts +62 -46
- package/dist/zy-ui/input/ZyInput.vue.d.ts +3 -3
- package/dist/zy-ui/input/index.d.ts +3 -3
- package/dist/zy-ui/loading/ZyLoading.vue.d.ts +1 -1
- package/dist/zy-ui/loading/index.d.ts +1 -1
- package/dist/zy-ui/mega-menu/ZyMegaMenu.vue.d.ts +12 -4
- package/dist/zy-ui/mega-menu/index.d.ts +16 -0
- package/dist/zy-ui/progress/ZyProgress.vue.d.ts +1 -1
- package/dist/zy-ui/progress/index.d.ts +3 -3
- package/dist/zy-ui/radio/ZyRadioGroup.vue.d.ts +3 -3
- package/dist/zy-ui/select/ZySelect.vue.d.ts +1 -1
- package/dist/zy-ui/select/index.d.ts +3 -3
- package/dist/zy-ui/space/ZySpace.vue.d.ts +1 -1
- package/dist/zy-ui/space/index.d.ts +3 -3
- package/dist/zy-ui/table/ZyTable.vue.d.ts +3 -3
- package/dist/zy-ui/tag/ZyTag.vue.d.ts +2 -2
- package/dist/zy-ui/tag/index.d.ts +6 -6
- package/dist/zy-ui/themes/basic.css +837 -832
- package/dist/zy-ui/themes/material.css +41 -37
- package/dist/zy-ui/themes/solid.css +665 -664
- package/dist/zy-ui/tree/ZyTree.vue.d.ts +2 -2
- package/dist/zy-ui/zy-ui.css +1 -1
- package/dist/zy-ui/zy-ui.js +299 -247
- package/package.json +82 -82
|
@@ -1,37 +1,41 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 实色主题的共享键帽几何。
|
|
3
|
-
*
|
|
4
|
-
* 组件的面色、厚度和尺寸各不相同,但「两侧 10% 白弧 + 底部渐层高光」的图层公式只有一份。
|
|
5
|
-
* 统一在这里用元素自身的 --zy-key-h / --zy-key-lift-now 求值,组件只负责报高度和厚度。
|
|
6
|
-
*/
|
|
7
|
-
html[data-zy-theme='solid']
|
|
8
|
-
:is(
|
|
9
|
-
.zy-btn.el-button,
|
|
10
|
-
.zy-input.is-raised .el-input__wrapper,
|
|
11
|
-
.zy-select.is-raised .el-select__wrapper,
|
|
12
|
-
.el-picker-panel .el-date-table td.current:not(.disabled) .el-date-table-cell__text,
|
|
13
|
-
.el-picker-panel .el-date-table td.start-date .el-date-table-cell__text,
|
|
14
|
-
.el-picker-panel .el-date-table td.end-date .el-date-table-cell__text,
|
|
15
|
-
.zy-tree .el-tree-node.is-current > .el-tree-node__content,
|
|
16
|
-
.zy-pagination .el-pager li,
|
|
17
|
-
.zy-pagination button.btn-prev,
|
|
18
|
-
.zy-pagination button.btn-next,
|
|
19
|
-
.zy-mega-menu__trigger
|
|
20
|
-
.zy-
|
|
21
|
-
.zy-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
--zy-key-stack-
|
|
34
|
-
var(--zy-key-h)
|
|
35
|
-
calc(var(--zy-key-h) *
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
/**
|
|
2
|
+
* 实色主题的共享键帽几何。
|
|
3
|
+
*
|
|
4
|
+
* 组件的面色、厚度和尺寸各不相同,但「两侧 10% 白弧 + 底部渐层高光」的图层公式只有一份。
|
|
5
|
+
* 统一在这里用元素自身的 --zy-key-h / --zy-key-lift-now 求值,组件只负责报高度和厚度。
|
|
6
|
+
*/
|
|
7
|
+
html[data-zy-theme='solid']
|
|
8
|
+
:is(
|
|
9
|
+
.zy-btn.el-button,
|
|
10
|
+
.zy-input.is-raised .el-input__wrapper,
|
|
11
|
+
.zy-select.is-raised .el-select__wrapper,
|
|
12
|
+
.el-picker-panel .el-date-table td.current:not(.disabled) .el-date-table-cell__text,
|
|
13
|
+
.el-picker-panel .el-date-table td.start-date .el-date-table-cell__text,
|
|
14
|
+
.el-picker-panel .el-date-table td.end-date .el-date-table-cell__text,
|
|
15
|
+
.zy-tree .el-tree-node.is-current > .el-tree-node__content,
|
|
16
|
+
.zy-pagination .el-pager li,
|
|
17
|
+
.zy-pagination button.btn-prev,
|
|
18
|
+
.zy-pagination button.btn-next,
|
|
19
|
+
.zy-mega-menu__trigger:hover,
|
|
20
|
+
.zy-mega-menu__plain:hover,
|
|
21
|
+
.zy-mega-menu__trigger.is-current,
|
|
22
|
+
.zy-mega-menu__plain.is-current,
|
|
23
|
+
.zy-mega-menu__trigger.is-open,
|
|
24
|
+
.zy-verify__piece,
|
|
25
|
+
.zy-verify__handle
|
|
26
|
+
) {
|
|
27
|
+
--zy-key-gloss: linear-gradient(
|
|
28
|
+
to bottom,
|
|
29
|
+
rgba(255, 255, 255, 0) calc((var(--zy-key-h) - var(--zy-key-lift-now)) / 2),
|
|
30
|
+
rgba(255, 255, 255, 0.3) 100%
|
|
31
|
+
);
|
|
32
|
+
--zy-key-stack: var(--zy-key-arc-l), var(--zy-key-arc-r), var(--zy-key-gloss);
|
|
33
|
+
--zy-key-stack-pos:
|
|
34
|
+
left calc(var(--zy-key-h) * -0.18) bottom 0,
|
|
35
|
+
right calc(var(--zy-key-h) * -0.27) top 0,
|
|
36
|
+
left top;
|
|
37
|
+
--zy-key-stack-size:
|
|
38
|
+
var(--zy-key-h) 100%,
|
|
39
|
+
calc(var(--zy-key-h) * 1.1) 100%,
|
|
40
|
+
100% 100%;
|
|
41
|
+
}
|