@zuzjs/ui 0.1.9 → 0.2.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/dist/styles.css CHANGED
@@ -97,6 +97,221 @@ button {
97
97
  background-color: var(--primary-color);
98
98
  }
99
99
 
100
+ .tdnh, .tdn {
101
+ text-decoration: none;
102
+ }
103
+
104
+ .tdnh:hover {
105
+ text-decoration: underline;
106
+ }
107
+
108
+ .flex {
109
+ display: flex;
110
+ }
111
+ .flex.ass {
112
+ align-self: flex-start;
113
+ }
114
+ .flex.asc {
115
+ align-self: center;
116
+ }
117
+ .flex.ase {
118
+ align-self: flex-end;
119
+ }
120
+ .flex.ais {
121
+ align-items: flex-start;
122
+ }
123
+ .flex.aic {
124
+ align-items: center;
125
+ }
126
+ .flex.aie {
127
+ align-items: flex-end;
128
+ }
129
+ .flex.jcs {
130
+ justify-content: flex-start;
131
+ }
132
+ .flex.jcc {
133
+ justify-content: center;
134
+ }
135
+ .flex.jce {
136
+ justify-content: flex-end;
137
+ }
138
+
139
+ /*
140
+ COLORS
141
+ It will generate .cfff { color: #fff; } from 'fff'
142
+ */
143
+ .cfff {
144
+ color: #fff;
145
+ }
146
+
147
+ .c111 {
148
+ color: #111;
149
+ }
150
+
151
+ .c222 {
152
+ color: #222;
153
+ }
154
+
155
+ .c333 {
156
+ color: #333;
157
+ }
158
+
159
+ .c444 {
160
+ color: #444;
161
+ }
162
+
163
+ .c555 {
164
+ color: #555;
165
+ }
166
+
167
+ .c666 {
168
+ color: #666;
169
+ }
170
+
171
+ .c777 {
172
+ color: #777;
173
+ }
174
+
175
+ .c888 {
176
+ color: #888;
177
+ }
178
+
179
+ .c999 {
180
+ color: #999;
181
+ }
182
+
183
+ /*
184
+ FONT SIZES
185
+ It will generate .s10 { font-size: 12px; } from '12'
186
+ */
187
+ .s10 {
188
+ font-size: 10px;
189
+ }
190
+
191
+ .s12 {
192
+ font-size: 12px;
193
+ }
194
+
195
+ .s14 {
196
+ font-size: 14px;
197
+ }
198
+
199
+ .s16 {
200
+ font-size: 16px;
201
+ }
202
+
203
+ .s18 {
204
+ font-size: 18px;
205
+ }
206
+
207
+ .s20 {
208
+ font-size: 20px;
209
+ }
210
+
211
+ .s22 {
212
+ font-size: 22px;
213
+ }
214
+
215
+ .s24 {
216
+ font-size: 24px;
217
+ }
218
+
219
+ .s26 {
220
+ font-size: 26px;
221
+ }
222
+
223
+ .s28 {
224
+ font-size: 28px;
225
+ }
226
+
227
+ .s30 {
228
+ font-size: 30px;
229
+ }
230
+
231
+ .s32 {
232
+ font-size: 32px;
233
+ }
234
+
235
+ .s34 {
236
+ font-size: 34px;
237
+ }
238
+
239
+ .s36 {
240
+ font-size: 36px;
241
+ }
242
+
243
+ .s38 {
244
+ font-size: 38px;
245
+ }
246
+
247
+ .s40 {
248
+ font-size: 40px;
249
+ }
250
+
251
+ .s42 {
252
+ font-size: 42px;
253
+ }
254
+
255
+ .s44 {
256
+ font-size: 44px;
257
+ }
258
+
259
+ .s46 {
260
+ font-size: 46px;
261
+ }
262
+
263
+ .s48 {
264
+ font-size: 48px;
265
+ }
266
+
267
+ .s50 {
268
+ font-size: 50px;
269
+ }
270
+
271
+ .s52 {
272
+ font-size: 52px;
273
+ }
274
+
275
+ .s54 {
276
+ font-size: 54px;
277
+ }
278
+
279
+ .s56 {
280
+ font-size: 56px;
281
+ }
282
+
283
+ .s58 {
284
+ font-size: 58px;
285
+ }
286
+
287
+ .s60 {
288
+ font-size: 60px;
289
+ }
290
+
291
+ .s62 {
292
+ font-size: 62px;
293
+ }
294
+
295
+ .s64 {
296
+ font-size: 64px;
297
+ }
298
+
299
+ .s66 {
300
+ font-size: 66px;
301
+ }
302
+
303
+ .s68 {
304
+ font-size: 68px;
305
+ }
306
+
307
+ .s70 {
308
+ font-size: 70px;
309
+ }
310
+
311
+ .s72 {
312
+ font-size: 72px;
313
+ }
314
+
100
315
  @-webkit-keyframes rotating /* Safari and Chrome */ {
101
316
  from {
102
317
  -webkit-transform: rotate(0deg);
@@ -139,6 +354,61 @@ button {
139
354
  border: 0px;
140
355
  }
141
356
 
142
- .noul {
143
- text-decoration: none;
357
+ .zuz-toast {
358
+ border-radius: 5px;
359
+ transition: all 0.15s linear 0s;
360
+ }
361
+ .zuz-toast.hidden {
362
+ transform: translate(-50%, -300px) scale(0.5) !important;
363
+ }
364
+ .zuz-toast.showing {
365
+ transform: translate(-50%, -50px) scale(0.9) !important;
366
+ }
367
+ .zuz-toast.visible {
368
+ transform: translate(-50%, 0px) scale(1) !important;
369
+ }
370
+
371
+ .zuz-checkbox {
372
+ opacity: 0;
373
+ position: absolute;
374
+ }
375
+ .zuz-checkbox + label {
376
+ position: relative;
377
+ display: inline-block;
378
+ user-select: none;
379
+ transition: 0.4s ease;
380
+ height: 26px;
381
+ width: 44px;
382
+ border-radius: 60px;
383
+ background: #eee;
384
+ }
385
+ .zuz-checkbox + label:before {
386
+ content: "";
387
+ position: absolute;
388
+ display: block;
389
+ transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
390
+ height: 26px;
391
+ width: 44px;
392
+ top: 0;
393
+ left: 0;
394
+ border-radius: 30px;
395
+ }
396
+ .zuz-checkbox + label:after {
397
+ content: "";
398
+ position: absolute;
399
+ display: block;
400
+ transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
401
+ background: #fff;
402
+ height: 22px;
403
+ width: 22px;
404
+ top: 2px;
405
+ left: 2px;
406
+ border-radius: 60px;
407
+ }
408
+ .zuz-checkbox:checked + label:before {
409
+ background: green;
410
+ transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
411
+ }
412
+ .zuz-checkbox:checked + label:after {
413
+ left: 20px;
144
414
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuzjs/ui",
3
- "version": "0.1.9",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {