@infonomic/uikit 3.6.0 → 3.8.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/avatar/avatar_module.css +1 -1
- package/dist/components/badge/badge_module.css +1 -1
- package/dist/components/button/button-group_module.css +1 -1
- package/dist/components/button/button_module.css +1 -1
- package/dist/components/button/copy-button_module.css +1 -1
- package/dist/components/card/card_module.css +1 -1
- package/dist/components/container/container_module.css +9 -9
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/dropdown/dropdown_module.css +1 -1
- package/dist/components/forms/calendar_module.css +2 -2
- package/dist/components/forms/checkbox_module.css +1 -1
- package/dist/components/forms/error-text_module.css +1 -1
- package/dist/components/forms/help-text_module.css +1 -1
- package/dist/components/forms/input-adornment_module.css +1 -1
- package/dist/components/forms/input_module.css +1 -1
- package/dist/components/forms/label_module.css +1 -1
- package/dist/components/forms/radio-group_module.css +1 -1
- package/dist/components/forms/select_module.css +1 -1
- package/dist/components/forms/text-area_module.css +1 -1
- package/dist/components/notifications/alert_module.css +1 -1
- package/dist/components/notifications/toast_module.css +2 -2
- package/dist/components/pager/pagination_module.css +2 -2
- package/dist/components/scroll-area/scroll-area_module.css +1 -1
- package/dist/components/section/section_module.css +1 -1
- package/dist/components/shimmer/shimmer_module.css +1 -1
- package/dist/components/table/table_module.css +1 -1
- package/dist/components/tabs/tabs_module.css +1 -1
- package/dist/components/tooltip/tooltip_module.css +1 -1
- package/dist/icons/icon-element.d.ts.map +1 -1
- package/dist/icons/icon-element.js +2 -1
- package/dist/icons/icons.module.js +2 -0
- package/dist/icons/icons_module.css +7 -0
- package/dist/styles/styles.css +1 -1
- package/dist/styles/typography.css +1 -1
- package/dist/widgets/drawer/drawer_module.css +1 -1
- package/dist/widgets/modal/modal_module.css +1 -1
- package/dist/widgets/timeline/timeline_module.css +1 -1
- package/package.json +1 -1
- package/src/components/avatar/avatar.module.css +1 -1
- package/src/components/badge/badge.module.css +1 -1
- package/src/components/button/button-group.module.css +1 -1
- package/src/components/button/button.module.css +1 -1
- package/src/components/button/copy-button.module.css +1 -1
- package/src/components/card/card.module.css +1 -1
- package/src/components/container/container.module.css +10 -9
- package/src/components/dropdown/dropdown.module.css +1 -1
- package/src/components/dropdown/dropdown.stories.tsx +1 -1
- package/src/components/dropdown/dropdown.tsx +1 -1
- package/src/components/forms/calendar.module.css +2 -2
- package/src/components/forms/checkbox.module.css +1 -1
- package/src/components/forms/error-text.module.css +1 -1
- package/src/components/forms/help-text.module.css +1 -1
- package/src/components/forms/input-adornment.module.css +1 -1
- package/src/components/forms/input.module.css +1 -1
- package/src/components/forms/label.module.css +1 -1
- package/src/components/forms/radio-group.module.css +1 -1
- package/src/components/forms/select.module.css +1 -1
- package/src/components/forms/text-area.module.css +1 -1
- package/src/components/notifications/alert.module.css +1 -1
- package/src/components/notifications/toast.module.css +2 -2
- package/src/components/pager/pagination.module.css +2 -2
- package/src/components/scroll-area/scroll-area.module.css +1 -1
- package/src/components/section/section.module.css +1 -1
- package/src/components/shimmer/shimmer.module.css +1 -1
- package/src/components/table/table.module.css +1 -1
- package/src/components/tabs/tabs.module.css +1 -1
- package/src/components/tooltip/tooltip.module.css +1 -1
- package/src/icons/icon-element.tsx +3 -1
- package/src/icons/icons.module.css +7 -0
- package/src/styles/base/base.css +11 -3
- package/src/styles/base/borders.css +30 -0
- package/src/styles/base/breakpoints.css +15 -0
- package/src/styles/base/colors.stories.tsx +1 -1
- package/src/styles/base/opacity.css +12 -0
- package/src/styles/base/shadows.css +13 -0
- package/src/styles/base/spacing.css +21 -0
- package/src/styles/base/transitions.css +7 -0
- package/src/styles/base/typography.css +41 -19
- package/src/styles/base/z-index.css +12 -0
- package/src/styles/components/components.css +1 -8
- package/src/styles/components/hamburger.css +1 -1
- package/src/styles/{theme/tokens.css → functional/colors.css} +4 -2
- package/src/styles/functional/functional.css +2 -0
- package/src/styles/functional/grid-flex.css +52 -0
- package/src/styles/styles.css +2 -1
- package/src/styles/theme/theme.css +1 -1
- package/src/styles/theme/theme.stories.tsx +2 -2
- package/src/styles/theme/typography.css +26 -0
- package/src/styles/typography/prose.css +2 -2
- package/src/styles/utils/utility-classes.css +12 -12
- package/src/widgets/drawer/drawer.module.css +1 -1
- package/src/widgets/modal/modal.module.css +1 -1
- package/src/widgets/timeline/timeline.module.css +1 -1
- package/src/styles/base/vars.css +0 -188
- package/src/styles/components/card.css +0 -20
- package/src/styles/components/checkbox.css +0 -55
- package/src/styles/components/directional-button.css +0 -92
- package/src/styles/components/dropdown.css +0 -19
- package/src/styles/components/icon-element.css +0 -10
- package/src/styles/components/list-checkbox.css +0 -60
- package/src/styles/components/popover.css +0 -15
- package/src/styles/components/toast.css +0 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer infonomic-typography{:root{--font-sans:"Inter",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-display:"Roboto",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-serif:"Merriweather",Georgia,Cambria,"Times New Roman",Times,serif;--font-mono:"Source Code Pro",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.sans{font-family:var(--font-sans)}.serif{font-family:var(--font-serif)}.mono{font-family:var(--font-mono)}.display{font-family:var(--font-display)}:root{--prose-body:var(--gray-900);--prose-headings:var(--gray-900);--prose-lead:#4b5563;--prose-links:var(--accent-950);--prose-counters:#6b7280;--prose-bullets:#d1d5db;--prose-hr:#e5e7eb;--prose-quotes:var(--accent-700);--prose-quote-borders:var(--accent-700);--prose-captions:#6b7280;--prose-kbd:#111827;--prose-kbd-shadows:17 24 39;--prose-code:#1e293b;--prose-code-background:#efefef;--prose-code-borders:#ccc;--prose-pre-code:#e5e7eb;--prose-pre-bg:#1f2937;--prose-invert-body:var(--gray-50);--prose-invert-headings:var(--gray-50);--prose-invert-lead:#9ca3af;--prose-invert-links:var(--accent-500);--prose-invert-counters:#9ca3af;--prose-invert-bullets:#4b5563;--prose-invert-hr:#374151;--prose-invert-quotes:var(--accent-400);--prose-invert-quote-borders:var(--accent-400);--prose-invert-captions:#9ca3af;--prose-invert-kbd:#fff;--prose-invert-kbd-shadows:255 255 255;--prose-invert-code:#f1f5f9;--prose-invert-code-background:#222;--prose-invert-code-borders:#333;--prose-invert-pre-code:#d1d5db;--prose-invert-pre-bg:#00000080;--prose-invert-th-borders:#4b5563;--prose-invert-td-borders:#374151}.dark{--prose-body:var(--prose-invert-body);--prose-headings:var(--prose-invert-headings);--prose-lead:var(--prose-invert-lead);--prose-links:var(--prose-invert-links);--prose-counters:var(--prose-invert-counters);--prose-bullets:var(--prose-invert-bullets);--prose-hr:var(--prose-invert-hr);--prose-quotes:var(--prose-invert-quotes);--prose-quote-borders:var(--prose-invert-quote-borders);--prose-captions:var(--prose-invert-captions);--prose-kbd:var(--prose-invert-kbd);--prose-kbd-shadows:var(--prose-invert-kbd-shadows);--prose-code:var(--prose-invert-code);--prose-code-background:var(--prose-invert-code-background);--prose-code-borders:var(--prose-invert-code-borders);--prose-pre-code:var(--prose-invert-pre-code);--prose-pre-bg:var(--prose-invert-pre-bg)}.not-dark{--prose-body:var(--gray-900);--prose-headings:var(--gray-900);--prose-lead:#4b5563;--prose-links:var(--accent-950);--prose-counters:#6b7280;--prose-bullets:#d1d5db;--prose-hr:#e5e7eb;--prose-quotes:var(--accent-700);--prose-quote-borders:var(--accent-700);--prose-captions:#6b7280;--prose-kbd:#111827;--prose-kbd-shadows:17 24 39;--prose-code:#1e293b;--prose-code-background:#efefef;--prose-code-borders:#ccc;--prose-pre-code:#e5e7eb;--prose-pre-bg:#1f2937}html{color:var(--prose-body);font-size:1rem}html .not-dark{color:var(--prose-body)}article,.editor-text,.break-long-words{overflow-wrap:anywhere}article,.dynamic-text{font-size:1.25rem;line-height:1.6}@media screen and (width>=
|
|
1
|
+
@layer infonomic-typography{:root{--font-sans:"Inter",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-display:"Roboto",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-serif:"Merriweather",Georgia,Cambria,"Times New Roman",Times,serif;--font-mono:"Source Code Pro",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.sans{font-family:var(--font-sans)}.serif{font-family:var(--font-serif)}.mono{font-family:var(--font-mono)}.display{font-family:var(--font-display)}:root{--prose-body:var(--gray-900);--prose-headings:var(--gray-900);--prose-lead:#4b5563;--prose-links:var(--accent-950);--prose-counters:#6b7280;--prose-bullets:#d1d5db;--prose-hr:#e5e7eb;--prose-quotes:var(--accent-700);--prose-quote-borders:var(--accent-700);--prose-captions:#6b7280;--prose-kbd:#111827;--prose-kbd-shadows:17 24 39;--prose-code:#1e293b;--prose-code-background:#efefef;--prose-code-borders:#ccc;--prose-pre-code:#e5e7eb;--prose-pre-bg:#1f2937;--prose-invert-body:var(--gray-50);--prose-invert-headings:var(--gray-50);--prose-invert-lead:#9ca3af;--prose-invert-links:var(--accent-500);--prose-invert-counters:#9ca3af;--prose-invert-bullets:#4b5563;--prose-invert-hr:#374151;--prose-invert-quotes:var(--accent-400);--prose-invert-quote-borders:var(--accent-400);--prose-invert-captions:#9ca3af;--prose-invert-kbd:#fff;--prose-invert-kbd-shadows:255 255 255;--prose-invert-code:#f1f5f9;--prose-invert-code-background:#222;--prose-invert-code-borders:#333;--prose-invert-pre-code:#d1d5db;--prose-invert-pre-bg:#00000080;--prose-invert-th-borders:#4b5563;--prose-invert-td-borders:#374151}.dark{--prose-body:var(--prose-invert-body);--prose-headings:var(--prose-invert-headings);--prose-lead:var(--prose-invert-lead);--prose-links:var(--prose-invert-links);--prose-counters:var(--prose-invert-counters);--prose-bullets:var(--prose-invert-bullets);--prose-hr:var(--prose-invert-hr);--prose-quotes:var(--prose-invert-quotes);--prose-quote-borders:var(--prose-invert-quote-borders);--prose-captions:var(--prose-invert-captions);--prose-kbd:var(--prose-invert-kbd);--prose-kbd-shadows:var(--prose-invert-kbd-shadows);--prose-code:var(--prose-invert-code);--prose-code-background:var(--prose-invert-code-background);--prose-code-borders:var(--prose-invert-code-borders);--prose-pre-code:var(--prose-invert-pre-code);--prose-pre-bg:var(--prose-invert-pre-bg)}.not-dark{--prose-body:var(--gray-900);--prose-headings:var(--gray-900);--prose-lead:#4b5563;--prose-links:var(--accent-950);--prose-counters:#6b7280;--prose-bullets:#d1d5db;--prose-hr:#e5e7eb;--prose-quotes:var(--accent-700);--prose-quote-borders:var(--accent-700);--prose-captions:#6b7280;--prose-kbd:#111827;--prose-kbd-shadows:17 24 39;--prose-code:#1e293b;--prose-code-background:#efefef;--prose-code-borders:#ccc;--prose-pre-code:#e5e7eb;--prose-pre-bg:#1f2937}html{color:var(--prose-body);font-size:1rem}html .not-dark{color:var(--prose-body)}article,.editor-text,.break-long-words{overflow-wrap:anywhere}article,.dynamic-text{font-size:1.25rem;line-height:1.6}@media screen and (width>=48rem){article,.dynamic-text{font-size:1.125rem;line-height:1.64}}.prose{& h1,& h2,& h3,& h4,& h5{color:var(--prose-headings)}}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:1rem;font-size:2.5rem;font-weight:600;line-height:1.125}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.5rem;margin-bottom:.75rem;font-size:2rem;font-weight:600;line-height:1.2}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25rem;margin-bottom:.75rem;font-size:1.75rem;font-weight:600;line-height:1.1}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25rem;margin-bottom:.65rem;font-size:1.55rem;font-weight:600;line-height:1.1}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose-lg :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;font-size:1.125rem;line-height:1.64}.prose-xl :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;font-size:1.25rem;line-height:1.6}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.4}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--prose-bold);font-weight:500}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--prose-headings);margin-top:1.25em;font-weight:500}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--prose-quotes);quotes:none;border-inline-start-width:.25rem;border-inline-start-color:var(--prose-quote-borders);margin-top:1.6em;margin-bottom:1.6em;margin-right:2rem;padding-inline-start:1rem;font-size:1.5rem;font-style:normal;font-weight:700;line-height:1.2}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--prose-kbd);box-shadow:0 0 0 1px rgb(var(--prose-kbd-shadows)/10%),0 3px 0 rgb(var(--prose-kbd-shadows)/10%);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--prose-code);background-color:var(--prose-code-background);border-color:var(--prose-code-borders);border-width:1px;border-radius:.25rem;padding:.125rem .375rem;font-size:.875em;font-weight:400}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--prose-pre-code);background-color:var(--prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:initial;font-weight:inherit;color:inherit;font-family:inherit;line-height:inherit;padding:0;border-width:0;border-radius:0;padding:0;font-size:1em!important}@media (width>=48rem){.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.7rem;line-height:1.2}}html,.font-sans{font-family:var(--font-sans)}.font-display{font-family:var(--font-display)}.font-serif{font-family:var(--font-serif)}.font-mono{font-family:var(--font-mono)}}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.badge {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.button {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.copy-button-container {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.card {
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.container {
|
|
5
5
|
width: 100%;
|
|
6
|
-
padding: 0
|
|
6
|
+
padding: 0 1rem;
|
|
7
7
|
margin: 0 auto;
|
|
8
|
-
max-width:
|
|
8
|
+
max-width: 60rem;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
/* Shy edges */
|
|
11
12
|
/* Large */
|
|
12
|
-
@media (min-width:
|
|
13
|
+
@media (min-width: 66rem) {
|
|
13
14
|
.container {
|
|
14
|
-
max-width:
|
|
15
|
+
max-width: 64rem;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
/* X-Large */
|
|
19
|
-
@media (min-width:
|
|
20
|
+
@media (min-width: 77rem) {
|
|
20
21
|
.container {
|
|
21
|
-
max-width:
|
|
22
|
+
max-width: 74.375rem;
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
/* 2X-Large */
|
|
26
|
-
@media (min-width:
|
|
27
|
+
@media (min-width: 94rem) {
|
|
27
28
|
.container {
|
|
28
|
-
max-width:
|
|
29
|
+
max-width: 87.5rem;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
}
|
|
@@ -62,7 +62,7 @@ export const Dropdown: Story = {
|
|
|
62
62
|
</DropdownComponent.Trigger>
|
|
63
63
|
|
|
64
64
|
<DropdownComponent.Portal>
|
|
65
|
-
<DropdownComponent.Content align="end" sideOffset={10}>
|
|
65
|
+
<DropdownComponent.Content align="end" data-side="top" sideOffset={10}>
|
|
66
66
|
<DropdownComponent.Item>
|
|
67
67
|
<div className="dropdown-item-content">
|
|
68
68
|
<span className="dropdown-item-content-icon">
|
|
@@ -149,7 +149,7 @@ const SubContent = ({
|
|
|
149
149
|
return (
|
|
150
150
|
<DropdownMenuPrimitive.SubContent
|
|
151
151
|
ref={ref}
|
|
152
|
-
className={cx('dropdown-menu-subcontent', className)}
|
|
152
|
+
className={cx('dropdown-menu-subcontent', styles['dropdown-subcontent'], className)}
|
|
153
153
|
{...rest}
|
|
154
154
|
>
|
|
155
155
|
{children}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.day-picker {
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
color: var(--foreground);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
@media (min-width:
|
|
237
|
+
@media (min-width: 40rem) {
|
|
238
238
|
.months {
|
|
239
239
|
flex-direction: row;
|
|
240
240
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.container {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.text {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.text {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.adornment {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.inputWrapper {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.label {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
4
4
|
@layer infonomic-components {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.content {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.text-area {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.alert {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
/* Positions are relative to the toast viewport which is set
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
left: 16px;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
@media (min-width:
|
|
130
|
+
@media (min-width: 48rem) {
|
|
131
131
|
|
|
132
132
|
.root.top-right[data-state="open"],
|
|
133
133
|
.root.bottom-right[data-state="open"] {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.pagination-root {
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
display: none;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
@media(min-width:
|
|
127
|
+
@media(min-width: 40rem) {
|
|
128
128
|
|
|
129
129
|
.mobile-toggle {
|
|
130
130
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.root {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.section {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
4
4
|
@layer infonomic-components {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
4
4
|
@layer infonomic-components {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.tooltip {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ReactNode } from 'react'
|
|
2
2
|
import type React from 'react'
|
|
3
3
|
|
|
4
|
+
import styles from './icons.module.css'
|
|
5
|
+
|
|
4
6
|
import cx from 'classnames'
|
|
5
7
|
|
|
6
8
|
export interface IconElementProps extends React.ComponentProps<'div'> {
|
|
@@ -23,7 +25,7 @@ export const IconElement = (props: IconElementProps): React.JSX.Element => {
|
|
|
23
25
|
justifyContent: 'center',
|
|
24
26
|
marginRight: menuItem != null && menuItem ? '1.2rem' : '0',
|
|
25
27
|
}}
|
|
26
|
-
className={cx('
|
|
28
|
+
className={cx(styles['element-root'], className)}
|
|
27
29
|
{...rest}
|
|
28
30
|
>
|
|
29
31
|
{children}
|
package/src/styles/base/base.css
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
@import "./reset.css";
|
|
2
|
-
|
|
3
|
-
@import "./vars.css";
|
|
2
|
+
|
|
4
3
|
@import "./animations.css";
|
|
5
|
-
@import "./
|
|
4
|
+
@import "./borders.css";
|
|
5
|
+
@import "./breakpoints.css";
|
|
6
|
+
@import "./colors.css";
|
|
7
|
+
@import "./opacity.css";
|
|
8
|
+
@import "./shadows.css";
|
|
9
|
+
@import "./spacing.css";
|
|
10
|
+
@import "./transitions.css";
|
|
11
|
+
@import "./typography.css";
|
|
12
|
+
@import "./z-index.css";
|
|
13
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@layer infonomic-base {
|
|
2
|
+
:root {
|
|
3
|
+
/* ========================================
|
|
4
|
+
BORDER & RADIUS
|
|
5
|
+
======================================== */
|
|
6
|
+
--border-width-thin: 1px;
|
|
7
|
+
--border-width-normal: 2px;
|
|
8
|
+
--border-width-thick: 4px;
|
|
9
|
+
|
|
10
|
+
--border-style-solid: solid;
|
|
11
|
+
--border-style-dashed: dashed;
|
|
12
|
+
--border-style-dotted: dotted;
|
|
13
|
+
|
|
14
|
+
--border-radius-none: 0px;
|
|
15
|
+
--border-radius-sm: 4px;
|
|
16
|
+
--border-radius-md: 8px;
|
|
17
|
+
--border-radius-lg: 12px;
|
|
18
|
+
--border-radius-xl: 16px;
|
|
19
|
+
--border-radius-2xl: 24px;
|
|
20
|
+
--border-radius-full: 9999px;
|
|
21
|
+
|
|
22
|
+
/* ========================================
|
|
23
|
+
RINGS
|
|
24
|
+
======================================== */
|
|
25
|
+
|
|
26
|
+
--ring-offset-width: 2px;
|
|
27
|
+
--ring-inset: ;
|
|
28
|
+
--ring-shadow: 0 0 #0000;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@layer infonomic-base {
|
|
2
|
+
:root {
|
|
3
|
+
/* ========================================
|
|
4
|
+
BREAKPOINTS - must match any that are used in Tailwind CSS
|
|
5
|
+
Note: Values in rem (1rem = 16px at default font size)
|
|
6
|
+
======================================== */
|
|
7
|
+
--breakpoint-xs: 30rem; /* 480px */
|
|
8
|
+
--breakpoint-sm: 40rem; /* 640px */
|
|
9
|
+
--breakpoint-md: 48rem; /* 768px */
|
|
10
|
+
--breakpoint-lg: 66rem; /* 1056px */
|
|
11
|
+
/* our container component will set max width to common screen size */
|
|
12
|
+
--breakpoint-xl: 77rem; /* 1232px */
|
|
13
|
+
--breakpoint-2xl: 94rem; /* 1504px */
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@layer infonomic-base {
|
|
2
|
+
:root {
|
|
3
|
+
/* ========================================
|
|
4
|
+
SHADOWS
|
|
5
|
+
======================================== */
|
|
6
|
+
--shadow: 0 0 #0000;
|
|
7
|
+
--shadow-xs: 0px 1px 2px rgba(0, 0, 0, 0.05);
|
|
8
|
+
--shadow-sm: 0px 2px 4px rgba(0, 0, 0, 0.1);
|
|
9
|
+
--shadow-md: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
|
10
|
+
--shadow-lg: 0px 6px 12px rgba(0, 0, 0, 0.15);
|
|
11
|
+
--shadow-xl: 0px 8px 16px rgba(0, 0, 0, 0.2);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@layer infonomic-base {
|
|
2
|
+
:root {
|
|
3
|
+
/* ========================================
|
|
4
|
+
SPACING SYSTEM (8px grid)
|
|
5
|
+
======================================== */
|
|
6
|
+
--spacing-0: 0px;
|
|
7
|
+
--spacing-1: 4px;
|
|
8
|
+
--spacing-2: 8px;
|
|
9
|
+
--spacing-3: 12px;
|
|
10
|
+
--spacing-4: 16px;
|
|
11
|
+
--spacing-5: 20px;
|
|
12
|
+
--spacing-6: 24px;
|
|
13
|
+
--spacing-8: 32px;
|
|
14
|
+
--spacing-10: 40px;
|
|
15
|
+
--spacing-12: 48px;
|
|
16
|
+
--spacing-16: 64px;
|
|
17
|
+
--spacing-20: 80px;
|
|
18
|
+
--spacing-24: 96px;
|
|
19
|
+
--spacing-32: 128px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,25 +1,47 @@
|
|
|
1
1
|
@layer infonomic-base {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
font-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
:root {
|
|
3
|
+
/* 12px */
|
|
4
|
+
--font-size-xs: 0.75rem;
|
|
5
|
+
/* 14px */
|
|
6
|
+
--font-size-sm: 0.875rem;
|
|
7
|
+
/* 16px */
|
|
8
|
+
--font-size-base: 1rem;
|
|
9
|
+
/* 18px */
|
|
10
|
+
--font-size-lg: 1.125rem;
|
|
11
|
+
/* 20px */
|
|
12
|
+
--font-size-xl: 1.25rem;
|
|
13
|
+
/* 24px */
|
|
14
|
+
--font-size-2xl: 1.5rem;
|
|
15
|
+
/* 30px */
|
|
16
|
+
--font-size-3xl: 1.875rem;
|
|
17
|
+
/* 36px */
|
|
18
|
+
--font-size-4xl: 2.25rem;
|
|
19
|
+
/* 42px */
|
|
20
|
+
--font-size-5xl: 2.625rem;
|
|
21
|
+
/* 48px */
|
|
22
|
+
--font-size-6xl: 3rem;
|
|
23
|
+
/* 54px */
|
|
24
|
+
--font-size-7xl: 3.375rem;
|
|
25
|
+
/* 60px */
|
|
26
|
+
--font-size-8xl: 3.75rem;
|
|
7
27
|
|
|
8
|
-
h2 {
|
|
9
|
-
font-size: 1.5rem;
|
|
10
|
-
font-weight: 600;
|
|
11
|
-
line-height: 1.125;
|
|
12
|
-
}
|
|
13
28
|
|
|
14
|
-
|
|
15
|
-
font-
|
|
16
|
-
font-weight:
|
|
17
|
-
|
|
18
|
-
|
|
29
|
+
--font-weight-light: 300;
|
|
30
|
+
--font-weight-normal: 400;
|
|
31
|
+
--font-weight-medium: 500;
|
|
32
|
+
--font-weight-semibold: 600;
|
|
33
|
+
--font-weight-bold: 700;
|
|
34
|
+
--font-weight-extrabold: 800;
|
|
35
|
+
--font-weight-ultrabold: 900;
|
|
36
|
+
|
|
37
|
+
--line-height-tight: 1.1;
|
|
38
|
+
--line-height-snug: 1.25;
|
|
39
|
+
--line-height-normal: 1.5;
|
|
40
|
+
--line-height-relaxed: 1.625;
|
|
41
|
+
--line-height-loose: 2;
|
|
19
42
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
line-height: 1.1;
|
|
43
|
+
--letter-spacing-tight: -0.02em;
|
|
44
|
+
--letter-spacing-normal: 0;
|
|
45
|
+
--letter-spacing-wide: 0.05em;
|
|
24
46
|
}
|
|
25
47
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@layer infonomic-base {
|
|
2
|
+
:root {
|
|
3
|
+
/* ========================================
|
|
4
|
+
Z-INDEX SYSTEM
|
|
5
|
+
======================================== */
|
|
6
|
+
--z-index-low: 10;
|
|
7
|
+
--z-index-medium: 100;
|
|
8
|
+
--z-index-high: 1000;
|
|
9
|
+
--z-index-modal: 1050;
|
|
10
|
+
--z-index-toast: 1100;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
@import "./icon-element.css";
|
|
2
1
|
@import "./scroll-to-top.css";
|
|
3
2
|
@import "./hamburger.css";
|
|
4
|
-
@import "./list-checkbox.css";
|
|
5
3
|
@import "./loaders.css";
|
|
6
|
-
@import "./fade-in-lift.css";
|
|
7
|
-
@import "./checkbox.css";
|
|
8
|
-
@import "./card.css";
|
|
9
|
-
@import "./toast.css";
|
|
10
|
-
@import "./popover.css";
|
|
11
|
-
@import "./dropdown.css";
|
|
4
|
+
@import "./fade-in-lift.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
1
|
+
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.component--hamburger {
|