@fileverse/ui 5.1.0 → 5.1.1-green-2
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 +94 -4
- package/dist/index.es.d.ts +1 -1
- package/dist/index.es.js +3299 -3274
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -799,6 +799,79 @@ video {
|
|
|
799
799
|
/* Utility */
|
|
800
800
|
--color-utility-overlay: 0, 0%, 0%, 0.72; /* Black 72% */
|
|
801
801
|
}
|
|
802
|
+
|
|
803
|
+
.theme-green {
|
|
804
|
+
/* Button */
|
|
805
|
+
--color-button-default: 63, 15%, 74%, 1; /* #C6C7B3 */
|
|
806
|
+
--color-button-default-hover: 65, 14%, 82%, 1; /* #D7D8CA */
|
|
807
|
+
--color-button-secondary: 120, 9%, 24%, 1; /* #384338 */
|
|
808
|
+
--color-button-secondary-hover: 63, 15%, 74%, 0.06; /* #C6C7B3 6% */
|
|
809
|
+
--color-button-disabled: 63, 15%, 74%, 0.04; /* #C6C7B3 4% */
|
|
810
|
+
--color-button-danger: 2, 99%, 68%, 1; /* #FE625D */
|
|
811
|
+
--color-button-danger-hover: 2, 99%, 72%, 1; /* #FE7571 */
|
|
812
|
+
--color-button-floating: 120, 9%, 24%, 1; /* #384338 */
|
|
813
|
+
--color-button-floating-hover: 63, 15%, 74%, 0.06; /* #C6C7B3 6% */
|
|
814
|
+
|
|
815
|
+
/* Text */
|
|
816
|
+
--color-text-default: 62, 27%, 83%, 1; /* #DFE0C9 */
|
|
817
|
+
--color-text-secondary: 84, 5%, 56%, 1; /* #909688 */
|
|
818
|
+
--color-text-disabled: 104, 7%, 42%, 1; /* #687364 */
|
|
819
|
+
--color-text-danger: 2, 99%, 68%, 1; /* #FE625D */
|
|
820
|
+
--color-text-success: 120, 46%, 55%, 1; /* #59C259 */
|
|
821
|
+
--color-text-inverse: 120, 6%, 16%, 1; /* #262B26 */
|
|
822
|
+
--color-text-link: 197, 78%, 64%, 1; /* #5BC3EB */
|
|
823
|
+
--color-text-on-brand: 120, 6%, 16%, 1; /* #262B26 */
|
|
824
|
+
|
|
825
|
+
/* Background */
|
|
826
|
+
--color-bg-default: 120, 9%, 24%, 1; /* #384338 */
|
|
827
|
+
--color-bg-default-hover: 63, 15%, 74%, 0.06; /* #C6C7B3 6% */
|
|
828
|
+
--color-bg-default-active: 45, 100%, 65%, 1; /* #FFD24D */
|
|
829
|
+
--color-bg-default-selected: 63, 15%, 74%, 0.04; /* #C6C7B3 4% */
|
|
830
|
+
--color-bg-secondary: 120, 6%, 16%, 1; /* #262B26 */
|
|
831
|
+
--color-bg-secondary-hover: 63, 15%, 74%, 0.08; /* #C6C7B3 8% */
|
|
832
|
+
--color-bg-disabled: 63, 15%, 74%, 0.04; /* #C6C7B3 4% */
|
|
833
|
+
--color-bg-brand: 46, 88%, 56%, 1; /* #F2C42D */
|
|
834
|
+
--color-bg-brand-hover: 40, 84%, 50%, 1; /* #EBA515 */
|
|
835
|
+
--color-bg-brand-light: 50, 89%, 89%, 1; /* #FCF4C9 */
|
|
836
|
+
--color-bg-danger: 2, 99%, 68%, 1; /* #FE625D */
|
|
837
|
+
--color-bg-danger-light: 2, 99%, 68%, 0.12; /* #FE625D 12% */
|
|
838
|
+
--color-bg-default-inverse: 120, 9%, 76%, 1; /* #BCC7BC */
|
|
839
|
+
--color-bg-tertiary: 63, 15%, 74%, 0.12; /* #C6C7B3 12% */
|
|
840
|
+
--color-bg-success: 120, 46%, 55%, 1; /* #59C259 */
|
|
841
|
+
--color-bg-success-light: 120, 46%, 55%, 0.16; /* #59C259 16% */
|
|
842
|
+
|
|
843
|
+
/* Border */
|
|
844
|
+
--color-border-default: 120, 8%, 30%, 1; /* #465346 */
|
|
845
|
+
--color-border-hover: 120, 8%, 36%, 1; /* #546354 */
|
|
846
|
+
--color-border-light: 120, 8%, 44%, 1; /* #677A67 */
|
|
847
|
+
--color-border-active: 62, 27%, 83%, 1; /* #DFE0C9 */
|
|
848
|
+
--color-border-focused: 197, 78%, 64%, 1; /* #5BC3EB */
|
|
849
|
+
--color-border-danger: 2, 99%, 68%, 1; /* #FE625D */
|
|
850
|
+
--color-border-warning: 10, 85%, 61%, 1; /* #F06449 */
|
|
851
|
+
--color-border-success: 120, 46%, 55%, 1; /* #59C259 */
|
|
852
|
+
--color-border-info: 197, 78%, 64%, 1; /* #5BC3EB */
|
|
853
|
+
--color-border-disabled: 104, 7%, 42%, 1; /* #687364 */
|
|
854
|
+
|
|
855
|
+
/* Icon */
|
|
856
|
+
--color-icon-default: 62, 27%, 83%, 1; /* #DFE0C9 */
|
|
857
|
+
--color-icon-default-hover: 65, 14%, 82%, 1; /* #D7D8CA */
|
|
858
|
+
--color-icon-brand: 46, 88%, 56%, 1; /* #F2C42D */
|
|
859
|
+
--color-icon-secondary: 84, 5%, 56%, 1; /* #909688 */
|
|
860
|
+
--color-icon-disabled: 104, 7%, 42%, 1; /* #687364 */
|
|
861
|
+
--color-icon-inverse: 120, 6%, 16%, 1; /* #262B26 */
|
|
862
|
+
--color-icon-danger: 2, 79%, 56%, 1; /* #E73D36 */
|
|
863
|
+
--color-icon-warning: 10, 85%, 61%, 1; /* #F06449 */
|
|
864
|
+
--color-icon-info: 197, 78%, 64%, 1; /* #5BC3EB */
|
|
865
|
+
--color-icon-success: 120, 46%, 55%, 1; /* #59C259 */
|
|
866
|
+
--color-icon-on-brand: 120, 6%, 16%, 1; /* #262B26 */
|
|
867
|
+
|
|
868
|
+
/* Tooltip */
|
|
869
|
+
--color-bg-tooltip: 120, 9%, 76%, 1; /* #BCC7BC */
|
|
870
|
+
--color-text-tooltip: 120, 9%, 24%, 1; /* #384338 */
|
|
871
|
+
|
|
872
|
+
/* Utility */
|
|
873
|
+
--color-utility-overlay: 0, 0%, 0%, 0.72; /* Black 72% */
|
|
874
|
+
}
|
|
802
875
|
* {
|
|
803
876
|
border-color: hsl(var(--color-border-default));
|
|
804
877
|
-webkit-font-smoothing: antialiased;
|
|
@@ -1319,6 +1392,9 @@ video {
|
|
|
1319
1392
|
.bottom-0 {
|
|
1320
1393
|
bottom: 0px;
|
|
1321
1394
|
}
|
|
1395
|
+
.bottom-1 {
|
|
1396
|
+
bottom: 0.25rem;
|
|
1397
|
+
}
|
|
1322
1398
|
.bottom-2 {
|
|
1323
1399
|
bottom: 0.5rem;
|
|
1324
1400
|
}
|
|
@@ -2417,6 +2493,9 @@ video {
|
|
|
2417
2493
|
.\!bg-transparent {
|
|
2418
2494
|
background-color: transparent !important;
|
|
2419
2495
|
}
|
|
2496
|
+
.bg-\[hsl\(var\(--color-bg-tooltip\)\)\] {
|
|
2497
|
+
background-color: hsl(var(--color-bg-tooltip));
|
|
2498
|
+
}
|
|
2420
2499
|
.bg-black\/5 {
|
|
2421
2500
|
background-color: rgb(0 0 0 / 0.05);
|
|
2422
2501
|
}
|
|
@@ -2437,6 +2516,9 @@ video {
|
|
|
2437
2516
|
.bg-none {
|
|
2438
2517
|
background-image: none;
|
|
2439
2518
|
}
|
|
2519
|
+
.fill-\[hsl\(var\(--color-bg-tooltip\)\)\] {
|
|
2520
|
+
fill: hsl(var(--color-bg-tooltip));
|
|
2521
|
+
}
|
|
2440
2522
|
.stroke-\[hsl\(var\(--color-bg-default\)\)\] {
|
|
2441
2523
|
stroke: hsl(var(--color-bg-default));
|
|
2442
2524
|
}
|
|
@@ -2649,6 +2731,9 @@ video {
|
|
|
2649
2731
|
.text-\[32px\] {
|
|
2650
2732
|
font-size: 32px;
|
|
2651
2733
|
}
|
|
2734
|
+
.text-\[9px\] {
|
|
2735
|
+
font-size: 9px;
|
|
2736
|
+
}
|
|
2652
2737
|
.text-lg {
|
|
2653
2738
|
font-size: 1.125rem;
|
|
2654
2739
|
line-height: 1.75rem;
|
|
@@ -2689,6 +2774,9 @@ video {
|
|
|
2689
2774
|
.leading-none {
|
|
2690
2775
|
line-height: 1;
|
|
2691
2776
|
}
|
|
2777
|
+
.tracking-wide {
|
|
2778
|
+
letter-spacing: 0.025em;
|
|
2779
|
+
}
|
|
2692
2780
|
.tracking-widest {
|
|
2693
2781
|
letter-spacing: 0.1em;
|
|
2694
2782
|
}
|
|
@@ -2705,6 +2793,9 @@ video {
|
|
|
2705
2793
|
.text-\[hsl\(var\(--color-text-inverse\)\)\] {
|
|
2706
2794
|
color: hsl(var(--color-text-inverse));
|
|
2707
2795
|
}
|
|
2796
|
+
.text-\[hsl\(var\(--color-text-tooltip\)\)\] {
|
|
2797
|
+
color: hsl(var(--color-text-tooltip));
|
|
2798
|
+
}
|
|
2708
2799
|
.text-current {
|
|
2709
2800
|
color: currentColor;
|
|
2710
2801
|
}
|
|
@@ -2720,6 +2811,9 @@ video {
|
|
|
2720
2811
|
--tw-text-opacity: 1;
|
|
2721
2812
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
2722
2813
|
}
|
|
2814
|
+
.text-white\/60 {
|
|
2815
|
+
color: rgb(255 255 255 / 0.6);
|
|
2816
|
+
}
|
|
2723
2817
|
.underline {
|
|
2724
2818
|
text-decoration-line: underline;
|
|
2725
2819
|
}
|
|
@@ -3652,10 +3746,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3652
3746
|
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
3653
3747
|
animation-duration: 500ms;
|
|
3654
3748
|
}
|
|
3655
|
-
.dark\:bg-\[\#000\]:is(.dark *) {
|
|
3656
|
-
--tw-bg-opacity: 1;
|
|
3657
|
-
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
3658
|
-
}
|
|
3659
3749
|
.dark\:\!text-\[\#363B3F\]:is(.dark *) {
|
|
3660
3750
|
--tw-text-opacity: 1 !important;
|
|
3661
3751
|
color: rgb(54 59 63 / var(--tw-text-opacity, 1)) !important;
|
package/dist/index.es.d.ts
CHANGED
|
@@ -907,7 +907,7 @@ export declare interface TextFieldProps extends React_2.InputHTMLAttributes<HTML
|
|
|
907
907
|
icon?: LucideIconProps["name"];
|
|
908
908
|
}
|
|
909
909
|
|
|
910
|
-
declare type Theme = "light" | "dark" | "theme-sepia" | "theme-pink";
|
|
910
|
+
declare type Theme = "light" | "dark" | "theme-sepia" | "theme-pink" | "theme-green";
|
|
911
911
|
|
|
912
912
|
export declare const ThemeProvider: ({ children, defaultTheme, }: ThemeProviderProps) => JSX_2.Element;
|
|
913
913
|
|