@infonomic/uikit 3.7.0 → 3.9.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/button/button-group_module.css +1 -1
- package/dist/components/container/container_module.css +8 -8
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/dropdown/dropdown_module.css +1 -1
- package/dist/components/forms/calendar_module.css +13 -46
- package/dist/components/forms/radio-group_module.css +2 -2
- package/dist/components/notifications/alert_module.css +15 -15
- package/dist/components/notifications/toast_module.css +1 -1
- package/dist/components/pager/pagination_module.css +1 -1
- package/dist/components/table/table_module.css +2 -2
- package/dist/components/tabs/tabs_module.css +4 -5
- 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/datepicker/datepicker.js +2 -2
- package/dist/widgets/datepicker/datepicker_module.css +13 -13
- package/dist/widgets/drawer/drawer_module.css +7 -7
- package/dist/widgets/modal/modal_module.css +13 -13
- package/dist/widgets/timeline/timeline_module.css +7 -7
- package/package.json +1 -1
- package/src/components/accordion/accordion.stories.tsx +2 -2
- package/src/components/avatar/avatar.stories.tsx +1 -1
- package/src/components/badge/badge.stories.tsx +1 -1
- package/src/components/button/button-group.module.css +1 -1
- package/src/components/button/button-group.stories.tsx +1 -1
- package/src/components/button/button-intents.stories.tsx +1 -1
- package/src/components/button/button-variants.stories.tsx +1 -1
- package/src/components/button/control-buttons.stories.tsx +2 -2
- package/src/components/button/icon-button.stories.tsx +2 -2
- package/src/components/card/card.stories.tsx +2 -2
- package/src/components/container/container.module.css +9 -8
- package/src/components/container/container.stories.tsx +2 -8
- 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 +13 -59
- package/src/components/forms/radio-group.module.css +2 -2
- package/src/components/notifications/alert.module.css +15 -15
- package/src/components/notifications/alert.stories.tsx +1 -1
- package/src/components/notifications/toast.module.css +1 -1
- package/src/components/pager/pagination.module.css +1 -1
- package/src/components/table/table.module.css +2 -2
- package/src/components/tabs/tabs.module.css +7 -5
- package/src/components/tabs/tabs.stories.tsx +1 -1
- package/src/icons/icon-element.tsx +3 -1
- package/src/icons/icons.module.css +7 -0
- package/src/loaders/loaders.stories.tsx +1 -1
- package/src/styles/base/base.css +12 -2
- package/src/styles/base/borders.css +30 -0
- package/src/styles/base/breakpoints.css +15 -0
- package/src/styles/base/opacity.css +12 -0
- package/src/styles/base/shadows.css +13 -0
- package/src/styles/base/size.css +24 -0
- package/src/styles/base/spacing.css +24 -0
- package/src/styles/base/transitions.css +7 -0
- package/src/styles/base/typography.css +47 -0
- package/src/styles/base/z-index.css +12 -0
- package/src/styles/components/components.css +1 -8
- package/src/styles/functional/borders.css +23 -0
- package/src/styles/functional/colors.css +51 -94
- package/src/styles/functional/functional.css +5 -1
- package/src/styles/functional/grid-flex.css +52 -0
- package/src/styles/functional/surfaces.css +115 -0
- package/src/styles/functional/typography.css +44 -0
- package/src/styles/theme/autofill.css +14 -5
- package/src/styles/theme/defaults.css +75 -0
- package/src/styles/theme/scrollers.css +4 -2
- package/src/styles/theme/theme.css +15 -130
- package/src/styles/theme/theme.stories.tsx +1 -1
- package/src/styles/typography/prose.css +2 -2
- package/src/styles/utils/utility-classes.css +202 -70
- package/src/widgets/datepicker/datepicker.module.css +13 -13
- package/src/widgets/datepicker/datepicker.tsx +2 -2
- package/src/widgets/drawer/drawer.module.css +7 -7
- package/src/widgets/modal/modal.module.css +13 -13
- package/src/widgets/timeline/timeline.module.css +7 -7
- package/src/styles/base/vars.css +0 -189
- 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
- package/src/styles/theme/typography.css +0 -26
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
width: 86%;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
@media (min-width:
|
|
46
|
+
@media (min-width: 48rem) {
|
|
47
47
|
.drawer-depth-0.drawer-medium .drawer-container {
|
|
48
48
|
width: 600px;
|
|
49
49
|
}
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
display: flex;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: flex-end;
|
|
74
|
-
padding-top: var(--spacing-
|
|
75
|
-
padding-left: var(--spacing-
|
|
76
|
-
padding-right: var(--spacing-
|
|
74
|
+
padding-top: var(--spacing-12);
|
|
75
|
+
padding-left: var(--spacing-12);
|
|
76
|
+
padding-right: var(--spacing-12);
|
|
77
77
|
padding-bottom: 0;
|
|
78
78
|
max-width: 100%;
|
|
79
79
|
}
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
justify-content: space-between;
|
|
85
85
|
gap: var(--gap-3);
|
|
86
86
|
padding-top: 0;
|
|
87
|
-
padding-left: var(--spacing-
|
|
88
|
-
padding-right: var(--spacing-
|
|
87
|
+
padding-left: var(--spacing-12);
|
|
88
|
+
padding-right: var(--spacing-12);
|
|
89
89
|
max-width: 100%;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.drawer-content {
|
|
98
|
-
padding: var(--spacing-
|
|
98
|
+
padding: var(--spacing-12);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@keyframes slideIn {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
bottom: 0;
|
|
29
29
|
background-color: var(--surface-panel);
|
|
30
30
|
border: 1px solid var(--border-color);
|
|
31
|
-
margin-left: var(--spacing-
|
|
32
|
-
margin-right: var(--spacing-
|
|
31
|
+
margin-left: var(--spacing-8);
|
|
32
|
+
margin-right: var(--spacing-8);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
@media screen and (min-width:
|
|
35
|
+
@media screen and (min-width: 40rem) {
|
|
36
36
|
.modal-container {
|
|
37
37
|
max-height: calc(100vh - 24px);
|
|
38
38
|
min-height: auto;
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: space-between;
|
|
48
48
|
gap: var(--gap-3);
|
|
49
|
-
padding-left: var(--spacing-
|
|
50
|
-
padding-right: var(--spacing-
|
|
51
|
-
padding-top: var(--spacing-
|
|
49
|
+
padding-left: var(--spacing-16);
|
|
50
|
+
padding-right: var(--spacing-16);
|
|
51
|
+
padding-top: var(--spacing-20);
|
|
52
52
|
max-width: 100%;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
flex: 1;
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
gap: var(--gap-3);
|
|
65
|
-
padding-left: var(--spacing-
|
|
66
|
-
padding-right: var(--spacing-
|
|
67
|
-
padding-bottom: var(--spacing-
|
|
65
|
+
padding-left: var(--spacing-16);
|
|
66
|
+
padding-right: var(--spacing-16);
|
|
67
|
+
padding-bottom: var(--spacing-12);
|
|
68
68
|
max-width: 100%;
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
align-items: center;
|
|
74
74
|
justify-content: flex-end;
|
|
75
75
|
gap: var(--gap-3);
|
|
76
|
-
padding-top: var(--spacing-
|
|
77
|
-
padding-bottom: var(--spacing-
|
|
78
|
-
padding-left: var(--spacing-
|
|
79
|
-
padding-right: var(--spacing-
|
|
76
|
+
padding-top: var(--spacing-8);
|
|
77
|
+
padding-bottom: var(--spacing-20);
|
|
78
|
+
padding-left: var(--spacing-16);
|
|
79
|
+
padding-right: var(--spacing-16);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
.timeline {
|
|
5
|
-
margin-left: var(--spacing-
|
|
5
|
+
margin-left: var(--spacing-8);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.timeline-root {
|
|
9
9
|
position: relative;
|
|
10
10
|
list-style: none;
|
|
11
|
-
margin-left: var(--spacing-
|
|
11
|
+
margin-left: var(--spacing-8);
|
|
12
12
|
padding-left: var(--spacing-8);
|
|
13
13
|
border-left-width: var(--border-width-thin);
|
|
14
14
|
border-left-color: var(--border-color);
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.timeline-item {
|
|
19
|
-
margin: 0 0 var(--spacing-
|
|
19
|
+
margin: 0 0 var(--spacing-16) var(--spacing-20);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/* 'absolute block flex items-center justify-center w-[36px] h-[36px] rounded-full -mt-[3px] sm:mt-0 -left-[18px] border-[6px] bg-secondary-600 dark:bg-secondary-900 border-gray-50 dark:border-canvas-600', */
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
/* 'block mt-2 mb-2 text-[0.9em] font-medium leading-none text-gray-900 dark:text-gray-100' */
|
|
54
54
|
.timeline-date {
|
|
55
55
|
display: block;
|
|
56
|
-
margin-top: var(--spacing-
|
|
57
|
-
margin-bottom: var(--spacing-
|
|
56
|
+
margin-top: var(--spacing-8);
|
|
57
|
+
margin-bottom: var(--spacing-8);
|
|
58
58
|
font-size: 0.9em;
|
|
59
59
|
font-weight: var(--font-weight-medium);
|
|
60
60
|
line-height: 0;
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
/* '[&_p]:m-0 [&_p]:mb-4 [&_p]:sm:m-0 [&_p]:sm:mb-4 text-lg font-normal text-gray-900 dark:text-gray-300' */
|
|
65
65
|
.timeline-content {
|
|
66
66
|
margin: 0;
|
|
67
|
-
margin-bottom: var(--spacing-
|
|
67
|
+
margin-bottom: var(--spacing-16);
|
|
68
68
|
font-size: 1.125rem;
|
|
69
69
|
font-weight: var(--font-weight-normal);
|
|
70
70
|
|
|
71
71
|
& p {
|
|
72
72
|
margin: 0;
|
|
73
|
-
margin-bottom: var(--spacing-
|
|
73
|
+
margin-bottom: var(--spacing-16);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
package/src/styles/base/vars.css
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
/* TODO: refactor to separate files for size, border, shadows, etc. */
|
|
2
|
-
@layer infonomic-base {
|
|
3
|
-
:root {
|
|
4
|
-
/* ========================================
|
|
5
|
-
BREAKPOINTS
|
|
6
|
-
======================================== */
|
|
7
|
-
--breakpoint-xs: 480px;
|
|
8
|
-
--breakpoint-sm: 640px;
|
|
9
|
-
--breakpoint-md: 768px;
|
|
10
|
-
--breakpoint-lg: 1050px;
|
|
11
|
-
/* our container component will set max width to common screen size */
|
|
12
|
-
--breakpoint-xl: 1230px;
|
|
13
|
-
--breakpoint-2xl: 1500px;
|
|
14
|
-
|
|
15
|
-
/* 12px */
|
|
16
|
-
--font-size-xs: 0.75rem;
|
|
17
|
-
/* 14px */
|
|
18
|
-
--font-size-sm: 0.875rem;
|
|
19
|
-
/* 16px */
|
|
20
|
-
--font-size-base: 1rem;
|
|
21
|
-
/* 18px */
|
|
22
|
-
--font-size-lg: 1.125rem;
|
|
23
|
-
/* 20px */
|
|
24
|
-
--font-size-xl: 1.25rem;
|
|
25
|
-
/* 24px */
|
|
26
|
-
--font-size-2xl: 1.5rem;
|
|
27
|
-
/* 30px */
|
|
28
|
-
--font-size-3xl: 1.875rem;
|
|
29
|
-
/* 36px */
|
|
30
|
-
--font-size-4xl: 2.25rem;
|
|
31
|
-
/* 42px */
|
|
32
|
-
--font-size-5xl: 2.625rem;
|
|
33
|
-
/* 48px */
|
|
34
|
-
--font-size-6xl: 3rem;
|
|
35
|
-
/* 54px */
|
|
36
|
-
--font-size-7xl: 3.375rem;
|
|
37
|
-
/* 60px */
|
|
38
|
-
--font-size-8xl: 3.75rem;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
--font-weight-light: 300;
|
|
42
|
-
--font-weight-normal: 400;
|
|
43
|
-
--font-weight-medium: 500;
|
|
44
|
-
--font-weight-semibold: 600;
|
|
45
|
-
--font-weight-bold: 700;
|
|
46
|
-
--font-weight-extrabold: 800;
|
|
47
|
-
--font-weight-ultrabold: 900;
|
|
48
|
-
|
|
49
|
-
--line-height-tight: 1.1;
|
|
50
|
-
--line-height-snug: 1.25;
|
|
51
|
-
--line-height-normal: 1.5;
|
|
52
|
-
--line-height-relaxed: 1.625;
|
|
53
|
-
--line-height-loose: 2;
|
|
54
|
-
|
|
55
|
-
--letter-spacing-tight: -0.02em;
|
|
56
|
-
--letter-spacing-normal: 0;
|
|
57
|
-
--letter-spacing-wide: 0.05em;
|
|
58
|
-
|
|
59
|
-
/* ========================================
|
|
60
|
-
SPACING SYSTEM (8px grid)
|
|
61
|
-
======================================== */
|
|
62
|
-
--spacing-0: 0px;
|
|
63
|
-
--spacing-1: 4px;
|
|
64
|
-
--spacing-2: 8px;
|
|
65
|
-
--spacing-3: 12px;
|
|
66
|
-
--spacing-4: 16px;
|
|
67
|
-
--spacing-5: 20px;
|
|
68
|
-
--spacing-6: 24px;
|
|
69
|
-
--spacing-8: 32px;
|
|
70
|
-
--spacing-10: 40px;
|
|
71
|
-
--spacing-12: 48px;
|
|
72
|
-
--spacing-16: 64px;
|
|
73
|
-
--spacing-20: 80px;
|
|
74
|
-
--spacing-24: 96px;
|
|
75
|
-
--spacing-32: 128px;
|
|
76
|
-
|
|
77
|
-
/* ========================================
|
|
78
|
-
BORDER & RADIUS
|
|
79
|
-
======================================== */
|
|
80
|
-
--border-radius-none: 0px;
|
|
81
|
-
--border-radius-sm: 4px;
|
|
82
|
-
--border-radius-md: 8px;
|
|
83
|
-
--border-radius-lg: 12px;
|
|
84
|
-
--border-radius-xl: 16px;
|
|
85
|
-
--border-radius-2xl: 24px;
|
|
86
|
-
--border-radius-full: 9999px;
|
|
87
|
-
|
|
88
|
-
--border-width-thin: 1px;
|
|
89
|
-
--border-width-normal: 2px;
|
|
90
|
-
--border-width-thick: 4px;
|
|
91
|
-
|
|
92
|
-
--border-style-solid: solid;
|
|
93
|
-
--border-style-dashed: dashed;
|
|
94
|
-
--border-style-dotted: dotted;
|
|
95
|
-
|
|
96
|
-
/* ========================================
|
|
97
|
-
RINGS
|
|
98
|
-
======================================== */
|
|
99
|
-
|
|
100
|
-
--ring-offset-width: 2px;
|
|
101
|
-
--ring-inset: ;
|
|
102
|
-
--ring-shadow: 0 0 #0000;
|
|
103
|
-
|
|
104
|
-
/* ========================================
|
|
105
|
-
SHADOWS
|
|
106
|
-
======================================== */
|
|
107
|
-
|
|
108
|
-
--shadow: 0 0 #0000;
|
|
109
|
-
--shadow-xs: 0px 1px 2px rgba(0, 0, 0, 0.05);
|
|
110
|
-
--shadow-sm: 0px 2px 4px rgba(0, 0, 0, 0.1);
|
|
111
|
-
--shadow-md: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
|
112
|
-
--shadow-lg: 0px 6px 12px rgba(0, 0, 0, 0.15);
|
|
113
|
-
--shadow-xl: 0px 8px 16px rgba(0, 0, 0, 0.2);
|
|
114
|
-
|
|
115
|
-
/* ========================================
|
|
116
|
-
TRANSITIONS
|
|
117
|
-
======================================== */
|
|
118
|
-
--transition-fast: 175ms ease-in-out;
|
|
119
|
-
--transition-normal: 230ms ease-in-out;
|
|
120
|
-
--transition-slow: 400ms ease-in-out;
|
|
121
|
-
|
|
122
|
-
/* ========================================
|
|
123
|
-
Z-INDEX SYSTEM
|
|
124
|
-
======================================== */
|
|
125
|
-
--z-index-low: 10;
|
|
126
|
-
--z-index-medium: 100;
|
|
127
|
-
--z-index-high: 1000;
|
|
128
|
-
--z-index-modal: 1050;
|
|
129
|
-
--z-index-toast: 1100;
|
|
130
|
-
|
|
131
|
-
/* ========================================
|
|
132
|
-
OPACITY LEVELS
|
|
133
|
-
======================================== */
|
|
134
|
-
--opacity-0: 0;
|
|
135
|
-
--opacity-25: 0.25;
|
|
136
|
-
--opacity-50: 0.5;
|
|
137
|
-
--opacity-75: 0.75;
|
|
138
|
-
--opacity-100: 1;
|
|
139
|
-
|
|
140
|
-
/* ========================================
|
|
141
|
-
GRID SYSTEM
|
|
142
|
-
======================================== */
|
|
143
|
-
--grid-columns-2: 2;
|
|
144
|
-
--grid-columns-3: 3;
|
|
145
|
-
--grid-columns-4: 4;
|
|
146
|
-
--grid-columns-5: 5;
|
|
147
|
-
--grid-columns-6: 6;
|
|
148
|
-
--grid-columns-7: 7;
|
|
149
|
-
--grid-columns-8: 8;
|
|
150
|
-
--grid-columns-9: 9;
|
|
151
|
-
--grid-columns-10: 10;
|
|
152
|
-
--grid-columns-11: 11;
|
|
153
|
-
--grid-columns-12: 12;
|
|
154
|
-
--grid-gap-sm: 8px;
|
|
155
|
-
--grid-gap-md: 16px;
|
|
156
|
-
--grid-gap-lg: 24px;
|
|
157
|
-
--grid-column-size-xs: 240px;
|
|
158
|
-
--grid-column-size-sm: 260px;
|
|
159
|
-
--grid-column-size-md: 320px;
|
|
160
|
-
--grid-column-size-lg: 480px;
|
|
161
|
-
|
|
162
|
-
/* ========================================
|
|
163
|
-
GAP SYSTEM (For Grid & Flexbox)
|
|
164
|
-
======================================== */
|
|
165
|
-
--gap-0: var(--spacing-0);
|
|
166
|
-
--gap-1: var(--spacing-1);
|
|
167
|
-
--gap-2: var(--spacing-2);
|
|
168
|
-
--gap-3: var(--spacing-3);
|
|
169
|
-
--gap-4: var(--spacing-4);
|
|
170
|
-
--gap-5: var(--spacing-5);
|
|
171
|
-
--gap-6: var(--spacing-6);
|
|
172
|
-
--gap-8: var(--spacing-8);
|
|
173
|
-
--gap-10: var(--spacing-10);
|
|
174
|
-
--gap-12: var(--spacing-12);
|
|
175
|
-
--gap-16: var(--spacing-16);
|
|
176
|
-
--gap-20: var(--spacing-20);
|
|
177
|
-
--gap-24: var(--spacing-24);
|
|
178
|
-
--gap-32: var(--spacing-32);
|
|
179
|
-
|
|
180
|
-
/* ========================================
|
|
181
|
-
FLEXBOX HELPERS
|
|
182
|
-
======================================== */
|
|
183
|
-
--flex-row: row;
|
|
184
|
-
--flex-column: column;
|
|
185
|
-
--flex-wrap: wrap;
|
|
186
|
-
--flex-nowrap: nowrap;
|
|
187
|
-
--flex-center: center;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.component--card {
|
|
2
|
-
background: var(--theme-25);
|
|
3
|
-
color: oklch(12.97% 0.005 285.67);
|
|
4
|
-
border: solid 1px var(--gray-50);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.component--card:is(.dark *) {
|
|
8
|
-
background: var(--canvas-800);
|
|
9
|
-
color: var(--gray-100);
|
|
10
|
-
border: solid 1px var(--canvas-700);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.component--card--hover:hover {
|
|
14
|
-
background: oklch(from var(--theme-50) 1 0.03 h);
|
|
15
|
-
transition: ease-in-out 200ms;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.component--card--hover:hover:is(.dark *) {
|
|
19
|
-
background: oklch(from var(--canvas-700) 0.258 c h);
|
|
20
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/* Define keyframes for the "checked" state */
|
|
2
|
-
@keyframes checkBoxIn {
|
|
3
|
-
0% {
|
|
4
|
-
opacity: 0;
|
|
5
|
-
transform: scale(0.8);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
50% {
|
|
9
|
-
opacity: 1;
|
|
10
|
-
transform: scale(1.2);
|
|
11
|
-
/* Overshoot */
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
80% {
|
|
15
|
-
transform: scale(0.9);
|
|
16
|
-
/* Slight bounce back */
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
100% {
|
|
20
|
-
transform: scale(1);
|
|
21
|
-
/* Settle */
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* Define keyframes for the "unchecked" state */
|
|
26
|
-
@keyframes checkBoxOut {
|
|
27
|
-
from {
|
|
28
|
-
opacity: 1;
|
|
29
|
-
transform: scale(1);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
to {
|
|
33
|
-
opacity: 0;
|
|
34
|
-
transform: scale(0.8);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.component--checkbox,
|
|
39
|
-
.component--checkbox-icon {
|
|
40
|
-
transition: all ease-in-out 200ms;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Style for the "checked" state */
|
|
44
|
-
.component--checkbox-indicator[data-state="checked"] .component--checkbox-icon {
|
|
45
|
-
animation: checkBoxIn 0.3s cubic-bezier(0.25, 1.5, 0.5, 1) forwards;
|
|
46
|
-
opacity: 1;
|
|
47
|
-
transform: scale(1);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/* Style for the "unchecked" state */
|
|
51
|
-
.component--checkbox-indicator[data-state="unchecked"] .component--checkbox-icon {
|
|
52
|
-
animation: checkBoxOut 0.2s ease-in;
|
|
53
|
-
opacity: 0;
|
|
54
|
-
transform: scale(0.8);
|
|
55
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
.component--directional-button {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
width: 40px;
|
|
5
|
-
height: 40px;
|
|
6
|
-
text-decoration: none;
|
|
7
|
-
border-style: none;
|
|
8
|
-
border-radius: 20px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
margin: 0;
|
|
11
|
-
outline: none;
|
|
12
|
-
z-index: 20;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
color: white;
|
|
15
|
-
background-color: var(--primary-500);
|
|
16
|
-
transition-property: all, color;
|
|
17
|
-
transition-duration: 0.3s, 1ms;
|
|
18
|
-
transition-timing-function: cubic-bezier(0.25, 0.8, 0.5, 1), ease;
|
|
19
|
-
transition-delay: 0s, 0s;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.component--directional-button span {
|
|
24
|
-
width: 18px;
|
|
25
|
-
padding-bottom: 3px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.component--directional-button span .icon path {
|
|
29
|
-
stroke: none;
|
|
30
|
-
fill: white;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@media screen and (min-width: 587px) {
|
|
34
|
-
.component--directional-button {
|
|
35
|
-
width: 42px;
|
|
36
|
-
height: 42px;
|
|
37
|
-
border-radius: 21px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.component--directional-button:hover,
|
|
42
|
-
.component--directional-button:focus {
|
|
43
|
-
color: white;
|
|
44
|
-
background-color: var(--primary-500);
|
|
45
|
-
transform: translateY(-5px);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* Up is default so no need to rotate */
|
|
49
|
-
.component--directional-button.up:hover,
|
|
50
|
-
.component--directional-button.up:focus {
|
|
51
|
-
transform: translateY(-5px);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.component--directional-button.down span,
|
|
55
|
-
.directional-button.down span {
|
|
56
|
-
transform: rotate(180deg);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.component--directional-button.down:hover,
|
|
60
|
-
.component--directional-button.down:focus {
|
|
61
|
-
transform: translateY(5px);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.component--directional-button.left span,
|
|
65
|
-
.component--directional-button.left span {
|
|
66
|
-
transform: rotate(-90deg);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.component--directional-button.left:hover,
|
|
70
|
-
.component--directional-button.left:focus {
|
|
71
|
-
transform: translateX(-5px);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.component--directional-button.right span,
|
|
75
|
-
.component--directional-button.right span {
|
|
76
|
-
transform: rotate(90deg);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.component--directional-button.right:hover,
|
|
80
|
-
.component--directional-button.right:focus {
|
|
81
|
-
transform: translateX(5px);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.dark .component--directional-button {
|
|
85
|
-
background-color: var(--secondary-700);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.dark .component--directional-button:hover,
|
|
89
|
-
.dark .component--directional-button:focus {
|
|
90
|
-
color: white;
|
|
91
|
-
background-color: var(--secondary-700);
|
|
92
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.dropdown-menu-content[data-side="top"],
|
|
2
|
-
.dropdown-menu-subcontent[data-side="top"] {
|
|
3
|
-
animation: slideDownAndFade 100ms ease-in;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.dropdown-menu-content[data-side="right"],
|
|
7
|
-
.dropdown-menu-subcontent[data-side="right"] {
|
|
8
|
-
animation: slideLeftAndFade 100ms ease-in;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.dropdown-menu-content[data-side="bottom"],
|
|
12
|
-
.dropdown-menu-subcontent[data-side="bottom"] {
|
|
13
|
-
animation: slideUpAndFade 100ms ease-in;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.dropdown-menu-content[data-side="left"],
|
|
17
|
-
.dropdown-menu-subcontent[data-side="left"] {
|
|
18
|
-
animation: slideRightAndFade 100ms ease-in;
|
|
19
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
|
-
|
|
3
|
-
@layer infonomic-components {
|
|
4
|
-
.component--icon-element-root svg {
|
|
5
|
-
display: block;
|
|
6
|
-
margin: auto;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
max-height: 100%;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
ul.check {
|
|
2
|
-
padding-left: 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.component--list-item-checkbox {
|
|
6
|
-
position: relative;
|
|
7
|
-
margin-left: 0;
|
|
8
|
-
margin-right: 8px;
|
|
9
|
-
padding-left: 28px;
|
|
10
|
-
padding-right: 24px;
|
|
11
|
-
list-style-type: none;
|
|
12
|
-
outline: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@media screen and (min-width: 768px) {
|
|
16
|
-
ul.check {
|
|
17
|
-
padding-left: 1rem;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.component--list-item-checkbox::before {
|
|
22
|
-
content: "";
|
|
23
|
-
width: 16px;
|
|
24
|
-
height: 16px;
|
|
25
|
-
top: 8px;
|
|
26
|
-
left: 0;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
display: block;
|
|
29
|
-
background-size: cover;
|
|
30
|
-
position: absolute;
|
|
31
|
-
border: 1px solid rgb(125, 125, 125);
|
|
32
|
-
border-radius: 2px;
|
|
33
|
-
background-repeat: no-repeat;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.component--list-item-checkbox-checked {
|
|
37
|
-
text-decoration: line-through;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.component--list-item-checkbox-checked::before {
|
|
41
|
-
border: 1px solid var(--secondary-300);
|
|
42
|
-
background-color: var(--secondary-400);
|
|
43
|
-
background-repeat: no-repeat;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.component--list-item-checkbox-checked::after {
|
|
47
|
-
content: "";
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
border-color: #fff;
|
|
50
|
-
border-style: solid;
|
|
51
|
-
position: absolute;
|
|
52
|
-
display: block;
|
|
53
|
-
top: 11px;
|
|
54
|
-
width: 4px;
|
|
55
|
-
left: 6px;
|
|
56
|
-
right: 7px;
|
|
57
|
-
height: 8px;
|
|
58
|
-
transform: rotate(45deg);
|
|
59
|
-
border-width: 0 2px 2px 0;
|
|
60
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.popover-content[data-state="open"][data-side="top"] {
|
|
2
|
-
animation: slideDownAndFade 100ms ease-in;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.popover-content[data-state="open"][data-side="right"] {
|
|
6
|
-
animation: slideLeftAndFade 100ms ease-in;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.popover-content[data-state="open"][data-side="bottom"] {
|
|
10
|
-
animation: slideUpAndFade 100ms ease-in;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.popover-content[data-state="open"][data-side="left"] {
|
|
14
|
-
animation: slideRightAndFade 100ms ease-in;
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/* styles.css */
|
|
2
|
-
|
|
3
|
-
.toast-viewport {
|
|
4
|
-
--viewport-padding: 25px;
|
|
5
|
-
position: fixed;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
right: 0;
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
padding: var(--viewport-padding);
|
|
11
|
-
gap: 10px;
|
|
12
|
-
width: 100vw;
|
|
13
|
-
max-width: 100vw;
|
|
14
|
-
margin: 0;
|
|
15
|
-
list-style: none;
|
|
16
|
-
z-index: 2147483647;
|
|
17
|
-
outline: none;
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* Simple headings spec if the optional typography layer is not imported */
|
|
2
|
-
@layer infonomic-theme {
|
|
3
|
-
h1 {
|
|
4
|
-
font-size: 1.75rem;
|
|
5
|
-
font-weight: 600;
|
|
6
|
-
line-height: 1.125;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
h2 {
|
|
10
|
-
font-size: 1.5rem;
|
|
11
|
-
font-weight: 600;
|
|
12
|
-
line-height: 1.125;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
h3 {
|
|
16
|
-
font-size: 1.25rem;
|
|
17
|
-
font-weight: 600;
|
|
18
|
-
line-height: 1.1;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
h4 {
|
|
22
|
-
font-size: 1rem;
|
|
23
|
-
font-weight: 600;
|
|
24
|
-
line-height: 1.1;
|
|
25
|
-
}
|
|
26
|
-
}
|