@warp-ds/elements 2.3.0-next.9 → 2.3.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 +156 -3728
- package/dist/index.d.ts +34 -717
- package/dist/packages/affix/index.js.map +2 -2
- package/dist/packages/alert/index.js.map +2 -2
- package/dist/packages/attention/attention.stories.js +4 -1
- package/dist/packages/attention/index.js +55 -19
- package/dist/packages/attention/index.js.map +3 -3
- package/dist/packages/attention/styles.js +1 -1
- package/dist/packages/badge/index.js.map +2 -2
- package/dist/packages/box/index.js.map +2 -2
- package/dist/packages/breadcrumbs/index.js.map +2 -2
- package/dist/packages/button/button.react.stories.d.ts +1 -1
- package/dist/packages/button/button.stories.d.ts +4 -4
- package/dist/packages/button/button.stories.js +4 -4
- package/dist/packages/button/button.test.js +30 -1
- package/dist/packages/button/index.d.ts +2 -0
- package/dist/packages/button/index.js +49 -13
- package/dist/packages/button/index.js.map +3 -3
- package/dist/packages/card/index.js.map +2 -2
- package/dist/packages/datepicker/datepicker.d.ts +1 -0
- package/dist/packages/datepicker/datepicker.js +439 -2732
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +1 -1
- package/dist/packages/datepicker/datepicker.test.js +27 -0
- package/dist/packages/datepicker/index.js +2785 -1
- package/dist/packages/datepicker/{datepicker.js.map → index.js.map} +3 -3
- package/dist/packages/expandable/index.js.map +2 -2
- package/dist/packages/link/index.d.ts +2 -8
- package/dist/packages/link/index.js +43 -7
- package/dist/packages/link/index.js.map +4 -4
- package/dist/packages/link/link.react.stories.d.ts +6 -4
- package/dist/packages/link/link.react.stories.js +22 -12
- package/dist/packages/link/link.stories.d.ts +5 -3
- package/dist/packages/link/link.stories.js +22 -12
- package/dist/packages/link/styles.js +36 -0
- package/dist/packages/modal/index.js.map +2 -2
- package/dist/packages/modal/modal-header.js.map +2 -2
- package/dist/packages/modal/modal.stories.d.ts +3 -3
- package/dist/packages/modal/modal.stories.js +32 -32
- package/dist/packages/pill/index.js.map +2 -2
- package/dist/packages/select/index.d.ts +26 -5
- package/dist/packages/select/index.js +17 -16
- package/dist/packages/select/index.js.map +3 -3
- package/dist/packages/select/select.react.stories.d.ts +1 -1
- package/dist/packages/select/select.stories.d.ts +1 -1
- package/dist/packages/select/select.stories.js +3 -4
- package/dist/packages/select/select.test.js +30 -0
- package/dist/packages/textfield/index.d.ts +4 -0
- package/dist/packages/textfield/index.js +20 -19
- package/dist/packages/textfield/index.js.map +3 -3
- package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
- package/dist/packages/textfield/textfield.stories.d.ts +1 -0
- package/dist/packages/textfield/textfield.stories.js +17 -0
- package/dist/web-types.json +44 -707
- package/package.json +11 -89
- package/dist/packages/combobox/combobox.react.stories.d.ts +0 -28
- package/dist/packages/combobox/combobox.react.stories.js +0 -90
- package/dist/packages/combobox/combobox.stories.d.ts +0 -18
- package/dist/packages/combobox/combobox.stories.js +0 -117
- package/dist/packages/combobox/index.d.ts +0 -85
- package/dist/packages/combobox/index.js +0 -2492
- package/dist/packages/combobox/index.js.map +0 -7
- package/dist/packages/combobox/locales/da/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/da/messages.mjs +0 -1
- package/dist/packages/combobox/locales/en/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/en/messages.mjs +0 -1
- package/dist/packages/combobox/locales/fi/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/fi/messages.mjs +0 -1
- package/dist/packages/combobox/locales/nb/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/nb/messages.mjs +0 -1
- package/dist/packages/combobox/locales/sv/messages.d.mts +0 -1
- package/dist/packages/combobox/locales/sv/messages.mjs +0 -1
- package/dist/packages/combobox/react.d.ts +0 -7
- package/dist/packages/combobox/react.js +0 -17
- package/dist/packages/combobox/styles.d.ts +0 -1
- package/dist/packages/combobox/styles.js +0 -2
- package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +0 -15
- package/dist/packages/dead-toggle/dead-toggle.react.stories.js +0 -34
- package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +0 -14
- package/dist/packages/dead-toggle/dead-toggle.stories.js +0 -45
- package/dist/packages/dead-toggle/dead-toggle.test.d.ts +0 -1
- package/dist/packages/dead-toggle/dead-toggle.test.js +0 -9
- package/dist/packages/dead-toggle/index.d.ts +0 -17
- package/dist/packages/dead-toggle/index.js +0 -2547
- package/dist/packages/dead-toggle/index.js.map +0 -7
- package/dist/packages/dead-toggle/react.d.ts +0 -2
- package/dist/packages/dead-toggle/react.js +0 -11
- package/dist/packages/pageindicator/index.d.ts +0 -10
- package/dist/packages/pageindicator/index.js +0 -32
- package/dist/packages/pageindicator/index.js.map +0 -7
- package/dist/packages/pageindicator/pageindicator.react.stories.d.ts +0 -19
- package/dist/packages/pageindicator/pageindicator.react.stories.js +0 -20
- package/dist/packages/pageindicator/pageindicator.stories.d.ts +0 -32
- package/dist/packages/pageindicator/pageindicator.stories.js +0 -71
- package/dist/packages/pageindicator/react.d.ts +0 -2
- package/dist/packages/pageindicator/react.js +0 -11
- package/dist/packages/pageindicator/style.d.ts +0 -1
- package/dist/packages/pageindicator/style.js +0 -26
- package/dist/packages/pagination/index.d.ts +0 -32
- package/dist/packages/pagination/index.js +0 -2500
- package/dist/packages/pagination/index.js.map +0 -7
- package/dist/packages/pagination/locales/da/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/da/messages.mjs +0 -1
- package/dist/packages/pagination/locales/en/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/en/messages.mjs +0 -1
- package/dist/packages/pagination/locales/fi/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/fi/messages.mjs +0 -1
- package/dist/packages/pagination/locales/nb/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/nb/messages.mjs +0 -1
- package/dist/packages/pagination/locales/sv/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/sv/messages.mjs +0 -1
- package/dist/packages/pagination/pagination.react.stories.d.ts +0 -21
- package/dist/packages/pagination/pagination.react.stories.js +0 -45
- package/dist/packages/pagination/pagination.stories.d.ts +0 -14
- package/dist/packages/pagination/pagination.stories.js +0 -56
- package/dist/packages/pagination/pagination.test.d.ts +0 -1
- package/dist/packages/pagination/pagination.test.js +0 -76
- package/dist/packages/pagination/react.d.ts +0 -5
- package/dist/packages/pagination/react.js +0 -15
- package/dist/packages/pagination/styles.d.ts +0 -1
- package/dist/packages/pagination/styles.js +0 -2
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.d.ts +0 -10
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.js +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.js.map +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +0 -66
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +0 -2591
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +0 -7
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.d.ts +0 -11
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +0 -25
- package/dist/packages/rip-and-tear-checkbox/index.d.ts +0 -1
- package/dist/packages/rip-and-tear-checkbox/index.js +0 -6
- package/dist/packages/rip-and-tear-checkbox/react.d.ts +0 -7
- package/dist/packages/rip-and-tear-checkbox/react.js +0 -20
- package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.d.ts +0 -12
- package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.js +0 -10
- 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 +0 -46
- package/dist/packages/rip-and-tear-radio/base-element.js +0 -100
- package/dist/packages/rip-and-tear-radio/custom-error-validator.d.ts +0 -6
- package/dist/packages/rip-and-tear-radio/custom-error-validator.js +0 -22
- package/dist/packages/rip-and-tear-radio/form-associated-element.d.ts +0 -103
- package/dist/packages/rip-and-tear-radio/form-associated-element.js +0 -282
- package/dist/packages/rip-and-tear-radio/host-styles.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/host-styles.js +0 -12
- package/dist/packages/rip-and-tear-radio/index.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/index.js +0 -6
- package/dist/packages/rip-and-tear-radio/invalid.d.ts +0 -8
- package/dist/packages/rip-and-tear-radio/invalid.js +0 -5
- package/dist/packages/rip-and-tear-radio/math.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/math.js +0 -4
- package/dist/packages/rip-and-tear-radio/radio-group-styles.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js +0 -59
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio-group.d.ts +0 -72
- package/dist/packages/rip-and-tear-radio/radio-group.js +0 -2648
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio-styles.d.ts +0 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js +0 -1
- package/dist/packages/rip-and-tear-radio/radio-styles.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio.d.ts +0 -38
- package/dist/packages/rip-and-tear-radio/radio.js +0 -2562
- package/dist/packages/rip-and-tear-radio/radio.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/radio.stories.d.ts +0 -8
- package/dist/packages/rip-and-tear-radio/radio.stories.js +0 -2653
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +0 -7
- package/dist/packages/rip-and-tear-radio/react.d.ts +0 -9
- package/dist/packages/rip-and-tear-radio/react.js +0 -22
- package/dist/packages/rip-and-tear-radio/required-validator.d.ts +0 -11
- package/dist/packages/rip-and-tear-radio/required-validator.js +0 -34
- package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.d.ts +0 -9
- package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.js +0 -10
- package/dist/packages/rip-and-tear-radio/slot.d.ts +0 -20
- package/dist/packages/rip-and-tear-radio/slot.js +0 -71
- package/dist/packages/rip-and-tear-radio/watch.d.ts +0 -26
- package/dist/packages/rip-and-tear-radio/watch.js +0 -39
- package/dist/packages/slider/Slider.d.ts +0 -2
- package/dist/packages/slider/Slider.js +0 -8
- package/dist/packages/slider/SliderThumb.d.ts +0 -2
- package/dist/packages/slider/SliderThumb.js +0 -8
- package/dist/packages/slider/index.d.ts +0 -2
- package/dist/packages/slider/index.js +0 -2
- package/dist/packages/slider/oddbird-css-anchor-positioning.d.ts +0 -2
- package/dist/packages/slider/oddbird-css-anchor-positioning.js +0 -3
- package/dist/packages/slider/react.d.ts +0 -8
- package/dist/packages/slider/react.js +0 -20
- package/dist/packages/slider/slider-thumb.d.ts +0 -57
- package/dist/packages/slider/slider-thumb.js +0 -2705
- package/dist/packages/slider/slider-thumb.js.map +0 -7
- package/dist/packages/slider/slider.d.ts +0 -46
- package/dist/packages/slider/slider.js +0 -2587
- package/dist/packages/slider/slider.js.map +0 -7
- package/dist/packages/slider/slider.react.stories.d.ts +0 -18
- package/dist/packages/slider/slider.react.stories.js +0 -118
- package/dist/packages/slider/slider.stories.d.ts +0 -18
- package/dist/packages/slider/slider.stories.js +0 -197
- package/dist/packages/slider/slider.test.d.ts +0 -4
- package/dist/packages/slider/slider.test.js +0 -83
- package/dist/packages/slider/styles/w-slider-thumb.styles.d.ts +0 -1
- package/dist/packages/slider/styles/w-slider-thumb.styles.js +0 -167
- package/dist/packages/slider/styles/w-slider.styles.d.ts +0 -1
- package/dist/packages/slider/styles/w-slider.styles.js +0 -134
- package/dist/packages/slider/styles.d.ts +0 -1
- package/dist/packages/slider/styles.js +0 -2
- package/dist/packages/steps/index.d.ts +0 -36
- package/dist/packages/steps/index.js +0 -2465
- package/dist/packages/steps/index.js.map +0 -7
- package/dist/packages/steps/locales/da/messages.d.mts +0 -1
- package/dist/packages/steps/locales/da/messages.mjs +0 -1
- package/dist/packages/steps/locales/en/messages.d.mts +0 -1
- package/dist/packages/steps/locales/en/messages.mjs +0 -1
- package/dist/packages/steps/locales/fi/messages.d.mts +0 -1
- package/dist/packages/steps/locales/fi/messages.mjs +0 -1
- package/dist/packages/steps/locales/nb/messages.d.mts +0 -1
- package/dist/packages/steps/locales/nb/messages.mjs +0 -1
- package/dist/packages/steps/locales/sv/messages.d.mts +0 -1
- package/dist/packages/steps/locales/sv/messages.mjs +0 -1
- package/dist/packages/steps/react.d.ts +0 -3
- package/dist/packages/steps/react.js +0 -16
- package/dist/packages/steps/steps.react.stories.d.ts +0 -15
- package/dist/packages/steps/steps.react.stories.js +0 -112
- package/dist/packages/steps/steps.stories.d.ts +0 -12
- package/dist/packages/steps/steps.stories.js +0 -172
- package/dist/packages/steps/styles.d.ts +0 -1
- package/dist/packages/steps/styles.js +0 -2
- package/dist/packages/switch/index.d.ts +0 -15
- package/dist/packages/switch/index.js +0 -2455
- package/dist/packages/switch/index.js.map +0 -7
- package/dist/packages/switch/react.d.ts +0 -5
- package/dist/packages/switch/react.js +0 -15
- package/dist/packages/switch/styles.d.ts +0 -1
- package/dist/packages/switch/styles.js +0 -2
- package/dist/packages/switch/switch.react.stories.d.ts +0 -15
- package/dist/packages/switch/switch.react.stories.js +0 -29
- package/dist/packages/switch/switch.stories.d.ts +0 -9
- package/dist/packages/switch/switch.stories.js +0 -34
- package/dist/packages/tabs/index.d.ts +0 -4
- package/dist/packages/tabs/index.js +0 -3
- package/dist/packages/tabs/react.d.ts +0 -12
- package/dist/packages/tabs/react.js +0 -31
- package/dist/packages/tabs/styles.d.ts +0 -1
- package/dist/packages/tabs/styles.js +0 -2
- package/dist/packages/tabs/tab-panel.d.ts +0 -20
- package/dist/packages/tabs/tab-panel.js +0 -51
- package/dist/packages/tabs/tab.d.ts +0 -18
- package/dist/packages/tabs/tab.js +0 -2464
- package/dist/packages/tabs/tab.js.map +0 -7
- package/dist/packages/tabs/tabs.d.ts +0 -40
- package/dist/packages/tabs/tabs.js +0 -2448
- package/dist/packages/tabs/tabs.js.map +0 -7
- package/dist/packages/tabs/tabs.react.stories.d.ts +0 -15
- package/dist/packages/tabs/tabs.react.stories.js +0 -51
- package/dist/packages/tabs/tabs.stories.d.ts +0 -11
- package/dist/packages/tabs/tabs.stories.js +0 -93
- package/dist/packages/textarea/index.d.ts +0 -1
- package/dist/packages/textarea/index.js +0 -1
- package/dist/packages/textarea/locales/da/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/da/messages.mjs +0 -1
- package/dist/packages/textarea/locales/en/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/en/messages.mjs +0 -1
- package/dist/packages/textarea/locales/fi/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/fi/messages.mjs +0 -1
- package/dist/packages/textarea/locales/nb/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/nb/messages.mjs +0 -1
- package/dist/packages/textarea/locales/sv/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/sv/messages.mjs +0 -1
- package/dist/packages/textarea/react.d.ts +0 -11
- package/dist/packages/textarea/react.js +0 -21
- package/dist/packages/textarea/styles.d.ts +0 -1
- package/dist/packages/textarea/styles.js +0 -2
- package/dist/packages/textarea/textarea.d.ts +0 -48
- package/dist/packages/textarea/textarea.js +0 -2475
- package/dist/packages/textarea/textarea.js.map +0 -7
- package/dist/packages/textarea/textarea.react.stories.d.ts +0 -33
- package/dist/packages/textarea/textarea.react.stories.js +0 -41
- package/dist/packages/textarea/textarea.stories.d.ts +0 -19
- package/dist/packages/textarea/textarea.stories.js +0 -85
- package/dist/packages/textarea/textarea.test.d.ts +0 -1
- package/dist/packages/textarea/textarea.test.js +0 -49
- package/dist/packages/toggle-styles.d.ts +0 -1
- package/dist/packages/toggle-styles.js +0 -108
- package/dist/setup-tests.d.ts +0 -1
- package/dist/setup-tests.js +0 -1
|
@@ -1,172 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const styles: import("lit").CSSResult;
|
|
@@ -1,2 +0,0 @@
|
|
|
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}`;
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|