@dev-tcloud/tcloud-ui 5.1.0 → 5.1.2

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.
Files changed (23) hide show
  1. package/fesm2022/dev-tcloud-tcloud-ui.mjs +273 -108
  2. package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
  3. package/lib/revitalizacao/components/tc-rev-card-accordion/tc-rev-card-accordion.component.d.ts +16 -0
  4. package/lib/revitalizacao/components/tc-rev-card-title/tc-rev-card-title.component.d.ts +1 -1
  5. package/lib/revitalizacao/components/tc-rev-checkbox/tc-rev-checkbox.directive.d.ts +6 -0
  6. package/lib/revitalizacao/components/tc-rev-components.module.d.ts +27 -22
  7. package/lib/revitalizacao/components/tc-rev-input-container/tc-rev-input-container.component.d.ts +2 -2
  8. package/lib/revitalizacao/components/tc-rev-multi-input/tc-rev-multi-input.component.d.ts +2 -2
  9. package/lib/revitalizacao/components/tc-rev-progress-status-bar/tc-rev-progress-status-bar.component.d.ts +22 -0
  10. package/lib/revitalizacao/components/tc-rev-radio/tc-rev-radio.directive.d.ts +6 -0
  11. package/lib/revitalizacao/components/tc-rev-tag/tc-rev-tag.component.d.ts +1 -1
  12. package/lib/revitalizacao/components/tc-rev-wizard-steps/tc-rev-wizard-steps.component.d.ts +13 -0
  13. package/lib/revitalizacao/components/tc-sub-navbar/component/tc-sub-navbar-item/tc-sub-navbar-item.component.d.ts +1 -1
  14. package/package.json +1 -1
  15. package/public-api.d.ts +6 -1
  16. package/scss/tcloud-revitalizacao/components/_tc-rev-button.scss +3 -3
  17. package/scss/tcloud-revitalizacao/components/_tc-rev-checkbox.scss +103 -0
  18. package/scss/tcloud-revitalizacao/components/_tc-rev-input-control.scss +3 -283
  19. package/scss/tcloud-revitalizacao/components/_tc-rev-radio.scss +64 -0
  20. package/scss/tcloud-revitalizacao/components/_tc-rev-search-input.scss +49 -0
  21. package/scss/tcloud-revitalizacao/components/_tc-rev-slide-toggle.scss +60 -0
  22. package/scss/tcloud-revitalizacao/components/_tc-rev-tab-item.scss +1 -1
  23. package/scss/tcloud-revitalizacao/tc-rev-styles.scss +5 -1
@@ -1,7 +1,7 @@
1
1
  .tc-rev-input-control {
2
2
  border: 1px solid var(--c-neutral-400);
3
3
  border-radius: var(--bor-radius-pill);
4
- color: var(--c-neutral-900);
4
+ color: var(--c-neutral-700);
5
5
  display: inline-block;
6
6
  font-family: var(--f-family);
7
7
  font-size: var(--f-size-14);
@@ -40,7 +40,7 @@
40
40
  font-family: var(--f-family);
41
41
  font-size: var(--f-size-14);
42
42
  font-weight: var(--f-weight-600);
43
- color: var(--c-neutral-900);
43
+ color: var(--c-neutral-700);
44
44
  line-height: var(--l-height-20);
45
45
  margin: 0;
46
46
  }
@@ -69,56 +69,6 @@
69
69
  }
70
70
  }
71
71
 
72
- .tc-rev-search-input-container {
73
- position: relative;
74
- max-height: var(--size-40);
75
- min-height: var(--size-40);
76
- height: var(--size-40);
77
- min-width: 7.5rem;
78
-
79
- .tc-rev-search-input-control {
80
- border: 1px solid var(--c-neutral-400);
81
- border-radius: var(--bor-radius-pill);
82
- color: var(--c-neutral-900);
83
- display: inline-block;
84
- font-family: var(--f-family);
85
- font-size: var(--f-size-14);
86
- line-height: var(--l-height-20);
87
- outline: none;
88
- height: var(--size-40);
89
- transition: 200ms ease;
90
- padding: 0 var(--size-16);
91
- position: absolute;
92
- top: 0;
93
- left: 0;
94
- padding-right: var(--size-44);
95
- width: 100%;
96
- z-index: 1;
97
-
98
- &:hover,
99
- &:focus {
100
- border-color: var(--c-primary-500);
101
- }
102
- }
103
-
104
- .tc-rev-search-input-btn {
105
- cursor: pointer;
106
- display: block;
107
- position: absolute;
108
- right: 4px;
109
- top: 4px;
110
- z-index: 2;
111
- font-size: var(--f-size-16);
112
- background-color: var(--c-primary-500);
113
- border-radius: var(--bor-radius-rounded);
114
- border: none;
115
- width: var(--size-32);
116
- height: var(--size-32);
117
- color: var(--c-neutral-50);
118
- font-size: var(--f-size-16);
119
- }
120
- }
121
-
122
72
  .tc-rev-input-icon-container {
123
73
  position: relative;
124
74
  max-height: var(--size-40);
@@ -129,7 +79,7 @@
129
79
  .tc-rev-input-icon-control {
130
80
  border: 1px solid var(--c-neutral-400);
131
81
  border-radius: var(--bor-radius-pill);
132
- color: var(--c-neutral-900);
82
+ color: var(--c-neutral-700);
133
83
  display: inline-block;
134
84
  font-family: var(--f-family);
135
85
  font-size: var(--f-size-14);
@@ -164,233 +114,3 @@
164
114
  text-align: center;
165
115
  }
166
116
  }
