@julseb-lib/react 0.1.11 → 0.1.12
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/index.css +57 -116
- package/dist/julseb-lib-react.cjs.js +12 -12
- package/dist/julseb-lib-react.es.js +1868 -1794
- package/dist/julseb-lib-react.umd.js +12 -12
- package/dist/lib/Variables.ts +20 -19
- package/dist/lib/components/Accordion/Accordion.tsx +1 -1
- package/dist/lib/components/Accordion/AccordionContent.tsx +2 -2
- package/dist/lib/components/Accordion/AccordionTitle.tsx +4 -3
- package/dist/lib/components/Alert/Alert.tsx +2 -2
- package/dist/lib/components/Autocomplete/Autocomplete.tsx +1 -1
- package/dist/lib/components/Avatar/Avatar.tsx +3 -7
- package/dist/lib/components/BackToTop/BackToTop.tsx +4 -3
- package/dist/lib/components/Badge/Badge.tsx +1 -1
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.tsx +1 -1
- package/dist/lib/components/Burger/Burger.tsx +11 -4
- package/dist/lib/components/Button/Button.tsx +5 -4
- package/dist/lib/components/ButtonGroup/ButtonGroup.tsx +4 -2
- package/dist/lib/components/ButtonIcon/ButtonFn.tsx +3 -1
- package/dist/lib/components/ButtonIcon/ButtonIcon.tsx +9 -2
- package/dist/lib/components/CodeContainer/CodeContainer.tsx +5 -5
- package/dist/lib/components/Cover/Cover.tsx +1 -1
- package/dist/lib/components/DragList/DragList.tsx +1 -1
- package/dist/lib/components/DragList/DragListItem.tsx +4 -3
- package/dist/lib/components/Drawer/Drawer.tsx +1 -1
- package/dist/lib/components/Dropdown/Dropdown.tsx +1 -1
- package/dist/lib/components/Fade/Fade.tsx +4 -4
- package/dist/lib/components/Fieldset/Fieldset.tsx +2 -2
- package/dist/lib/components/Footer/Footer.tsx +103 -0
- package/dist/lib/components/Footer/index.ts +1 -0
- package/dist/lib/components/Footer/types.ts +54 -0
- package/dist/lib/components/Form/Form.tsx +1 -1
- package/dist/lib/components/Header/Header.tsx +15 -6
- package/dist/lib/components/Header/types.ts +1 -1
- package/dist/lib/components/Image/Image.tsx +1 -1
- package/dist/lib/components/Input/Input.tsx +2 -2
- package/dist/lib/components/Input/templates/ColorInput.tsx +4 -0
- package/dist/lib/components/InputCheck/InputCheck.tsx +2 -2
- package/dist/lib/components/InputComponents/InputButton.tsx +7 -2
- package/dist/lib/components/InputComponents/classes.ts +1 -1
- package/dist/lib/components/InputContainer/InputContainer.tsx +1 -1
- package/dist/lib/components/InputCounter/InputCounter.tsx +2 -2
- package/dist/lib/components/InputImage/InputImage.tsx +1 -1
- package/dist/lib/components/InputPhone/InputPhone.tsx +1 -1
- package/dist/lib/components/InputPin/InputPin.tsx +3 -1
- package/dist/lib/components/InputSlider/InputSlider.tsx +1 -1
- package/dist/lib/components/Key/Key.tsx +2 -2
- package/dist/lib/components/ListGroup/ListGroup.tsx +1 -1
- package/dist/lib/components/ListGroup/ListGroupItem.tsx +1 -1
- package/dist/lib/components/ListGroup/ListGroupTitle.tsx +1 -1
- package/dist/lib/components/Loader/Loader.tsx +1 -1
- package/dist/lib/components/Loader/templates/LoaderOne.tsx +1 -1
- package/dist/lib/components/Loader/templates/LoaderThree.tsx +3 -3
- package/dist/lib/components/Loader/templates/LoaderTwo.tsx +2 -2
- package/dist/lib/components/MarkdownContainer/MarkdownContainer.tsx +2 -2
- package/dist/lib/components/Meta/Meta.tsx +125 -0
- package/dist/lib/components/Meta/index.ts +1 -0
- package/dist/lib/components/Meta/types.ts +35 -0
- package/dist/lib/components/Modal/Modal.tsx +1 -1
- package/dist/lib/components/PageLayout/PageLayout.tsx +64 -0
- package/dist/lib/components/PageLayout/index.ts +1 -0
- package/dist/lib/components/PageLayout/types.ts +29 -0
- package/dist/lib/components/PageLoading/PageLoading.tsx +1 -1
- package/dist/lib/components/Pagination/Pagination.tsx +1 -1
- package/dist/lib/components/Pagination/PaginationButton.tsx +1 -1
- package/dist/lib/components/Paginator/Paginator.tsx +1 -1
- package/dist/lib/components/ProgressBar/ProgressBar.tsx +4 -7
- package/dist/lib/components/ProgressBar/types.ts +1 -1
- package/dist/lib/components/ProgressCircle/ProgressCircle.tsx +7 -3
- package/dist/lib/components/ProgressCircle/types.ts +1 -2
- package/dist/lib/components/Rating/Rating.tsx +1 -1
- package/dist/lib/components/Select/Select.tsx +1 -1
- package/dist/lib/components/Skeleton/Skeleton.tsx +5 -2
- package/dist/lib/components/Skeleton/SkeletonCard.tsx +4 -1
- package/dist/lib/components/Slideshow/Slideshow.tsx +1 -1
- package/dist/lib/components/Slideshow/SlideshowPagination.tsx +1 -1
- package/dist/lib/components/SrOnly/SrOnly.tsx +33 -0
- package/dist/lib/components/SrOnly/index.ts +1 -0
- package/dist/lib/components/SrOnly/types.ts +7 -0
- package/dist/lib/components/Sticky/Sticky.tsx +8 -8
- package/dist/lib/components/Table/Table.tsx +8 -5
- package/dist/lib/components/Tabs/Tabs.tsx +1 -1
- package/dist/lib/components/Tabs/TabsButton.tsx +4 -2
- package/dist/lib/components/Tabs/TabsButtonsContainer.tsx +1 -1
- package/dist/lib/components/Tabs/TabsContainer.tsx +1 -1
- package/dist/lib/components/Tabs/TabsContent.tsx +1 -1
- package/dist/lib/components/Tag/Tag.tsx +1 -1
- package/dist/lib/components/Text/templates/Blockquote.tsx +1 -1
- package/dist/lib/components/Text/templates/Dl.tsx +1 -1
- package/dist/lib/components/Text/templates/H1.tsx +2 -2
- package/dist/lib/components/Text/templates/H2.tsx +2 -2
- package/dist/lib/components/Text/templates/H3.tsx +2 -2
- package/dist/lib/components/Text/templates/H4.tsx +2 -2
- package/dist/lib/components/Text/templates/H5.tsx +2 -2
- package/dist/lib/components/Text/templates/H6.tsx +1 -1
- package/dist/lib/components/Text/templates/Ol.tsx +1 -1
- package/dist/lib/components/Text/templates/P.tsx +1 -1
- package/dist/lib/components/Text/templates/Small.tsx +1 -1
- package/dist/lib/components/Text/templates/Ul.tsx +1 -1
- package/dist/lib/components/Toast/Toast.tsx +5 -4
- package/dist/lib/components/Tooltip/Tooltip.tsx +29 -22
- package/dist/lib/components/Wrapper/Wrapper.tsx +1 -1
- package/dist/lib/index.css +57 -116
- package/dist/lib/index.ts +4 -1
- package/dist/lib/types/components-items-props.ts +1 -24
- package/dist/lib/types/components-props.ts +4 -1
- package/dist/lib/types/global.ts +11 -13
- package/dist/lib/utils/design-tokens.ts +2 -7
- package/dist/lib/utils/gen-gap.ts +21 -21
- package/dist/lib/utils/gen-ring-color.ts +21 -0
- package/dist/lib/utils/index.ts +1 -0
- package/package.json +3 -3
- package/dist/lib/components/IconMenu/IconMenu.module.css +0 -239
- package/dist/lib/components/IconMenu/IconMenu.tsx +0 -101
- package/dist/lib/components/IconMenu/IconMenuItem.tsx +0 -53
- package/dist/lib/components/IconMenu/index.ts +0 -1
- package/dist/lib/components/IconMenu/types.ts +0 -48
- package/dist/react.css +0 -1
package/dist/index.css
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
6
|
--font-lato: "Lato", sans-serif;
|
|
7
|
-
--font-
|
|
7
|
+
--font-sans: var(--font-lato);
|
|
8
|
+
--font-mono: monospace;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
@theme {
|
|
@@ -78,10 +79,6 @@
|
|
|
78
79
|
--color-background: var(--color-white);
|
|
79
80
|
--color-font: var(--color-black);
|
|
80
81
|
|
|
81
|
-
--font-lato: "Lato", sans-serif;
|
|
82
|
-
--font-family-body: var(--font-lato);
|
|
83
|
-
--font-family-code: monospace;
|
|
84
|
-
|
|
85
82
|
--font-weight-thin: 100;
|
|
86
83
|
--font-weight-light: 300;
|
|
87
84
|
--font-weight-normal: 400;
|
|
@@ -103,7 +100,16 @@
|
|
|
103
100
|
rgba(255, 255, 255, 0.35) 100%
|
|
104
101
|
);
|
|
105
102
|
|
|
106
|
-
--
|
|
103
|
+
--font-sans: var(--font-lato);
|
|
104
|
+
--font-mono: monospace;
|
|
105
|
+
|
|
106
|
+
--spacer-2xs: 4px;
|
|
107
|
+
--spacer-xs: 8px;
|
|
108
|
+
--spacer-sm: 12px;
|
|
109
|
+
--spacer-md: 16px;
|
|
110
|
+
--spacer-lg: 24px;
|
|
111
|
+
--spacer-xl: 32px;
|
|
112
|
+
--spacer-2xl: 48px;
|
|
107
113
|
|
|
108
114
|
--main-default: 600px;
|
|
109
115
|
--main-large: 800px;
|
|
@@ -112,64 +118,54 @@
|
|
|
112
118
|
--aside-default: 250px;
|
|
113
119
|
--aside-small: 200px;
|
|
114
120
|
|
|
115
|
-
--shadow-
|
|
116
|
-
0px 10px 14px 8px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.3);
|
|
117
|
-
--shadow-xl:
|
|
118
|
-
0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);
|
|
119
|
-
--shadow-lg:
|
|
120
|
-
0px 6px 10px 4px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
|
|
121
|
-
--shadow-md:
|
|
122
|
-
0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
|
|
123
|
-
--shadow-sm:
|
|
124
|
-
0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
|
|
121
|
+
--shadow-2xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
125
122
|
--shadow-xs:
|
|
126
123
|
0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
|
|
127
|
-
--shadow-
|
|
124
|
+
--shadow-sm:
|
|
125
|
+
0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
|
|
126
|
+
--shadow-md:
|
|
127
|
+
0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
|
|
128
|
+
--shadow-lg:
|
|
129
|
+
0px 6px 10px 4px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
|
|
130
|
+
--shadow-xl:
|
|
131
|
+
0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);
|
|
132
|
+
--shadow-2xl:
|
|
133
|
+
0px 10px 14px 8px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.3);
|
|
128
134
|
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.06);
|
|
129
135
|
--shadow-none: none;
|
|
130
136
|
|
|
131
|
-
--spacer-2xs: 4px;
|
|
132
|
-
--spacer-xs: 8px;
|
|
133
|
-
--spacer-sm: 12px;
|
|
134
|
-
--spacer-md: 16px;
|
|
135
|
-
--spacer-lg: 24px;
|
|
136
|
-
--spacer-xl: 32px;
|
|
137
|
-
--spacer-2xl: 48px;
|
|
138
|
-
|
|
139
137
|
--animate-cubic-bezier: cubic-bezier(0.5, 0, 0.5, 1);
|
|
140
138
|
|
|
141
|
-
--
|
|
142
|
-
--
|
|
143
|
-
--
|
|
144
|
-
|
|
145
|
-
--
|
|
146
|
-
--
|
|
147
|
-
--
|
|
148
|
-
--
|
|
149
|
-
--
|
|
150
|
-
--
|
|
151
|
-
--
|
|
152
|
-
--
|
|
153
|
-
--
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
body {
|
|
159
|
-
font-family: var(--font-family-body);
|
|
160
|
-
}
|
|
139
|
+
--transition-short: all 200ms ease;
|
|
140
|
+
--transition-long: all 500ms ease;
|
|
141
|
+
--transition-bezier: all 500ms cubic-bezier(0.25, 0.75, 0, 0.66);
|
|
142
|
+
|
|
143
|
+
--text-display-h1: 5rem;
|
|
144
|
+
--text-display-h2: 4rem;
|
|
145
|
+
--text-display-h3: 3.5rem;
|
|
146
|
+
--text-display-h4: 3rem;
|
|
147
|
+
--text-display-h5: 2.5rem;
|
|
148
|
+
--text-h1: 2.5rem;
|
|
149
|
+
--text-h2: 2rem;
|
|
150
|
+
--text-h3: 1.8rem;
|
|
151
|
+
--text-h4: 1.5rem;
|
|
152
|
+
--text-h5: 1.3rem;
|
|
153
|
+
--text-h6: 1.1rem;
|
|
154
|
+
--text-body: 1rem;
|
|
155
|
+
--text-small: 0.875rem;
|
|
161
156
|
}
|
|
162
157
|
|
|
163
158
|
/*====================== Common styles ======================*/
|
|
164
159
|
|
|
165
160
|
html,
|
|
166
161
|
body {
|
|
167
|
-
font-family: var(--font-
|
|
162
|
+
font-family: var(--font-sans);
|
|
168
163
|
width: 100%;
|
|
169
164
|
min-height: 100vh;
|
|
170
165
|
background-color: var(--color-background);
|
|
171
166
|
color: var(--color-font);
|
|
172
167
|
max-width: 100dvw;
|
|
168
|
+
line-height: var(--leading-normal);
|
|
173
169
|
|
|
174
170
|
&.dark {
|
|
175
171
|
--color-background: var(--color-black);
|
|
@@ -184,7 +180,7 @@ body {
|
|
|
184
180
|
a,
|
|
185
181
|
button {
|
|
186
182
|
cursor: pointer;
|
|
187
|
-
transition:
|
|
183
|
+
transition: var(--transition-short);
|
|
188
184
|
|
|
189
185
|
&:disabled {
|
|
190
186
|
cursor: not-allowed;
|
|
@@ -198,73 +194,73 @@ button {
|
|
|
198
194
|
max-width: 100%;
|
|
199
195
|
}
|
|
200
196
|
|
|
201
|
-
.no-scrollbar::-webkit-scrollbar {
|
|
202
|
-
display: none;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
197
|
.no-scrollbar {
|
|
206
198
|
-ms-overflow-style: none;
|
|
207
199
|
scrollbar-width: none;
|
|
200
|
+
|
|
201
|
+
&::-webkit-scrollbar {
|
|
202
|
+
display: none;
|
|
203
|
+
}
|
|
208
204
|
}
|
|
209
205
|
|
|
210
206
|
/*====================== Fonts ======================*/
|
|
211
207
|
|
|
212
208
|
.lato-thin {
|
|
213
|
-
font-family: var(--font-
|
|
209
|
+
font-family: var(--font-sans);
|
|
214
210
|
font-weight: var(--font-weight-thin);
|
|
215
211
|
font-style: normal;
|
|
216
212
|
}
|
|
217
213
|
|
|
218
214
|
.lato-light {
|
|
219
|
-
font-family: var(--font-
|
|
215
|
+
font-family: var(--font-sans);
|
|
220
216
|
font-weight: var(--font-weight-light);
|
|
221
217
|
font-style: normal;
|
|
222
218
|
}
|
|
223
219
|
|
|
224
220
|
.lato-regular {
|
|
225
|
-
font-family: var(--font-
|
|
221
|
+
font-family: var(--font-sans);
|
|
226
222
|
font-weight: var(--font-weight-normal);
|
|
227
223
|
font-style: normal;
|
|
228
224
|
}
|
|
229
225
|
|
|
230
226
|
.lato-bold {
|
|
231
|
-
font-family: var(--font-
|
|
227
|
+
font-family: var(--font-sans);
|
|
232
228
|
font-weight: var(--font-weight-bold);
|
|
233
229
|
font-style: normal;
|
|
234
230
|
}
|
|
235
231
|
|
|
236
232
|
.lato-black {
|
|
237
|
-
font-family: var(--font-
|
|
233
|
+
font-family: var(--font-sans);
|
|
238
234
|
font-weight: var(--font-weight-black);
|
|
239
235
|
font-style: normal;
|
|
240
236
|
}
|
|
241
237
|
|
|
242
238
|
.lato-thin-italic {
|
|
243
|
-
font-family: var(--font-
|
|
239
|
+
font-family: var(--font-sans);
|
|
244
240
|
font-weight: var(--font-weight-thin);
|
|
245
241
|
font-style: italic;
|
|
246
242
|
}
|
|
247
243
|
|
|
248
244
|
.lato-light-italic {
|
|
249
|
-
font-family: var(--font-
|
|
245
|
+
font-family: var(--font-sans);
|
|
250
246
|
font-weight: var(--font-weight-light);
|
|
251
247
|
font-style: italic;
|
|
252
248
|
}
|
|
253
249
|
|
|
254
250
|
.lato-regular-italic {
|
|
255
|
-
font-family: var(--font-
|
|
251
|
+
font-family: var(--font-sans);
|
|
256
252
|
font-weight: var(--font-weight-normal);
|
|
257
253
|
font-style: italic;
|
|
258
254
|
}
|
|
259
255
|
|
|
260
256
|
.lato-bold-italic {
|
|
261
|
-
font-family: var(--font-
|
|
257
|
+
font-family: var(--font-sans);
|
|
262
258
|
font-weight: var(--font-weight-bold);
|
|
263
259
|
font-style: italic;
|
|
264
260
|
}
|
|
265
261
|
|
|
266
262
|
.lato-black-italic {
|
|
267
|
-
font-family: var(--font-
|
|
263
|
+
font-family: var(--font-sans);
|
|
268
264
|
font-weight: var(--font-weight-black);
|
|
269
265
|
font-style: italic;
|
|
270
266
|
}
|
|
@@ -363,24 +359,6 @@ button {
|
|
|
363
359
|
}
|
|
364
360
|
}
|
|
365
361
|
|
|
366
|
-
.animate-shine {
|
|
367
|
-
position: relative;
|
|
368
|
-
overflow: hidden;
|
|
369
|
-
|
|
370
|
-
&:before {
|
|
371
|
-
content: "";
|
|
372
|
-
position: absolute;
|
|
373
|
-
top: -200px;
|
|
374
|
-
bottom: -200px;
|
|
375
|
-
background-color: var(--color-white);
|
|
376
|
-
opacity: 0.7;
|
|
377
|
-
filter: blur(20px);
|
|
378
|
-
width: 100px;
|
|
379
|
-
transform: skew(-15deg);
|
|
380
|
-
animation: shine 2000ms ease-in-out infinite;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
362
|
@keyframes spin {
|
|
385
363
|
from {
|
|
386
364
|
transform: rotate(0deg);
|
|
@@ -391,15 +369,6 @@ button {
|
|
|
391
369
|
}
|
|
392
370
|
}
|
|
393
371
|
|
|
394
|
-
.animate-spin {
|
|
395
|
-
animation: spin 1200ms linear infinite;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.animate-bezier {
|
|
399
|
-
animation: spin 1200ms var(--animate-cubic-bezier) infinite;
|
|
400
|
-
animation-delay: var(--spinner-delay);
|
|
401
|
-
}
|
|
402
|
-
|
|
403
372
|
@keyframes loader-pulse {
|
|
404
373
|
0%,
|
|
405
374
|
100% {
|
|
@@ -411,30 +380,6 @@ button {
|
|
|
411
380
|
}
|
|
412
381
|
}
|
|
413
382
|
|
|
414
|
-
.dot {
|
|
415
|
-
animation: loader-pulse 1200ms linear infinite;
|
|
416
|
-
animation-delay: var(--dot-delay);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
input::-webkit-slider-thumb {
|
|
420
|
-
box-shadow: var(--shadow-lg);
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
@keyframes toast-timer-animation {
|
|
424
|
-
0% {
|
|
425
|
-
width: 100%;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
100% {
|
|
429
|
-
width: 0;
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.toast-timer {
|
|
434
|
-
animation: toast-timer-animation var(--toast-timer-duration) linear
|
|
435
|
-
forwards;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
383
|
.Toastify__progress-bar--bg {
|
|
439
384
|
background-color: transparent !important;
|
|
440
385
|
}
|
|
@@ -448,8 +393,4 @@ button {
|
|
|
448
393
|
width: var(--meter-value);
|
|
449
394
|
}
|
|
450
395
|
}
|
|
451
|
-
|
|
452
|
-
.progress-bar-animated:before {
|
|
453
|
-
animation: progress-bar calc(var(--progress-speed) * 50ms) ease forwards;
|
|
454
|
-
}
|
|
455
396
|
}
|