@infonomic/uikit 5.27.0 → 5.29.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/accordion/accordion.js +5 -5
- package/dist/components/accordion/accordion.module.css +11 -5
- package/dist/components/accordion/accordion_module.css +7 -7
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/avatar.js +5 -4
- package/dist/components/avatar/avatar.module.css +17 -11
- package/dist/components/avatar/avatar_module.css +6 -6
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/badge.module.css +8 -8
- package/dist/components/badge/badge_module.css +8 -8
- package/dist/components/button/button-group.module.css +5 -3
- package/dist/components/button/button-group_module.css +2 -2
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button.module.css +50 -50
- package/dist/components/button/button_module.css +38 -38
- package/dist/components/button/control-buttons.js +1 -1
- package/dist/components/button/control-buttons.module.css +6 -2
- package/dist/components/button/control-buttons_module.css +1 -1
- package/dist/components/button/copy-button.d.ts.map +1 -1
- package/dist/components/button/copy-button.js +2 -2
- package/dist/components/button/copy-button.module.css +14 -13
- package/dist/components/button/copy-button_module.css +7 -7
- package/dist/components/card/card.js +6 -6
- package/dist/components/card/card.module.css +10 -10
- package/dist/components/card/card_module.css +10 -10
- package/dist/components/chips/chip.js +5 -5
- package/dist/components/chips/chip.module.css +49 -45
- package/dist/components/chips/chip_module.css +35 -35
- package/dist/components/container/container.d.ts.map +1 -1
- package/dist/components/container/container.js +1 -1
- package/dist/components/container/container.module.css +14 -10
- package/dist/components/container/container_module.css +4 -4
- package/dist/components/dropdown/dropdown.js +8 -8
- package/dist/components/dropdown/dropdown.module.css +18 -11
- package/dist/components/dropdown/dropdown_module.css +8 -9
- package/dist/components/forms/checkbox.js +5 -5
- package/dist/components/forms/checkbox.module.css +62 -33
- package/dist/components/forms/checkbox_module.css +26 -26
- package/dist/components/forms/error-text.module.css +8 -7
- package/dist/components/forms/error-text_module.css +1 -1
- package/dist/components/forms/help-text.js +1 -1
- package/dist/components/forms/help-text.module.css +8 -7
- package/dist/components/forms/help-text_module.css +1 -1
- package/dist/components/forms/input-adornment.js +1 -1
- package/dist/components/forms/input-adornment.module.css +10 -9
- package/dist/components/forms/input-adornment_module.css +3 -3
- package/dist/components/forms/input.js +5 -5
- package/dist/components/forms/input.module.css +50 -49
- package/dist/components/forms/input_module.css +37 -37
- package/dist/components/forms/label.module.css +9 -8
- package/dist/components/forms/label_module.css +2 -2
- package/dist/components/forms/radio-group.js +1 -1
- package/dist/components/forms/radio-group.module.css +44 -24
- package/dist/components/forms/radio-group_module.css +42 -15
- package/dist/components/forms/select.js +3 -3
- package/dist/components/forms/select.module.css +23 -14
- package/dist/components/forms/select_module.css +17 -6
- package/dist/components/forms/text-area.js +1 -1
- package/dist/components/forms/text-area.module.css +12 -12
- package/dist/components/forms/text-area_module.css +2 -2
- package/dist/components/notifications/alert.js +10 -10
- package/dist/components/notifications/alert.module.css +39 -22
- package/dist/components/notifications/alert_module.css +19 -15
- package/dist/components/notifications/toast.js +5 -5
- package/dist/components/notifications/toast.module.css +53 -24
- package/dist/components/notifications/toast_module.css +66 -13
- package/dist/components/overlay/overlay.module.css +14 -6
- package/dist/components/overlay/overlay_module.css +4 -4
- package/dist/components/pager/pagination.js +2 -2
- package/dist/components/pager/pagination.module.css +12 -11
- package/dist/components/pager/pagination_module.css +18 -2
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area/scroll-area.js +7 -7
- package/dist/components/scroll-area/scroll-area.module.css +17 -11
- package/dist/components/scroll-area/scroll-area_module.css +9 -9
- package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
- package/dist/components/scroll-to-top/scroll-to-top.module.css +16 -14
- package/dist/components/scroll-to-top/scroll-to-top_module.css +9 -9
- package/dist/components/section/section.d.ts.map +1 -1
- package/dist/components/section/section.js +1 -1
- package/dist/components/section/section.module.css +8 -7
- package/dist/components/section/section_module.css +1 -1
- package/dist/components/shimmer/shimmer.module.css +14 -6
- package/dist/components/shimmer/shimmer_module.css +6 -6
- package/dist/components/table/table.js +8 -8
- package/dist/components/table/table.module.css +29 -14
- package/dist/components/table/table_module.css +25 -13
- package/dist/components/tabs/tabs.js +4 -4
- package/dist/components/tabs/tabs.module.css +15 -10
- package/dist/components/tabs/tabs_module.css +9 -9
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.js +3 -2
- package/dist/components/tooltip/tooltip.module.css +11 -10
- package/dist/components/tooltip/tooltip_module.css +2 -2
- package/dist/styles/components-vanilla.css +1 -1
- package/dist/widgets/datepicker/datepicker.d.ts +2 -1
- package/dist/widgets/datepicker/datepicker.d.ts.map +1 -1
- package/dist/widgets/datepicker/datepicker.js +2 -2
- package/dist/widgets/datepicker/datepicker.module.css +33 -16
- package/dist/widgets/datepicker/datepicker.module.js +0 -1
- package/dist/widgets/datepicker/datepicker_module.css +23 -22
- package/dist/widgets/drawer/drawer-container.js +1 -1
- package/dist/widgets/drawer/drawer-content.js +1 -1
- package/dist/widgets/drawer/drawer-header.js +1 -1
- package/dist/widgets/drawer/drawer-top-actions.js +1 -1
- package/dist/widgets/drawer/drawer-wrapper.js +1 -1
- package/dist/widgets/drawer/drawer.module.css +37 -16
- package/dist/widgets/drawer/drawer_module.css +63 -5
- package/dist/widgets/modal/modal-actions.js +1 -1
- package/dist/widgets/modal/modal-container.js +1 -1
- package/dist/widgets/modal/modal-content.js +1 -1
- package/dist/widgets/modal/modal-header.js +1 -1
- package/dist/widgets/modal/modal-wrapper.d.ts.map +1 -1
- package/dist/widgets/modal/modal-wrapper.js +2 -1
- package/dist/widgets/modal/modal.module.css +18 -8
- package/dist/widgets/modal/modal_module.css +14 -6
- package/dist/widgets/timeline/timeline.module.css +28 -16
- package/dist/widgets/timeline/timeline_module.css +15 -9
- package/package.json +17 -17
- package/src/components/accordion/accordion.module.css +11 -5
- package/src/components/accordion/accordion.tsx +5 -5
- package/src/components/avatar/avatar.module.css +17 -11
- package/src/components/avatar/avatar.tsx +5 -4
- package/src/components/badge/badge.module.css +8 -8
- package/src/components/badge/badge.tsx +1 -1
- package/src/components/button/button-group.module.css +5 -3
- package/src/components/button/button.module.css +50 -50
- package/src/components/button/button.tsx +5 -5
- package/src/components/button/control-buttons.module.css +6 -2
- package/src/components/button/control-buttons.tsx +1 -1
- package/src/components/button/copy-button.module.css +14 -13
- package/src/components/button/copy-button.tsx +6 -2
- package/src/components/card/card.module.css +10 -10
- package/src/components/card/card.tsx +6 -6
- package/src/components/chips/chip.module.css +49 -45
- package/src/components/chips/chip.tsx +10 -10
- package/src/components/container/container.module.css +14 -10
- package/src/components/container/container.tsx +2 -2
- package/src/components/dropdown/dropdown.module.css +18 -11
- package/src/components/dropdown/dropdown.tsx +8 -8
- package/src/components/forms/checkbox.module.css +62 -33
- package/src/components/forms/checkbox.tsx +8 -8
- package/src/components/forms/error-text.module.css +8 -7
- package/src/components/forms/help-text.module.css +8 -7
- package/src/components/forms/help-text.tsx +1 -1
- package/src/components/forms/input-adornment.module.css +10 -9
- package/src/components/forms/input-adornment.tsx +2 -2
- package/src/components/forms/input.module.css +50 -49
- package/src/components/forms/input.tsx +8 -8
- package/src/components/forms/label.module.css +9 -8
- package/src/components/forms/radio-group.module.css +44 -24
- package/src/components/forms/radio-group.tsx +1 -1
- package/src/components/forms/select.module.css +23 -14
- package/src/components/forms/select.tsx +3 -3
- package/src/components/forms/text-area.module.css +12 -12
- package/src/components/forms/text-area.tsx +3 -3
- package/src/components/notifications/alert.module.css +39 -22
- package/src/components/notifications/alert.tsx +10 -10
- package/src/components/notifications/toast.module.css +53 -24
- package/src/components/notifications/toast.tsx +5 -5
- package/src/components/overlay/overlay.module.css +14 -6
- package/src/components/pager/pagination.module.css +12 -11
- package/src/components/pager/pagination.tsx +2 -2
- package/src/components/scroll-area/scroll-area.module.css +17 -11
- package/src/components/scroll-area/scroll-area.tsx +8 -8
- package/src/components/scroll-to-top/scroll-to-top.module.css +16 -14
- package/src/components/scroll-to-top/scroll-to-top.tsx +2 -2
- package/src/components/section/section.module.css +8 -7
- package/src/components/section/section.tsx +2 -2
- package/src/components/shimmer/shimmer.module.css +14 -6
- package/src/components/table/table.module.css +29 -14
- package/src/components/table/table.tsx +8 -8
- package/src/components/tabs/tabs.module.css +15 -10
- package/src/components/tabs/tabs.tsx +4 -4
- package/src/components/tooltip/tooltip.module.css +11 -10
- package/src/components/tooltip/tooltip.tsx +5 -2
- package/src/styles/components/loaders.css +1 -1
- package/src/widgets/datepicker/datepicker.module.css +33 -16
- package/src/widgets/datepicker/datepicker.tsx +11 -9
- package/src/widgets/drawer/drawer-container.tsx +1 -1
- package/src/widgets/drawer/drawer-content.tsx +1 -1
- package/src/widgets/drawer/drawer-header.tsx +1 -1
- package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
- package/src/widgets/drawer/drawer-wrapper.tsx +1 -1
- package/src/widgets/drawer/drawer.module.css +37 -16
- package/src/widgets/drawer/drawer.stories.tsx +13 -0
- package/src/widgets/modal/modal-actions.tsx +1 -1
- package/src/widgets/modal/modal-container.tsx +1 -1
- package/src/widgets/modal/modal-content.tsx +1 -1
- package/src/widgets/modal/modal-header.tsx +1 -1
- package/src/widgets/modal/modal-wrapper.tsx +2 -1
- package/src/widgets/modal/modal.module.css +18 -8
- package/src/widgets/timeline/timeline.module.css +28 -16
|
@@ -1,20 +1,21 @@
|
|
|
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
10
|
.input-wrapper,
|
|
10
|
-
:global(.input-wrapper) {
|
|
11
|
+
:global(.infonomic-input-wrapper) {
|
|
11
12
|
display: flex;
|
|
12
13
|
flex-direction: column;
|
|
13
14
|
gap: var(--gap-1);
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.input-container,
|
|
17
|
-
:global(.input-container) {
|
|
18
|
+
:global(.infonomic-input-container) {
|
|
18
19
|
position: relative;
|
|
19
20
|
width: 100%;
|
|
20
21
|
padding: 0;
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
.input,
|
|
27
|
-
:global(.input) {
|
|
28
|
+
:global(.infonomic-input) {
|
|
28
29
|
border: none;
|
|
29
30
|
outline: none;
|
|
30
31
|
font-weight: normal;
|
|
@@ -38,8 +39,8 @@
|
|
|
38
39
|
|
|
39
40
|
.input:focus,
|
|
40
41
|
.input:active,
|
|
41
|
-
:global(.input):focus,
|
|
42
|
-
:global(.input):active {
|
|
42
|
+
:global(.infonomic-input):focus,
|
|
43
|
+
:global(.infonomic-input):active {
|
|
43
44
|
--ring-offset-color: var(--background);
|
|
44
45
|
--ring-offset-shadow: var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color);
|
|
45
46
|
--ring-shadow: var(--ring-inset) 0 0 0 calc(1px + var(--ring-offset-width)) var(--ring-color);
|
|
@@ -48,13 +49,13 @@
|
|
|
48
49
|
|
|
49
50
|
.input:disabled,
|
|
50
51
|
.input[disabled],
|
|
51
|
-
:global(.input):disabled,
|
|
52
|
-
:global(.input)[disabled] {
|
|
52
|
+
:global(.infonomic-input):disabled,
|
|
53
|
+
:global(.infonomic-input)[disabled] {
|
|
53
54
|
pointer-events: none;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
.label,
|
|
57
|
-
:global(.input-label) {
|
|
58
|
+
:global(.infonomic-input-label) {
|
|
58
59
|
font-size: 0.875rem;
|
|
59
60
|
font-weight: 500;
|
|
60
61
|
color: var(--label-color);
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
|
|
63
64
|
/* Sizes */
|
|
64
65
|
.sm,
|
|
65
|
-
:global(.input-sm) {
|
|
66
|
+
:global(.infonomic-input-sm) {
|
|
66
67
|
min-height: 32px;
|
|
67
68
|
font-size: 0.875rem;
|
|
68
69
|
line-height: 0;
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
.md,
|
|
73
|
-
:global(.input-md) {
|
|
74
|
+
:global(.infonomic-input-md) {
|
|
74
75
|
min-height: 38px;
|
|
75
76
|
font-size: 1.1rem;
|
|
76
77
|
line-height: 0;
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
.lg,
|
|
81
|
-
:global(.input-lg) {
|
|
82
|
+
:global(.infonomic-input-lg) {
|
|
82
83
|
min-height: 46px;
|
|
83
84
|
font-size: 1.2rem;
|
|
84
85
|
line-height: 0;
|
|
@@ -87,50 +88,50 @@
|
|
|
87
88
|
|
|
88
89
|
.start-adornment,
|
|
89
90
|
.end-adornment,
|
|
90
|
-
:global(.input-start-adornment),
|
|
91
|
-
:global(.input-end-adornment) {
|
|
91
|
+
:global(.infonomic-input-start-adornment),
|
|
92
|
+
:global(.infonomic-input-end-adornment) {
|
|
92
93
|
position: absolute;
|
|
93
94
|
display: flex;
|
|
94
95
|
align-items: center;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
.start-adornment,
|
|
98
|
-
:global(.input-start-adornment) {
|
|
99
|
+
:global(.infonomic-input-start-adornment) {
|
|
99
100
|
left: 5px;
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
.end-adornment,
|
|
103
|
-
:global(.input-end-adornment) {
|
|
104
|
+
:global(.infonomic-input-end-adornment) {
|
|
104
105
|
right: 5px;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
.help-text,
|
|
108
|
-
:global(.input-help-text) {
|
|
109
|
+
:global(.infonomic-input-help-text) {
|
|
109
110
|
font-size: 0.75rem;
|
|
110
111
|
color: var(--help-text-color);
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
/* Variants */
|
|
114
115
|
.outlined,
|
|
115
|
-
:global(.input-outlined) {
|
|
116
|
+
:global(.infonomic-input-outlined) {
|
|
116
117
|
border: 1px solid var(--input-variant-outlined-border);
|
|
117
118
|
background-color: transparent;
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
.outlined:hover,
|
|
121
|
-
:global(.input-outlined):hover {
|
|
122
|
+
:global(.infonomic-input-outlined):hover {
|
|
122
123
|
border: 1px solid var(--input-variant-outlined-hover-border);
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
.outlined:focus,
|
|
126
127
|
.outlined:active,
|
|
127
|
-
:global(.input-outlined):focus,
|
|
128
|
-
:global(.input-outlined):active {
|
|
128
|
+
:global(.infonomic-input-outlined):focus,
|
|
129
|
+
:global(.infonomic-input-outlined):active {
|
|
129
130
|
--ring-color: var(--input-variant-outline-ring-color);
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
.underlined,
|
|
133
|
-
:global(.input-underlined) {
|
|
134
|
+
:global(.infonomic-input-underlined) {
|
|
134
135
|
border-bottom: 1px solid var(--input-variant-underlined-border);
|
|
135
136
|
border-radius: 0;
|
|
136
137
|
gap: var(--gap-1);
|
|
@@ -139,79 +140,79 @@
|
|
|
139
140
|
|
|
140
141
|
/* Sizes */
|
|
141
142
|
.underlined.sm,
|
|
142
|
-
:global(.input-underlined.input-sm) {
|
|
143
|
+
:global(.infonomic-input-underlined.input-sm) {
|
|
143
144
|
padding: 0.25rem 0.1rem;
|
|
144
145
|
min-height: 26px;
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
.underlined.md,
|
|
148
|
-
:global(.input-underlined.input-md) {
|
|
149
|
+
:global(.infonomic-input-underlined.input-md) {
|
|
149
150
|
padding: 0.25rem 0.1rem;
|
|
150
151
|
min-height: 30px;
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
.underlined.lg,
|
|
154
|
-
:global(.input-underlined.input-lg) {
|
|
155
|
+
:global(.infonomic-input-underlined.input-lg) {
|
|
155
156
|
padding: 0 0.1rem;
|
|
156
157
|
min-height: 34px;
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
.underlined:hover,
|
|
160
|
-
:global(.input-underlined):hover {
|
|
161
|
+
:global(.infonomic-input-underlined):hover {
|
|
161
162
|
border-bottom: 1px solid var(--input-variant-underlined-hover-border);
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
.filled,
|
|
165
|
-
:global(.input-filled) {
|
|
166
|
+
:global(.infonomic-input-filled) {
|
|
166
167
|
background-color: var(--input-variant-filled);
|
|
167
168
|
}
|
|
168
169
|
|
|
169
170
|
/* Error classes last, so that they override all
|
|
170
171
|
of the above */
|
|
171
172
|
.error,
|
|
172
|
-
:global(.input-error) {
|
|
173
|
+
:global(.infonomic-input-error) {
|
|
173
174
|
border: 1px solid var(--red-400);
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
.error:hover,
|
|
177
|
-
:global(.input-error):hover {
|
|
178
|
+
:global(.infonomic-input-error):hover {
|
|
178
179
|
border: 1px solid var(--red-400);
|
|
179
180
|
}
|
|
180
181
|
|
|
181
182
|
.error:focus,
|
|
182
183
|
.error:active,
|
|
183
|
-
:global(.input-error):focus,
|
|
184
|
-
:global(.input-error):active {
|
|
184
|
+
:global(.infonomic-input-error):focus,
|
|
185
|
+
:global(.infonomic-input-error):active {
|
|
185
186
|
--ring-color: var(--red-300);
|
|
186
187
|
}
|
|
187
188
|
|
|
188
189
|
.underlined.start-adornment-padding,
|
|
189
190
|
.start-adornment-padding,
|
|
190
|
-
:global(.input-underlined.input-start-adornment-padding),
|
|
191
|
-
:global(.input-start-adornment-padding) {
|
|
191
|
+
:global(.infonomic-input-underlined.input-start-adornment-padding),
|
|
192
|
+
:global(.infonomic-input-start-adornment-padding) {
|
|
192
193
|
padding-left: 2rem;
|
|
193
194
|
}
|
|
194
195
|
|
|
195
196
|
.underlined.end-adornment-padding,
|
|
196
197
|
.end-adornment-padding,
|
|
197
|
-
:global(.input-underlined.input-end-adornment-padding),
|
|
198
|
-
:global(.input-end-adornment-padding) {
|
|
198
|
+
:global(.infonomic-input-underlined.input-end-adornment-padding),
|
|
199
|
+
:global(.infonomic-input-end-adornment-padding) {
|
|
199
200
|
padding-right: 2rem;
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
.underlined.start-adornment,
|
|
203
|
-
:global(.input-underlined.input-start-adornment) {
|
|
204
|
+
:global(.infonomic-input-underlined.input-start-adornment) {
|
|
204
205
|
left: 0;
|
|
205
206
|
}
|
|
206
207
|
|
|
207
208
|
.underlined.end-adornment,
|
|
208
|
-
:global(.input-underlined.input-end-adornment) {
|
|
209
|
+
:global(.infonomic-input-underlined.input-end-adornment) {
|
|
209
210
|
right: 0;
|
|
210
211
|
}
|
|
211
212
|
|
|
212
213
|
/* Intents */
|
|
213
214
|
.primary,
|
|
214
|
-
:global(.input-primary) {
|
|
215
|
+
:global(.infonomic-input-primary) {
|
|
215
216
|
--input-variant-outlined-border: var(--stroke-primary);
|
|
216
217
|
--input-variant-outlined-hover-border: var(--stroke-primary-hover);
|
|
217
218
|
--input-variant-outline-ring-color: var(--ring-primary);
|
|
@@ -221,7 +222,7 @@
|
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
.secondary,
|
|
224
|
-
:global(.input-secondary) {
|
|
225
|
+
:global(.infonomic-input-secondary) {
|
|
225
226
|
--input-variant-outlined-border: var(--stroke-secondary);
|
|
226
227
|
--input-variant-outlined-hover-border: var(--stroke-secondary-hover);
|
|
227
228
|
--input-variant-outline-ring-color: var(--ring-secondary);
|
|
@@ -231,7 +232,7 @@
|
|
|
231
232
|
}
|
|
232
233
|
|
|
233
234
|
.noeffect,
|
|
234
|
-
:global(.input-noeffect) {
|
|
235
|
+
:global(.infonomic-input-noeffect) {
|
|
235
236
|
--input-variant-outlined-border: var(--stroke-noeffect);
|
|
236
237
|
--input-variant-outlined-hover-border: var(--stroke-noeffect-hover);
|
|
237
238
|
--input-variant-outline-ring-color: var(--ring-noeffect);
|
|
@@ -241,7 +242,7 @@
|
|
|
241
242
|
}
|
|
242
243
|
|
|
243
244
|
.success,
|
|
244
|
-
:global(.input-success) {
|
|
245
|
+
:global(.infonomic-input-success) {
|
|
245
246
|
--input-variant-outlined-border: var(--stroke-success);
|
|
246
247
|
--input-variant-outlined-hover-border: var(--stroke-success-hover);
|
|
247
248
|
--input-variant-outline-ring-color: var(--ring-success);
|
|
@@ -251,7 +252,7 @@
|
|
|
251
252
|
}
|
|
252
253
|
|
|
253
254
|
.info,
|
|
254
|
-
:global(.input-info) {
|
|
255
|
+
:global(.infonomic-input-info) {
|
|
255
256
|
--input-variant-outlined-border: var(--stroke-info);
|
|
256
257
|
--input-variant-outlined-hover-border: var(--stroke-info-hover);
|
|
257
258
|
--input-variant-outline-ring-color: var(--ring-info);
|
|
@@ -261,7 +262,7 @@
|
|
|
261
262
|
}
|
|
262
263
|
|
|
263
264
|
.warning,
|
|
264
|
-
:global(.input-warning) {
|
|
265
|
+
:global(.infonomic-input-warning) {
|
|
265
266
|
--input-variant-outlined-border: var(--stroke-warning);
|
|
266
267
|
--input-variant-outlined-hover-border: var(--stroke-warning-hover);
|
|
267
268
|
--input-variant-outline-ring-color: var(--ring-warning);
|
|
@@ -271,7 +272,7 @@
|
|
|
271
272
|
}
|
|
272
273
|
|
|
273
274
|
.danger,
|
|
274
|
-
:global(.input-danger) {
|
|
275
|
+
:global(.infonomic-input-danger) {
|
|
275
276
|
--input-variant-outlined-border: var(--stroke-danger);
|
|
276
277
|
--input-variant-outlined-hover-border: var(--stroke-danger-hover);
|
|
277
278
|
--input-variant-outline-ring-color: var(--ring-danger);
|
|
@@ -281,4 +282,4 @@
|
|
|
281
282
|
}
|
|
282
283
|
|
|
283
284
|
/* Dark mode handled by semantic tokens in theme layer */
|
|
284
|
-
}
|
|
285
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
:is(.input-wrapper-xxN94z, .input-wrapper) {
|
|
4
|
+
:is(.input-wrapper-xxN94z, .infonomic-input-wrapper) {
|
|
5
5
|
gap: var(--gap-1);
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
display: flex;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
:is(.input-container-GveKcr, .input-container) {
|
|
10
|
+
:is(.input-container-GveKcr, .infonomic-input-container) {
|
|
11
11
|
align-items: center;
|
|
12
12
|
gap: var(--gap-2);
|
|
13
13
|
width: 100%;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
position: relative;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
:is(.input-voSL1w, .input) {
|
|
19
|
+
:is(.input-voSL1w, .infonomic-input) {
|
|
20
20
|
gap: var(--gap-2);
|
|
21
21
|
width: 100%;
|
|
22
22
|
transition: all var(--transition-normal);
|
|
@@ -28,77 +28,77 @@
|
|
|
28
28
|
display: inline-flex;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
:is(.input-voSL1w:focus, .input-voSL1w:active, .input:focus, .input:active) {
|
|
31
|
+
:is(.input-voSL1w:focus, .input-voSL1w:active, .infonomic-input:focus, .infonomic-input:active) {
|
|
32
32
|
--ring-offset-color: var(--background);
|
|
33
33
|
--ring-offset-shadow: var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color);
|
|
34
34
|
--ring-shadow: var(--ring-inset) 0 0 0 calc(1px + var(--ring-offset-width)) var(--ring-color);
|
|
35
35
|
box-shadow: var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
:is(.input-voSL1w:disabled, .input-voSL1w[disabled], .input:disabled, .input[disabled]) {
|
|
38
|
+
:is(.input-voSL1w:disabled, .input-voSL1w[disabled], .infonomic-input:disabled, .infonomic-input[disabled]) {
|
|
39
39
|
pointer-events: none;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
:is(.label-a8k0oS, .input-label) {
|
|
42
|
+
:is(.label-a8k0oS, .infonomic-input-label) {
|
|
43
43
|
color: var(--label-color);
|
|
44
44
|
font-size: .875rem;
|
|
45
45
|
font-weight: 500;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
:is(.sm-cI5ETu, .input-sm) {
|
|
48
|
+
:is(.sm-cI5ETu, .infonomic-input-sm) {
|
|
49
49
|
min-height: 32px;
|
|
50
50
|
padding: .25rem .5rem;
|
|
51
51
|
font-size: .875rem;
|
|
52
52
|
line-height: 0;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
:is(.md-moqLi4, .input-md) {
|
|
55
|
+
:is(.md-moqLi4, .infonomic-input-md) {
|
|
56
56
|
min-height: 38px;
|
|
57
57
|
padding: .4rem .5rem;
|
|
58
58
|
font-size: 1.1rem;
|
|
59
59
|
line-height: 0;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
:is(.lg-Tn3YZZ, .input-lg) {
|
|
62
|
+
:is(.lg-Tn3YZZ, .infonomic-input-lg) {
|
|
63
63
|
min-height: 46px;
|
|
64
64
|
padding: .5rem;
|
|
65
65
|
font-size: 1.2rem;
|
|
66
66
|
line-height: 0;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
:is(.start-adornment-H0sdmX, .end-adornment-xl3mid, .input-start-adornment, .input-end-adornment) {
|
|
69
|
+
:is(.start-adornment-H0sdmX, .end-adornment-xl3mid, .infonomic-input-start-adornment, .infonomic-input-end-adornment) {
|
|
70
70
|
align-items: center;
|
|
71
71
|
display: flex;
|
|
72
72
|
position: absolute;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
:is(.start-adornment-H0sdmX, .input-start-adornment) {
|
|
75
|
+
:is(.start-adornment-H0sdmX, .infonomic-input-start-adornment) {
|
|
76
76
|
left: 5px;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
:is(.end-adornment-xl3mid, .input-end-adornment) {
|
|
79
|
+
:is(.end-adornment-xl3mid, .infonomic-input-end-adornment) {
|
|
80
80
|
right: 5px;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
:is(.help-text-MZW4yX, .input-help-text) {
|
|
83
|
+
:is(.help-text-MZW4yX, .infonomic-input-help-text) {
|
|
84
84
|
color: var(--help-text-color);
|
|
85
85
|
font-size: .75rem;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
:is(.outlined-xbB8mE, .input-outlined) {
|
|
88
|
+
:is(.outlined-xbB8mE, .infonomic-input-outlined) {
|
|
89
89
|
border: 1px solid var(--input-variant-outlined-border);
|
|
90
90
|
background-color: #0000;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
:is(.outlined-xbB8mE:hover, .input-outlined:hover) {
|
|
93
|
+
:is(.outlined-xbB8mE:hover, .infonomic-input-outlined:hover) {
|
|
94
94
|
border: 1px solid var(--input-variant-outlined-hover-border);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
:is(.outlined-xbB8mE:focus, .outlined-xbB8mE:active, .input-outlined:focus, .input-outlined:active) {
|
|
97
|
+
:is(.outlined-xbB8mE:focus, .outlined-xbB8mE:active, .infonomic-input-outlined:focus, .infonomic-input-outlined:active) {
|
|
98
98
|
--ring-color: var(--input-variant-outline-ring-color);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
:is(.underlined-zAz2HP, .input-underlined) {
|
|
101
|
+
:is(.underlined-zAz2HP, .infonomic-input-underlined) {
|
|
102
102
|
border-bottom: 1px solid var(--input-variant-underlined-border);
|
|
103
103
|
gap: var(--gap-1);
|
|
104
104
|
background-color: var(--input-variant-underlined);
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
padding: .25rem .1rem;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.input-underlined.input-sm {
|
|
113
|
+
.infonomic-input-underlined.input-sm {
|
|
114
114
|
min-height: 26px;
|
|
115
115
|
padding: .25rem .1rem;
|
|
116
116
|
}
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
padding: .25rem .1rem;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.input-underlined.input-md {
|
|
123
|
+
.infonomic-input-underlined.input-md {
|
|
124
124
|
min-height: 30px;
|
|
125
125
|
padding: .25rem .1rem;
|
|
126
126
|
}
|
|
@@ -130,24 +130,24 @@
|
|
|
130
130
|
padding: 0 .1rem;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.input-underlined.input-lg {
|
|
133
|
+
.infonomic-input-underlined.input-lg {
|
|
134
134
|
min-height: 34px;
|
|
135
135
|
padding: 0 .1rem;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
:is(.underlined-zAz2HP:hover, .input-underlined:hover) {
|
|
138
|
+
:is(.underlined-zAz2HP:hover, .infonomic-input-underlined:hover) {
|
|
139
139
|
border-bottom: 1px solid var(--input-variant-underlined-hover-border);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
:is(.filled-M1_LzJ, .input-filled) {
|
|
142
|
+
:is(.filled-M1_LzJ, .infonomic-input-filled) {
|
|
143
143
|
background-color: var(--input-variant-filled);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
:is(.error-n0kSb0, .input-error), :is(.error-n0kSb0:hover, .input-error:hover) {
|
|
146
|
+
:is(.error-n0kSb0, .infonomic-input-error), :is(.error-n0kSb0:hover, .infonomic-input-error:hover) {
|
|
147
147
|
border: 1px solid var(--red-400);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
:is(.error-n0kSb0:focus, .error-n0kSb0:active, .input-error:focus, .input-error:active) {
|
|
150
|
+
:is(.error-n0kSb0:focus, .error-n0kSb0:active, .infonomic-input-error:focus, .infonomic-input-error:active) {
|
|
151
151
|
--ring-color: var(--red-300);
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
padding-left: 2rem;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.input-underlined.input-start-adornment-padding {
|
|
158
|
+
.infonomic-input-underlined.input-start-adornment-padding {
|
|
159
159
|
padding-left: 2rem;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.input-start-adornment-padding {
|
|
162
|
+
.infonomic-input-start-adornment-padding {
|
|
163
163
|
padding-left: 2rem;
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -167,11 +167,11 @@
|
|
|
167
167
|
padding-right: 2rem;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
.input-underlined.input-end-adornment-padding {
|
|
170
|
+
.infonomic-input-underlined.input-end-adornment-padding {
|
|
171
171
|
padding-right: 2rem;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.input-end-adornment-padding {
|
|
174
|
+
.infonomic-input-end-adornment-padding {
|
|
175
175
|
padding-right: 2rem;
|
|
176
176
|
}
|
|
177
177
|
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
left: 0;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
.input-underlined.input-start-adornment {
|
|
182
|
+
.infonomic-input-underlined.input-start-adornment {
|
|
183
183
|
left: 0;
|
|
184
184
|
}
|
|
185
185
|
|
|
@@ -187,11 +187,11 @@
|
|
|
187
187
|
right: 0;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
.input-underlined.input-end-adornment {
|
|
190
|
+
.infonomic-input-underlined.input-end-adornment {
|
|
191
191
|
right: 0;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
:is(.primary-xZZpZI, .input-primary) {
|
|
194
|
+
:is(.primary-xZZpZI, .infonomic-input-primary) {
|
|
195
195
|
--input-variant-outlined-border: var(--stroke-primary);
|
|
196
196
|
--input-variant-outlined-hover-border: var(--stroke-primary-hover);
|
|
197
197
|
--input-variant-outline-ring-color: var(--ring-primary);
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
--input-variant-filled: var(--fill-primary-weak);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
:is(.secondary-WWDy2x, .input-secondary) {
|
|
203
|
+
:is(.secondary-WWDy2x, .infonomic-input-secondary) {
|
|
204
204
|
--input-variant-outlined-border: var(--stroke-secondary);
|
|
205
205
|
--input-variant-outlined-hover-border: var(--stroke-secondary-hover);
|
|
206
206
|
--input-variant-outline-ring-color: var(--ring-secondary);
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
--input-variant-filled: var(--fill-secondary-weak);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
:is(.noeffect-LHbgak, .input-noeffect) {
|
|
212
|
+
:is(.noeffect-LHbgak, .infonomic-input-noeffect) {
|
|
213
213
|
--input-variant-outlined-border: var(--stroke-noeffect);
|
|
214
214
|
--input-variant-outlined-hover-border: var(--stroke-noeffect-hover);
|
|
215
215
|
--input-variant-outline-ring-color: var(--ring-noeffect);
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
--input-variant-filled: var(--fill-noeffect-weak);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
:is(.success-pMbTwx, .input-success) {
|
|
221
|
+
:is(.success-pMbTwx, .infonomic-input-success) {
|
|
222
222
|
--input-variant-outlined-border: var(--stroke-success);
|
|
223
223
|
--input-variant-outlined-hover-border: var(--stroke-success-hover);
|
|
224
224
|
--input-variant-outline-ring-color: var(--ring-success);
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
--input-variant-filled: var(--fill-success-weak);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
:is(.info-SRpUkb, .input-info) {
|
|
230
|
+
:is(.info-SRpUkb, .infonomic-input-info) {
|
|
231
231
|
--input-variant-outlined-border: var(--stroke-info);
|
|
232
232
|
--input-variant-outlined-hover-border: var(--stroke-info-hover);
|
|
233
233
|
--input-variant-outline-ring-color: var(--ring-info);
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
--input-variant-filled: var(--fill-info-weak);
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
:is(.warning-mHL8O2, .input-warning) {
|
|
239
|
+
:is(.warning-mHL8O2, .infonomic-input-warning) {
|
|
240
240
|
--input-variant-outlined-border: var(--stroke-warning);
|
|
241
241
|
--input-variant-outlined-hover-border: var(--stroke-warning-hover);
|
|
242
242
|
--input-variant-outline-ring-color: var(--ring-warning);
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
--input-variant-filled: var(--fill-warning-weak);
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
:is(.danger-Rzx3WQ, .input-danger) {
|
|
248
|
+
:is(.danger-Rzx3WQ, .infonomic-input-danger) {
|
|
249
249
|
--input-variant-outlined-border: var(--stroke-danger);
|
|
250
250
|
--input-variant-outlined-hover-border: var(--stroke-danger-hover);
|
|
251
251
|
--input-variant-outline-ring-color: var(--ring-danger);
|
|
@@ -1,20 +1,21 @@
|
|
|
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
10
|
.label,
|
|
10
|
-
:global(.label) {
|
|
11
|
+
:global(.infonomic-label) {
|
|
11
12
|
display: block;
|
|
12
13
|
font-weight: 500;
|
|
13
14
|
color: var(--text);
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.required,
|
|
17
|
-
:global(.label-required) {
|
|
18
|
+
:global(.infonomic-label-required) {
|
|
18
19
|
color: var(--error);
|
|
19
20
|
}
|
|
20
|
-
}
|
|
21
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
:is(.label-Q88hWY, .label) {
|
|
4
|
+
:is(.label-Q88hWY, .infonomic-label) {
|
|
5
5
|
color: var(--text);
|
|
6
6
|
font-weight: 500;
|
|
7
7
|
display: block;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
:is(.required-uod5eu, .label-required) {
|
|
10
|
+
:is(.required-uod5eu, .infonomic-label-required) {
|
|
11
11
|
color: var(--error);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -25,7 +25,7 @@ const RadioGroupItem = ({ intent = 'primary', className, id, value, label, ref:
|
|
|
25
25
|
});
|
|
26
26
|
const radio_group_RadioGroup = ({ ref: forwardedRef, className, direction = 'column', children, ...props })=>/*#__PURE__*/ jsx(RadioGroup.Root, {
|
|
27
27
|
ref: forwardedRef,
|
|
28
|
-
className: classnames('radio-group', radio_group_module[direction], className),
|
|
28
|
+
className: classnames('infonomic-radio-group', radio_group_module[direction], className),
|
|
29
29
|
...props,
|
|
30
30
|
children: children
|
|
31
31
|
});
|