@1337exp/taoui 1.4.0 → 1.5.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/README.md +1 -1
- package/README.ru.md +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +90 -21
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.tao-button[data-v-
|
|
2
|
+
.tao-button[data-v-c3034f66] {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: center;
|
|
@@ -13,83 +13,152 @@
|
|
|
13
13
|
transition: var(--tao-transition-base);
|
|
14
14
|
position: relative;
|
|
15
15
|
}
|
|
16
|
-
.tao-button[data-v-
|
|
16
|
+
.tao-button[data-v-c3034f66]:active:not(.tao-button--text) {
|
|
17
17
|
transform: translateY(1px);
|
|
18
18
|
}
|
|
19
|
-
.tao-button[data-v-
|
|
19
|
+
.tao-button[data-v-c3034f66]:focus-visible {
|
|
20
20
|
outline: 2px solid var(--tao-color-accent);
|
|
21
21
|
outline-offset: 2px;
|
|
22
22
|
}
|
|
23
|
-
.tao-button--small[data-v-
|
|
23
|
+
.tao-button--small[data-v-c3034f66] {
|
|
24
24
|
padding: var(--tao-space-1) var(--tao-space-3);
|
|
25
25
|
font-size: var(--tao-font-size-xs);
|
|
26
26
|
height: 26px;
|
|
27
27
|
}
|
|
28
|
-
.tao-button--medium[data-v-
|
|
28
|
+
.tao-button--medium[data-v-c3034f66] {
|
|
29
29
|
padding: var(--tao-space-2) var(--tao-space-4);
|
|
30
30
|
font-size: var(--tao-font-size-md);
|
|
31
31
|
height: 30px;
|
|
32
32
|
}
|
|
33
|
-
.tao-button--large[data-v-
|
|
33
|
+
.tao-button--large[data-v-c3034f66] {
|
|
34
34
|
padding: var(--tao-space-2) var(--tao-space-6);
|
|
35
35
|
font-size: var(--tao-font-size-lg);
|
|
36
36
|
height: 38px;
|
|
37
37
|
}
|
|
38
|
-
.tao-button--primary[data-v-
|
|
38
|
+
.tao-button--primary[data-v-c3034f66] {
|
|
39
39
|
background-color: var(--tao-color-accent);
|
|
40
40
|
color: var(--tao-color-on-accent);
|
|
41
41
|
}
|
|
42
|
-
.tao-button--primary[data-v-
|
|
42
|
+
.tao-button--primary[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
43
43
|
background-color: var(--tao-color-accent-hover);
|
|
44
44
|
}
|
|
45
|
-
.tao-button--secondary[data-v-
|
|
45
|
+
.tao-button--secondary[data-v-c3034f66] {
|
|
46
46
|
background-color: var(--tao-color-surface-sunken);
|
|
47
47
|
color: var(--tao-color-text);
|
|
48
48
|
border: 1px solid var(--tao-color-border-strong);
|
|
49
49
|
}
|
|
50
|
-
.tao-button--secondary[data-v-
|
|
50
|
+
.tao-button--secondary[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
51
51
|
background-color: var(--tao-color-surface-hover);
|
|
52
52
|
color: var(--tao-color-text-strong);
|
|
53
53
|
}
|
|
54
|
-
.tao-button--ghost[data-v-
|
|
54
|
+
.tao-button--ghost[data-v-c3034f66] {
|
|
55
55
|
background-color: transparent;
|
|
56
56
|
color: var(--tao-color-accent);
|
|
57
57
|
}
|
|
58
|
-
.tao-button--ghost[data-v-
|
|
58
|
+
.tao-button--ghost[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
59
59
|
background-color: var(--tao-color-accent-subtle-hover);
|
|
60
60
|
}
|
|
61
|
-
.tao-button--
|
|
61
|
+
.tao-button--text[data-v-c3034f66] {
|
|
62
|
+
height: auto;
|
|
63
|
+
padding: 2px 4px;
|
|
64
|
+
background: transparent;
|
|
65
|
+
color: var(--tao-color-accent);
|
|
66
|
+
}
|
|
67
|
+
.tao-button--text.tao-button--small[data-v-c3034f66],
|
|
68
|
+
.tao-button--text.tao-button--medium[data-v-c3034f66],
|
|
69
|
+
.tao-button--text.tao-button--large[data-v-c3034f66] {
|
|
70
|
+
height: auto;
|
|
71
|
+
padding: 2px 4px;
|
|
72
|
+
}
|
|
73
|
+
.tao-button--text[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
74
|
+
color: var(--tao-color-accent-hover);
|
|
75
|
+
background-color: var(--tao-color-accent-subtle-hover);
|
|
76
|
+
}
|
|
77
|
+
.tao-button--danger[data-v-c3034f66] {
|
|
78
|
+
background-color: var(--tao-color-danger);
|
|
79
|
+
color: var(--tao-color-text-strong);
|
|
80
|
+
}
|
|
81
|
+
.tao-button--danger[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
82
|
+
background-color: var(--tao-color-danger-hover);
|
|
83
|
+
}
|
|
84
|
+
.tao-button--ghost.tao-button--tone-danger[data-v-c3034f66],
|
|
85
|
+
.tao-button--text.tao-button--tone-danger[data-v-c3034f66] {
|
|
86
|
+
color: var(--tao-color-danger);
|
|
87
|
+
}
|
|
88
|
+
.tao-button--ghost.tao-button--tone-danger[data-v-c3034f66]:hover:not(.tao-button--disabled),
|
|
89
|
+
.tao-button--text.tao-button--tone-danger[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
90
|
+
color: var(--tao-color-danger-hover);
|
|
91
|
+
background-color: var(--tao-color-danger-subtle);
|
|
92
|
+
}
|
|
93
|
+
.tao-button--ghost.tao-button--tone-success[data-v-c3034f66],
|
|
94
|
+
.tao-button--text.tao-button--tone-success[data-v-c3034f66] {
|
|
95
|
+
color: var(--tao-color-success);
|
|
96
|
+
}
|
|
97
|
+
.tao-button--ghost.tao-button--tone-success[data-v-c3034f66]:hover:not(.tao-button--disabled),
|
|
98
|
+
.tao-button--text.tao-button--tone-success[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
99
|
+
color: var(--tao-color-success-hover);
|
|
100
|
+
background-color: var(--tao-color-success-subtle);
|
|
101
|
+
}
|
|
102
|
+
.tao-button--ghost.tao-button--tone-warning[data-v-c3034f66],
|
|
103
|
+
.tao-button--text.tao-button--tone-warning[data-v-c3034f66] {
|
|
104
|
+
color: var(--tao-color-warning);
|
|
105
|
+
}
|
|
106
|
+
.tao-button--ghost.tao-button--tone-warning[data-v-c3034f66]:hover:not(.tao-button--disabled),
|
|
107
|
+
.tao-button--text.tao-button--tone-warning[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
108
|
+
color: var(--tao-color-warning-hover);
|
|
109
|
+
background-color: var(--tao-color-warning-subtle);
|
|
110
|
+
}
|
|
111
|
+
.tao-button--ghost.tao-button--tone-info[data-v-c3034f66],
|
|
112
|
+
.tao-button--text.tao-button--tone-info[data-v-c3034f66] {
|
|
113
|
+
color: var(--tao-color-info);
|
|
114
|
+
}
|
|
115
|
+
.tao-button--ghost.tao-button--tone-info[data-v-c3034f66]:hover:not(.tao-button--disabled),
|
|
116
|
+
.tao-button--text.tao-button--tone-info[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
117
|
+
color: var(--tao-color-info-hover);
|
|
118
|
+
background-color: var(--tao-color-info-subtle);
|
|
119
|
+
}
|
|
120
|
+
.tao-button--secondary.tao-button--tone-danger[data-v-c3034f66] {
|
|
121
|
+
color: var(--tao-color-danger);
|
|
122
|
+
border-color: color-mix(in srgb, var(--tao-color-danger) 40%, transparent);
|
|
123
|
+
}
|
|
124
|
+
.tao-button--secondary.tao-button--tone-danger[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
125
|
+
color: var(--tao-color-danger-hover);
|
|
126
|
+
background-color: var(--tao-color-danger-subtle);
|
|
127
|
+
}
|
|
128
|
+
.tao-button--primary.tao-button--tone-danger[data-v-c3034f66],
|
|
129
|
+
.tao-button--danger.tao-button--tone-danger[data-v-c3034f66] {
|
|
62
130
|
background-color: var(--tao-color-danger);
|
|
63
131
|
color: var(--tao-color-text-strong);
|
|
64
132
|
}
|
|
65
|
-
.tao-button--danger[data-v-
|
|
133
|
+
.tao-button--primary.tao-button--tone-danger[data-v-c3034f66]:hover:not(.tao-button--disabled),
|
|
134
|
+
.tao-button--danger.tao-button--tone-danger[data-v-c3034f66]:hover:not(.tao-button--disabled) {
|
|
66
135
|
background-color: var(--tao-color-danger-hover);
|
|
67
136
|
}
|
|
68
|
-
.tao-button--disabled[data-v-
|
|
137
|
+
.tao-button--disabled[data-v-c3034f66] {
|
|
69
138
|
opacity: 0.6;
|
|
70
139
|
cursor: not-allowed;
|
|
71
140
|
}
|
|
72
|
-
.tao-button--block[data-v-
|
|
141
|
+
.tao-button--block[data-v-c3034f66] {
|
|
73
142
|
width: 100%;
|
|
74
143
|
}
|
|
75
|
-
.tao-button--loading .tao-button__content[data-v-
|
|
144
|
+
.tao-button--loading .tao-button__content[data-v-c3034f66] {
|
|
76
145
|
opacity: 0;
|
|
77
146
|
}
|
|
78
|
-
.tao-button__loader[data-v-
|
|
147
|
+
.tao-button__loader[data-v-c3034f66] {
|
|
79
148
|
position: absolute;
|
|
80
149
|
width: 16px;
|
|
81
150
|
height: 16px;
|
|
82
151
|
border: 2px solid color-mix(in srgb, currentColor 15%, transparent);
|
|
83
152
|
border-top-color: currentColor;
|
|
84
153
|
border-radius: var(--tao-radius-full);
|
|
85
|
-
animation: tao-spin-
|
|
154
|
+
animation: tao-spin-c3034f66 0.8s linear infinite;
|
|
86
155
|
}
|
|
87
|
-
.tao-button__icon[data-v-
|
|
156
|
+
.tao-button__icon[data-v-c3034f66] {
|
|
88
157
|
display: flex;
|
|
89
158
|
align-items: center;
|
|
90
159
|
justify-content: center;
|
|
91
160
|
}
|
|
92
|
-
@keyframes tao-spin-
|
|
161
|
+
@keyframes tao-spin-c3034f66 {
|
|
93
162
|
to {
|
|
94
163
|
transform: rotate(360deg);
|
|
95
164
|
}
|