fina-react-ds 1.0.10 → 1.0.11
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.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function FileUploader({ onChange, "aria-invalid": ariaInvalid, fileTypes, ref, }: {
|
|
2
|
+
onChange?: (file: File | null) => void;
|
|
3
|
+
"aria-invalid"?: boolean;
|
|
4
|
+
fileTypes: Record<string, string[]>;
|
|
5
|
+
ref?: React.ForwardedRef<{
|
|
6
|
+
focus: () => void;
|
|
7
|
+
}>;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/themes/base.css
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
--fc-font-weight-normal: 400;
|
|
22
22
|
--fc-font-weight-medium: 500;
|
|
23
23
|
--fc-font-weight-semibold: 600;
|
|
24
|
+
--fc-font-weight-bold: 700;
|
|
24
25
|
--fc-tracking-tight: -0.025em;
|
|
25
26
|
--fc-tracking-widest: 0.1em;
|
|
26
27
|
--fc-leading-relaxed: 1.625;
|
|
@@ -306,6 +307,9 @@
|
|
|
306
307
|
.fc\:mr-2 {
|
|
307
308
|
margin-right: calc(var(--fc-spacing) * 2);
|
|
308
309
|
}
|
|
310
|
+
.fc\:mb-4 {
|
|
311
|
+
margin-bottom: calc(var(--fc-spacing) * 4);
|
|
312
|
+
}
|
|
309
313
|
.fc\:ml-auto {
|
|
310
314
|
margin-left: auto;
|
|
311
315
|
}
|
|
@@ -364,6 +368,10 @@
|
|
|
364
368
|
width: calc(var(--fc-spacing) * 9);
|
|
365
369
|
height: calc(var(--fc-spacing) * 9);
|
|
366
370
|
}
|
|
371
|
+
.fc\:size-10 {
|
|
372
|
+
width: calc(var(--fc-spacing) * 10);
|
|
373
|
+
height: calc(var(--fc-spacing) * 10);
|
|
374
|
+
}
|
|
367
375
|
.fc\:size-auto {
|
|
368
376
|
width: auto;
|
|
369
377
|
height: auto;
|
|
@@ -396,6 +404,9 @@
|
|
|
396
404
|
.fc\:h-12 {
|
|
397
405
|
height: calc(var(--fc-spacing) * 12);
|
|
398
406
|
}
|
|
407
|
+
.fc\:h-50 {
|
|
408
|
+
height: calc(var(--fc-spacing) * 50);
|
|
409
|
+
}
|
|
399
410
|
.fc\:h-\[1\.2rem\] {
|
|
400
411
|
height: 1.2rem;
|
|
401
412
|
}
|
|
@@ -966,6 +977,10 @@
|
|
|
966
977
|
--tw-leading: 1;
|
|
967
978
|
line-height: 1;
|
|
968
979
|
}
|
|
980
|
+
.fc\:font-bold {
|
|
981
|
+
--tw-font-weight: var(--fc-font-weight-bold);
|
|
982
|
+
font-weight: var(--fc-font-weight-bold);
|
|
983
|
+
}
|
|
969
984
|
.fc\:font-medium {
|
|
970
985
|
--tw-font-weight: var(--fc-font-weight-medium);
|
|
971
986
|
font-weight: var(--fc-font-weight-medium);
|
|
@@ -1077,6 +1092,9 @@
|
|
|
1077
1092
|
--tw-numeric-spacing: tabular-nums;
|
|
1078
1093
|
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
1079
1094
|
}
|
|
1095
|
+
.fc\:underline {
|
|
1096
|
+
text-decoration-line: underline;
|
|
1097
|
+
}
|
|
1080
1098
|
.fc\:underline-offset-4 {
|
|
1081
1099
|
text-underline-offset: 4px;
|
|
1082
1100
|
}
|
|
@@ -2469,6 +2487,12 @@
|
|
|
2469
2487
|
line-height: var(--tw-leading, var(--fc-text-sm--line-height)) !important;
|
|
2470
2488
|
}
|
|
2471
2489
|
}
|
|
2490
|
+
.fc\:md\:text-xs {
|
|
2491
|
+
@media (width >= 48rem) {
|
|
2492
|
+
font-size: var(--fc-text-xs);
|
|
2493
|
+
line-height: var(--tw-leading, var(--fc-text-xs--line-height));
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2472
2496
|
.fc\:md\:opacity-0 {
|
|
2473
2497
|
@media (width >= 48rem) {
|
|
2474
2498
|
opacity: 0%;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "https://github.com/F1na/fina-react-ds"
|
|
6
6
|
},
|
|
7
7
|
"private": false,
|
|
8
|
-
"version": "1.0.
|
|
8
|
+
"version": "1.0.11",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"radix-ui": "^1.4.2",
|
|
31
31
|
"react-colorful": "^5.6.1",
|
|
32
32
|
"react-day-picker": "9.7.0",
|
|
33
|
+
"react-dropzone": "^14.3.8",
|
|
33
34
|
"react-select": "^5.10.1",
|
|
34
35
|
"react-spinners": "^0.17.0",
|
|
35
36
|
"sonner": "^2.0.5",
|