@randstad-uca/design-system 1.0.23 → 1.0.25
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 +1 -1
- package/dist/components/Form.d.ts +2 -1
- package/dist/components/FormGroup.d.ts +11 -0
- package/dist/components/Modal.d.ts +4 -1
- package/dist/components/Select.d.ts +2 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +752 -335
- package/dist/index.js.map +1 -1
- package/dist/package.json +2 -1
- package/dist/stories/Button.stories.d.ts +3 -1
- package/dist/stories/Form.stories.d.ts +4 -0
- package/package.json +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import '../styles/buttons.css';
|
|
3
3
|
export declare class RandstadButton extends LitElement {
|
|
4
|
-
variant: 'button-primary' | 'button-secondary' | 'button-tertiary' | 'button-round';
|
|
4
|
+
variant: 'button-primary' | 'button-secondary' | 'button-tertiary' | 'button-round' | 'button-card';
|
|
5
5
|
size: 'md' | 'lg';
|
|
6
6
|
label: string;
|
|
7
7
|
loader: boolean;
|
|
@@ -18,11 +18,12 @@ export declare class RandstadForm extends LitElement {
|
|
|
18
18
|
isPasswordVisible: boolean;
|
|
19
19
|
cleanButton: boolean;
|
|
20
20
|
maxLength?: number;
|
|
21
|
+
required: boolean;
|
|
22
|
+
optional: boolean;
|
|
21
23
|
static styles: import("lit").CSSResult;
|
|
22
24
|
private togglePassword;
|
|
23
25
|
private handleInput;
|
|
24
26
|
private handleClear;
|
|
25
27
|
private handleLinkClick;
|
|
26
|
-
private handleKeyDown;
|
|
27
28
|
render(): import("lit-html").TemplateResult<1>;
|
|
28
29
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class FormGroup extends LitElement {
|
|
3
|
+
label: string;
|
|
4
|
+
helper?: string;
|
|
5
|
+
error: boolean;
|
|
6
|
+
errorMessage: string;
|
|
7
|
+
required: boolean;
|
|
8
|
+
optional: boolean;
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
@@ -5,7 +5,6 @@ export declare class CustomModal extends LitElement {
|
|
|
5
5
|
open: boolean;
|
|
6
6
|
title: string;
|
|
7
7
|
subtitle?: string;
|
|
8
|
-
scrollable: boolean;
|
|
9
8
|
showNotice: boolean;
|
|
10
9
|
noticeType: 'success' | 'error' | 'warning' | 'informative';
|
|
11
10
|
noticeMessage: string;
|
|
@@ -14,7 +13,11 @@ export declare class CustomModal extends LitElement {
|
|
|
14
13
|
primaryButtonLabel: string;
|
|
15
14
|
showSecondaryButton: boolean;
|
|
16
15
|
secondaryButtonLabel: string;
|
|
16
|
+
private scrollable;
|
|
17
17
|
static styles: import("lit").CSSResult;
|
|
18
18
|
private closeModal;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
disconnectedCallback(): void;
|
|
21
|
+
private setScrollableMode;
|
|
19
22
|
render(): import("lit-html").TemplateResult<1>;
|
|
20
23
|
}
|
|
@@ -15,12 +15,13 @@ export declare class FilterableSelect extends LitElement {
|
|
|
15
15
|
filterable: boolean;
|
|
16
16
|
maxLength?: number;
|
|
17
17
|
error: boolean;
|
|
18
|
+
required: boolean;
|
|
19
|
+
optional: boolean;
|
|
18
20
|
private isMobile;
|
|
19
21
|
filteredOptions: SelectOption[];
|
|
20
22
|
filterValue: string;
|
|
21
23
|
isOpen: boolean;
|
|
22
24
|
mobileFilterValue: string;
|
|
23
|
-
private highlightedIndex;
|
|
24
25
|
private debounceTimeout;
|
|
25
26
|
static styles: import("lit").CSSResult;
|
|
26
27
|
constructor();
|
|
@@ -35,7 +36,6 @@ export declare class FilterableSelect extends LitElement {
|
|
|
35
36
|
handleSelect(option: any): void;
|
|
36
37
|
handleIconClick(): void;
|
|
37
38
|
handleClickOutside(e: Event): void;
|
|
38
|
-
handleKeyDown(e: KeyboardEvent): void;
|
|
39
39
|
render(): import("lit-html").TemplateResult<1>;
|
|
40
40
|
}
|
|
41
41
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
|
+
export * from './components/Accordion';
|
|
2
|
+
export * from './components/AccordionList';
|
|
1
3
|
export * from './components/Button';
|
|
4
|
+
export * from './components/CarouselCards';
|
|
2
5
|
export * from './components/Checkbox';
|
|
3
6
|
export * from './components/Form';
|
|
7
|
+
export * from './components/FormGroup';
|
|
4
8
|
export * from './components/Icon';
|
|
5
9
|
export * from './components/Modal';
|
|
6
10
|
export * from './components/Notice';
|
|
7
11
|
export * from './components/Popup';
|
|
12
|
+
export * from './components/ProgressCircle';
|
|
8
13
|
export * from './components/Radio';
|
|
9
14
|
export * from './components/Select';
|
|
10
|
-
export * from './components/Stepper';
|
|
11
15
|
export * from './components/Snackbar';
|
|
16
|
+
export * from './components/Stepper';
|
|
12
17
|
export * from './components/Tabs';
|
|
13
|
-
export * from './components/
|
|
18
|
+
export * from './components/Upload';
|
|
14
19
|
import './styles/colors.css';
|
|
15
20
|
import './styles/fonts.css';
|
|
16
21
|
import './styles/buttons.css';
|