@burdenoff/microfe-labsofscience 2026.714.2 → 2026.717.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.
- package/dist/stories/EmptyState.stories.d.ts +10 -0
- package/dist/stories/EmptyState.stories.d.ts.map +1 -0
- package/dist/stories/MetricsCard.stories.d.ts +10 -0
- package/dist/stories/MetricsCard.stories.d.ts.map +1 -0
- package/dist/stories/StatusBadge.stories.d.ts +12 -0
- package/dist/stories/StatusBadge.stories.d.ts.map +1 -0
- package/dist/test/setup.d.ts +2 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/package.json +21 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { EmptyState } from '../labsofscience/components/EmptyState';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof EmptyState>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const IconOnly: Story;
|
|
8
|
+
export declare const WithAction: Story;
|
|
9
|
+
export declare const Illustrated: Story;
|
|
10
|
+
//# sourceMappingURL=EmptyState.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.stories.d.ts","sourceRoot":"","sources":["../../src/stories/EmptyState.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAEpE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAMjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAexB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { MetricsCard } from '../labsofscience/components/MetricsCard';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof MetricsCard>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const WithTrend: Story;
|
|
9
|
+
export declare const Featured: Story;
|
|
10
|
+
//# sourceMappingURL=MetricsCard.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetricsCard.stories.d.ts","sourceRoot":"","sources":["../../src/stories/MetricsCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAMlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { StatusBadge } from '../labsofscience/components/StatusBadge';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof StatusBadge>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof meta>;
|
|
7
|
+
export declare const Running: Story;
|
|
8
|
+
export declare const Completed: Story;
|
|
9
|
+
export declare const OnHold: Story;
|
|
10
|
+
export declare const InStock: Story;
|
|
11
|
+
export declare const Maintenance: Story;
|
|
12
|
+
//# sourceMappingURL=StatusBadge.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.stories.d.ts","sourceRoot":"","sources":["../../src/stories/StatusBadge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAYlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/test/setup.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-labsofscience",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.717.1",
|
|
4
4
|
"description": "Burdenoff LabsOfScience Microfrontend",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -34,7 +34,13 @@
|
|
|
34
34
|
"lint:sanity": "if [ \"${CI:-}\" = \"true\" ]; then bun run lint; else bun run lint -- --cache --cache-location .eslintcache; fi",
|
|
35
35
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
36
36
|
"type:check": "tsc --noEmit",
|
|
37
|
-
"
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:watch": "vitest",
|
|
39
|
+
"test:coverage": "vitest run --coverage",
|
|
40
|
+
"sanity": "bun run codegen && bun run lint:sanity && bun run format && bun run type:check && bun run test && bun run build && bun run build-storybook",
|
|
41
|
+
"storybook": "storybook dev -p 6006",
|
|
42
|
+
"build-storybook": "storybook build",
|
|
43
|
+
"test:storybook": "test-storybook",
|
|
38
44
|
"switch:status": "bun scripts/deps-mode.ts status",
|
|
39
45
|
"switch:remote": "bun scripts/deps-mode.ts remote",
|
|
40
46
|
"switch:local": "bun scripts/deps-mode.ts local",
|
|
@@ -64,21 +70,33 @@
|
|
|
64
70
|
"@graphql-codegen/typescript": "^4.0.0",
|
|
65
71
|
"@graphql-codegen/typescript-operations": "^4.0.0",
|
|
66
72
|
"@graphql-codegen/typescript-react-apollo": "^4.0.0",
|
|
73
|
+
"@storybook/addon-essentials": "^8.6.0",
|
|
74
|
+
"@storybook/addon-interactions": "^8.6.0",
|
|
75
|
+
"@storybook/react": "^8.6.0",
|
|
76
|
+
"@storybook/react-vite": "^8.6.0",
|
|
77
|
+
"@storybook/test": "^8.6.0",
|
|
78
|
+
"@storybook/test-runner": "0.22.0",
|
|
79
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
80
|
+
"@testing-library/react": "^16.1.0",
|
|
67
81
|
"@types/react": "^19.0.2",
|
|
68
82
|
"@types/react-dom": "^19.0.2",
|
|
69
83
|
"@vitejs/plugin-react": "^4.3.4",
|
|
84
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
70
85
|
"autoprefixer": "^10.4.20",
|
|
71
86
|
"eslint": "^9.18.0",
|
|
72
87
|
"eslint-plugin-react": "^7.37.5",
|
|
73
88
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
89
|
+
"jsdom": "^26.1.0",
|
|
74
90
|
"lefthook": "^2.1.1",
|
|
75
91
|
"postcss": "^8.4.49",
|
|
76
92
|
"prettier": "^3.4.2",
|
|
93
|
+
"storybook": "^8.6.0",
|
|
77
94
|
"tailwindcss": "^4.0.0",
|
|
78
95
|
"typescript": "^5.9.0",
|
|
79
96
|
"typescript-eslint": "^8.46.0",
|
|
80
97
|
"vite": "8.0.8",
|
|
81
|
-
"vite-plugin-dts": "3.9.1"
|
|
98
|
+
"vite-plugin-dts": "3.9.1",
|
|
99
|
+
"vitest": "3.2.4"
|
|
82
100
|
},
|
|
83
101
|
"peerDependencies": {
|
|
84
102
|
"@apollo/client": "^4.0.11",
|