@fileverse/ui 5.4.1 → 5.4.3
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/README.md +2 -0
- package/dist/index.es.d.ts +3 -6
- package/dist/index.es.js +14936 -14172
- package/package.json +25 -17
package/README.md
CHANGED
|
@@ -48,6 +48,8 @@ The `content` entry for `node_modules/@fileverse/ui/dist/**/*.{js,mjs}` is requi
|
|
|
48
48
|
|
|
49
49
|
That literal `node_modules` path assumes a hoisted install; under pnpm, Yarn PnP, or a monorepo workspace it won't resolve, so point `content` at the package's actual install location instead.
|
|
50
50
|
|
|
51
|
+
The preset loads `tailwindcss`, `postcss`, and `postcss-js` from your project; they are optional peer dependencies, and a Tailwind 3.4 install already provides all three. Under a strict resolver (Yarn PnP, pnpm with hoisting off) add `postcss` and `postcss-js` to your own devDependencies.
|
|
52
|
+
|
|
51
53
|
### Legacy bundle (deprecated)
|
|
52
54
|
|
|
53
55
|
`import '@fileverse/ui/styles'` still works and ships a full Tailwind build (preflight and utilities included). It is deprecated: it duplicates your own Tailwind output and its classes are purged against the ui's source, not yours. Migrate to the setup above.
|
package/dist/index.es.d.ts
CHANGED
|
@@ -863,12 +863,9 @@ export declare const MenubarLabel: React_2.ForwardRefExoticComponent<Omit<Menuba
|
|
|
863
863
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
864
864
|
|
|
865
865
|
/** One top-level menu (trigger + content). Direct child of {@link Menubar}. */
|
|
866
|
-
export declare const MenubarMenu: {
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
}): JSX_2.Element;
|
|
870
|
-
displayName: string;
|
|
871
|
-
};
|
|
866
|
+
export declare const MenubarMenu: (props: MenubarPrimitive.MenubarMenuProps & {
|
|
867
|
+
__scopeMenubar?: Scope;
|
|
868
|
+
}) => JSX_2.Element;
|
|
872
869
|
|
|
873
870
|
export declare const MenubarPortal: React_2.FC<MenubarPrimitive.MenubarPortalProps>;
|
|
874
871
|
|