@randstad-uca/design-system 1.0.110 → 1.0.112
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/index.js +28 -9
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/stories/Snackbar.stories.d.ts +22 -6
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components';
|
|
1
2
|
import { TemplateResult } from 'lit';
|
|
3
|
+
import '../components/Navbar';
|
|
2
4
|
import '../components/Snackbar';
|
|
5
|
+
type SnackbarType = 'informative' | 'success' | 'warning' | 'error';
|
|
6
|
+
type SnackbarPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
7
|
+
interface SnackbarArgs {
|
|
8
|
+
type: SnackbarType;
|
|
9
|
+
icon: string;
|
|
10
|
+
message: string;
|
|
11
|
+
open: boolean;
|
|
12
|
+
position: SnackbarPosition;
|
|
13
|
+
}
|
|
3
14
|
declare const _default: {
|
|
4
15
|
title: string;
|
|
5
16
|
component: string;
|
|
@@ -29,9 +40,14 @@ declare const _default: {
|
|
|
29
40
|
};
|
|
30
41
|
};
|
|
31
42
|
export default _default;
|
|
32
|
-
|
|
33
|
-
export declare const
|
|
34
|
-
export declare const
|
|
35
|
-
export declare const
|
|
36
|
-
export declare const
|
|
37
|
-
export declare const
|
|
43
|
+
type Story = StoryObj<SnackbarArgs>;
|
|
44
|
+
export declare const Default: Story;
|
|
45
|
+
export declare const Informative: Story;
|
|
46
|
+
export declare const Success: Story;
|
|
47
|
+
export declare const Warning: Story;
|
|
48
|
+
export declare const Error: Story;
|
|
49
|
+
export declare const MultilineMessage: Story;
|
|
50
|
+
export declare const WithNavbar: Story;
|
|
51
|
+
export declare const WithNavbarHidden: Story;
|
|
52
|
+
export declare const WithNavbarDesktop: Story;
|
|
53
|
+
export declare const WithoutNavbar: Story;
|