@imfusion/web-ui 0.6.4-dev.37.g60acf81d → 0.6.4-dev.41.g750bc43a
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/components/logo/imfusion/imfusion.d.ts +2 -2
- package/dist/components/spinner/spinner.d.ts +13 -8
- package/dist/index.js +1175 -1241
- package/dist/style.css +1 -1
- package/package.json +3 -1
- package/src/assets/public/favicon/apple-touch-icon.png +0 -0
- package/src/assets/public/favicon/favicon-16.png +0 -0
- package/src/assets/public/favicon/favicon-32.png +0 -0
- package/src/assets/public/favicon/favicon.ico +0 -0
- package/src/assets/public/favicon/favicon.svg +7 -0
- package/src/assets/public/favicon/icon-192.png +0 -0
- package/src/assets/public/favicon/icon-512.png +0 -0
- package/src/assets/public/favicon/og-image.png +0 -0
- package/src/assets/public/spinner/imfusion-spinner-black.webp +0 -0
- package/src/assets/public/spinner/imfusion-spinner-blue.webp +0 -0
- package/src/assets/public/spinner/imfusion-spinner-white.webp +0 -0
- package/src/docgen/doc.gen.json +8 -1
- package/dist/components/spinner/spinner.geometry.d.ts +0 -37
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Logo } from '../logo';
|
|
2
2
|
type Props = Omit<React.ComponentProps<typeof Logo>, "src" | "alt"> & {
|
|
3
|
-
/** Render the compact glyph instead of the full
|
|
3
|
+
/** Render the compact glyph instead of the full lockup. */
|
|
4
4
|
glyph?: boolean;
|
|
5
5
|
/** Override the accessible label. Defaults to "ImFusion". */
|
|
6
6
|
alt?: string;
|
|
@@ -10,7 +10,7 @@ type Props = Omit<React.ComponentProps<typeof Logo>, "src" | "alt"> & {
|
|
|
10
10
|
* ImFusion marks and the brand variant. The single branded entry point and the
|
|
11
11
|
* only export from this module; external consumers compose `<Logo src={…} />`
|
|
12
12
|
* with their own asset. Pass `glyph` for the compact mark; the default is the
|
|
13
|
-
*
|
|
13
|
+
* Standard lockup.
|
|
14
14
|
*/
|
|
15
15
|
export declare function ImFusionLogo({ glyph, alt, variant, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
declare const sources: {
|
|
3
|
+
blue: string;
|
|
4
|
+
white: string;
|
|
5
|
+
black: string;
|
|
6
|
+
};
|
|
2
7
|
declare const spinner: (props?: ({
|
|
3
8
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
10
|
type Props = Omit<React.HTMLAttributes<HTMLSpanElement>, "role"> & VariantProps<typeof spinner> & {
|
|
6
11
|
/** Accessible label announced by assistive tech. */
|
|
7
12
|
label?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Which colour of the mark to show. The animation is a pre-rendered image, so
|
|
15
|
+
* the colour is baked in and does not follow `currentColor` or the scheme —
|
|
16
|
+
* pick `white` on saturated or dark grounds.
|
|
17
|
+
*/
|
|
18
|
+
variant?: keyof typeof sources;
|
|
8
19
|
};
|
|
9
20
|
/**
|
|
10
|
-
* Loading indicator
|
|
11
|
-
* and an empty diagonal channel that continuously rotates, breathes, and sways.
|
|
12
|
-
*
|
|
13
|
-
* The motion is a live per-frame morph of the two paths (the channel geometry is
|
|
14
|
-
* recomputed each frame in {@link frameGeometry}), driven by a single
|
|
15
|
-
* `requestAnimationFrame` loop that rewrites the two `d` attributes directly —
|
|
16
|
-
* no React re-render per frame. The loop pauses while the tab is hidden.
|
|
21
|
+
* Loading indicator — the ImFusion glyph animation, played as a looping image.
|
|
17
22
|
*/
|
|
18
|
-
export declare function Spinner({ size, label, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function Spinner({ size, variant, label, ...props }: Props): import("react/jsx-runtime").JSX.Element;
|
|
19
24
|
export {};
|