@path58/ui 2.2.0 → 2.6.0
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/atoms/Layout/Layout.d.ts +47 -0
- package/dist/atoms/Layout/Layout.d.ts.map +1 -0
- package/dist/atoms/Layout/index.d.ts +3 -0
- package/dist/atoms/Layout/index.d.ts.map +1 -0
- package/dist/atoms/index.d.ts +1 -0
- package/dist/atoms/index.d.ts.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1933 -1229
- package/dist/organisms/ToolAuthGate/ToolAuthGate.d.ts +47 -0
- package/dist/organisms/ToolAuthGate/ToolAuthGate.d.ts.map +1 -0
- package/dist/organisms/ToolAuthGate/index.d.ts +3 -0
- package/dist/organisms/ToolAuthGate/index.d.ts.map +1 -0
- package/dist/organisms/ToolFooter/ToolFooter.d.ts +21 -0
- package/dist/organisms/ToolFooter/ToolFooter.d.ts.map +1 -0
- package/dist/organisms/ToolFooter/index.d.ts +3 -0
- package/dist/organisms/ToolFooter/index.d.ts.map +1 -0
- package/dist/organisms/ToolTopbar/ToolTopbar.d.ts +27 -0
- package/dist/organisms/ToolTopbar/ToolTopbar.d.ts.map +1 -0
- package/dist/organisms/ToolTopbar/index.d.ts +3 -0
- package/dist/organisms/ToolTopbar/index.d.ts.map +1 -0
- package/dist/organisms/index.d.ts +4 -0
- package/dist/organisms/index.d.ts.map +1 -1
- package/dist/organisms/inputs/MoneyInput.d.ts +34 -0
- package/dist/organisms/inputs/MoneyInput.d.ts.map +1 -0
- package/dist/organisms/inputs/NumberInput.d.ts +36 -0
- package/dist/organisms/inputs/NumberInput.d.ts.map +1 -0
- package/dist/organisms/inputs/PercentInput.d.ts +36 -0
- package/dist/organisms/inputs/PercentInput.d.ts.map +1 -0
- package/dist/organisms/inputs/TextInput.d.ts +31 -0
- package/dist/organisms/inputs/TextInput.d.ts.map +1 -0
- package/dist/organisms/inputs/index.d.ts +18 -0
- package/dist/organisms/inputs/index.d.ts.map +1 -0
- package/dist/organisms/inputs/useBlurOnEnterEscapeClickOut.d.ts +29 -0
- package/dist/organisms/inputs/useBlurOnEnterEscapeClickOut.d.ts.map +1 -0
- package/dist/organisms/inputs/useNumericInputState.d.ts +23 -0
- package/dist/organisms/inputs/useNumericInputState.d.ts.map +1 -0
- package/dist/primitives/P58Button.d.ts.map +1 -1
- package/dist/primitives/P58Card.d.ts.map +1 -1
- package/dist/primitives/P58Eyebrow.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +12 -16
- package/dist/atoms/Alert/Alert.stories.d.ts +0 -12
- package/dist/atoms/Alert/Alert.stories.d.ts.map +0 -1
- package/dist/atoms/Banner/Banner.stories.d.ts +0 -11
- package/dist/atoms/Banner/Banner.stories.d.ts.map +0 -1
- package/dist/atoms/Toast/Toast.stories.d.ts +0 -10
- package/dist/atoms/Toast/Toast.stories.d.ts.map +0 -1
- package/dist/molecules/ConfirmDialog/ConfirmDialog.stories.d.ts +0 -9
- package/dist/molecules/ConfirmDialog/ConfirmDialog.stories.d.ts.map +0 -1
- package/dist/molecules/Modal/Modal.stories.d.ts +0 -11
- package/dist/molecules/Modal/Modal.stories.d.ts.map +0 -1
- package/dist/molecules/PromptDialog/PromptDialog.stories.d.ts +0 -10
- package/dist/molecules/PromptDialog/PromptDialog.stories.d.ts.map +0 -1
- package/dist/primitives/Dialog/Dialog.stories.d.ts +0 -9
- package/dist/primitives/Dialog/Dialog.stories.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@path58/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Path58 UI — React component library (atoms, molecules, organisms, primitives). Consumes @path58/tokens at runtime via CSS variables.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -23,10 +23,6 @@
|
|
|
23
23
|
"./organisms": {
|
|
24
24
|
"import": "./dist/organisms/index.js",
|
|
25
25
|
"types": "./dist/organisms/index.d.ts"
|
|
26
|
-
},
|
|
27
|
-
"./primitives": {
|
|
28
|
-
"import": "./dist/primitives/index.js",
|
|
29
|
-
"types": "./dist/primitives/index.d.ts"
|
|
30
26
|
}
|
|
31
27
|
},
|
|
32
28
|
"files": [
|
|
@@ -38,22 +34,22 @@
|
|
|
38
34
|
"react-dom": "^18.2.0"
|
|
39
35
|
},
|
|
40
36
|
"dependencies": {
|
|
41
|
-
"focus-trap-react": "^
|
|
37
|
+
"focus-trap-react": "^12.0.2",
|
|
42
38
|
"lucide-react": "^0.294.0",
|
|
43
39
|
"react-icons": "^5.5.0",
|
|
44
|
-
"@path58/tokens": "^1.
|
|
40
|
+
"@path58/tokens": "^1.1.0"
|
|
45
41
|
},
|
|
46
42
|
"devDependencies": {
|
|
47
|
-
"@storybook/addon-a11y": "
|
|
48
|
-
"@storybook/addon-essentials": "
|
|
49
|
-
"@storybook/addon-interactions": "
|
|
50
|
-
"@storybook/
|
|
51
|
-
"@storybook/react": "
|
|
52
|
-
"@storybook/
|
|
43
|
+
"@storybook/addon-a11y": "8.6.14",
|
|
44
|
+
"@storybook/addon-essentials": "8.6.14",
|
|
45
|
+
"@storybook/addon-interactions": "8.6.14",
|
|
46
|
+
"@storybook/react": "8.6.18",
|
|
47
|
+
"@storybook/react-vite": "8.6.18",
|
|
48
|
+
"@storybook/test": "8.6.18",
|
|
53
49
|
"@types/react": "^18.2.43",
|
|
54
50
|
"@types/react-dom": "^18.2.17",
|
|
55
51
|
"@vitejs/plugin-react": "^4.2.1",
|
|
56
|
-
"storybook": "
|
|
52
|
+
"storybook": "8.6.18",
|
|
57
53
|
"typescript": "^5.3.3",
|
|
58
54
|
"vite": "^5.0.8"
|
|
59
55
|
},
|
|
@@ -76,7 +72,7 @@
|
|
|
76
72
|
"build": "vite build && tsc --emitDeclarationOnly --outDir dist",
|
|
77
73
|
"dev": "vite build --watch",
|
|
78
74
|
"typecheck": "tsc --noEmit",
|
|
79
|
-
"storybook": "storybook dev -p 6006",
|
|
80
|
-
"build-storybook": "storybook build"
|
|
75
|
+
"storybook": "pnpm exec storybook dev -p 6006",
|
|
76
|
+
"build-storybook": "pnpm exec storybook build"
|
|
81
77
|
}
|
|
82
78
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Alert } from './Alert';
|
|
3
|
-
declare const meta: Meta<typeof Alert>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Alert>;
|
|
6
|
-
export declare const Success: Story;
|
|
7
|
-
export declare const Warning: Story;
|
|
8
|
-
export declare const Danger: Story;
|
|
9
|
-
export declare const Info: Story;
|
|
10
|
-
export declare const Small: Story;
|
|
11
|
-
export declare const Dismissible: Story;
|
|
12
|
-
//# sourceMappingURL=Alert.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.stories.d.ts","sourceRoot":"","sources":["../../../src/atoms/Alert/Alert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAc5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AACF,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AACF,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAC;AACF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Banner } from './Banner';
|
|
3
|
-
declare const meta: Meta<typeof Banner>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Banner>;
|
|
6
|
-
export declare const Success: Story;
|
|
7
|
-
export declare const Warning: Story;
|
|
8
|
-
export declare const Danger: Story;
|
|
9
|
-
export declare const Info: Story;
|
|
10
|
-
export declare const StickyTop: Story;
|
|
11
|
-
//# sourceMappingURL=Banner.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.stories.d.ts","sourceRoot":"","sources":["../../../src/atoms/Banner/Banner.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAa7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAsBvB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: Meta;
|
|
3
|
-
export default meta;
|
|
4
|
-
type Story = StoryObj;
|
|
5
|
-
export declare const TopRight: Story;
|
|
6
|
-
export declare const TopLeft: Story;
|
|
7
|
-
export declare const BottomRight: Story;
|
|
8
|
-
export declare const BottomLeft: Story;
|
|
9
|
-
export declare const MaxVisibleOne: Story;
|
|
10
|
-
//# sourceMappingURL=Toast.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.stories.d.ts","sourceRoot":"","sources":["../../../src/atoms/Toast/Toast.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,QAAA,MAAM,IAAI,EAAE,IAcX,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AA6BtB,eAAO,MAAM,QAAQ,EAAE,KAAkC,CAAC;AAC1D,eAAO,MAAM,OAAO,EAAE,KAAsD,CAAC;AAC7E,eAAO,MAAM,WAAW,EAAE,KAA0D,CAAC;AACrF,eAAO,MAAM,UAAU,EAAE,KAAyD,CAAC;AACnF,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { ConfirmDialog } from './ConfirmDialog';
|
|
3
|
-
declare const meta: Meta<typeof ConfirmDialog>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof ConfirmDialog>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Danger: Story;
|
|
8
|
-
export declare const Loading: Story;
|
|
9
|
-
//# sourceMappingURL=ConfirmDialog.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.stories.d.ts","sourceRoot":"","sources":["../../../src/molecules/ConfirmDialog/ConfirmDialog.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAIpC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAwB5C,eAAO,MAAM,OAAO,EAAE,KAAkC,CAAC;AACzD,eAAO,MAAM,MAAM,EAAE,KAUpB,CAAC;AACF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Modal } from './Modal';
|
|
3
|
-
declare const meta: Meta<typeof Modal>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Modal>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Small: Story;
|
|
8
|
-
export declare const Large: Story;
|
|
9
|
-
export declare const HeaderOnly: Story;
|
|
10
|
-
export declare const NonDismissible: Story;
|
|
11
|
-
//# sourceMappingURL=Modal.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../src/molecules/Modal/Modal.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAI5B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAiCpC,eAAO,MAAM,OAAO,EAAE,KAAkC,CAAC;AACzD,eAAO,MAAM,KAAK,EAAE,KAA4C,CAAC;AACjE,eAAO,MAAM,KAAK,EAAE,KAA4C,CAAC;AACjE,eAAO,MAAM,UAAU,EAAE,KAAqD,CAAC;AAC/E,eAAO,MAAM,cAAc,EAAE,KAK5B,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { PromptDialog } from './PromptDialog';
|
|
3
|
-
declare const meta: Meta<typeof PromptDialog>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof PromptDialog>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Required: Story;
|
|
8
|
-
export declare const Email: Story;
|
|
9
|
-
export declare const WithValidator: Story;
|
|
10
|
-
//# sourceMappingURL=PromptDialog.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromptDialog.stories.d.ts","sourceRoot":"","sources":["../../../src/molecules/PromptDialog/PromptDialog.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAInC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AA0B3C,eAAO,MAAM,OAAO,EAAE,KAAkC,CAAC;AACzD,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AACF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AACF,eAAO,MAAM,aAAa,EAAE,KAW3B,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Dialog } from './Dialog';
|
|
3
|
-
declare const meta: Meta<typeof Dialog>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Dialog>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const EscapeDisabled: Story;
|
|
8
|
-
export declare const BackdropClickDisabled: Story;
|
|
9
|
-
//# sourceMappingURL=Dialog.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../src/primitives/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAc7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAyBrC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAK5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAKnC,CAAC"}
|