@fileverse/ui 4.1.6-patch-7 → 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,6 +1457,9 @@ 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
  }
@@ -1546,12 +1562,18 @@ video {
1546
1562
  .w-\[400px\] {
1547
1563
  width: 400px;
1548
1564
  }
1565
+ .w-\[48px\] {
1566
+ width: 48px;
1567
+ }
1549
1568
  .w-\[564px\] {
1550
1569
  width: 564px;
1551
1570
  }
1552
1571
  .w-\[60\%\] {
1553
1572
  width: 60%;
1554
1573
  }
1574
+ .w-\[65px\] {
1575
+ width: 65px;
1576
+ }
1555
1577
  .w-\[68px\] {
1556
1578
  width: 68px;
1557
1579
  }
@@ -1595,6 +1617,10 @@ video {
1595
1617
  .w-screen {
1596
1618
  width: 100vw;
1597
1619
  }
1620
+ .\!min-w-fit {
1621
+ min-width: -moz-fit-content !important;
1622
+ min-width: fit-content !important;
1623
+ }
1598
1624
  .min-w-10 {
1599
1625
  min-width: 2.5rem;
1600
1626
  }
@@ -1723,6 +1749,9 @@ video {
1723
1749
  .caption-bottom {
1724
1750
  caption-side: bottom;
1725
1751
  }
1752
+ .border-collapse {
1753
+ border-collapse: collapse;
1754
+ }
1726
1755
  .-translate-x-1\/2 {
1727
1756
  --tw-translate-x: -50%;
1728
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));
@@ -1735,6 +1764,10 @@ video {
1735
1764
  --tw-translate-x: 0px;
1736
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));
1737
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
+ }
1738
1771
  .translate-x-1\/2 {
1739
1772
  --tw-translate-x: 50%;
1740
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));
@@ -2033,6 +2066,10 @@ video {
2033
2066
  border-top-left-radius: var(--radius);
2034
2067
  border-bottom-left-radius: var(--radius);
2035
2068
  }
2069
+ .rounded-l-none {
2070
+ border-top-left-radius: 0px;
2071
+ border-bottom-left-radius: 0px;
2072
+ }
2036
2073
  .rounded-r-\[8px\] {
2037
2074
  border-top-right-radius: 8px;
2038
2075
  border-bottom-right-radius: 8px;
@@ -2041,6 +2078,14 @@ video {
2041
2078
  border-top-right-radius: var(--radius);
2042
2079
  border-bottom-right-radius: var(--radius);
2043
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
+ }
2044
2089
  .rounded-t-\[10px\] {
2045
2090
  border-top-left-radius: 10px;
2046
2091
  border-top-right-radius: 10px;
@@ -2284,6 +2329,9 @@ video {
2284
2329
  .align-middle {
2285
2330
  vertical-align: middle;
2286
2331
  }
2332
+ .font-mono {
2333
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
2334
+ }
2287
2335
  .text-\[10px\] {
2288
2336
  font-size: 10px;
2289
2337
  }
@@ -2326,6 +2374,10 @@ video {
2326
2374
  .font-normal {
2327
2375
  font-weight: 400;
2328
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
+ }
2329
2381
  .leading-5 {
2330
2382
  line-height: 1.25rem;
2331
2383
  }
@@ -2360,6 +2412,9 @@ video {
2360
2412
  .underline {
2361
2413
  text-decoration-line: underline;
2362
2414
  }
2415
+ .caret-transparent {
2416
+ caret-color: transparent;
2417
+ }
2363
2418
  .opacity-0 {
2364
2419
  opacity: 0;
2365
2420
  }
@@ -2673,6 +2728,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2673
2728
  border-color: hsl(var(--color-border-hover));
2674
2729
  }
2675
2730
 
2731
+ .focus\:color-bg-brand:focus {
2732
+ background-color: hsl(var(--color-bg-brand));
2733
+ }
2734
+
2676
2735
  .focus-visible\:color-border-hover:focus-visible {
2677
2736
  border-color: hsl(var(--color-border-hover));
2678
2737
  }
@@ -2797,6 +2856,10 @@ textarea:is(:-webkit-autofill, :autofill) {
2797
2856
  background-color: hsl(var(--color-bg-default-selected));
2798
2857
  }
2799
2858
 
2859
+ .aria-selected\:color-bg-secondary[aria-selected="true"] {
2860
+ background-color: hsl(var(--color-bg-secondary));
2861
+ }
2862
+
2800
2863
  .data-\[highlighted\]\:color-text-default[data-highlighted] {
2801
2864
  color: hsl(var(--color-text-default));
2802
2865
  }
@@ -2917,6 +2980,14 @@ textarea:is(:-webkit-autofill, :autofill) {
2917
2980
  border-width: 0px;
2918
2981
  }
2919
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
+
2920
2991
  .hover\:cursor-pointer:hover {
2921
2992
  cursor: pointer;
2922
2993
  }
@@ -3043,6 +3114,10 @@ textarea:is(:-webkit-autofill, :autofill) {
3043
3114
  opacity: 0.7;
3044
3115
  }
3045
3116
 
3117
+ .aria-selected\:opacity-100[aria-selected="true"] {
3118
+ opacity: 1;
3119
+ }
3120
+
3046
3121
  .data-\[disabled\]\:pointer-events-none[data-disabled] {
3047
3122
  pointer-events: none;
3048
3123
  }
@@ -3355,6 +3430,12 @@ textarea:is(:-webkit-autofill, :autofill) {
3355
3430
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
3356
3431
  }
3357
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
+
3358
3439
  .sm\:rounded-lg {
3359
3440
  border-radius: var(--radius);
3360
3441
  }
@@ -3489,6 +3570,35 @@ textarea:is(:-webkit-autofill, :autofill) {
3489
3570
  }
3490
3571
  }
3491
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
+
3492
3602
  .\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) {
3493
3603
  padding-right: 0px;
3494
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;