@tulipfarm/sprout 0.0.0-stage → 0.1.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 +183 -2
- package/dist/components/accordion.d.ts +28 -0
- package/dist/components/accordion.js +26 -0
- package/dist/components/alert-dialog.d.ts +60 -0
- package/dist/components/alert-dialog.js +69 -0
- package/dist/components/alert.d.ts +30 -0
- package/dist/components/alert.js +35 -0
- package/dist/components/aspect-ratio.d.ts +7 -0
- package/dist/components/aspect-ratio.js +6 -0
- package/dist/components/attachment.d.ts +118 -0
- package/dist/components/attachment.js +285 -0
- package/dist/components/avatar.d.ts +32 -0
- package/dist/components/avatar.js +73 -0
- package/dist/components/badge.d.ts +21 -0
- package/dist/components/badge.js +27 -0
- package/dist/components/brand-icon.d.ts +28 -0
- package/dist/components/brand-icon.js +78 -0
- package/dist/components/breadcrumb.d.ts +29 -0
- package/dist/components/breadcrumb.js +44 -0
- package/dist/components/button-group.d.ts +28 -0
- package/dist/components/button-group.js +36 -0
- package/dist/components/button.d.ts +79 -0
- package/dist/components/button.js +93 -0
- package/dist/components/calendar.d.ts +27 -0
- package/dist/components/calendar.js +107 -0
- package/dist/components/canvas.d.ts +78 -0
- package/dist/components/canvas.js +180 -0
- package/dist/components/card.d.ts +43 -0
- package/dist/components/card.js +42 -0
- package/dist/components/carousel.d.ts +57 -0
- package/dist/components/carousel.js +422 -0
- package/dist/components/chart.d.ts +112 -0
- package/dist/components/chart.js +172 -0
- package/dist/components/chat-confirmation.d.ts +42 -0
- package/dist/components/chat-confirmation.js +62 -0
- package/dist/components/chat-plan.d.ts +21 -0
- package/dist/components/chat-plan.js +35 -0
- package/dist/components/chat-sources.d.ts +64 -0
- package/dist/components/chat-sources.js +66 -0
- package/dist/components/checkbox.d.ts +16 -0
- package/dist/components/checkbox.js +17 -0
- package/dist/components/choice-list.d.ts +53 -0
- package/dist/components/choice-list.js +36 -0
- package/dist/components/code-block.d.ts +35 -0
- package/dist/components/code-block.js +95 -0
- package/dist/components/collapsible.d.ts +24 -0
- package/dist/components/collapsible.js +27 -0
- package/dist/components/combobox.d.ts +95 -0
- package/dist/components/combobox.js +106 -0
- package/dist/components/command.d.ts +94 -0
- package/dist/components/command.js +414 -0
- package/dist/components/context-menu.d.ts +57 -0
- package/dist/components/context-menu.js +60 -0
- package/dist/components/dialog.d.ts +60 -0
- package/dist/components/dialog.js +79 -0
- package/dist/components/direction.d.ts +6 -0
- package/dist/components/direction.js +6 -0
- package/dist/components/dropdown-menu.d.ts +62 -0
- package/dist/components/dropdown-menu.js +59 -0
- package/dist/components/field.d.ts +117 -0
- package/dist/components/field.js +150 -0
- package/dist/components/file-viewer.d.ts +120 -0
- package/dist/components/file-viewer.js +373 -0
- package/dist/components/form.d.ts +87 -0
- package/dist/components/form.js +55 -0
- package/dist/components/glass-banner.d.ts +27 -0
- package/dist/components/glass-banner.js +116 -0
- package/dist/components/gradient-banner.d.ts +37 -0
- package/dist/components/gradient-banner.js +43 -0
- package/dist/components/hover-card.d.ts +27 -0
- package/dist/components/hover-card.js +26 -0
- package/dist/components/input-group.d.ts +68 -0
- package/dist/components/input-group.js +88 -0
- package/dist/components/input-otp.d.ts +38 -0
- package/dist/components/input-otp.js +43 -0
- package/dist/components/input.d.ts +16 -0
- package/dist/components/input.js +18 -0
- package/dist/components/kbd.d.ts +12 -0
- package/dist/components/kbd.js +11 -0
- package/dist/components/label.d.ts +8 -0
- package/dist/components/label.js +10 -0
- package/dist/components/mention-list.d.ts +54 -0
- package/dist/components/mention-list.js +31 -0
- package/dist/components/menubar.d.ts +64 -0
- package/dist/components/menubar.js +68 -0
- package/dist/components/message-actions.d.ts +34 -0
- package/dist/components/message-actions.js +68 -0
- package/dist/components/message-response.d.ts +20 -0
- package/dist/components/message-response.js +46 -0
- package/dist/components/message-scroller.d.ts +71 -0
- package/dist/components/message-scroller.js +217 -0
- package/dist/components/message.d.ts +49 -0
- package/dist/components/message.js +59 -0
- package/dist/components/navigation-menu.d.ts +45 -0
- package/dist/components/navigation-menu.js +54 -0
- package/dist/components/notice-banner.d.ts +14 -0
- package/dist/components/notice-banner.js +11 -0
- package/dist/components/page-content.d.ts +7 -0
- package/dist/components/page-content.js +9 -0
- package/dist/components/page-header.d.ts +37 -0
- package/dist/components/page-header.js +53 -0
- package/dist/components/pagination.d.ts +29 -0
- package/dist/components/pagination.js +29 -0
- package/dist/components/plan-outline.d.ts +60 -0
- package/dist/components/plan-outline.js +108 -0
- package/dist/components/popover.d.ts +34 -0
- package/dist/components/popover.js +35 -0
- package/dist/components/progress.d.ts +27 -0
- package/dist/components/progress.js +35 -0
- package/dist/components/prompt-list.d.ts +23 -0
- package/dist/components/prompt-list.js +11 -0
- package/dist/components/questionnaire.d.ts +148 -0
- package/dist/components/questionnaire.js +1001 -0
- package/dist/components/radio-group.d.ts +16 -0
- package/dist/components/radio-group.js +21 -0
- package/dist/components/reasoning-effort.d.ts +24 -0
- package/dist/components/reasoning-effort.js +269 -0
- package/dist/components/resizable.d.ts +67 -0
- package/dist/components/resizable.js +536 -0
- package/dist/components/result-card.d.ts +58 -0
- package/dist/components/result-card.js +88 -0
- package/dist/components/review-card.d.ts +62 -0
- package/dist/components/review-card.js +49 -0
- package/dist/components/rich-text-editor.d.ts +51 -0
- package/dist/components/rich-text-editor.js +248 -0
- package/dist/components/schema-diagram.d.ts +52 -0
- package/dist/components/schema-diagram.js +226 -0
- package/dist/components/scroll-area.d.ts +22 -0
- package/dist/components/scroll-area.js +19 -0
- package/dist/components/search-dialog.d.ts +103 -0
- package/dist/components/search-dialog.js +64 -0
- package/dist/components/search-field.d.ts +17 -0
- package/dist/components/search-field.js +27 -0
- package/dist/components/select.d.ts +57 -0
- package/dist/components/select.js +57 -0
- package/dist/components/selection-slot.d.ts +18 -0
- package/dist/components/selection-slot.js +53 -0
- package/dist/components/separator.d.ts +48 -0
- package/dist/components/separator.js +54 -0
- package/dist/components/settings-list.d.ts +26 -0
- package/dist/components/settings-list.js +17 -0
- package/dist/components/sheet.d.ts +70 -0
- package/dist/components/sheet.js +77 -0
- package/dist/components/sidebar.d.ts +70 -0
- package/dist/components/sidebar.js +187 -0
- package/dist/components/skeleton.d.ts +31 -0
- package/dist/components/skeleton.js +32 -0
- package/dist/components/slider.d.ts +17 -0
- package/dist/components/slider.js +24 -0
- package/dist/components/spinner.d.ts +37 -0
- package/dist/components/spinner.js +43 -0
- package/dist/components/state-panel-samples.d.ts +25 -0
- package/dist/components/state-panel-samples.js +423 -0
- package/dist/components/state-panel.d.ts +35 -0
- package/dist/components/state-panel.js +29 -0
- package/dist/components/state-sample.d.ts +63 -0
- package/dist/components/state-sample.js +42 -0
- package/dist/components/switch.d.ts +12 -0
- package/dist/components/switch.js +14 -0
- package/dist/components/table-nuqs.d.ts +16 -0
- package/dist/components/table-nuqs.js +59 -0
- package/dist/components/table.d.ts +120 -0
- package/dist/components/table.js +663 -0
- package/dist/components/tabs.d.ts +37 -0
- package/dist/components/tabs.js +36 -0
- package/dist/components/textarea.d.ts +18 -0
- package/dist/components/textarea.js +19 -0
- package/dist/components/toast.d.ts +45 -0
- package/dist/components/toast.js +83 -0
- package/dist/components/toggle-group.d.ts +30 -0
- package/dist/components/toggle-group.js +39 -0
- package/dist/components/toggle.d.ts +27 -0
- package/dist/components/toggle.js +21 -0
- package/dist/components/tool-activity.d.ts +79 -0
- package/dist/components/tool-activity.js +226 -0
- package/dist/components/toolbar-status.d.ts +21 -0
- package/dist/components/toolbar-status.js +14 -0
- package/dist/components/tooltip.d.ts +31 -0
- package/dist/components/tooltip.js +99 -0
- package/dist/components/typed-text.d.ts +17 -0
- package/dist/components/typed-text.js +56 -0
- package/dist/index.d.ts +88 -0
- package/dist/index.js +88 -0
- package/dist/internal/brand-glyphs.d.ts +342 -0
- package/dist/internal/brand-glyphs.js +238 -0
- package/dist/internal/classes.d.ts +3 -0
- package/dist/internal/classes.js +20 -0
- package/dist/internal/fieldset.d.ts +6 -0
- package/dist/internal/fieldset.js +38 -0
- package/dist/internal/file-kind.d.ts +4 -0
- package/dist/internal/file-kind.js +62 -0
- package/dist/internal/languages.d.ts +7 -0
- package/dist/internal/languages.js +1010 -0
- package/dist/internal/message-scroller.d.ts +102 -0
- package/dist/internal/message-scroller.js +637 -0
- package/dist/internal/pressable.d.ts +2 -0
- package/dist/internal/pressable.js +29 -0
- package/dist/internal/syntax.d.ts +14 -0
- package/dist/internal/syntax.js +137 -0
- package/dist/styles/accordion.css +102 -0
- package/dist/styles/alert-dialog.css +198 -0
- package/dist/styles/alert.css +149 -0
- package/dist/styles/aspect-ratio.css +8 -0
- package/dist/styles/attachment.css +720 -0
- package/dist/styles/avatar.css +186 -0
- package/dist/styles/badge.css +178 -0
- package/dist/styles/brand-icon.css +104 -0
- package/dist/styles/breadcrumb.css +121 -0
- package/dist/styles/button-group.css +113 -0
- package/dist/styles/button.css +380 -0
- package/dist/styles/calendar.css +295 -0
- package/dist/styles/canvas.css +327 -0
- package/dist/styles/card.css +146 -0
- package/dist/styles/carousel.css +107 -0
- package/dist/styles/chart.css +227 -0
- package/dist/styles/chat-confirmation.css +29 -0
- package/dist/styles/chat-plan.css +109 -0
- package/dist/styles/chat-sources.css +191 -0
- package/dist/styles/checkbox.css +123 -0
- package/dist/styles/choice-list.css +343 -0
- package/dist/styles/code-block.css +211 -0
- package/dist/styles/collapsible.css +72 -0
- package/dist/styles/combobox.css +347 -0
- package/dist/styles/command.css +233 -0
- package/dist/styles/context-menu.css +151 -0
- package/dist/styles/dialog.css +237 -0
- package/dist/styles/dropdown-menu.css +150 -0
- package/dist/styles/field.css +341 -0
- package/dist/styles/file-viewer.css +278 -0
- package/dist/styles/form.css +155 -0
- package/dist/styles/glass-banner.css +308 -0
- package/dist/styles/gradient-banner.css +256 -0
- package/dist/styles/hover-card.css +95 -0
- package/dist/styles/index.css +262 -0
- package/dist/styles/input-group.css +290 -0
- package/dist/styles/input-otp.css +138 -0
- package/dist/styles/input.css +99 -0
- package/dist/styles/kbd.css +59 -0
- package/dist/styles/label.css +89 -0
- package/dist/styles/mention-list.css +166 -0
- package/dist/styles/menubar.css +226 -0
- package/dist/styles/message-actions.css +83 -0
- package/dist/styles/message-response.css +176 -0
- package/dist/styles/message-scroller.css +136 -0
- package/dist/styles/message.css +310 -0
- package/dist/styles/navigation-menu.css +291 -0
- package/dist/styles/notice-banner.css +68 -0
- package/dist/styles/page-content.css +21 -0
- package/dist/styles/page-header.css +156 -0
- package/dist/styles/pagination.css +72 -0
- package/dist/styles/plan-outline.css +393 -0
- package/dist/styles/popover.css +140 -0
- package/dist/styles/progress.css +93 -0
- package/dist/styles/prompt-list.css +165 -0
- package/dist/styles/questionnaire.css +323 -0
- package/dist/styles/radio-group.css +120 -0
- package/dist/styles/reasoning-effort.css +157 -0
- package/dist/styles/resizable.css +108 -0
- package/dist/styles/result-card.css +215 -0
- package/dist/styles/review-card.css +235 -0
- package/dist/styles/rich-text-editor.css +169 -0
- package/dist/styles/schema-diagram.css +419 -0
- package/dist/styles/scroll-area.css +77 -0
- package/dist/styles/search-dialog.css +363 -0
- package/dist/styles/search-field.css +17 -0
- package/dist/styles/select.css +285 -0
- package/dist/styles/selection-slot.css +31 -0
- package/dist/styles/separator.css +206 -0
- package/dist/styles/settings-list.css +81 -0
- package/dist/styles/sheet.css +361 -0
- package/dist/styles/sidebar.css +363 -0
- package/dist/styles/skeleton.css +80 -0
- package/dist/styles/slider.css +142 -0
- package/dist/styles/spinner.css +39 -0
- package/dist/styles/state-panel-samples.css +41 -0
- package/dist/styles/state-panel.css +182 -0
- package/dist/styles/state-sample.css +285 -0
- package/dist/styles/switch.css +128 -0
- package/dist/styles/table.css +604 -0
- package/dist/styles/tabs.css +223 -0
- package/dist/styles/textarea.css +78 -0
- package/dist/styles/themes/chatgpt.css +125 -0
- package/dist/styles/themes/claude.css +125 -0
- package/dist/styles/themes/cloudflare.css +125 -0
- package/dist/styles/themes/discord.css +125 -0
- package/dist/styles/themes/github.css +125 -0
- package/dist/styles/themes/grok.css +125 -0
- package/dist/styles/themes/linear.css +126 -0
- package/dist/styles/themes/neutral.css +125 -0
- package/dist/styles/themes/notion.css +125 -0
- package/dist/styles/themes/perplexity.css +125 -0
- package/dist/styles/themes/raycast.css +125 -0
- package/dist/styles/themes/spotify.css +125 -0
- package/dist/styles/themes/stripe.css +125 -0
- package/dist/styles/themes/supabase.css +125 -0
- package/dist/styles/themes/tulipfarm.css +125 -0
- package/dist/styles/themes/vercel.css +126 -0
- package/dist/styles/toast.css +197 -0
- package/dist/styles/toggle-group.css +161 -0
- package/dist/styles/toggle.css +119 -0
- package/dist/styles/tool-activity.css +396 -0
- package/dist/styles/toolbar-status.css +52 -0
- package/dist/styles/tooltip.css +122 -0
- package/dist/styles/typed-text.css +17 -0
- package/package.json +443 -4
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
@layer base {
|
|
2
|
+
:root,
|
|
3
|
+
.light {
|
|
4
|
+
--sprout-chart-1: #188038;
|
|
5
|
+
--sprout-chart-2: #245cba;
|
|
6
|
+
--sprout-chart-3: #8a4b08;
|
|
7
|
+
--sprout-chart-4: #7c4eb0;
|
|
8
|
+
--sprout-chart-5: #b42332;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.dark {
|
|
12
|
+
--sprout-chart-1: #75ce8e;
|
|
13
|
+
--sprout-chart-2: #9cbdff;
|
|
14
|
+
--sprout-chart-3: #edc17c;
|
|
15
|
+
--sprout-chart-4: #c6a4ed;
|
|
16
|
+
--sprout-chart-5: #ff929d;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (prefers-color-scheme: dark) {
|
|
20
|
+
:root:not(.light):not(.dark) {
|
|
21
|
+
--sprout-chart-1: #75ce8e;
|
|
22
|
+
--sprout-chart-2: #9cbdff;
|
|
23
|
+
--sprout-chart-3: #edc17c;
|
|
24
|
+
--sprout-chart-4: #c6a4ed;
|
|
25
|
+
--sprout-chart-5: #ff929d;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@layer components {
|
|
31
|
+
.sprout-chart {
|
|
32
|
+
display: flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
min-width: 0;
|
|
35
|
+
aspect-ratio: 16 / 9;
|
|
36
|
+
container-type: inline-size;
|
|
37
|
+
font-family: var(--sprout-font);
|
|
38
|
+
font-size: var(--sprout-text-xs);
|
|
39
|
+
line-height: 1rem;
|
|
40
|
+
color: var(--sprout-text);
|
|
41
|
+
}
|
|
42
|
+
/* Recharts gives non-chart children a 0×0 box; give them the chart's width. */
|
|
43
|
+
.sprout-chart .recharts-responsive-container > div > :not(.recharts-wrapper) {
|
|
44
|
+
width: 100cqi;
|
|
45
|
+
}
|
|
46
|
+
.sprout-chart-usage,
|
|
47
|
+
.sprout-chart-category {
|
|
48
|
+
width: 100%;
|
|
49
|
+
aspect-ratio: auto;
|
|
50
|
+
}
|
|
51
|
+
.sprout-chart-usage {
|
|
52
|
+
height: 16rem;
|
|
53
|
+
}
|
|
54
|
+
.sprout-chart-category {
|
|
55
|
+
height: 18rem;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.sprout-chart .recharts-cartesian-axis-tick-value {
|
|
59
|
+
fill: var(--sprout-muted);
|
|
60
|
+
}
|
|
61
|
+
.sprout-chart .recharts-cartesian-grid line[stroke="#ccc"],
|
|
62
|
+
.sprout-chart .recharts-polar-grid [stroke="#ccc"],
|
|
63
|
+
.sprout-chart .recharts-reference-line [stroke="#ccc"] {
|
|
64
|
+
stroke: var(--sprout-line);
|
|
65
|
+
}
|
|
66
|
+
.sprout-chart .recharts-curve.recharts-tooltip-cursor {
|
|
67
|
+
stroke: var(--sprout-border);
|
|
68
|
+
}
|
|
69
|
+
.sprout-chart .recharts-rectangle.recharts-tooltip-cursor {
|
|
70
|
+
fill: var(--sprout-hover);
|
|
71
|
+
}
|
|
72
|
+
.sprout-chart .recharts-radial-bar-background-sector {
|
|
73
|
+
fill: var(--sprout-secondary);
|
|
74
|
+
}
|
|
75
|
+
.sprout-chart .recharts-dot[stroke="#fff"],
|
|
76
|
+
.sprout-chart .recharts-sector[stroke="#fff"] {
|
|
77
|
+
stroke: transparent;
|
|
78
|
+
}
|
|
79
|
+
.sprout-chart .recharts-layer,
|
|
80
|
+
.sprout-chart .recharts-sector,
|
|
81
|
+
.sprout-chart .recharts-wrapper,
|
|
82
|
+
.sprout-chart .recharts-surface {
|
|
83
|
+
outline: none;
|
|
84
|
+
}
|
|
85
|
+
.sprout-chart .recharts-surface {
|
|
86
|
+
overflow: visible;
|
|
87
|
+
border-radius: var(--sprout-radius-control);
|
|
88
|
+
}
|
|
89
|
+
.sprout-chart .recharts-surface:focus-visible {
|
|
90
|
+
outline: 2px solid var(--sprout-focus);
|
|
91
|
+
outline-offset: 2px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.sprout-chart-tooltip {
|
|
95
|
+
display: grid;
|
|
96
|
+
align-items: start;
|
|
97
|
+
gap: 6px;
|
|
98
|
+
width: max-content;
|
|
99
|
+
min-width: 8rem;
|
|
100
|
+
max-width: 20rem;
|
|
101
|
+
padding: 6px 10px;
|
|
102
|
+
border: 1px solid var(--sprout-line);
|
|
103
|
+
border-radius: var(--sprout-radius-control);
|
|
104
|
+
background: var(--sprout-surface);
|
|
105
|
+
color: var(--sprout-text);
|
|
106
|
+
box-shadow: var(--sprout-shadow-overlay);
|
|
107
|
+
font-family: var(--sprout-font);
|
|
108
|
+
font-size: var(--sprout-text-xs);
|
|
109
|
+
line-height: 1rem;
|
|
110
|
+
}
|
|
111
|
+
.sprout-chart-tooltip-label {
|
|
112
|
+
font-weight: 500;
|
|
113
|
+
}
|
|
114
|
+
.sprout-chart-tooltip-items {
|
|
115
|
+
display: grid;
|
|
116
|
+
gap: 6px;
|
|
117
|
+
}
|
|
118
|
+
.sprout-chart-tooltip-item {
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-wrap: wrap;
|
|
121
|
+
align-items: stretch;
|
|
122
|
+
gap: 8px;
|
|
123
|
+
width: 100%;
|
|
124
|
+
}
|
|
125
|
+
.sprout-chart-tooltip[data-indicator="dot"] .sprout-chart-tooltip-item {
|
|
126
|
+
align-items: center;
|
|
127
|
+
}
|
|
128
|
+
.sprout-chart-tooltip-item > svg {
|
|
129
|
+
width: 10px;
|
|
130
|
+
height: 10px;
|
|
131
|
+
color: var(--sprout-muted);
|
|
132
|
+
}
|
|
133
|
+
.sprout-chart-tooltip-indicator {
|
|
134
|
+
flex-shrink: 0;
|
|
135
|
+
border-radius: 2px;
|
|
136
|
+
border: 0 solid var(--sprout-chart-indicator);
|
|
137
|
+
background: var(--sprout-chart-indicator);
|
|
138
|
+
}
|
|
139
|
+
[data-indicator="dot"] .sprout-chart-tooltip-indicator {
|
|
140
|
+
width: 10px;
|
|
141
|
+
height: 10px;
|
|
142
|
+
}
|
|
143
|
+
[data-indicator="line"] .sprout-chart-tooltip-indicator {
|
|
144
|
+
width: 4px;
|
|
145
|
+
}
|
|
146
|
+
[data-indicator="dashed"] .sprout-chart-tooltip-indicator {
|
|
147
|
+
width: 0;
|
|
148
|
+
border-width: 1.5px;
|
|
149
|
+
border-style: dashed;
|
|
150
|
+
background: transparent;
|
|
151
|
+
}
|
|
152
|
+
[data-indicator="dashed"]
|
|
153
|
+
.sprout-chart-tooltip-item:has([data-nested])
|
|
154
|
+
.sprout-chart-tooltip-indicator {
|
|
155
|
+
margin-block: 2px;
|
|
156
|
+
}
|
|
157
|
+
.sprout-chart-tooltip-row {
|
|
158
|
+
display: flex;
|
|
159
|
+
flex: 1;
|
|
160
|
+
align-items: center;
|
|
161
|
+
justify-content: space-between;
|
|
162
|
+
gap: 12px;
|
|
163
|
+
line-height: 1;
|
|
164
|
+
}
|
|
165
|
+
.sprout-chart-tooltip-row[data-nested] {
|
|
166
|
+
align-items: flex-end;
|
|
167
|
+
}
|
|
168
|
+
.sprout-chart-tooltip-name {
|
|
169
|
+
display: grid;
|
|
170
|
+
gap: 6px;
|
|
171
|
+
}
|
|
172
|
+
.sprout-chart-tooltip-name > span {
|
|
173
|
+
color: var(--sprout-muted);
|
|
174
|
+
}
|
|
175
|
+
.sprout-chart-tooltip-value {
|
|
176
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
177
|
+
font-weight: 500;
|
|
178
|
+
font-variant-numeric: tabular-nums;
|
|
179
|
+
color: var(--sprout-text);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.sprout-chart-legend {
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-wrap: wrap;
|
|
185
|
+
align-items: center;
|
|
186
|
+
justify-content: center;
|
|
187
|
+
gap: 4px 16px;
|
|
188
|
+
padding-top: 12px;
|
|
189
|
+
font-family: var(--sprout-font);
|
|
190
|
+
font-size: var(--sprout-text-xs);
|
|
191
|
+
line-height: 1rem;
|
|
192
|
+
color: var(--sprout-text);
|
|
193
|
+
}
|
|
194
|
+
.sprout-chart-legend[data-align="top"] {
|
|
195
|
+
padding-top: 0;
|
|
196
|
+
padding-bottom: 12px;
|
|
197
|
+
}
|
|
198
|
+
.sprout-chart-legend-item {
|
|
199
|
+
display: flex;
|
|
200
|
+
align-items: center;
|
|
201
|
+
gap: 6px;
|
|
202
|
+
}
|
|
203
|
+
.sprout-chart-legend-item > svg {
|
|
204
|
+
width: 12px;
|
|
205
|
+
height: 12px;
|
|
206
|
+
color: var(--sprout-muted);
|
|
207
|
+
}
|
|
208
|
+
.sprout-chart-legend-swatch {
|
|
209
|
+
flex-shrink: 0;
|
|
210
|
+
width: 8px;
|
|
211
|
+
height: 8px;
|
|
212
|
+
border-radius: 2px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
@media (forced-colors: active) {
|
|
216
|
+
.sprout-chart-tooltip {
|
|
217
|
+
border-color: CanvasText;
|
|
218
|
+
}
|
|
219
|
+
.sprout-chart-tooltip-indicator,
|
|
220
|
+
.sprout-chart-legend-swatch {
|
|
221
|
+
forced-color-adjust: none;
|
|
222
|
+
}
|
|
223
|
+
.sprout-chart .recharts-surface:focus-visible {
|
|
224
|
+
outline-color: Highlight;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.sprout-chat-confirmation {
|
|
3
|
+
width: 100%;
|
|
4
|
+
min-width: 0;
|
|
5
|
+
}
|
|
6
|
+
.sprout-chat-confirmation-description,
|
|
7
|
+
.sprout-chat-confirmation-result {
|
|
8
|
+
margin: 0;
|
|
9
|
+
color: var(--sprout-muted);
|
|
10
|
+
font-size: var(--sprout-text-sm);
|
|
11
|
+
line-height: 1.25rem;
|
|
12
|
+
overflow-wrap: anywhere;
|
|
13
|
+
}
|
|
14
|
+
.sprout-chat-confirmation-error {
|
|
15
|
+
margin: 0;
|
|
16
|
+
color: var(--sprout-danger);
|
|
17
|
+
font-size: var(--sprout-text-sm);
|
|
18
|
+
line-height: 1.25rem;
|
|
19
|
+
overflow-wrap: anywhere;
|
|
20
|
+
}
|
|
21
|
+
.sprout-chat-confirmation-result {
|
|
22
|
+
border-radius: var(--sprout-radius-control);
|
|
23
|
+
outline: none;
|
|
24
|
+
}
|
|
25
|
+
.sprout-chat-confirmation-result:focus-visible {
|
|
26
|
+
outline: 2px solid var(--sprout-focus);
|
|
27
|
+
outline-offset: 2px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.sprout-chat-plan {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
width: 100%;
|
|
5
|
+
min-width: 0;
|
|
6
|
+
padding: 16px;
|
|
7
|
+
border: 1px solid var(--sprout-line);
|
|
8
|
+
border-radius: var(--sprout-radius-panel);
|
|
9
|
+
color: var(--sprout-text);
|
|
10
|
+
font-family: var(--sprout-font);
|
|
11
|
+
}
|
|
12
|
+
.sprout-chat-plan-header {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-wrap: wrap;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
gap: 4px 8px;
|
|
18
|
+
margin-bottom: 16px;
|
|
19
|
+
}
|
|
20
|
+
.sprout-chat-plan-title {
|
|
21
|
+
min-width: 0;
|
|
22
|
+
margin: 0;
|
|
23
|
+
font-size: var(--sprout-text-sm);
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
line-height: 1.25rem;
|
|
26
|
+
overflow-wrap: anywhere;
|
|
27
|
+
}
|
|
28
|
+
.sprout-chat-plan-count {
|
|
29
|
+
color: var(--sprout-muted);
|
|
30
|
+
font-size: var(--sprout-text-xs);
|
|
31
|
+
line-height: 1rem;
|
|
32
|
+
font-variant-numeric: tabular-nums;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
}
|
|
35
|
+
.sprout-chat-plan-empty {
|
|
36
|
+
margin: 0;
|
|
37
|
+
color: var(--sprout-muted);
|
|
38
|
+
font-size: var(--sprout-text-sm);
|
|
39
|
+
line-height: 1.25rem;
|
|
40
|
+
}
|
|
41
|
+
.sprout-chat-plan-steps {
|
|
42
|
+
display: grid;
|
|
43
|
+
gap: 16px;
|
|
44
|
+
margin: 0;
|
|
45
|
+
padding: 0;
|
|
46
|
+
list-style: none;
|
|
47
|
+
}
|
|
48
|
+
.sprout-chat-plan-step {
|
|
49
|
+
display: flex;
|
|
50
|
+
gap: 12px;
|
|
51
|
+
min-width: 0;
|
|
52
|
+
}
|
|
53
|
+
.sprout-chat-plan-icon {
|
|
54
|
+
display: inline-flex;
|
|
55
|
+
flex-shrink: 0;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
width: 16px;
|
|
59
|
+
height: 20px;
|
|
60
|
+
color: var(--sprout-muted);
|
|
61
|
+
}
|
|
62
|
+
.sprout-chat-plan-step[data-state="complete"] .sprout-chat-plan-icon {
|
|
63
|
+
color: var(--sprout-success);
|
|
64
|
+
}
|
|
65
|
+
.sprout-chat-plan-step[data-state="error"] .sprout-chat-plan-icon {
|
|
66
|
+
color: var(--sprout-danger);
|
|
67
|
+
}
|
|
68
|
+
.sprout-chat-plan-text {
|
|
69
|
+
min-width: 0;
|
|
70
|
+
}
|
|
71
|
+
.sprout-chat-plan-step-title,
|
|
72
|
+
.sprout-chat-plan-detail {
|
|
73
|
+
margin: 0;
|
|
74
|
+
font-size: var(--sprout-text-sm);
|
|
75
|
+
line-height: 1.25rem;
|
|
76
|
+
overflow-wrap: anywhere;
|
|
77
|
+
}
|
|
78
|
+
.sprout-chat-plan-step-title {
|
|
79
|
+
font-weight: 500;
|
|
80
|
+
}
|
|
81
|
+
.sprout-chat-plan-detail {
|
|
82
|
+
margin-top: 4px;
|
|
83
|
+
color: var(--sprout-muted);
|
|
84
|
+
}
|
|
85
|
+
.sprout-chat-plan-sr-only {
|
|
86
|
+
position: absolute;
|
|
87
|
+
width: 1px;
|
|
88
|
+
height: 1px;
|
|
89
|
+
margin: -1px;
|
|
90
|
+
padding: 0;
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
clip-path: inset(50%);
|
|
93
|
+
white-space: nowrap;
|
|
94
|
+
border: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
98
|
+
.sprout-chat-plan-icon {
|
|
99
|
+
animation: sprout-chat-plan-icon-in var(--sprout-motion-normal, 180ms)
|
|
100
|
+
var(--sprout-motion-ease, ease-out);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
@keyframes sprout-chat-plan-icon-in {
|
|
104
|
+
from {
|
|
105
|
+
opacity: 0;
|
|
106
|
+
scale: 0.8;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.sprout-chat-sources {
|
|
3
|
+
min-width: 0;
|
|
4
|
+
color: var(--sprout-text);
|
|
5
|
+
font-family: var(--sprout-font);
|
|
6
|
+
}
|
|
7
|
+
.sprout-chat-sources-empty {
|
|
8
|
+
margin: 0;
|
|
9
|
+
color: var(--sprout-muted);
|
|
10
|
+
font-size: var(--sprout-text-sm);
|
|
11
|
+
line-height: 1.25rem;
|
|
12
|
+
}
|
|
13
|
+
.sprout-chat-sources .sprout-chat-sources-trigger {
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 8px;
|
|
17
|
+
min-height: 32px;
|
|
18
|
+
padding-inline: 4px;
|
|
19
|
+
margin-inline: -4px;
|
|
20
|
+
color: var(--sprout-muted);
|
|
21
|
+
font-size: var(--sprout-text-sm);
|
|
22
|
+
line-height: 1.25rem;
|
|
23
|
+
font-variant-numeric: tabular-nums;
|
|
24
|
+
}
|
|
25
|
+
.sprout-chat-sources .sprout-chat-sources-trigger:hover,
|
|
26
|
+
.sprout-chat-sources .sprout-chat-sources-trigger[data-panel-open] {
|
|
27
|
+
color: var(--sprout-text);
|
|
28
|
+
}
|
|
29
|
+
.sprout-chat-sources-list {
|
|
30
|
+
display: grid;
|
|
31
|
+
gap: 8px;
|
|
32
|
+
margin: 8px 0 0;
|
|
33
|
+
padding: 0;
|
|
34
|
+
list-style: none;
|
|
35
|
+
}
|
|
36
|
+
.sprout-chat-sources-item {
|
|
37
|
+
display: flex;
|
|
38
|
+
gap: 12px;
|
|
39
|
+
min-width: 0;
|
|
40
|
+
padding: 12px;
|
|
41
|
+
border: 1px solid var(--sprout-line);
|
|
42
|
+
border-radius: var(--sprout-radius-panel);
|
|
43
|
+
background: var(--sprout-surface);
|
|
44
|
+
}
|
|
45
|
+
.sprout-chat-sources-number {
|
|
46
|
+
flex-shrink: 0;
|
|
47
|
+
min-width: 12px;
|
|
48
|
+
color: var(--sprout-muted);
|
|
49
|
+
font-size: var(--sprout-text-xs);
|
|
50
|
+
line-height: 1.25rem;
|
|
51
|
+
font-variant-numeric: tabular-nums;
|
|
52
|
+
}
|
|
53
|
+
.sprout-chat-sources-source {
|
|
54
|
+
display: grid;
|
|
55
|
+
justify-items: start;
|
|
56
|
+
gap: 4px;
|
|
57
|
+
min-width: 0;
|
|
58
|
+
font-size: var(--sprout-text-sm);
|
|
59
|
+
line-height: 1.25rem;
|
|
60
|
+
}
|
|
61
|
+
.sprout-chat-sources-source > p {
|
|
62
|
+
max-width: 100%;
|
|
63
|
+
margin: 0;
|
|
64
|
+
}
|
|
65
|
+
.sprout-chat-sources-title {
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
overflow-wrap: anywhere;
|
|
68
|
+
}
|
|
69
|
+
.sprout-chat-sources-location {
|
|
70
|
+
color: var(--sprout-muted);
|
|
71
|
+
font-size: var(--sprout-text-xs);
|
|
72
|
+
line-height: 1rem;
|
|
73
|
+
overflow-wrap: anywhere;
|
|
74
|
+
}
|
|
75
|
+
.sprout-chat-sources-excerpt {
|
|
76
|
+
color: var(--sprout-muted);
|
|
77
|
+
overflow-wrap: anywhere;
|
|
78
|
+
}
|
|
79
|
+
.sprout-chat-sources-excerpt[data-preserve-lines] {
|
|
80
|
+
white-space: pre-wrap;
|
|
81
|
+
}
|
|
82
|
+
.sprout-chat-sources-link {
|
|
83
|
+
display: inline-flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
gap: 4px;
|
|
86
|
+
margin-top: 4px;
|
|
87
|
+
border-radius: 4px;
|
|
88
|
+
color: var(--sprout-primary);
|
|
89
|
+
font-weight: 500;
|
|
90
|
+
text-decoration: underline;
|
|
91
|
+
text-underline-offset: 4px;
|
|
92
|
+
}
|
|
93
|
+
.sprout-chat-sources-link:hover {
|
|
94
|
+
color: var(--sprout-primary-hover);
|
|
95
|
+
}
|
|
96
|
+
.sprout-chat-sources-link:focus-visible {
|
|
97
|
+
outline: 2px solid var(--sprout-focus);
|
|
98
|
+
outline-offset: 2px;
|
|
99
|
+
}
|
|
100
|
+
.sprout-chat-sources-retry {
|
|
101
|
+
margin-top: 4px;
|
|
102
|
+
}
|
|
103
|
+
.sprout-chat-sources-checking {
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
gap: 8px;
|
|
107
|
+
margin: 0;
|
|
108
|
+
color: var(--sprout-muted);
|
|
109
|
+
}
|
|
110
|
+
/* Citations sit inside running reply text. */
|
|
111
|
+
.sprout-chat-sources-citation.sprout-button {
|
|
112
|
+
vertical-align: middle;
|
|
113
|
+
margin-inline: 2px;
|
|
114
|
+
font-size: var(--sprout-text-xs);
|
|
115
|
+
font-variant-numeric: tabular-nums;
|
|
116
|
+
}
|
|
117
|
+
.sprout-chat-sources-citation.sprout-button:hover,
|
|
118
|
+
.sprout-chat-sources-citation.sprout-button[data-popup-open] {
|
|
119
|
+
background: var(--sprout-primary-subtle);
|
|
120
|
+
color: var(--sprout-primary);
|
|
121
|
+
}
|
|
122
|
+
.sprout-chat-sources-preview-head {
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
gap: 8px;
|
|
126
|
+
margin-bottom: 4px;
|
|
127
|
+
color: var(--sprout-muted);
|
|
128
|
+
font-size: var(--sprout-text-xs);
|
|
129
|
+
line-height: 1rem;
|
|
130
|
+
overflow-wrap: anywhere;
|
|
131
|
+
}
|
|
132
|
+
.sprout-chat-sources-badge {
|
|
133
|
+
display: inline-grid;
|
|
134
|
+
flex-shrink: 0;
|
|
135
|
+
place-items: center;
|
|
136
|
+
min-width: 18px;
|
|
137
|
+
height: 18px;
|
|
138
|
+
padding-inline: 4px;
|
|
139
|
+
border-radius: 6px;
|
|
140
|
+
background: var(--sprout-primary-subtle);
|
|
141
|
+
color: var(--sprout-primary);
|
|
142
|
+
font-weight: 500;
|
|
143
|
+
font-variant-numeric: tabular-nums;
|
|
144
|
+
}
|
|
145
|
+
.sprout-chat-sources-preview .sprout-chat-sources-excerpt {
|
|
146
|
+
margin-top: 4px;
|
|
147
|
+
padding-inline-start: 10px;
|
|
148
|
+
border-inline-start: 2px solid var(--sprout-line);
|
|
149
|
+
color: var(--sprout-text);
|
|
150
|
+
}
|
|
151
|
+
.sprout-chat-sources-checked.sprout-button {
|
|
152
|
+
display: inline;
|
|
153
|
+
min-height: 0;
|
|
154
|
+
padding: 0;
|
|
155
|
+
font: inherit;
|
|
156
|
+
text-decoration: underline;
|
|
157
|
+
text-decoration-thickness: 1px;
|
|
158
|
+
text-underline-offset: 3px;
|
|
159
|
+
vertical-align: baseline;
|
|
160
|
+
}
|
|
161
|
+
.sprout-chat-sources-checked.sprout-button:hover,
|
|
162
|
+
.sprout-chat-sources-checked.sprout-button[data-popup-open] {
|
|
163
|
+
text-decoration-thickness: 2px;
|
|
164
|
+
}
|
|
165
|
+
.sprout-chat-sources-sr-only {
|
|
166
|
+
position: absolute;
|
|
167
|
+
width: 1px;
|
|
168
|
+
height: 1px;
|
|
169
|
+
margin: -1px;
|
|
170
|
+
padding: 0;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
clip-path: inset(50%);
|
|
173
|
+
white-space: nowrap;
|
|
174
|
+
border: 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
178
|
+
.sprout-chat-sources .sprout-chat-sources-trigger,
|
|
179
|
+
.sprout-chat-sources-link {
|
|
180
|
+
transition: color var(--sprout-motion-fast, 120ms)
|
|
181
|
+
var(--sprout-motion-ease, ease-out);
|
|
182
|
+
}
|
|
183
|
+
.sprout-chat-sources-citation.sprout-button {
|
|
184
|
+
transition:
|
|
185
|
+
color var(--sprout-motion-fast, 120ms)
|
|
186
|
+
var(--sprout-motion-ease, ease-out),
|
|
187
|
+
background-color var(--sprout-motion-fast, 120ms)
|
|
188
|
+
var(--sprout-motion-ease, ease-out);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.sprout-checkbox {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
flex-shrink: 0;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
width: 16px;
|
|
10
|
+
height: 16px;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
border: 1px solid var(--sprout-border);
|
|
14
|
+
border-radius: 4px;
|
|
15
|
+
background-color: var(--sprout-surface);
|
|
16
|
+
color: var(--sprout-on-primary);
|
|
17
|
+
vertical-align: middle;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
outline: 0 solid transparent;
|
|
20
|
+
outline-offset: 2px;
|
|
21
|
+
-webkit-tap-highlight-color: transparent;
|
|
22
|
+
}
|
|
23
|
+
/* A 40 x 32px hit area around the 16px box. */
|
|
24
|
+
.sprout-checkbox::after {
|
|
25
|
+
content: "";
|
|
26
|
+
position: absolute;
|
|
27
|
+
inset: -8px -12px;
|
|
28
|
+
}
|
|
29
|
+
@media (hover: hover) {
|
|
30
|
+
.sprout-checkbox:not(
|
|
31
|
+
[data-disabled],
|
|
32
|
+
[data-checked],
|
|
33
|
+
[data-indeterminate]
|
|
34
|
+
):hover {
|
|
35
|
+
border-color: var(--sprout-border-strong);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.sprout-checkbox:focus-visible {
|
|
39
|
+
border-color: var(--sprout-focus);
|
|
40
|
+
outline: 2px solid var(--sprout-focus);
|
|
41
|
+
}
|
|
42
|
+
.sprout-checkbox[data-checked],
|
|
43
|
+
.sprout-checkbox[data-indeterminate] {
|
|
44
|
+
border-color: var(--sprout-primary);
|
|
45
|
+
background-color: var(--sprout-primary);
|
|
46
|
+
}
|
|
47
|
+
.sprout-checkbox-variant-neutral[data-checked],
|
|
48
|
+
.sprout-checkbox-variant-neutral[data-indeterminate] {
|
|
49
|
+
border-color: var(--sprout-text);
|
|
50
|
+
background-color: var(--sprout-text);
|
|
51
|
+
color: var(--sprout-surface);
|
|
52
|
+
}
|
|
53
|
+
.sprout-checkbox[aria-invalid="true"]:not(
|
|
54
|
+
[data-checked],
|
|
55
|
+
[data-indeterminate]
|
|
56
|
+
) {
|
|
57
|
+
border-color: var(--sprout-danger);
|
|
58
|
+
box-shadow: 0 0 0 3px
|
|
59
|
+
color-mix(in oklab, var(--sprout-danger) 20%, transparent);
|
|
60
|
+
}
|
|
61
|
+
.sprout-checkbox[aria-invalid="true"]:focus-visible {
|
|
62
|
+
outline-color: var(--sprout-danger);
|
|
63
|
+
}
|
|
64
|
+
.sprout-checkbox[data-readonly] {
|
|
65
|
+
cursor: default;
|
|
66
|
+
}
|
|
67
|
+
.sprout-checkbox[data-disabled] {
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
opacity: 0.5;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.sprout-checkbox-indicator {
|
|
73
|
+
display: grid;
|
|
74
|
+
place-content: center;
|
|
75
|
+
color: currentColor;
|
|
76
|
+
}
|
|
77
|
+
.sprout-checkbox-indicator svg {
|
|
78
|
+
width: 14px;
|
|
79
|
+
height: 14px;
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
84
|
+
.sprout-checkbox {
|
|
85
|
+
transition:
|
|
86
|
+
background-color var(--sprout-motion-fast, 120ms)
|
|
87
|
+
var(--sprout-motion-ease, ease-out),
|
|
88
|
+
border-color var(--sprout-motion-fast, 120ms)
|
|
89
|
+
var(--sprout-motion-ease, ease-out),
|
|
90
|
+
box-shadow var(--sprout-motion-fast, 120ms)
|
|
91
|
+
var(--sprout-motion-ease, ease-out),
|
|
92
|
+
opacity var(--sprout-motion-fast, 120ms)
|
|
93
|
+
var(--sprout-motion-ease, ease-out);
|
|
94
|
+
}
|
|
95
|
+
.sprout-checkbox-indicator {
|
|
96
|
+
transition:
|
|
97
|
+
opacity var(--sprout-motion-fast, 120ms)
|
|
98
|
+
var(--sprout-motion-ease, ease-out),
|
|
99
|
+
transform var(--sprout-motion-fast, 120ms)
|
|
100
|
+
var(--sprout-motion-ease, ease-out);
|
|
101
|
+
}
|
|
102
|
+
.sprout-checkbox-indicator[data-starting-style],
|
|
103
|
+
.sprout-checkbox-indicator[data-ending-style] {
|
|
104
|
+
opacity: 0;
|
|
105
|
+
transform: scale(0.6);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@media (forced-colors: active) {
|
|
110
|
+
.sprout-checkbox {
|
|
111
|
+
border-color: CanvasText;
|
|
112
|
+
}
|
|
113
|
+
.sprout-checkbox[data-checked],
|
|
114
|
+
.sprout-checkbox[data-indeterminate] {
|
|
115
|
+
border-color: Highlight;
|
|
116
|
+
background-color: Highlight;
|
|
117
|
+
color: HighlightText;
|
|
118
|
+
}
|
|
119
|
+
.sprout-checkbox:focus-visible {
|
|
120
|
+
outline-color: Highlight;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|