@warp-ds/elements 2.8.2-next.6 → 2.9.0-next.1
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 +61 -2
- package/dist/index.d.ts +28 -6
- package/dist/packages/attention/attention.js +506 -233
- package/dist/packages/attention/attention.js.map +4 -4
- package/dist/packages/button/button.d.ts +8 -17
- package/dist/packages/button/button.js +494 -221
- package/dist/packages/button/button.js.map +4 -4
- package/dist/packages/button/button.react.stories.d.ts +1 -1
- package/dist/packages/button/styles/w-button.styles.d.ts +1 -0
- package/dist/packages/button/styles/w-button.styles.js +282 -0
- package/dist/packages/datepicker/datepicker.js +8 -15
- package/dist/packages/datepicker/datepicker.js.map +2 -2
- package/dist/packages/datepicker/styles/w-datepicker.styles.js +3 -9
- package/dist/packages/link/link.js +197 -217
- package/dist/packages/link/link.js.map +4 -4
- package/dist/packages/link/link.test.js +0 -14
- package/dist/packages/link/styles/w-link.styles.js +213 -0
- package/dist/packages/slider/slider.js +18 -17
- package/dist/packages/slider/slider.js.map +3 -3
- package/dist/packages/slider/slider.react.stories.js +6 -2
- package/dist/packages/slider/slider.stories.js +18 -12
- package/dist/packages/slider-thumb/slider-thumb.js +12 -12
- package/dist/packages/slider-thumb/slider-thumb.js.map +2 -2
- package/dist/web-types.json +22 -6
- package/package.json +1 -1
- package/dist/packages/link/styles.js +0 -236
- /package/dist/packages/link/{styles.d.ts → styles/w-link.styles.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
2
|
import '../link/link.js';
|
|
3
|
-
type ButtonVariant = 'primary' | 'secondary' | 'negative' | 'utility' | 'pill' | 'link';
|
|
3
|
+
type ButtonVariant = 'primary' | 'secondary' | 'negative' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet';
|
|
4
4
|
type ButtonType = 'button' | 'submit' | 'reset';
|
|
5
5
|
declare const WarpButton_base: import("@open-wc/form-control").Constructor<import("@open-wc/form-control").FormControlInterface> & typeof LitElement;
|
|
6
6
|
/**
|
|
@@ -10,6 +10,7 @@ declare const WarpButton_base: import("@open-wc/form-control").Constructor<impor
|
|
|
10
10
|
*/
|
|
11
11
|
declare class WarpButton extends WarpButton_base {
|
|
12
12
|
#private;
|
|
13
|
+
static styles: import("lit").CSSResult[];
|
|
13
14
|
static shadowRootOptions: {
|
|
14
15
|
delegatesFocus: boolean;
|
|
15
16
|
mode: ShadowRootMode;
|
|
@@ -20,40 +21,30 @@ declare class WarpButton extends WarpButton_base {
|
|
|
20
21
|
autofocus: boolean;
|
|
21
22
|
variant: ButtonVariant;
|
|
22
23
|
/**
|
|
23
|
-
* @
|
|
24
|
+
* @deprecated Use `variant="quiet"` instead
|
|
24
25
|
*/
|
|
25
26
|
quiet: boolean;
|
|
27
|
+
iconOnly: boolean;
|
|
26
28
|
small: boolean;
|
|
27
29
|
loading: boolean;
|
|
28
30
|
href: string;
|
|
29
31
|
target: string;
|
|
32
|
+
disabled: boolean;
|
|
30
33
|
rel: string;
|
|
31
34
|
fullWidth: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button.
|
|
37
|
+
*/
|
|
32
38
|
buttonClass: string;
|
|
33
39
|
name: string;
|
|
34
40
|
value: string;
|
|
35
41
|
/** @internal */
|
|
36
42
|
ariaValueTextLoading: string;
|
|
37
|
-
static styles: import("lit").CSSResult[];
|
|
38
43
|
updated(changedProperties: PropertyValues<this>): void;
|
|
39
44
|
constructor();
|
|
40
45
|
connectedCallback(): void;
|
|
41
46
|
firstUpdated(): void;
|
|
42
47
|
/** @internal */
|
|
43
|
-
get _primaryClasses(): string[];
|
|
44
|
-
/** @internal */
|
|
45
|
-
get _secondaryClasses(): string[];
|
|
46
|
-
/** @internal */
|
|
47
|
-
get _utilityClasses(): string[];
|
|
48
|
-
/** @internal */
|
|
49
|
-
get _negativeClasses(): string[];
|
|
50
|
-
/** @internal */
|
|
51
|
-
get _pillClasses(): string[];
|
|
52
|
-
/** @internal */
|
|
53
|
-
get _linkClasses(): string[];
|
|
54
|
-
/** @internal */
|
|
55
|
-
get _classes(): string;
|
|
56
|
-
/** @internal */
|
|
57
48
|
_handleButtonClick(): void;
|
|
58
49
|
resetFormControl(): void;
|
|
59
50
|
render(): import("lit").TemplateResult<1>;
|