@pathscale/ui 1.2.10 → 1.3.0
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/LICENSE +22 -22
- package/README.md +132 -59
- package/dist/components/accordion/Accordion.css +158 -158
- package/dist/components/alert/Alert.css +116 -116
- package/dist/components/avatar/Avatar.css +124 -124
- package/dist/components/badge/Badge.css +164 -164
- package/dist/components/breadcrumbs/Breadcrumbs.css +63 -63
- package/dist/components/button/Button.css +194 -194
- package/dist/components/button-group/ButtonGroup.css +117 -117
- package/dist/components/calendar/Calendar.css +258 -258
- package/dist/components/card/Card.css +110 -110
- package/dist/components/chatbubble/ChatBubble.css +164 -164
- package/dist/components/checkbox/Checkbox.css +183 -183
- package/dist/components/checkbox-group/CheckboxGroup.css +10 -10
- package/dist/components/chip/Chip.css +197 -197
- package/dist/components/close-button/CloseButton.css +81 -81
- package/dist/components/color-area/ColorArea.css +54 -54
- package/dist/components/color-field/ColorField.css +88 -88
- package/dist/components/color-picker/ColorPicker.css +28 -28
- package/dist/components/color-slider/ColorSlider.css +57 -57
- package/dist/components/color-swatch/ColorSwatch.css +84 -84
- package/dist/components/color-swatch-picker/ColorSwatchPicker.css +12 -12
- package/dist/components/color-wheel-flower/ColorWheelFlower.css +147 -147
- package/dist/components/combo-box/ComboBox.css +344 -344
- package/dist/components/date-field/DateField.css +215 -215
- package/dist/components/date-picker/DatePicker.css +143 -143
- package/dist/components/date-range-picker/DateRangePicker.css +149 -149
- package/dist/components/description/Description.css +10 -10
- package/dist/components/disclosure/Disclosure.css +84 -84
- package/dist/components/disclosure-group/DisclosureGroup.css +9 -9
- package/dist/components/drawer/Drawer.css +463 -463
- package/dist/components/dropdown/Dropdown.css +211 -211
- package/dist/components/empty-state/EmptyState.css +39 -39
- package/dist/components/error-message/ErrorMessage.css +20 -20
- package/dist/components/field-error/FieldError.css +27 -27
- package/dist/components/fieldset/Fieldset.css +30 -30
- package/dist/components/flex/Flex.css +5 -5
- package/dist/components/floating-dock/FloatingDock.css +208 -208
- package/dist/components/footer/footer.css +51 -51
- package/dist/components/form/Form.css +5 -5
- package/dist/components/glass-panel/GlassPanel.css +359 -359
- package/dist/components/glow-card/GlowCard.css +100 -100
- package/dist/components/grid/Grid.css +5 -5
- package/dist/components/header/Header.css +13 -13
- package/dist/components/icon/Icon.css +10 -10
- package/dist/components/immersive-landing/ImmersiveLanding.css +565 -565
- package/dist/components/input/Input.css +155 -155
- package/dist/components/input-group/InputGroup.css +172 -172
- package/dist/components/input-otp/InputOTP.css +170 -170
- package/dist/components/kbd/Kbd.css +60 -60
- package/dist/components/label/Label.css +30 -30
- package/dist/components/language-switcher/LanguageSwitcher.css +56 -56
- package/dist/components/language-switcher/createI18n.d.ts +2 -1
- package/dist/components/link/Link.css +131 -131
- package/dist/components/list-box/ListBox.css +148 -148
- package/dist/components/live-chat/LiveChat.css +324 -324
- package/dist/components/menu/Menu.css +199 -199
- package/dist/components/metal-border/MetalBorder.classes.d.ts +26 -0
- package/dist/components/metal-border/MetalBorder.classes.js +27 -0
- package/dist/components/metal-border/MetalBorder.css +40 -0
- package/dist/components/metal-border/MetalBorder.d.ts +20 -0
- package/dist/components/metal-border/MetalBorder.js +322 -0
- package/dist/components/metal-border/engine/color.d.ts +4 -0
- package/dist/components/metal-border/engine/color.js +69 -0
- package/dist/components/metal-border/engine/glow/geometry.d.ts +35 -0
- package/dist/components/metal-border/engine/glow/geometry.js +176 -0
- package/dist/components/metal-border/engine/glow/glow.d.ts +38 -0
- package/dist/components/metal-border/engine/glow/glow.js +246 -0
- package/dist/components/metal-border/engine/index.d.ts +4 -0
- package/dist/components/metal-border/engine/index.js +2 -0
- package/dist/components/metal-border/engine/perfConfig.d.ts +9 -0
- package/dist/components/metal-border/engine/perfConfig.js +10 -0
- package/dist/components/metal-border/engine/presets.d.ts +57 -0
- package/dist/components/metal-border/engine/presets.js +214 -0
- package/dist/components/metal-border/engine/renderer/core.d.ts +69 -0
- package/dist/components/metal-border/engine/renderer/core.js +156 -0
- package/dist/components/metal-border/engine/renderer/loop.d.ts +30 -0
- package/dist/components/metal-border/engine/renderer/loop.js +248 -0
- package/dist/components/metal-border/engine/renderer/sampling.d.ts +14 -0
- package/dist/components/metal-border/engine/renderer/sampling.js +145 -0
- package/dist/components/metal-border/engine/shaders.d.ts +36 -0
- package/dist/components/metal-border/engine/shaders.js +215 -0
- package/dist/components/metal-border/engine/tween.d.ts +17 -0
- package/dist/components/metal-border/engine/tween.js +28 -0
- package/dist/components/metal-border/index.d.ts +2 -0
- package/dist/components/metal-border/index.js +1 -0
- package/dist/components/meter/Meter.css +89 -89
- package/dist/components/modal/Modal.css +320 -320
- package/dist/components/navbar/Navbar.css +110 -110
- package/dist/components/noise-background/NoiseBackground.css +66 -66
- package/dist/components/number-field/NumberField.css +198 -198
- package/dist/components/pagination/Pagination.css +121 -121
- package/dist/components/popover/Popover.css +117 -117
- package/dist/components/progress-bar/ProgressBar.css +104 -104
- package/dist/components/progress-circle/ProgressCircle.css +82 -82
- package/dist/components/radio/Radio.css +129 -129
- package/dist/components/radio-group/RadioGroup.css +58 -58
- package/dist/components/range-calendar/RangeCalendar.css +51 -51
- package/dist/components/scroll-shadow/ScrollShadow.css +93 -93
- package/dist/components/search-field/SearchField.css +183 -183
- package/dist/components/select/Select.css +284 -284
- package/dist/components/separator/Separator.css +35 -35
- package/dist/components/skeleton/Skeleton.css +95 -95
- package/dist/components/slider/Slider.css +122 -122
- package/dist/components/spinner/Spinner.css +131 -131
- package/dist/components/surface/Surface.css +37 -37
- package/dist/components/table/Table.css +426 -426
- package/dist/components/tabs/Tabs.css +203 -203
- package/dist/components/tag/Tag.css +121 -121
- package/dist/components/tag-group/TagGroup.css +22 -22
- package/dist/components/text/Text.css +66 -66
- package/dist/components/text-area/TextArea.css +95 -95
- package/dist/components/text-field/TextField.css +33 -33
- package/dist/components/time-field/TimeField.css +215 -215
- package/dist/components/toast/Toast.css +344 -344
- package/dist/components/toggle/Toggle.css +237 -237
- package/dist/components/toolbar/Toolbar.css +55 -55
- package/dist/components/tooltip/Tooltip.css +153 -153
- package/dist/index.css +74 -74
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/purge-manifest.json +15836 -15583
- package/dist/styles/base/index.css +43 -43
- package/dist/styles/themes/dark.css +141 -141
- package/dist/styles/themes/light.css +143 -143
- package/package.json +17 -8
|
@@ -1,131 +1,131 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
/* -------------------------------------------------------------------------------------------------
|
|
3
|
-
* Base
|
|
4
|
-
* -----------------------------------------------------------------------------------------------*/
|
|
5
|
-
.spinner {
|
|
6
|
-
pointer-events: none;
|
|
7
|
-
position: relative;
|
|
8
|
-
display: inline-flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
width: 1.5rem;
|
|
12
|
-
height: 1.5rem;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.spinner [data-slot="spinner-icon"] {
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
|
-
animation: spinner-rotate 0.8s linear infinite;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@keyframes spinner-rotate {
|
|
22
|
-
100% {
|
|
23
|
-
transform: rotate(360deg);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* -------------------------------------------------------------------------------------------------
|
|
28
|
-
* Size variants
|
|
29
|
-
* -----------------------------------------------------------------------------------------------*/
|
|
30
|
-
.spinner--xs {
|
|
31
|
-
width: 1rem;
|
|
32
|
-
height: 1rem;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.spinner--sm {
|
|
36
|
-
width: 1.25rem;
|
|
37
|
-
height: 1.25rem;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* md is default */
|
|
41
|
-
|
|
42
|
-
.spinner--lg {
|
|
43
|
-
width: 2rem;
|
|
44
|
-
height: 2rem;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.spinner--xl {
|
|
48
|
-
width: 2.5rem;
|
|
49
|
-
height: 2.5rem;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* -------------------------------------------------------------------------------------------------
|
|
53
|
-
* Color variants
|
|
54
|
-
* -----------------------------------------------------------------------------------------------*/
|
|
55
|
-
.spinner--current {
|
|
56
|
-
color: currentColor;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.spinner--accent {
|
|
60
|
-
color: var(--color-accent);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.spinner--success {
|
|
64
|
-
color: var(--color-success);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.spinner--warning {
|
|
68
|
-
color: var(--color-warning);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.spinner--danger {
|
|
72
|
-
color: var(--color-error);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* -------------------------------------------------------------------------------------------------
|
|
76
|
-
* CSS mask-image variants (legacy, non-spinner)
|
|
77
|
-
* These use background-color + mask-image for animated SVG patterns
|
|
78
|
-
* -----------------------------------------------------------------------------------------------*/
|
|
79
|
-
.spinner--dots,
|
|
80
|
-
.spinner--ring,
|
|
81
|
-
.spinner--ball,
|
|
82
|
-
.spinner--bars,
|
|
83
|
-
.spinner--infinity {
|
|
84
|
-
background-color: currentColor;
|
|
85
|
-
mask-size: 100%;
|
|
86
|
-
mask-repeat: no-repeat;
|
|
87
|
-
mask-position: center;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.spinner--dots [data-slot="spinner-icon"],
|
|
91
|
-
.spinner--ring [data-slot="spinner-icon"],
|
|
92
|
-
.spinner--ball [data-slot="spinner-icon"],
|
|
93
|
-
.spinner--bars [data-slot="spinner-icon"],
|
|
94
|
-
.spinner--infinity [data-slot="spinner-icon"] {
|
|
95
|
-
display: none;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.spinner--dots {
|
|
99
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' begin='0.1s'/%3E%3C/circle%3E%3Ccircle cx='20' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' begin='0.2s'/%3E%3C/circle%3E%3C/svg%3E");
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.spinner--ring {
|
|
103
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='white'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.spinner--ball {
|
|
107
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='5' rx='4' ry='4'%3E%3Canimate attributeName='cy' values='5;20;20.5;20;5' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='rx' values='4;4;4.8;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='ry' values='4;4;3;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3C/svg%3E");
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.spinner--bars {
|
|
111
|
-
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='9' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3C/rect%3E%3Crect x='17' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/rect%3E%3C/svg%3E");
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.spinner--infinity {
|
|
115
|
-
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200px' height='200px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Cpath fill='none' stroke='black' stroke-width='10' stroke-dasharray='205.271 51.318' d='M24.3 30C11.4 30 5 43.3 5 50s6.4 20 19.3 20c19.3 0 32.1-40 51.4-40C88.6 30 95 43.3 95 50s-6.4 20-19.3 20C56.4 70 43.6 30 24.3 30z' stroke-linecap='round' style='transform:scale(0.8);transform-origin:50px 50px'%3E%3Canimate attributeName='stroke-dashoffset' repeatCount='indefinite' dur='2s' keyTimes='0;1' values='0;256.589'/%3E%3C/path%3E%3C/svg%3E");
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/* -------------------------------------------------------------------------------------------------
|
|
119
|
-
* Reduced motion
|
|
120
|
-
* -----------------------------------------------------------------------------------------------*/
|
|
121
|
-
@media (prefers-reduced-motion: reduce) {
|
|
122
|
-
.spinner [data-slot="spinner-icon"],
|
|
123
|
-
.spinner--dots,
|
|
124
|
-
.spinner--ring,
|
|
125
|
-
.spinner--ball,
|
|
126
|
-
.spinner--bars,
|
|
127
|
-
.spinner--infinity {
|
|
128
|
-
animation: none;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
1
|
+
@layer components {
|
|
2
|
+
/* -------------------------------------------------------------------------------------------------
|
|
3
|
+
* Base
|
|
4
|
+
* -----------------------------------------------------------------------------------------------*/
|
|
5
|
+
.spinner {
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
position: relative;
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
width: 1.5rem;
|
|
12
|
+
height: 1.5rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.spinner [data-slot="spinner-icon"] {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
animation: spinner-rotate 0.8s linear infinite;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@keyframes spinner-rotate {
|
|
22
|
+
100% {
|
|
23
|
+
transform: rotate(360deg);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* -------------------------------------------------------------------------------------------------
|
|
28
|
+
* Size variants
|
|
29
|
+
* -----------------------------------------------------------------------------------------------*/
|
|
30
|
+
.spinner--xs {
|
|
31
|
+
width: 1rem;
|
|
32
|
+
height: 1rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.spinner--sm {
|
|
36
|
+
width: 1.25rem;
|
|
37
|
+
height: 1.25rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* md is default */
|
|
41
|
+
|
|
42
|
+
.spinner--lg {
|
|
43
|
+
width: 2rem;
|
|
44
|
+
height: 2rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.spinner--xl {
|
|
48
|
+
width: 2.5rem;
|
|
49
|
+
height: 2.5rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* -------------------------------------------------------------------------------------------------
|
|
53
|
+
* Color variants
|
|
54
|
+
* -----------------------------------------------------------------------------------------------*/
|
|
55
|
+
.spinner--current {
|
|
56
|
+
color: currentColor;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.spinner--accent {
|
|
60
|
+
color: var(--color-accent);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.spinner--success {
|
|
64
|
+
color: var(--color-success);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.spinner--warning {
|
|
68
|
+
color: var(--color-warning);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.spinner--danger {
|
|
72
|
+
color: var(--color-error);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* -------------------------------------------------------------------------------------------------
|
|
76
|
+
* CSS mask-image variants (legacy, non-spinner)
|
|
77
|
+
* These use background-color + mask-image for animated SVG patterns
|
|
78
|
+
* -----------------------------------------------------------------------------------------------*/
|
|
79
|
+
.spinner--dots,
|
|
80
|
+
.spinner--ring,
|
|
81
|
+
.spinner--ball,
|
|
82
|
+
.spinner--bars,
|
|
83
|
+
.spinner--infinity {
|
|
84
|
+
background-color: currentColor;
|
|
85
|
+
mask-size: 100%;
|
|
86
|
+
mask-repeat: no-repeat;
|
|
87
|
+
mask-position: center;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.spinner--dots [data-slot="spinner-icon"],
|
|
91
|
+
.spinner--ring [data-slot="spinner-icon"],
|
|
92
|
+
.spinner--ball [data-slot="spinner-icon"],
|
|
93
|
+
.spinner--bars [data-slot="spinner-icon"],
|
|
94
|
+
.spinner--infinity [data-slot="spinner-icon"] {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.spinner--dots {
|
|
99
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' begin='0.1s'/%3E%3C/circle%3E%3Ccircle cx='20' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' begin='0.2s'/%3E%3C/circle%3E%3C/svg%3E");
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.spinner--ring {
|
|
103
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='white'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.spinner--ball {
|
|
107
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='5' rx='4' ry='4'%3E%3Canimate attributeName='cy' values='5;20;20.5;20;5' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='rx' values='4;4;4.8;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='ry' values='4;4;3;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3C/svg%3E");
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.spinner--bars {
|
|
111
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='9' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3C/rect%3E%3Crect x='17' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/rect%3E%3C/svg%3E");
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.spinner--infinity {
|
|
115
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200px' height='200px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Cpath fill='none' stroke='black' stroke-width='10' stroke-dasharray='205.271 51.318' d='M24.3 30C11.4 30 5 43.3 5 50s6.4 20 19.3 20c19.3 0 32.1-40 51.4-40C88.6 30 95 43.3 95 50s-6.4 20-19.3 20C56.4 70 43.6 30 24.3 30z' stroke-linecap='round' style='transform:scale(0.8);transform-origin:50px 50px'%3E%3Canimate attributeName='stroke-dashoffset' repeatCount='indefinite' dur='2s' keyTimes='0;1' values='0;256.589'/%3E%3C/path%3E%3C/svg%3E");
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* -------------------------------------------------------------------------------------------------
|
|
119
|
+
* Reduced motion
|
|
120
|
+
* -----------------------------------------------------------------------------------------------*/
|
|
121
|
+
@media (prefers-reduced-motion: reduce) {
|
|
122
|
+
.spinner [data-slot="spinner-icon"],
|
|
123
|
+
.spinner--dots,
|
|
124
|
+
.spinner--ring,
|
|
125
|
+
.spinner--ball,
|
|
126
|
+
.spinner--bars,
|
|
127
|
+
.spinner--infinity {
|
|
128
|
+
animation: none;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.surface {
|
|
3
|
-
position: relative;
|
|
4
|
-
--surface-bg: var(--color-surface, var(--color-base-100));
|
|
5
|
-
--surface-fg: var(--color-surface-foreground, var(--color-base-content));
|
|
6
|
-
--surface-border: transparent;
|
|
7
|
-
--surface-radius: var(--radius-box, 0.75rem);
|
|
8
|
-
background-color: var(--surface-bg);
|
|
9
|
-
color: var(--surface-fg);
|
|
10
|
-
border: 1px solid var(--surface-border);
|
|
11
|
-
border-radius: var(--surface-radius);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.surface--transparent {
|
|
15
|
-
--surface-bg: transparent;
|
|
16
|
-
--surface-fg: var(--color-foreground, var(--color-base-content));
|
|
17
|
-
--surface-border: transparent;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.surface--default {
|
|
21
|
-
--surface-bg: var(--color-surface, var(--color-base-100));
|
|
22
|
-
--surface-fg: var(--color-surface-foreground, var(--color-base-content));
|
|
23
|
-
--surface-border: transparent;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.surface--secondary {
|
|
27
|
-
--surface-bg: var(--color-surface-secondary, var(--color-base-200));
|
|
28
|
-
--surface-fg: var(--color-surface-secondary-foreground, var(--color-base-content));
|
|
29
|
-
--surface-border: transparent;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.surface--tertiary {
|
|
33
|
-
--surface-bg: var(--color-surface-tertiary, var(--color-base-300));
|
|
34
|
-
--surface-fg: var(--color-surface-tertiary-foreground, var(--color-base-content));
|
|
35
|
-
--surface-border: transparent;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
@layer components {
|
|
2
|
+
.surface {
|
|
3
|
+
position: relative;
|
|
4
|
+
--surface-bg: var(--color-surface, var(--color-base-100));
|
|
5
|
+
--surface-fg: var(--color-surface-foreground, var(--color-base-content));
|
|
6
|
+
--surface-border: transparent;
|
|
7
|
+
--surface-radius: var(--radius-box, 0.75rem);
|
|
8
|
+
background-color: var(--surface-bg);
|
|
9
|
+
color: var(--surface-fg);
|
|
10
|
+
border: 1px solid var(--surface-border);
|
|
11
|
+
border-radius: var(--surface-radius);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.surface--transparent {
|
|
15
|
+
--surface-bg: transparent;
|
|
16
|
+
--surface-fg: var(--color-foreground, var(--color-base-content));
|
|
17
|
+
--surface-border: transparent;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.surface--default {
|
|
21
|
+
--surface-bg: var(--color-surface, var(--color-base-100));
|
|
22
|
+
--surface-fg: var(--color-surface-foreground, var(--color-base-content));
|
|
23
|
+
--surface-border: transparent;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.surface--secondary {
|
|
27
|
+
--surface-bg: var(--color-surface-secondary, var(--color-base-200));
|
|
28
|
+
--surface-fg: var(--color-surface-secondary-foreground, var(--color-base-content));
|
|
29
|
+
--surface-border: transparent;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.surface--tertiary {
|
|
33
|
+
--surface-bg: var(--color-surface-tertiary, var(--color-base-300));
|
|
34
|
+
--surface-fg: var(--color-surface-tertiary-foreground, var(--color-base-content));
|
|
35
|
+
--surface-border: transparent;
|
|
36
|
+
}
|
|
37
|
+
}
|