@flamingo-stack/openframe-frontend-core 0.0.333-snapshot.20260629095837 → 0.0.333
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/{chunk-GUORQAA5.js → chunk-2N6B44NP.js} +2 -2
- package/dist/{chunk-5S6RJ6B6.cjs → chunk-37EKG2M7.cjs} +31 -31
- package/dist/{chunk-5S6RJ6B6.cjs.map → chunk-37EKG2M7.cjs.map} +1 -1
- package/dist/{chunk-QMUAEGAK.cjs → chunk-3QBOSHY4.cjs} +37 -37
- package/dist/{chunk-QMUAEGAK.cjs.map → chunk-3QBOSHY4.cjs.map} +1 -1
- package/dist/{chunk-2ULLQCWU.js → chunk-6ONCYSRV.js} +2 -2
- package/dist/{chunk-INBIA4WS.cjs → chunk-A2H2JOQI.cjs} +12 -12
- package/dist/{chunk-INBIA4WS.cjs.map → chunk-A2H2JOQI.cjs.map} +1 -1
- package/dist/{chunk-EHFYP5DY.js → chunk-ES6VJ4BO.js} +2 -2
- package/dist/{chunk-IWBGKGKP.cjs → chunk-FNHB7YX5.cjs} +9 -9
- package/dist/{chunk-IWBGKGKP.cjs.map → chunk-FNHB7YX5.cjs.map} +1 -1
- package/dist/{chunk-4DGLF7MO.cjs → chunk-GW7YJC5J.cjs} +15 -15
- package/dist/{chunk-4DGLF7MO.cjs.map → chunk-GW7YJC5J.cjs.map} +1 -1
- package/dist/{chunk-6S3UPKL4.js → chunk-J2GAKC4L.js} +4 -4
- package/dist/{chunk-CK7MAR74.js → chunk-LCR326AU.js} +2 -2
- package/dist/{chunk-4ETIXSEC.cjs → chunk-MAGQM63C.cjs} +56 -56
- package/dist/{chunk-4ETIXSEC.cjs.map → chunk-MAGQM63C.cjs.map} +1 -1
- package/dist/{chunk-MB22JQJD.cjs → chunk-NFU2DXOV.cjs} +7 -7
- package/dist/{chunk-MB22JQJD.cjs.map → chunk-NFU2DXOV.cjs.map} +1 -1
- package/dist/{chunk-MU6WKXSA.js → chunk-PBNSGA25.js} +4 -4
- package/dist/{chunk-YXU5Q3PZ.js → chunk-RFOQ7YHS.js} +2 -2
- package/dist/{chunk-6IJCVAJA.cjs → chunk-RPMOVC7D.cjs} +2 -3
- package/dist/chunk-RPMOVC7D.cjs.map +1 -0
- package/dist/{chunk-K2VYQUVG.cjs → chunk-SHHYY57A.cjs} +5 -5
- package/dist/{chunk-K2VYQUVG.cjs.map → chunk-SHHYY57A.cjs.map} +1 -1
- package/dist/{chunk-IFNFRMCD.cjs → chunk-SUSIWWW2.cjs} +62 -62
- package/dist/{chunk-IFNFRMCD.cjs.map → chunk-SUSIWWW2.cjs.map} +1 -1
- package/dist/{chunk-PKIH7NV3.js → chunk-VGZUJC4X.js} +2 -2
- package/dist/{chunk-LM34VIFI.js → chunk-X2ZO2WGY.js} +2 -2
- package/dist/{chunk-B7EFUHUH.js → chunk-XZS6Z2RE.js} +2 -3
- package/dist/chunk-XZS6Z2RE.js.map +1 -0
- package/dist/{chunk-34OG3XPN.js → chunk-YEEH336W.js} +4 -4
- package/dist/{chunk-ELR54K5F.cjs → chunk-YSELDRJX.cjs} +26 -26
- package/dist/{chunk-ELR54K5F.cjs.map → chunk-YSELDRJX.cjs.map} +1 -1
- package/dist/{chunk-33LDNKXG.cjs → chunk-YV5KFAZL.cjs} +25 -25
- package/dist/{chunk-33LDNKXG.cjs.map → chunk-YV5KFAZL.cjs.map} +1 -1
- package/dist/{chunk-5R72BDBH.js → chunk-Z3WUYB4F.js} +4 -4
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +121 -121
- package/dist/components/index.js +9 -9
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/alert.d.ts +1 -1
- package/dist/components/ui/alert.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/ui/alert.tsx +0 -2
- package/dist/chunk-6IJCVAJA.cjs.map +0 -1
- package/dist/chunk-B7EFUHUH.js.map +0 -1
- package/src/stories/Alert.stories.tsx +0 -86
- /package/dist/{chunk-GUORQAA5.js.map → chunk-2N6B44NP.js.map} +0 -0
- /package/dist/{chunk-2ULLQCWU.js.map → chunk-6ONCYSRV.js.map} +0 -0
- /package/dist/{chunk-EHFYP5DY.js.map → chunk-ES6VJ4BO.js.map} +0 -0
- /package/dist/{chunk-6S3UPKL4.js.map → chunk-J2GAKC4L.js.map} +0 -0
- /package/dist/{chunk-CK7MAR74.js.map → chunk-LCR326AU.js.map} +0 -0
- /package/dist/{chunk-MU6WKXSA.js.map → chunk-PBNSGA25.js.map} +0 -0
- /package/dist/{chunk-YXU5Q3PZ.js.map → chunk-RFOQ7YHS.js.map} +0 -0
- /package/dist/{chunk-PKIH7NV3.js.map → chunk-VGZUJC4X.js.map} +0 -0
- /package/dist/{chunk-LM34VIFI.js.map → chunk-X2ZO2WGY.js.map} +0 -0
- /package/dist/{chunk-34OG3XPN.js.map → chunk-YEEH336W.js.map} +0 -0
- /package/dist/{chunk-5R72BDBH.js.map → chunk-Z3WUYB4F.js.map} +0 -0
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/nextjs-vite';
|
|
2
|
-
import { AlertTriangleIcon } from '../components/icons-v2-generated/interface/alert-triangle-icon';
|
|
3
|
-
import { Alert, AlertDescription, AlertTitle } from '../components/ui/alert';
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
title: 'UI/Alert',
|
|
7
|
-
component: Alert,
|
|
8
|
-
argTypes: {
|
|
9
|
-
variant: {
|
|
10
|
-
control: 'select',
|
|
11
|
-
options: ['default', 'destructive', 'warning'],
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
} satisfies Meta<typeof Alert>;
|
|
15
|
-
|
|
16
|
-
export default meta;
|
|
17
|
-
type Story = StoryObj<typeof meta>;
|
|
18
|
-
|
|
19
|
-
export const Default: Story = {
|
|
20
|
-
args: { variant: 'default' },
|
|
21
|
-
render: args => (
|
|
22
|
-
<Alert {...args}>
|
|
23
|
-
<AlertTitle>Heads up!</AlertTitle>
|
|
24
|
-
<AlertDescription>You can add components to your app using the CLI.</AlertDescription>
|
|
25
|
-
</Alert>
|
|
26
|
-
),
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export const Destructive: Story = {
|
|
30
|
-
args: { variant: 'destructive' },
|
|
31
|
-
render: args => (
|
|
32
|
-
<Alert {...args}>
|
|
33
|
-
<AlertTitle>Error</AlertTitle>
|
|
34
|
-
<AlertDescription>Your session has expired. Please log in again.</AlertDescription>
|
|
35
|
-
</Alert>
|
|
36
|
-
),
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export const Warning: Story = {
|
|
40
|
-
args: { variant: 'warning' },
|
|
41
|
-
render: args => (
|
|
42
|
-
<Alert {...args}>
|
|
43
|
-
<AlertTitle>Warning</AlertTitle>
|
|
44
|
-
<AlertDescription>Some of your settings need attention.</AlertDescription>
|
|
45
|
-
</Alert>
|
|
46
|
-
),
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Real-world usage: the Settings page email-verification banner.
|
|
51
|
-
* Mirrors the Figma design — warning variant, alert-triangle icon, message and a resend action.
|
|
52
|
-
*/
|
|
53
|
-
export const EmailVerification: Story = {
|
|
54
|
-
args: { variant: 'warning' },
|
|
55
|
-
render: args => (
|
|
56
|
-
<Alert {...args} className="flex items-center justify-center gap-[var(--spacing-system-m)] p-[var(--spacing-system-s)]">
|
|
57
|
-
<span className="shrink-0">
|
|
58
|
-
<AlertTriangleIcon size={24} />
|
|
59
|
-
</span>
|
|
60
|
-
<p className="flex-1 text-h4 font-bold">Verify your email to keep access to system.</p>
|
|
61
|
-
<button type="button" className="shrink-0 text-h4 font-medium underline whitespace-nowrap">
|
|
62
|
-
Resend Verification Mail
|
|
63
|
-
</button>
|
|
64
|
-
</Alert>
|
|
65
|
-
),
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export const AllVariants: Story = {
|
|
69
|
-
args: { variant: 'default' },
|
|
70
|
-
render: () => (
|
|
71
|
-
<div className="flex flex-col gap-4">
|
|
72
|
-
<Alert variant="default">
|
|
73
|
-
<AlertTitle>Default</AlertTitle>
|
|
74
|
-
<AlertDescription>Neutral informational alert.</AlertDescription>
|
|
75
|
-
</Alert>
|
|
76
|
-
<Alert variant="destructive">
|
|
77
|
-
<AlertTitle>Destructive</AlertTitle>
|
|
78
|
-
<AlertDescription>Something went wrong.</AlertDescription>
|
|
79
|
-
</Alert>
|
|
80
|
-
<Alert variant="warning">
|
|
81
|
-
<AlertTitle>Warning</AlertTitle>
|
|
82
|
-
<AlertDescription>Proceed with caution.</AlertDescription>
|
|
83
|
-
</Alert>
|
|
84
|
-
</div>
|
|
85
|
-
),
|
|
86
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|