@randstad-uca/design-system 1.0.50 → 1.0.52
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/Button.d.ts +2 -2
- package/dist/components/File.d.ts +3 -0
- package/dist/components/FormGroup.d.ts +1 -0
- package/dist/components/Modal.d.ts +2 -0
- package/dist/index.js +160 -63
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/stories/DatePicker.stories.d.ts +4 -0
- package/dist/stories/FormGroup.stories.d.ts +71 -0
- package/dist/stories/Modal.stories.d.ts +3 -3
- package/dist/stories/UploadFile.stories.d.ts +11 -0
- package/dist/styles/progress-bar-upload.d.ts +1 -0
- package/dist/styles/progress-bar-upload.ts +23 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -61,6 +61,9 @@ declare const _default: {
|
|
|
61
61
|
helpLinkTooltipMessage: {
|
|
62
62
|
control: string;
|
|
63
63
|
};
|
|
64
|
+
labelColor: {
|
|
65
|
+
control: string;
|
|
66
|
+
};
|
|
64
67
|
};
|
|
65
68
|
};
|
|
66
69
|
export default _default;
|
|
@@ -76,3 +79,4 @@ export declare const WithDateRange: StoryFn;
|
|
|
76
79
|
export declare const WithHelp: StoryFn;
|
|
77
80
|
export declare const WithHelpLink: StoryFn;
|
|
78
81
|
export declare const WithHelpLinkAndTooltip: StoryFn;
|
|
82
|
+
export declare const WithCustomLabelColor: StoryFn;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { StoryFn } from '@storybook/web-components';
|
|
2
|
+
import '../components/Form';
|
|
3
|
+
import '../components/FormGroup';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: string;
|
|
7
|
+
argTypes: {
|
|
8
|
+
label: {
|
|
9
|
+
control: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
rows: {
|
|
13
|
+
control: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
labelColor: {
|
|
17
|
+
control: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
errorMessage: {
|
|
21
|
+
control: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
helper: {
|
|
25
|
+
control: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
helperAlign: {
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
options: string[];
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
required: {
|
|
36
|
+
control: string;
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
optional: {
|
|
40
|
+
control: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
error: {
|
|
44
|
+
control: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
help: {
|
|
48
|
+
control: string;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
helpLink: {
|
|
52
|
+
control: string;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
helpLinkTooltipMessage: {
|
|
56
|
+
control: string;
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export default _default;
|
|
62
|
+
export declare const Default: StoryFn;
|
|
63
|
+
export declare const WithError: StoryFn;
|
|
64
|
+
export declare const WithHelper: StoryFn;
|
|
65
|
+
export declare const WithHelperAndAlign: StoryFn;
|
|
66
|
+
export declare const RequiredFields: StoryFn;
|
|
67
|
+
export declare const OptionalFields: StoryFn;
|
|
68
|
+
export declare const HorizontalLayout: StoryFn;
|
|
69
|
+
export declare const WithHelpTooltip: StoryFn;
|
|
70
|
+
export declare const WithHelpLink: StoryFn;
|
|
71
|
+
export declare const WithHelpLinkAndTooltip: StoryFn;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../components/Modal';
|
|
2
2
|
import '../components/Notice';
|
|
3
|
+
import '../components/Button';
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
6
|
component: string;
|
|
@@ -13,6 +14,5 @@ export declare const ModalConScrollInternoSubtitle: () => import("lit-html").Tem
|
|
|
13
14
|
export declare const ModalScrollEnBody: () => import("lit-html").TemplateResult<1>;
|
|
14
15
|
export declare const ModalConNotice: () => import("lit-html").TemplateResult<1>;
|
|
15
16
|
export declare const ModalConUnBoton: () => import("lit-html").TemplateResult<1>;
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const ModalConWidthPersonalizado: () => import("lit-html").TemplateResult<1>;
|
|
17
|
+
export declare const ModalConUnBotonDisabled: () => import("lit-html").TemplateResult<1>;
|
|
18
|
+
export declare const ModalConDosBotonesLoader: () => import("lit-html").TemplateResult<1>;
|
|
@@ -64,6 +64,15 @@ declare const _default: {
|
|
|
64
64
|
disable: boolean;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
simulatedDelay: {
|
|
68
|
+
control: {
|
|
69
|
+
type: string;
|
|
70
|
+
min: number;
|
|
71
|
+
step: number;
|
|
72
|
+
};
|
|
73
|
+
description: string;
|
|
74
|
+
defaultValue: number;
|
|
75
|
+
};
|
|
67
76
|
help: {
|
|
68
77
|
control: string;
|
|
69
78
|
};
|
|
@@ -93,3 +102,5 @@ export declare const ErrorState: StoryFn;
|
|
|
93
102
|
export declare const WithHelp: StoryFn;
|
|
94
103
|
export declare const WithHelpLink: StoryFn;
|
|
95
104
|
export declare const WithHelpLinkAndTooltip: StoryFn;
|
|
105
|
+
export declare const InstantUpload: StoryFn;
|
|
106
|
+
export declare const SlowUpload: StoryFn;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const progressBarUploadStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
|
|
3
|
+
export const progressBarUploadStyles = css`
|
|
4
|
+
.progress-bar-container {
|
|
5
|
+
min-height: 23px;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.progress-bar {
|
|
11
|
+
min-width: 80px;
|
|
12
|
+
height: 8px;
|
|
13
|
+
background-color: var(--secondary-color-20);
|
|
14
|
+
border-radius: 999px;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.progress-bar-fill {
|
|
19
|
+
height: 100%;
|
|
20
|
+
background-color: var(--primary-color);
|
|
21
|
+
transition: width 0.1s ease;
|
|
22
|
+
}
|
|
23
|
+
`;
|