@infonomic/uikit 5.24.0 → 5.26.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.
Files changed (40) hide show
  1. package/dist/components/accordion/accordion.module.css +1 -1
  2. package/dist/components/card/card.module.css +5 -6
  3. package/dist/components/card/card.module.js +0 -1
  4. package/dist/components/card/card_module.css +2 -10
  5. package/dist/components/forms/calendar.module.css +16 -15
  6. package/dist/components/forms/calendar_module.css +3 -3
  7. package/dist/components/notifications/toast.module.css +2 -3
  8. package/dist/components/notifications/toast.module.js +0 -1
  9. package/dist/components/notifications/toast_module.css +1 -5
  10. package/dist/components/overlay/overlay.module.css +34 -34
  11. package/dist/components/overlay/overlay.module.js +0 -1
  12. package/dist/components/overlay/overlay_module.css +35 -35
  13. package/dist/components/pager/pagination.module.css +2 -1
  14. package/dist/components/pager/pagination_module.css +1 -1
  15. package/dist/components/shimmer/shimmer.module.css +2 -3
  16. package/dist/components/shimmer/shimmer.module.js +0 -1
  17. package/dist/components/shimmer/shimmer_module.css +1 -6
  18. package/dist/components/table/table.module.css +11 -8
  19. package/dist/components/table/table_module.css +4 -4
  20. package/dist/icons/icons.module.css +2 -3
  21. package/dist/icons/icons.module.js +1 -2
  22. package/dist/icons/icons_module.css +16 -80
  23. package/dist/styles/components-vanilla.css +1 -1
  24. package/dist/styles/styles.css +1 -1
  25. package/dist/widgets/datepicker/datepicker.module.css +1 -2
  26. package/dist/widgets/datepicker/datepicker_module.css +0 -4
  27. package/package.json +1 -1
  28. package/src/components/accordion/accordion.module.css +1 -1
  29. package/src/components/card/card.module.css +5 -6
  30. package/src/components/forms/calendar.module.css +16 -15
  31. package/src/components/notifications/toast.module.css +2 -3
  32. package/src/components/overlay/overlay.module.css +34 -34
  33. package/src/components/pager/pagination.module.css +2 -1
  34. package/src/components/shimmer/shimmer.module.css +2 -3
  35. package/src/components/table/table.module.css +11 -8
  36. package/src/icons/icons.module.css +2 -3
  37. package/src/styles/functional/colors.css +1 -1
  38. package/src/styles/functional/surfaces.css +1 -1
  39. package/src/styles/functional/typography.css +2 -2
  40. package/src/widgets/datepicker/datepicker.module.css +1 -2
@@ -56,4 +56,4 @@
56
56
  height: 0;
57
57
  }
58
58
  }
59
- }
59
+ }
@@ -23,9 +23,8 @@ infonomic-components;
23
23
  box-shadow: var(--shadow-sm);
24
24
  }
25
25
 
