@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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import '../styles/buttons.css';
|
|
3
3
|
export declare class RandstadButton extends LitElement {
|
|
4
|
+
type: 'button' | 'submit' | 'reset';
|
|
4
5
|
variant: 'button-primary' | 'button-secondary' | 'button-tertiary' | 'button-round' | 'button-card' | 'button-icon';
|
|
5
6
|
size: 'md' | 'lg';
|
|
6
7
|
label: string;
|
|
7
8
|
loader: boolean;
|
|
8
9
|
iconSrc?: string;
|
|
9
10
|
iconPosition: 'left' | 'right';
|
|
10
|
-
disabled: boolean;
|
|
11
11
|
iconName: string | null;
|
|
12
|
-
|
|
12
|
+
disabled: boolean;
|
|
13
13
|
idevent: string;
|
|
14
14
|
static styles: import("lit").CSSResult;
|
|
15
15
|
private handleClick;
|
|
@@ -7,6 +7,9 @@ export declare class UploadFile extends BaseControl {
|
|
|
7
7
|
acceptedFileTypes: string[];
|
|
8
8
|
maxFileSize: number;
|
|
9
9
|
buttonText: string;
|
|
10
|
+
simulatedDelay: number;
|
|
11
|
+
private loading;
|
|
12
|
+
private progress;
|
|
10
13
|
private fileInput;
|
|
11
14
|
static styles: import("lit").CSSResult;
|
|
12
15
|
updated(changedProperties: Map<string, any>): void;
|
|
@@ -14,6 +14,8 @@ export declare class CustomModal extends LitElement {
|
|
|
14
14
|
showSecondaryButton: boolean;
|
|
15
15
|
secondaryButtonLabel: string;
|
|
16
16
|
isFooterCustom: boolean;
|
|
17
|
+
isPrimaryLoader: boolean;
|
|
18
|
+
isPrimaryDisabled: boolean;
|
|
17
19
|
modalWidth: string;
|
|
18
20
|
private scrollable;
|
|
19
21
|
static styles: import("lit").CSSResult;
|