@dev-tcloud/tcloud-ui 6.7.0 → 6.8.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 (22) hide show
  1. package/fesm2022/dev-tcloud-tcloud-ui.mjs +1251 -655
  2. package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
  3. package/lib/_modules/tcloud-ui-card-accordion/tcloud-ui-card-accordion.component.d.ts +23 -0
  4. package/lib/_modules/tcloud-ui-checkbox/tcloud-ui-checkbox.directive.d.ts +6 -0
  5. package/lib/_modules/tcloud-ui-dropdown/tcloud-ui-dropdown.component.d.ts +46 -0
  6. package/lib/_modules/tcloud-ui-dropdown-multi/tcloud-ui-dropdown-multi.component.d.ts +44 -0
  7. package/lib/_modules/tcloud-ui-empty-content/tcloud-ui-empty-content.component.d.ts +5 -0
  8. package/lib/_modules/tcloud-ui-faq/tcloud-ui-faq.component.d.ts +12 -0
  9. package/lib/_modules/tcloud-ui-input-container/tcloud-ui-input-container.component.d.ts +10 -0
  10. package/lib/_modules/tcloud-ui-loading/components/tcloud-ui-totvs/tcloud-ui-totvs.component.d.ts +8 -0
  11. package/lib/_modules/tcloud-ui-message/tcloud-ui-message.component.d.ts +7 -0
  12. package/lib/_modules/tcloud-ui-skeleton-loading/tcloud-ui-skeleton-loading.component.d.ts +17 -0
  13. package/lib/_modules/tcloud-ui-tab-group/tcloud-ui-tab-group.component.d.ts +12 -0
  14. package/lib/_modules/tcloud-ui-tab-group/tcloud-ui-tab-item/tcloud-ui-tab-item.component.d.ts +10 -0
  15. package/lib/_modules/tcloud-ui-tag/tag-colors.enum.d.ts +29 -0
  16. package/lib/_modules/tcloud-ui-tag/tcloud-ui-tag.component.d.ts +10 -0
  17. package/lib/revitalizacao/components/tc-rev-input-container/tc-rev-input-container.component.d.ts +1 -1
  18. package/lib/revitalizacao/components/tc-rev-tooltip/tc-rev-tooltip.directive.d.ts +1 -1
  19. package/lib/tcloud-ui.module.d.ts +70 -58
  20. package/package.json +1 -1
  21. package/public-api.d.ts +14 -2
  22. package/scss/tcloud-ui/components/_tcloud-ui-checkbox.scss +116 -0
@@ -0,0 +1,116 @@
1
+ input[type='checkbox'].tcloud-ui-input-checkbox, input[type='checkbox'].tcloud-ui-checkbox {
2
+ position: initial;
3
+ margin: initial;
4
+
5
+ &:after,
6
+ &:before {
7
+ content: '';
8
+ position: initial;
9
+ border-radius: initial;
10
+ background: initial;
11
+ z-index: initial;
12
+ }
13
+
14
+ &:after {
15
+ height: initial;
16
+ width: initial;
17
+ left: initial;
18
+ top: 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
+ left: initial;
31
+ top: initial;
32
+ border: initial;
33
+ border-width: initial;
34
+ transform: initial;
35
+ }
36
+
37
+ &:checked:after {
38
+ border-color: initial;
39
+ }
40
+ }
41
+
42
+ input[type='checkbox'].tcloud-ui-input-checkbox, input[type='checkbox'].tcloud-ui-checkbox {
43
+ appearance: none;
44
+ -webkit-appearance: none;
45
+ width: 20px;
46
+ height: 20px;
47
+ border: 1.5px solid var(--c-neutral-700);
48
+ border-radius: 2px;
49
+ background: #fff;
50
+ cursor: pointer;
51
+ position: relative;
52
+ outline: none;
53
+ transition: border-color 0.2s, background 0.2s;
54
+ display: inline-block;
55
+ vertical-align: middle;
56
+
57
+ &:before {
58
+ content: '';
59
+ display: block;
60
+ width: 100%;
61
+ height: 100%;
62
+ border-radius: 2px;
63
+ background: var(--c-neutral-50);
64
+ transition: background 0.2s, border-color 0.2s;
65
+ position: absolute;
66
+ top: 0;
67
+ left: 0;
68
+ z-index: 1;
69
+ }
70
+
71
+ &:after {
72
+ content: '';
73
+ display: block;
74
+ position: absolute;
75
+ top: 4px;
76
+ left: 2px;
77
+ width: 14px;
78
+ height: 10px;
79
+ background: none;
80
+ mask: none;
81
+ -webkit-mask: none;
82
+ pointer-events: none;
83
+ z-index: 2;
84
+ transition: background 0.2s;
85
+ }
86
+
87
+ &:checked {
88
+ border-color: var(--c-primary-500);
89
+ background: var(--c-primary-500);
90
+ }
91
+
92
+ &:checked:before {
93
+ background: var(--c-primary-500);
94
+ }
95
+
96
+ &:checked:after {
97
+ background: #fff;
98
+ 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>')
99
+ no-repeat center/contain;
100
+ -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>')
101
+ no-repeat center/contain;
102
+ }
103
+
104
+ &:disabled {
105
+ border-color: var(--c-neutral-300);
106
+ cursor: not-allowed;
107
+
108
+ &:checked {
109
+ background: var(--c-neutral-300);
110
+
111
+ &::before {
112
+ background: var(--c-neutral-300);
113
+ }
114
+ }
115
+ }
116
+ }