reburn-ui 0.4.7 → 0.4.9
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/core/CodeHighlight/CodeHighlight.svelte +4 -4
- package/dist/core/charts/ChartRoot/ChartRoot.svelte +2 -2
- package/dist/core/charts/ChartTooltip/ChartTooltip.svelte +34 -26
- package/dist/core/charts/ChartTooltip/ChartTooltipData.svelte +9 -7
- package/dist/core/charts/ChartTooltip/ChartTooltipData.svelte.d.ts +1 -1
- package/dist/core/charts/ScatterChart/ScatterChartInner.svelte +21 -14
- package/dist/core/charts/utils/isNotEmpty.d.ts +1 -0
- package/dist/core/charts/utils/isNotEmpty.js +6 -0
- package/dist/core/components/Accordion/Accordion.svelte +14 -14
- package/dist/core/components/ActionIcon/ActionIcon.svelte +8 -8
- package/dist/core/components/ActionIcon/ActionIconGroupSection.svelte +6 -6
- package/dist/core/components/AppShell/AppShell.svelte +2 -2
- package/dist/core/components/AppShell/AppShellAside.svelte +1 -1
- package/dist/core/components/AppShell/AppShellNavbar.svelte +1 -1
- package/dist/core/components/Badge/Badge.svelte +2 -2
- package/dist/core/components/Burger/Burger.svelte +2 -2
- package/dist/core/components/Button/Button.svelte +2 -2
- package/dist/core/components/Button/ButtonGroupSection.svelte +6 -6
- package/dist/core/components/Checkbox/Checkbox.svelte +2 -2
- package/dist/core/components/Checkbox/CheckboxCard/CheckboxCard.svelte +2 -2
- package/dist/core/components/Checkbox/CheckboxIndicator.svelte +4 -4
- package/dist/core/components/Chip/Chip.svelte +18 -18
- package/dist/core/components/CloseButton/CloseButton.svelte +6 -6
- package/dist/core/components/ColorPicker/ColorSlider.svelte +4 -4
- package/dist/core/components/ColorPicker/Saturation.svelte +2 -2
- package/dist/core/components/ColorSwatch/ColorSwatch.svelte +2 -2
- package/dist/core/components/Combobox/ComboboxChevron.svelte +2 -2
- package/dist/core/components/Combobox/ComboboxFooter.svelte +2 -2
- package/dist/core/components/Combobox/ComboboxGroup.svelte +2 -2
- package/dist/core/components/Combobox/ComboboxHeader.svelte +2 -2
- package/dist/core/components/Combobox/ComboboxOption.svelte +4 -4
- package/dist/core/components/Combobox/ComboboxSearch.svelte +4 -4
- package/dist/core/components/Dropzone/Dropzone.svelte +6 -6
- package/dist/core/components/Fieldset/Fieldset.svelte +4 -4
- package/dist/core/components/Input/Input.svelte +7 -7
- package/dist/core/components/NavLink/NavLink.svelte +4 -4
- package/dist/core/components/Notification/Notification.svelte +14 -14
- package/dist/core/components/Paper/Paper.svelte +2 -2
- package/dist/core/components/Pill/Pill.svelte +6 -6
- package/dist/core/components/Popover/PopoverDropdown.svelte +2 -2
- package/dist/core/components/Progress/ProgressRoot.svelte +2 -2
- package/dist/core/components/ScrollArea/ScrollAreaCorner.svelte +2 -2
- package/dist/core/components/ScrollArea/ScrollAreaScrollbar/Scrollbar.svelte +8 -8
- package/dist/core/components/ScrollArea/ScrollAreaThumb.svelte +2 -2
- package/dist/core/components/SegmentedControl/SegmentedControl.svelte +16 -16
- package/dist/core/components/Slider/Marks.svelte +4 -4
- package/dist/core/components/Slider/SliderRoot.svelte +2 -2
- package/dist/core/components/Slider/Thumb.svelte +5 -5
- package/dist/core/components/Switch/Switch.svelte +4 -4
- package/dist/core/components/Table/Table.svelte +2 -2
- package/dist/core/components/Table/TableTh.svelte +3 -3
- package/dist/core/components/Tooltip/Tooltip.svelte +2 -2
- package/package.json +20 -19
|
@@ -139,10 +139,10 @@
|
|
|
139
139
|
border-radius: var(--ch-radius, 0px);
|
|
140
140
|
overflow: hidden;
|
|
141
141
|
}
|
|
142
|
-
:global(:where([data-mantine-color-scheme=
|
|
142
|
+
:global(:where([data-mantine-color-scheme='light'])) .code-highlight:where([data-with-border]) {
|
|
143
143
|
border: 1px solid var(--mantine-color-gray-2);
|
|
144
144
|
}
|
|
145
|
-
:global(:where([data-mantine-color-scheme=
|
|
145
|
+
:global(:where([data-mantine-color-scheme='dark'])) .code-highlight:where([data-with-border]) {
|
|
146
146
|
border: 1px solid var(--mantine-color-dark-6);
|
|
147
147
|
}
|
|
148
148
|
.code-highlight:where([data-with-border]):where([data-code-color-scheme=dark]) {
|
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
.code-highlight:where([data-with-border]):where([data-code-color-scheme=light]) {
|
|
152
152
|
border: 1px solid var(--mantine-color-gray-2);
|
|
153
153
|
}
|
|
154
|
-
:global(:where([data-mantine-color-scheme=
|
|
154
|
+
:global(:where([data-mantine-color-scheme='light'])) .code-highlight {
|
|
155
155
|
--ch-background: var(--mantine-color-gray-0);
|
|
156
156
|
}
|
|
157
|
-
:global(:where([data-mantine-color-scheme=
|
|
157
|
+
:global(:where([data-mantine-color-scheme='dark'])) .code-highlight {
|
|
158
158
|
--ch-background: var(--mantine-color-dark-8);
|
|
159
159
|
}
|
|
160
160
|
|
|
@@ -197,11 +197,11 @@
|
|
|
197
197
|
gap: 0.5rem;
|
|
198
198
|
--chart-bar-label-color: var(--mantine-color-dimmed);
|
|
199
199
|
}
|
|
200
|
-
:global(:where([data-mantine-color-scheme=
|
|
200
|
+
:global(:where([data-mantine-color-scheme='light'])) .root {
|
|
201
201
|
--chart-grid-color: rgba(173, 181, 189, 0.6);
|
|
202
202
|
--chart-cursor-fill: rgba(173, 181, 189, 0.15);
|
|
203
203
|
}
|
|
204
|
-
:global(:where([data-mantine-color-scheme=
|
|
204
|
+
:global(:where([data-mantine-color-scheme='dark'])) .root {
|
|
205
205
|
--chart-cursor-fill: rgba(105, 105, 105, 0.15);
|
|
206
206
|
--chart-grid-color: rgba(105, 105, 105, 0.6);
|
|
207
207
|
}
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
import { on } from 'svelte/events';
|
|
24
24
|
import { getChartContext } from '../ChartRoot/ChartContext.svelte.js';
|
|
25
25
|
import type { ChartData } from '../types.js';
|
|
26
|
+
import { isNotEmpty } from '../utils/isNotEmpty.js';
|
|
26
27
|
import ChartTooltipData from './ChartTooltipData.svelte';
|
|
27
28
|
import { findClosestElement } from './utils/findClosestElement.js';
|
|
28
29
|
import { getTooltipPosition } from './utils/getTooltipPosition.js';
|
|
@@ -64,16 +65,20 @@
|
|
|
64
65
|
height: rect.height,
|
|
65
66
|
};
|
|
66
67
|
|
|
67
|
-
dots =
|
|
68
|
-
const top = ctx.yScale(series.accessor?.(nearestElement[series.name]) || nearestElement[series.name]);
|
|
69
|
-
const left = ctx.xScale(ctx.xAccessor(nearestElement));
|
|
68
|
+
dots = [];
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
for (let i = 0; i < ctx.series.length; i++) {
|
|
71
|
+
const series = ctx.series[i];
|
|
72
|
+
const value = nearestElement[series.name];
|
|
73
|
+
|
|
74
|
+
if (isNotEmpty(value)) {
|
|
75
|
+
dots.push({
|
|
76
|
+
top: ctx.yScale(series.accessor?.(value) || value),
|
|
77
|
+
left: actualX,
|
|
78
|
+
color: getThemeColor(series.color),
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
77
82
|
}
|
|
78
83
|
}
|
|
79
84
|
|
|
@@ -144,21 +149,25 @@
|
|
|
144
149
|
|
|
145
150
|
<div class="body">
|
|
146
151
|
{#each ctx.series as series (series.name)}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
{@const data = series.accessor?.(element[series.name]) || element[series.name]}
|
|
153
|
+
|
|
154
|
+
{#if isNotEmpty(data)}
|
|
155
|
+
<div class="item">
|
|
156
|
+
<div class="item-body">
|
|
157
|
+
{#if showColor}
|
|
158
|
+
<div class="item-color">
|
|
159
|
+
<svg>
|
|
160
|
+
<circle r={6} fill={getThemeColor(series.color)} width={12} height={12} cx={6} cy={6} />
|
|
161
|
+
</svg>
|
|
162
|
+
</div>
|
|
163
|
+
{/if}
|
|
164
|
+
|
|
165
|
+
<div class="item-name">{series.name}</div>
|
|
166
|
+
</div>
|
|
167
|
+
|
|
168
|
+
<ChartTooltipData {series} {data} />
|
|
158
169
|
</div>
|
|
159
|
-
|
|
160
|
-
<ChartTooltipData {series} {element} />
|
|
161
|
-
</div>
|
|
170
|
+
{/if}
|
|
162
171
|
{/each}
|
|
163
172
|
</div>
|
|
164
173
|
</Paper>
|
|
@@ -228,10 +237,10 @@
|
|
|
228
237
|
font-size: var(--mantine-font-size-sm);
|
|
229
238
|
}
|
|
230
239
|
|
|
231
|
-
:global(:where([data-mantine-color-scheme=
|
|
240
|
+
:global(:where([data-mantine-color-scheme='light'])) .line {
|
|
232
241
|
--chart-grid-color: rgba(173, 181, 189, 0.6);
|
|
233
242
|
}
|
|
234
|
-
:global(:where([data-mantine-color-scheme=
|
|
243
|
+
:global(:where([data-mantine-color-scheme='dark'])) .line {
|
|
235
244
|
--chart-grid-color: rgba(105, 105, 105, 0.6);
|
|
236
245
|
}
|
|
237
246
|
.line {
|
|
@@ -254,7 +263,6 @@
|
|
|
254
263
|
}
|
|
255
264
|
|
|
256
265
|
.dot,
|
|
257
|
-
.root,
|
|
258
266
|
.line {
|
|
259
267
|
pointer-events: none;
|
|
260
268
|
}</style>
|
|
@@ -3,24 +3,26 @@
|
|
|
3
3
|
|
|
4
4
|
export interface ChartTooltipDataProps<T extends ChartData, K extends keyof T> {
|
|
5
5
|
series: ChartSeries<T, K>;
|
|
6
|
-
|
|
6
|
+
data: number | T[keyof T];
|
|
7
7
|
}
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<script lang="ts" generics="T extends ChartData, K extends keyof T">
|
|
11
|
-
let { series,
|
|
11
|
+
let { series, data }: ChartTooltipDataProps<T, K> = $props();
|
|
12
12
|
|
|
13
13
|
function defaultFormatLabel(d: number) {
|
|
14
14
|
return d.toString();
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
const
|
|
17
|
+
const formatLabel = $derived(series.formatLabel || defaultFormatLabel);
|
|
18
18
|
|
|
19
|
-
const
|
|
19
|
+
const formatted = $derived.by(() => {
|
|
20
|
+
if (data === undefined) return;
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
if (Array.isArray(data)) return data.sort((a, b) => b - a).map((item) => formatLabel(item as number));
|
|
23
|
+
|
|
24
|
+
return formatLabel(data as number);
|
|
25
|
+
});
|
|
24
26
|
</script>
|
|
25
27
|
|
|
26
28
|
<div class="item">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartData, ChartSeries } from '../types.js';
|
|
2
2
|
export interface ChartTooltipDataProps<T extends ChartData, K extends keyof T> {
|
|
3
3
|
series: ChartSeries<T, K>;
|
|
4
|
-
|
|
4
|
+
data: number | T[keyof T];
|
|
5
5
|
}
|
|
6
6
|
declare function $$render<T extends ChartData, K extends keyof T>(): {
|
|
7
7
|
props: ChartTooltipDataProps<T, K>;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import type { SvelteHTMLElements } from 'svelte/elements';
|
|
5
5
|
import type { ChartContext } from '../ChartRoot/ChartContext.svelte.js';
|
|
6
6
|
import type { ChartData, ChartSeries } from '../types.js';
|
|
7
|
+
import { isNotEmpty } from '../utils/isNotEmpty.js';
|
|
7
8
|
import type { __ScatterChartProps } from './ScatterChart.svelte';
|
|
8
9
|
|
|
9
10
|
type CircleElement = SvelteHTMLElements['circle'];
|
|
@@ -40,26 +41,32 @@
|
|
|
40
41
|
</script>
|
|
41
42
|
|
|
42
43
|
{#snippet dot(item: T, series: ChartSeries<T, keyof T>, value: T[keyof T])}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
{#if value !== undefined}
|
|
45
|
+
<circle
|
|
46
|
+
{...props}
|
|
47
|
+
cx={context.xScale(context.xAccessor(item))}
|
|
48
|
+
cy={context.yScale(series.accessor?.(value) || value)}
|
|
49
|
+
class="dot"
|
|
50
|
+
fill={getColor(series.color || color)}
|
|
51
|
+
r={dotSize}
|
|
52
|
+
/>
|
|
53
|
+
{/if}
|
|
51
54
|
{/snippet}
|
|
52
55
|
|
|
53
56
|
{#if context.xRange}
|
|
54
57
|
{#each context.data as item}
|
|
55
58
|
{#each context.series as series (series.name)}
|
|
56
59
|
{#if isScatterSeries(series)}
|
|
57
|
-
{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
{@const _value = item[series.name]}
|
|
61
|
+
|
|
62
|
+
{#if isNotEmpty(_value)}
|
|
63
|
+
{#if Array.isArray(_value)}
|
|
64
|
+
{#each item[series.name] as value}
|
|
65
|
+
{@render dot(item, series, value)}
|
|
66
|
+
{/each}
|
|
67
|
+
{:else}
|
|
68
|
+
{@render dot(item, series, _value)}
|
|
69
|
+
{/if}
|
|
63
70
|
{/if}
|
|
64
71
|
{/if}
|
|
65
72
|
{/each}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isNotEmpty<T>(data: T | T[]): data is T[];
|
|
@@ -194,30 +194,30 @@
|
|
|
194
194
|
flex-direction: row;
|
|
195
195
|
padding-inline-start: 0;
|
|
196
196
|
}
|
|
197
|
-
:global(:where([data-mantine-color-scheme=
|
|
197
|
+
:global(:where([data-mantine-color-scheme='light'])) .control {
|
|
198
198
|
color: var(--mantine-color-black);
|
|
199
199
|
}
|
|
200
|
-
:global(:where([data-mantine-color-scheme=
|
|
200
|
+
:global(:where([data-mantine-color-scheme='dark'])) .control {
|
|
201
201
|
color: var(--mantine-color-white);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
@media (hover: hover) {
|
|
205
|
-
:global(:where([data-mantine-color-scheme=
|
|
206
|
-
:global(:where([data-mantine-color-scheme=
|
|
205
|
+
:global(:where([data-mantine-color-scheme='light'])) .control--default:where(:not(:disabled, [data-disabled])):hover,
|
|
206
|
+
:global(:where([data-mantine-color-scheme='light'])) .control--contained:where(:not(:disabled, [data-disabled])):hover {
|
|
207
207
|
background-color: var(--mantine-color-gray-0);
|
|
208
208
|
}
|
|
209
|
-
:global(:where([data-mantine-color-scheme=
|
|
210
|
-
:global(:where([data-mantine-color-scheme=
|
|
209
|
+
:global(:where([data-mantine-color-scheme='dark'])) .control--default:where(:not(:disabled, [data-disabled])):hover,
|
|
210
|
+
:global(:where([data-mantine-color-scheme='dark'])) .control--contained:where(:not(:disabled, [data-disabled])):hover {
|
|
211
211
|
background-color: var(--mantine-color-dark-6);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
@media (hover: none) {
|
|
215
|
-
:global(:where([data-mantine-color-scheme=
|
|
216
|
-
:global(:where([data-mantine-color-scheme=
|
|
215
|
+
:global(:where([data-mantine-color-scheme='light'])) .control--default:where(:not(:disabled, [data-disabled])):active,
|
|
216
|
+
:global(:where([data-mantine-color-scheme='light'])) .control--contained:where(:not(:disabled, [data-disabled])):active {
|
|
217
217
|
background-color: var(--mantine-color-gray-0);
|
|
218
218
|
}
|
|
219
|
-
:global(:where([data-mantine-color-scheme=
|
|
220
|
-
:global(:where([data-mantine-color-scheme=
|
|
219
|
+
:global(:where([data-mantine-color-scheme='dark'])) .control--default:where(:not(:disabled, [data-disabled])):active,
|
|
220
|
+
:global(:where([data-mantine-color-scheme='dark'])) .control--contained:where(:not(:disabled, [data-disabled])):active {
|
|
221
221
|
background-color: var(--mantine-color-dark-6);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
@@ -260,11 +260,11 @@
|
|
|
260
260
|
margin-inline-start: var(--mantine-spacing-lg);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
:global(:where([data-mantine-color-scheme=
|
|
263
|
+
:global(:where([data-mantine-color-scheme='light'])) .item {
|
|
264
264
|
--item-border-color: var(--mantine-color-gray-3);
|
|
265
265
|
--item-filled-color: var(--mantine-color-gray-0);
|
|
266
266
|
}
|
|
267
|
-
:global(:where([data-mantine-color-scheme=
|
|
267
|
+
:global(:where([data-mantine-color-scheme='dark'])) .item {
|
|
268
268
|
--item-border-color: var(--mantine-color-dark-4);
|
|
269
269
|
--item-filled-color: var(--mantine-color-dark-6);
|
|
270
270
|
}
|
|
@@ -316,10 +316,10 @@
|
|
|
316
316
|
.item--separated[data-active] {
|
|
317
317
|
border-color: var(--item-filled-color);
|
|
318
318
|
}
|
|
319
|
-
:global(:where([data-mantine-color-scheme=
|
|
319
|
+
:global(:where([data-mantine-color-scheme='light'])) .item--separated[data-active] {
|
|
320
320
|
background-color: var(--mantine-color-white);
|
|
321
321
|
}
|
|
322
|
-
:global(:where([data-mantine-color-scheme=
|
|
322
|
+
:global(:where([data-mantine-color-scheme='dark'])) .item--separated[data-active] {
|
|
323
323
|
background-color: var(--mantine-color-dark-7);
|
|
324
324
|
}
|
|
325
325
|
.item--separated + .item--separated {
|
|
@@ -118,31 +118,31 @@
|
|
|
118
118
|
border: var(--ai-bd, calc(0.0625rem * var(--mantine-scale)) solid transparent);
|
|
119
119
|
cursor: pointer;
|
|
120
120
|
}
|
|
121
|
-
:global(.group[data-orientation=
|
|
121
|
+
:global(.group[data-orientation='horizontal']) > .root:not(:only-child):first-child {
|
|
122
122
|
border-end-end-radius: 0;
|
|
123
123
|
border-start-end-radius: 0;
|
|
124
124
|
border-inline-end-width: calc(var(--ai-border-width) / 2);
|
|
125
125
|
}
|
|
126
|
-
:global(.group[data-orientation=
|
|
126
|
+
:global(.group[data-orientation='horizontal']) > .root:not(:only-child):last-child {
|
|
127
127
|
border-end-start-radius: 0;
|
|
128
128
|
border-start-start-radius: 0;
|
|
129
129
|
border-inline-start-width: calc(var(--ai-border-width) / 2);
|
|
130
130
|
}
|
|
131
|
-
:global(.group[data-orientation=
|
|
131
|
+
:global(.group[data-orientation='horizontal']) > .root:not(:only-child):not(:first-child):not(:last-child) {
|
|
132
132
|
border-radius: 0;
|
|
133
133
|
border-inline-width: calc(var(--ai-border-width) / 2);
|
|
134
134
|
}
|
|
135
|
-
:global(.group[data-orientation=
|
|
135
|
+
:global(.group[data-orientation='vertical']) > .root:not(:only-child):first-child {
|
|
136
136
|
border-end-start-radius: 0;
|
|
137
137
|
border-end-end-radius: 0;
|
|
138
138
|
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
139
139
|
}
|
|
140
|
-
:global(.group[data-orientation=
|
|
140
|
+
:global(.group[data-orientation='vertical']) > .root:not(:only-child):last-child {
|
|
141
141
|
border-start-start-radius: 0;
|
|
142
142
|
border-start-end-radius: 0;
|
|
143
143
|
border-top-width: calc(var(--ai-border-width) / 2);
|
|
144
144
|
}
|
|
145
|
-
:global(.group[data-orientation=
|
|
145
|
+
:global(.group[data-orientation='vertical']) > .root:not(:only-child):not(:first-child):not(:last-child) {
|
|
146
146
|
border-radius: 0;
|
|
147
147
|
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
148
148
|
border-top-width: calc(var(--ai-border-width) / 2);
|
|
@@ -184,10 +184,10 @@
|
|
|
184
184
|
align-items: center;
|
|
185
185
|
justify-content: center;
|
|
186
186
|
}
|
|
187
|
-
:global(:where([data-mantine-color-scheme=
|
|
187
|
+
:global(:where([data-mantine-color-scheme='light'])) .loader {
|
|
188
188
|
background-color: rgba(255, 255, 255, 0.15);
|
|
189
189
|
}
|
|
190
|
-
:global(:where([data-mantine-color-scheme=
|
|
190
|
+
:global(:where([data-mantine-color-scheme='dark'])) .loader {
|
|
191
191
|
background-color: rgba(0, 0, 0, 0.15);
|
|
192
192
|
}
|
|
193
193
|
|
|
@@ -85,31 +85,31 @@
|
|
|
85
85
|
align-items: center;
|
|
86
86
|
justify-content: center;
|
|
87
87
|
}
|
|
88
|
-
:global(.group[data-orientation=
|
|
88
|
+
:global(.group[data-orientation='horizontal']) > .group-section:not(:only-child):first-child {
|
|
89
89
|
border-end-end-radius: 0;
|
|
90
90
|
border-start-end-radius: 0;
|
|
91
91
|
border-inline-end-width: calc(var(--ai-border-width) / 2);
|
|
92
92
|
}
|
|
93
|
-
:global(.group[data-orientation=
|
|
93
|
+
:global(.group[data-orientation='horizontal']) > .group-section:not(:only-child):last-child {
|
|
94
94
|
border-end-start-radius: 0;
|
|
95
95
|
border-start-start-radius: 0;
|
|
96
96
|
border-inline-start-width: calc(var(--ai-border-width) / 2);
|
|
97
97
|
}
|
|
98
|
-
:global(.group[data-orientation=
|
|
98
|
+
:global(.group[data-orientation='horizontal']) > .group-section:not(:only-child):not(:first-child):not(:last-child) {
|
|
99
99
|
border-radius: 0;
|
|
100
100
|
border-inline-width: calc(var(--ai-border-width) / 2);
|
|
101
101
|
}
|
|
102
|
-
:global(.group[data-orientation=
|
|
102
|
+
:global(.group[data-orientation='vertical']) > .group-section:not(:only-child):first-child {
|
|
103
103
|
border-end-start-radius: 0;
|
|
104
104
|
border-end-end-radius: 0;
|
|
105
105
|
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
106
106
|
}
|
|
107
|
-
:global(.group[data-orientation=
|
|
107
|
+
:global(.group[data-orientation='vertical']) > .group-section:not(:only-child):last-child {
|
|
108
108
|
border-start-start-radius: 0;
|
|
109
109
|
border-start-end-radius: 0;
|
|
110
110
|
border-top-width: calc(var(--ai-border-width) / 2);
|
|
111
111
|
}
|
|
112
|
-
:global(.group[data-orientation=
|
|
112
|
+
:global(.group[data-orientation='vertical']) > .group-section:not(:only-child):not(:first-child):not(:last-child) {
|
|
113
113
|
border-radius: 0;
|
|
114
114
|
border-bottom-width: calc(var(--ai-border-width) / 2);
|
|
115
115
|
border-top-width: calc(var(--ai-border-width) / 2);
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
--app-shell-aside-offset: 0rem !important;
|
|
108
108
|
--app-shell-footer-offset: 0rem !important;
|
|
109
109
|
}
|
|
110
|
-
:global([data-mantine-color-scheme=
|
|
110
|
+
:global([data-mantine-color-scheme='light']) .root {
|
|
111
111
|
--app-shell-border-color: var(--mantine-color-gray-3);
|
|
112
112
|
}
|
|
113
|
-
:global([data-mantine-color-scheme=
|
|
113
|
+
:global([data-mantine-color-scheme='dark']) .root {
|
|
114
114
|
--app-shell-border-color: var(--mantine-color-dark-4);
|
|
115
115
|
}</style>
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
transform: var(--app-shell-aside-transform);
|
|
50
50
|
z-index: var(--app-shell-aside-z-index);
|
|
51
51
|
}
|
|
52
|
-
.aside :global(:where([dir=
|
|
52
|
+
.aside :global(:where([dir='rtl'])) {
|
|
53
53
|
transform: var(--app-shell-aside-transform-rtl);
|
|
54
54
|
}
|
|
55
55
|
.aside:where([data-with-border]) {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
transform: var(--app-shell-navbar-transform);
|
|
51
51
|
z-index: var(--app-shell-navbar-z-index);
|
|
52
52
|
}
|
|
53
|
-
.navbar :global(:where([dir=
|
|
53
|
+
.navbar :global(:where([dir='rtl'])) {
|
|
54
54
|
transform: var(--app-shell-navbar-transform-rtl);
|
|
55
55
|
}
|
|
56
56
|
.navbar:where([data-with-border]) {
|
|
@@ -158,12 +158,12 @@
|
|
|
158
158
|
.root--dot {
|
|
159
159
|
--badge-dot-size: calc(var(--badge-height) / 3.4);
|
|
160
160
|
}
|
|
161
|
-
:global(:where([data-mantine-color-scheme=
|
|
161
|
+
:global(:where([data-mantine-color-scheme='light'])) .root--dot {
|
|
162
162
|
background-color: var(--mantine-color-white);
|
|
163
163
|
border-color: var(--mantine-color-gray-4);
|
|
164
164
|
color: var(--mantine-color-black);
|
|
165
165
|
}
|
|
166
|
-
:global(:where([data-mantine-color-scheme=
|
|
166
|
+
:global(:where([data-mantine-color-scheme='dark'])) .root--dot {
|
|
167
167
|
background-color: var(--mantine-color-dark-5);
|
|
168
168
|
border-color: var(--mantine-color-dark-5);
|
|
169
169
|
color: var(--mantine-color-white);
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
padding: calc(var(--mantine-spacing-xs) / 2);
|
|
68
68
|
cursor: pointer;
|
|
69
69
|
}
|
|
70
|
-
:global(:where([data-mantine-color-scheme=
|
|
70
|
+
:global(:where([data-mantine-color-scheme='light'])) .root {
|
|
71
71
|
--burger-color: var(--mantine-color-black);
|
|
72
72
|
}
|
|
73
|
-
:global(:where([data-mantine-color-scheme=
|
|
73
|
+
:global(:where([data-mantine-color-scheme='dark'])) .root {
|
|
74
74
|
--burger-color: var(--mantine-color-white);
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -202,10 +202,10 @@
|
|
|
202
202
|
filter: blur(12px);
|
|
203
203
|
transition: transform 150ms ease, opacity 100ms ease;
|
|
204
204
|
}
|
|
205
|
-
:global(:where([data-mantine-color-scheme=
|
|
205
|
+
:global(:where([data-mantine-color-scheme='light'])) .root::before {
|
|
206
206
|
background-color: rgba(255, 255, 255, 0.15);
|
|
207
207
|
}
|
|
208
|
-
:global(:where([data-mantine-color-scheme=
|
|
208
|
+
:global(:where([data-mantine-color-scheme='dark'])) .root::before {
|
|
209
209
|
background-color: rgba(0, 0, 0, 0.15);
|
|
210
210
|
}
|
|
211
211
|
.root:where([data-loading]) {
|
|
@@ -84,36 +84,36 @@
|
|
|
84
84
|
justify-content: center;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
:global(.group[data-orientation=
|
|
87
|
+
:global(.group[data-orientation='horizontal']) .groupSection:not(:only-child):first-child {
|
|
88
88
|
border-end-end-radius: 0;
|
|
89
89
|
border-start-end-radius: 0;
|
|
90
90
|
border-inline-end-width: calc(var(--button-border-width) / 2);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
:global(.group[data-orientation=
|
|
93
|
+
:global(.group[data-orientation='horizontal']) .groupSection:not(:only-child):last-child {
|
|
94
94
|
border-end-start-radius: 0;
|
|
95
95
|
border-start-start-radius: 0;
|
|
96
96
|
border-inline-start-width: calc(var(--button-border-width) / 2);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
:global(.group[data-orientation=
|
|
99
|
+
:global(.group[data-orientation='horizontal']) .groupSection:not(:only-child):not(:first-child):not(:last-child) {
|
|
100
100
|
border-radius: 0;
|
|
101
101
|
border-inline-width: calc(var(--button-border-width) / 2);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
:global(.group[data-orientation=
|
|
104
|
+
:global(.group[data-orientation='vertical']) .groupSection:not(:only-child):first-child {
|
|
105
105
|
border-end-start-radius: 0;
|
|
106
106
|
border-end-end-radius: 0;
|
|
107
107
|
border-bottom-width: calc(var(--button-border-width) / 2);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
:global(.group[data-orientation=
|
|
110
|
+
:global(.group[data-orientation='vertical']) .groupSection:not(:only-child):last-child {
|
|
111
111
|
border-start-start-radius: 0;
|
|
112
112
|
border-start-end-radius: 0;
|
|
113
113
|
border-top-width: calc(var(--button-border-width) / 2);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
:global(.group[data-orientation=
|
|
116
|
+
:global(.group[data-orientation='vertical']) .groupSection:not(:only-child):not(:first-child):not(:last-child) {
|
|
117
117
|
border-radius: 0;
|
|
118
118
|
border-bottom-width: calc(var(--button-border-width) / 2);
|
|
119
119
|
border-top-width: calc(var(--button-border-width) / 2);
|
|
@@ -177,11 +177,11 @@
|
|
|
177
177
|
cursor: var(--mantine-cursor-type);
|
|
178
178
|
-webkit-tap-highlight-color: transparent;
|
|
179
179
|
}
|
|
180
|
-
:global(:where([data-mantine-color-scheme=
|
|
180
|
+
:global(:where([data-mantine-color-scheme='light'])) .input {
|
|
181
181
|
background-color: var(--mantine-color-white);
|
|
182
182
|
border-color: var(--mantine-color-gray-4);
|
|
183
183
|
}
|
|
184
|
-
:global(:where([data-mantine-color-scheme=
|
|
184
|
+
:global(:where([data-mantine-color-scheme='dark'])) .input {
|
|
185
185
|
background-color: var(--mantine-color-dark-6);
|
|
186
186
|
border-color: var(--mantine-color-dark-4);
|
|
187
187
|
}
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
:global(.card-nx0ZB2nP:where([data-with-border])) {
|
|
83
83
|
border: 1px solid transparent;
|
|
84
84
|
}
|
|
85
|
-
:global(:where([data-mantine-color-scheme=
|
|
85
|
+
:global(:where([data-mantine-color-scheme='light'])) :global(.card-nx0ZB2nP:where([data-with-border])) {
|
|
86
86
|
border-color: var(--mantine-color-gray-3);
|
|
87
87
|
}
|
|
88
|
-
:global(:where([data-mantine-color-scheme=
|
|
88
|
+
:global(:where([data-mantine-color-scheme='dark'])) :global(.card-nx0ZB2nP:where([data-with-border])) {
|
|
89
89
|
border-color: var(--mantine-color-dark-4);
|
|
90
90
|
}</style>
|
|
@@ -128,11 +128,11 @@
|
|
|
128
128
|
align-items: center;
|
|
129
129
|
justify-content: center;
|
|
130
130
|
}
|
|
131
|
-
:global(:where([data-mantine-color-scheme=
|
|
131
|
+
:global(:where([data-mantine-color-scheme='light'])) .indicator {
|
|
132
132
|
background-color: var(--mantine-color-white);
|
|
133
133
|
border-color: var(--mantine-color-gray-4);
|
|
134
134
|
}
|
|
135
|
-
:global(:where([data-mantine-color-scheme=
|
|
135
|
+
:global(:where([data-mantine-color-scheme='dark'])) .indicator {
|
|
136
136
|
background-color: var(--mantine-color-dark-6);
|
|
137
137
|
border-color: var(--mantine-color-dark-4);
|
|
138
138
|
}
|
|
@@ -168,10 +168,10 @@
|
|
|
168
168
|
color: var(--checkbox-icon-color);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
:global([data-mantine-color-scheme=
|
|
171
|
+
:global([data-mantine-color-scheme='light']) * :global(.icon[data-disabled][data-checked]) {
|
|
172
172
|
color: var(--mantine-color-gray-5);
|
|
173
173
|
}
|
|
174
|
-
:global([data-mantine-color-scheme=
|
|
174
|
+
:global([data-mantine-color-scheme='dark']) * :global(.icon[data-disabled][data-checked]) {
|
|
175
175
|
color: var(--mantine-color-dark-3);
|
|
176
176
|
}
|
|
177
177
|
|