26
- .dark,
27
- [data-theme="dark"],
28
- [data-theme="dark"] ::backdrop {
26
+ :global(.dark),
27
+ :global([data-theme="dark"]) {
29
28
 
30
29
  .card,
31
30
  :global(.card) {
@@ -33,6 +32,7 @@ infonomic-components;
33
32
  }
34
33
  }
35
34
 
35
+
36
36
  .card-hover,
37
37
  :global(.card-hover) {
38
38
  transition: background 0.2s ease-in-out;
@@ -43,9 +43,8 @@ infonomic-components;
43
43
  background: oklch(from var(--theme-50) 1 0.03 h);
44
44
  }
45
45
 
46
- .dark,
47
- [data-theme="dark"],
48
- [data-theme="dark"] ::backdrop {
46
+ :global(.dark),
47
+ :global([data-theme="dark"]) {
49
48
 
50
49
  .card-hover:hover,
51
50
  :global(.card-hover):hover {
@@ -1,7 +1,6 @@
1
1
  import "./card_module.css";
2
2
  const card_module = {
3
3
  card: "card-mqJaiW",
4
- dark: "dark-NdJxB9",
5
4
  "card-hover": "card-hover-hvT4d6",
6
5
  cardHover: "card-hover-hvT4d6",
7
6
  "card-header": "card-header-XnoBkP",
@@ -16,11 +16,7 @@
16
16
  display: flex;
17
17
  }
18
18
 
19
- :is([data-theme="dark"] ::backdrop .card-mqJaiW, [data-theme="dark"] ::backdrop .card) {
20
- background: var(--canvas-800);
21
- }
22
-
23
- :is(:is(.dark-NdJxB9, [data-theme="dark"]) .card-mqJaiW, :is(.dark-NdJxB9, [data-theme="dark"]) .card) {
19
+ :is(:is(.dark, [data-theme="dark"]) .card-mqJaiW, :is(.dark, [data-theme="dark"]) .card) {
24
20
  background: var(--canvas-800);
25
21
  }
26
22
 
@@ -32,11 +28,7 @@
32
28
  background: oklch(from var(--theme-50) 1 .03 h);
33
29
  }
34
30
 
35
- :is([data-theme="dark"] ::backdrop .card-hover-hvT4d6:hover, [data-theme="dark"] ::backdrop .card-hover:hover) {
36
- background: oklch(from var(--canvas-800) .2 c h);
37
- }
38
-
39
- :is(:is(.dark-NdJxB9, [data-theme="dark"]) .card-hover-hvT4d6:hover, :is(.dark-NdJxB9, [data-theme="dark"]) .card-hover:hover) {
31
+ :is(:is(.dark, [data-theme="dark"]) .card-hover-hvT4d6:hover, :is(.dark, [data-theme="dark"]) .card-hover:hover) {
40
32
  background: oklch(from var(--canvas-800) .2 c h);
41
33
  }
42
34
 
@@ -1,9 +1,9 @@
1
1
  @layer infonomic-base,
2
- infonomic-functional,
3
- infonomic-utilities,
4
- infonomic-theme,
5
- infonomic-typography,
6
- infonomic-components;
2
+ infonomic-functional,
3
+ infonomic-utilities,
4
+ infonomic-theme,
5
+ infonomic-typography,
6
+ infonomic-components;
7
7
 
8
8
  @layer infonomic-components {
9
9
  .day-picker {
@@ -167,19 +167,19 @@
167
167
  }
168
168
 
169
169
  /* '[&>button]:bg-primary [&>button]:text-primary-foreground [&>button]:hover:bg-primary [&>button]:hover:text-primary-foreground', */
170
- .day > button {
170
+ .day>button {
171
171
  color: var(--foreground);
172
172
  }
173
173
 
174
174
  /* '[&>button]:bg-accent [&>button]:text-accent-foreground', */
175
- .today > button {
175
+ .today>button {
176
176
  /* background-color: var(--gray-50); */
177
177
  border: solid 1px var(--stroke-primary);
178
178
  color: var(--foreground);
179
179
  }
180
180
 
181
- .day > button:hover,
182
- .day-selected > button {
181
+ .day>button:hover,
182
+ .day-selected>button {
183
183
  background-color: var(--fill-primary-strong);
184
184
  color: white;
185
185
  }
@@ -206,12 +206,12 @@
206
206
  color: var(--foreground);
207
207
  }
208
208
 
209
- .button-range > button {
209
+ .button-range>button {
210
210
  background-color: var(--fill-primary-strong);
211
211
  color: white;
212
212
  }
213
213
 
214
- .button-range > button:hover {
214
+ .button-range>button:hover {
215
215
  background-color: var(--fill-primary-strong);
216
216
  color: var(--foreground);
217
217
  }
@@ -232,8 +232,8 @@
232
232
  color: var(--foreground);
233
233
  }
234
234
 
235
- .range-middle > button,
236
- .range-middle > button:hover {
235
+ .range-middle>button,
236
+ .range-middle>button:hover {
237
237
  background-color: transparent;
238
238
  color: var(--foreground);
239
239
  }
@@ -249,7 +249,8 @@
249
249
  * color scheme - either by header or cookie, and set
250
250
  * a root html class accordingly
251
251
  */
252
- :global(.dark) {
252
+ :global(.dark),
253
+ :global([data-theme="dark"]) {
253
254
  .select-content {
254
255
  background-color: var(--canvas-800);
255
256
  color: var(--foreground);
@@ -270,4 +271,4 @@
270
271
  opacity: 0.7;
271
272
  }
272
273
  }
273
- }
274
+ }
@@ -205,17 +205,17 @@
205
205
  }
206
206
  }
207
207
 
208
- .dark .select-content-_eFzfR, .dark .scroll-area-epmyLI {
208
+ :is(.dark, [data-theme="dark"]) .select-content-_eFzfR, :is(.dark, [data-theme="dark"]) .scroll-area-epmyLI {
209
209
  background-color: var(--canvas-800);
210
210
  color: var(--foreground);
211
211
  }
212
212
 
213
- .dark .select-item-V5Rg6u:hover {
213
+ :is(.dark, [data-theme="dark"]) .select-item-V5Rg6u:hover {
214
214
  background-color: var(--primary-400);
215
215
  color: var(--foreground);
216
216
  }
217
217
 
218
- .dark .select-chevrons-kPRdHE {
218
+ :is(.dark, [data-theme="dark"]) .select-chevrons-kPRdHE {
219
219
  stroke: var(--primary-200);
220
220
  opacity: .7;
221
221
  }
@@ -24,9 +24,8 @@ infonomic-components;
24
24
  box-shadow: var(--shadow-sm);
25
25
  }
26
26
 
27
- .dark,
28
- [data-theme="dark"],
29
- [data-theme="dark"] ::backdrop {
27
+ :global(.dark),
28
+ :global([data-theme="dark"]) {
30
29
  .root {
31
30
  background: var(--canvas-800);
32
31
  }
@@ -1,7 +1,6 @@
1
1
  import "./toast_module.css";
2
2
  const toast_module = {
3
3
  root: "root-dWN7jD",
4
- dark: "dark-HRIC6o",
5
4
  slideInFromBottom: "slideInFromBottom-O94u9U",
6
5
  hide: "hide-vlOoW0",
7
6
  "top-right": "top-right-OsKbVb",
@@ -16,11 +16,7 @@
16
16
  position: absolute;
17
17
  }
18
18
 
19
- [data-theme="dark"] ::backdrop .root-dWN7jD {
20
- background: var(--canvas-800);
21
- }
22
-
23
- :is(.dark-HRIC6o, [data-theme="dark"]) .root-dWN7jD {
19
+ :is(.dark, [data-theme="dark"]) .root-dWN7jD {
24
20
  background: var(--canvas-800);
25
21
  }
26
22
 
@@ -1,46 +1,46 @@
1
- .overlay {
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- width: 100%;
6
- height: 100%;
7
- background-color: rgba(245, 245, 245, 0.35);
8
- z-index: 20;
9
- }
10
-
11
-
12
- .dark,
13
- [data-theme="dark"],
14
- [data-theme="dark"] ::backdrop {
1
+ @layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
2
+
3
+ @layer infonomic-components {
15
4
  .overlay {
16
- background-color: rgba(0, 0, 0, 0.5);
5
+ position: fixed;
6
+ top: 0;
7
+ left: 0;
8
+ width: 100%;
9
+ height: 100%;
10
+ background-color: rgba(245, 245, 245, 0.35);
11
+ z-index: 20;
17
12
  }
18
- }
19
13
 
20
- .animate-fade-in {
21
- animation: fade-in 0.3s ease-in-out;
22
- }
23
-
24
- .animate-fade-out {
25
- animation: fade-out 0.3s ease-in-out;
26
- }
14
+ :global(.dark) .overlay,
15
+ :global([data-theme="dark"]) .overlay {
16
+ background-color: rgba(0, 0, 0, 0.5);
17
+ }
27
18
 
28
- @keyframes fade-in {
29
- from {
30
- opacity: 0;
19
+ .animate-fade-in {
20
+ animation: fade-in 0.3s ease-in-out;
31
21
  }
32
22
 
33
- to {
34
- opacity: 1;
23
+ .animate-fade-out {
24
+ animation: fade-out 0.3s ease-in-out;
35
25
  }
36
- }
37
26
 
38
- @keyframes fade-out {
39
- from {
40
- opacity: 1;
27
+ @keyframes fade-in {
28
+ from {
29
+ opacity: 0;
30
+ }
31
+
32
+ to {
33
+ opacity: 1;
34
+ }
41
35
  }
42
36
 
43
- to {
44
- opacity: 0;
37
+ @keyframes fade-out {
38
+ from {
39
+ opacity: 1;
40
+ }
41
+
42
+ to {
43
+ opacity: 0;
44
+ }
45
45
  }
46
46
  }
@@ -1,7 +1,6 @@
1
1
  import "./overlay_module.css";
2
2
  const overlay_module = {
3
3
  overlay: "overlay-hax8h5",
4
- dark: "dark-uhJ1zL",
5
4
  "animate-fade-in": "animate-fade-in-oC0Zd7",
6
5
  animateFadeIn: "animate-fade-in-oC0Zd7",
7
6
  "fade-in": "fade-in-ODU8WG",
@@ -1,46 +1,46 @@
1
- .overlay-hax8h5 {
2
- z-index: 20;
3
- background-color: #f5f5f559;
4
- width: 100%;
5
- height: 100%;
6
- position: fixed;
7
- top: 0;
8
- left: 0;
9
- }
10
-
11
- [data-theme="dark"] ::backdrop .overlay-hax8h5 {
12
- background-color: #00000080;
13
- }
14
-
15
- :is(.dark-uhJ1zL, [data-theme="dark"]) .overlay-hax8h5 {
16
- background-color: #00000080;
17
- }
18
-
19
- .animate-fade-in-oC0Zd7 {
20
- animation: .3s ease-in-out fade-in-ODU8WG;
21
- }
1
+ @layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography;
2
+
3
+ @layer infonomic-components {
4
+ .overlay-hax8h5 {
5
+ z-index: 20;
6
+ background-color: #f5f5f559;
7
+ width: 100%;
8
+ height: 100%;
9
+ position: fixed;
10
+ top: 0;
11
+ left: 0;
12
+ }
22
13
 
23
- .animate-fade-out-kWVP8l {
24
- animation: .3s ease-in-out fade-out-i2NoTL;
25
- }
14
+ :is(.dark .overlay-hax8h5, [data-theme="dark"] .overlay-hax8h5) {
15
+ background-color: #00000080;
16
+ }
26
17
 
27
- @keyframes fade-in-ODU8WG {
28
- from {
29
- opacity: 0;
18
+ .animate-fade-in-oC0Zd7 {
19
+ animation: .3s ease-in-out fade-in-ODU8WG;
30
20
  }
31
21
 
32
- to {
33
- opacity: 1;
22
+ .animate-fade-out-kWVP8l {
23
+ animation: .3s ease-in-out fade-out-i2NoTL;
34
24
  }
35
- }
36
25
 
37
- @keyframes fade-out-i2NoTL {
38
- from {
39
- opacity: 1;
26
+ @keyframes fade-in-ODU8WG {
27
+ from {
28
+ opacity: 0;
29
+ }
30
+
31
+ to {
32
+ opacity: 1;
33
+ }
40
34
  }
41
35
 
42
- to {
43
- opacity: 0;
36
+ @keyframes fade-out-i2NoTL {
37
+ from {
38
+ opacity: 1;
39
+ }
40
+
41
+ to {
42
+ opacity: 0;
43
+ }
44
44
  }
45
45
  }
46
46
 
@@ -138,7 +138,8 @@ infonomic-components;
138
138
  * color scheme - either by header or cookie, and set
139
139
  * a root html class accordingly
140
140
  */
141
- :global(.dark) {
141
+ :global(.dark),
142
+ :global([data-theme="dark"]) {
142
143
 
143
144
  .ellipses,
144
145
  .number-button,
@@ -80,7 +80,7 @@
80
80
  }
81
81
  }
82
82
 
83
- .dark .ellipses-D_NPD7, .dark .number-button-bFXP3X, .dark .next-button-WN4Cb5, .dark .last-button-Brbqt2, .dark .previous-button-XaiuAP, .dark .first-button-wfGrPE {
83
+ :is(.dark, [data-theme="dark"]) .ellipses-D_NPD7, :is(.dark, [data-theme="dark"]) .number-button-bFXP3X, :is(.dark, [data-theme="dark"]) .next-button-WN4Cb5, :is(.dark, [data-theme="dark"]) .last-button-Brbqt2, :is(.dark, [data-theme="dark"]) .previous-button-XaiuAP, :is(.dark, [data-theme="dark"]) .first-button-wfGrPE {
84
84
  border-color: var(--canvas-700);
85
85
  }
86
86
  }
@@ -16,9 +16,8 @@ infonomic-components;
16
16
  animation: shimmer 1.5s infinite;
17
17
  }
18
18
 
19
- .dark,
20
- [data-theme="dark"],
21
- [data-theme="dark"] ::backdrop {
19
+ :global(.dark),
20
+ :global([data-theme="dark"]) {
22
21
  .shimmer {
23
22
  background-color: #141414;
24
23
  background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.01), transparent);
@@ -1,7 +1,6 @@
1
1
  import "./shimmer_module.css";
2
2
  const shimmer_module = {
3
3
  shimmer: "shimmer-hQj5gn",
4
- dark: "dark-JA57ru",
5
4
  shimmerContainer: "shimmerContainer-YqBAXa",
6
5
  rectangular: "rectangular-qx6oTl",
7
6
  text: "text-syTLNh",
@@ -10,12 +10,7 @@
10
10
  overflow: hidden;
11
11
  }
12
12
 
13
- [data-theme="dark"] ::backdrop .shimmer-hQj5gn {
14
- background-color: #141414;
15
- background-image: linear-gradient(90deg, #0000, #ffffff03, #0000);
16
- }
17
-
18
- :is(.dark-JA57ru, [data-theme="dark"]) .shimmer-hQj5gn {
13
+ :is(.dark, [data-theme="dark"]) .shimmer-hQj5gn {
19
14
  background-color: #141414;
20
15
  background-image: linear-gradient(90deg, #0000, #ffffff03, #0000);
21
16
  }
@@ -1,12 +1,13 @@
1
1
  @layer infonomic-base,
2
- infonomic-functional,
3
- infonomic-utilities,
4
- infonomic-theme,
5
- infonomic-typography,
6
- infonomic-components;
2
+ infonomic-functional,
3
+ infonomic-utilities,
4
+ infonomic-theme,
5
+ infonomic-typography,
6
+ infonomic-components;
7
7
 
8
8
  /* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
9
9
  @layer infonomic-components {
10
+
10
11
  /* 'table--container break-normal overflow-hidden relative shadow-md rounded-md my-[16px] dark:border dark:border-canvas-700', */
11
12
  .table-container {
12
13
  display: block;
@@ -52,7 +53,8 @@
52
53
  .table-heading-cell {
53
54
  white-space: nowrap;
54
55
  padding: var(--spacing-8) var(--spacing-8);
55
- font-size: 0.975rem; /* 15.6px */
56
+ font-size: 0.975rem;
57
+ /* 15.6px */
56
58
  /* text-transform: uppercase; */
57
59
  background-color: var(--canvas-50);
58
60
  }
@@ -79,7 +81,8 @@
79
81
  * color scheme - either by header or cookie, and set
80
82
  * a root html class accordingly
81
83
  */
82
- :global(.dark) {
84
+ :global(.dark),
85
+ :global([data-theme="dark"]) {
83
86
  .table-header {
84
87
  background-color: var(--canvas-700);
85
88
  }
@@ -101,4 +104,4 @@
101
104
  background-color: var(--canvas-800);
102
105
  }
103
106
  }
104
- }
107
+ }
@@ -59,20 +59,20 @@
59
59
  background-color: var(--canvas-100);
60
60
  }
61
61
 
62
- .dark .table-header-D1lP7m {
62
+ :is(.dark, [data-theme="dark"]) .table-header-D1lP7m {
63
63
  background-color: var(--canvas-700);
64
64
  }
65
65
 
66
- .dark .table-row-ufTNsI:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
66
+ :is(.dark, [data-theme="dark"]) .table-row-ufTNsI:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
67
67
  border-bottom: 1px solid var(--canvas-700);
68
68
  background-color: var(--canvas-800);
69
69
  }
70
70
 
71
- .dark .table-row-ufTNsI:hover:not(:where([class~="not-dark"], [class~="not-dark"] *)), .dark .table-heading-cell-gB6ryy:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
71
+ :is(.dark, [data-theme="dark"]) .table-row-ufTNsI:hover:not(:where([class~="not-dark"], [class~="not-dark"] *)), :is(.dark, [data-theme="dark"]) .table-heading-cell-gB6ryy:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
72
72
  background-color: oklch(from var(--canvas-800) calc(l * 1.1) c h);
73
73
  }
74
74
 
75
- .dark .table-footer-JabMFD:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
75
+ :is(.dark, [data-theme="dark"]) .table-footer-JabMFD:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
76
76
  background-color: var(--canvas-800);
77
77
  }
78
78
  }
@@ -96,9 +96,8 @@
96
96
  fill: var(--red-500);
97
97
  }
98
98
 
99
- .dark,
100
- [data-theme="dark"],
101
- [data-theme="dark"] ::backdrop {
99
+ :global(.dark),
100
+ :global([data-theme="dark"]) {
102
101
  .stroke-gray {
103
102
  stroke: var(--gray-300);
104
103
  }
@@ -41,7 +41,6 @@ const icons_module = {
41
41
  "fill-warning": "fill-warning-MhDHOi",
42
42
  fillWarning: "fill-warning-MhDHOi",
43
43
  "fill-danger": "fill-danger-ON0cOW",
44
- fillDanger: "fill-danger-ON0cOW",
45
- dark: "dark-H6f40i"
44
+ fillDanger: "fill-danger-ON0cOW"
46
45
  };
47
46
  export { icons_module as default };