@warp-ds/elements 2.2.0-next.31 → 2.2.0-next.32
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 +94 -240
- package/dist/index.d.ts +9 -9
- package/dist/packages/affix/index.d.ts +0 -12
- package/dist/packages/affix/index.js +1 -1
- package/dist/packages/affix/index.js.map +2 -2
- package/dist/packages/attention/index.d.ts +0 -26
- package/dist/packages/attention/index.js +1 -1
- package/dist/packages/attention/index.js.map +2 -2
- package/dist/packages/breadcrumbs/index.d.ts +0 -7
- package/dist/packages/breadcrumbs/index.js +1 -1
- package/dist/packages/breadcrumbs/index.js.map +2 -2
- package/dist/packages/button/index.d.ts +0 -61
- package/dist/packages/button/index.js +1 -1
- package/dist/packages/button/index.js.map +2 -2
- package/dist/packages/card/index.d.ts +0 -12
- package/dist/packages/card/index.js +1 -1
- package/dist/packages/card/index.js.map +2 -2
- package/dist/packages/expandable/index.d.ts +0 -28
- package/dist/packages/expandable/index.js +1 -1
- package/dist/packages/expandable/index.js.map +2 -2
- package/dist/packages/modal/index.js +2717 -5
- package/dist/packages/modal/index.js.map +7 -0
- package/dist/packages/pill/index.d.ts +0 -12
- package/dist/packages/pill/index.js +1 -1
- package/dist/packages/pill/index.js.map +2 -2
- package/dist/packages/select/index.d.ts +0 -20
- package/dist/packages/select/index.js +4 -4
- package/dist/packages/select/index.js.map +2 -2
- package/dist/packages/textfield/index.d.ts +0 -20
- package/dist/packages/textfield/index.js +1 -1
- package/dist/packages/textfield/index.js.map +2 -2
- package/dist/packages/toast/index.js +2483 -3
- package/dist/packages/toast/index.js.map +7 -0
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
|
@@ -2,67 +2,6 @@ import { LitElement, PropertyValues } from 'lit';
|
|
|
2
2
|
import '../link';
|
|
3
3
|
type ButtonVariant = 'primary' | 'secondary' | 'negative' | 'utility' | 'pill' | 'link';
|
|
4
4
|
type ButtonType = 'button' | 'submit' | 'reset';
|
|
5
|
-
export declare const ccButton: {
|
|
6
|
-
secondary: string;
|
|
7
|
-
secondaryHref: string;
|
|
8
|
-
secondaryDisabled: string;
|
|
9
|
-
secondarySmall: string;
|
|
10
|
-
secondarySmallDisabled: string;
|
|
11
|
-
secondaryQuiet: string;
|
|
12
|
-
secondaryQuietDisabled: string;
|
|
13
|
-
secondarySmallQuiet: string;
|
|
14
|
-
secondarySmallQuietDisabled: string;
|
|
15
|
-
secondaryLoading: string;
|
|
16
|
-
secondarySmallLoading: string;
|
|
17
|
-
secondarySmallQuietLoading: string;
|
|
18
|
-
secondaryQuietLoading: string;
|
|
19
|
-
primary: string;
|
|
20
|
-
primaryDisabled: string;
|
|
21
|
-
primarySmall: string;
|
|
22
|
-
primarySmallDisabled: string;
|
|
23
|
-
primaryQuiet: string;
|
|
24
|
-
primaryQuietDisabled: string;
|
|
25
|
-
primarySmallQuiet: string;
|
|
26
|
-
primarySmallQuietDisabled: string;
|
|
27
|
-
primaryLoading: string;
|
|
28
|
-
primarySmallLoading: string;
|
|
29
|
-
primarySmallQuietLoading: string;
|
|
30
|
-
primaryQuietLoading: string;
|
|
31
|
-
utility: string;
|
|
32
|
-
utilityDisabled: string;
|
|
33
|
-
utilityQuiet: string;
|
|
34
|
-
utilityQuietDisabled: string;
|
|
35
|
-
utilitySmall: string;
|
|
36
|
-
utilitySmallDisabled: string;
|
|
37
|
-
utilitySmallQuiet: string;
|
|
38
|
-
utilitySmallQuietDisabled: string;
|
|
39
|
-
utilityLoading: string;
|
|
40
|
-
utilitySmallLoading: string;
|
|
41
|
-
utilityQuietLoading: string;
|
|
42
|
-
utilitySmallQuietLoading: string;
|
|
43
|
-
negative: string;
|
|
44
|
-
negativeDisabled: string;
|
|
45
|
-
negativeQuiet: string;
|
|
46
|
-
negativeQuietDisabled: string;
|
|
47
|
-
negativeSmall: string;
|
|
48
|
-
negativeSmallDisabled: string;
|
|
49
|
-
negativeSmallQuiet: string;
|
|
50
|
-
negativeSmallQuietDisabled: string;
|
|
51
|
-
negativeLoading: string;
|
|
52
|
-
negativeSmallLoading: string;
|
|
53
|
-
negativeQuietLoading: string;
|
|
54
|
-
negativeSmallQuietLoading: string;
|
|
55
|
-
pill: string;
|
|
56
|
-
pillSmall: string;
|
|
57
|
-
pillLoading: string;
|
|
58
|
-
pillSmallLoading: string;
|
|
59
|
-
link: string;
|
|
60
|
-
linkSmall: string;
|
|
61
|
-
linkAsButton: string;
|
|
62
|
-
a11y: string;
|
|
63
|
-
fullWidth: string;
|
|
64
|
-
contentWidth: string;
|
|
65
|
-
};
|
|
66
5
|
declare const WarpButton_base: import("@open-wc/form-control").Constructor<import("@open-wc/form-control").FormControlInterface> & typeof LitElement;
|
|
67
6
|
/**
|
|
68
7
|
* Buttons are used to perform actions, widh different visuals for different needs.
|
|
@@ -2667,5 +2667,5 @@ ${Ae.join(", ")}.`)}firstUpdated(){this.autofocus&&!this.href&&setTimeout(()=>th
|
|
|
2667
2667
|
</w-link>`:te`<button type=${this.type||"button"} class=${this._classes} @click="${this._handleButtonClick}">
|
|
2668
2668
|
<slot></slot>
|
|
2669
2669
|
</button>`}
|
|
2670
|
-
${this.loading?te`<span class="sr-only" role="progressbar" aria-valuenow="{0}" aria-valuetext=${this.ariaValueTextLoading}></span>`:null}`}};y.shadowRootOptions={...je.shadowRootOptions,delegatesFocus:!0},y.styles=[re,Ve,xr`:host([full-width]) { width: 100%; }`],m([S({reflect:!0})],y.prototype,"type",2),m([S({type:Boolean,reflect:!0})],y.prototype,"autofocus",2),m([S({reflect:!0})],y.prototype,"variant",2),m([S({type:Boolean,reflect:!0})],y.prototype,"quiet",2),m([S({type:Boolean,reflect:!0})],y.prototype,"small",2),m([S({type:Boolean,reflect:!0})],y.prototype,"loading",2),m([S({reflect:!0})],y.prototype,"href",2),m([S({reflect:!0})],y.prototype,"target",2),m([S({reflect:!0})],y.prototype,"rel",2),m([S({attribute:"full-width",type:Boolean,reflect:!0})],y.prototype,"fullWidth",2),m([S({attribute:"button-class",reflect:!0})],y.prototype,"buttonClass",2),m([S({reflect:!0})],y.prototype,"name",2),m([S({reflect:!0})],y.prototype,"value",2);customElements.get("w-button")||customElements.define("w-button",y);export{y as WarpButton
|
|
2670
|
+
${this.loading?te`<span class="sr-only" role="progressbar" aria-valuenow="{0}" aria-valuetext=${this.ariaValueTextLoading}></span>`:null}`}};y.shadowRootOptions={...je.shadowRootOptions,delegatesFocus:!0},y.styles=[re,Ve,xr`:host([full-width]) { width: 100%; }`],m([S({reflect:!0})],y.prototype,"type",2),m([S({type:Boolean,reflect:!0})],y.prototype,"autofocus",2),m([S({reflect:!0})],y.prototype,"variant",2),m([S({type:Boolean,reflect:!0})],y.prototype,"quiet",2),m([S({type:Boolean,reflect:!0})],y.prototype,"small",2),m([S({type:Boolean,reflect:!0})],y.prototype,"loading",2),m([S({reflect:!0})],y.prototype,"href",2),m([S({reflect:!0})],y.prototype,"target",2),m([S({reflect:!0})],y.prototype,"rel",2),m([S({attribute:"full-width",type:Boolean,reflect:!0})],y.prototype,"fullWidth",2),m([S({attribute:"button-class",reflect:!0})],y.prototype,"buttonClass",2),m([S({reflect:!0})],y.prototype,"name",2),m([S({reflect:!0})],y.prototype,"value",2);customElements.get("w-button")||customElements.define("w-button",y);export{y as WarpButton};
|
|
2671
2671
|
//# sourceMappingURL=index.js.map
|