@randstad-uca/design-system 1.0.48 → 1.0.49
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/components/Select.d.ts +3 -0
- package/dist/components/Upload.d.ts +2 -1
- package/dist/index.js +96 -67
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/stories/Select.stories.d.ts +14 -1
- package/dist/stories/Upload.stories.d.ts +25 -2
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -43,6 +43,18 @@ declare const _default: {
|
|
|
43
43
|
optional: {
|
|
44
44
|
control: string;
|
|
45
45
|
};
|
|
46
|
+
errorMessage: {
|
|
47
|
+
control: string;
|
|
48
|
+
};
|
|
49
|
+
helper: {
|
|
50
|
+
control: string;
|
|
51
|
+
};
|
|
52
|
+
helperAlign: {
|
|
53
|
+
control: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
options: string[];
|
|
57
|
+
};
|
|
46
58
|
};
|
|
47
59
|
};
|
|
48
60
|
export default _default;
|
|
@@ -58,4 +70,5 @@ export declare const NonFilterableBasic: StoryFn;
|
|
|
58
70
|
export declare const WithMaxLength: StoryFn;
|
|
59
71
|
export declare const MobileModal: StoryFn;
|
|
60
72
|
export declare const WithError: StoryFn;
|
|
61
|
-
export declare const
|
|
73
|
+
export declare const WithHelper: StoryFn;
|
|
74
|
+
export declare const WithHelperAndError: StoryFn;
|
|
@@ -1,8 +1,31 @@
|
|
|
1
|
+
import type { StoryFn } from '@storybook/web-components';
|
|
1
2
|
import '../components/Upload.ts';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
5
|
component: string;
|
|
6
|
+
argTypes: {
|
|
7
|
+
files: {
|
|
8
|
+
control: string;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
control: string;
|
|
12
|
+
};
|
|
13
|
+
simulatedDelay: {
|
|
14
|
+
control: {
|
|
15
|
+
type: string;
|
|
16
|
+
min: number;
|
|
17
|
+
step: number;
|
|
18
|
+
};
|
|
19
|
+
description: string;
|
|
20
|
+
defaultValue: number;
|
|
21
|
+
};
|
|
22
|
+
onFilesChanged: {
|
|
23
|
+
action: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
5
26
|
};
|
|
6
27
|
export default _default;
|
|
7
|
-
export declare const Default:
|
|
8
|
-
export declare const
|
|
28
|
+
export declare const Default: StoryFn;
|
|
29
|
+
export declare const InstantUpload: StoryFn;
|
|
30
|
+
export declare const SlowUpload: StoryFn;
|
|
31
|
+
export declare const Disabled: StoryFn;
|