@zonsh/ui 0.0.0-stage → 0.2.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 +21 -0
- package/README.md +76 -2
- package/assets/illustrations/drawing/bracket-construction-dark.svg +77 -0
- package/assets/illustrations/drawing/bracket-construction-filled-dark.svg +50 -0
- package/assets/illustrations/drawing/bracket-construction-filled.svg +50 -0
- package/assets/illustrations/drawing/bracket-construction.svg +77 -0
- package/assets/illustrations/drawing/crescent-dark.svg +28 -0
- package/assets/illustrations/drawing/crescent-guides-dark.svg +33 -0
- package/assets/illustrations/drawing/crescent-guides.svg +33 -0
- package/assets/illustrations/drawing/crescent.svg +28 -0
- package/assets/illustrations/drawing/eclipse-dark.svg +187 -0
- package/assets/illustrations/drawing/eclipse-guides-dark.svg +191 -0
- package/assets/illustrations/drawing/eclipse-guides.svg +191 -0
- package/assets/illustrations/drawing/eclipse.svg +187 -0
- package/assets/illustrations/drawing/elevation-guides-dark.svg +31 -0
- package/assets/illustrations/drawing/elevation-guides-plain-dark.svg +9 -0
- package/assets/illustrations/drawing/elevation-guides-plain.svg +9 -0
- package/assets/illustrations/drawing/elevation-guides.svg +31 -0
- package/assets/illustrations/drawing/horizon-dark.svg +30 -0
- package/assets/illustrations/drawing/horizon.svg +30 -0
- package/assets/illustrations/drawing/nib-study-dark.svg +107 -0
- package/assets/illustrations/drawing/nib-study-plain-dark.svg +93 -0
- package/assets/illustrations/drawing/nib-study-plain.svg +93 -0
- package/assets/illustrations/drawing/nib-study.svg +107 -0
- package/assets/illustrations/editorial/assistant-640.webp +0 -0
- package/assets/illustrations/editorial/assistant.webp +0 -0
- package/assets/illustrations/editorial/automation-640.webp +0 -0
- package/assets/illustrations/editorial/automation.webp +0 -0
- package/assets/illustrations/editorial/bracket-left-640.webp +0 -0
- package/assets/illustrations/editorial/bracket-left.webp +0 -0
- package/assets/illustrations/editorial/bracket-right-640.webp +0 -0
- package/assets/illustrations/editorial/bracket-right.webp +0 -0
- package/assets/illustrations/editorial/custom-software-640.webp +0 -0
- package/assets/illustrations/editorial/custom-software.webp +0 -0
- package/assets/illustrations/editorial/digitalization-640.webp +0 -0
- package/assets/illustrations/editorial/digitalization.webp +0 -0
- package/assets/illustrations/editorial/integration-640.webp +0 -0
- package/assets/illustrations/editorial/integration.webp +0 -0
- package/assets/illustrations/editorial/problem-640.webp +0 -0
- package/assets/illustrations/editorial/problem.webp +0 -0
- package/assets/illustrations/editorial/process-analysis-640.webp +0 -0
- package/assets/illustrations/editorial/process-analysis.webp +0 -0
- package/assets/illustrations/editorial/process-concept-640.webp +0 -0
- package/assets/illustrations/editorial/process-concept.webp +0 -0
- package/assets/illustrations/editorial/process-development-640.webp +0 -0
- package/assets/illustrations/editorial/process-development.webp +0 -0
- package/assets/illustrations/editorial/process-discovery-640.webp +0 -0
- package/assets/illustrations/editorial/process-discovery.webp +0 -0
- package/assets/illustrations/editorial/process-maintenance-640.webp +0 -0
- package/assets/illustrations/editorial/process-maintenance.webp +0 -0
- package/assets/illustrations/editorial/process-prototype-640.webp +0 -0
- package/assets/illustrations/editorial/process-prototype.webp +0 -0
- package/assets/illustrations/editorial/process-testing-640.webp +0 -0
- package/assets/illustrations/editorial/process-testing.webp +0 -0
- package/assets/illustrations/iso/automation-dark.svg +6 -0
- package/assets/illustrations/iso/automation.svg +6 -0
- package/assets/illustrations/iso/bar-chart-dark.svg +6 -0
- package/assets/illustrations/iso/bar-chart.svg +6 -0
- package/assets/illustrations/iso/brackets-classic-dark.svg +6 -0
- package/assets/illustrations/iso/brackets-classic.svg +6 -0
- package/assets/illustrations/iso/brackets-dark.svg +6 -0
- package/assets/illustrations/iso/brackets.svg +6 -0
- package/assets/illustrations/iso/city-dark.svg +6 -0
- package/assets/illustrations/iso/city.svg +6 -0
- package/assets/illustrations/iso/conveyor-dark.svg +6 -0
- package/assets/illustrations/iso/conveyor.svg +6 -0
- package/assets/illustrations/iso/database-dark.svg +6 -0
- package/assets/illustrations/iso/database.svg +6 -0
- package/assets/illustrations/iso/documents-dark.svg +6 -0
- package/assets/illustrations/iso/documents.svg +6 -0
- package/assets/illustrations/iso/inbox-dark.svg +6 -0
- package/assets/illustrations/iso/inbox.svg +6 -0
- package/assets/illustrations/iso/laptop-dark.svg +6 -0
- package/assets/illustrations/iso/laptop.svg +6 -0
- package/assets/illustrations/iso/monitor-dark.svg +6 -0
- package/assets/illustrations/iso/monitor.svg +6 -0
- package/assets/illustrations/iso/pipeline-dark.svg +6 -0
- package/assets/illustrations/iso/pipeline.svg +6 -0
- package/assets/illustrations/iso/platform-dark.svg +6 -0
- package/assets/illustrations/iso/platform.svg +6 -0
- package/assets/illustrations/iso/server-dark.svg +6 -0
- package/assets/illustrations/iso/server.svg +6 -0
- package/assets/illustrations/iso/spreadsheet-dark.svg +6 -0
- package/assets/illustrations/iso/spreadsheet.svg +6 -0
- package/assets/illustrations/iso/timeline-dark.svg +6 -0
- package/assets/illustrations/iso/timeline.svg +6 -0
- package/assets/illustrations/sheet/construction.svg +115 -0
- package/assets/illustrations/sheet/crescent.svg +40 -0
- package/assets/illustrations/sheet/limb.svg +42 -0
- package/assets/illustrations/sheet/stress-axis.svg +119 -0
- package/assets/illustrations/sheet/totality.svg +215 -0
- package/assets/illustrations/sheet/vertical-metrics.svg +43 -0
- package/assets/logo-left.svg +1 -0
- package/assets/logo-right.svg +1 -0
- package/assets/logo.svg +1 -0
- package/dist/components/_overlay.d.ts +47 -0
- package/dist/components/_overlay.js +59 -0
- package/dist/components/accordion.d.ts +32 -0
- package/dist/components/accordion.js +39 -0
- package/dist/components/alert-dialog.d.ts +45 -0
- package/dist/components/alert-dialog.js +56 -0
- package/dist/components/alert.d.ts +35 -0
- package/dist/components/alert.js +42 -0
- package/dist/components/ascii-field.d.ts +34 -0
- package/dist/components/ascii-field.js +410 -0
- package/dist/components/aspect-ratio.d.ts +14 -0
- package/dist/components/aspect-ratio.js +17 -0
- package/dist/components/avatar.d.ts +42 -0
- package/dist/components/avatar.js +55 -0
- package/dist/components/badge.d.ts +70 -0
- package/dist/components/badge.js +62 -0
- package/dist/components/breadcrumb.d.ts +22 -0
- package/dist/components/breadcrumb.js +32 -0
- package/dist/components/button-group.d.ts +30 -0
- package/dist/components/button-group.js +47 -0
- package/dist/components/button.d.ts +53 -0
- package/dist/components/button.js +130 -0
- package/dist/components/calendar.d.ts +26 -0
- package/dist/components/calendar.js +164 -0
- package/dist/components/card.d.ts +42 -0
- package/dist/components/card.js +76 -0
- package/dist/components/carousel.d.ts +90 -0
- package/dist/components/carousel.js +213 -0
- package/dist/components/chart.d.ts +180 -0
- package/dist/components/chart.js +286 -0
- package/dist/components/checkbox.d.ts +23 -0
- package/dist/components/checkbox.js +43 -0
- package/dist/components/code-block.d.ts +45 -0
- package/dist/components/code-block.js +58 -0
- package/dist/components/code-highlight.d.ts +13 -0
- package/dist/components/code-highlight.js +107 -0
- package/dist/components/collapsible.d.ts +20 -0
- package/dist/components/collapsible.js +32 -0
- package/dist/components/color-picker.d.ts +85 -0
- package/dist/components/color-picker.js +407 -0
- package/dist/components/combobox.d.ts +81 -0
- package/dist/components/combobox.js +100 -0
- package/dist/components/command.d.ts +112 -0
- package/dist/components/command.js +212 -0
- package/dist/components/context-menu.d.ts +29 -0
- package/dist/components/context-menu.js +35 -0
- package/dist/components/conversation.d.ts +27 -0
- package/dist/components/conversation.js +293 -0
- package/dist/components/copy-button.d.ts +46 -0
- package/dist/components/copy-button.js +118 -0
- package/dist/components/data-table.d.ts +175 -0
- package/dist/components/data-table.js +302 -0
- package/dist/components/date-picker.d.ts +91 -0
- package/dist/components/date-picker.js +207 -0
- package/dist/components/dialog.d.ts +48 -0
- package/dist/components/dialog.js +92 -0
- package/dist/components/direction.d.ts +16 -0
- package/dist/components/direction.js +18 -0
- package/dist/components/drawer.d.ts +60 -0
- package/dist/components/drawer.js +76 -0
- package/dist/components/empty.d.ts +31 -0
- package/dist/components/empty.js +50 -0
- package/dist/components/feature-list.d.ts +54 -0
- package/dist/components/feature-list.js +43 -0
- package/dist/components/field.d.ts +15 -0
- package/dist/components/field.js +36 -0
- package/dist/components/file-drop.d.ts +55 -0
- package/dist/components/file-drop.js +197 -0
- package/dist/components/filter-bar.d.ts +106 -0
- package/dist/components/filter-bar.js +296 -0
- package/dist/components/form.d.ts +33 -0
- package/dist/components/form.js +34 -0
- package/dist/components/graph.d.ts +105 -0
- package/dist/components/graph.js +786 -0
- package/dist/components/illustration.d.ts +85 -0
- package/dist/components/illustration.js +165 -0
- package/dist/components/input-group.d.ts +127 -0
- package/dist/components/input-group.js +292 -0
- package/dist/components/input.d.ts +16 -0
- package/dist/components/input.js +25 -0
- package/dist/components/item.d.ts +64 -0
- package/dist/components/item.js +116 -0
- package/dist/components/kbd.d.ts +33 -0
- package/dist/components/kbd.js +38 -0
- package/dist/components/label.d.ts +12 -0
- package/dist/components/label.js +24 -0
- package/dist/components/layout.d.ts +136 -0
- package/dist/components/layout.js +162 -0
- package/dist/components/logo.d.ts +54 -0
- package/dist/components/logo.js +96 -0
- package/dist/components/menu.d.ts +60 -0
- package/dist/components/menu.js +138 -0
- package/dist/components/menubar.d.ts +62 -0
- package/dist/components/menubar.js +223 -0
- package/dist/components/message.d.ts +42 -0
- package/dist/components/message.js +56 -0
- package/dist/components/meter.d.ts +31 -0
- package/dist/components/meter.js +25 -0
- package/dist/components/native-select.d.ts +26 -0
- package/dist/components/native-select.js +35 -0
- package/dist/components/navigation-menu.d.ts +42 -0
- package/dist/components/navigation-menu.js +97 -0
- package/dist/components/number-field.d.ts +36 -0
- package/dist/components/number-field.js +153 -0
- package/dist/components/otp-field.d.ts +35 -0
- package/dist/components/otp-field.js +94 -0
- package/dist/components/pagination.d.ts +31 -0
- package/dist/components/pagination.js +70 -0
- package/dist/components/pdf-viewer.d.ts +69 -0
- package/dist/components/pdf-viewer.js +929 -0
- package/dist/components/popover.d.ts +33 -0
- package/dist/components/popover.js +48 -0
- package/dist/components/preview-card.d.ts +25 -0
- package/dist/components/preview-card.js +22 -0
- package/dist/components/progress.d.ts +27 -0
- package/dist/components/progress.js +23 -0
- package/dist/components/prompt-input.d.ts +131 -0
- package/dist/components/prompt-input.js +403 -0
- package/dist/components/quote.d.ts +22 -0
- package/dist/components/quote.js +15 -0
- package/dist/components/radio-group.d.ts +18 -0
- package/dist/components/radio-group.js +34 -0
- package/dist/components/reasoning.d.ts +31 -0
- package/dist/components/reasoning.js +70 -0
- package/dist/components/resizable.d.ts +38 -0
- package/dist/components/resizable.js +41 -0
- package/dist/components/response.d.ts +30 -0
- package/dist/components/response.js +538 -0
- package/dist/components/scroll-area.d.ts +33 -0
- package/dist/components/scroll-area.js +31 -0
- package/dist/components/select.d.ts +35 -0
- package/dist/components/select.js +60 -0
- package/dist/components/separator.d.ts +14 -0
- package/dist/components/separator.js +17 -0
- package/dist/components/sidebar.d.ts +147 -0
- package/dist/components/sidebar.js +489 -0
- package/dist/components/site-header.d.ts +59 -0
- package/dist/components/site-header.js +67 -0
- package/dist/components/skeleton.d.ts +31 -0
- package/dist/components/skeleton.js +29 -0
- package/dist/components/slider.d.ts +24 -0
- package/dist/components/slider.js +129 -0
- package/dist/components/sources.d.ts +25 -0
- package/dist/components/sources.js +35 -0
- package/dist/components/spinner.d.ts +36 -0
- package/dist/components/spinner.js +72 -0
- package/dist/components/suggestions.d.ts +20 -0
- package/dist/components/suggestions.js +18 -0
- package/dist/components/switch.d.ts +14 -0
- package/dist/components/switch.js +26 -0
- package/dist/components/table.d.ts +162 -0
- package/dist/components/table.js +758 -0
- package/dist/components/tabs.d.ts +25 -0
- package/dist/components/tabs.js +162 -0
- package/dist/components/tag.d.ts +41 -0
- package/dist/components/tag.js +88 -0
- package/dist/components/tags-input.d.ts +40 -0
- package/dist/components/tags-input.js +239 -0
- package/dist/components/textarea.d.ts +13 -0
- package/dist/components/textarea.js +16 -0
- package/dist/components/theme.d.ts +41 -0
- package/dist/components/theme.js +112 -0
- package/dist/components/time-field.d.ts +51 -0
- package/dist/components/time-field.js +437 -0
- package/dist/components/timeline.d.ts +76 -0
- package/dist/components/timeline.js +99 -0
- package/dist/components/toast.d.ts +72 -0
- package/dist/components/toast.js +196 -0
- package/dist/components/toggle-group.d.ts +41 -0
- package/dist/components/toggle-group.js +140 -0
- package/dist/components/toggle.d.ts +23 -0
- package/dist/components/toggle.js +35 -0
- package/dist/components/tool-call.d.ts +52 -0
- package/dist/components/tool-call.js +57 -0
- package/dist/components/toolbar.d.ts +17 -0
- package/dist/components/toolbar.js +34 -0
- package/dist/components/tooltip.d.ts +42 -0
- package/dist/components/tooltip.js +47 -0
- package/dist/components/tree.d.ts +75 -0
- package/dist/components/tree.js +636 -0
- package/dist/components/typography.d.ts +134 -0
- package/dist/components/typography.js +176 -0
- package/dist/components/video-player.d.ts +276 -0
- package/dist/components/video-player.js +1352 -0
- package/dist/components/whiteboard.d.ts +80 -0
- package/dist/components/whiteboard.js +389 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.js +86 -0
- package/dist/lib/cn.d.ts +20 -0
- package/dist/lib/cn.js +38 -0
- package/dist/lib/code-highlight.d.ts +31 -0
- package/dist/lib/code-highlight.js +24 -0
- package/dist/lib/code-theme.d.ts +19 -0
- package/dist/lib/code-theme.js +140 -0
- package/dist/lib/collapse-row.d.ts +9 -0
- package/dist/lib/collapse-row.js +129 -0
- package/dist/lib/digit-roll.d.ts +21 -0
- package/dist/lib/digit-roll.js +31 -0
- package/dist/lib/editorial-assets.d.ts +16 -0
- package/dist/lib/editorial-assets.js +56 -0
- package/dist/lib/figure/catalog.d.ts +127 -0
- package/dist/lib/figure/catalog.js +130 -0
- package/dist/lib/figure/figures/automation.d.ts +7 -0
- package/dist/lib/figure/figures/automation.js +143 -0
- package/dist/lib/figure/figures/bar-chart.d.ts +7 -0
- package/dist/lib/figure/figures/bar-chart.js +99 -0
- package/dist/lib/figure/figures/brackets-classic.d.ts +11 -0
- package/dist/lib/figure/figures/brackets-classic.js +170 -0
- package/dist/lib/figure/figures/brackets.d.ts +8 -0
- package/dist/lib/figure/figures/brackets.js +84 -0
- package/dist/lib/figure/figures/city.d.ts +7 -0
- package/dist/lib/figure/figures/city.js +93 -0
- package/dist/lib/figure/figures/conveyor.d.ts +7 -0
- package/dist/lib/figure/figures/conveyor.js +97 -0
- package/dist/lib/figure/figures/database.d.ts +7 -0
- package/dist/lib/figure/figures/database.js +65 -0
- package/dist/lib/figure/figures/documents.d.ts +7 -0
- package/dist/lib/figure/figures/documents.js +83 -0
- package/dist/lib/figure/figures/inbox.d.ts +7 -0
- package/dist/lib/figure/figures/inbox.js +92 -0
- package/dist/lib/figure/figures/laptop.d.ts +7 -0
- package/dist/lib/figure/figures/laptop.js +67 -0
- package/dist/lib/figure/figures/monitor.d.ts +7 -0
- package/dist/lib/figure/figures/monitor.js +59 -0
- package/dist/lib/figure/figures/pipeline.d.ts +8 -0
- package/dist/lib/figure/figures/pipeline.js +117 -0
- package/dist/lib/figure/figures/platform.d.ts +7 -0
- package/dist/lib/figure/figures/platform.js +117 -0
- package/dist/lib/figure/figures/server.d.ts +7 -0
- package/dist/lib/figure/figures/server.js +115 -0
- package/dist/lib/figure/figures/spreadsheet.d.ts +7 -0
- package/dist/lib/figure/figures/spreadsheet.js +87 -0
- package/dist/lib/figure/figures/timeline.d.ts +7 -0
- package/dist/lib/figure/figures/timeline.js +65 -0
- package/dist/lib/figure/kernel.d.ts +152 -0
- package/dist/lib/figure/kernel.js +576 -0
- package/dist/lib/figure/parts.d.ts +42 -0
- package/dist/lib/figure/parts.js +126 -0
- package/dist/lib/form-reset.d.ts +11 -0
- package/dist/lib/form-reset.js +22 -0
- package/dist/lib/glide.d.ts +53 -0
- package/dist/lib/glide.js +138 -0
- package/dist/lib/graph-layout.d.ts +58 -0
- package/dist/lib/graph-layout.js +200 -0
- package/dist/lib/illustration-drawings.d.ts +89 -0
- package/dist/lib/illustration-drawings.js +539 -0
- package/dist/lib/illustration-info.d.ts +37 -0
- package/dist/lib/illustration-info.js +22 -0
- package/dist/lib/illustration-library.d.ts +87 -0
- package/dist/lib/illustration-library.js +352 -0
- package/dist/lib/logo-geometry.d.ts +29 -0
- package/dist/lib/logo-geometry.js +67 -0
- package/dist/lib/markdown-guard.d.ts +16 -0
- package/dist/lib/markdown-guard.js +123 -0
- package/dist/lib/merge-refs.d.ts +10 -0
- package/dist/lib/merge-refs.js +26 -0
- package/dist/lib/motion.d.ts +6 -0
- package/dist/lib/motion.js +12 -0
- package/dist/lib/pdf-worker.d.ts +1 -0
- package/dist/lib/pdf-worker.js +6 -0
- package/dist/lib/pdf.d.ts +19 -0
- package/dist/lib/pdf.js +58 -0
- package/dist/lib/platform.d.ts +33 -0
- package/dist/lib/platform.js +68 -0
- package/dist/lib/room.d.ts +25 -0
- package/dist/lib/room.js +46 -0
- package/dist/lib/table-fit.d.ts +143 -0
- package/dist/lib/table-fit.js +577 -0
- package/dist/lib/theme-script.d.ts +18 -0
- package/dist/lib/theme-script.js +29 -0
- package/dist/styles/expressive.css +188 -0
- package/dist/styles/fonts.css +145 -0
- package/dist/styles/index.css +206 -0
- package/dist/styles/material.css +313 -0
- package/dist/styles/parts/ai.css +360 -0
- package/dist/styles/parts/brand.css +75 -0
- package/dist/styles/parts/controls.css +725 -0
- package/dist/styles/parts/data.css +222 -0
- package/dist/styles/parts/editorial.css +120 -0
- package/dist/styles/parts/feedback.css +273 -0
- package/dist/styles/parts/foundations.css +166 -0
- package/dist/styles/parts/graph.css +214 -0
- package/dist/styles/parts/inputs.css +261 -0
- package/dist/styles/parts/isometric.css +124 -0
- package/dist/styles/parts/navigation.css +232 -0
- package/dist/styles/parts/overlays.css +250 -0
- package/dist/styles/parts/pdf.css +154 -0
- package/dist/styles/parts/react-flow.css +519 -0
- package/dist/styles/parts/whiteboard.css +855 -0
- package/dist/styles/tokens.css +290 -0
- package/dist/vite.d.ts +116 -0
- package/dist/vite.js +129 -0
- package/package.json +189 -3
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/* data components — owned by the data group (Chart, Table, DataTable). Prefer Tailwind in TSX; use this only for what classes cannot express (SVG internals of Recharts). */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Recharts theming. Recharts writes presentation attributes (fill="#666", stroke="#ccc");
|
|
5
|
+
* CSS outranks them, so every chart inside a ChartContainer takes the zon look
|
|
6
|
+
* without props: mono muted ticks, --grid-line hairlines, no tick marks, a hairline cursor,
|
|
7
|
+
* 1.5px lines with no dots except the active one, which glides with the cursor.
|
|
8
|
+
*/
|
|
9
|
+
@layer components {
|
|
10
|
+
[data-slot="chart"] {
|
|
11
|
+
/* What follows the pointer — the cursor, the active dot, the tooltip — glides on a softer
|
|
12
|
+
ease-out than --ease: that curve covers most of the way in the first frame, so a move
|
|
13
|
+
across the chart read as a jump and then a slow settle. 0 under reduced motion. */
|
|
14
|
+
--chart-glide: calc(var(--duration) * 1.2) cubic-bezier(0.33, 1, 0.68, 1);
|
|
15
|
+
|
|
16
|
+
/* Axes and ticks */
|
|
17
|
+
& .recharts-cartesian-axis-tick-value,
|
|
18
|
+
& .recharts-polar-angle-axis-tick-value,
|
|
19
|
+
& .recharts-polar-radius-axis-tick-value {
|
|
20
|
+
fill: var(--muted-foreground);
|
|
21
|
+
font-family: var(--font-mono);
|
|
22
|
+
font-size: 11px;
|
|
23
|
+
font-variant-numeric: tabular-nums;
|
|
24
|
+
}
|
|
25
|
+
& .recharts-cartesian-axis-tick-line,
|
|
26
|
+
& .recharts-polar-radius-axis-line {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
& .recharts-cartesian-axis-line {
|
|
30
|
+
stroke: var(--border);
|
|
31
|
+
}
|
|
32
|
+
/* The baseline stays; the value axis is carried by the grid. */
|
|
33
|
+
& .recharts-yAxis .recharts-cartesian-axis-line {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
&[data-grid="vertical"] .recharts-yAxis .recharts-cartesian-axis-line {
|
|
37
|
+
display: inline;
|
|
38
|
+
}
|
|
39
|
+
&[data-grid="vertical"] .recharts-xAxis .recharts-cartesian-axis-line {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Grid: hairlines in --grid-line, horizontal only unless data-grid says otherwise */
|
|
44
|
+
& .recharts-cartesian-grid line,
|
|
45
|
+
& .recharts-polar-grid line,
|
|
46
|
+
& .recharts-polar-grid path,
|
|
47
|
+
& .recharts-polar-grid circle,
|
|
48
|
+
& .recharts-polar-grid polygon {
|
|
49
|
+
stroke: var(--grid-line);
|
|
50
|
+
stroke-dasharray: none;
|
|
51
|
+
}
|
|
52
|
+
&[data-grid="horizontal"] .recharts-cartesian-grid-vertical,
|
|
53
|
+
&[data-grid="vertical"] .recharts-cartesian-grid-horizontal {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Marks */
|
|
58
|
+
& .recharts-line-curve,
|
|
59
|
+
& .recharts-area-curve,
|
|
60
|
+
& .recharts-radar-polygon path {
|
|
61
|
+
stroke-width: 1.5px;
|
|
62
|
+
stroke-linejoin: round;
|
|
63
|
+
stroke-linecap: round;
|
|
64
|
+
}
|
|
65
|
+
& .recharts-line-dots {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
/* A series of one point has no line to draw: its dot stays, a ring in the series colour,
|
|
69
|
+
or the series would not show at all. */
|
|
70
|
+
& .recharts-line-dots:has(> .recharts-dot:only-child) {
|
|
71
|
+
display: inline;
|
|
72
|
+
}
|
|
73
|
+
& .recharts-line-dots > .recharts-dot:only-child {
|
|
74
|
+
fill: var(--background);
|
|
75
|
+
stroke-width: 1.5px;
|
|
76
|
+
}
|
|
77
|
+
& .recharts-active-dot circle,
|
|
78
|
+
& .recharts-dot.recharts-active-dot {
|
|
79
|
+
stroke: var(--field-surface);
|
|
80
|
+
stroke-width: 2px;
|
|
81
|
+
/* Recharts keeps the one dot and moves it: it glides with the cursor (ChartCursor). */
|
|
82
|
+
transition:
|
|
83
|
+
cx var(--chart-glide),
|
|
84
|
+
cy var(--chart-glide);
|
|
85
|
+
}
|
|
86
|
+
/* Sectors carry no border. A full pie separates its segments with a 2px rule in the colour
|
|
87
|
+
behind the chart: set --chart-sector-gap (e.g. var(--background)) on the container. */
|
|
88
|
+
& .recharts-sector,
|
|
89
|
+
& .recharts-pie-sector path {
|
|
90
|
+
stroke: var(--chart-sector-gap, none);
|
|
91
|
+
stroke-width: 2px;
|
|
92
|
+
stroke-linejoin: round;
|
|
93
|
+
}
|
|
94
|
+
& .recharts-label-list text,
|
|
95
|
+
& .recharts-label {
|
|
96
|
+
fill: var(--foreground-soft);
|
|
97
|
+
font-family: var(--font-mono);
|
|
98
|
+
font-size: 11px;
|
|
99
|
+
font-variant-numeric: tabular-nums;
|
|
100
|
+
}
|
|
101
|
+
& .recharts-reference-line line {
|
|
102
|
+
stroke: var(--control-focus);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Cursor: a hairline on lines and areas, a quiet band on bars — gliding from point to point
|
|
106
|
+
(ChartCursor moves it by a transform; 0 under reduced motion). */
|
|
107
|
+
& :is(.recharts-curve, line).recharts-tooltip-cursor {
|
|
108
|
+
stroke: var(--control-focus);
|
|
109
|
+
stroke-width: 1px;
|
|
110
|
+
}
|
|
111
|
+
& :is(.recharts-rectangle, .recharts-sector, rect).recharts-tooltip-cursor {
|
|
112
|
+
fill: var(--control-hover);
|
|
113
|
+
fill-opacity: 0.6;
|
|
114
|
+
stroke: none;
|
|
115
|
+
}
|
|
116
|
+
& [data-slot="chart-cursor"] {
|
|
117
|
+
transition: transform var(--chart-glide);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Tooltip follows the pointer with the cursor (0 under reduced motion). */
|
|
121
|
+
& .recharts-tooltip-wrapper {
|
|
122
|
+
transition-duration: calc(var(--duration) * 1.2) !important;
|
|
123
|
+
transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1) !important;
|
|
124
|
+
z-index: 10;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Focus. Recharts makes the surface and each series group focusable, and a click leaves
|
|
128
|
+
focus on one of them: that never draws a ring. The keyboard gets one flush ring on the chart. */
|
|
129
|
+
& .recharts-wrapper,
|
|
130
|
+
& .recharts-surface,
|
|
131
|
+
& .recharts-layer,
|
|
132
|
+
& .recharts-sector,
|
|
133
|
+
& .recharts-bar-rectangle {
|
|
134
|
+
outline: none;
|
|
135
|
+
}
|
|
136
|
+
& .recharts-wrapper:has(:focus-visible),
|
|
137
|
+
& .recharts-wrapper:focus-visible {
|
|
138
|
+
outline: 2px solid var(--control-focus);
|
|
139
|
+
outline-offset: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* The slice ChartActiveSector has marked lifts: 4px out from the centre and 3% larger, on
|
|
143
|
+
--duration, and settles back the same way. */
|
|
144
|
+
& .recharts-pie-sector {
|
|
145
|
+
transform-box: view-box;
|
|
146
|
+
transition:
|
|
147
|
+
translate var(--duration) var(--ease),
|
|
148
|
+
scale var(--duration) var(--ease);
|
|
149
|
+
}
|
|
150
|
+
& .recharts-pie-sector[data-lifted] {
|
|
151
|
+
translate: var(--lift-x, 0) var(--lift-y, 0);
|
|
152
|
+
scale: 1.03;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/*
|
|
158
|
+
* Table groups. A closed TableGroup keeps only its header row; rows are removed from layout
|
|
159
|
+
* and from the accessibility tree. The last group closes the card without a doubled rule:
|
|
160
|
+
* its last row loses the hairline, and so does its header when the group is closed.
|
|
161
|
+
* Unlayered on purpose: these must win over the row utilities (`border-b`) in TableRow.
|
|
162
|
+
*/
|
|
163
|
+
[data-slot="table-group"][data-closed] > [data-slot="table-row"] {
|
|
164
|
+
display: none;
|
|
165
|
+
}
|
|
166
|
+
[data-slot="table-group"]:last-child > [data-slot="table-row"]:last-child {
|
|
167
|
+
border-bottom-width: 0;
|
|
168
|
+
}
|
|
169
|
+
[data-slot="table-group"]:last-child[data-closed]
|
|
170
|
+
> [data-slot="table-group-header"]
|
|
171
|
+
> [data-slot="table-group-band"]::after {
|
|
172
|
+
display: none;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/*
|
|
176
|
+
* Sticky group headers cover the top of the box that scrolls the rows (the card, or a fitting
|
|
177
|
+
* table's body): a row the browser scrolls into view there, as it takes the focus, stops below the
|
|
178
|
+
* header instead of under it.
|
|
179
|
+
*/
|
|
180
|
+
[data-slot="table-container"]:has([data-slot="table-group-header"][data-sticky]),
|
|
181
|
+
[data-slot="table"][data-fit]:has([data-slot="table-group-header"][data-sticky]) {
|
|
182
|
+
scroll-padding-top: var(--control-h);
|
|
183
|
+
}
|
|
184
|
+
[data-slot="table-container"]:has(> [data-slot="table"][data-dense]):has(
|
|
185
|
+
[data-slot="table-group-header"][data-sticky]
|
|
186
|
+
),
|
|
187
|
+
[data-slot="table"][data-fit][data-dense]:has([data-slot="table-group-header"][data-sticky]) {
|
|
188
|
+
scroll-padding-top: var(--control-h-sm);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/*
|
|
192
|
+
* A virtual body's sizer rows (TableVirtualBody) stand in for the rows out of view: collapsed,
|
|
193
|
+
* they take no height, but their cells still size the columns. In a fitting table the sizer is a
|
|
194
|
+
* grid row of no height instead.
|
|
195
|
+
*/
|
|
196
|
+
tbody[data-slot="table-sizer"] > tr {
|
|
197
|
+
visibility: collapse;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/*
|
|
201
|
+
* A fitting table that scrolls takes the focus on its body, the scroller. The card around it
|
|
202
|
+
* draws the ring: its overflow would clip one drawn on the body.
|
|
203
|
+
*/
|
|
204
|
+
[data-slot="table-container"][data-fit]:has(> [data-slot="table"]:focus-visible) {
|
|
205
|
+
outline: 2px solid var(--control-focus);
|
|
206
|
+
outline-offset: 0;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/*
|
|
210
|
+
* DataTable toolbar with collapsible buttons: one line while a button can still fold. A fold
|
|
211
|
+
* takes a moment, and a wrapping toolbar would break onto two lines while it runs; instead the
|
|
212
|
+
* search field lends that room (its real minimum stays --collapse-min for the decision). Only
|
|
213
|
+
* once every button is folded and it still does not fit (data-collapse-overflow) does it wrap.
|
|
214
|
+
* Unlayered on purpose: it has to win over the toolbar's and the search field's utilities.
|
|
215
|
+
*/
|
|
216
|
+
[data-slot="data-table-toolbar"]:has([data-collapsible]):not([data-collapse-overflow]) {
|
|
217
|
+
flex-wrap: nowrap;
|
|
218
|
+
}
|
|
219
|
+
[data-slot="data-table-toolbar"]:has([data-collapsible]):not([data-collapse-overflow])
|
|
220
|
+
> [data-slot="data-table-search"] {
|
|
221
|
+
min-width: 0;
|
|
222
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* editorial components — owned by the editorial group. Prefer Tailwind in TSX; use this only
|
|
3
|
+
* for what classes cannot express (keyframes, complex selectors, SVG, container-query grids).
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* ── SpecSheet: local ink for each tone ────────────────────────────────────────
|
|
7
|
+
* Unlayered on purpose: these must beat `.theme-night` / `.theme-light` in tokens.css.
|
|
8
|
+
* A sheet is artwork. Its fill IS the content, so it keeps its own ground whatever the page.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
[data-slot="spec-sheet"][data-tone="night"] {
|
|
12
|
+
--sheet-ground: #040404;
|
|
13
|
+
--sheet-caption: rgb(255 255 255 / 0.5);
|
|
14
|
+
--sheet-rule: rgb(255 255 255 / 0.16);
|
|
15
|
+
--sheet-mark: rgb(255 255 255 / 0.42);
|
|
16
|
+
--sheet-light: rgb(255 255 255 / 0.7);
|
|
17
|
+
--background: #040404;
|
|
18
|
+
--glow: #ffffff3d;
|
|
19
|
+
--ink-ghost: #ffffff12;
|
|
20
|
+
/* Lower than the page grain: the bleed must stay near-black, not read as static. */
|
|
21
|
+
--grain-opacity: 0.2;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-slot="spec-sheet"][data-tone="paper"] {
|
|
25
|
+
color-scheme: light;
|
|
26
|
+
--sheet-ground: linear-gradient(160deg, #fdfdfc, #efefed 70%, #e7e7e4);
|
|
27
|
+
--sheet-caption: rgb(18 18 18 / 0.55);
|
|
28
|
+
--sheet-rule: rgb(18 18 18 / 0.18);
|
|
29
|
+
--sheet-mark: rgb(18 18 18 / 0.4);
|
|
30
|
+
--sheet-light: rgb(255 255 255 / 0.85);
|
|
31
|
+
--background: #efefed;
|
|
32
|
+
--foreground: #121212;
|
|
33
|
+
--foreground-soft: #3a3a38;
|
|
34
|
+
--muted-foreground: #6b6b68;
|
|
35
|
+
--border: #1212121f;
|
|
36
|
+
--field-edge: #d4d4d0;
|
|
37
|
+
--grid-line: #1212120f;
|
|
38
|
+
--grid-bright: #12121242;
|
|
39
|
+
--guide: #12121229;
|
|
40
|
+
--ink-ghost: #12121214;
|
|
41
|
+
--glow: #ffffffcc;
|
|
42
|
+
--grain-opacity: 0.22;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Editorial line art inverts in dark mode (`dark:invert`). The nearest scheme wins: a light
|
|
46
|
+
* region or a paper sheet inside a dark page keeps black ink; a dark region inside it inverts. */
|
|
47
|
+
.theme-light [data-slot="illustration"][data-kind="editorial"] {
|
|
48
|
+
filter: none;
|
|
49
|
+
}
|
|
50
|
+
.theme-light :is(.theme-dark, .theme-night) [data-slot="illustration"][data-kind="editorial"] {
|
|
51
|
+
filter: invert(1);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@layer components {
|
|
55
|
+
[data-slot="spec-sheet"] {
|
|
56
|
+
position: relative;
|
|
57
|
+
isolation: isolate;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
container-type: inline-size;
|
|
60
|
+
aspect-ratio: var(--sheet-aspect, 4 / 3);
|
|
61
|
+
border: 1px solid var(--field-edge);
|
|
62
|
+
border-radius: 0;
|
|
63
|
+
color: var(--foreground);
|
|
64
|
+
background: var(--sheet-ground);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Light table: a soft-light highlight that rests top-left and follows a fine pointer. */
|
|
68
|
+
[data-slot="spec-sheet-light"] {
|
|
69
|
+
position: absolute;
|
|
70
|
+
inset: 0;
|
|
71
|
+
z-index: 2;
|
|
72
|
+
pointer-events: none;
|
|
73
|
+
mix-blend-mode: soft-light;
|
|
74
|
+
opacity: 0.55;
|
|
75
|
+
background: radial-gradient(
|
|
76
|
+
circle 75cqw at var(--lx, 30%) var(--ly, 22%),
|
|
77
|
+
var(--sheet-light),
|
|
78
|
+
transparent 70%
|
|
79
|
+
);
|
|
80
|
+
transition: opacity var(--duration-reveal) var(--ease);
|
|
81
|
+
}
|
|
82
|
+
[data-slot="spec-sheet"][data-lit="true"] [data-slot="spec-sheet-light"] {
|
|
83
|
+
opacity: 1;
|
|
84
|
+
}
|
|
85
|
+
@media (prefers-reduced-motion: reduce) {
|
|
86
|
+
[data-slot="spec-sheet-light"] {
|
|
87
|
+
background: radial-gradient(circle 75cqw at 30% 22%, var(--sheet-light), transparent 70%);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* ── SpecSheetGrid: the light-table wall ─────────────────────────────────────
|
|
92
|
+
* 12 columns, square cells: a row is exactly one column wide.
|
|
93
|
+
* (100cqw - 11 gaps × 16px) / 12 = 8.333cqw - 14.67px
|
|
94
|
+
* Below 40rem of container width the tiles stack and keep their proportion instead.
|
|
95
|
+
*/
|
|
96
|
+
[data-slot="spec-sheet-grid"] {
|
|
97
|
+
container-type: inline-size;
|
|
98
|
+
}
|
|
99
|
+
[data-slot="spec-sheet-grid-inner"] {
|
|
100
|
+
display: grid;
|
|
101
|
+
grid-template-columns: minmax(0, 1fr);
|
|
102
|
+
gap: 16px;
|
|
103
|
+
}
|
|
104
|
+
[data-slot="spec-sheet-grid-inner"] > [data-slot="spec-sheet"] {
|
|
105
|
+
aspect-ratio: 4 / 3;
|
|
106
|
+
aspect-ratio: clamp(0.8, calc(var(--c, 6) / var(--r, 4)), 1.6);
|
|
107
|
+
}
|
|
108
|
+
@container (min-width: 40rem) {
|
|
109
|
+
[data-slot="spec-sheet-grid-inner"] {
|
|
110
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
111
|
+
grid-auto-rows: calc(8.333cqw - 14.67px);
|
|
112
|
+
grid-auto-flow: row dense;
|
|
113
|
+
}
|
|
114
|
+
[data-slot="spec-sheet-grid-inner"] > [data-slot="spec-sheet"] {
|
|
115
|
+
grid-column: span var(--c, 6);
|
|
116
|
+
grid-row: span var(--r, 4);
|
|
117
|
+
aspect-ratio: auto;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/* feedback components — owned by the feedback group. Prefer Tailwind in TSX; use this only for what classes cannot express (keyframes, complex selectors, SVG). */
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
/* ── Skeleton ─────────────────────────────────────────────────────────────
|
|
5
|
+
* A --control-surface block with one soft highlight sweeping across it every 1.6s.
|
|
6
|
+
* The sweep is a 50%-wide gradient image moved from fully left to fully right; it runs
|
|
7
|
+
* the other way in RTL. Static under prefers-reduced-motion. */
|
|
8
|
+
|
|
9
|
+
[data-slot="skeleton"] {
|
|
10
|
+
background-color: var(--control-surface);
|
|
11
|
+
background-image: linear-gradient(90deg, transparent, var(--control-highlight), transparent);
|
|
12
|
+
background-repeat: no-repeat;
|
|
13
|
+
background-size: 50% 100%;
|
|
14
|
+
background-position: -100% 0;
|
|
15
|
+
box-shadow: inset 0 0 0 1px var(--control-inner-edge);
|
|
16
|
+
animation: ep-skeleton-sweep 1.6s var(--ease) infinite;
|
|
17
|
+
|
|
18
|
+
&:dir(rtl) {
|
|
19
|
+
animation-direction: reverse;
|
|
20
|
+
}
|
|
21
|
+
@media (prefers-reduced-motion: reduce) {
|
|
22
|
+
animation: none;
|
|
23
|
+
background-image: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@keyframes ep-skeleton-sweep {
|
|
28
|
+
from {
|
|
29
|
+
background-position: -100% 0;
|
|
30
|
+
}
|
|
31
|
+
to {
|
|
32
|
+
background-position: 200% 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* ── Spinner ──────────────────────────────────────────────────────────────
|
|
37
|
+
* Every face is CSS-driven: no JavaScript, identical on the server. Parts animate transform
|
|
38
|
+
* and opacity only (the arc also animates its dash, on a 24-unit SVG). Each part's resting
|
|
39
|
+
* style is its reduced-motion pose, so `animation: none` leaves a meaningful still. */
|
|
40
|
+
|
|
41
|
+
[data-slot="spinner"] [data-part] {
|
|
42
|
+
transform-box: fill-box;
|
|
43
|
+
transform-origin: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* ascii — the frames are stacked in a 1em-tall window and stepped through with steps(). */
|
|
47
|
+
[data-slot="spinner-frames"] {
|
|
48
|
+
animation: ep-spinner-frames 0.52s steps(4) infinite;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@keyframes ep-spinner-frames {
|
|
52
|
+
from {
|
|
53
|
+
translate: 0 0;
|
|
54
|
+
}
|
|
55
|
+
to {
|
|
56
|
+
translate: 0 -4em;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* arc — a progress-ring arc that grows and shrinks while it turns. */
|
|
61
|
+
[data-slot="spinner"][data-variant="arc"] [data-slot="spinner-art"] {
|
|
62
|
+
animation: ep-spinner-turn 1.6s linear infinite;
|
|
63
|
+
}
|
|
64
|
+
[data-slot="spinner"] [data-part="arc"] {
|
|
65
|
+
stroke-dasharray: 30 100;
|
|
66
|
+
transform: rotate(-90deg);
|
|
67
|
+
animation: ep-spinner-arc 1.6s var(--ease) infinite;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes ep-spinner-turn {
|
|
71
|
+
to {
|
|
72
|
+
rotate: 360deg;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@keyframes ep-spinner-arc {
|
|
77
|
+
0% {
|
|
78
|
+
stroke-dasharray: 6 100;
|
|
79
|
+
stroke-dashoffset: 0;
|
|
80
|
+
}
|
|
81
|
+
50% {
|
|
82
|
+
stroke-dasharray: 62 100;
|
|
83
|
+
stroke-dashoffset: -14;
|
|
84
|
+
}
|
|
85
|
+
100% {
|
|
86
|
+
stroke-dasharray: 6 100;
|
|
87
|
+
stroke-dashoffset: -94;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* dots — three dots brighten and lift in turn. Still: an ellipsis. */
|
|
92
|
+
[data-slot="spinner"] [data-part="dot"] {
|
|
93
|
+
animation: ep-spinner-dot 1s ease-in-out infinite;
|
|
94
|
+
&:nth-child(2) {
|
|
95
|
+
animation-delay: 0.15s;
|
|
96
|
+
}
|
|
97
|
+
&:nth-child(3) {
|
|
98
|
+
animation-delay: 0.3s;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@keyframes ep-spinner-dot {
|
|
103
|
+
0%,
|
|
104
|
+
70%,
|
|
105
|
+
100% {
|
|
106
|
+
opacity: 0.25;
|
|
107
|
+
transform: translateY(0);
|
|
108
|
+
}
|
|
109
|
+
35% {
|
|
110
|
+
opacity: 1;
|
|
111
|
+
transform: translateY(-2px);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* bars — an equaliser. Still: four bars at staggered heights. */
|
|
116
|
+
[data-slot="spinner"] [data-part="bar"] {
|
|
117
|
+
transform: scaleY(var(--rest, 1));
|
|
118
|
+
animation: ep-spinner-bar 1s ease-in-out infinite;
|
|
119
|
+
&:nth-child(1) {
|
|
120
|
+
--rest: 0.45;
|
|
121
|
+
animation-delay: -0.45s;
|
|
122
|
+
}
|
|
123
|
+
&:nth-child(2) {
|
|
124
|
+
--rest: 1;
|
|
125
|
+
animation-delay: -0.3s;
|
|
126
|
+
}
|
|
127
|
+
&:nth-child(3) {
|
|
128
|
+
--rest: 0.7;
|
|
129
|
+
animation-delay: -0.15s;
|
|
130
|
+
}
|
|
131
|
+
&:nth-child(4) {
|
|
132
|
+
--rest: 0.35;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@keyframes ep-spinner-bar {
|
|
137
|
+
0%,
|
|
138
|
+
100% {
|
|
139
|
+
transform: scaleY(0.3);
|
|
140
|
+
}
|
|
141
|
+
50% {
|
|
142
|
+
transform: scaleY(1);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* pulse — a ring widens from a dot and fades, twice per cycle. Still: a target. */
|
|
147
|
+
[data-slot="spinner"] [data-part="ripple"] {
|
|
148
|
+
opacity: 0.35;
|
|
149
|
+
animation: ep-spinner-ripple 1.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
|
|
150
|
+
&:nth-child(2) {
|
|
151
|
+
animation-delay: 0.8s;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@keyframes ep-spinner-ripple {
|
|
156
|
+
from {
|
|
157
|
+
opacity: 0.9;
|
|
158
|
+
transform: scale(0.3);
|
|
159
|
+
}
|
|
160
|
+
to {
|
|
161
|
+
opacity: 0;
|
|
162
|
+
transform: scale(1);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* orbit — a dot circling a hairline. Turns about the centre of the 24-unit box. */
|
|
167
|
+
[data-slot="spinner"] [data-part="satellite"] {
|
|
168
|
+
transform-box: view-box;
|
|
169
|
+
transform-origin: 12px 12px;
|
|
170
|
+
animation: ep-spinner-orbit 1.2s linear infinite;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@keyframes ep-spinner-orbit {
|
|
174
|
+
to {
|
|
175
|
+
transform: rotate(360deg);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* grid — a 3×3 wave from the top-left corner; delays are set inline per cell. */
|
|
180
|
+
[data-slot="spinner"] [data-part="cell"] {
|
|
181
|
+
animation: ep-spinner-cell 1.2s ease-in-out infinite;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@keyframes ep-spinner-cell {
|
|
185
|
+
0%,
|
|
186
|
+
60%,
|
|
187
|
+
100% {
|
|
188
|
+
opacity: 1;
|
|
189
|
+
transform: scale(1);
|
|
190
|
+
}
|
|
191
|
+
30% {
|
|
192
|
+
opacity: 0.2;
|
|
193
|
+
transform: scale(0.7);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* cursor — a terminal block blinking on and off. Still: a solid block. */
|
|
198
|
+
[data-slot="spinner"] [data-part="caret"] {
|
|
199
|
+
animation: ep-spinner-blink 1s steps(1, end) infinite;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@keyframes ep-spinner-blink {
|
|
203
|
+
50% {
|
|
204
|
+
opacity: 0;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* brackets — the logo's halves open and close, like its hover reveal. Still: the symbol. */
|
|
209
|
+
[data-slot="spinner"] [data-part="bracket-left"] {
|
|
210
|
+
animation: ep-spinner-bracket-left 1.6s var(--ease) infinite;
|
|
211
|
+
}
|
|
212
|
+
[data-slot="spinner"] [data-part="bracket-right"] {
|
|
213
|
+
animation: ep-spinner-bracket-right 1.6s var(--ease) infinite;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@keyframes ep-spinner-bracket-left {
|
|
217
|
+
0%,
|
|
218
|
+
100% {
|
|
219
|
+
transform: translateX(0);
|
|
220
|
+
}
|
|
221
|
+
45%,
|
|
222
|
+
60% {
|
|
223
|
+
transform: translateX(-3px);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
@keyframes ep-spinner-bracket-right {
|
|
228
|
+
0%,
|
|
229
|
+
100% {
|
|
230
|
+
transform: translateX(0);
|
|
231
|
+
}
|
|
232
|
+
45%,
|
|
233
|
+
60% {
|
|
234
|
+
transform: translateX(3px);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* crescent — the shadow crosses the moon, up along the zon mark's 14° tilt (the moon is
|
|
239
|
+
* rotated, so "up" is the mark's axis): new → waxing from the lower rim → full, then back in
|
|
240
|
+
* from below: full → waning → new. Still: the zon crescent, its cut 0.776 of the moon's radius
|
|
241
|
+
* and moved 0.234 of it toward the opening. */
|
|
242
|
+
[data-slot="spinner"] [data-part="shadow"] {
|
|
243
|
+
transform: translateY(-2.109px) scale(0.7352);
|
|
244
|
+
transform-box: fill-box;
|
|
245
|
+
transform-origin: center;
|
|
246
|
+
animation: ep-spinner-moon 2.4s linear infinite;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@keyframes ep-spinner-moon {
|
|
250
|
+
0% {
|
|
251
|
+
transform: translateY(0);
|
|
252
|
+
animation-timing-function: cubic-bezier(0.3, 0, 0.6, 1);
|
|
253
|
+
}
|
|
254
|
+
50% {
|
|
255
|
+
transform: translateY(-20px);
|
|
256
|
+
animation-timing-function: steps(1, end);
|
|
257
|
+
}
|
|
258
|
+
50.01% {
|
|
259
|
+
transform: translateY(20px);
|
|
260
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.7, 1);
|
|
261
|
+
}
|
|
262
|
+
100% {
|
|
263
|
+
transform: translateY(0);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@media (prefers-reduced-motion: reduce) {
|
|
268
|
+
[data-slot="spinner"] [data-part],
|
|
269
|
+
[data-slot="spinner"] [data-slot="spinner-art"] {
|
|
270
|
+
animation: none;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|