@a-type/ui 6.0.49 → 6.0.51
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/behaviors/iconOnly.module.css +2 -1
- package/dist/css/util.css +2 -1
- package/package.json +8 -5
- package/src/components/card/Card.module.css +1 -1
- package/dist/colors.module.css +0 -59
- package/dist/components/actions/ActionBar.module.css +0 -34
- package/dist/components/actions/ActionButton.module.css +0 -6
- package/dist/components/avatar/Avatar.module.css +0 -35
- package/dist/components/box/Box.module.css +0 -291
- package/dist/components/button/Button.module.css +0 -148
- package/dist/components/camera/Camera.module.css +0 -65
- package/dist/components/card/Card.module.css +0 -183
- package/dist/components/checkbox/Checkbox.module.css +0 -74
- package/dist/components/chip/Chip.module.css +0 -32
- package/dist/components/collapsible/Collapsible.module.css +0 -36
- package/dist/components/combobox/Combobox.module.css +0 -170
- package/dist/components/datePicker/Calendar.module.css +0 -167
- package/dist/components/datePicker/datePicker.module.css +0 -7
- package/dist/components/datePicker/dateRangePicker.module.css +0 -38
- package/dist/components/dialog/Dialog.module.css +0 -188
- package/dist/components/divider/Divider.module.css +0 -10
- package/dist/components/dropdownMenu/DropdownMenu.module.css +0 -3
- package/dist/components/editableText/EditableText.module.css +0 -44
- package/dist/components/emojiPicker/EmojiPicker.module.css +0 -84
- package/dist/components/forms/EmojiField.module.css +0 -8
- package/dist/components/forms/Field.module.css +0 -62
- package/dist/components/forms/Form.module.css +0 -6
- package/dist/components/forms/NumberStepperField.module.css +0 -5
- package/dist/components/forms/TextField.module.css +0 -11
- package/dist/components/horizontalList/HorizontalList.module.css +0 -50
- package/dist/components/icon/Icon.module.css +0 -20
- package/dist/components/imageUploader/ImageUploader.module.css +0 -67
- package/dist/components/img/Img.module.css +0 -42
- package/dist/components/input/Input.module.css +0 -100
- package/dist/components/layouts/PageContent.module.css +0 -25
- package/dist/components/layouts/PageFixedArea.module.css +0 -11
- package/dist/components/layouts/PageNav.module.css +0 -31
- package/dist/components/layouts/PageNowPlaying.module.css +0 -46
- package/dist/components/layouts/PageRoot.module.css +0 -29
- package/dist/components/layouts/PageSection.module.css +0 -19
- package/dist/components/lightbox/Lightbox.module.css +0 -104
- package/dist/components/lists/lists.module.css +0 -31
- package/dist/components/marquee/marquee.module.css +0 -32
- package/dist/components/navBar/NavBar.module.css +0 -143
- package/dist/components/note/Note.module.css +0 -114
- package/dist/components/numberStepper/NumberStepper.module.css +0 -32
- package/dist/components/particles/ParticleLayer.module.css +0 -8
- package/dist/components/peek/Peek.module.css +0 -96
- package/dist/components/popover/Popover.module.css +0 -24
- package/dist/components/primitives/menus.module.css +0 -262
- package/dist/components/progress/Progress.module.css +0 -54
- package/dist/components/pwaInstall/PwaInstall.module.css +0 -23
- package/dist/components/quickAction/QuickAction.module.css +0 -59
- package/dist/components/richEditor/richEditor.module.css +0 -102
- package/dist/components/scrollArea/ScrollArea.module.css +0 -187
- package/dist/components/select/Select.module.css +0 -46
- package/dist/components/skeletons/skeletons.module.css +0 -33
- package/dist/components/slider/Slider.module.css +0 -97
- package/dist/components/spinner/Spinner.module.css +0 -54
- package/dist/components/splashScreen/SplashScreen.module.css +0 -54
- package/dist/components/switch/Switch.module.css +0 -63
- package/dist/components/tabs/tabs.module.css +0 -139
- package/dist/components/textArea/TextArea.module.css +0 -14
- package/dist/components/toasts/toasts.module.css +0 -201
- package/dist/components/toggleGroup/toggleGroup.module.css +0 -55
- package/dist/components/tooltip/Tooltip.module.css +0 -72
- package/dist/components/typography/typography.module.css +0 -74
- package/dist/components/viewport/Viewport.module.css +0 -44
- package/dist/components/viewport/ViewportContent.module.css +0 -8
- package/dist/theme.stories.module.css +0 -13
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
.root {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
min-height: 0;
|
|
4
|
-
min-width: 0;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.viewport {
|
|
10
|
-
height: 100%;
|
|
11
|
-
min-height: 0;
|
|
12
|
-
@apply --mx-shadow;
|
|
13
|
-
|
|
14
|
-
&:focus {
|
|
15
|
-
outline: none;
|
|
16
|
-
}
|
|
17
|
-
&:focus-visible {
|
|
18
|
-
--mx-ring-value: --fn-ring(var(--m-color-main-ink), 1px);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.verticalFades {
|
|
23
|
-
--scroll-area-overflow-y-end: inherit;
|
|
24
|
-
--scroll-area-overflow-y-start: inherit;
|
|
25
|
-
|
|
26
|
-
pointer-events: none;
|
|
27
|
-
position: absolute;
|
|
28
|
-
inset: 0;
|
|
29
|
-
|
|
30
|
-
&::before {
|
|
31
|
-
content: '';
|
|
32
|
-
--scroll-area-overflow-y-start: inherit;
|
|
33
|
-
|
|
34
|
-
position: absolute;
|
|
35
|
-
left: 0;
|
|
36
|
-
top: 0;
|
|
37
|
-
display: block;
|
|
38
|
-
height: min(40px, var(--scroll-area-overflow-y-start, 40px));
|
|
39
|
-
width: 100%;
|
|
40
|
-
transition: height var(--m-duration) var(--m-easing);
|
|
41
|
-
|
|
42
|
-
background: linear-gradient(
|
|
43
|
-
to bottom,
|
|
44
|
-
var(--mx-bg-ref) 0%,
|
|
45
|
-
transparent 100%
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&::after {
|
|
50
|
-
content: '';
|
|
51
|
-
--scroll-area-overflow-y-end: inherit;
|
|
52
|
-
|
|
53
|
-
position: absolute;
|
|
54
|
-
left: 0;
|
|
55
|
-
bottom: 0;
|
|
56
|
-
display: block;
|
|
57
|
-
height: min(40px, var(--scroll-area-overflow-y-end, 40px));
|
|
58
|
-
width: 100%;
|
|
59
|
-
transition: height var(--m-duration) var(--m-easing);
|
|
60
|
-
|
|
61
|
-
background: linear-gradient(to top, var(--mx-bg-ref) 0%, transparent 100%);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.horizontalFades {
|
|
66
|
-
--scroll-area-overflow-x-end: inherit;
|
|
67
|
-
--scroll-area-overflow-x-start: inherit;
|
|
68
|
-
|
|
69
|
-
pointer-events: none;
|
|
70
|
-
position: absolute;
|
|
71
|
-
inset: 0;
|
|
72
|
-
|
|
73
|
-
&::before {
|
|
74
|
-
content: '';
|
|
75
|
-
--scroll-area-overflow-x-start: inherit;
|
|
76
|
-
|
|
77
|
-
position: absolute;
|
|
78
|
-
left: 0;
|
|
79
|
-
top: 0;
|
|
80
|
-
display: block;
|
|
81
|
-
height: 100%;
|
|
82
|
-
width: min(40px, var(--scroll-area-overflow-x-start, 40px));
|
|
83
|
-
transition: width var(--m-duration) var(--m-easing);
|
|
84
|
-
|
|
85
|
-
background: linear-gradient(
|
|
86
|
-
to right,
|
|
87
|
-
var(--mx-bg-ref) 0%,
|
|
88
|
-
transparent 100%
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&::after {
|
|
93
|
-
content: '';
|
|
94
|
-
--scroll-area-overflow-x-end: inherit;
|
|
95
|
-
|
|
96
|
-
position: absolute;
|
|
97
|
-
right: 0;
|
|
98
|
-
top: 0;
|
|
99
|
-
display: block;
|
|
100
|
-
height: 100%;
|
|
101
|
-
width: min(40px, var(--scroll-area-overflow-x-end, 40px));
|
|
102
|
-
transition: width var(--m-duration) var(--m-easing);
|
|
103
|
-
|
|
104
|
-
background: linear-gradient(to left, var(--mx-bg-ref) 0%, transparent 100%);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.content {
|
|
109
|
-
display: flex;
|
|
110
|
-
flex-direction: column;
|
|
111
|
-
|
|
112
|
-
[data-scroll-direction='horizontal'] > &,
|
|
113
|
-
[data-scroll-direction='both'] > & {
|
|
114
|
-
min-width: min-content;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.thumb {
|
|
119
|
-
@apply --mx-bg(var(--mx-fg-ref));
|
|
120
|
-
@apply --mx-bg-faded(25%);
|
|
121
|
-
border-radius: 9999px;
|
|
122
|
-
|
|
123
|
-
&[data-orientation='vertical'] {
|
|
124
|
-
width: 100%;
|
|
125
|
-
}
|
|
126
|
-
&[data-orientation='horizontal'] {
|
|
127
|
-
height: 100%;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.scrollbar {
|
|
132
|
-
pointer-events: none;
|
|
133
|
-
position: relative;
|
|
134
|
-
margin: 1px;
|
|
135
|
-
display: flex;
|
|
136
|
-
user-select: none;
|
|
137
|
-
opacity: 0;
|
|
138
|
-
border-radius: 9999px;
|
|
139
|
-
touch-action: none;
|
|
140
|
-
transition:
|
|
141
|
-
opacity,
|
|
142
|
-
height,
|
|
143
|
-
width var(--m-duration) var(--m-easing);
|
|
144
|
-
|
|
145
|
-
@apply --mx-bg(var(--mx-fg-ref));
|
|
146
|
-
@apply --mx-bg-faded(5%);
|
|
147
|
-
|
|
148
|
-
&[data-hovering] {
|
|
149
|
-
pointer-events: auto;
|
|
150
|
-
opacity: 1;
|
|
151
|
-
}
|
|
152
|
-
&[data-scrolling] {
|
|
153
|
-
transition-duration: 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&::before {
|
|
157
|
-
content: '';
|
|
158
|
-
position: absolute;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&[data-orientation='vertical'] {
|
|
162
|
-
width: 4px;
|
|
163
|
-
justify-content: center;
|
|
164
|
-
&::before {
|
|
165
|
-
height: 100%;
|
|
166
|
-
width: 20px;
|
|
167
|
-
}
|
|
168
|
-
&:hover::before {
|
|
169
|
-
width: 8px;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
&[data-orientation='horizontal'] {
|
|
173
|
-
height: 4px;
|
|
174
|
-
align-items: center;
|
|
175
|
-
&::before {
|
|
176
|
-
width: 100%;
|
|
177
|
-
height: 20px;
|
|
178
|
-
}
|
|
179
|
-
&:hover::before {
|
|
180
|
-
height: 8px;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.corner {
|
|
186
|
-
@apply --mx-bg(transparent);
|
|
187
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
.trigger {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
font-weight: normal;
|
|
4
|
-
gap: var(--m-space-md);
|
|
5
|
-
|
|
6
|
-
&[data-placeholder] {
|
|
7
|
-
color: var(--m-color-neutral-heavy);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.value {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.groupLabel {
|
|
17
|
-
padding-inline: var(--m-space-lg);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.icon {
|
|
21
|
-
margin-left: auto;
|
|
22
|
-
@apply --mx-fg(inherit);
|
|
23
|
-
|
|
24
|
-
& > [data-icon] {
|
|
25
|
-
position: relative;
|
|
26
|
-
top: --fn-literal(1px);
|
|
27
|
-
width: --fn-literal(12px);
|
|
28
|
-
height: --fn-literal(12px);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.positioner {
|
|
33
|
-
user-select: none;
|
|
34
|
-
transform-origin: var(--transform-origin);
|
|
35
|
-
|
|
36
|
-
&:focus {
|
|
37
|
-
outline: none;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.popup {
|
|
42
|
-
min-width: var(--anchor-width);
|
|
43
|
-
&[data-side='none'] {
|
|
44
|
-
min-width: calc(var(--anchor-width) + 2rem);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
@keyframes skeleton {
|
|
2
|
-
0% {
|
|
3
|
-
background-position: 0% 50%;
|
|
4
|
-
}
|
|
5
|
-
100% {
|
|
6
|
-
background-position: 100% 50%;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.textSkeleton {
|
|
11
|
-
background-size: 400%, 400%;
|
|
12
|
-
display: inline-block;
|
|
13
|
-
height: 100%;
|
|
14
|
-
max-width: 100%;
|
|
15
|
-
border-radius: var(--m-radius-md);
|
|
16
|
-
width: 100%;
|
|
17
|
-
flex-shrink: 0;
|
|
18
|
-
opacity: 20%;
|
|
19
|
-
|
|
20
|
-
animation-name: skeleton;
|
|
21
|
-
animation-duration: 1.5s;
|
|
22
|
-
animation-iteration-count: infinite;
|
|
23
|
-
animation-timing-function: var(--m-easing);
|
|
24
|
-
animation-direction: alternate;
|
|
25
|
-
animation-play-state: running;
|
|
26
|
-
|
|
27
|
-
background-image: linear-gradient(
|
|
28
|
-
to right,
|
|
29
|
-
transparent 0%,
|
|
30
|
-
var(--mx-fg-ref, var(--m-color-main-ink)) 50%,
|
|
31
|
-
transparent 100%
|
|
32
|
-
);
|
|
33
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
.root {
|
|
2
|
-
width: 100%;
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.control {
|
|
7
|
-
position: relative;
|
|
8
|
-
height: 30px;
|
|
9
|
-
width: 100%;
|
|
10
|
-
display: flex;
|
|
11
|
-
user-select: none;
|
|
12
|
-
align-items: center;
|
|
13
|
-
touch-action: none;
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
|
|
16
|
-
&[data-orientation='vertical'] {
|
|
17
|
-
height: 100%;
|
|
18
|
-
width: 30px;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.track {
|
|
24
|
-
--size: 8px;
|
|
25
|
-
position: relative;
|
|
26
|
-
height: var(--size);
|
|
27
|
-
flex-grow: 1;
|
|
28
|
-
user-select: none;
|
|
29
|
-
transition: background-color var(--m-duration) var(--m-easing);
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
|
|
32
|
-
@apply --mx-bg(transparent);
|
|
33
|
-
border-radius: var(--m-radius-lg);
|
|
34
|
-
@apply --mx-ring(--fn-ring(var(--m-color-neutral-ink), 1px));
|
|
35
|
-
|
|
36
|
-
&[data-orientation='vertical'] {
|
|
37
|
-
height: 100%;
|
|
38
|
-
width: var(--size);
|
|
39
|
-
flex: 1;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.range {
|
|
44
|
-
box-sizing: border-box;
|
|
45
|
-
transition: background-color var(--m-duration) var(--m-easing);
|
|
46
|
-
@apply --mx-bg(var(--m-color-main));
|
|
47
|
-
border-radius: var(--m-radius-lg);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.thumb {
|
|
51
|
-
--thumb-size: 20px;
|
|
52
|
-
|
|
53
|
-
height: var(--thumb-size);
|
|
54
|
-
width: var(--thumb-size);
|
|
55
|
-
display: flex;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
align-items: center;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
line-height: 1;
|
|
60
|
-
touch-action: none;
|
|
61
|
-
transition:
|
|
62
|
-
background-color var(--m-duration) var(--m-easing),
|
|
63
|
-
box-shadow var(--m-duration) var(--m-easing);
|
|
64
|
-
|
|
65
|
-
@apply --mx-shadow;
|
|
66
|
-
--mx-shadow-value: var(--m-shadow-sm);
|
|
67
|
-
|
|
68
|
-
@apply --mx-borderColor(var(--m-color-neutral-ink));
|
|
69
|
-
border-width: var(--m-lineWidth-md);
|
|
70
|
-
|
|
71
|
-
@apply --mx-bg(var(--m-control-bg));
|
|
72
|
-
border-radius: var(--m-control-radius);
|
|
73
|
-
|
|
74
|
-
&:hover {
|
|
75
|
-
--mx-shadow-value: var(--m-shadow-md);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&:active {
|
|
79
|
-
@apply --mx-bg(var(--m-color-main-light));
|
|
80
|
-
--mx-shadow-value: var(--m-shadow-lg);
|
|
81
|
-
--mx-ring-value: --fn-ring(var(--mx-bg-ref), 4px);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:focus {
|
|
85
|
-
outline: none;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&:focus-visible {
|
|
89
|
-
@apply --mx-bg(var(--m-color-main-light));
|
|
90
|
-
--mx-shadow-value: var(--m-shadow-lg);
|
|
91
|
-
--mx-ring-value: --fn-focus-ring();
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&:disabled {
|
|
95
|
-
opacity: 0.5;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
@keyframes spinner-rotate {
|
|
2
|
-
from {
|
|
3
|
-
transform: rotate(0deg);
|
|
4
|
-
}
|
|
5
|
-
to {
|
|
6
|
-
transform: rotate(360deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@keyframes spinner-stroke {
|
|
11
|
-
0% {
|
|
12
|
-
stroke-dasharray: 1, 200;
|
|
13
|
-
stroke-dashoffset: 0;
|
|
14
|
-
}
|
|
15
|
-
50% {
|
|
16
|
-
stroke-dasharray: 100, 200;
|
|
17
|
-
stroke-dashoffset: -15;
|
|
18
|
-
}
|
|
19
|
-
100% {
|
|
20
|
-
stroke-dasharray: 100, 200;
|
|
21
|
-
stroke-dashoffset: -125;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.root {
|
|
26
|
-
display: inline-block;
|
|
27
|
-
flex-shrink: 0;
|
|
28
|
-
transform-origin: 50% 50%;
|
|
29
|
-
animation: spinner-rotate 1400ms linear infinite;
|
|
30
|
-
@apply --mx-fg(inherit);
|
|
31
|
-
opacity: 50%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.svg {
|
|
35
|
-
display: block;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.circle {
|
|
39
|
-
stroke: currentColor;
|
|
40
|
-
stroke-dasharray: 80 200;
|
|
41
|
-
stroke-dashoffset: 0;
|
|
42
|
-
animation: spinner-stroke 1400ms ease-in-out infinite;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.fullScreen {
|
|
46
|
-
width: 100%;
|
|
47
|
-
display: flex;
|
|
48
|
-
flex: 1;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
align-items: center;
|
|
51
|
-
align-self: stretch;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
gap: var(--m-space-md);
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
.root {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-grow: 1;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.icon {
|
|
12
|
-
margin: auto;
|
|
13
|
-
height: 20vmax;
|
|
14
|
-
width: 20vmax;
|
|
15
|
-
animation-name: fade-and-pop;
|
|
16
|
-
animation-duration: 5s;
|
|
17
|
-
animation-delay: 1s;
|
|
18
|
-
animation-timing-function: ease-in-out;
|
|
19
|
-
animation-iteration-count: infinite;
|
|
20
|
-
opacity: 0;
|
|
21
|
-
|
|
22
|
-
& > img,
|
|
23
|
-
& > svg {
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@keyframes fade-and-pop {
|
|
30
|
-
0% {
|
|
31
|
-
opacity: 0.2;
|
|
32
|
-
transform: scale(0.6);
|
|
33
|
-
}
|
|
34
|
-
40% {
|
|
35
|
-
opacity: 0.5;
|
|
36
|
-
transform: scale(0.7);
|
|
37
|
-
}
|
|
38
|
-
50% {
|
|
39
|
-
opacity: 1;
|
|
40
|
-
transform: scale(1.1) rotate(2deg);
|
|
41
|
-
}
|
|
42
|
-
55% {
|
|
43
|
-
opacity: 1;
|
|
44
|
-
transform: scale(1);
|
|
45
|
-
}
|
|
46
|
-
70% {
|
|
47
|
-
opacity: 1;
|
|
48
|
-
transform: scale(1);
|
|
49
|
-
}
|
|
50
|
-
100% {
|
|
51
|
-
opacity: 0.2;
|
|
52
|
-
transform: scale(0.6);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
.root {
|
|
2
|
-
all: unset;
|
|
3
|
-
position: relative;
|
|
4
|
-
height: --fn-literal(20px);
|
|
5
|
-
width: --fn-literal(42px);
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-shrink: 0;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
appearance: none;
|
|
10
|
-
padding: --fn-literal(3px);
|
|
11
|
-
|
|
12
|
-
transition: all var(--m-duration) var(--m-easing);
|
|
13
|
-
|
|
14
|
-
@apply --mx-shadow;
|
|
15
|
-
--mx-shadow-value: inset var(--m-shadow-sm);
|
|
16
|
-
|
|
17
|
-
@apply --mx-bg(var(--m-control-bg));
|
|
18
|
-
@apply --mx-borderColor(var(--m-control-borderColor));
|
|
19
|
-
border-radius: var(--m-radius-lg);
|
|
20
|
-
|
|
21
|
-
&[data-checked] {
|
|
22
|
-
@apply --mx-bg(var(--m-color-main));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@apply --mx-hover;
|
|
26
|
-
@apply --mx-active;
|
|
27
|
-
@apply --mx-focus;
|
|
28
|
-
@apply --mx-disabled;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.thumb {
|
|
32
|
-
display: block;
|
|
33
|
-
aspect-ratio: 1/1;
|
|
34
|
-
height: 100%;
|
|
35
|
-
transition: transform var(--m-duration) var(--m-easing);
|
|
36
|
-
will-change: transform;
|
|
37
|
-
|
|
38
|
-
@apply --mx-shadow(var(--m-shadow-sm));
|
|
39
|
-
|
|
40
|
-
@apply --mx-bg(var(--m-color-neutral-paper));
|
|
41
|
-
@apply --mx-borderColor(var(--m-control-border));
|
|
42
|
-
border-radius: var(--m-radius-lg);
|
|
43
|
-
|
|
44
|
-
position: relative;
|
|
45
|
-
|
|
46
|
-
&[data-checked] {
|
|
47
|
-
transform: translateX(22px);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&[data-checked]::before {
|
|
51
|
-
position: absolute;
|
|
52
|
-
left: 0;
|
|
53
|
-
top: 0;
|
|
54
|
-
height: 100%;
|
|
55
|
-
width: 100%;
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
content: '✓';
|
|
60
|
-
color: var(--m-color-main-ink);
|
|
61
|
-
font-size: var(--m-prose-ambient-size);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
.styledList {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
align-items: flex-start;
|
|
6
|
-
gap: var(--m-space-xs);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.trigger {
|
|
10
|
-
position: relative;
|
|
11
|
-
z-index: 1;
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
gap: var(--m-space-xs);
|
|
17
|
-
padding: var(--m-action-padding);
|
|
18
|
-
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
user-select: none;
|
|
21
|
-
transition: all var(--m-duration) var(--m-easing);
|
|
22
|
-
|
|
23
|
-
text-align: center;
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
|
|
26
|
-
@apply --mx-fg(var(--m-color-neutral-ink));
|
|
27
|
-
font-size: var(--m-prose-secondary-size);
|
|
28
|
-
font-weight: var(--m-prose-secondary-weight);
|
|
29
|
-
line-height: 1;
|
|
30
|
-
font-family: inherit;
|
|
31
|
-
|
|
32
|
-
@apply --mx-shadow;
|
|
33
|
-
|
|
34
|
-
min-height: 30px;
|
|
35
|
-
min-width: 100px;
|
|
36
|
-
flex-shrink: 0;
|
|
37
|
-
|
|
38
|
-
background: transparent;
|
|
39
|
-
border: var(--m-lineWidth-sm) solid transparent;
|
|
40
|
-
border-radius: var(--m-radius-lg);
|
|
41
|
-
|
|
42
|
-
&[aria-selected='false']:hover {
|
|
43
|
-
@apply --mx-bg(var(--m-color-neutral-light));
|
|
44
|
-
--mx-ring-value: --fn-ring(var(--mx-bg-ref), 4px);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&:focus {
|
|
48
|
-
outline: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&:focus-visible {
|
|
52
|
-
@apply --mx-bg(var(--m-color-neutral-light));
|
|
53
|
-
--mx-ring-value: --fn-focus-ring();
|
|
54
|
-
outline: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&[data-active] {
|
|
58
|
-
cursor: default;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.indicator {
|
|
63
|
-
position: absolute;
|
|
64
|
-
left: 0;
|
|
65
|
-
top: 50%;
|
|
66
|
-
z-index: 0;
|
|
67
|
-
display: block;
|
|
68
|
-
height: 100%;
|
|
69
|
-
width: var(--active-tab-width);
|
|
70
|
-
transition-property: transform, width, color;
|
|
71
|
-
transition-duration: var(--m-duration);
|
|
72
|
-
transition-timing-function: var(--m-easing);
|
|
73
|
-
transform: translateX(
|
|
74
|
-
calc(
|
|
75
|
-
var(--active-tab-left, 0px) + var(--scroll-area-overflow-x-start, 0px)
|
|
76
|
-
)
|
|
77
|
-
)
|
|
78
|
-
translateY(-50%);
|
|
79
|
-
|
|
80
|
-
@apply --mx-action-light;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.content {
|
|
84
|
-
@apply --mx-shadow;
|
|
85
|
-
&:focus {
|
|
86
|
-
outline: none;
|
|
87
|
-
}
|
|
88
|
-
&:focus-visible {
|
|
89
|
-
outline: none;
|
|
90
|
-
--mx-ring-value: --fn-focus-ring();
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.list {
|
|
95
|
-
max-width: 100%;
|
|
96
|
-
width: max-content;
|
|
97
|
-
overflow: clip;
|
|
98
|
-
|
|
99
|
-
@apply --mx-shadow(var(--m-shadow-sm));
|
|
100
|
-
@apply --mx-surface-ambient;
|
|
101
|
-
padding: 0;
|
|
102
|
-
border-radius: var(--m-radius-lg);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.moreLeftIcon {
|
|
106
|
-
pointer-events: none;
|
|
107
|
-
position: absolute;
|
|
108
|
-
left: var(--m-space-xs);
|
|
109
|
-
top: 50%;
|
|
110
|
-
z-index: 10;
|
|
111
|
-
height: --fn-literal(16px);
|
|
112
|
-
width: --fn-literal(16px);
|
|
113
|
-
transform: translateY(-50%) rotate(90deg);
|
|
114
|
-
|
|
115
|
-
--scroll-area-overflow-x-start: inherit;
|
|
116
|
-
opacity: calc(
|
|
117
|
-
round(min(1, calc(var(--scroll-area-overflow-x-start, 0px) / 10px)))
|
|
118
|
-
);
|
|
119
|
-
|
|
120
|
-
@apply --mx-fg(--fn-color-faded(var(--m-color-neutral-heavy), 50%));
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.moreRightIcon {
|
|
124
|
-
pointer-events: none;
|
|
125
|
-
position: absolute;
|
|
126
|
-
right: var(--m-space-xs);
|
|
127
|
-
top: 50%;
|
|
128
|
-
z-index: 10;
|
|
129
|
-
height: --fn-literal(16px);
|
|
130
|
-
width: --fn-literal(16px);
|
|
131
|
-
transform: translateY(-50%) rotate(-90deg);
|
|
132
|
-
|
|
133
|
-
--scroll-area-overflow-x-end: inherit;
|
|
134
|
-
opacity: calc(
|
|
135
|
-
round(min(1, calc(var(--scroll-area-overflow-x-end, 0px) / 10px)))
|
|
136
|
-
);
|
|
137
|
-
|
|
138
|
-
@apply --mx-fg(--fn-color-faded(var(--m-color-neutral-heavy), 50%));
|
|
139
|
-
}
|