167
-
168
- // RESET RADIO INPUT START
169
- input[type='radio'].tc-rev-input-control {
170
- position: initial;
171
- margin: initial;
172
-
173
- &:after,
174
- &:before {
175
- content: '';
176
- position: initial;
177
- border-radius: initial;
178
- background: initial;
179
- z-index: initial;
180
- }
181
-
182
- &:after {
183
- height: initial;
184
- width: initial;
185
- left: initial;
186
- margin: initial;
187
- border: initial;
188
- }
189
-
190
- &:checked:before {
191
- background: initial;
192
- height: initial;
193
- width: initial;
194
- margin: initial;
195
- z-index: initial;
196
- }
197
- }
198
- // RESET RADIO INPUT END
199
-
200
- input[type='radio'].tc-rev-input-control {
201
- appearance: none;
202
- -webkit-appearance: none;
203
- -moz-appearance: none;
204
- width: var(--size-20);
205
- height: var(--size-20);
206
- min-width: var(--size-20);
207
- min-height: var(--size-20);
208
- border: 1px solid var(--c-neutral-900);
209
- border-radius: var(--bor-radius-rounded);
210
- display: flex;
211
- align-items: center;
212
- justify-content: center;
213
- position: relative;
214
- cursor: pointer;
215
-
216
- &:checked {
217
- border: 1px solid var(--c-primary-500);
218
- }
219
-
220
- &:checked::before {
221
- content: '';
222
- background-color: var(--c-primary-500);
223
- border-radius: var(--bor-radius-rounded);
224
- left: 50%;
225
- height: var(--size-14);
226
- position: absolute;
227
- top: 50%;
228
- transform: translate(-50%, -50%);
229
- width: var(--size-14);
230
- }
231
- }
232
-
233
- input[type='checkbox'].tc-rev-input-checkbox {
234
- position: initial;
235
- margin: initial;
236
-
237
- &:after,
238
- &:before {
239
- content: '';
240
- position: initial;
241
- border-radius: initial;
242
- background: initial;
243
- z-index: initial;
244
- }
245
-
246
- &:after {
247
- height: initial;
248
- width: initial;
249
- left: initial;
250
- top: initial;
251
- margin: initial;
252
- border: initial;
253
- }
254
-
255
- &:checked:before {
256
- background: initial;
257
- height: initial;
258
- width: initial;
259
- margin: initial;
260
- z-index: initial;
261
-
262
- left: initial;
263
- top: initial;
264
- border: initial;
265
- border-width: initial;
266
- transform: initial;
267
- }
268
-
269
- &:checked:after {
270
- border-color: initial;
271
- }
272
- }
273
-
274
- input[type='checkbox'].tc-rev-input-checkbox {
275
- appearance: none;
276
- -webkit-appearance: none;
277
- width: 20px;
278
- height: 20px;
279
- border: 1.5px solid var(--c-neutral-900);
280
- border-radius: 2px;
281
- background: #fff;
282
- cursor: pointer;
283
- position: relative;
284
- outline: none;
285
- transition: border-color 0.2s, background 0.2s;
286
- display: inline-block;
287
- vertical-align: middle;
288
-
289
- &:before {
290
- content: '';
291
- display: block;
292
- width: 100%;
293
- height: 100%;
294
- border-radius: 2px;
295
- background: var(--c-neutral-50);
296
- transition: background 0.2s, border-color 0.2s;
297
- position: absolute;
298
- top: 0;
299
- left: 0;
300
- z-index: 1;
301
- }
302
-
303
- &:after {
304
- content: '';
305
- display: block;
306
- position: absolute;
307
- top: 4px;
308
- left: 2px;
309
- width: 14px;
310
- height: 10px;
311
- background: none;
312
- mask: none;
313
- -webkit-mask: none;
314
- pointer-events: none;
315
- z-index: 2;
316
- transition: background 0.2s;
317
- }
318
-
319
- &:checked {
320
- border-color: var(--c-primary-500);
321
- background: var(--c-primary-500);
322
- }
323
-
324
- &:checked:before {
325
- background: var(--c-primary-500);
326
- }
327
-
328
- &:checked:after {
329
- background: #fff;
330
- mask: url('data:image/svg+xml;utf8,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.5L5 9L13 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
331
- no-repeat center/contain;
332
- -webkit-mask: url('data:image/svg+xml;utf8,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.5L5 9L13 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
333
- no-repeat center/contain;
334
- }
335
- }
336
-
337
- // RESET SLIDE TOGGLE START
338
- input.tc-rev-slide-toggle {
339
- appearance: none;
340
- -webkit-appearance: none;
341
- -moz-appearance: none;
342
- background: none;
343
- border: none;
344
- box-shadow: none;
345
- margin: 0;
346
- outline: none;
347
- padding: 0;
348
-
349
- &::after {
350
- content: initial;
351
- }
352
-
353
- &:checked:before {
354
- left: initial;
355
- top: 2px;
356
- width: 20px;
357
- height: 20px;
358
- border-radius: var(--bor-radius-rounded);
359
- transform: initial;
360
- z-index: initial;
361
- }
362
- }
363
- // RESET SLIDE TOGGLE END
364
-
365
- input.tc-rev-slide-toggle {
366
- width: 40px;
367
- height: 24px;
368
- border-radius: var(--bor-radius-pill);
369
- background-color: var(--c-neutral-300);
370
- cursor: pointer;
371
- position: relative;
372
- transition: background-color 0.2s ease;
373
- display: inline-block;
374
- }
375
-
376
- input.tc-rev-slide-toggle::before {
377
- content: '';
378
- position: absolute;
379
- top: 50%;
380
- left: 2px;
381
- transform: translateY(-50%);
382
- width: 20px;
383
- height: 20px;
384
- border-radius: var(--bor-radius-rounded);
385
- background-color: var(--c-neutral-50);
386
- transition: left 0.2s ease, right 0.2s ease;
387
- }
388
-
389
- input.tc-rev-slide-toggle:checked {
390
- background-color: var(--c-primary-500);
391
- }
392
-
393
- input.tc-rev-slide-toggle:checked::before {
394
- left: auto;
395
- right: 2px;
396
- }
@@ -0,0 +1,64 @@
1
+ // RESET RADIO INPUT START
2
+ input[type='radio'].tc-rev-input-control, input[type='radio'].tc-rev-radio {
3
+ position: initial;
4
+ margin: initial;
5
+
6
+ &:after,
7
+ &:before {
8
+ content: '';
9
+ position: initial;
10
+ border-radius: initial;
11
+ background: initial;
12
+ z-index: initial;
13
+ }
14
+
15
+ &:after {
16
+ height: initial;
17
+ width: initial;
18
+ left: initial;
19
+ margin: initial;
20
+ border: initial;
21
+ }
22
+
23
+ &:checked:before {
24
+ background: initial;
25
+ height: initial;
26
+ width: initial;
27
+ margin: initial;
28
+ z-index: initial;
29
+ }
30
+ }
31
+ // RESET RADIO INPUT END
32
+
33
+ input[type='radio'].tc-rev-input-control, input[type='radio'].tc-rev-radio {
34
+ appearance: none;
35
+ -webkit-appearance: none;
36
+ -moz-appearance: none;
37
+ width: var(--size-20);
38
+ height: var(--size-20);
39
+ min-width: var(--size-20);
40
+ min-height: var(--size-20);
41
+ border: 1px solid var(--c-neutral-700);
42
+ border-radius: var(--bor-radius-rounded);
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ position: relative;
47
+ cursor: pointer;
48
+
49
+ &:checked {
50
+ border: 1px solid var(--c-primary-500);
51
+ }
52
+
53
+ &:checked::before {
54
+ content: '';
55
+ background-color: var(--c-primary-500);
56
+ border-radius: var(--bor-radius-rounded);
57
+ left: 50%;
58
+ height: var(--size-14);
59
+ position: absolute;
60
+ top: 50%;
61
+ transform: translate(-50%, -50%);
62
+ width: var(--size-14);
63
+ }
64
+ }
@@ -0,0 +1,49 @@
1
+ .tc-rev-search-input-container {
2
+ position: relative;
3
+ max-height: var(--size-40);
4
+ min-height: var(--size-40);
5
+ height: var(--size-40);
6
+ min-width: 7.5rem;
7
+
8
+ .tc-rev-search-input-control {
9
+ border: 1px solid var(--c-neutral-400);
10
+ border-radius: var(--bor-radius-pill);
11
+ color: var(--c-neutral-700);
12
+ display: inline-block;
13
+ font-family: var(--f-family);
14
+ font-size: var(--f-size-14);
15
+ line-height: var(--l-height-20);
16
+ outline: none;
17
+ height: var(--size-40);
18
+ transition: 200ms ease;
19
+ padding: 0 var(--size-16);
20
+ position: absolute;
21
+ top: 0;
22
+ left: 0;
23
+ padding-right: var(--size-44);
24
+ width: 100%;
25
+ z-index: 1;
26
+
27
+ &:hover,
28
+ &:focus {
29
+ border-color: var(--c-primary-500);
30
+ }
31
+ }
32
+
33
+ .tc-rev-search-input-btn {
34
+ cursor: pointer;
35
+ display: block;
36
+ position: absolute;
37
+ right: 4px;
38
+ top: 4px;
39
+ z-index: 2;
40
+ font-size: var(--f-size-16);
41
+ background-color: var(--c-primary-500);
42
+ border-radius: var(--bor-radius-rounded);
43
+ border: none;
44
+ width: var(--size-32);
45
+ height: var(--size-32);
46
+ color: var(--c-neutral-50);
47
+ font-size: var(--f-size-16);
48
+ }
49
+ }
@@ -0,0 +1,60 @@
1
+ // RESET SLIDE TOGGLE START
2
+ input.tc-rev-slide-toggle {
3
+ appearance: none;
4
+ -webkit-appearance: none;
5
+ -moz-appearance: none;
6
+ background: none;
7
+ border: none;
8
+ box-shadow: none;
9
+ margin: 0;
10
+ outline: none;
11
+ padding: 0;
12
+
13
+ &::after {
14
+ content: initial;
15
+ }
16
+
17
+ &:checked:before {
18
+ left: initial;
19
+ top: 2px;
20
+ width: 20px;
21
+ height: 20px;
22
+ border-radius: var(--bor-radius-rounded);
23
+ transform: initial;
24
+ z-index: initial;
25
+ }
26
+ }
27
+ // RESET SLIDE TOGGLE END
28
+
29
+ input.tc-rev-slide-toggle {
30
+ width: 40px;
31
+ height: 24px;
32
+ border-radius: var(--bor-radius-pill);
33
+ background-color: var(--c-neutral-300);
34
+ cursor: pointer;
35
+ position: relative;
36
+ transition: background-color 0.2s ease;
37
+ display: inline-block;
38
+ }
39
+
40
+ input.tc-rev-slide-toggle::before {
41
+ content: '';
42
+ position: absolute;
43
+ top: 50%;
44
+ left: 2px;
45
+ transform: translateY(-50%);
46
+ width: 20px;
47
+ height: 20px;
48
+ border-radius: var(--bor-radius-rounded);
49
+ background-color: var(--c-neutral-50);
50
+ transition: left 0.2s ease, right 0.2s ease;
51
+ }
52
+
53
+ input.tc-rev-slide-toggle:checked {
54
+ background-color: var(--c-primary-500);
55
+ }
56
+
57
+ input.tc-rev-slide-toggle:checked::before {
58
+ left: auto;
59
+ right: 2px;
60
+ }
@@ -4,7 +4,7 @@
4
4
  background-color: var(--c-neutral-50);
5
5
  border: var(--bor-size-1) solid var(--c-neutral-400);
6
6
  border-radius: var(--bor-radius-8);
7
- color: var(--c-neutral-900);
7
+ color: var(--c-neutral-700);
8
8
  cursor: pointer;
9
9
  display: inline-flex;
10
10
  font-family: var(--f-family);
@@ -7,7 +7,11 @@
7
7
  @use './components/tc-rev-ag-grid-table';
8
8
  @use './components/tc-rev-table';
9
9
  @use './components/tc-rev-button';
10
+ @use './components/tc-rev-checkbox';
10
11
  @use './components/tc-rev-input-control';
12
+ @use './components/tc-rev-radio';
13
+ @use './components/tc-rev-search-input';
14
+ @use './components/tc-rev-slide-toggle';
11
15
  @use './components/tc-rev-tab-item';
12
16
  @use './components/tc-rev-util';
13
17
  @use './_tc-rev-opacity';
@@ -23,5 +27,5 @@
23
27
  // Purpose (e.g., “welding,” “polishing,” “sports”)
24
28
 
25
29
  .power-bi-container .report-container{
26
- height: 1200px;;
30
+ height: 1200px;
27
31
  }