@warp-ds/elements 2.3.0-next.1 → 2.3.0-next.3
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 +3295 -403
- package/dist/index.d.ts +484 -0
- package/dist/packages/combobox/combobox.react.stories.d.ts +28 -0
- package/dist/packages/combobox/combobox.react.stories.js +90 -0
- package/dist/packages/combobox/combobox.stories.d.ts +18 -0
- package/dist/packages/combobox/combobox.stories.js +117 -0
- package/dist/packages/combobox/index.d.ts +85 -0
- package/dist/packages/combobox/index.js +2492 -0
- package/dist/packages/combobox/index.js.map +7 -0
- package/dist/packages/combobox/locales/da/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/da/messages.mjs +1 -0
- package/dist/packages/combobox/locales/en/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/en/messages.mjs +1 -0
- package/dist/packages/combobox/locales/fi/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/fi/messages.mjs +1 -0
- package/dist/packages/combobox/locales/nb/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/nb/messages.mjs +1 -0
- package/dist/packages/combobox/locales/sv/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/sv/messages.mjs +1 -0
- package/dist/packages/combobox/react.d.ts +7 -0
- package/dist/packages/combobox/react.js +17 -0
- package/dist/packages/combobox/styles.d.ts +1 -0
- package/dist/packages/combobox/styles.js +2 -0
- package/dist/packages/datepicker/DatePicker.test.d.ts +2 -0
- package/dist/packages/datepicker/DatePicker.test.js +69 -0
- package/dist/packages/datepicker/datepicker.d.ts +102 -0
- package/dist/packages/datepicker/datepicker.js +2785 -0
- package/dist/packages/datepicker/datepicker.js.map +7 -0
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +18 -0
- package/dist/packages/datepicker/datepicker.react.stories.js +26 -0
- package/dist/packages/datepicker/datepicker.stories.d.ts +12 -0
- package/dist/packages/datepicker/datepicker.stories.js +51 -0
- package/dist/packages/datepicker/datepicker.test.d.ts +2 -0
- package/dist/packages/datepicker/datepicker.test.js +62 -0
- package/dist/packages/datepicker/index.d.ts +1 -0
- package/dist/packages/datepicker/index.js +1 -0
- package/dist/packages/datepicker/locales/da/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/da/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/en/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/en/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/fi/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/fi/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/nb/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/nb/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/sv/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/sv/messages.mjs +1 -0
- package/dist/packages/datepicker/react.d.ts +5 -0
- package/dist/packages/datepicker/react.js +15 -0
- package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.js +15 -0
- package/dist/packages/datepicker/styles/w-datepicker-day.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-day.styles.js +64 -0
- package/dist/packages/datepicker/styles/w-datepicker-month.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-month.styles.js +72 -0
- package/dist/packages/datepicker/styles/w-datepicker.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker.styles.js +101 -0
- package/dist/packages/datepicker/utils.d.ts +13 -0
- package/dist/packages/datepicker/utils.js +28 -0
- package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +15 -0
- package/dist/packages/dead-toggle/dead-toggle.react.stories.js +34 -0
- package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +14 -0
- package/dist/packages/dead-toggle/dead-toggle.stories.js +45 -0
- package/dist/packages/dead-toggle/dead-toggle.test.d.ts +1 -0
- package/dist/packages/dead-toggle/dead-toggle.test.js +9 -0
- package/dist/packages/dead-toggle/index.d.ts +17 -0
- package/dist/packages/dead-toggle/index.js +2548 -0
- package/dist/packages/dead-toggle/index.js.map +7 -0
- package/dist/packages/dead-toggle/react.d.ts +2 -0
- package/dist/packages/dead-toggle/react.js +11 -0
- package/dist/packages/link/index.js +2640 -93
- package/dist/packages/link/index.js.map +7 -0
- package/dist/packages/link/link.react.stories.d.ts +21 -0
- package/dist/packages/link/link.react.stories.js +96 -0
- package/dist/packages/link/link.stories.d.ts +20 -0
- package/dist/packages/link/link.stories.js +110 -0
- package/dist/packages/link/link.test.d.ts +1 -0
- package/dist/packages/link/link.test.js +9 -0
- package/dist/packages/link/react.d.ts +2 -0
- package/dist/packages/link/react.js +11 -0
- package/dist/packages/pageindicator/index.d.ts +10 -0
- package/dist/packages/pageindicator/index.js +32 -0
- package/dist/packages/pageindicator/index.js.map +7 -0
- package/dist/packages/pageindicator/pageindicator.react.stories.d.ts +19 -0
- package/dist/packages/pageindicator/pageindicator.react.stories.js +20 -0
- package/dist/packages/pageindicator/pageindicator.stories.d.ts +32 -0
- package/dist/packages/pageindicator/pageindicator.stories.js +71 -0
- package/dist/packages/pageindicator/react.d.ts +2 -0
- package/dist/packages/pageindicator/react.js +11 -0
- package/dist/packages/pageindicator/style.d.ts +1 -0
- package/dist/packages/pageindicator/style.js +26 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +66 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +2592 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +7 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.d.ts +8 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +11 -0
- package/dist/packages/rip-and-tear-checkbox/index.d.ts +1 -0
- package/dist/packages/rip-and-tear-checkbox/index.js +4 -0
- package/dist/packages/rip-and-tear-checkbox/react.d.ts +5 -0
- package/dist/packages/rip-and-tear-checkbox/react.js +15 -0
- package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.d.ts +12 -0
- package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.js +10 -0
- package/dist/packages/rip-and-tear-checkbox/styles.d.ts +0 -0
- package/dist/packages/rip-and-tear-checkbox/styles.js +0 -0
- package/dist/packages/rip-and-tear-radio/base-element.d.ts +46 -0
- package/dist/packages/rip-and-tear-radio/base-element.js +100 -0
- package/dist/packages/rip-and-tear-radio/custom-error-validator.d.ts +6 -0
- package/dist/packages/rip-and-tear-radio/custom-error-validator.js +22 -0
- package/dist/packages/rip-and-tear-radio/form-associated-element.d.ts +103 -0
- package/dist/packages/rip-and-tear-radio/form-associated-element.js +282 -0
- package/dist/packages/rip-and-tear-radio/host-styles.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/host-styles.js +12 -0
- package/dist/packages/rip-and-tear-radio/index.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/index.js +6 -0
- package/dist/packages/rip-and-tear-radio/invalid.d.ts +8 -0
- package/dist/packages/rip-and-tear-radio/invalid.js +5 -0
- package/dist/packages/rip-and-tear-radio/math.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/math.js +4 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js +59 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-group.d.ts +72 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js +2649 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.d.ts +0 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js +1 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio.d.ts +38 -0
- package/dist/packages/rip-and-tear-radio/radio.js +2563 -0
- package/dist/packages/rip-and-tear-radio/radio.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.d.ts +8 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.js +2654 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/react.d.ts +9 -0
- package/dist/packages/rip-and-tear-radio/react.js +22 -0
- package/dist/packages/rip-and-tear-radio/required-validator.d.ts +11 -0
- package/dist/packages/rip-and-tear-radio/required-validator.js +34 -0
- package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.d.ts +9 -0
- package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.js +10 -0
- package/dist/packages/rip-and-tear-radio/slot.d.ts +20 -0
- package/dist/packages/rip-and-tear-radio/slot.js +71 -0
- package/dist/packages/rip-and-tear-radio/watch.d.ts +26 -0
- package/dist/packages/rip-and-tear-radio/watch.js +39 -0
- package/dist/packages/steps/index.d.ts +36 -0
- package/dist/packages/steps/index.js +2465 -0
- package/dist/packages/steps/index.js.map +7 -0
- package/dist/packages/steps/locales/da/messages.d.mts +1 -0
- package/dist/packages/steps/locales/da/messages.mjs +1 -0
- package/dist/packages/steps/locales/en/messages.d.mts +1 -0
- package/dist/packages/steps/locales/en/messages.mjs +1 -0
- package/dist/packages/steps/locales/fi/messages.d.mts +1 -0
- package/dist/packages/steps/locales/fi/messages.mjs +1 -0
- package/dist/packages/steps/locales/nb/messages.d.mts +1 -0
- package/dist/packages/steps/locales/nb/messages.mjs +1 -0
- package/dist/packages/steps/locales/sv/messages.d.mts +1 -0
- package/dist/packages/steps/locales/sv/messages.mjs +1 -0
- package/dist/packages/steps/react.d.ts +3 -0
- package/dist/packages/steps/react.js +16 -0
- package/dist/packages/steps/steps.react.stories.d.ts +15 -0
- package/dist/packages/steps/steps.react.stories.js +112 -0
- package/dist/packages/steps/steps.stories.d.ts +12 -0
- package/dist/packages/steps/steps.stories.js +172 -0
- package/dist/packages/steps/styles.d.ts +1 -0
- package/dist/packages/steps/styles.js +2 -0
- package/dist/packages/switch/index.d.ts +15 -0
- package/dist/packages/switch/index.js +2455 -0
- package/dist/packages/switch/index.js.map +7 -0
- package/dist/packages/switch/react.d.ts +5 -0
- package/dist/packages/switch/react.js +15 -0
- package/dist/packages/switch/styles.d.ts +1 -0
- package/dist/packages/switch/styles.js +2 -0
- package/dist/packages/switch/switch.react.stories.d.ts +15 -0
- package/dist/packages/switch/switch.react.stories.js +29 -0
- package/dist/packages/switch/switch.stories.d.ts +9 -0
- package/dist/packages/switch/switch.stories.js +34 -0
- package/dist/packages/tabs/index.d.ts +4 -0
- package/dist/packages/tabs/index.js +3 -0
- package/dist/packages/tabs/react.d.ts +12 -0
- package/dist/packages/tabs/react.js +31 -0
- package/dist/packages/tabs/styles.d.ts +1 -0
- package/dist/packages/tabs/styles.js +2 -0
- package/dist/packages/tabs/tab-panel.d.ts +20 -0
- package/dist/packages/tabs/tab-panel.js +51 -0
- package/dist/packages/tabs/tab.d.ts +18 -0
- package/dist/packages/tabs/tab.js +2463 -0
- package/dist/packages/tabs/tab.js.map +7 -0
- package/dist/packages/tabs/tabs.d.ts +40 -0
- package/dist/packages/tabs/tabs.js +2448 -0
- package/dist/packages/tabs/tabs.js.map +7 -0
- package/dist/packages/tabs/tabs.react.stories.d.ts +15 -0
- package/dist/packages/tabs/tabs.react.stories.js +51 -0
- package/dist/packages/tabs/tabs.stories.d.ts +8 -0
- package/dist/packages/tabs/tabs.stories.js +84 -0
- package/dist/packages/toggle-styles.d.ts +1 -0
- package/dist/packages/toggle-styles.js +109 -0
- package/dist/web-types.json +496 -1
- package/package.json +184 -3
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import './index.js';
|
|
3
|
+
const meta = {
|
|
4
|
+
title: 'Components/Steps',
|
|
5
|
+
component: 'w-steps',
|
|
6
|
+
argTypes: {
|
|
7
|
+
horizontal: {
|
|
8
|
+
control: { type: 'boolean' },
|
|
9
|
+
description: 'Display steps in horizontal layout',
|
|
10
|
+
defaultValue: false,
|
|
11
|
+
},
|
|
12
|
+
right: {
|
|
13
|
+
control: { type: 'boolean' },
|
|
14
|
+
description: 'Align steps to the right (vertical layout only)',
|
|
15
|
+
defaultValue: false,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
export const Default = {
|
|
21
|
+
args: {
|
|
22
|
+
horizontal: false,
|
|
23
|
+
right: false,
|
|
24
|
+
},
|
|
25
|
+
render: (args) => html `
|
|
26
|
+
<w-steps ?horizontal=${args.horizontal} ?right=${args.right}>
|
|
27
|
+
<w-step completed>
|
|
28
|
+
<h3>Step 1: Account Setup</h3>
|
|
29
|
+
<p>Create your account and verify your email address.</p>
|
|
30
|
+
</w-step>
|
|
31
|
+
<w-step active>
|
|
32
|
+
<h3>Step 2: Profile Information</h3>
|
|
33
|
+
<p>Fill in your personal details and preferences.</p>
|
|
34
|
+
</w-step>
|
|
35
|
+
<w-step>
|
|
36
|
+
<h3>Step 3: Payment Method</h3>
|
|
37
|
+
<p>Add a payment method to complete your registration.</p>
|
|
38
|
+
</w-step>
|
|
39
|
+
<w-step>
|
|
40
|
+
<h3>Step 4: Confirmation</h3>
|
|
41
|
+
<p>Review and confirm your information.</p>
|
|
42
|
+
</w-step>
|
|
43
|
+
</w-steps>
|
|
44
|
+
`,
|
|
45
|
+
};
|
|
46
|
+
export const Horizontal = {
|
|
47
|
+
args: {
|
|
48
|
+
horizontal: true,
|
|
49
|
+
right: false,
|
|
50
|
+
},
|
|
51
|
+
render: (args) => html `
|
|
52
|
+
<w-steps ?horizontal=${args.horizontal} ?right=${args.right}>
|
|
53
|
+
<w-step completed>
|
|
54
|
+
<h4>Setup</h4>
|
|
55
|
+
<p>Account created</p>
|
|
56
|
+
</w-step>
|
|
57
|
+
<w-step completed>
|
|
58
|
+
<h4>Profile</h4>
|
|
59
|
+
<p>Information added</p>
|
|
60
|
+
</w-step>
|
|
61
|
+
<w-step active>
|
|
62
|
+
<h4>Payment</h4>
|
|
63
|
+
<p>Add payment method</p>
|
|
64
|
+
</w-step>
|
|
65
|
+
<w-step>
|
|
66
|
+
<h4>Done</h4>
|
|
67
|
+
<p>Complete setup</p>
|
|
68
|
+
</w-step>
|
|
69
|
+
</w-steps>
|
|
70
|
+
`,
|
|
71
|
+
};
|
|
72
|
+
export const RightAligned = {
|
|
73
|
+
args: {
|
|
74
|
+
horizontal: false,
|
|
75
|
+
right: true,
|
|
76
|
+
},
|
|
77
|
+
render: (args) => html `
|
|
78
|
+
<w-steps ?horizontal=${args.horizontal} ?right=${args.right}>
|
|
79
|
+
<w-step completed>
|
|
80
|
+
<h3>Order Placed</h3>
|
|
81
|
+
<p>Your order has been received and is being processed.</p>
|
|
82
|
+
<small>2:34 PM</small>
|
|
83
|
+
</w-step>
|
|
84
|
+
<w-step completed>
|
|
85
|
+
<h3>Payment Confirmed</h3>
|
|
86
|
+
<p>Payment has been successfully processed.</p>
|
|
87
|
+
<small>2:35 PM</small>
|
|
88
|
+
</w-step>
|
|
89
|
+
<w-step active>
|
|
90
|
+
<h3>Preparing for Shipment</h3>
|
|
91
|
+
<p>Your items are being prepared for shipment.</p>
|
|
92
|
+
</w-step>
|
|
93
|
+
<w-step>
|
|
94
|
+
<h3>Shipped</h3>
|
|
95
|
+
<p>Your order is on its way!</p>
|
|
96
|
+
</w-step>
|
|
97
|
+
</w-steps>
|
|
98
|
+
`,
|
|
99
|
+
};
|
|
100
|
+
export const SimpleSteps = {
|
|
101
|
+
render: () => html `
|
|
102
|
+
<w-steps>
|
|
103
|
+
<w-step completed>
|
|
104
|
+
<strong>Step 1</strong>
|
|
105
|
+
</w-step>
|
|
106
|
+
<w-step completed>
|
|
107
|
+
<strong>Step 2</strong>
|
|
108
|
+
</w-step>
|
|
109
|
+
<w-step active>
|
|
110
|
+
<strong>Step 3</strong>
|
|
111
|
+
</w-step>
|
|
112
|
+
<w-step>
|
|
113
|
+
<strong>Step 4</strong>
|
|
114
|
+
</w-step>
|
|
115
|
+
<w-step>
|
|
116
|
+
<strong>Step 5</strong>
|
|
117
|
+
</w-step>
|
|
118
|
+
</w-steps>
|
|
119
|
+
`,
|
|
120
|
+
};
|
|
121
|
+
export const SimpleHorizontal = {
|
|
122
|
+
render: () => html `
|
|
123
|
+
<w-steps horizontal>
|
|
124
|
+
<w-step completed>
|
|
125
|
+
<strong>Start</strong>
|
|
126
|
+
</w-step>
|
|
127
|
+
<w-step completed>
|
|
128
|
+
<strong>Progress</strong>
|
|
129
|
+
</w-step>
|
|
130
|
+
<w-step active>
|
|
131
|
+
<strong>Current</strong>
|
|
132
|
+
</w-step>
|
|
133
|
+
<w-step>
|
|
134
|
+
<strong>Next</strong>
|
|
135
|
+
</w-step>
|
|
136
|
+
<w-step>
|
|
137
|
+
<strong>End</strong>
|
|
138
|
+
</w-step>
|
|
139
|
+
</w-steps>
|
|
140
|
+
`,
|
|
141
|
+
};
|
|
142
|
+
export const AllCompleted = {
|
|
143
|
+
render: () => html `
|
|
144
|
+
<w-steps>
|
|
145
|
+
<w-step completed>
|
|
146
|
+
<h3>Registration</h3>
|
|
147
|
+
<p>Account successfully created</p>
|
|
148
|
+
</w-step>
|
|
149
|
+
<w-step completed>
|
|
150
|
+
<h3>Verification</h3>
|
|
151
|
+
<p>Email address verified</p>
|
|
152
|
+
</w-step>
|
|
153
|
+
<w-step completed>
|
|
154
|
+
<h3>Setup</h3>
|
|
155
|
+
<p>Profile information completed</p>
|
|
156
|
+
</w-step>
|
|
157
|
+
<w-step completed>
|
|
158
|
+
<h3>Welcome</h3>
|
|
159
|
+
<p>You're all set to get started!</p>
|
|
160
|
+
</w-step>
|
|
161
|
+
</w-steps>
|
|
162
|
+
`,
|
|
163
|
+
};
|
|
164
|
+
export const MinimalExample = {
|
|
165
|
+
render: () => html `
|
|
166
|
+
<w-steps>
|
|
167
|
+
<w-step completed>First</w-step>
|
|
168
|
+
<w-step active>Second</w-step>
|
|
169
|
+
<w-step>Third</w-step>
|
|
170
|
+
</w-steps>
|
|
171
|
+
`,
|
|
172
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const styles = css `*,:before,:after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0}.text-center{text-align:center}.text-right{text-align:right}.border-2{border-width:2px}.rounded-full{border-radius:9999px}.flex{display:flex}.grid{display:grid}.flex-1{flex:1}.gap-x-16{column-gap:1.6rem}.gap-y-16{row-gap:1.6rem}.row-span-2{grid-row:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.row-start-1{grid-row-start:1}.row-start-2{grid-row-start:2}.col-start-2{grid-column-start:2}.grid-flow-col{grid-auto-flow:column}.grid-rows-\\[20px_auto\\]{grid-template-rows:20px auto}.grid-rows-\\[auto_20px\\]{grid-template-rows:auto 20px}.grid-cols-\\[1fr_20px_1fr\\]{grid-template-columns:1fr 20px 1fr}.grid-cols-\\[1fr_20px\\]{grid-template-columns:1fr 20px}.grid-cols-\\[20px_1fr\\]{grid-template-columns:20px 1fr}.items-center{align-items:center}.justify-self-end{justify-self:end}.justify-self-center{justify-self:center}.static{position:static}.s-bg{background-color:var(--w-s-color-background)}.s-bg-disabled{background-color:var(--w-s-color-background-disabled)}.s-bg-primary{background-color:var(--w-s-color-background-primary)}.s-icon-inverted{color:var(--w-s-color-icon-inverted)}.s-border{border-color:var(--w-s-color-border)}.s-border-primary{border-color:var(--w-s-color-border-primary)}.h-2{height:.2rem}.h-20{height:2rem}.h-full{height:100%}.w-2{width:.2rem}.w-20{width:2rem}.w-full{width:100%}.last\\:mb-0:last-child{margin-bottom:0}.px-16{padding-left:1.6rem;padding-right:1.6rem}.pb-0{padding-bottom:0}.pb-32{padding-bottom:3.2rem}.invisible{visibility:hidden}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}`;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class WarpSwitch extends LitElement {
|
|
3
|
+
value: boolean;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
/** @internal */
|
|
7
|
+
get _baseClasses(): string;
|
|
8
|
+
/** @internal */
|
|
9
|
+
get _trackClasses(): string;
|
|
10
|
+
/** @internal */
|
|
11
|
+
get _handleClasses(): string;
|
|
12
|
+
/** @internal */
|
|
13
|
+
_handleClick(): void;
|
|
14
|
+
render(): import("lit").TemplateResult<1>;
|
|
15
|
+
}
|