@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,7 +1,9 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
.overlay,
|
|
6
|
+
:global(.infonomic-overlay) {
|
|
5
7
|
position: fixed;
|
|
6
8
|
top: 0;
|
|
7
9
|
left: 0;
|
|
@@ -11,16 +13,22 @@
|
|
|
11
13
|
z-index: 20;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
|
-
:global(.dark)
|
|
15
|
-
:global([data-theme="dark"])
|
|
16
|
-
|
|
16
|
+
:global(.dark),
|
|
17
|
+
:global([data-theme="dark"]) {
|
|
18
|
+
|
|
19
|
+
.overlay,
|
|
20
|
+
:global(.infonomic-overlay) {
|
|
21
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
22
|
+
}
|
|
17
23
|
}
|
|
18
24
|
|
|
19
|
-
.animate-fade-in
|
|
25
|
+
.animate-fade-in,
|
|
26
|
+
:global(.infonomic-animate-fade-in) {
|
|
20
27
|
animation: fade-in 0.3s ease-in-out;
|
|
21
28
|
}
|
|
22
29
|
|
|
23
|
-
.animate-fade-out
|
|
30
|
+
.animate-fade-out,
|
|
31
|
+
:global(.infonomic-animate-fade-out) {
|
|
24
32
|
animation: fade-out 0.3s ease-in-out;
|
|
25
33
|
}
|
|
26
34
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
.overlay-hax8h5 {
|
|
4
|
+
:is(.overlay-hax8h5, .infonomic-overlay) {
|
|
5
5
|
z-index: 20;
|
|
6
6
|
background-color: #f5f5f559;
|
|
7
7
|
width: 100%;
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
left: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
:is(.dark .overlay-hax8h5, [data-theme="dark"] .overlay
|
|
14
|
+
:is(:is(.dark, [data-theme="dark"]) .overlay-hax8h5, :is(.dark, [data-theme="dark"]) .infonomic-overlay) {
|
|
15
15
|
background-color: #00000080;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.animate-fade-in-oC0Zd7 {
|
|
18
|
+
:is(.animate-fade-in-oC0Zd7, .infonomic-animate-fade-in) {
|
|
19
19
|
animation: .3s ease-in-out fade-in-ODU8WG;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.animate-fade-out-kWVP8l {
|
|
22
|
+
:is(.animate-fade-out-kWVP8l, .infonomic-animate-fade-out) {
|
|
23
23
|
animation: .3s ease-in-out fade-out-i2NoTL;
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -113,11 +113,11 @@ const Root = ({ ref, className, itemsClassName, children, ariaLabel, dataTestId,
|
|
|
113
113
|
return /*#__PURE__*/ jsx("nav", {
|
|
114
114
|
"data-testid": dataTestId,
|
|
115
115
|
ref: ref,
|
|
116
|
-
className: classnames('pagination-root', pagination_module["pagination-root"], 'pagination-root', className),
|
|
116
|
+
className: classnames('infonomic-pagination-root', pagination_module["pagination-root"], 'pagination-root', className),
|
|
117
117
|
...rest,
|
|
118
118
|
"aria-label": ariaLabel ?? 'Pager navigation',
|
|
119
119
|
children: /*#__PURE__*/ jsx("ul", {
|
|
120
|
-
className: classnames('pagination-items', pagination_module["pagination-items"], pagination_module[variant], itemsClassName),
|
|
120
|
+
className: classnames('infonomic-pagination-items', pagination_module["pagination-items"], pagination_module[variant], itemsClassName),
|
|
121
121
|
children: children
|
|
122
122
|
})
|
|
123
123
|
});
|
|
@@ -6,34 +6,35 @@ infonomic-typography,
|
|
|
6
6
|
infonomic-components;
|
|
7
7
|
|
|
8
8
|
@layer infonomic-components {
|
|
9
|
-
.pagination-root {
|
|
10
|
-
display: flex;
|
|
11
|
-
padding: 0;
|
|
12
|
-
align-items: center;
|
|
13
|
-
}
|
|
14
9
|
|
|
15
|
-
.pagination-
|
|
10
|
+
.pagination-root,
|
|
11
|
+
:global(.infonomic-pagination-root) {
|
|
16
12
|
display: flex;
|
|
13
|
+
padding: 0;
|
|
17
14
|
align-items: center;
|
|
18
|
-
list-style: none;
|
|
19
15
|
}
|
|
20
16
|
|
|
21
|
-
.pagination-items
|
|
17
|
+
.pagination-items,
|
|
18
|
+
:global(.infonomic-pagination-items) {
|
|
22
19
|
display: flex;
|
|
23
20
|
align-items: center;
|
|
24
21
|
list-style: none;
|
|
25
22
|
}
|
|
26
23
|
|
|
27
24
|
.pagination-items.dashboard li,
|
|
28
|
-
.pagination-items.default li
|
|
25
|
+
.pagination-items.default li,
|
|
26
|
+
:global(.infonomic-pagination-items.dashboard) li,
|
|
27
|
+
:global(.infonomic-pagination-items.default) li {
|
|
29
28
|
margin-right: -1px;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
|
-
.pagination-items.classic li
|
|
31
|
+
.pagination-items.classic li,
|
|
32
|
+
:global(.infonomic-pagination-items.classic) li {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.pagination-items.classic
|
|
36
|
+
.pagination-items.classic,
|
|
37
|
+
:global(.infonomic-pagination-items.classic) {
|
|
37
38
|
gap: 6px;
|
|
38
39
|
}
|
|
39
40
|
|
|
@@ -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
|
-
.pagination-root-yB674z {
|
|
4
|
+
:is(.pagination-root-yB674z, .infonomic-pagination-root) {
|
|
5
5
|
align-items: center;
|
|
6
6
|
padding: 0;
|
|
7
7
|
display: flex;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.pagination-items-AfreHw {
|
|
10
|
+
:is(.pagination-items-AfreHw, .infonomic-pagination-items) {
|
|
11
11
|
align-items: center;
|
|
12
12
|
list-style: none;
|
|
13
13
|
display: flex;
|
|
@@ -17,14 +17,30 @@
|
|
|
17
17
|
margin-right: -1px;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
.infonomic-pagination-items.dashboard li {
|
|
21
|
+
margin-right: -1px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.infonomic-pagination-items.default li {
|
|
25
|
+
margin-right: -1px;
|
|
26
|
+
}
|
|
27
|
+
|
|
20
28
|
.pagination-items-AfreHw.classic-B9jGW1 li {
|
|
21
29
|
margin-right: 0;
|
|
22
30
|
}
|
|
23
31
|
|
|
32
|
+
.infonomic-pagination-items.classic li {
|
|
33
|
+
margin-right: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
24
36
|
.pagination-items-AfreHw.classic-B9jGW1 {
|
|
25
37
|
gap: 6px;
|
|
26
38
|
}
|
|
27
39
|
|
|
40
|
+
.infonomic-pagination-items.classic {
|
|
41
|
+
gap: 6px;
|
|
42
|
+
}
|
|
43
|
+
|
|
28
44
|
.number-button-bFXP3X.dashboard-Yp2io_.rounded-left-urOfB4, .number-button-bFXP3X.default-OgsdD0.rounded-left-urOfB4, .first-button-wfGrPE.dashboard-Yp2io_.rounded-left-urOfB4, .first-button-wfGrPE.default-OgsdD0.rounded-left-urOfB4, .previous-button-XaiuAP.dashboard-Yp2io_.rounded-left-urOfB4, .previous-button-XaiuAP.default-OgsdD0.rounded-left-urOfB4, .last-button-Brbqt2.dashboard-Yp2io_.rounded-left-urOfB4, .last-button-Brbqt2.default-OgsdD0.rounded-left-urOfB4, .next-button-WN4Cb5.dashboard-Yp2io_.rounded-left-urOfB4, .next-button-WN4Cb5.default-OgsdD0.rounded-left-urOfB4 {
|
|
29
45
|
border-top-left-radius: var(--border-radius-sm);
|
|
30
46
|
border-bottom-left-radius: var(--border-radius-sm);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-area/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAI5D,UAAU,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-area/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAI5D,UAAU,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;CAAI;AAErG,eAAO,MAAM,UAAU,GAAI,gCAAgC,eAAe,sBAazE,CAAA"}
|
|
@@ -4,28 +4,28 @@ import { ScrollArea } from "radix-ui";
|
|
|
4
4
|
import scroll_area_module from "./scroll-area.module.js";
|
|
5
5
|
const scroll_area_ScrollArea = ({ children, style, className })=>/*#__PURE__*/ jsxs(ScrollArea.Root, {
|
|
6
6
|
style: style,
|
|
7
|
-
className: classnames('scroll-area', scroll_area_module.root, className),
|
|
7
|
+
className: classnames('infonomic-scroll-area', scroll_area_module.root, className),
|
|
8
8
|
children: [
|
|
9
9
|
/*#__PURE__*/ jsx(ScrollArea.Viewport, {
|
|
10
|
-
className: scroll_area_module.viewport,
|
|
10
|
+
className: classnames('infonomic-scroll-area-viewport', scroll_area_module.viewport),
|
|
11
11
|
children: children
|
|
12
12
|
}),
|
|
13
13
|
/*#__PURE__*/ jsx(ScrollArea.Scrollbar, {
|
|
14
|
-
className: scroll_area_module.scrollbar,
|
|
14
|
+
className: classnames('infonomic-scroll-area-scrollbar', scroll_area_module.scrollbar),
|
|
15
15
|
orientation: "vertical",
|
|
16
16
|
children: /*#__PURE__*/ jsx(ScrollArea.Thumb, {
|
|
17
|
-
className: scroll_area_module.thumb
|
|
17
|
+
className: classnames('infonomic-scroll-area-thumb', scroll_area_module.thumb)
|
|
18
18
|
})
|
|
19
19
|
}),
|
|
20
20
|
/*#__PURE__*/ jsx(ScrollArea.Scrollbar, {
|
|
21
|
-
className: scroll_area_module.scrollbar,
|
|
21
|
+
className: classnames('infonomic-scroll-area-scrollbar', scroll_area_module.scrollbar),
|
|
22
22
|
orientation: "horizontal",
|
|
23
23
|
children: /*#__PURE__*/ jsx(ScrollArea.Thumb, {
|
|
24
|
-
className: scroll_area_module.thumb
|
|
24
|
+
className: classnames('infonomic-scroll-area-thumb', scroll_area_module.thumb)
|
|
25
25
|
})
|
|
26
26
|
}),
|
|
27
27
|
/*#__PURE__*/ jsx(ScrollArea.Corner, {
|
|
28
|
-
className: scroll_area_module.corner
|
|
28
|
+
className: classnames('infonomic-scroll-area-corner', scroll_area_module.corner)
|
|
29
29
|
})
|
|
30
30
|
]
|
|
31
31
|
});
|
|
@@ -1,25 +1,29 @@
|
|
|
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
|
+
.root,
|
|
11
|
+
:global(.infonomic-scroll-area) {
|
|
10
12
|
border-radius: 4px;
|
|
11
13
|
overflow: hidden;
|
|
12
14
|
background-color: inherit;
|
|
13
15
|
--scrollbar-size: 10px;
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
.viewport
|
|
18
|
+
.viewport,
|
|
19
|
+
:global(.infonomic-scroll-area-viewport) {
|
|
17
20
|
width: 100%;
|
|
18
21
|
height: 100%;
|
|
19
22
|
border-radius: inherit;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
|
-
.scrollbar
|
|
25
|
+
.scrollbar,
|
|
26
|
+
:global(.infonomic-scroll-area-scrollbar) {
|
|
23
27
|
display: flex;
|
|
24
28
|
/* ensures no selection */
|
|
25
29
|
user-select: none;
|
|
@@ -43,7 +47,8 @@
|
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
|
|
46
|
-
.thumb
|
|
50
|
+
.thumb,
|
|
51
|
+
:global(.infonomic-scroll-area-thumb) {
|
|
47
52
|
flex: 1;
|
|
48
53
|
background: var(--surface-panel-scrollbar-thumb);
|
|
49
54
|
border-radius: var(--border-radius-sm);
|
|
@@ -63,7 +68,8 @@
|
|
|
63
68
|
}
|
|
64
69
|
}
|
|
65
70
|
|
|
66
|
-
.corner
|
|
71
|
+
.corner,
|
|
72
|
+
:global(.infonomic-scroll-area-corner) {
|
|
67
73
|
background: var(--surface-panel-scrollbar);
|
|
68
74
|
}
|
|
69
|
-
}
|
|
75
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
.root-XJbuOo {
|
|
4
|
+
:is(.root-XJbuOo, .infonomic-scroll-area) {
|
|
5
5
|
background-color: inherit;
|
|
6
6
|
--scrollbar-size: 10px;
|
|
7
7
|
border-radius: 4px;
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.viewport-TdOXwJ {
|
|
11
|
+
:is(.viewport-TdOXwJ, .infonomic-scroll-area-viewport) {
|
|
12
12
|
border-radius: inherit;
|
|
13
13
|
width: 100%;
|
|
14
14
|
height: 100%;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.scrollbar-Y2nCxA {
|
|
17
|
+
:is(.scrollbar-Y2nCxA, .infonomic-scroll-area-scrollbar) {
|
|
18
18
|
-webkit-user-select: none;
|
|
19
19
|
user-select: none;
|
|
20
20
|
touch-action: none;
|
|
@@ -24,27 +24,27 @@
|
|
|
24
24
|
display: flex;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.scrollbar-Y2nCxA:hover {
|
|
27
|
+
:is(.scrollbar-Y2nCxA, .infonomic-scroll-area-scrollbar):hover {
|
|
28
28
|
background: var(--surface-panel-scrollbar);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.scrollbar-Y2nCxA[data-orientation="vertical"] {
|
|
31
|
+
:is(.scrollbar-Y2nCxA, .infonomic-scroll-area-scrollbar)[data-orientation="vertical"] {
|
|
32
32
|
width: var(--scrollbar-size);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.scrollbar-Y2nCxA[data-orientation="horizontal"] {
|
|
35
|
+
:is(.scrollbar-Y2nCxA, .infonomic-scroll-area-scrollbar)[data-orientation="horizontal"] {
|
|
36
36
|
height: var(--scrollbar-size);
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.thumb-G2gkhj {
|
|
40
|
+
:is(.thumb-G2gkhj, .infonomic-scroll-area-thumb) {
|
|
41
41
|
background: var(--surface-panel-scrollbar-thumb);
|
|
42
42
|
border-radius: var(--border-radius-sm);
|
|
43
43
|
flex: 1;
|
|
44
44
|
position: relative;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.thumb-G2gkhj:before {
|
|
47
|
+
:is(.thumb-G2gkhj, .infonomic-scroll-area-thumb):before {
|
|
48
48
|
content: "";
|
|
49
49
|
width: 100%;
|
|
50
50
|
min-width: 44px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
transform: translate(-50%, -50%);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.corner-kCiYUz {
|
|
59
|
+
:is(.corner-kCiYUz, .infonomic-scroll-area-corner) {
|
|
60
60
|
background: var(--surface-panel-scrollbar);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -38,8 +38,8 @@ function ScrollToTop({ className, showAt = 200, offset = -65, type = 'button', '
|
|
|
38
38
|
type: type,
|
|
39
39
|
"aria-label": ariaLabel,
|
|
40
40
|
onClick: handleOnClick,
|
|
41
|
-
className: classnames('scroll-to-top', scroll_to_top_module["scroll-to-top"], {
|
|
42
|
-
'scroll-to-top-shown': show,
|
|
41
|
+
className: classnames('infonomic-scroll-to-top', scroll_to_top_module["scroll-to-top"], {
|
|
42
|
+
'infonomic-scroll-to-top-shown': show,
|
|
43
43
|
[scroll_to_top_module["scroll-to-top-shown"]]: show
|
|
44
44
|
}, className),
|
|
45
45
|
...props,
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
@layer infonomic-base,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
infonomic-utilities,
|
|
3
|
+
infonomic-theme,
|
|
4
|
+
infonomic-typography,
|
|
5
|
+
infonomic-components;
|
|
6
6
|
|
|
7
7
|
@layer infonomic-components {
|
|
8
|
+
|
|
8
9
|
.scroll-to-top,
|
|
9
|
-
:global(.scroll-to-top) {
|
|
10
|
+
:global(.infonomic-scroll-to-top) {
|
|
10
11
|
display: flex;
|
|
11
12
|
position: fixed;
|
|
12
13
|
width: 0;
|
|
@@ -33,28 +34,28 @@
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
.scroll-to-top span,
|
|
36
|
-
:global(.scroll-to-top span) {
|
|
37
|
+
:global(.infonomic-scroll-to-top span) {
|
|
37
38
|
width: 18px;
|
|
38
39
|
padding-bottom: 3px;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
.scroll-to-top span svg path,
|
|
42
|
-
:global(.scroll-to-top span svg path) {
|
|
43
|
+
:global(.infonomic-scroll-to-top span svg path) {
|
|
43
44
|
stroke: none;
|
|
44
45
|
fill: var(--text-on-primary);
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
.scroll-to-top:hover,
|
|
48
49
|
.scroll-to-top:focus,
|
|
49
|
-
:global(.scroll-to-top:hover),
|
|
50
|
-
:global(.scroll-to-top:focus) {
|
|
50
|
+
:global(.infonomic-scroll-to-top:hover),
|
|
51
|
+
:global(.infonomic-scroll-to-top:focus) {
|
|
51
52
|
color: var(--text-on-primary);
|
|
52
53
|
background-color: var(--fill-primary-strong-hover);
|
|
53
54
|
transform: translateY(-5px);
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
.scroll-to-top-shown,
|
|
57
|
-
:global(.scroll-to-top-shown) {
|
|
58
|
+
:global(.infonomic-scroll-to-top-shown) {
|
|
58
59
|
min-width: 0;
|
|
59
60
|
opacity: 1;
|
|
60
61
|
visibility: visible;
|
|
@@ -67,19 +68,20 @@
|
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
@media screen and (min-width: 587px) {
|
|
71
|
+
|
|
70
72
|
.scroll-to-top,
|
|
71
|
-
:global(.scroll-to-top) {
|
|
73
|
+
:global(.infonomic-scroll-to-top) {
|
|
72
74
|
bottom: 45px;
|
|
73
75
|
right: 45px;
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
.scroll-to-top span,
|
|
77
|
-
:global(.scroll-to-top span) {
|
|
79
|
+
:global(.infonomic-scroll-to-top span) {
|
|
78
80
|
width: 18px;
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
.scroll-to-top-shown,
|
|
82
|
-
:global(.scroll-to-top-shown) {
|
|
84
|
+
:global(.infonomic-scroll-to-top-shown) {
|
|
83
85
|
width: 42px;
|
|
84
86
|
height: 42px;
|
|
85
87
|
border-radius: 21px;
|
|
@@ -87,4 +89,4 @@
|
|
|
87
89
|
right: 22px;
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
|
-
}
|
|
92
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
|
-
:is(.scroll-to-top-WYqAAl, .scroll-to-top) {
|
|
4
|
+
:is(.scroll-to-top-WYqAAl, .infonomic-scroll-to-top) {
|
|
5
5
|
opacity: 0;
|
|
6
6
|
visibility: hidden;
|
|
7
7
|
z-index: 20;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
padding-bottom: 3px;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.scroll-to-top span {
|
|
32
|
+
.infonomic-scroll-to-top span {
|
|
33
33
|
width: 18px;
|
|
34
34
|
padding-bottom: 3px;
|
|
35
35
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
fill: var(--text-on-primary);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.scroll-to-top span svg path {
|
|
42
|
+
.infonomic-scroll-to-top span svg path {
|
|
43
43
|
stroke: none;
|
|
44
44
|
fill: var(--text-on-primary);
|
|
45
45
|
}
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
transform: translateY(-5px);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.scroll-to-top:hover {
|
|
53
|
+
.infonomic-scroll-to-top:hover {
|
|
54
54
|
color: var(--text-on-primary);
|
|
55
55
|
background-color: var(--fill-primary-strong-hover);
|
|
56
56
|
transform: translateY(-5px);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.scroll-to-top:focus {
|
|
59
|
+
.infonomic-scroll-to-top:focus {
|
|
60
60
|
color: var(--text-on-primary);
|
|
61
61
|
background-color: var(--fill-primary-strong-hover);
|
|
62
62
|
transform: translateY(-5px);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
:is(.scroll-to-top-shown-Wemu5m, .scroll-to-top-shown) {
|
|
65
|
+
:is(.scroll-to-top-shown-Wemu5m, .infonomic-scroll-to-top-shown) {
|
|
66
66
|
opacity: 1;
|
|
67
67
|
visibility: visible;
|
|
68
68
|
border-radius: 20px;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@media screen and (min-width: 587px) {
|
|
78
|
-
:is(.scroll-to-top-WYqAAl, .scroll-to-top) {
|
|
78
|
+
:is(.scroll-to-top-WYqAAl, .infonomic-scroll-to-top) {
|
|
79
79
|
bottom: 45px;
|
|
80
80
|
right: 45px;
|
|
81
81
|
}
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
width: 18px;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
.scroll-to-top span {
|
|
87
|
+
.infonomic-scroll-to-top span {
|
|
88
88
|
width: 18px;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:is(.scroll-to-top-shown-Wemu5m, .scroll-to-top-shown) {
|
|
91
|
+
:is(.scroll-to-top-shown-Wemu5m, .infonomic-scroll-to-top-shown) {
|
|
92
92
|
border-radius: 21px;
|
|
93
93
|
width: 42px;
|
|
94
94
|
height: 42px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../src/components/section/section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,KAAK,qBAAqB,GAAG,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAA;AACnE,MAAM,WAAW,YAAa,SAAQ,qBAAqB;
|
|
1
|
+
{"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../src/components/section/section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,KAAK,qBAAqB,GAAG,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAA;AACnE,MAAM,WAAW,YAAa,SAAQ,qBAAqB;CAAI;AAE/D,eAAO,MAAM,OAAO,GAAoB,uCAKrC,YAAY,GAAG;IAChB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAA;CACnC,KAAG,KAAK,CAAC,GAAG,CAAC,OAMb,CAAA"}
|
|
@@ -3,7 +3,7 @@ import classnames from "classnames";
|
|
|
3
3
|
import section_module from "./section.module.js";
|
|
4
4
|
const section_Section = function({ ref, className, children, ...rest }) {
|
|
5
5
|
return /*#__PURE__*/ jsx("section", {
|
|
6
|
-
className: classnames('section', section_module.section, className),
|
|
6
|
+
className: classnames('infonomic-section', section_module.section, className),
|
|
7
7
|
ref: ref,
|
|
8
8
|
...rest,
|
|
9
9
|
children: children
|
|
@@ -1,14 +1,15 @@
|
|
|
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
|
.section,
|
|
10
|
-
:global(.section) {
|
|
11
|
+
:global(.infonomic-section) {
|
|
11
12
|
width: 100%;
|
|
12
13
|
position: relative;
|
|
13
14
|
}
|
|
14
|
-
}
|
|
15
|
+
}
|
|
@@ -7,7 +7,9 @@ infonomic-components;
|
|
|
7
7
|
|
|
8
8
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
9
9
|
@layer infonomic-components {
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
.shimmer,
|
|
12
|
+
:global(.infonomic-shimmer) {
|
|
11
13
|
position: relative;
|
|
12
14
|
overflow: hidden;
|
|
13
15
|
background-color: #f0f0f0;
|
|
@@ -18,27 +20,33 @@ infonomic-components;
|
|
|
18
20
|
|
|
19
21
|
:global(.dark),
|
|
20
22
|
:global([data-theme="dark"]) {
|
|
21
|
-
|
|
23
|
+
|
|
24
|
+
.shimmer,
|
|
25
|
+
:global(.infonomic-shimmer) {
|
|
22
26
|
background-color: #141414;
|
|
23
27
|
background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.01), transparent);
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
|
|
27
|
-
.shimmerContainer
|
|
31
|
+
.shimmerContainer,
|
|
32
|
+
:global(.infonomic-shimmer-container) {
|
|
28
33
|
display: flex;
|
|
29
34
|
flex-direction: column;
|
|
30
35
|
}
|
|
31
36
|
|
|
32
|
-
.rectangular
|
|
37
|
+
.rectangular,
|
|
38
|
+
:global(.infonomic-shimmer-rectangular) {
|
|
33
39
|
border-radius: 0.25rem;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
|
-
.text
|
|
42
|
+
.text,
|
|
43
|
+
:global(.infonomic-shimmer-text) {
|
|
37
44
|
border-radius: 0.125rem;
|
|
38
45
|
height: 1rem;
|
|
39
46
|
}
|
|
40
47
|
|
|
41
|
-
.circular
|
|
48
|
+
.circular,
|
|
49
|
+
:global(.infonomic-shimmer-circular) {
|
|
42
50
|
border-radius: 50%;
|
|
43
51
|
aspect-ratio: 1;
|
|
44
52
|
}
|
|
@@ -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
|
-
.shimmer-hQj5gn {
|
|
4
|
+
:is(.shimmer-hQj5gn, .infonomic-shimmer) {
|
|
5
5
|
background-color: #f0f0f0;
|
|
6
6
|
background-image: linear-gradient(90deg, #0000, #fff9, #0000);
|
|
7
7
|
background-size: 200% 100%;
|
|
@@ -10,26 +10,26 @@
|
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
:is(.dark, [data-theme="dark"]) .shimmer-hQj5gn {
|
|
13
|
+
:is(:is(.dark, [data-theme="dark"]) .shimmer-hQj5gn, :is(.dark, [data-theme="dark"]) .infonomic-shimmer) {
|
|
14
14
|
background-color: #141414;
|
|
15
15
|
background-image: linear-gradient(90deg, #0000, #ffffff03, #0000);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.shimmerContainer-YqBAXa {
|
|
18
|
+
:is(.shimmerContainer-YqBAXa, .infonomic-shimmer-container) {
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
display: flex;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.rectangular-qx6oTl {
|
|
23
|
+
:is(.rectangular-qx6oTl, .infonomic-shimmer-rectangular) {
|
|
24
24
|
border-radius: .25rem;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.text-syTLNh {
|
|
27
|
+
:is(.text-syTLNh, .infonomic-shimmer-text) {
|
|
28
28
|
border-radius: .125rem;
|
|
29
29
|
height: 1rem;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.circular-KqBjEv {
|
|
32
|
+
:is(.circular-KqBjEv, .infonomic-shimmer-circular) {
|
|
33
33
|
aspect-ratio: 1;
|
|
34
34
|
border-radius: 50%;
|
|
35
35
|
}
|