@infonomic/uikit 5.41.0 → 5.43.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/@types/shared.d.ts +52 -0
- package/dist/components/@types/shared.d.ts.map +1 -1
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/accordion.module.css +1 -2
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/avatar.module.css +6 -7
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/badge/badge.module.css +6 -7
- package/dist/components/button/@types/button.d.ts +31 -1
- package/dist/components/button/@types/button.d.ts.map +1 -1
- package/dist/components/button/button-group.module.css +1 -3
- package/dist/components/button/button.module.css +48 -31
- package/dist/components/button/combo-button.d.ts.map +1 -1
- package/dist/components/button/combo-button.module.css +3 -3
- package/dist/components/button/control-buttons.module.css +1 -2
- package/dist/components/button/copy-button.d.ts.map +1 -1
- package/dist/components/button/copy-button.module.css +6 -7
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/card/card.module.css +6 -10
- package/dist/components/chips/@types/chip.d.ts +20 -0
- package/dist/components/chips/@types/chip.d.ts.map +1 -1
- package/dist/components/chips/chip.d.ts.map +1 -1
- package/dist/components/chips/chip.module.css +30 -19
- package/dist/components/container/container.d.ts.map +1 -1
- package/dist/components/container/container.module.css +6 -10
- package/dist/components/dropdown/dropdown.module.css +6 -7
- package/dist/components/forms/@types/checkbox.d.ts +28 -1
- package/dist/components/forms/@types/checkbox.d.ts.map +1 -1
- package/dist/components/forms/@types/input.d.ts +29 -1
- package/dist/components/forms/@types/input.d.ts.map +1 -1
- package/dist/components/forms/calendar.module.css +14 -14
- package/dist/components/forms/checkbox-group.d.ts.map +1 -1
- package/dist/components/forms/checkbox.d.ts.map +1 -1
- package/dist/components/forms/checkbox.module.css +12 -17
- package/dist/components/forms/checkbox.module.js +0 -1
- package/dist/components/forms/checkbox_module.css +3 -13
- package/dist/components/forms/error-text.module.css +6 -7
- package/dist/components/forms/help-text.d.ts.map +1 -1
- package/dist/components/forms/help-text.module.css +6 -7
- package/dist/components/forms/input-adornment.module.css +6 -7
- package/dist/components/forms/input-password.d.ts.map +1 -1
- package/dist/components/forms/input.d.ts.map +1 -1
- package/dist/components/forms/input.module.css +6 -7
- package/dist/components/forms/label.module.css +6 -7
- package/dist/components/forms/radio-group.module.css +6 -7
- package/dist/components/forms/select.d.ts.map +1 -1
- package/dist/components/forms/select.js +1 -1
- package/dist/components/forms/select.module.css +74 -3
- package/dist/components/forms/select.module.js +10 -0
- package/dist/components/forms/select_module.css +63 -3
- package/dist/components/forms/text-area.module.css +10 -9
- package/dist/components/notifications/@types/alert.d.ts +16 -1
- package/dist/components/notifications/@types/alert.d.ts.map +1 -1
- package/dist/components/notifications/@types/toast.d.ts +36 -1
- package/dist/components/notifications/@types/toast.d.ts.map +1 -1
- package/dist/components/notifications/alert.d.ts.map +1 -1
- package/dist/components/notifications/alert.module.css +6 -7
- package/dist/components/notifications/toast.module.css +6 -8
- package/dist/components/overlay/overlay.module.css +6 -4
- package/dist/components/pager/@types/index.d.ts +12 -0
- package/dist/components/pager/@types/index.d.ts.map +1 -1
- package/dist/components/pager/pagination.module.css +6 -8
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area/scroll-area.module.css +6 -7
- package/dist/components/scroll-to-top/scroll-to-top.module.css +5 -7
- package/dist/components/section/section.d.ts.map +1 -1
- package/dist/components/section/section.module.css +6 -7
- package/dist/components/shimmer/shimmer.module.css +6 -8
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.module.css +6 -8
- package/dist/components/tabs/tabs.module.css +6 -7
- package/dist/components/tooltip/tooltip.module.css +6 -7
- package/dist/icons/eye-closed-icon.d.ts.map +1 -1
- package/dist/icons/eye-open-icon.d.ts.map +1 -1
- package/dist/icons/icons.module.css +1 -1
- package/dist/widgets/datepicker/datepicker.d.ts.map +1 -1
- package/dist/widgets/datepicker/datepicker.module.css +1 -2
- package/dist/widgets/drawer/drawer-container.d.ts.map +1 -1
- package/dist/widgets/drawer/drawer-content.d.ts.map +1 -1
- package/dist/widgets/drawer/drawer.module.css +1 -3
- package/dist/widgets/modal/modal-actions.d.ts.map +1 -1
- package/dist/widgets/modal/modal-container.d.ts.map +1 -1
- package/dist/widgets/modal/modal-content.d.ts.map +1 -1
- package/dist/widgets/modal/modal.module.css +1 -3
- package/dist/widgets/timeline/timeline.module.css +6 -8
- package/package.json +1 -1
- package/src/components/@types/shared.ts +55 -0
- package/src/components/accordion/accordion.module.css +1 -2
- package/src/components/accordion/accordion.stories.tsx +1 -2
- package/src/components/accordion/accordion.tsx +25 -5
- package/src/components/avatar/avatar.module.css +6 -7
- package/src/components/avatar/avatar.tsx +9 -2
- package/src/components/badge/badge.module.css +6 -7
- package/src/components/badge/badge.tsx +7 -1
- package/src/components/button/@types/button.ts +36 -1
- package/src/components/button/button-group.module.css +1 -3
- package/src/components/button/button.module.css +48 -31
- package/src/components/button/button.tsx +1 -1
- package/src/components/button/combo-button.module.css +3 -3
- package/src/components/button/combo-button.tsx +17 -5
- package/src/components/button/combo-buttons.stories.tsx +6 -3
- package/src/components/button/control-buttons.module.css +1 -2
- package/src/components/button/copy-button.module.css +6 -7
- package/src/components/button/copy-button.tsx +12 -3
- package/src/components/card/card.module.css +6 -10
- package/src/components/card/card.tsx +20 -4
- package/src/components/chips/@types/chip.ts +22 -0
- package/src/components/chips/chip.module.css +30 -19
- package/src/components/chips/chip.tsx +10 -5
- package/src/components/container/container.module.css +6 -10
- package/src/components/container/container.tsx +1 -1
- package/src/components/dropdown/dropdown.module.css +6 -7
- package/src/components/forms/@types/checkbox.ts +31 -1
- package/src/components/forms/@types/input.ts +32 -1
- package/src/components/forms/calendar.module.css +14 -14
- package/src/components/forms/checkbox-group.tsx +1 -1
- package/src/components/forms/checkbox.module.css +12 -17
- package/src/components/forms/checkbox.tsx +4 -1
- package/src/components/forms/error-text.module.css +6 -7
- package/src/components/forms/help-text.module.css +6 -7
- package/src/components/forms/help-text.tsx +5 -1
- package/src/components/forms/input-adornment.module.css +6 -7
- package/src/components/forms/input-password.tsx +7 -1
- package/src/components/forms/input.module.css +6 -7
- package/src/components/forms/input.tsx +18 -2
- package/src/components/forms/label.module.css +6 -7
- package/src/components/forms/radio-group.module.css +6 -7
- package/src/components/forms/select.module.css +74 -3
- package/src/components/forms/select.stories.tsx +47 -9
- package/src/components/forms/select.tsx +4 -2
- package/src/components/forms/text-area.module.css +10 -9
- package/src/components/notifications/@types/alert.ts +17 -1
- package/src/components/notifications/@types/toast.ts +40 -1
- package/src/components/notifications/alert.module.css +6 -7
- package/src/components/notifications/alert.tsx +10 -3
- package/src/components/notifications/toast.module.css +6 -8
- package/src/components/overlay/overlay.module.css +6 -4
- package/src/components/pager/@types/index.ts +13 -0
- package/src/components/pager/pagination.module.css +6 -8
- package/src/components/pager/pagination.tsx +6 -1
- package/src/components/scroll-area/scroll-area.module.css +6 -7
- package/src/components/scroll-area/scroll-area.tsx +13 -4
- package/src/components/scroll-to-top/scroll-to-top.module.css +5 -7
- package/src/components/section/section.module.css +6 -7
- package/src/components/section/section.tsx +1 -1
- package/src/components/shimmer/shimmer.module.css +6 -8
- package/src/components/table/table.module.css +6 -8
- package/src/components/table/table.tsx +6 -1
- package/src/components/tabs/tabs.module.css +6 -7
- package/src/components/tooltip/tooltip.module.css +6 -7
- package/src/icons/ai-icon.tsx +1 -1
- package/src/icons/eye-closed-icon.tsx +2 -1
- package/src/icons/eye-open-icon.tsx +1 -5
- package/src/icons/icons.module.css +1 -1
- package/src/styles/base/base.css +1 -1
- package/src/styles/base/colors.css +1 -2
- package/src/styles/components/loaders.css +1 -1
- package/src/styles/functional/colors.css +201 -56
- package/src/styles/functional/surfaces.css +1 -2
- package/src/styles/functional/typography.css +1 -1
- package/src/widgets/datepicker/datepicker.module.css +1 -2
- package/src/widgets/datepicker/datepicker.tsx +44 -16
- package/src/widgets/drawer/drawer-container.tsx +6 -1
- package/src/widgets/drawer/drawer-content.tsx +5 -1
- package/src/widgets/drawer/drawer.module.css +1 -3
- package/src/widgets/modal/modal-actions.tsx +5 -1
- package/src/widgets/modal/modal-container.tsx +5 -1
- package/src/widgets/modal/modal-content.tsx +5 -1
- package/src/widgets/modal/modal.module.css +1 -3
- package/src/widgets/timeline/timeline.module.css +6 -8
|
@@ -1,12 +1,11 @@
|
|
|
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
|
-
|
|
10
9
|
.container,
|
|
11
10
|
:global(.infonomic-container) {
|
|
12
11
|
width: 100%;
|
|
@@ -18,7 +17,6 @@ infonomic-components;
|
|
|
18
17
|
/* Shy edges */
|
|
19
18
|
/* Large */
|
|
20
19
|
@media (min-width: 66rem) {
|
|
21
|
-
|
|
22
20
|
.container,
|
|
23
21
|
:global(.infonomic-container) {
|
|
24
22
|
max-width: 64rem;
|
|
@@ -27,7 +25,6 @@ infonomic-components;
|
|
|
27
25
|
|
|
28
26
|
/* X-Large */
|
|
29
27
|
@media (min-width: 77rem) {
|
|
30
|
-
|
|
31
28
|
.container,
|
|
32
29
|
:global(.infonomic-container) {
|
|
33
30
|
max-width: 74.375rem;
|
|
@@ -36,10 +33,9 @@ infonomic-components;
|
|
|
36
33
|
|
|
37
34
|
/* 2X-Large */
|
|
38
35
|
@media (min-width: 94rem) {
|
|
39
|
-
|
|
40
36
|
.container,
|
|
41
37
|
:global(.infonomic-container) {
|
|
42
38
|
max-width: 87.5rem;
|
|
43
39
|
}
|
|
44
40
|
}
|
|
45
|
-
}
|
|
41
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
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
|
-
|
|
10
9
|
.dropdown-content,
|
|
11
10
|
.dropdown-subcontent,
|
|
12
11
|
:global(.infonomic-dropdown-content),
|
|
@@ -126,4 +125,4 @@ infonomic-components;
|
|
|
126
125
|
transform: translateX(0);
|
|
127
126
|
}
|
|
128
127
|
}
|
|
129
|
-
}
|
|
128
|
+
}
|
|
@@ -1,12 +1,39 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { Intent as t } from '../../@types/shared.js';
|
|
3
3
|
/**
|
|
4
|
-
* This file contains the types and prop-types for
|
|
4
|
+
* This file contains the types and prop-types for the Checkbox and CheckboxGroup components.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Available visual style variants for the Checkbox component.
|
|
5
8
|
*/
|
|
6
9
|
export declare const variant: readonly ["outlined", "filled"];
|
|
10
|
+
/**
|
|
11
|
+
* Visual style variant of the checkbox.
|
|
12
|
+
*
|
|
13
|
+
* - `outlined` — hollow checkbox with an intent-colored border; fills on check (default)
|
|
14
|
+
* - `filled` — always has a tinted background, more prominent in forms
|
|
15
|
+
*
|
|
16
|
+
* @default 'outlined'
|
|
17
|
+
*/
|
|
7
18
|
export type Variant = (typeof variant)[number];
|
|
19
|
+
/**
|
|
20
|
+
* Available size tokens for checkboxes.
|
|
21
|
+
*/
|
|
8
22
|
export declare const size: readonly ["sm", "md", "lg"];
|
|
23
|
+
/**
|
|
24
|
+
* Visual size of the checkbox.
|
|
25
|
+
*
|
|
26
|
+
* - `sm` — small, for dense lists
|
|
27
|
+
* - `md` — standard size (default)
|
|
28
|
+
* - `lg` — large, for touch-friendly or prominent forms
|
|
29
|
+
*
|
|
30
|
+
* @default 'md'
|
|
31
|
+
*/
|
|
9
32
|
export type Size = (typeof size)[number];
|
|
33
|
+
/**
|
|
34
|
+
* Semantic color intent applied to the checkbox border and checked state.
|
|
35
|
+
* @default 'primary'
|
|
36
|
+
*/
|
|
10
37
|
export type Intent = 'primary' | t;
|
|
11
38
|
export type ClassName = string;
|
|
12
39
|
export type Children = ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/@types/checkbox.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,wBAAwB,CAAA;AAEzD;;GAEG;
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/@types/checkbox.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,wBAAwB,CAAA;AAEzD;;GAEG;AAIH;;GAEG;AACH,eAAO,MAAM,OAAO,iCAAkC,CAAA;AAEtD;;;;;;;GAOG;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA;AAE9C;;GAEG;AACH,eAAO,MAAM,IAAI,6BAA8B,CAAA;AAE/C;;;;;;;;GAQG;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAA;AAExC;;;GAGG;AACH,MAAM,MAAM,MAAM,GAAG,SAAS,GAAG,CAAC,CAAA;AAClC,MAAM,MAAM,SAAS,GAAG,MAAM,CAAA;AAC9B,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAA"}
|
|
@@ -1,12 +1,40 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { Intent as t } from '../../@types/shared.js';
|
|
3
3
|
/**
|
|
4
|
-
* This file contains the types and prop-types for
|
|
4
|
+
* This file contains the types and prop-types for the Input and related form components.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Available visual style variants for the Input component.
|
|
5
8
|
*/
|
|
6
9
|
export declare const variant: readonly ["outlined", "filled", "underlined"];
|
|
10
|
+
/**
|
|
11
|
+
* Visual style variant of the input field.
|
|
12
|
+
*
|
|
13
|
+
* - `outlined` — full border on all sides with a transparent background (default)
|
|
14
|
+
* - `filled` — tinted background with only a bottom border
|
|
15
|
+
* - `underlined` — bottom border only, no background (minimal style)
|
|
16
|
+
*
|
|
17
|
+
* @default 'outlined'
|
|
18
|
+
*/
|
|
7
19
|
export type Variant = (typeof variant)[number];
|
|
20
|
+
/**
|
|
21
|
+
* Available size tokens for form inputs.
|
|
22
|
+
*/
|
|
8
23
|
export declare const size: readonly ["sm", "md", "lg"];
|
|
24
|
+
/**
|
|
25
|
+
* Visual size of the input field.
|
|
26
|
+
*
|
|
27
|
+
* - `sm` — compact, suitable for inline forms or dense layouts
|
|
28
|
+
* - `md` — standard form size (default)
|
|
29
|
+
* - `lg` — large, prominent or hero input
|
|
30
|
+
*
|
|
31
|
+
* @default 'md'
|
|
32
|
+
*/
|
|
9
33
|
export type Size = (typeof size)[number];
|
|
34
|
+
/**
|
|
35
|
+
* Semantic color intent applied to the input border and focus ring.
|
|
36
|
+
* @default 'primary'
|
|
37
|
+
*/
|
|
10
38
|
export type Intent = 'primary' | t;
|
|
11
39
|
export type ClassName = string;
|
|
12
40
|
export type Children = ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/@types/input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,wBAAwB,CAAA;AAEzD;;GAEG;
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/@types/input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,wBAAwB,CAAA;AAEzD;;GAEG;AAIH;;GAEG;AACH,eAAO,MAAM,OAAO,+CAAgD,CAAA;AAEpE;;;;;;;;GAQG;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA;AAE9C;;GAEG;AACH,eAAO,MAAM,IAAI,6BAA8B,CAAA;AAE/C;;;;;;;;GAQG;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAA;AAExC;;;GAGG;AACH,MAAM,MAAM,MAAM,GAAG,SAAS,GAAG,CAAC,CAAA;AAClC,MAAM,MAAM,SAAS,GAAG,MAAM,CAAA;AAC9B,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAA"}
|
|
@@ -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 @@ infonomic-components;
|
|
|
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 @@ infonomic-components;
|
|
|
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 @@ infonomic-components;
|
|
|
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
|
}
|
|
@@ -271,4 +271,4 @@ infonomic-components;
|
|
|
271
271
|
opacity: 0.7;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
}
|
|
274
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group.d.ts","sourceRoot":"","sources":["../../../src/components/forms/checkbox-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"checkbox-group.d.ts","sourceRoot":"","sources":["../../../src/components/forms/checkbox-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC3C,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;CAC7C;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgEtD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/forms/checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AASnC,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAEjE,MAAM,WAAW,KAAM,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,EA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I,CAAC,EAAE,IAAI,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,eAAe,KAAK,IAAI,CAAA;CAC/D;AAED,eAAO,MAAM,QAAQ,GAAqB,6KAkBvC,KAAK,GAAG;IACT,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAA;CACzC,KAAG,KAAK,CAAC,GAAG,CAAC,OAkDb,CAAA"}
|
|
@@ -63,9 +63,17 @@ infonomic-components;
|
|
|
63
63
|
width: 20px;
|
|
64
64
|
height: 20px;
|
|
65
65
|
color: var(--checkbox-icon-color);
|
|
66
|
+
/* Hidden by default — prevents flash on initial render before data-state is applied */
|
|
67
|
+
opacity: 0;
|
|
68
|
+
transform: scale(0.8);
|
|
69
|
+
/* Transition handles the unchecked→unchecked no-op and the checked→unchecked exit.
|
|
70
|
+
It only fires on state changes, never on initial mount, so no flash. */
|
|
71
|
+
transition:
|
|
72
|
+
opacity 0.2s ease-in,
|
|
73
|
+
transform 0.2s ease-in;
|
|
66
74
|
}
|
|
67
75
|
|
|
68
|
-
/* Style for the "checked" state */
|
|
76
|
+
/* Style for the "checked" state — animation overrides the transition for bouncy entry */
|
|
69
77
|
.indicator[data-state="checked"] .icon,
|
|
70
78
|
:global(.infonomic-checkbox-indicator)[data-state="checked"] :global(.infonomic-checkbox-icon) {
|
|
71
79
|
animation: checkBoxIn 0.3s cubic-bezier(0.25, 1.5, 0.5, 1) forwards;
|
|
@@ -73,10 +81,9 @@ infonomic-components;
|
|
|
73
81
|
transform: scale(1);
|
|
74
82
|
}
|
|
75
83
|
|
|
76
|
-
/* Style for the "unchecked" state */
|
|
84
|
+
/* Style for the "unchecked" state — no animation, let the CSS transition handle the exit */
|
|
77
85
|
.indicator[data-state="unchecked"] .icon,
|
|
78
86
|
:global(.infonomic-checkbox-indicator)[data-state="unchecked"] :global(.infonomic-checkbox-icon) {
|
|
79
|
-
animation: checkBoxOut 0.2s ease-in;
|
|
80
87
|
opacity: 0;
|
|
81
88
|
transform: scale(0.8);
|
|
82
89
|
}
|
|
@@ -91,8 +98,8 @@ infonomic-components;
|
|
|
91
98
|
|
|
92
99
|
.checkbox:disabled~.label,
|
|
93
100
|
.checkbox[disabled]~.label,
|
|
94
|
-
:global(.infonomic-checkbox):disabled
|
|
95
|
-
:global(.infonomic-checkbox)[disabled]
|
|
101
|
+
:global(.infonomic-checkbox):disabled~ :global(.infonomic-checkbox-label),
|
|
102
|
+
:global(.infonomic-checkbox)[disabled]~ :global(.infonomic-checkbox-label) {
|
|
96
103
|
pointer-events: none;
|
|
97
104
|
}
|
|
98
105
|
|
|
@@ -270,16 +277,4 @@ infonomic-components;
|
|
|
270
277
|
}
|
|
271
278
|
}
|
|
272
279
|
|
|
273
|
-
/* Define keyframes for the "unchecked" state */
|
|
274
|
-
@keyframes checkBoxOut {
|
|
275
|
-
from {
|
|
276
|
-
opacity: 1;
|
|
277
|
-
transform: scale(1);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
to {
|
|
281
|
-
opacity: 0;
|
|
282
|
-
transform: scale(0.8);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
280
|
}
|
|
@@ -47,6 +47,9 @@
|
|
|
47
47
|
width: 20px;
|
|
48
48
|
height: 20px;
|
|
49
49
|
color: var(--checkbox-icon-color);
|
|
50
|
+
opacity: 0;
|
|
51
|
+
transition: opacity .2s ease-in, transform .2s ease-in;
|
|
52
|
+
transform: scale(.8);
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
:is(.indicator-uDQYoF[data-state="checked"] .icon-gwRvT_, .infonomic-checkbox-indicator[data-state="checked"] .infonomic-checkbox-icon) {
|
|
@@ -57,7 +60,6 @@
|
|
|
57
60
|
|
|
58
61
|
:is(.indicator-uDQYoF[data-state="unchecked"] .icon-gwRvT_, .infonomic-checkbox-indicator[data-state="unchecked"] .infonomic-checkbox-icon) {
|
|
59
62
|
opacity: 0;
|
|
60
|
-
animation: .2s ease-in checkBoxOut-lbT33D;
|
|
61
63
|
transform: scale(.8);
|
|
62
64
|
}
|
|
63
65
|
|
|
@@ -207,17 +209,5 @@
|
|
|
207
209
|
transform: scale(1);
|
|
208
210
|
}
|
|
209
211
|
}
|
|
210
|
-
|
|
211
|
-
@keyframes checkBoxOut-lbT33D {
|
|
212
|
-
from {
|
|
213
|
-
opacity: 1;
|
|
214
|
-
transform: scale(1);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
to {
|
|
218
|
-
opacity: 0;
|
|
219
|
-
transform: scale(.8);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
212
|
}
|
|
223
213
|
|
|
@@ -1,12 +1,11 @@
|
|
|
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
|
-
|
|
10
9
|
.text,
|
|
11
10
|
:global(.infonomic-error-text) {
|
|
12
11
|
font-size: 0.875rem;
|
|
@@ -27,4 +26,4 @@ infonomic-components;
|
|
|
27
26
|
:global(.infonomic-error-text-lg) {
|
|
28
27
|
font-size: 0.9rem;
|
|
29
28
|
}
|
|
30
|
-
}
|
|
29
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help-text.d.ts","sourceRoot":"","sources":["../../../src/components/forms/help-text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,aAAa,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"help-text.d.ts","sourceRoot":"","sources":["../../../src/components/forms/help-text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,aAAa,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAMpF"}
|
|
@@ -1,12 +1,11 @@
|
|
|
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
|
-
|
|
10
9
|
.text,
|
|
11
10
|
:global(.infonomic-help-text) {
|
|
12
11
|
font-size: 0.875rem;
|
|
@@ -27,4 +26,4 @@ infonomic-components;
|
|
|
27
26
|
:global(.infonomic-help-text-lg) {
|
|
28
27
|
font-size: 0.9rem;
|
|
29
28
|
}
|
|
30
|
-
}
|
|
29
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
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
|
-
|
|
10
9
|
.adornment,
|
|
11
10
|
:global(.infonomic-input-adornment) {
|
|
12
11
|
display: flex;
|
|
@@ -24,4 +23,4 @@ infonomic-components;
|
|
|
24
23
|
:global(.infonomic-input-adornment-end) {
|
|
25
24
|
justify-content: flex-end;
|
|
26
25
|
}
|
|
27
|
-
}
|
|
26
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-password.d.ts","sourceRoot":"","sources":["../../../src/components/forms/input-password.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,wBAAgB,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+
|
|
1
|
+
{"version":3,"file":"input-password.d.ts","sourceRoot":"","sources":["../../../src/components/forms/input-password.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,wBAAgB,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAgBrD"}
|
|
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AAC,WAAW,GAAG,OAAO,EAAE,sMAoB3D,UAAU,sBAgEZ,CAAA"}
|
|
@@ -1,12 +1,11 @@
|
|
|
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
|
-
|
|
10
9
|
.input-wrapper,
|
|
11
10
|
:global(.infonomic-input-wrapper) {
|
|
12
11
|
display: flex;
|
|
@@ -282,4 +281,4 @@ infonomic-components;
|
|
|
282
281
|
}
|
|
283
282
|
|
|
284
283
|
/* Dark mode handled by semantic tokens in theme layer */
|
|
285
|
-
}
|
|
284
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
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
|
-
|
|
10
9
|
.label,
|
|
11
10
|
:global(.infonomic-label) {
|
|
12
11
|
display: block;
|
|
@@ -18,4 +17,4 @@ infonomic-components;
|
|
|
18
17
|
:global(.infonomic-label-required) {
|
|
19
18
|
color: var(--error);
|
|
20
19
|
}
|
|
21
|
-
}
|
|
20
|
+
}
|
|
@@ -1,13 +1,12 @@
|
|
|
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
|
-
|
|
11
10
|
.column,
|
|
12
11
|
:global(.infonomic-radio-group-column) {
|
|
13
12
|
display: flex;
|
|
@@ -183,4 +182,4 @@ infonomic-components;
|
|
|
183
182
|
transform: scale(0.8);
|
|
184
183
|
}
|
|
185
184
|
}
|
|
186
|
-
}
|
|
185
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/forms/select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAIrD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAA;AAKpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE/D,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,KAAK,WAAW,GAAG,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAAG;IACzE,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI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K,WAAW,GAAG,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAAG;IACzE,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,cAAc,GAAG,QAAQ,CAAA;IACpC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,EAAE,EACF,QAAQ,EACR,WAAW,EACX,aAAa,EACb,MAAM,EACN,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,WAAW,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAyCjC;AAED,eAAO,MAAM,UAAU;2DAKpB,eAAe,CAAC,eAAe,GAAG;QACnC,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAA;KACjD;;CAeA,CAAA"}
|
|
@@ -45,7 +45,7 @@ function select_Select({ id, children, placeholder, disabledValue, intent, varia
|
|
|
45
45
|
children: /*#__PURE__*/ jsx(ChevronUpIcon, {})
|
|
46
46
|
}),
|
|
47
47
|
/*#__PURE__*/ jsx(Select.Viewport, {
|
|
48
|
-
className: select_module.viewport,
|
|
48
|
+
className: classnames(select_module.viewport, null != size && select_module[`viewport-${size}`]),
|
|
49
49
|
children: /*#__PURE__*/ jsx(Select.Group, {
|
|
50
50
|
className: select_module.group,
|
|
51
51
|
children: children
|
|
@@ -23,6 +23,26 @@ infonomic-components;
|
|
|
23
23
|
padding: 6px;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
.viewport-xs {
|
|
27
|
+
padding: 4px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.viewport-sm {
|
|
31
|
+
padding: 4px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.viewport-md {
|
|
35
|
+
padding: 6px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.viewport-lg {
|
|
39
|
+
padding: 6px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.viewport-xl {
|
|
43
|
+
padding: 8px;
|
|
44
|
+
}
|
|
45
|
+
|
|
26
46
|
.group,
|
|
27
47
|
:global(.infonomic-select-group) {
|
|
28
48
|
z-index: 50;
|
|
@@ -49,8 +69,8 @@ infonomic-components;
|
|
|
49
69
|
background-color: var(--surface-item);
|
|
50
70
|
font-size: 1rem;
|
|
51
71
|
line-height: 1;
|
|
52
|
-
padding-right:
|
|
53
|
-
padding-left:
|
|
72
|
+
padding-right: 32px;
|
|
73
|
+
padding-left: 24px;
|
|
54
74
|
height: 32px;
|
|
55
75
|
display: flex;
|
|
56
76
|
align-items: center;
|
|
@@ -74,9 +94,60 @@ infonomic-components;
|
|
|
74
94
|
:global(.infonomic-select-item-indicator) {
|
|
75
95
|
position: absolute;
|
|
76
96
|
left: 0;
|
|
77
|
-
width:
|
|
97
|
+
width: 24px;
|
|
78
98
|
display: inline-flex;
|
|
79
99
|
align-items: center;
|
|
80
100
|
justify-content: center;
|
|
81
101
|
}
|
|
102
|
+
|
|
103
|
+
/* size variants — treat current values as 'md' */
|
|
104
|
+
.viewport-xs .select-item {
|
|
105
|
+
font-size: 0.75rem;
|
|
106
|
+
height: 24px;
|
|
107
|
+
padding-right: 28px;
|
|
108
|
+
padding-left: 20px;
|
|
109
|
+
border-radius: 4px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.viewport-xs .select-item-indicator {
|
|
113
|
+
width: 20px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.viewport-sm .select-item {
|
|
117
|
+
font-size: 0.875rem;
|
|
118
|
+
height: 28px;
|
|
119
|
+
padding-right: 30px;
|
|
120
|
+
padding-left: 22px;
|
|
121
|
+
border-radius: 5px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.viewport-sm .select-item-indicator {
|
|
125
|
+
width: 22px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* .viewport-md — inherits base .select-item values */
|
|
129
|
+
|
|
130
|
+
.viewport-lg .select-item {
|
|
131
|
+
font-size: 1.125rem;
|
|
132
|
+
height: 34px;
|
|
133
|
+
padding-right: 32px;
|
|
134
|
+
padding-left: 24px;
|
|
135
|
+
border-radius: 6px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.viewport-lg .select-item-indicator {
|
|
139
|
+
width: 24px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.viewport-xl .select-item {
|
|
143
|
+
font-size: 1.25rem;
|
|
144
|
+
height: 40px;
|
|
145
|
+
padding-right: 36px;
|
|
146
|
+
padding-left: 28px;
|
|
147
|
+
border-radius: 8px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.viewport-xl .select-item-indicator {
|
|
151
|
+
width: 28px;
|
|
152
|
+
}
|
|
82
153
|
}
|
|
@@ -2,6 +2,16 @@ import "./select_module.css";
|
|
|
2
2
|
const select_module = {
|
|
3
3
|
content: "content-Dr272c",
|
|
4
4
|
viewport: "viewport-avysx0",
|
|
5
|
+
"viewport-xs": "viewport-xs-ddEB1m",
|
|
6
|
+
viewportXs: "viewport-xs-ddEB1m",
|
|
7
|
+
"viewport-sm": "viewport-sm-fUHdZh",
|
|
8
|
+
viewportSm: "viewport-sm-fUHdZh",
|
|
9
|
+
"viewport-md": "viewport-md-GHDx8O",
|
|
10
|
+
viewportMd: "viewport-md-GHDx8O",
|
|
11
|
+
"viewport-lg": "viewport-lg-joLSnL",
|
|
12
|
+
viewportLg: "viewport-lg-joLSnL",
|
|
13
|
+
"viewport-xl": "viewport-xl-RoyZD9",
|
|
14
|
+
viewportXl: "viewport-xl-RoyZD9",
|
|
5
15
|
group: "group-MyzEdB",
|
|
6
16
|
"scroll-button": "scroll-button-JaxK2W",
|
|
7
17
|
scrollButton: "scroll-button-JaxK2W",
|