@burdenoff/microfe-planmagnet 2026.715.3 → 2026.716.1

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,8 @@
1
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
2
+
3
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
+ children: ReactNode;
5
+ variant?: 'primary' | 'secondary';
6
+ }
7
+ export declare function Button({ children, variant, className, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACnC;AAED,wBAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,OAAmB,EAAE,SAAc,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,2CAa7F"}
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Button } from './Button';
3
+
4
+ declare const meta: Meta<typeof Button>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const Primary: Story;
8
+ export declare const Secondary: Story;
9
+ export declare const WithIcon: Story;
10
+ //# sourceMappingURL=Button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../src/components/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAM7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-planmagnet",
3
- "version": "2026.715.3",
3
+ "version": "2026.716.1",
4
4
  "description": "Burdenoff PlanMagnet Microfrontend",
5
5
  "type": "module",
6
6
  "files": [
@@ -26,10 +26,13 @@
26
26
  "lint": "eslint .",
27
27
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
28
28
  "type:check": "tsc --noEmit",
29
- "sanity": "bun run codegen && bun run lint && bun run format && bun run type:check && bun run build",
29
+ "sanity": "bun run codegen && bun run lint && bun run format && bun run type:check && bun run build && bun run build-storybook",
30
30
  "schema:pull": "graphql-codegen --project schema-wspace && graphql-codegen --project schema-global",
31
31
  "codegen": "graphql-codegen --project wspace && graphql-codegen --project global",
32
32
  "codegen:all": "bun run schema:pull && bun run codegen",
33
+ "storybook": "storybook dev -p 6006",
34
+ "build-storybook": "storybook build",
35
+ "test:storybook": "test-storybook",
33
36
  "switch:status": "bun scripts/deps-mode.ts status",
34
37
  "switch:remote": "bun scripts/deps-mode.ts remote",
35
38
  "switch:local": "bun scripts/deps-mode.ts local",
@@ -61,6 +64,13 @@
61
64
  "@graphql-codegen/typescript": "^4.0.0",
62
65
  "@graphql-codegen/typescript-operations": "^4.0.0",
63
66
  "@graphql-codegen/typescript-react-apollo": "^4.0.0",
67
+ "@storybook/addon-essentials": "^8.6.0",
68
+ "@storybook/addon-interactions": "^8.6.0",
69
+ "@storybook/react": "^8.6.0",
70
+ "@storybook/react-vite": "^8.6.0",
71
+ "@storybook/test": "^8.6.0",
72
+ "@storybook/test-runner": "0.22.0",
73
+ "@tailwindcss/vite": "^4.3.2",
64
74
  "@types/react": "^19.0.2",
65
75
  "@types/react-dom": "^19.0.2",
66
76
  "@vitejs/plugin-react": "^4.3.4",
@@ -70,8 +80,10 @@
70
80
  "eslint-plugin-react-hooks": "^7.0.1",
71
81
  "eslint-plugin-react-refresh": "^0.4.26",
72
82
  "lefthook": "^2.1.1",
83
+ "playwright": "1.50.1",
73
84
  "postcss": "^8.4.49",
74
85
  "prettier": "^3.4.2",
86
+ "storybook": "^8.6.0",
75
87
  "tailwindcss": "^4.0.0",
76
88
  "typescript": "^5.9.0",
77
89
  "typescript-eslint": "^8.54.0",