@ship-ui/core 0.19.5 → 0.22.2
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/README.md +3 -0
- package/assets/mcp/components.json +66 -4243
- package/bin/mcp/index.js +6027 -273
- package/bin/ship-fg-scanner +0 -0
- package/bin/ship-fg.mjs +14 -12
- package/bin/src/subset.ts +3 -1
- package/fesm2022/ship-ui-core-sh-form-field-experimental.mjs +42 -0
- package/fesm2022/ship-ui-core-sh-form-field-experimental.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-accordion.mjs +127 -0
- package/fesm2022/ship-ui-core-ship-accordion.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-alert.mjs +305 -0
- package/fesm2022/ship-ui-core-ship-alert.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-blueprint.mjs +1156 -0
- package/fesm2022/ship-ui-core-ship-blueprint.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-button-group.mjs +41 -0
- package/fesm2022/ship-ui-core-ship-button-group.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-button.mjs +38 -0
- package/fesm2022/ship-ui-core-ship-button.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-card.mjs +35 -0
- package/fesm2022/ship-ui-core-ship-card.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-checkbox.mjs +113 -0
- package/fesm2022/ship-ui-core-ship-checkbox.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-chip.mjs +44 -0
- package/fesm2022/ship-ui-core-ship-chip.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-color-picker.mjs +947 -0
- package/fesm2022/ship-ui-core-ship-color-picker.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-datepicker.mjs +951 -0
- package/fesm2022/ship-ui-core-ship-datepicker.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-dialog.mjs +263 -0
- package/fesm2022/ship-ui-core-ship-dialog.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-divider.mjs +22 -0
- package/fesm2022/ship-ui-core-ship-divider.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-event-card.mjs +50 -0
- package/fesm2022/ship-ui-core-ship-event-card.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-file-upload.mjs +112 -0
- package/fesm2022/ship-ui-core-ship-file-upload.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-form-field.mjs +310 -0
- package/fesm2022/ship-ui-core-ship-form-field.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-icon.mjs +81 -0
- package/fesm2022/ship-ui-core-ship-icon.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-list.mjs +22 -0
- package/fesm2022/ship-ui-core-ship-list.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-menu.mjs +545 -0
- package/fesm2022/ship-ui-core-ship-menu.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-popover.mjs +286 -0
- package/fesm2022/ship-ui-core-ship-popover.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-progress-bar.mjs +37 -0
- package/fesm2022/ship-ui-core-ship-progress-bar.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-radio.mjs +102 -0
- package/fesm2022/ship-ui-core-ship-radio.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-range-slider.mjs +277 -0
- package/fesm2022/ship-ui-core-ship-range-slider.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-select.mjs +971 -0
- package/fesm2022/ship-ui-core-ship-select.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-sidenav.mjs +248 -0
- package/fesm2022/ship-ui-core-ship-sidenav.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-sortable.mjs +485 -0
- package/fesm2022/ship-ui-core-ship-sortable.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-spinner.mjs +28 -0
- package/fesm2022/ship-ui-core-ship-spinner.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-stepper.mjs +76 -0
- package/fesm2022/ship-ui-core-ship-stepper.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-table-filter-bar.mjs +28 -0
- package/fesm2022/ship-ui-core-ship-table-filter-bar.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-table.mjs +442 -0
- package/fesm2022/ship-ui-core-ship-table.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-tabs.mjs +38 -0
- package/fesm2022/ship-ui-core-ship-tabs.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-theme-toggle.mjs +119 -0
- package/fesm2022/ship-ui-core-ship-theme-toggle.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-toggle-card.mjs +75 -0
- package/fesm2022/ship-ui-core-ship-toggle-card.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-toggle.mjs +105 -0
- package/fesm2022/ship-ui-core-ship-toggle.mjs.map +1 -0
- package/fesm2022/ship-ui-core-ship-virtual-scroll.mjs +186 -0
- package/fesm2022/ship-ui-core-ship-virtual-scroll.mjs.map +1 -0
- package/fesm2022/ship-ui-core.mjs +880 -8782
- package/fesm2022/ship-ui-core.mjs.map +1 -1
- package/package.json +147 -3
- package/styles/core.scss +43 -0
- package/styles/helpers.scss +2 -0
- package/styles/index.scss +12 -123
- package/types/ship-ui-core-sh-form-field-experimental.d.ts +11 -0
- package/types/ship-ui-core-ship-accordion.d.ts +19 -0
- package/types/ship-ui-core-ship-alert.d.ts +68 -0
- package/types/ship-ui-core-ship-blueprint.d.ts +112 -0
- package/types/ship-ui-core-ship-button-group.d.ts +15 -0
- package/types/ship-ui-core-ship-button.d.ts +13 -0
- package/types/ship-ui-core-ship-card.d.ts +11 -0
- package/types/ship-ui-core-ship-checkbox.d.ts +22 -0
- package/types/ship-ui-core-ship-chip.d.ts +15 -0
- package/types/ship-ui-core-ship-color-picker.d.ts +105 -0
- package/types/ship-ui-core-ship-datepicker.d.ts +96 -0
- package/types/ship-ui-core-ship-dialog.d.ts +76 -0
- package/types/ship-ui-core-ship-divider.d.ts +8 -0
- package/types/ship-ui-core-ship-event-card.d.ts +11 -0
- package/types/ship-ui-core-ship-file-upload.d.ts +20 -0
- package/types/ship-ui-core-ship-form-field.d.ts +32 -0
- package/types/ship-ui-core-ship-icon.d.ts +18 -0
- package/types/ship-ui-core-ship-list.d.ts +8 -0
- package/types/ship-ui-core-ship-menu.d.ts +49 -0
- package/types/ship-ui-core-ship-popover.d.ts +40 -0
- package/types/ship-ui-core-ship-progress-bar.d.ts +14 -0
- package/types/ship-ui-core-ship-radio.d.ts +22 -0
- package/types/ship-ui-core-ship-range-slider.d.ts +31 -0
- package/types/ship-ui-core-ship-select.d.ts +81 -0
- package/types/ship-ui-core-ship-sidenav.d.ts +36 -0
- package/types/ship-ui-core-ship-sortable.d.ts +72 -0
- package/types/ship-ui-core-ship-spinner.d.ts +10 -0
- package/types/ship-ui-core-ship-stepper.d.ts +13 -0
- package/types/ship-ui-core-ship-table-filter-bar.d.ts +8 -0
- package/types/ship-ui-core-ship-table.d.ts +69 -0
- package/types/ship-ui-core-ship-tabs.d.ts +14 -0
- package/types/ship-ui-core-ship-theme-toggle.d.ts +28 -0
- package/types/ship-ui-core-ship-toggle-card.d.ts +15 -0
- package/types/ship-ui-core-ship-toggle.d.ts +21 -0
- package/types/ship-ui-core-ship-virtual-scroll.d.ts +22 -0
- package/types/ship-ui-core.d.ts +88 -1070
- package/styles/components/ship-accordion.scss +0 -113
- package/styles/components/ship-alert-container.scss +0 -49
- package/styles/components/ship-alert.scss +0 -177
- package/styles/components/ship-blueprint.scss +0 -242
- package/styles/components/ship-button-group.scss +0 -165
- package/styles/components/ship-button.scss +0 -141
- package/styles/components/ship-card.scss +0 -57
- package/styles/components/ship-checkbox.scss +0 -116
- package/styles/components/ship-chip.scss +0 -104
- package/styles/components/ship-color-picker.scss +0 -150
- package/styles/components/ship-datepicker.scss +0 -317
- package/styles/components/ship-dialog.scss +0 -152
- package/styles/components/ship-divider.scss +0 -27
- package/styles/components/ship-event-card.scss +0 -51
- package/styles/components/ship-file-upload.scss +0 -47
- package/styles/components/ship-form-field.scss +0 -408
- package/styles/components/ship-icon.scss +0 -54
- package/styles/components/ship-list.scss +0 -165
- package/styles/components/ship-menu.scss +0 -237
- package/styles/components/ship-popover.scss +0 -205
- package/styles/components/ship-progress-bar.scss +0 -173
- package/styles/components/ship-radio.scss +0 -113
- package/styles/components/ship-range-slider.scss +0 -421
- package/styles/components/ship-select.scss +0 -153
- package/styles/components/ship-sidenav.scss +0 -195
- package/styles/components/ship-sortable.scss +0 -45
- package/styles/components/ship-spinner.scss +0 -53
- package/styles/components/ship-stepper.scss +0 -158
- package/styles/components/ship-table.scss +0 -443
- package/styles/components/ship-tabs.scss +0 -125
- package/styles/components/ship-theme-toggle.scss +0 -41
- package/styles/components/ship-toggle-card.scss +0 -69
- package/styles/components/ship-toggle.scss +0 -255
- package/styles/components/ship-tooltip.scss +0 -151
- package/styles/components/ship-virtual-scroll.scss +0 -12
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
@use '../helpers.scss' as *;
|
|
2
|
-
|
|
3
|
-
$shipToggle: true !default;
|
|
4
|
-
|
|
5
|
-
@if $shipToggle == true {
|
|
6
|
-
sh-toggle {
|
|
7
|
-
--toggle-bg: var(--base-4);
|
|
8
|
-
--toggle-b: 0;
|
|
9
|
-
--togglek-bg: var(--base-2);
|
|
10
|
-
--togglek-bs: var(--box-shadow-20);
|
|
11
|
-
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
gap: p2r(8);
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
user-select: none;
|
|
17
|
-
position: relative;
|
|
18
|
-
|
|
19
|
-
&:focus-visible > .box,
|
|
20
|
-
&:has(input:focus-visible) > .box {
|
|
21
|
-
outline: 2px solid var(--primary-8);
|
|
22
|
-
outline-offset: 2px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
label {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
gap: p2r(8);
|
|
29
|
-
position: relative;
|
|
30
|
-
z-index: 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.box {
|
|
34
|
-
display: block;
|
|
35
|
-
width: p2r(34);
|
|
36
|
-
min-width: p2r(34);
|
|
37
|
-
height: p2r(20);
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
position: relative;
|
|
40
|
-
border-radius: 999px;
|
|
41
|
-
background: var(--toggle-bg);
|
|
42
|
-
border: var(--toggle-b);
|
|
43
|
-
transition: background 150ms linear;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
> input[type='checkbox'] {
|
|
47
|
-
appearance: none;
|
|
48
|
-
position: absolute;
|
|
49
|
-
inset: 0;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
z-index: 0;
|
|
52
|
-
margin: 0;
|
|
53
|
-
|
|
54
|
-
&:focus,
|
|
55
|
-
&:focus-visible {
|
|
56
|
-
outline: none;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:has(> input:not(.internal-input)) > input.internal-input {
|
|
61
|
-
display: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&:has(input[disabled]),
|
|
65
|
-
&[disabled]:not([disabled='false']) {
|
|
66
|
-
opacity: 0.5;
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
user-select: none;
|
|
69
|
-
cursor: initial;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.knob {
|
|
73
|
-
position: absolute;
|
|
74
|
-
top: p2r(2);
|
|
75
|
-
left: p2r(2);
|
|
76
|
-
width: p2r(16);
|
|
77
|
-
height: p2r(16);
|
|
78
|
-
border-radius: 50%;
|
|
79
|
-
background: var(--togglek-bg);
|
|
80
|
-
box-shadow: var(--togglek-bs);
|
|
81
|
-
box-sizing: border-box;
|
|
82
|
-
transition: left 125ms ease-in-out;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:has(input[type='checkbox']:checked),
|
|
86
|
-
&.active {
|
|
87
|
-
--togglek-bg: var(--base-8);
|
|
88
|
-
|
|
89
|
-
.knob {
|
|
90
|
-
left: p2r(16);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&.primary {
|
|
94
|
-
--toggle-bg: var(--primary-3);
|
|
95
|
-
--togglek-bg: var(--primary-8);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.accent {
|
|
99
|
-
--toggle-bg: var(--accent-3);
|
|
100
|
-
--togglek-bg: var(--accent-8);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&.warn {
|
|
104
|
-
--toggle-bg: var(--warn-3);
|
|
105
|
-
--togglek-bg: var(--warn-8);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&.error {
|
|
109
|
-
--toggle-bg: var(--error-3);
|
|
110
|
-
--togglek-bg: var(--error-8);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.success {
|
|
114
|
-
--toggle-bg: var(--success-3);
|
|
115
|
-
--togglek-bg: var(--success-8);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&.outlined {
|
|
120
|
-
--toggle-bg: var(--base-1);
|
|
121
|
-
--togglek-bg: var(--base-5);
|
|
122
|
-
--togglek-bs: none;
|
|
123
|
-
--toggle-b: 1px solid var(--base-5);
|
|
124
|
-
|
|
125
|
-
.knob {
|
|
126
|
-
width: p2r(14);
|
|
127
|
-
height: p2r(14);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&.active {
|
|
131
|
-
--togglek-bg: var(--base-8);
|
|
132
|
-
--toggle-b: 1px solid var(--base-8);
|
|
133
|
-
|
|
134
|
-
&.primary {
|
|
135
|
-
--togglek-bg: var(--primary-8);
|
|
136
|
-
--toggle-b: 1px solid var(--primary-8);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&.accent {
|
|
140
|
-
--togglek-bg: var(--accent-8);
|
|
141
|
-
--toggle-b: 1px solid var(--accent-8);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&.warn {
|
|
145
|
-
--togglek-bg: var(--warn-8);
|
|
146
|
-
--toggle-b: 1px solid var(--warn-8);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&.error {
|
|
150
|
-
--togglek-bg: var(--error-8);
|
|
151
|
-
--toggle-b: 1px solid var(--error-8);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&.success {
|
|
155
|
-
--togglek-bg: var(--success-8);
|
|
156
|
-
--toggle-b: 1px solid var(--success-8);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&.simple {
|
|
162
|
-
--togglek-bg: #fff;
|
|
163
|
-
|
|
164
|
-
&:has(input[type='checkbox']:checked),
|
|
165
|
-
&.active {
|
|
166
|
-
--togglek-bg: var(--base-8);
|
|
167
|
-
|
|
168
|
-
&.primary {
|
|
169
|
-
--togglek-bg: var(--primary-8);
|
|
170
|
-
--toggle-bg: var(--primary-3);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
&.accent {
|
|
174
|
-
--togglek-bg: var(--accent-8);
|
|
175
|
-
--toggle-bg: var(--accent-3);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&.warn {
|
|
179
|
-
--togglek-bg: var(--warn-8);
|
|
180
|
-
--toggle-bg: var(--warn-3);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
&.error {
|
|
184
|
-
--togglek-bg: var(--error-8);
|
|
185
|
-
--toggle-bg: var(--error-3);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&.success {
|
|
189
|
-
--togglek-bg: var(--success-8);
|
|
190
|
-
--toggle-bg: var(--success-3);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
&.flat {
|
|
196
|
-
--togglek-bg: #fff;
|
|
197
|
-
|
|
198
|
-
&:has(input[type='checkbox']:checked),
|
|
199
|
-
&.active {
|
|
200
|
-
--togglek-bg: #fff;
|
|
201
|
-
--toggle-bg: var(--base-8);
|
|
202
|
-
|
|
203
|
-
&.primary {
|
|
204
|
-
--toggle-bg: var(--primary-8);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
&.accent {
|
|
208
|
-
--toggle-bg: var(--accent-8);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
&.warn {
|
|
212
|
-
--toggle-bg: var(--warn-8);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&.error {
|
|
216
|
-
--toggle-bg: var(--error-8);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
&.success {
|
|
220
|
-
--toggle-bg: var(--success-8);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
&.raised {
|
|
226
|
-
--togglek-bg: #fff;
|
|
227
|
-
|
|
228
|
-
&:has(input[type='checkbox']:checked),
|
|
229
|
-
&.active {
|
|
230
|
-
--toggle-bg: var(--base-g2);
|
|
231
|
-
--togglek-bg: #fff;
|
|
232
|
-
|
|
233
|
-
&.primary {
|
|
234
|
-
--toggle-bg: var(--primary-g2);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
&.accent {
|
|
238
|
-
--toggle-bg: var(--accent-g2);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&.warn {
|
|
242
|
-
--toggle-bg: var(--warn-g2);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&.error {
|
|
246
|
-
--toggle-bg: var(--error-g2);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&.success {
|
|
250
|
-
--toggle-bg: var(--success-g2);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
@use '../helpers.scss' as *;
|
|
2
|
-
|
|
3
|
-
$shipTooltip: true !default;
|
|
4
|
-
|
|
5
|
-
%hoverState {
|
|
6
|
-
opacity: 1;
|
|
7
|
-
z-index: 0;
|
|
8
|
-
visibility: visible;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@if $shipTooltip == true {
|
|
12
|
-
.tooltip {
|
|
13
|
-
position: relative;
|
|
14
|
-
display: flex;
|
|
15
|
-
pointer-events: initial !important;
|
|
16
|
-
|
|
17
|
-
&:after {
|
|
18
|
-
content: '';
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: p2r(-8);
|
|
21
|
-
bottom: p2r(-8);
|
|
22
|
-
left: p2r(-8);
|
|
23
|
-
right: p2r(-8);
|
|
24
|
-
z-index: 1;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.primary + ship-tooltip-wrapper {
|
|
28
|
-
--tt-bg: var(--primary-2);
|
|
29
|
-
--tt-c: var(--primary-8);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.accent + ship-tooltip-wrapper {
|
|
33
|
-
--tt-bg: var(--accent-2);
|
|
34
|
-
--tt-c: var(--accent-8);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.warn + ship-tooltip-wrapper {
|
|
38
|
-
--tt-bg: var(--warn-2);
|
|
39
|
-
--tt-c: var(--warn-8);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&.error + ship-tooltip-wrapper {
|
|
43
|
-
--tt-bg: var(--error-2);
|
|
44
|
-
--tt-c: var(--error-8);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.success + ship-tooltip-wrapper {
|
|
48
|
-
--tt-bg: var(--success-2);
|
|
49
|
-
--tt-c: var(--success-8);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&.active {
|
|
53
|
-
z-index: 1;
|
|
54
|
-
|
|
55
|
-
+ ship-tooltip-wrapper {
|
|
56
|
-
z-index: 1;
|
|
57
|
-
|
|
58
|
-
@supports (anchor-name: --anchor) {
|
|
59
|
-
.tooltip-content {
|
|
60
|
-
transform: translateY(0) scaleY(1) scaleX(1);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
ship-tooltip-wrapper {
|
|
68
|
-
--tt-bg: var(--base-3);
|
|
69
|
-
--tt-c: var(--base-12);
|
|
70
|
-
--tt-mh: #{p2r(136)};
|
|
71
|
-
--tt-mw: #{p2r(280)};
|
|
72
|
-
--tt-translate-y: 50%;
|
|
73
|
-
|
|
74
|
-
position: fixed;
|
|
75
|
-
font: var(--paragraph-30);
|
|
76
|
-
width: max-content;
|
|
77
|
-
overflow: visible;
|
|
78
|
-
box-shadow: none;
|
|
79
|
-
background: transparent;
|
|
80
|
-
border: 0;
|
|
81
|
-
|
|
82
|
-
padding: 0;
|
|
83
|
-
margin: 0;
|
|
84
|
-
margin-block-end: p2r(12);
|
|
85
|
-
|
|
86
|
-
@supports (anchor-name: --anchor) {
|
|
87
|
-
inset: unset;
|
|
88
|
-
justify-self: anchor-center;
|
|
89
|
-
bottom: anchor(top);
|
|
90
|
-
position: fixed;
|
|
91
|
-
|
|
92
|
-
position-try-order: normal;
|
|
93
|
-
position-try-fallbacks:
|
|
94
|
-
flip-block,
|
|
95
|
-
flip-inline,
|
|
96
|
-
flip-block flip-inline;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&:before {
|
|
100
|
-
content: '';
|
|
101
|
-
position: absolute;
|
|
102
|
-
bottom: p2r(-12);
|
|
103
|
-
top: auto;
|
|
104
|
-
left: 50%;
|
|
105
|
-
z-index: 1;
|
|
106
|
-
transform: translateX(-50%);
|
|
107
|
-
border-width: p2r(6);
|
|
108
|
-
border-style: solid;
|
|
109
|
-
border-color: transparent;
|
|
110
|
-
border-top-color: var(--tt-bg);
|
|
111
|
-
width: 0;
|
|
112
|
-
height: 0;
|
|
113
|
-
opacity: 1;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&.below {
|
|
117
|
-
--tt-translate-y: -50%;
|
|
118
|
-
|
|
119
|
-
&:before {
|
|
120
|
-
border-top-color: transparent;
|
|
121
|
-
border-bottom-color: var(--tt-bg);
|
|
122
|
-
top: p2r(-12);
|
|
123
|
-
bottom: auto;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@supports not (anchor-name: --anchor) {
|
|
127
|
-
margin-block-start: p2r(12);
|
|
128
|
-
margin-block-end: 0;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.tooltip-content {
|
|
133
|
-
padding: p2r(8 12);
|
|
134
|
-
position: relative;
|
|
135
|
-
hyphens: auto;
|
|
136
|
-
text-wrap: pretty;
|
|
137
|
-
color: var(--tt-c);
|
|
138
|
-
max-height: var(--tt-mh);
|
|
139
|
-
max-width: var(--tt-mw);
|
|
140
|
-
overflow: auto;
|
|
141
|
-
background: var(--tt-bg);
|
|
142
|
-
border-radius: var(--shape-2);
|
|
143
|
-
box-shadow: var(--box-shadow-20);
|
|
144
|
-
|
|
145
|
-
@supports (anchor-name: --anchor) {
|
|
146
|
-
transform: translateY(var(--tt-translate-y)) scaleY(0) scaleX(0.8);
|
|
147
|
-
transition: transform 125ms linear;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|