@payfit/unity-icons 2.55.3 → 2.55.5

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.
@@ -0,0 +1,3 @@
1
+ import { Decorator } from '@storybook/react-vite';
2
+ export declare const UnityIconsDecorator: Decorator;
3
+ export declare const unityIconsPreviewAddon: () => import('storybook/internal/csf').PreviewAddon<import('storybook/internal/csf').AddonTypes>;
@@ -0,0 +1,7 @@
1
+ import { UnityIconsProvider as e } from "../components/icons-provider/UnityIconsProvider.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { definePreviewAddon as n } from "storybook/internal/csf";
4
+ //#region src/storybook/decorators.tsx
5
+ var r = (n) => /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t(n, {}) }), i = () => n({ decorators: [r] });
6
+ //#endregion
7
+ export { r as UnityIconsDecorator, i as unityIconsPreviewAddon };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/unity-icons",
3
- "version": "2.55.3",
3
+ "version": "2.55.5",
4
4
  "module": "./dist/esm/index.js",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -20,6 +20,18 @@
20
20
  "default": "./dist/esm/index.js"
21
21
  }
22
22
  },
23
+ "./storybook/decorators": {
24
+ "import": {
25
+ "hrAppsLocalDev": "./src/storybook/decorators.tsx",
26
+ "types": "./dist/esm/storybook/decorators.d.ts",
27
+ "default": "./dist/esm/storybook/decorators.js"
28
+ },
29
+ "module-sync": {
30
+ "types": "./dist/esm/storybook/decorators.d.ts",
31
+ "hrAppsLocalDev": "./dist/esm/storybook/decorators.js",
32
+ "default": "./dist/esm/storybook/decorators.js"
33
+ }
34
+ },
23
35
  "./package.json": "./package.json"
24
36
  },
25
37
  "files": [
@@ -28,7 +40,9 @@
28
40
  ],
29
41
  "peerDependencies": {
30
42
  "react": "^18",
31
- "react-dom": "^18"
43
+ "react-dom": "^18",
44
+ "@storybook/react-vite": "^10",
45
+ "storybook": "^10"
32
46
  },
33
47
  "devDependencies": {
34
48
  "@figma/code-connect": "1.4.8",
@@ -59,14 +73,22 @@
59
73
  "@payfit/figma-tools": "0.0.0-use.local",
60
74
  "@payfit/hr-app-eslint": "0.0.0-use.local",
61
75
  "@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
76
+ "@payfit/unity-themes": "2.55.5",
62
77
  "@payfit/storybook-config": "0.0.0-use.local",
63
- "@payfit/unity-themes": "2.55.3",
64
78
  "@payfit/vite-configs": "0.0.0-use.local"
65
79
  },
66
80
  "dependencies": {
67
81
  "react": "18.3.1",
68
82
  "react-dom": "18.3.1",
69
- "@payfit/unity-themes": "2.55.3"
83
+ "@payfit/unity-themes": "2.55.5"
84
+ },
85
+ "peerDependenciesMeta": {
86
+ "storybook": {
87
+ "optional": true
88
+ },
89
+ "@storybook/react-vite": {
90
+ "optional": true
91
+ }
70
92
  },
71
93
  "keywords": [
72
94
  "tanstack-intent"