@warp-ds/elements 2.2.0-next.2 → 2.2.0-next.4
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/custom-elements.json +812 -0
- package/dist/index.js +3356 -349
- package/dist/index.js.map +4 -4
- package/dist/packages/affix/index.d.ts +1 -1
- package/dist/packages/affix/index.js +7 -6
- package/dist/packages/affix/index.js.map +3 -3
- package/dist/packages/alert/alert.test.d.ts +1 -0
- package/dist/packages/alert/index.d.ts +11 -16
- package/dist/packages/attention/index.d.ts +1 -1
- package/dist/packages/attention/index.js +5 -7
- package/dist/packages/attention/index.js.map +3 -3
- package/dist/packages/badge/index.d.ts +3 -2
- package/dist/packages/badge/index.js +1 -1
- package/dist/packages/badge/index.js.map +1 -1
- package/dist/packages/box/index.d.ts +5 -3
- package/dist/packages/box/index.js +1 -1
- package/dist/packages/box/index.js.map +1 -1
- package/dist/packages/breadcrumbs/index.d.ts +1 -1
- package/dist/packages/breadcrumbs/index.js +5 -7
- package/dist/packages/breadcrumbs/index.js.map +3 -3
- package/dist/packages/button/button.test.d.ts +1 -0
- package/dist/packages/button/index.d.ts +28 -52
- package/dist/packages/card/card.test.d.ts +1 -0
- package/dist/packages/card/index.d.ts +6 -15
- package/dist/packages/expandable/expandable.test.d.ts +1 -0
- package/dist/packages/expandable/index.d.ts +13 -51
- package/dist/packages/modal/index.d.ts +3 -3
- package/dist/packages/modal/index.js +302 -351
- package/dist/packages/modal/index.js.map +4 -4
- package/dist/packages/modal/modal-footer.d.ts +2 -2
- package/dist/packages/modal/modal-header.d.ts +12 -20
- package/dist/packages/modal/modal-main.d.ts +14 -24
- package/dist/packages/pill/index.d.ts +1 -1
- package/dist/packages/pill/index.js +6 -8
- package/dist/packages/pill/index.js.map +3 -3
- package/dist/packages/select/index.d.ts +12 -2
- package/dist/packages/select/index.js +306 -11
- package/dist/packages/select/index.js.map +4 -4
- package/dist/packages/styles.d.ts +2 -0
- package/dist/packages/textfield/index.d.ts +7 -7
- package/dist/packages/textfield/index.js +294 -5
- package/dist/packages/textfield/index.js.map +4 -4
- package/dist/packages/toast/index.d.ts +3 -0
- package/dist/packages/toast/index.js +8 -10
- package/dist/packages/toast/index.js.map +3 -3
- package/dist/packages/toast/toast-container.d.ts +3 -4
- package/dist/packages/toast/toast.d.ts +4 -6
- package/dist/packages/utils/expand-transition.d.ts +3 -2
- package/dist/packages/utils/index.d.ts +1 -1
- package/dist/packages/utils/unstyled-heading.d.ts +4 -3
- package/package.json +27 -15
- package/dist/packages/alert/index.js +0 -2466
- package/dist/packages/alert/index.js.map +0 -7
- package/dist/packages/button/index.js +0 -2183
- package/dist/packages/button/index.js.map +0 -7
- package/dist/packages/card/index.js +0 -2131
- package/dist/packages/card/index.js.map +0 -7
- package/dist/packages/expandable/index.js +0 -2346
- package/dist/packages/expandable/index.js.map +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.js';
|
|
@@ -1,61 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
type ButtonVariant = 'primary' | 'secondary' | 'negative' | 'utility' | 'pill' | 'link';
|
|
3
|
+
type ButtonType = 'button' | 'submit' | 'reset';
|
|
4
|
+
declare const WarpButton_base: import("@open-wc/form-control").Constructor<import("@open-wc/form-control").FormControlInterface> & {
|
|
2
5
|
new (): {
|
|
3
6
|
[x: string]: any;
|
|
4
7
|
};
|
|
5
8
|
[x: string]: any;
|
|
6
9
|
createProperty(name: any, options: any): void;
|
|
7
10
|
};
|
|
8
|
-
|
|
9
|
-
static shadowRootOptions:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
autofocus: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
reflect: boolean;
|
|
18
|
-
};
|
|
19
|
-
variant: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
reflect: boolean;
|
|
22
|
-
};
|
|
23
|
-
quiet: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
reflect: boolean;
|
|
26
|
-
};
|
|
27
|
-
small: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
reflect: boolean;
|
|
30
|
-
};
|
|
31
|
-
loading: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
reflect: boolean;
|
|
34
|
-
};
|
|
35
|
-
href: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
reflect: boolean;
|
|
38
|
-
};
|
|
39
|
-
target: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
reflect: boolean;
|
|
42
|
-
};
|
|
43
|
-
rel: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
reflect: boolean;
|
|
46
|
-
};
|
|
47
|
-
fullWidth: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
reflect: boolean;
|
|
50
|
-
};
|
|
51
|
-
buttonClass: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
reflect: boolean;
|
|
54
|
-
};
|
|
11
|
+
declare class WarpButton extends WarpButton_base {
|
|
12
|
+
static shadowRootOptions: {
|
|
13
|
+
delegatesFocus: boolean;
|
|
14
|
+
mode: ShadowRootMode;
|
|
15
|
+
serializable?: boolean;
|
|
16
|
+
slotAssignment?: SlotAssignmentMode;
|
|
55
17
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
18
|
+
type: ButtonType;
|
|
19
|
+
autofocus: boolean;
|
|
20
|
+
variant: ButtonVariant;
|
|
21
|
+
quiet: boolean;
|
|
22
|
+
small: boolean;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
href: string;
|
|
25
|
+
target: string;
|
|
26
|
+
rel: string;
|
|
27
|
+
fullWidth: boolean;
|
|
28
|
+
buttonClass: string;
|
|
29
|
+
name: string;
|
|
30
|
+
value: string;
|
|
31
|
+
static styles: import("lit").CSSResult[];
|
|
32
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
33
|
+
constructor();
|
|
59
34
|
connectedCallback(): void;
|
|
60
35
|
firstUpdated(): void;
|
|
61
36
|
get _primaryClasses(): string[];
|
|
@@ -65,6 +40,7 @@ export class WarpButton extends WarpButton_base {
|
|
|
65
40
|
get _pillClasses(): string[];
|
|
66
41
|
get _linkClasses(): string[];
|
|
67
42
|
get _classes(): string;
|
|
43
|
+
_handleButtonClick(): void;
|
|
68
44
|
render(): import("lit").TemplateResult<1>;
|
|
69
45
|
}
|
|
70
|
-
export {};
|
|
46
|
+
export { WarpButton };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.js';
|
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
reflect: boolean;
|
|
6
|
-
};
|
|
7
|
-
flat: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
};
|
|
10
|
-
clickable: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
static styles: any[];
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
declare class WarpCard extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
15
4
|
selected: boolean;
|
|
16
5
|
flat: boolean;
|
|
17
6
|
clickable: boolean;
|
|
18
7
|
buttonText: string;
|
|
8
|
+
constructor();
|
|
19
9
|
get _containerClasses(): string;
|
|
20
10
|
get _outlineClasses(): string;
|
|
21
11
|
get _interactiveElement(): import("lit").TemplateResult<1> | "";
|
|
22
|
-
keypressed(e:
|
|
12
|
+
keypressed(e: KeyboardEvent): void;
|
|
23
13
|
render(): import("lit").TemplateResult<1>;
|
|
24
14
|
}
|
|
15
|
+
export { WarpCard };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.js';
|
|
@@ -1,61 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
createProperty(name: any, options: any): void;
|
|
7
|
-
};
|
|
8
|
-
export class WarpExpandable extends WarpExpandable_base {
|
|
9
|
-
static properties: {
|
|
10
|
-
expanded: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
reflect: boolean;
|
|
13
|
-
};
|
|
14
|
-
title: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
};
|
|
17
|
-
box: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
};
|
|
20
|
-
bleed: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
};
|
|
23
|
-
buttonClass: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
};
|
|
26
|
-
contentClass: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
};
|
|
29
|
-
noChevron: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
};
|
|
32
|
-
animated: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
};
|
|
35
|
-
headingLevel: {
|
|
36
|
-
type: NumberConstructor;
|
|
37
|
-
};
|
|
38
|
-
_hasTitle: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
state: boolean;
|
|
41
|
-
};
|
|
42
|
-
_showChevronUp: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
state: boolean;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
static styles: any[];
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import '@warp-ds/icons/elements/chevron-down-16';
|
|
3
|
+
import '@warp-ds/icons/elements/chevron-up-16';
|
|
4
|
+
declare class WarpExpandable extends LitElement {
|
|
5
|
+
#private;
|
|
48
6
|
expanded: boolean;
|
|
49
|
-
|
|
7
|
+
title: string;
|
|
50
8
|
box: boolean;
|
|
51
9
|
bleed: boolean;
|
|
10
|
+
buttonClass: string;
|
|
11
|
+
contentClass: string;
|
|
52
12
|
noChevron: boolean;
|
|
13
|
+
animated: boolean;
|
|
14
|
+
headingLevel: number;
|
|
53
15
|
_hasTitle: boolean;
|
|
54
16
|
_showChevronUp: boolean;
|
|
55
|
-
|
|
17
|
+
static styles: import("lit").CSSResult[];
|
|
18
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
56
19
|
firstUpdated(): void;
|
|
57
20
|
get _expandableSlot(): import("lit").TemplateResult<1>;
|
|
58
21
|
render(): import("lit").TemplateResult<1>;
|
|
59
|
-
#private;
|
|
60
22
|
}
|
|
61
|
-
export {};
|
|
23
|
+
export { WarpExpandable };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ModalMain } from './modal-main.
|
|
2
|
-
import { ModalHeader } from './modal-header.
|
|
3
|
-
import { ModalFooter } from './modal-footer.
|
|
1
|
+
import { ModalMain } from './modal-main.ts';
|
|
2
|
+
import { ModalHeader } from './modal-header.ts';
|
|
3
|
+
import { ModalFooter } from './modal-footer.ts';
|
|
4
4
|
import { CanCloseMixin } from './util.js';
|
|
5
5
|
import { ProvidesCanCloseToSlotsMixin } from './util.js';
|
|
6
6
|
export { ModalMain as WarpModal, ModalHeader as WarpModalHeader, ModalFooter as WarpModalFooter, CanCloseMixin as ModalCanCloseMixin, ProvidesCanCloseToSlotsMixin as ModalProvidesCanCloseToSlotsMixin };
|