@randstad-uca/design-system 1.0.123 → 1.0.125
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/autoloader.js +1 -1
- package/dist/components/LineProgress.d.ts +57 -0
- package/dist/components/LineProgress.js +1 -0
- package/dist/components/MfaModal.js +1 -1
- package/dist/components/Modal.d.ts +0 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/Popup.js +1 -1
- package/dist/components/ProgressCard.d.ts +58 -0
- package/dist/components/ProgressCard.js +1 -0
- package/dist/components/QrModals.d.ts +78 -0
- package/dist/components/QrModals.js +1 -0
- package/dist/components/Snackbar.js +1 -1
- package/dist/components/icons.js +1 -1
- package/dist/helpers/cssUtils.d.ts +2 -0
- package/dist/helpers/cssUtils.js +1 -0
- package/dist/helpers/progressUtils.d.ts +46 -0
- package/dist/helpers/progressUtils.js +1 -0
- package/dist/helpers/qrModalsUtils.d.ts +8 -0
- package/dist/helpers/qrModalsUtils.js +1 -0
- package/dist/helpers/textUtils.d.ts +1 -0
- package/dist/helpers/textUtils.js +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/package.json +1 -1
- package/dist/randstad-design-system.css +1 -1
- package/dist/stories/LineProgress.stories.d.ts +71 -0
- package/dist/stories/ProgressCard.stories.d.ts +86 -0
- package/dist/stories/QrModals.stories.d.ts +106 -0
- package/package.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components';
|
|
2
|
+
import '../components/ProgressCard';
|
|
3
|
+
import type { ProgressCardProps } from '../components/ProgressCard';
|
|
4
|
+
type ProgressCardStoryArgs = Partial<ProgressCardProps>;
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: string;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: string;
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
currentStep: {
|
|
14
|
+
control: "number";
|
|
15
|
+
};
|
|
16
|
+
maxSteps: {
|
|
17
|
+
control: "number";
|
|
18
|
+
};
|
|
19
|
+
title: {
|
|
20
|
+
control: "text";
|
|
21
|
+
};
|
|
22
|
+
progressLabel: {
|
|
23
|
+
control: "text";
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
description: {
|
|
27
|
+
control: "text";
|
|
28
|
+
};
|
|
29
|
+
linkLabel: {
|
|
30
|
+
control: "text";
|
|
31
|
+
};
|
|
32
|
+
showLink: {
|
|
33
|
+
control: "boolean";
|
|
34
|
+
};
|
|
35
|
+
linkDisabled: {
|
|
36
|
+
control: "boolean";
|
|
37
|
+
};
|
|
38
|
+
width: {
|
|
39
|
+
control: "text";
|
|
40
|
+
};
|
|
41
|
+
padding: {
|
|
42
|
+
control: "text";
|
|
43
|
+
};
|
|
44
|
+
backgroundColor: {
|
|
45
|
+
control: "color";
|
|
46
|
+
};
|
|
47
|
+
borderRadius: {
|
|
48
|
+
control: "text";
|
|
49
|
+
};
|
|
50
|
+
boxShadow: {
|
|
51
|
+
control: "text";
|
|
52
|
+
};
|
|
53
|
+
titleColor: {
|
|
54
|
+
control: "color";
|
|
55
|
+
};
|
|
56
|
+
descriptionColor: {
|
|
57
|
+
control: "color";
|
|
58
|
+
};
|
|
59
|
+
linkColor: {
|
|
60
|
+
control: "color";
|
|
61
|
+
};
|
|
62
|
+
progressBackgroundColor: {
|
|
63
|
+
control: "color";
|
|
64
|
+
};
|
|
65
|
+
progressColor: {
|
|
66
|
+
control: "color";
|
|
67
|
+
};
|
|
68
|
+
progressHeight: {
|
|
69
|
+
control: "text";
|
|
70
|
+
};
|
|
71
|
+
progressBorderRadius: {
|
|
72
|
+
control: "text";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export default meta;
|
|
77
|
+
type Story = StoryObj<ProgressCardStoryArgs>;
|
|
78
|
+
export declare const Default: Story;
|
|
79
|
+
export declare const Empty: Story;
|
|
80
|
+
export declare const Complete: Story;
|
|
81
|
+
export declare const CustomContent: Story;
|
|
82
|
+
export declare const CustomAppearance: Story;
|
|
83
|
+
export declare const DisabledAction: Story;
|
|
84
|
+
export declare const WithoutAction: Story;
|
|
85
|
+
export declare const InvalidProgress: Story;
|
|
86
|
+
export declare const NarrowAndLongContent: Story;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components';
|
|
2
|
+
import '../components/QrModals';
|
|
3
|
+
import type { QrModalsProps } from '../components/QrModals';
|
|
4
|
+
type QrModalsStoryArgs = Partial<QrModalsProps>;
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: string;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: string;
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
open: {
|
|
14
|
+
control: "boolean";
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
title: {
|
|
18
|
+
control: "text";
|
|
19
|
+
};
|
|
20
|
+
badgeLabel: {
|
|
21
|
+
control: "text";
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
footerText: {
|
|
25
|
+
control: "text";
|
|
26
|
+
};
|
|
27
|
+
closeLabel: {
|
|
28
|
+
control: "text";
|
|
29
|
+
};
|
|
30
|
+
qrAsset: {
|
|
31
|
+
control: "text";
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
qrAlt: {
|
|
35
|
+
control: "text";
|
|
36
|
+
};
|
|
37
|
+
dismissOnOutsideClick: {
|
|
38
|
+
control: "boolean";
|
|
39
|
+
};
|
|
40
|
+
dismissOnEscape: {
|
|
41
|
+
control: "boolean";
|
|
42
|
+
};
|
|
43
|
+
hideOnMobile: {
|
|
44
|
+
control: "boolean";
|
|
45
|
+
};
|
|
46
|
+
autoFocus: {
|
|
47
|
+
control: "boolean";
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
width: {
|
|
51
|
+
control: "text";
|
|
52
|
+
};
|
|
53
|
+
height: {
|
|
54
|
+
control: "text";
|
|
55
|
+
};
|
|
56
|
+
right: {
|
|
57
|
+
control: "text";
|
|
58
|
+
};
|
|
59
|
+
bottom: {
|
|
60
|
+
control: "text";
|
|
61
|
+
};
|
|
62
|
+
zIndex: {
|
|
63
|
+
control: "number";
|
|
64
|
+
};
|
|
65
|
+
padding: {
|
|
66
|
+
control: "text";
|
|
67
|
+
};
|
|
68
|
+
borderRadius: {
|
|
69
|
+
control: "text";
|
|
70
|
+
};
|
|
71
|
+
background: {
|
|
72
|
+
control: "text";
|
|
73
|
+
};
|
|
74
|
+
badgeBackground: {
|
|
75
|
+
control: "color";
|
|
76
|
+
};
|
|
77
|
+
badgeColor: {
|
|
78
|
+
control: "color";
|
|
79
|
+
};
|
|
80
|
+
titleColor: {
|
|
81
|
+
control: "color";
|
|
82
|
+
};
|
|
83
|
+
qrBackground: {
|
|
84
|
+
control: "color";
|
|
85
|
+
};
|
|
86
|
+
footerColor: {
|
|
87
|
+
control: "color";
|
|
88
|
+
};
|
|
89
|
+
closeColor: {
|
|
90
|
+
control: "color";
|
|
91
|
+
};
|
|
92
|
+
closeBackground: {
|
|
93
|
+
control: "color";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export default meta;
|
|
98
|
+
type Story = StoryObj<QrModalsStoryArgs>;
|
|
99
|
+
export declare const Default: Story;
|
|
100
|
+
export declare const CustomContent: Story;
|
|
101
|
+
export declare const CustomAppearance: Story;
|
|
102
|
+
export declare const FullSizeQr: Story;
|
|
103
|
+
export declare const Persistent: Story;
|
|
104
|
+
export declare const Closed: Story;
|
|
105
|
+
export declare const MobileHidden: Story;
|
|
106
|
+
export declare const MobileAllowed: Story;
|