@fileverse/ui 4.1.6-patch-6 → 4.1.6-patch-7.1

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 CHANGED
@@ -800,6 +800,10 @@ video {
800
800
  color: hsl(var(--color-text-inverse));
801
801
  }
802
802
 
803
+ .color-text-on-brand {
804
+ color: hsl(var(--color-text-on-brand));
805
+ }
806
+
803
807
  .color-bg-default {
804
808
  background-color: hsl(var(--color-bg-default));
805
809
  }
@@ -1124,6 +1128,9 @@ video {
1124
1128
  .left-0 {
1125
1129
  left: 0px;
1126
1130
  }
1131
+ .left-1 {
1132
+ left: 0.25rem;
1133
+ }
1127
1134
  .left-1\/2 {
1128
1135
  left: 50%;
1129
1136
  }
@@ -1142,6 +1149,9 @@ video {
1142
1149
  .right-0 {
1143
1150
  right: 0px;
1144
1151
  }
1152
+ .right-1 {
1153
+ right: 0.25rem;
1154
+ }
1145
1155
  .right-2 {
1146
1156
  right: 0.5rem;
1147
1157
  }
@@ -1248,6 +1258,9 @@ video {
1248
1258
  .mr-2 {
1249
1259
  margin-right: 0.5rem;
1250
1260
  }
1261
+ .mt-1 {
1262
+ margin-top: 0.25rem;
1263
+ }
1251
1264
  .mt-10 {
1252
1265
  margin-top: 2.5rem;
1253
1266
  }
@@ -1444,16 +1457,15 @@ video {
1444
1457
  .min-h-screen {
1445
1458
  min-height: 100vh;
1446
1459
  }
1460
+ .\!w-24 {
1461
+ width: 6rem !important;
1462
+ }
1447
1463
  .\!w-\[40px\] {
1448
1464
  width: 40px !important;
1449
1465
  }
1450
1466
  .\!w-\[95\%\] {
1451
1467
  width: 95% !important;
1452
1468
  }
1453
- .\!w-fit {
1454
- width: -moz-fit-content !important;
1455
- width: fit-content !important;
1456
- }
1457
1469
  .\!w-full {
1458
1470
  width: 100% !important;
1459
1471
  }
@@ -1550,12 +1562,18 @@ video {
1550
1562
  .w-\[400px\] {
1551
1563
  width: 400px;
1552
1564
  }
1565
+ .w-\[48px\] {
1566
+ width: 48px;
1567
+ }
1553
1568
  .w-\[564px\] {
1554
1569
  width: 564px;
1555
1570
  }
1556
1571
  .w-\[60\%\] {
1557
1572
  width: 60%;
1558
1573
  }
1574
+ .w-\[65px\] {
1575
+ width: 65px;
1576
+ }
1559
1577
  .w-\[68px\] {
1560
1578
  width: 68px;
1561
1579
  }
@@ -1599,6 +1617,10 @@ video {
1599
1617
  .w-screen {
1600
1618
  width: 100vw;
1601
1619
  }
1620
+ .\!min-w-fit {
1621
+ min-width: -moz-fit-content !important;
1622
+ min-width: fit-content !important;
1623
+ }
1602
1624
  .min-w-10 {
1603
1625
  min-width: 2.5rem;
1604
1626
  }
@@ -1727,6 +1749,9 @@ video {
1727
1749
  .caption-bottom {
1728
1750
  caption-side: bottom;
1729
1751
  }
1752
+ .border-collapse {
1753
+ border-collapse: collapse;
1754
+ }
1730
1755
  .-translate-x-1\/2 {
1731
1756
  --tw-translate-x: -50%;
1732
1757
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1739,6 +1764,10 @@ video {
1739
1764
  --tw-translate-x: 0px;
1740
1765
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1741
1766
  }
1767
+ .translate-x-1\.5 {
1768
+ --tw-translate-x: 0.375rem;
1769
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1770
+ }
1742
1771
  .translate-x-1\/2 {
1743
1772
  --tw-translate-x: 50%;
1744
1773
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1873,9 +1902,6 @@ video {
1873
1902
  .\!gap-1 {
1874
1903
  gap: 0.25rem !important;
1875
1904
  }
1876
- .\!gap-2 {
1877
- gap: 0.5rem !important;
1878
- }
1879
1905
  .gap-1 {
1880
1906
  gap: 0.25rem;
1881
1907
  }
@@ -1903,11 +1929,6 @@ video {
1903
1929
  .gap-8 {
1904
1930
  gap: 2rem;
1905
1931
  }
1906
- .\!space-x-0 > :not([hidden]) ~ :not([hidden]) {
1907
- --tw-space-x-reverse: 0 !important;
1908
- margin-right: calc(0px * var(--tw-space-x-reverse)) !important;
1909
- margin-left: calc(0px * calc(1 - var(--tw-space-x-reverse))) !important;
1910
- }
1911
1932
  .-space-x-1 > :not([hidden]) ~ :not([hidden]) {
1912
1933
  --tw-space-x-reverse: 0;
1913
1934
  margin-right: calc(-0.25rem * var(--tw-space-x-reverse));
@@ -1997,9 +2018,6 @@ video {
1997
2018
  .\!rounded {
1998
2019
  border-radius: 0.25rem !important;
1999
2020
  }
2000
- .\!rounded-\[8px\] {
2001
- border-radius: 8px !important;
2002
- }
2003
2021
  .\!rounded-lg {
2004
2022
  border-radius: var(--radius) !important;
2005
2023
  }
@@ -2048,6 +2066,10 @@ video {
2048
2066
  border-top-left-radius: var(--radius);
2049
2067
  border-bottom-left-radius: var(--radius);
2050
2068
  }
2069
+ .rounded-l-none {
2070
+ border-top-left-radius: 0px;
2071
+ border-bottom-left-radius: 0px;
2072
+ }
2051
2073
  .rounded-r-\[8px\] {
2052
2074
  border-top-right-radius: 8px;
2053
2075
  border-bottom-right-radius: 8px;
@@ -2056,6 +2078,14 @@ video {
2056
2078
  border-top-right-radius: var(--radius);
2057
2079
  border-bottom-right-radius: var(--radius);
2058
2080
  }
2081
+ .rounded-r-md {
2082
+ border-top-right-radius: calc(var(--radius) - 2px);
2083
+ border-bottom-right-radius: calc(var(--radius) - 2px);
2084
+ }
2085
+ .rounded-r-none {
2086
+ border-top-right-radius: 0px;
2087
+ border-bottom-right-radius: 0px;
2088
+ }
2059
2089
  .rounded-t-\[10px\] {
2060
2090
  border-top-left-radius: 10px;
2061
2091
  border-top-right-radius: 10px;
@@ -2142,9 +2172,6 @@ video {
2142
2172
  -o-object-fit: cover;
2143
2173
  object-fit: cover;
2144
2174
  }
2145
- .\!p-3 {
2146
- padding: 0.75rem !important;
2147
- }
2148
2175
  .p-0 {
2149
2176
  padding: 0px;
2150
2177
  }
@@ -2302,6 +2329,9 @@ video {
2302
2329
  .align-middle {
2303
2330
  vertical-align: middle;
2304
2331
  }
2332
+ .font-mono {
2333
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
2334
+ }
2305
2335
  .text-\[10px\] {
2306
2336
  font-size: 10px;
2307
2337
  }
@@ -2344,6 +2374,10 @@ video {
2344
2374
  .font-normal {
2345
2375
  font-weight: 400;
2346
2376
  }
2377
+ .tabular-nums {
2378
+ --tw-numeric-spacing: tabular-nums;
2379
+ font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
2380
+ }
2347
2381
  .leading-5 {
2348
2382
  line-height: 1.25rem;
2349
2383
  }
@@ -2378,6 +2412,9 @@ video {
2378
2412
  .underline {
2379
2413
  text-decoration-line: underline;
2380
2414
  }
2415
+ .caret-transparent {
2416
+ caret-color: transparent;
2417
+ }
2381
2418
  .opacity-0 {
2382
2419
  opacity: 0;
2383
2420
  }
@@ -2607,6 +2644,19 @@ textarea:is(:-webkit-autofill, :autofill) {
2607
2644
  margin: 0 0.5rem !important;
2608
2645
  }
2609
2646
 
2647
+ .toast-mini {
2648
+ padding: 12px !important;
2649
+ gap: 8px !important;
2650
+ width: -moz-fit-content !important;
2651
+ width: fit-content !important;
2652
+ border-radius: 8px !important;
2653
+ place-self: end !important;
2654
+ }
2655
+
2656
+ .toast-mini > * + * {
2657
+ margin-left: 0;
2658
+ }
2659
+
2610
2660
  .file\:text-body-sm::file-selector-button {
2611
2661
  font-family: system-ui;
2612
2662
  font-size: 14px;
@@ -2678,6 +2728,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2678
2728
  border-color: hsl(var(--color-border-hover));
2679
2729
  }
2680
2730
 
2731
+ .focus\:color-bg-brand:focus {
2732
+ background-color: hsl(var(--color-bg-brand));
2733
+ }
2734
+
2681
2735
  .focus-visible\:color-border-hover:focus-visible {
2682
2736
  border-color: hsl(var(--color-border-hover));
2683
2737
  }
@@ -2802,6 +2856,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2802
2856
  background-color: hsl(var(--color-bg-default-selected));
2803
2857
  }
2804
2858
 
2859
+ .aria-selected\:color-bg-secondary[aria-selected="true"] {
2860
+ background-color: hsl(var(--color-bg-secondary));
2861
+ }
2862
+
2805
2863
  .data-\[highlighted\]\:color-text-default[data-highlighted] {
2806
2864
  color: hsl(var(--color-text-default));
2807
2865
  }
@@ -2922,6 +2980,14 @@ textarea:is(:-webkit-autofill, :autofill) {
2922
2980
  border-width: 0px;
2923
2981
  }
2924
2982
 
2983
+ .focus-within\:relative:focus-within {
2984
+ position: relative;
2985
+ }
2986
+
2987
+ .focus-within\:z-20:focus-within {
2988
+ z-index: 20;
2989
+ }
2990
+
2925
2991
  .hover\:cursor-pointer:hover {
2926
2992
  cursor: pointer;
2927
2993
  }
@@ -3048,6 +3114,10 @@ textarea:is(:-webkit-autofill, :autofill) {
3048
3114
  opacity: 0.7;
3049
3115
  }
3050
3116
 
3117
+ .aria-selected\:opacity-100[aria-selected="true"] {
3118
+ opacity: 1;
3119
+ }
3120
+
3051
3121
  .data-\[disabled\]\:pointer-events-none[data-disabled] {
3052
3122
  pointer-events: none;
3053
3123
  }
@@ -3360,6 +3430,12 @@ textarea:is(:-webkit-autofill, :autofill) {
3360
3430
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
3361
3431
  }
3362
3432
 
3433
+ .sm\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
3434
+ --tw-space-y-reverse: 0;
3435
+ margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
3436
+ margin-bottom: calc(0px * var(--tw-space-y-reverse));
3437
+ }
3438
+
3363
3439
  .sm\:rounded-lg {
3364
3440
  border-radius: var(--radius);
3365
3441
  }
@@ -3494,6 +3570,35 @@ textarea:is(:-webkit-autofill, :autofill) {
3494
3570
  }
3495
3571
  }
3496
3572
 
3573
+ .\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button {
3574
+ -webkit-appearance: none;
3575
+ appearance: none;
3576
+ }
3577
+
3578
+ .\[\&\:has\(\>\.day-range-end\)\]\:rounded-r-md:has(>.day-range-end) {
3579
+ border-top-right-radius: calc(var(--radius) - 2px);
3580
+ border-bottom-right-radius: calc(var(--radius) - 2px);
3581
+ }
3582
+
3583
+ .\[\&\:has\(\>\.day-range-start\)\]\:rounded-l-md:has(>.day-range-start) {
3584
+ border-top-left-radius: calc(var(--radius) - 2px);
3585
+ border-bottom-left-radius: calc(var(--radius) - 2px);
3586
+ }
3587
+
3588
+ .\[\&\:has\(\[aria-selected\]\)\]\:rounded-md:has([aria-selected]) {
3589
+ border-radius: calc(var(--radius) - 2px);
3590
+ }
3591
+
3592
+ .first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child {
3593
+ border-top-left-radius: calc(var(--radius) - 2px);
3594
+ border-bottom-left-radius: calc(var(--radius) - 2px);
3595
+ }
3596
+
3597
+ .last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child {
3598
+ border-top-right-radius: calc(var(--radius) - 2px);
3599
+ border-bottom-right-radius: calc(var(--radius) - 2px);
3600
+ }
3601
+
3497
3602
  .\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) {
3498
3603
  padding-right: 0px;
3499
3604
  }
@@ -2,6 +2,7 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
2
  import { ClassProp } from 'class-variance-authority/types';
3
3
  import { ClassValue } from 'clsx';
4
4
  import { Command as Command_2 } from 'cmdk';
5
+ import { DayPicker } from 'react-day-picker';
5
6
  import { default as default_2 } from 'react';
6
7
  import * as DialogPrimitive from '@radix-ui/react-dialog';
7
8
  import { DialogProps } from '@radix-ui/react-dialog';
@@ -253,6 +254,13 @@ export declare interface CounterProps {
253
254
  count: number;
254
255
  }
255
256
 
257
+ export declare const DatePicker: {
258
+ ({ className, classNames, showOutsideDays, ...props }: DatePickerProps): JSX_2.Element;
259
+ displayName: string;
260
+ };
261
+
262
+ declare type DatePickerProps = React_2.ComponentProps<typeof DayPicker>;
263
+
256
264
  export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
257
265
 
258
266
  export declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
@@ -554,6 +562,17 @@ export declare interface LucideIconProps extends Omit<SvgProps_2, "name">, Varia
554
562
  strokeWidth?: number;
555
563
  }
556
564
 
565
+ declare type Period = "AM" | "PM";
566
+
567
+ declare interface PeriodSelectorProps {
568
+ period: Period;
569
+ setPeriod: (m: Period) => void;
570
+ date: Date | undefined;
571
+ setDate: (date: Date | undefined) => void;
572
+ onRightFocus?: () => void;
573
+ onLeftFocus?: () => void;
574
+ }
575
+
557
576
  export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
558
577
 
559
578
  export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -846,6 +865,36 @@ declare type ThemeProviderProps = {
846
865
 
847
866
  export declare const ThemeToggle: () => JSX_2.Element;
848
867
 
868
+ export declare const TimePeriodSelect: React_2.ForwardRefExoticComponent<PeriodSelectorProps & React_2.RefAttributes<HTMLButtonElement>>;
869
+
870
+ export declare const TimePicker: React_2.ForwardRefExoticComponent<TimePickerProps & React_2.RefAttributes<HTMLDivElement>>;
871
+
872
+ export declare const TimePickerInput: default_2.ForwardRefExoticComponent<TimePickerInputProps & default_2.RefAttributes<HTMLInputElement>>;
873
+
874
+ declare interface TimePickerInputProps extends default_2.InputHTMLAttributes<HTMLInputElement> {
875
+ picker: TimePickerType;
876
+ date: Date | undefined;
877
+ setDate: (date: Date | undefined) => void;
878
+ period?: Period;
879
+ onRightFocus?: () => void;
880
+ onLeftFocus?: () => void;
881
+ }
882
+
883
+ declare interface TimePickerProps extends React_2.HTMLAttributes<HTMLDivElement> {
884
+ /** The selected date */
885
+ date?: Date;
886
+ /** Callback function when date changes */
887
+ setDate: (date: Date | undefined) => void;
888
+ /** Display hours in 12 hour format with AM/PM selector */
889
+ use12Hours?: boolean;
890
+ /** Show seconds input */
891
+ showSeconds?: boolean;
892
+ /** Disable all inputs */
893
+ disabled?: boolean;
894
+ }
895
+
896
+ declare type TimePickerType = "minutes" | "seconds" | "hours" | "12hours";
897
+
849
898
  export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
850
899
  variant?: "default" | "danger" | "secondary" | "success" | "mini" | null | undefined;
851
900
  position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom" | null | undefined;
@@ -872,7 +921,7 @@ export declare const ToastClose: React_2.ForwardRefExoticComponent<Omit<ToastPri
872
921
 
873
922
  export declare const ToastDescription: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
874
923
 
875
- export declare const Toaster: ({ position, duration, customIcon, }: ToasterProps) => JSX_2.Element;
924
+ export declare const Toaster: ({ position, duration, }: ToasterProps) => JSX_2.Element;
876
925
 
877
926
  export declare interface ToasterProps {
878
927
  position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom";