@infonomic/uikit 5.25.0 → 5.27.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/dist/components/card/card.module.css +3 -4
- package/dist/components/card/card_module.css +2 -18
- package/dist/components/forms/calendar.module.css +16 -15
- package/dist/components/forms/calendar_module.css +3 -3
- package/dist/components/forms/text-area.js +1 -1
- package/dist/components/notifications/toast.module.css +1 -2
- package/dist/components/notifications/toast_module.css +1 -9
- package/dist/components/overlay/overlay.module.css +34 -33
- package/dist/components/overlay/overlay_module.css +35 -39
- package/dist/components/pager/pagination.module.css +2 -1
- package/dist/components/pager/pagination_module.css +1 -1
- package/dist/components/shimmer/shimmer.module.css +1 -2
- package/dist/components/shimmer/shimmer_module.css +1 -11
- package/dist/components/table/table.module.css +11 -8
- package/dist/components/table/table_module.css +4 -4
- package/dist/icons/icons.module.css +1 -2
- package/dist/icons/icons_module.css +16 -144
- package/dist/styles/components-vanilla.css +1 -1
- package/dist/styles/styles.css +1 -1
- package/dist/styles/typography.css +1 -1
- package/dist/widgets/datepicker/datepicker.module.css +1 -2
- package/dist/widgets/datepicker/datepicker_module.css +0 -4
- package/package.json +20 -20
- package/src/components/card/card.module.css +3 -4
- package/src/components/forms/calendar.module.css +16 -15
- package/src/components/forms/text-area.tsx +2 -2
- package/src/components/notifications/toast.module.css +1 -2
- package/src/components/overlay/overlay.module.css +34 -33
- package/src/components/pager/pagination.module.css +2 -1
- package/src/components/shimmer/shimmer.module.css +1 -2
- package/src/components/table/table.module.css +11 -8
- package/src/icons/icons.module.css +1 -2
- package/src/widgets/datepicker/datepicker.module.css +1 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@layer infonomic-base,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
|
170
|
+
.day>button {
|
|
171
171
|
color: var(--foreground);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
/* '[&>button]:bg-accent [&>button]:text-accent-foreground', */
|
|
175
|
-
.today
|
|
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
|
|
182
|
-
.day-selected
|
|
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
|
|
209
|
+
.button-range>button {
|
|
210
210
|
background-color: var(--fill-primary-strong);
|
|
211
211
|
color: white;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
.button-range
|
|
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
|
|
236
|
-
.range-middle
|
|
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
|
+
}
|
|
@@ -44,7 +44,7 @@ export const TextArea = function TextArea({
|
|
|
44
44
|
...rest
|
|
45
45
|
}: TextAreaProps): React.JSX.Element {
|
|
46
46
|
return (
|
|
47
|
-
<
|
|
47
|
+
<div className={cx('text-area-wrapper', inputStyles['input-wrapper'])}>
|
|
48
48
|
{label != null && <Label id={id} htmlFor={id} required={required} label={label} />}
|
|
49
49
|
<textarea
|
|
50
50
|
ref={ref}
|
|
@@ -78,6 +78,6 @@ export const TextArea = function TextArea({
|
|
|
78
78
|
) : (
|
|
79
79
|
helpText?.length > 0 && <HelpText text={helpText} />
|
|
80
80
|
)}
|
|
81
|
-
</
|
|
81
|
+
</div>
|
|
82
82
|
)
|
|
83
83
|
}
|
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
:global(.dark),
|
|
12
|
-
:global([data-theme="dark"]),
|
|
13
|
-
:global([data-theme="dark"]) ::backdrop {
|
|
1
|
+
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
|
+
|
|
3
|
+
@layer infonomic-components {
|
|
14
4
|
.overlay {
|
|
15
|
-
|
|
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;
|
|
16
12
|
}
|
|
17
|
-
}
|
|
18
13
|
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.animate-fade-out {
|
|
24
|
-
animation: fade-out 0.3s ease-in-out;
|
|
25
|
-
}
|
|
14
|
+
:global(.dark) .overlay,
|
|
15
|
+
:global([data-theme="dark"]) .overlay {
|
|
16
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
17
|
+
}
|
|
26
18
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
opacity: 0;
|
|
19
|
+
.animate-fade-in {
|
|
20
|
+
animation: fade-in 0.3s ease-in-out;
|
|
30
21
|
}
|
|
31
22
|
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
.animate-fade-out {
|
|
24
|
+
animation: fade-out 0.3s ease-in-out;
|
|
34
25
|
}
|
|
35
|
-
}
|
|
36
26
|
|
|
37
|
-
@keyframes fade-
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
@keyframes fade-in {
|
|
28
|
+
from {
|
|
29
|
+
opacity: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
to {
|
|
33
|
+
opacity: 1;
|
|
34
|
+
}
|
|
40
35
|
}
|
|
41
36
|
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
@keyframes fade-out {
|
|
38
|
+
from {
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
to {
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
44
45
|
}
|
|
45
46
|
}
|
|
@@ -17,8 +17,7 @@ infonomic-components;
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
:global(.dark),
|
|
20
|
-
:global([data-theme="dark"])
|
|
21
|
-
:global([data-theme="dark"]) ::backdrop {
|
|
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,12 +1,13 @@
|
|
|
1
1
|
@layer infonomic-base,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
|
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
|
+
}
|