@infonomic/uikit 5.27.0 → 5.28.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.module.css +2 -2
- package/dist/widgets/datepicker/datepicker.module.js +0 -1
- package/dist/widgets/datepicker/datepicker_module.css +1 -1
- 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 +2 -2
- 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/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,18 +1,19 @@
|
|
|
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
|
.copy-button-container,
|
|
10
|
-
:global(.copy-button-container) {
|
|
11
|
+
:global(.infonomic-copy-button-container) {
|
|
11
12
|
display: inline-block;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
.copy-button svg,
|
|
15
|
-
:global(.copy-button) svg {
|
|
16
|
+
:global(.infonomic-copy-button) svg {
|
|
16
17
|
width: 90%;
|
|
17
18
|
height: 90%;
|
|
18
19
|
display: block;
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
|
|
21
22
|
/* Sizes */
|
|
22
23
|
.xs,
|
|
23
|
-
:global(.copy-button-xs) {
|
|
24
|
+
:global(.infonomic-copy-button-xs) {
|
|
24
25
|
width: 26px;
|
|
25
26
|
height: 26px;
|
|
26
27
|
min-height: 26px;
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
.sm,
|
|
31
|
-
:global(.copy-button-sm) {
|
|
32
|
+
:global(.infonomic-copy-button-sm) {
|
|
32
33
|
width: 32px;
|
|
33
34
|
height: 32px;
|
|
34
35
|
min-height: 32px;
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
.md,
|
|
39
|
-
:global(.copy-button-md) {
|
|
40
|
+
:global(.infonomic-copy-button-md) {
|
|
40
41
|
width: 38px;
|
|
41
42
|
height: 38px;
|
|
42
43
|
min-height: 38px;
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.lg,
|
|
47
|
-
:global(.copy-button-lg) {
|
|
48
|
+
:global(.infonomic-copy-button-lg) {
|
|
48
49
|
width: 46px;
|
|
49
50
|
height: 46px;
|
|
50
51
|
min-height: 46px;
|
|
@@ -52,10 +53,10 @@
|
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
.xl,
|
|
55
|
-
:global(.copy-button-xl) {
|
|
56
|
+
:global(.infonomic-copy-button-xl) {
|
|
56
57
|
width: 54px;
|
|
57
58
|
height: 54px;
|
|
58
59
|
min-height: 54px;
|
|
59
60
|
padding: 0.65rem;
|
|
60
61
|
}
|
|
61
|
-
}
|
|
62
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
:is(.copy-button-container-vCNz8o, .copy-button-container) {
|
|
4
|
+
:is(.copy-button-container-vCNz8o, .infonomic-copy-button-container) {
|
|
5
5
|
display: inline-block;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
:is(.copy-button-oa4bdj svg, .copy-button svg) {
|
|
8
|
+
:is(.copy-button-oa4bdj svg, .infonomic-copy-button svg) {
|
|
9
9
|
width: 90%;
|
|
10
10
|
height: 90%;
|
|
11
11
|
display: block;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
:is(.xs-lZmf78, .copy-button-xs) {
|
|
14
|
+
:is(.xs-lZmf78, .infonomic-copy-button-xs) {
|
|
15
15
|
width: 26px;
|
|
16
16
|
height: 26px;
|
|
17
17
|
min-height: 26px;
|
|
18
18
|
padding: .25rem;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
:is(.sm-KNN1e5, .copy-button-sm) {
|
|
21
|
+
:is(.sm-KNN1e5, .infonomic-copy-button-sm) {
|
|
22
22
|
width: 32px;
|
|
23
23
|
height: 32px;
|
|
24
24
|
min-height: 32px;
|
|
25
25
|
padding: .35rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
:is(.md-OoH0l4, .copy-button-md) {
|
|
28
|
+
:is(.md-OoH0l4, .infonomic-copy-button-md) {
|
|
29
29
|
width: 38px;
|
|
30
30
|
height: 38px;
|
|
31
31
|
min-height: 38px;
|
|
32
32
|
padding: .45rem;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
:is(.lg-uu5ujz, .copy-button-lg) {
|
|
35
|
+
:is(.lg-uu5ujz, .infonomic-copy-button-lg) {
|
|
36
36
|
width: 46px;
|
|
37
37
|
height: 46px;
|
|
38
38
|
min-height: 46px;
|
|
39
39
|
padding: .55rem;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
:is(.xl-pFYyrS, .copy-button-xl) {
|
|
42
|
+
:is(.xl-pFYyrS, .infonomic-copy-button-xl) {
|
|
43
43
|
width: 54px;
|
|
44
44
|
height: 54px;
|
|
45
45
|
min-height: 54px;
|
|
@@ -8,7 +8,7 @@ const Card = ({ className, hover, children, asChild, ref, ...rest })=>{
|
|
|
8
8
|
const classes = classnames(card_module.card, hoverClasses, className);
|
|
9
9
|
return /*#__PURE__*/ jsx(Comp, {
|
|
10
10
|
ref: ref,
|
|
11
|
-
className: classes,
|
|
11
|
+
className: classnames('infonomic-card', classes),
|
|
12
12
|
...rest,
|
|
13
13
|
children: children
|
|
14
14
|
});
|
|
@@ -16,31 +16,31 @@ const Card = ({ className, hover, children, asChild, ref, ...rest })=>{
|
|
|
16
16
|
Card.displayName = 'Card';
|
|
17
17
|
const Header = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
18
18
|
ref: ref,
|
|
19
|
-
className: classnames(card_module["card-header"], className),
|
|
19
|
+
className: classnames('infonomic-card-header', card_module["card-header"], className),
|
|
20
20
|
...props
|
|
21
21
|
});
|
|
22
22
|
Header.displayName = 'CardHeader';
|
|
23
23
|
const Title = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
24
24
|
ref: ref,
|
|
25
|
-
className: classnames(card_module["card-title"], className),
|
|
25
|
+
className: classnames('infonomic-card-title', card_module["card-title"], className),
|
|
26
26
|
...props
|
|
27
27
|
});
|
|
28
28
|
Title.displayName = 'CardTitle';
|
|
29
29
|
const Description = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
30
30
|
ref: ref,
|
|
31
|
-
className: classnames(card_module["card-description"], className),
|
|
31
|
+
className: classnames("infonomic-card-description", card_module["card-description"], className),
|
|
32
32
|
...props
|
|
33
33
|
});
|
|
34
34
|
Description.displayName = "CardDescription";
|
|
35
35
|
const Content = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
36
36
|
ref: ref,
|
|
37
|
-
className: classnames(card_module["card-content"], className),
|
|
37
|
+
className: classnames('infonomic-card-content', card_module["card-content"], className),
|
|
38
38
|
...props
|
|
39
39
|
});
|
|
40
40
|
Content.displayName = 'CardContent';
|
|
41
41
|
const Footer = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
42
42
|
ref: ref,
|
|
43
|
-
className: classnames(card_module["card-footer"], className),
|
|
43
|
+
className: classnames('infonomic-card-footer', card_module["card-footer"], className),
|
|
44
44
|
...props
|
|
45
45
|
});
|
|
46
46
|
Footer.displayName = 'CardFooter';
|
|
@@ -8,7 +8,7 @@ infonomic-components;
|
|
|
8
8
|
@layer infonomic-components {
|
|
9
9
|
|
|
10
10
|
.card,
|
|
11
|
-
:global(.card) {
|
|
11
|
+
:global(.infonomic-card) {
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
text-decoration: none;
|
|
@@ -27,19 +27,19 @@ infonomic-components;
|
|
|
27
27
|
:global([data-theme="dark"]) {
|
|
28
28
|
|
|
29
29
|
.card,
|
|
30
|
-
:global(.card) {
|
|
30
|
+
:global(.infonomic-card) {
|
|
31
31
|
background: var(--canvas-800);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
.card-hover,
|
|
37
|
-
:global(.card-hover) {
|
|
37
|
+
:global(.infonomic-card-hover) {
|
|
38
38
|
transition: background 0.2s ease-in-out;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.card-hover:hover,
|
|
42
|
-
:global(.card-hover):hover {
|
|
42
|
+
:global(.infonomic-card-hover):hover {
|
|
43
43
|
background: oklch(from var(--theme-50) 1 0.03 h);
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -47,13 +47,13 @@ infonomic-components;
|
|
|
47
47
|
:global([data-theme="dark"]) {
|
|
48
48
|
|
|
49
49
|
.card-hover:hover,
|
|
50
|
-
:global(.card-hover):hover {
|
|
50
|
+
:global(.infonomic-card-hover):hover {
|
|
51
51
|
background: oklch(from var(--canvas-800) 0.2 c h);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.card-header,
|
|
56
|
-
:global(.card-header) {
|
|
56
|
+
:global(.infonomic-card-header) {
|
|
57
57
|
display: flex;
|
|
58
58
|
flex-direction: column;
|
|
59
59
|
gap: 0.5rem;
|
|
@@ -61,7 +61,7 @@ infonomic-components;
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.card-title,
|
|
64
|
-
:global(.card-title) {
|
|
64
|
+
:global(.infonomic-card-title) {
|
|
65
65
|
color: var(--headings);
|
|
66
66
|
font-size: 1.8rem;
|
|
67
67
|
font-weight: bold;
|
|
@@ -70,20 +70,20 @@ infonomic-components;
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.card-description,
|
|
73
|
-
:global(.card-description) {
|
|
73
|
+
:global(.infonomic-card-description) {
|
|
74
74
|
font-size: 0.875rem;
|
|
75
75
|
color: var(--muted);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.card-content,
|
|
79
|
-
:global(.card-content) {
|
|
79
|
+
:global(.infonomic-card-content) {
|
|
80
80
|
flex: 1;
|
|
81
81
|
padding: 1rem;
|
|
82
82
|
padding-top: 0;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.card-footer,
|
|
86
|
-
:global(.card-footer) {
|
|
86
|
+
:global(.infonomic-card-footer) {
|
|
87
87
|
display: flex;
|
|
88
88
|
align-items: center;
|
|
89
89
|
padding: 1rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
:is(.card-mqJaiW, .card) {
|
|
4
|
+
:is(.card-mqJaiW, .infonomic-card) {
|
|
5
5
|
width: 100%;
|
|
6
6
|
max-width: 100%;
|
|
7
7
|
color: var(--foreground);
|
|
@@ -16,30 +16,30 @@
|
|
|
16
16
|
display: flex;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
:is(:is(.dark, [data-theme="dark"]) .card-mqJaiW, :is(.dark, [data-theme="dark"]) .card) {
|
|
19
|
+
:is(:is(.dark, [data-theme="dark"]) .card-mqJaiW, :is(.dark, [data-theme="dark"]) .infonomic-card) {
|
|
20
20
|
background: var(--canvas-800);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
:is(.card-hover-hvT4d6, .card-hover) {
|
|
23
|
+
:is(.card-hover-hvT4d6, .infonomic-card-hover) {
|
|
24
24
|
transition: background .2s ease-in-out;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
:is(.card-hover-hvT4d6:hover, .card-hover:hover) {
|
|
27
|
+
:is(.card-hover-hvT4d6:hover, .infonomic-card-hover:hover) {
|
|
28
28
|
background: oklch(from var(--theme-50) 1 .03 h);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
:is(:is(.dark, [data-theme="dark"]) .card-hover-hvT4d6:hover, :is(.dark, [data-theme="dark"]) .card-hover:hover) {
|
|
31
|
+
:is(:is(.dark, [data-theme="dark"]) .card-hover-hvT4d6:hover, :is(.dark, [data-theme="dark"]) .infonomic-card-hover:hover) {
|
|
32
32
|
background: oklch(from var(--canvas-800) .2 c h);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
:is(.card-header-XnoBkP, .card-header) {
|
|
35
|
+
:is(.card-header-XnoBkP, .infonomic-card-header) {
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
gap: .5rem;
|
|
38
38
|
padding: 1rem;
|
|
39
39
|
display: flex;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
:is(.card-title-JI7Lu3, .card-title) {
|
|
42
|
+
:is(.card-title-JI7Lu3, .infonomic-card-title) {
|
|
43
43
|
color: var(--headings);
|
|
44
44
|
letter-spacing: -.015em;
|
|
45
45
|
font-size: 1.8rem;
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
line-height: 1;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
:is(.card-description-fwu7HE, .card-description) {
|
|
50
|
+
:is(.card-description-fwu7HE, .infonomic-card-description) {
|
|
51
51
|
color: var(--muted);
|
|
52
52
|
font-size: .875rem;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
:is(.card-content-uhoZYJ, .card-content) {
|
|
55
|
+
:is(.card-content-uhoZYJ, .infonomic-card-content) {
|
|
56
56
|
flex: 1;
|
|
57
57
|
padding: 0 1rem 1rem;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
:is(.card-footer-BxTa4b, .card-footer) {
|
|
60
|
+
:is(.card-footer-BxTa4b, .infonomic-card-footer) {
|
|
61
61
|
align-items: center;
|
|
62
62
|
padding: 0 1rem 1rem;
|
|
63
63
|
display: flex;
|
|
@@ -53,7 +53,7 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
|
|
|
53
53
|
onClick: handleRemoveClick,
|
|
54
54
|
onKeyDown: handleRemoveKeyDown,
|
|
55
55
|
children: /*#__PURE__*/ jsx(CloseIcon, {
|
|
56
|
-
className: classnames(chip_module.icon, chip_module["close-icon"])
|
|
56
|
+
className: classnames('infonomic-chip-close-icon', chip_module.icon, chip_module["close-icon"])
|
|
57
57
|
})
|
|
58
58
|
}) : endIcon;
|
|
59
59
|
const appliedVariant = isSelected ? 'filled' : 'outlined';
|
|
@@ -65,7 +65,7 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
|
|
|
65
65
|
"aria-disabled": disabled || void 0,
|
|
66
66
|
"aria-pressed": isSelectable ? isSelected : void 0,
|
|
67
67
|
"aria-selected": isSelectable ? isSelected : void 0,
|
|
68
|
-
className: classnames('chip', variant
|
|
68
|
+
className: classnames('infonomic-chip', `infonomic-chip-${variant}`, `infonomic-chip-${intent}`, `infonomic-chip-${size}`, {
|
|
69
69
|
selected: isSelected,
|
|
70
70
|
disabled,
|
|
71
71
|
removable: isRemovable
|
|
@@ -76,15 +76,15 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
|
|
|
76
76
|
...restProps,
|
|
77
77
|
children: [
|
|
78
78
|
null != leadingIcon && /*#__PURE__*/ jsx("span", {
|
|
79
|
-
className: classnames(chip_module.iconWrapper),
|
|
79
|
+
className: classnames('infonomic-chip-icon-wrapper', chip_module.iconWrapper),
|
|
80
80
|
children: leadingIcon
|
|
81
81
|
}),
|
|
82
82
|
/*#__PURE__*/ jsx("span", {
|
|
83
|
-
className: chip_module.label,
|
|
83
|
+
className: classnames('infonomic-chip-label', chip_module.label),
|
|
84
84
|
children: children
|
|
85
85
|
}),
|
|
86
86
|
null != trailingIcon && /*#__PURE__*/ jsx("span", {
|
|
87
|
-
className: classnames(chip_module.iconWrapper),
|
|
87
|
+
className: classnames('infonomic-chip-icon-wrapper', chip_module.iconWrapper),
|
|
88
88
|
children: trailingIcon
|
|
89
89
|
})
|
|
90
90
|
]
|
|
@@ -8,7 +8,7 @@ infonomic-components;
|
|
|
8
8
|
@layer infonomic-components {
|
|
9
9
|
|
|
10
10
|
.chip,
|
|
11
|
-
:global(.chip) {
|
|
11
|
+
:global(.infonomic-chip) {
|
|
12
12
|
--chip-font-size: 0.9rem;
|
|
13
13
|
--chip-height: 34px;
|
|
14
14
|
--chip-padding-y: 0.35rem;
|
|
@@ -36,47 +36,51 @@ infonomic-components;
|
|
|
36
36
|
|
|
37
37
|
.chip:disabled,
|
|
38
38
|
.chip[disabled],
|
|
39
|
-
:global(.chip):disabled,
|
|
40
|
-
:global(.chip)[disabled] {
|
|
39
|
+
:global(.infonomic-chip):disabled,
|
|
40
|
+
:global(.infonomic-chip)[disabled] {
|
|
41
41
|
pointer-events: none;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.chip:focus,
|
|
45
45
|
.chip:active,
|
|
46
|
-
:global(.chip):focus,
|
|
47
|
-
:global(.chip):active {
|
|
46
|
+
:global(.infonomic-chip):focus,
|
|
47
|
+
:global(.infonomic-chip):active {
|
|
48
48
|
--ring-offset-color: var(--background);
|
|
49
49
|
--ring-offset-shadow: var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color);
|
|
50
50
|
--ring-shadow: var(--ring-inset) 0 0 0 calc(1px + var(--ring-offset-width)) var(--ring-color);
|
|
51
51
|
box-shadow: var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.label
|
|
54
|
+
.label,
|
|
55
|
+
:global(.infonomic-chip-label) {
|
|
55
56
|
display: inline-flex;
|
|
56
57
|
align-items: center;
|
|
57
58
|
white-space: nowrap;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
|
-
.icon
|
|
61
|
+
.icon,
|
|
62
|
+
:global(.infonomic-chip-icon) {
|
|
61
63
|
width: var(--chip-icon-size);
|
|
62
64
|
height: var(--chip-icon-size);
|
|
63
65
|
}
|
|
64
66
|
|
|
65
|
-
.iconWrapper
|
|
67
|
+
.iconWrapper,
|
|
68
|
+
:global(.infonomic-chip-icon-wrapper) {
|
|
66
69
|
display: inline-flex;
|
|
67
70
|
align-items: center;
|
|
68
71
|
justify-content: center;
|
|
69
72
|
line-height: 0;
|
|
70
73
|
}
|
|
71
74
|
|
|
72
|
-
.close-icon
|
|
75
|
+
.close-icon,
|
|
76
|
+
:global(.infonomic-chip-close-icon) {
|
|
73
77
|
width: calc(var(--chip-icon-size) * 0.9);
|
|
74
78
|
height: calc(var(--chip-icon-size) * 0.9);
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
/* Sizes ----------------------------------------------------------- */
|
|
78
82
|
.xs,
|
|
79
|
-
:global(.chip-xs) {
|
|
83
|
+
:global(.infonomic-chip-xs) {
|
|
80
84
|
--chip-height: 24px;
|
|
81
85
|
--chip-padding-y: 0.15rem;
|
|
82
86
|
--chip-padding-x: 0.3rem;
|
|
@@ -86,7 +90,7 @@ infonomic-components;
|
|
|
86
90
|
}
|
|
87
91
|
|
|
88
92
|
.sm,
|
|
89
|
-
:global(.chip-sm) {
|
|
93
|
+
:global(.infonomic-chip-sm) {
|
|
90
94
|
--chip-height: 28px;
|
|
91
95
|
--chip-padding-y: 0.2rem;
|
|
92
96
|
--chip-padding-x: 0.3rem;
|
|
@@ -95,7 +99,7 @@ infonomic-components;
|
|
|
95
99
|
}
|
|
96
100
|
|
|
97
101
|
.md,
|
|
98
|
-
:global(.chip-md) {
|
|
102
|
+
:global(.infonomic-chip-md) {
|
|
99
103
|
--chip-height: 32px;
|
|
100
104
|
--chip-padding-y: 0.25rem;
|
|
101
105
|
--chip-padding-x: 0.3rem;
|
|
@@ -104,7 +108,7 @@ infonomic-components;
|
|
|
104
108
|
}
|
|
105
109
|
|
|
106
110
|
.lg,
|
|
107
|
-
:global(.chip-lg) {
|
|
111
|
+
:global(.infonomic-chip-lg) {
|
|
108
112
|
--chip-gap: var(--gap-2);
|
|
109
113
|
--chip-height: 36px;
|
|
110
114
|
--chip-padding-y: 0.3rem;
|
|
@@ -114,7 +118,7 @@ infonomic-components;
|
|
|
114
118
|
}
|
|
115
119
|
|
|
116
120
|
.xl,
|
|
117
|
-
:global(.chip-xl) {
|
|
121
|
+
:global(.infonomic-chip-xl) {
|
|
118
122
|
--chip-gap: var(--gap-2);
|
|
119
123
|
--chip-height: 40px;
|
|
120
124
|
--chip-padding-y: 0.3rem;
|
|
@@ -126,27 +130,27 @@ infonomic-components;
|
|
|
126
130
|
/* Variants -------------------------------------------------------- */
|
|
127
131
|
/* Variants - Consuming Variables */
|
|
128
132
|
.filled,
|
|
129
|
-
:global(.chip-filled) {
|
|
133
|
+
:global(.infonomic-chip-filled) {
|
|
130
134
|
color: var(--chip-variant-filled-foreground);
|
|
131
135
|
background-color: var(--chip-variant-filled);
|
|
132
136
|
}
|
|
133
137
|
|
|
134
138
|
.filled:hover,
|
|
135
|
-
:global(.chip-filled):hover {
|
|
139
|
+
:global(.infonomic-chip-filled):hover {
|
|
136
140
|
background-color: var(--chip-variant-filled-hover);
|
|
137
141
|
}
|
|
138
142
|
|
|
139
143
|
.filled:focus,
|
|
140
144
|
.filled:active,
|
|
141
|
-
:global(.chip-filled):focus,
|
|
142
|
-
:global(.chip-filled):active {
|
|
145
|
+
:global(.infonomic-chip-filled):focus,
|
|
146
|
+
:global(.infonomic-chip-filled):active {
|
|
143
147
|
--ring-color: var(--chip-ring-color);
|
|
144
148
|
}
|
|
145
149
|
|
|
146
150
|
.filled:disabled,
|
|
147
151
|
.filled[disabled],
|
|
148
|
-
:global(.chip-filled):disabled,
|
|
149
|
-
:global(.chip-filled)[disabled] {
|
|
152
|
+
:global(.infonomic-chip-filled):disabled,
|
|
153
|
+
:global(.infonomic-chip-filled)[disabled] {
|
|
150
154
|
background-color: var(--chip-variant-filled-disabled,
|
|
151
155
|
oklch(from var(--chip-variant-filled) calc(l * 1.1) calc(c * 0.85) h));
|
|
152
156
|
color: var(--chip-variant-filled-foreground-disabled,
|
|
@@ -157,27 +161,27 @@ infonomic-components;
|
|
|
157
161
|
/* Weak variant for close button on selected chip */
|
|
158
162
|
|
|
159
163
|
.filled-weak,
|
|
160
|
-
:global(.chip-filled-weak) {
|
|
164
|
+
:global(.infonomic-chip-filled-weak) {
|
|
161
165
|
color: var(--chip-variant-filled-weak-foreground);
|
|
162
166
|
background-color: var(--chip-variant-filled-weak);
|
|
163
167
|
}
|
|
164
168
|
|
|
165
169
|
.filled-weak:hover,
|
|
166
|
-
:global(.chip-filled-weak):hover {
|
|
170
|
+
:global(.infonomic-chip-filled-weak):hover {
|
|
167
171
|
background-color: var(--chip-variant-filled-weak-hover);
|
|
168
172
|
}
|
|
169
173
|
|
|
170
174
|
.filled-weak:focus,
|
|
171
175
|
.filled-weak:active,
|
|
172
|
-
:global(.chip-filled-weak):focus,
|
|
173
|
-
:global(.chip-filled-weak):active {
|
|
176
|
+
:global(.infonomic-chip-filled-weak):focus,
|
|
177
|
+
:global(.infonomic-chip-filled-weak):active {
|
|
174
178
|
--ring-color: var(--chip-ring-color);
|
|
175
179
|
}
|
|
176
180
|
|
|
177
181
|
.filled-weak:disabled,
|
|
178
182
|
.filled-weak[disabled],
|
|
179
|
-
:global(.chip-filled-weak):disabled,
|
|
180
|
-
:global(.chip-filled-weak)[disabled] {
|
|
183
|
+
:global(.infonomic-chip-filled-weak):disabled,
|
|
184
|
+
:global(.infonomic-chip-filled-weak)[disabled] {
|
|
181
185
|
background-color: var(--chip-variant-filled-weak-disabled,
|
|
182
186
|
oklch(from var(--chip-variant-filled-weak) calc(l * 1.1) calc(c * 0.85) h));
|
|
183
187
|
color: var(--chip-variant-filled-weak-foreground-disabled,
|
|
@@ -188,7 +192,7 @@ infonomic-components;
|
|
|
188
192
|
/* Outlined variant */
|
|
189
193
|
|
|
190
194
|
.outlined,
|
|
191
|
-
:global(.chip-outlined) {
|
|
195
|
+
:global(.infonomic-chip-outlined) {
|
|
192
196
|
border: 1px solid var(--chip-variant-outlined-border);
|
|
193
197
|
color: var(--chip-variant-outlined-foreground);
|
|
194
198
|
background-color: var(--chip-variant-outlined);
|
|
@@ -196,8 +200,8 @@ infonomic-components;
|
|
|
196
200
|
|
|
197
201
|
.outlined:disabled,
|
|
198
202
|
.outlined[disabled],
|
|
199
|
-
:global(.chip-outlined):disabled,
|
|
200
|
-
:global(.chip-outlined)[disabled] {
|
|
203
|
+
:global(.infonomic-chip-outlined):disabled,
|
|
204
|
+
:global(.infonomic-chip-outlined)[disabled] {
|
|
201
205
|
border-color: var(--chip-variant-outlined-border-disabled,
|
|
202
206
|
oklch(from var(--chip-variant-outlined-border) calc(l * 1.5) calc(c * 0.8) h));
|
|
203
207
|
color: var(--chip-variant-outlined-foreground-disabled,
|
|
@@ -205,45 +209,45 @@ infonomic-components;
|
|
|
205
209
|
}
|
|
206
210
|
|
|
207
211
|
.outlined:hover,
|
|
208
|
-
:global(.chip-outlined):hover {
|
|
212
|
+
:global(.infonomic-chip-outlined):hover {
|
|
209
213
|
background-color: var(--chip-variant-outlined-hover);
|
|
210
214
|
}
|
|
211
215
|
|
|
212
216
|
.outlined:focus,
|
|
213
217
|
.outlined:active,
|
|
214
|
-
:global(.chip-outlined):focus,
|
|
215
|
-
:global(.chip-outlined):active {
|
|
218
|
+
:global(.infonomic-chip-outlined):focus,
|
|
219
|
+
:global(.infonomic-chip-outlined):active {
|
|
216
220
|
--ring-color: var(--chip-ring-color);
|
|
217
221
|
}
|
|
218
222
|
|
|
219
223
|
.text,
|
|
220
|
-
:global(.chip-text) {
|
|
224
|
+
:global(.infonomic-chip-text) {
|
|
221
225
|
background-color: var(--chip-variant-text);
|
|
222
226
|
color: var(--chip-variant-text-foreground);
|
|
223
227
|
}
|
|
224
228
|
|
|
225
229
|
.text:disabled,
|
|
226
230
|
.text[disabled],
|
|
227
|
-
:global(.chip-text):disabled,
|
|
228
|
-
:global(.chip-text)[disabled] {
|
|
231
|
+
:global(.infonomic-chip-text):disabled,
|
|
232
|
+
:global(.infonomic-chip-text)[disabled] {
|
|
229
233
|
color: oklch(from var(--chip-variant-text-foreground) calc(l * 1.5) calc(c * 0.5) h);
|
|
230
234
|
}
|
|
231
235
|
|
|
232
236
|
.text:hover,
|
|
233
|
-
:global(.chip-text):hover {
|
|
237
|
+
:global(.infonomic-chip-text):hover {
|
|
234
238
|
background-color: var(--chip-variant-text-hover);
|
|
235
239
|
}
|
|
236
240
|
|
|
237
241
|
.text:focus,
|
|
238
242
|
.text:active,
|
|
239
|
-
:global(.chip-text):focus,
|
|
240
|
-
:global(.chip-text):active {
|
|
243
|
+
:global(.infonomic-chip-text):focus,
|
|
244
|
+
:global(.infonomic-chip-text):active {
|
|
241
245
|
--ring-color: var(--chip-ring-color);
|
|
242
246
|
}
|
|
243
247
|
|
|
244
248
|
/* Intents - Defining Variables */
|
|
245
249
|
.primary,
|
|
246
|
-
:global(.chip-primary) {
|
|
250
|
+
:global(.infonomic-chip-primary) {
|
|
247
251
|
--chip-ring-color: var(--ring-primary);
|
|
248
252
|
|
|
249
253
|
/* Filled */
|
|
@@ -270,7 +274,7 @@ infonomic-components;
|
|
|
270
274
|
}
|
|
271
275
|
|
|
272
276
|
.secondary,
|
|
273
|
-
:global(.chip-secondary) {
|
|
277
|
+
:global(.infonomic-chip-secondary) {
|
|
274
278
|
--chip-ring-color: var(--ring-secondary);
|
|
275
279
|
|
|
276
280
|
/* Filled */
|
|
@@ -297,7 +301,7 @@ infonomic-components;
|
|
|
297
301
|
}
|
|
298
302
|
|
|
299
303
|
.noeffect,
|
|
300
|
-
:global(.chip-noeffect) {
|
|
304
|
+
:global(.infonomic-chip-noeffect) {
|
|
301
305
|
--chip-ring-color: var(--ring-noeffect);
|
|
302
306
|
|
|
303
307
|
/* Filled */
|
|
@@ -324,7 +328,7 @@ infonomic-components;
|
|
|
324
328
|
}
|
|
325
329
|
|
|
326
330
|
.success,
|
|
327
|
-
:global(.chip-success) {
|
|
331
|
+
:global(.infonomic-chip-success) {
|
|
328
332
|
--chip-ring-color: var(--ring-success);
|
|
329
333
|
|
|
330
334
|
/* Filled */
|
|
@@ -351,7 +355,7 @@ infonomic-components;
|
|
|
351
355
|
}
|
|
352
356
|
|
|
353
357
|
.info,
|
|
354
|
-
:global(.chip-info) {
|
|
358
|
+
:global(.infonomic-chip-info) {
|
|
355
359
|
--chip-ring-color: var(--ring-info);
|
|
356
360
|
|
|
357
361
|
/* Filled */
|
|
@@ -378,7 +382,7 @@ infonomic-components;
|
|
|
378
382
|
}
|
|
379
383
|
|
|
380
384
|
.warning,
|
|
381
|
-
:global(.chip-warning) {
|
|
385
|
+
:global(.infonomic-chip-warning) {
|
|
382
386
|
--chip-ring-color: var(--ring-warning);
|
|
383
387
|
|
|
384
388
|
/* Filled */
|
|
@@ -405,7 +409,7 @@ infonomic-components;
|
|
|
405
409
|
}
|
|
406
410
|
|
|
407
411
|
.danger,
|
|
408
|
-
:global(.chip-danger) {
|
|
412
|
+
:global(.infonomic-chip-danger) {
|
|
409
413
|
--chip-ring-color: var(--ring-danger);
|
|
410
414
|
|
|
411
415
|
/* Filled */
|