@randstad-uca/design-system 1.0.47 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randstad-uca/design-system",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",
@@ -40,13 +40,27 @@ declare const _default: {
40
40
  maxDate: {
41
41
  control: string;
42
42
  };
43
+ errorMessage: {
44
+ control: string;
45
+ };
46
+ helper: {
47
+ control: string;
48
+ };
49
+ helperAlign: {
50
+ control: {
51
+ type: string;
52
+ };
53
+ options: string[];
54
+ };
43
55
  };
44
56
  };
45
57
  export default _default;
46
58
  export declare const Default: StoryFn;
47
59
  export declare const WithoutClearButton: StoryFn;
48
60
  export declare const WithDefaultValueAndRequired: StoryFn;
61
+ export declare const WithOptional: StoryFn;
49
62
  export declare const Disabled: StoryFn;
50
63
  export declare const WithError: StoryFn;
64
+ export declare const WithHelperAndError: StoryFn;
51
65
  export declare const WithCustomWidth: StoryFn;
52
66
  export declare const WithDateRange: StoryFn;
@@ -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 MobileWithError: StoryFn;
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: () => import("lit-html").TemplateResult<1>;
8
- export declare const Disabled: () => import("lit-html").TemplateResult<1>;
28
+ export declare const Default: StoryFn;
29
+ export declare const InstantUpload: StoryFn;
30
+ export declare const SlowUpload: StoryFn;
31
+ export declare const Disabled: StoryFn;
@@ -0,0 +1,83 @@
1
+ import type { StoryFn } from '@storybook/web-components';
2
+ import '../components/File';
3
+ declare const _default: {
4
+ title: string;
5
+ component: string;
6
+ argTypes: {
7
+ label: {
8
+ control: string;
9
+ description: string;
10
+ };
11
+ labelColor: {
12
+ control: string;
13
+ description: string;
14
+ };
15
+ buttonText: {
16
+ control: string;
17
+ description: string;
18
+ };
19
+ helper: {
20
+ control: string;
21
+ description: string;
22
+ };
23
+ helperAlign: {
24
+ control: string;
25
+ options: string[];
26
+ description: string;
27
+ };
28
+ maxFiles: {
29
+ control: string;
30
+ description: string;
31
+ };
32
+ acceptedFileTypes: {
33
+ control: string;
34
+ description: string;
35
+ };
36
+ maxFileSize: {
37
+ control: string;
38
+ description: string;
39
+ };
40
+ disabled: {
41
+ control: string;
42
+ description: string;
43
+ };
44
+ error: {
45
+ control: string;
46
+ description: string;
47
+ };
48
+ errorMessage: {
49
+ control: string;
50
+ description: string;
51
+ };
52
+ required: {
53
+ control: string;
54
+ description: string;
55
+ };
56
+ optional: {
57
+ control: string;
58
+ description: string;
59
+ };
60
+ files: {
61
+ control: string;
62
+ description: string;
63
+ table: {
64
+ disable: boolean;
65
+ };
66
+ };
67
+ onFilesChanged: {
68
+ action: string;
69
+ };
70
+ };
71
+ actions: {
72
+ argTypesRegex: string;
73
+ };
74
+ };
75
+ export default _default;
76
+ export declare const Default: StoryFn;
77
+ export declare const RequiredField: StoryFn;
78
+ export declare const OptionalField: StoryFn;
79
+ export declare const WithHelperAndValidate: StoryFn;
80
+ export declare const MultipleFiles: StoryFn;
81
+ export declare const Disabled: StoryFn;
82
+ export declare const WithValue: StoryFn;
83
+ export declare const ErrorState: StoryFn;
@@ -0,0 +1,3 @@
1
+ export declare const FILE_TYPE_MAPPING: {
2
+ [key: string]: string;
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randstad-uca/design-system",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",