@fileverse/ui 5.1.10 → 5.2.0

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
@@ -2019,6 +2019,9 @@ video {
2019
2019
  .min-w-\[129px\] {
2020
2020
  min-width: 129px;
2021
2021
  }
2022
+ .min-w-\[12rem\] {
2023
+ min-width: 12rem;
2024
+ }
2022
2025
  .min-w-\[145px\] {
2023
2026
  min-width: 145px;
2024
2027
  }
@@ -2560,6 +2563,9 @@ video {
2560
2563
  .\!bg-transparent {
2561
2564
  background-color: transparent !important;
2562
2565
  }
2566
+ .bg-\[hsl\(var\(--color-border-default\)\)\] {
2567
+ background-color: hsl(var(--color-border-default));
2568
+ }
2563
2569
  .bg-black\/5 {
2564
2570
  background-color: rgb(0 0 0 / 0.05);
2565
2571
  }
@@ -3837,6 +3843,12 @@ textarea:is(:-webkit-autofill, :autofill) {
3837
3843
  .data-\[highlighted\]\:hover\:\!outline-transparent:hover[data-highlighted] {
3838
3844
  outline-color: transparent !important;
3839
3845
  }
3846
+ .data-\[highlighted\]\:focus-visible\:outline:focus-visible[data-highlighted] {
3847
+ outline-style: solid;
3848
+ }
3849
+ .data-\[highlighted\]\:focus-visible\:outline-2:focus-visible[data-highlighted] {
3850
+ outline-width: 2px;
3851
+ }
3840
3852
  .data-\[highlighted\]\:focus-visible\:outline-\[hsl\(var\(--color-border-focused\)\)\]:focus-visible[data-highlighted] {
3841
3853
  outline-color: hsl(var(--color-border-focused));
3842
3854
  }
@@ -17,12 +17,14 @@ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
17
17
  import { InputHTMLAttributes } from 'react';
18
18
  import { JSX as JSX_2 } from 'react/jsx-runtime';
19
19
  import * as LabelPrimitive from '@radix-ui/react-label';
20
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
20
21
  import * as PopoverPrimitive from '@radix-ui/react-popover';
21
22
  import { Portal } from 'vaul';
22
23
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
23
24
  import * as React_2 from 'react';
24
25
  import { ReactNode } from 'react';
25
26
  import { RefAttributes } from 'react';
27
+ import { Scope } from '@radix-ui/react-context';
26
28
  import * as SelectPrimitive from '@radix-ui/react-select';
27
29
  import { SetStateAction } from 'react';
28
30
  import * as SwitchPrimitives from '@radix-ui/react-switch';
@@ -765,6 +767,63 @@ export declare interface LucideIconProps extends Omit<SvgProps, "name">, Variant
765
767
  strokeWidth?: number;
766
768
  }
767
769
 
770
+ /**
771
+ * `Menubar` — a horizontal, Google-Docs-style menu bar. Built on Radix UI's
772
+ * Menubar primitive and styled with the Fileverse design system.
773
+ *
774
+ * Composition-first: same part structure as `DropdownMenu`, plus a
775
+ * `MenubarMenu` wrapper per top-level menu.
776
+ *
777
+ * @see Radix primitive — https://www.radix-ui.com/primitives/docs/components/menubar
778
+ */
779
+ export declare const Menubar: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
780
+
781
+ export declare const MenubarCheckboxItem: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
782
+
783
+ export declare const MenubarContent: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
784
+
785
+ export declare const MenubarGroup: React_2.ForwardRefExoticComponent<MenubarPrimitive.MenubarGroupProps & React_2.RefAttributes<HTMLDivElement>>;
786
+
787
+ export declare const MenubarItem: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
788
+ inset?: boolean;
789
+ } & React_2.RefAttributes<HTMLDivElement>>;
790
+
791
+ export declare const MenubarLabel: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
792
+ inset?: boolean;
793
+ } & React_2.RefAttributes<HTMLDivElement>>;
794
+
795
+ /** One top-level menu (trigger + content). Direct child of {@link Menubar}. */
796
+ export declare const MenubarMenu: {
797
+ (props: MenubarPrimitive.MenubarMenuProps & {
798
+ __scopeMenubar?: Scope;
799
+ }): JSX_2.Element;
800
+ displayName: string;
801
+ };
802
+
803
+ export declare const MenubarPortal: React_2.FC<MenubarPrimitive.MenubarPortalProps>;
804
+
805
+ export declare const MenubarRadioGroup: React_2.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
806
+
807
+ export declare const MenubarRadioItem: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
808
+
809
+ export declare const MenubarSeparator: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
810
+
811
+ export declare const MenubarShortcut: {
812
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
813
+ displayName: string;
814
+ };
815
+
816
+ export declare const MenubarSub: React_2.FC<MenubarPrimitive.MenubarSubProps>;
817
+
818
+ export declare const MenubarSubContent: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
819
+
820
+ export declare const MenubarSubTrigger: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
821
+ inset?: boolean;
822
+ } & React_2.RefAttributes<HTMLDivElement>>;
823
+
824
+ /** Top-level menu button ("File", "Edit", …). Highlights while its menu is open. */
825
+ export declare const MenubarTrigger: React_2.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
826
+
768
827
  declare type Period = "AM" | "PM";
769
828
 
770
829
  declare interface PeriodSelectorProps {