@warp-ds/elements 2.2.0-next.22 → 2.2.0-next.24
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 +32 -24
- package/dist/index.d.ts +3 -0
- package/dist/packages/attention/index.js +7 -7
- package/dist/packages/attention/index.js.map +3 -3
- package/dist/packages/button/index.js +3 -3
- package/dist/packages/button/index.js.map +3 -3
- package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +1 -1
- package/dist/packages/dead-toggle/index.d.ts +1 -0
- package/dist/packages/dead-toggle/index.js +109 -48
- package/dist/packages/dead-toggle/index.js.map +4 -4
- package/dist/packages/expandable/index.js +1 -1
- package/dist/packages/expandable/index.js.map +2 -2
- package/dist/packages/modal/index.js +2 -2
- package/dist/packages/modal/index.js.map +1 -1
- package/dist/packages/modal/modal-header.js +2 -2
- package/dist/packages/modal/modal-header.js.map +1 -1
- package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +2 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +2559 -127
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +4 -4
- package/dist/packages/rip-and-tear-checkbox/index.js +2559 -127
- package/dist/packages/rip-and-tear-checkbox/index.js.map +4 -4
- package/dist/packages/rip-and-tear-checkbox/styles.d.ts +0 -1
- package/dist/packages/rip-and-tear-checkbox/styles.js +0 -116
- package/dist/packages/rip-and-tear-radio/index.js +2529 -150
- package/dist/packages/rip-and-tear-radio/index.js.map +4 -4
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js +0 -1
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +2 -2
- package/dist/packages/rip-and-tear-radio/radio-group.js +2529 -150
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +4 -4
- package/dist/packages/rip-and-tear-radio/radio-styles.d.ts +0 -1
- package/dist/packages/rip-and-tear-radio/radio-styles.js +0 -169
- package/dist/packages/rip-and-tear-radio/radio-styles.js.map +4 -4
- package/dist/packages/rip-and-tear-radio/radio.js +2517 -137
- package/dist/packages/rip-and-tear-radio/radio.js.map +4 -4
- package/dist/packages/rip-and-tear-radio/radio.stories.js +2530 -151
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +4 -4
- package/dist/packages/toggle-styles.d.ts +1 -0
- package/dist/packages/toggle-styles.js +109 -0
- package/dist/vscode.html-custom-data.json +2 -1
- package/dist/web-types.json +7 -2
- package/package.json +1 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const styles: import("lit").CSSResult;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { css } from 'lit';
|
|
2
|
-
export const styles = css `
|
|
3
|
-
:host {
|
|
4
|
-
display: block;
|
|
5
|
-
user-select: none;
|
|
6
|
-
-webkit-user-select: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
[part~='control'] {
|
|
10
|
-
position: relative;
|
|
11
|
-
width: 2rem;
|
|
12
|
-
height: 2rem;
|
|
13
|
-
border-color: var(--w-s-color-border);
|
|
14
|
-
border-radius: 2px;
|
|
15
|
-
border-style: solid;
|
|
16
|
-
border-width: 1px;
|
|
17
|
-
background-color: var(--w-s-color-background);
|
|
18
|
-
transition-property: all;
|
|
19
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
20
|
-
transition-duration: 150ms;
|
|
21
|
-
margin-right: 0.8rem;
|
|
22
|
-
text-align: center;
|
|
23
|
-
line-height: var(--w-line-height-xs);
|
|
24
|
-
font-size: var(--w-font-size-m);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
[part~='base'] {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
position: relative;
|
|
31
|
-
color: currentColor;
|
|
32
|
-
vertical-align: middle;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
[part~='label'] {
|
|
37
|
-
display: block;
|
|
38
|
-
font-size: var(--w-font-size-m);
|
|
39
|
-
line-height: var(--w-line-height-m);
|
|
40
|
-
user-select: none;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
padding: 0.2rem 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
label:hover [part~='control']:not(:has(:checked, :indeterminate)) {
|
|
46
|
-
background-color: var(--w-s-color-background-hover);
|
|
47
|
-
border-color: var(--w-s-color-border-primary);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
label:hover [part~='control']:has(:checked, :indeterminate) {
|
|
51
|
-
border-color: var(--w-s-color-border-primary-hover);
|
|
52
|
-
background-color: var(--w-s-color-background-primary-hover);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
[part~='control']:has(:checked, :indeterminate) {
|
|
56
|
-
color: var(--checked-icon-color, white);
|
|
57
|
-
border-color: var(--w-s-color-border-primary);
|
|
58
|
-
background-color: var(--w-s-color-background-primary);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
[part~='control']:has(:indeterminate) {
|
|
62
|
-
font-weight: 700;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
[part~='control']:has(:invalid) {
|
|
66
|
-
border-color: var(--w-s-color-border-negative);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
[part~='control']:has(:invalid):hover {
|
|
70
|
-
background-color: var(--w-s-color-background-negative-subtle-hover);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
[part~='control']:has(:checked):has(:invalid) {
|
|
74
|
-
background-color: var(--w-s-color-background-negative);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
[part~='control']:has(:checked) {
|
|
78
|
-
background-image: var(--w-icon-toggle-checked);
|
|
79
|
-
background-position: center;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* Focus */
|
|
83
|
-
[part~='control']:has(> input:focus-visible:not(:disabled)) {
|
|
84
|
-
outline: var(--wa-focus-ring);
|
|
85
|
-
outline-offset: var(--wa-focus-ring-offset);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* Disabled */
|
|
89
|
-
:host [part~='base']:has(input:disabled) {
|
|
90
|
-
opacity: 0.5;
|
|
91
|
-
cursor: not-allowed;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
input {
|
|
95
|
-
position: absolute;
|
|
96
|
-
padding: 0;
|
|
97
|
-
margin: 0;
|
|
98
|
-
height: 100%;
|
|
99
|
-
width: 100%;
|
|
100
|
-
opacity: 0;
|
|
101
|
-
pointer-events: none;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
[part~='icon'] {
|
|
105
|
-
display: flex;
|
|
106
|
-
|
|
107
|
-
input:not(:checked, :indeterminate) + & {
|
|
108
|
-
visibility: hidden;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
:host([required]) [part~='label']::after {
|
|
113
|
-
content: var(--wa-form-control-required-content);
|
|
114
|
-
color: var(--wa-form-control-required-content-color);
|
|
115
|
-
margin-inline-start: var(--wa-form-control-required-content-offset);
|
|
116
|
-
}`;
|