@payfit/unity-icons 3.2.1 → 3.2.2
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.
|
@@ -258,5 +258,5 @@ export type IconProps = VariantProps<typeof icon> & Pick<HTMLAttributes<HTMLSpan
|
|
|
258
258
|
/**
|
|
259
259
|
* The `Icon` component displays an icon from the Unity icon set.
|
|
260
260
|
*/
|
|
261
|
-
export declare function Icon({ alt, color, size, src, role, display, ...rest }: IconProps): import(
|
|
261
|
+
export declare function Icon({ alt, color, size, src, role, display, ...rest }: IconProps): import('react/jsx-runtime').JSX.Element;
|
|
262
262
|
export {};
|
|
@@ -7,7 +7,7 @@ type IconSpriteProps = SVGProps<SVGSVGElement> & {
|
|
|
7
7
|
/**
|
|
8
8
|
* Renders an individual icon from Unity's icon library using an SVG sprite.
|
|
9
9
|
*/
|
|
10
|
-
export declare function IconSprite({ src, ...rest }: IconSpriteProps): import(
|
|
10
|
+
export declare function IconSprite({ src, ...rest }: IconSpriteProps): import('react/jsx-runtime').JSX.Element | null;
|
|
11
11
|
export declare namespace IconSprite {
|
|
12
12
|
var displayName: string;
|
|
13
13
|
}
|
|
@@ -15,7 +15,7 @@ interface UnityIconsProviderProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* The `UnityIconsProvider` component is a context provider that ensures the Unity icon sprite sheet is loaded before rendering any icons, and exactly once for the current tree.
|
|
17
17
|
*/
|
|
18
|
-
export declare function UnityIconsProvider({ children, onError, fallback, }: UnityIconsProviderProps): import(
|
|
18
|
+
export declare function UnityIconsProvider({ children, onError, fallback, }: UnityIconsProviderProps): import('react/jsx-runtime').JSX.Element;
|
|
19
19
|
export declare namespace UnityIconsProvider {
|
|
20
20
|
var displayName: string;
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-icons",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"module": "./dist/esm/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
|
|
62
62
|
"@payfit/storybook-addon-datadog-rum": "0.0.0-use.local",
|
|
63
63
|
"@payfit/storybook-config": "0.0.0-use.local",
|
|
64
|
-
"@payfit/unity-themes": "3.2.
|
|
64
|
+
"@payfit/unity-themes": "3.2.2",
|
|
65
65
|
"@payfit/vite-configs": "0.0.0-use.local",
|
|
66
66
|
"@storybook/addon-a11y": "10.6.0",
|
|
67
67
|
"@storybook/addon-docs": "10.6.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"vitest": "4.1.11"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@payfit/unity-themes": "3.2.
|
|
88
|
+
"@payfit/unity-themes": "3.2.2",
|
|
89
89
|
"react": "18.3.1",
|
|
90
90
|
"react-dom": "18.3.1"
|
|
91
91
|
},
|