cursedbelt 5.0.1 → 5.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/dist/react/engagement/beacon.d.ts +38 -0
- package/dist/react/engagement/beacon.d.ts.map +1 -0
- package/dist/react/engagement/beacon.js +62 -0
- package/dist/react/engagement/beacon.js.map +1 -0
- package/dist/react/engagement/beaconClient.d.ts +119 -0
- package/dist/react/engagement/beaconClient.d.ts.map +1 -0
- package/dist/react/engagement/beaconClient.js +203 -0
- package/dist/react/engagement/beaconClient.js.map +1 -0
- package/dist/react/engagement/index.d.ts +3 -0
- package/dist/react/engagement/index.d.ts.map +1 -0
- package/dist/react/engagement/index.js +5 -0
- package/dist/react/engagement/index.js.map +1 -0
- package/dist/react/lib/directUpload.d.ts +130 -0
- package/dist/react/lib/directUpload.d.ts.map +1 -0
- package/dist/react/lib/directUpload.js +228 -0
- package/dist/react/lib/directUpload.js.map +1 -0
- package/dist/react/media/FocusViewer.d.ts.map +1 -1
- package/dist/react/media/FocusViewer.js.map +1 -1
- package/dist/react/media/MediaThumb.d.ts.map +1 -1
- package/dist/react/media/MediaThumb.js.map +1 -1
- package/dist/react/media/VideoTurner.d.ts.map +1 -1
- package/dist/react/media/VideoTurner.js.map +1 -1
- package/dist/react/media-gallery/GalleryTable.js.map +1 -1
- package/dist/react/media-gallery/MediaGallery.d.ts.map +1 -1
- package/dist/react/media-gallery/MediaGallery.js.map +1 -1
- package/dist/styles-areas/activity-bar.css +8 -11
- package/dist/styles-areas/analytics.css +30 -653
- package/dist/styles-areas/auth.css +10 -135
- package/dist/styles-areas/calendar.css +22 -397
- package/dist/styles-areas/chart-table.css +8 -20
- package/dist/styles-areas/charts.css +9 -70
- package/dist/styles-areas/chat.css +17 -345
- package/dist/styles-areas/clipboard.css +7 -7
- package/dist/styles-areas/code-editor.css +8 -111
- package/dist/styles-areas/companion-link.css +8 -51
- package/dist/styles-areas/core.css +131 -2488
- package/dist/styles-areas/dashboard-grid.css +10 -65
- package/dist/styles-areas/data-table.css +30 -638
- package/dist/styles-areas/deep-link.css +7 -7
- package/dist/styles-areas/diff-viewer.css +8 -11
- package/dist/styles-areas/disk-usage.css +13 -243
- package/dist/styles-areas/emoji.css +9 -135
- package/dist/styles-areas/fields.css +32 -563
- package/dist/styles-areas/file-tree.css +8 -14
- package/dist/styles-areas/filter-rail.css +14 -216
- package/dist/styles-areas/folder-tree.css +12 -200
- package/dist/styles-areas/keep-awake.css +7 -7
- package/dist/styles-areas/layout-engine.css +12 -220
- package/dist/styles-areas/markdown.css +9 -68
- package/dist/styles-areas/master-detail.css +14 -220
- package/dist/styles-areas/master-lock.css +9 -113
- package/dist/styles-areas/media-gallery.css +15 -332
- package/dist/styles-areas/media.css +20 -623
- package/dist/styles-areas/nav.css +24 -469
- package/dist/styles-areas/notifications.css +12 -226
- package/dist/styles-areas/overlays.css +14 -114
- package/dist/styles-areas/palette.css +15 -121
- package/dist/styles-areas/pdf-viewer.css +8 -28
- package/dist/styles-areas/problem-detail.css +9 -78
- package/dist/styles-areas/rich-text.css +9 -148
- package/dist/styles-areas/sharing.css +13 -134
- package/dist/styles-areas/spreadsheet.css +8 -18
- package/dist/styles-areas/stats.css +19 -262
- package/dist/styles-areas/test-report.css +13 -114
- package/dist/styles-areas/virtual.css +8 -11
- package/dist/styles-areas/wizard.css +21 -362
- package/dist/styles-areas/workbench.css +27 -524
- package/dist/styles-areas/workbook-viewer.css +8 -25
- package/dist/styles-static.css +1 -0
- package/dist/styles.css +1 -0
- package/package.json +20 -2
- package/scripts/checkAreaStyles.spec.ts +158 -1
- package/scripts/checkAreaStyles.ts +226 -6
- package/scripts/cssRules.ts +8 -1
- package/scripts/gate.ts +1 -1
- package/scripts/generateAreaStyles.ts +130 -10
- package/scripts/paths.ts +1 -1
- package/scripts/styleAreas.ts +2 -0
- package/src/react/components/ActionBar.spec.tsx +1 -0
- package/src/react/engagement/beacon.tsx +63 -0
- package/src/react/engagement/beaconClient.spec.ts +138 -0
- package/src/react/engagement/beaconClient.ts +228 -0
- package/src/react/engagement/index.ts +13 -0
- package/src/react/file-tree/FileTree.tsx +3 -3
- package/src/react/lib/directUpload.spec.ts +128 -0
- package/src/react/lib/directUpload.ts +334 -0
- package/src/react/media/FocusViewer.tsx +1 -0
- package/src/react/media/MediaThumb.tsx +0 -1
- package/src/react/media/VideoTurner.tsx +0 -1
- package/src/react/media-gallery/GalleryTable.tsx +0 -1
- package/src/react/media-gallery/MediaGallery.tsx +0 -1
- package/src/styles-areas/activity-bar.css +8 -11
- package/src/styles-areas/analytics.css +30 -653
- package/src/styles-areas/auth.css +10 -135
- package/src/styles-areas/calendar.css +22 -397
- package/src/styles-areas/chart-table.css +8 -20
- package/src/styles-areas/charts.css +9 -70
- package/src/styles-areas/chat.css +17 -345
- package/src/styles-areas/clipboard.css +7 -7
- package/src/styles-areas/code-editor.css +8 -111
- package/src/styles-areas/companion-link.css +8 -51
- package/src/styles-areas/core.css +131 -2488
- package/src/styles-areas/dashboard-grid.css +10 -65
- package/src/styles-areas/data-table.css +30 -638
- package/src/styles-areas/deep-link.css +7 -7
- package/src/styles-areas/diff-viewer.css +8 -11
- package/src/styles-areas/disk-usage.css +13 -243
- package/src/styles-areas/emoji.css +9 -135
- package/src/styles-areas/fields.css +32 -563
- package/src/styles-areas/file-tree.css +8 -14
- package/src/styles-areas/filter-rail.css +14 -216
- package/src/styles-areas/folder-tree.css +12 -200
- package/src/styles-areas/keep-awake.css +7 -7
- package/src/styles-areas/layout-engine.css +12 -220
- package/src/styles-areas/markdown.css +9 -68
- package/src/styles-areas/master-detail.css +14 -220
- package/src/styles-areas/master-lock.css +9 -113
- package/src/styles-areas/media-gallery.css +15 -332
- package/src/styles-areas/media.css +20 -623
- package/src/styles-areas/nav.css +24 -469
- package/src/styles-areas/notifications.css +12 -226
- package/src/styles-areas/overlays.css +14 -114
- package/src/styles-areas/palette.css +15 -121
- package/src/styles-areas/pdf-viewer.css +8 -28
- package/src/styles-areas/problem-detail.css +9 -78
- package/src/styles-areas/rich-text.css +9 -148
- package/src/styles-areas/sharing.css +13 -134
- package/src/styles-areas/spreadsheet.css +8 -18
- package/src/styles-areas/stats.css +19 -262
- package/src/styles-areas/test-report.css +13 -114
- package/src/styles-areas/virtual.css +8 -11
- package/src/styles-areas/wizard.css +21 -362
- package/src/styles-areas/workbench.css +27 -524
- package/src/styles-areas/workbook-viewer.css +8 -25
- package/src/styles-static.css +1 -0
- package/src/styles.css +1 -0
- package/src/stylesAreas.spec.ts +12 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* cursedbelt — the `layout-engine` area. GENERATED BUILD ARTIFACT. Never hand-edit.
|
|
2
|
+
* cursedbelt — the `layout-engine` area's utility candidates. GENERATED BUILD ARTIFACT. Never hand-edit.
|
|
3
3
|
*
|
|
4
4
|
* the persisted pane/grid layout engine — apps with a fixed layout render none of it.
|
|
5
5
|
*
|
|
@@ -13,227 +13,19 @@
|
|
|
13
13
|
* @import "cursedbelt/styles-areas/layout-engine.css";
|
|
14
14
|
* @import "cursedbelt/theme.css";
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* These are CANDIDATES (`@source inline`), not CSS: the app's own Tailwind pass generates
|
|
17
|
+
* them, sorted together with the app's utilities, so an area can never put a base utility
|
|
18
|
+
* after an app's responsive variant (task 2124). An app that imports every area gets exactly
|
|
19
|
+
* what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
|
|
20
|
+
* src/stylesAreas.spec.ts, which is also what fails when this file is stale.
|
|
21
|
+
* 31 candidate(s).
|
|
19
22
|
*
|
|
20
23
|
* Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
|
|
21
24
|
* `bun run build` runs. The map of what is in which area, and why the areas are
|
|
22
25
|
* import closures rather than a hand-written list, is scripts/styleAreas.ts.
|
|
23
26
|
*/
|
|
24
|
-
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@
|
|
28
|
-
|
|
29
|
-
--spacing: 0.25rem;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
@layer utilities {
|
|
33
|
-
.collapse {
|
|
34
|
-
visibility: collapse;
|
|
35
|
-
}
|
|
36
|
-
.mb-3 {
|
|
37
|
-
margin-bottom: calc(var(--spacing) * 3);
|
|
38
|
-
}
|
|
39
|
-
.grid-cols-1 {
|
|
40
|
-
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
41
|
-
}
|
|
42
|
-
.grid-cols-12 {
|
|
43
|
-
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
44
|
-
}
|
|
45
|
-
.justify-start {
|
|
46
|
-
justify-content: flex-start;
|
|
47
|
-
}
|
|
48
|
-
.gap-x-4 {
|
|
49
|
-
column-gap: calc(var(--spacing) * 4);
|
|
50
|
-
}
|
|
51
|
-
.gap-y-3 {
|
|
52
|
-
row-gap: calc(var(--spacing) * 3);
|
|
53
|
-
}
|
|
54
|
-
.self-start {
|
|
55
|
-
align-self: flex-start;
|
|
56
|
-
}
|
|
57
|
-
.self-stretch {
|
|
58
|
-
align-self: stretch;
|
|
59
|
-
}
|
|
60
|
-
.border-0 {
|
|
61
|
-
border-style: var(--tw-border-style);
|
|
62
|
-
border-width: 0px;
|
|
63
|
-
}
|
|
64
|
-
.border-dashed {
|
|
65
|
-
--tw-border-style: dashed;
|
|
66
|
-
border-style: dashed;
|
|
67
|
-
}
|
|
68
|
-
.border-accent {
|
|
69
|
-
border-color: var(--accent);
|
|
70
|
-
}
|
|
71
|
-
.pt-1 {
|
|
72
|
-
padding-top: var(--spacing);
|
|
73
|
-
}
|
|
74
|
-
.break-words {
|
|
75
|
-
overflow-wrap: break-word;
|
|
76
|
-
}
|
|
77
|
-
.text-muted-foreground\/60 {
|
|
78
|
-
color: var(--muted-foreground);
|
|
79
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
80
|
-
color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
.ring-1 {
|
|
84
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
85
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
86
|
-
}
|
|
87
|
-
.ring-accent {
|
|
88
|
-
--tw-ring-color: var(--accent);
|
|
89
|
-
}
|
|
90
|
-
.ring-accent\/40 {
|
|
91
|
-
--tw-ring-color: var(--accent);
|
|
92
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
93
|
-
--tw-ring-color: color-mix(in oklab, var(--accent) 40%, transparent);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
@media (hover: hover) {
|
|
97
|
-
.hover\:border-border-strong:hover {
|
|
98
|
-
border-color: var(--border-strong);
|
|
99
|
-
}
|
|
100
|
-
.hover\:bg-accent\/5:hover {
|
|
101
|
-
background-color: var(--accent);
|
|
102
|
-
}
|
|
103
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
104
|
-
.hover\:bg-accent\/5:hover {
|
|
105
|
-
background-color: color-mix(in oklab, var(--accent) 5%, transparent);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
.focus\:border-accent:focus {
|
|
110
|
-
border-color: var(--accent);
|
|
111
|
-
}
|
|
112
|
-
.focus\:ring-1:focus {
|
|
113
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
114
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
115
|
-
}
|
|
116
|
-
.focus\:ring-ring:focus {
|
|
117
|
-
--tw-ring-color: var(--ring);
|
|
118
|
-
}
|
|
119
|
-
@media (width >= 40rem) {
|
|
120
|
-
.sm\:inset-4 {
|
|
121
|
-
inset: calc(var(--spacing) * 4);
|
|
122
|
-
}
|
|
123
|
-
.sm\:rounded-xl {
|
|
124
|
-
border-radius: 1.5rem;
|
|
125
|
-
}
|
|
126
|
-
.sm\:border {
|
|
127
|
-
border-style: var(--tw-border-style);
|
|
128
|
-
border-width: 1px;
|
|
129
|
-
}
|
|
130
|
-
.sm\:border-border {
|
|
131
|
-
border-color: var(--border);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
@media (width >= 64rem) {
|
|
135
|
-
.lg\:inset-8 {
|
|
136
|
-
inset: calc(var(--spacing) * 8);
|
|
137
|
-
}
|
|
138
|
-
.lg\:w-72 {
|
|
139
|
-
width: calc(var(--spacing) * 72);
|
|
140
|
-
}
|
|
141
|
-
.lg\:flex-row {
|
|
142
|
-
flex-direction: row;
|
|
143
|
-
}
|
|
144
|
-
.lg\:items-start {
|
|
145
|
-
align-items: flex-start;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
@property --tw-border-style {
|
|
150
|
-
syntax: "*";
|
|
151
|
-
inherits: false;
|
|
152
|
-
initial-value: solid;
|
|
153
|
-
}
|
|
154
|
-
@property --tw-shadow {
|
|
155
|
-
syntax: "*";
|
|
156
|
-
inherits: false;
|
|
157
|
-
initial-value: 0 0 #0000;
|
|
158
|
-
}
|
|
159
|
-
@property --tw-shadow-color {
|
|
160
|
-
syntax: "*";
|
|
161
|
-
inherits: false;
|
|
162
|
-
}
|
|
163
|
-
@property --tw-shadow-alpha {
|
|
164
|
-
syntax: "<percentage>";
|
|
165
|
-
inherits: false;
|
|
166
|
-
initial-value: 100%;
|
|
167
|
-
}
|
|
168
|
-
@property --tw-inset-shadow {
|
|
169
|
-
syntax: "*";
|
|
170
|
-
inherits: false;
|
|
171
|
-
initial-value: 0 0 #0000;
|
|
172
|
-
}
|
|
173
|
-
@property --tw-inset-shadow-color {
|
|
174
|
-
syntax: "*";
|
|
175
|
-
inherits: false;
|
|
176
|
-
}
|
|
177
|
-
@property --tw-inset-shadow-alpha {
|
|
178
|
-
syntax: "<percentage>";
|
|
179
|
-
inherits: false;
|
|
180
|
-
initial-value: 100%;
|
|
181
|
-
}
|
|
182
|
-
@property --tw-ring-color {
|
|
183
|
-
syntax: "*";
|
|
184
|
-
inherits: false;
|
|
185
|
-
}
|
|
186
|
-
@property --tw-ring-shadow {
|
|
187
|
-
syntax: "*";
|
|
188
|
-
inherits: false;
|
|
189
|
-
initial-value: 0 0 #0000;
|
|
190
|
-
}
|
|
191
|
-
@property --tw-inset-ring-color {
|
|
192
|
-
syntax: "*";
|
|
193
|
-
inherits: false;
|
|
194
|
-
}
|
|
195
|
-
@property --tw-inset-ring-shadow {
|
|
196
|
-
syntax: "*";
|
|
197
|
-
inherits: false;
|
|
198
|
-
initial-value: 0 0 #0000;
|
|
199
|
-
}
|
|
200
|
-
@property --tw-ring-inset {
|
|
201
|
-
syntax: "*";
|
|
202
|
-
inherits: false;
|
|
203
|
-
}
|
|
204
|
-
@property --tw-ring-offset-width {
|
|
205
|
-
syntax: "<length>";
|
|
206
|
-
inherits: false;
|
|
207
|
-
initial-value: 0px;
|
|
208
|
-
}
|
|
209
|
-
@property --tw-ring-offset-color {
|
|
210
|
-
syntax: "*";
|
|
211
|
-
inherits: false;
|
|
212
|
-
initial-value: #fff;
|
|
213
|
-
}
|
|
214
|
-
@property --tw-ring-offset-shadow {
|
|
215
|
-
syntax: "*";
|
|
216
|
-
inherits: false;
|
|
217
|
-
initial-value: 0 0 #0000;
|
|
218
|
-
}
|
|
219
|
-
@layer properties {
|
|
220
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
221
|
-
*, ::before, ::after, ::backdrop {
|
|
222
|
-
--tw-border-style: solid;
|
|
223
|
-
--tw-shadow: 0 0 #0000;
|
|
224
|
-
--tw-shadow-color: initial;
|
|
225
|
-
--tw-shadow-alpha: 100%;
|
|
226
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
227
|
-
--tw-inset-shadow-color: initial;
|
|
228
|
-
--tw-inset-shadow-alpha: 100%;
|
|
229
|
-
--tw-ring-color: initial;
|
|
230
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
231
|
-
--tw-inset-ring-color: initial;
|
|
232
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
233
|
-
--tw-ring-inset: initial;
|
|
234
|
-
--tw-ring-offset-width: 0px;
|
|
235
|
-
--tw-ring-offset-color: #fff;
|
|
236
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
27
|
+
@source inline("border-0 border-accent border-dashed break-words collapse focus:border-accent focus:ring-1");
|
|
28
|
+
@source inline("focus:ring-ring gap-x-4 gap-y-3 grid-cols-1 grid-cols-12 hover:bg-accent/5");
|
|
29
|
+
@source inline("hover:border-border-strong justify-start lg:flex-row lg:inset-8 lg:items-start lg:w-72 mb-3 pt-1");
|
|
30
|
+
@source inline("ring-1 ring-accent ring-accent/40 self-start self-stretch sm:border sm:border-border sm:inset-4");
|
|
31
|
+
@source inline("sm:rounded-xl text-muted-foreground/60");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* cursedbelt — the `markdown` area. GENERATED BUILD ARTIFACT. Never hand-edit.
|
|
2
|
+
* cursedbelt — the `markdown` area's utility candidates. GENERATED BUILD ARTIFACT. Never hand-edit.
|
|
3
3
|
*
|
|
4
4
|
* the rendered-markdown document.
|
|
5
5
|
*
|
|
@@ -13,75 +13,16 @@
|
|
|
13
13
|
* @import "cursedbelt/styles-areas/markdown.css";
|
|
14
14
|
* @import "cursedbelt/theme.css";
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* These are CANDIDATES (`@source inline`), not CSS: the app's own Tailwind pass generates
|
|
17
|
+
* them, sorted together with the app's utilities, so an area can never put a base utility
|
|
18
|
+
* after an app's responsive variant (task 2124). An app that imports every area gets exactly
|
|
19
|
+
* what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
|
|
20
|
+
* src/stylesAreas.spec.ts, which is also what fails when this file is stale.
|
|
21
|
+
* 16 candidate(s).
|
|
19
22
|
*
|
|
20
23
|
* Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
|
|
21
24
|
* `bun run build` runs. The map of what is in which area, and why the areas are
|
|
22
25
|
* import closures rather than a hand-written list, is scripts/styleAreas.ts.
|
|
23
26
|
*/
|
|
24
|
-
|
|
25
|
-
@
|
|
26
|
-
@layer theme {
|
|
27
|
-
:root, :host {
|
|
28
|
-
--color-black: #000;
|
|
29
|
-
--color-white: #fff;
|
|
30
|
-
--spacing: 0.25rem;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
@layer utilities {
|
|
34
|
-
.top-1 {
|
|
35
|
-
top: var(--spacing);
|
|
36
|
-
}
|
|
37
|
-
.right-1 {
|
|
38
|
-
right: var(--spacing);
|
|
39
|
-
}
|
|
40
|
-
.list-decimal {
|
|
41
|
-
list-style-type: decimal;
|
|
42
|
-
}
|
|
43
|
-
.list-disc {
|
|
44
|
-
list-style-type: disc;
|
|
45
|
-
}
|
|
46
|
-
.bg-black\/10 {
|
|
47
|
-
background-color: color-mix(in srgb, #000 10%, transparent);
|
|
48
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
49
|
-
background-color: color-mix(in oklab, var(--color-black) 10%, transparent);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
.pr-9 {
|
|
53
|
-
padding-right: calc(var(--spacing) * 9);
|
|
54
|
-
}
|
|
55
|
-
.pl-5 {
|
|
56
|
-
padding-left: calc(var(--spacing) * 5);
|
|
57
|
-
}
|
|
58
|
-
.text-\[0\.9em\] {
|
|
59
|
-
font-size: 0.9em;
|
|
60
|
-
}
|
|
61
|
-
.text-\[0\.85em\] {
|
|
62
|
-
font-size: 0.85em;
|
|
63
|
-
}
|
|
64
|
-
.break-words {
|
|
65
|
-
overflow-wrap: break-word;
|
|
66
|
-
}
|
|
67
|
-
.italic {
|
|
68
|
-
font-style: italic;
|
|
69
|
-
}
|
|
70
|
-
.underline-offset-2 {
|
|
71
|
-
text-underline-offset: 2px;
|
|
72
|
-
}
|
|
73
|
-
.first\:mt-0:first-child {
|
|
74
|
-
margin-top: 0px;
|
|
75
|
-
}
|
|
76
|
-
@media (hover: hover) {
|
|
77
|
-
.hover\:opacity-80:hover {
|
|
78
|
-
opacity: 80%;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.dark\:bg-white\/10:where(.dark, .dark *) {
|
|
82
|
-
background-color: color-mix(in srgb, #fff 10%, transparent);
|
|
83
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
84
|
-
background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
27
|
+
@source inline("bg-black/10 br break-words dark:bg-white/10 first:mt-0 hover:opacity-80 italic list-decimal");
|
|
28
|
+
@source inline("list-disc pl-5 pr-9 right-1 text-[0.85em] text-[0.9em] top-1 underline-offset-2");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* cursedbelt — the `master-detail` area. GENERATED BUILD ARTIFACT. Never hand-edit.
|
|
2
|
+
* cursedbelt — the `master-detail` area's utility candidates. GENERATED BUILD ARTIFACT. Never hand-edit.
|
|
3
3
|
*
|
|
4
4
|
* the master/detail shell.
|
|
5
5
|
*
|
|
@@ -13,227 +13,21 @@
|
|
|
13
13
|
* @import "cursedbelt/styles-areas/master-detail.css";
|
|
14
14
|
* @import "cursedbelt/theme.css";
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* These are CANDIDATES (`@source inline`), not CSS: the app's own Tailwind pass generates
|
|
17
|
+
* them, sorted together with the app's utilities, so an area can never put a base utility
|
|
18
|
+
* after an app's responsive variant (task 2124). An app that imports every area gets exactly
|
|
19
|
+
* what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
|
|
20
|
+
* src/stylesAreas.spec.ts, which is also what fails when this file is stale.
|
|
21
|
+
* 31 candidate(s).
|
|
19
22
|
*
|
|
20
23
|
* Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
|
|
21
24
|
* `bun run build` runs. The map of what is in which area, and why the areas are
|
|
22
25
|
* import closures rather than a hand-written list, is scripts/styleAreas.ts.
|
|
23
26
|
*/
|
|
24
|
-
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
@layer utilities {
|
|
33
|
-
.mb-1\.5 {
|
|
34
|
-
margin-bottom: calc(var(--spacing) * 1.5);
|
|
35
|
-
}
|
|
36
|
-
.mb-4 {
|
|
37
|
-
margin-bottom: calc(var(--spacing) * 4);
|
|
38
|
-
}
|
|
39
|
-
.min-h-\[44px\] {
|
|
40
|
-
min-height: 44px;
|
|
41
|
-
}
|
|
42
|
-
.min-h-full {
|
|
43
|
-
min-height: 100%;
|
|
44
|
-
}
|
|
45
|
-
.\[scrollbar-width\:none\] {
|
|
46
|
-
scrollbar-width: none;
|
|
47
|
-
}
|
|
48
|
-
.grid-cols-\[minmax\(5rem\,9rem\)_1fr\] {
|
|
49
|
-
grid-template-columns: minmax(5rem,9rem) 1fr;
|
|
50
|
-
}
|
|
51
|
-
.flex-row {
|
|
52
|
-
flex-direction: row;
|
|
53
|
-
}
|
|
54
|
-
.gap-x-4 {
|
|
55
|
-
column-gap: calc(var(--spacing) * 4);
|
|
56
|
-
}
|
|
57
|
-
.gap-y-1\.5 {
|
|
58
|
-
row-gap: calc(var(--spacing) * 1.5);
|
|
59
|
-
}
|
|
60
|
-
.self-stretch {
|
|
61
|
-
align-self: stretch;
|
|
62
|
-
}
|
|
63
|
-
.border-0 {
|
|
64
|
-
border-style: var(--tw-border-style);
|
|
65
|
-
border-width: 0px;
|
|
66
|
-
}
|
|
67
|
-
.border-\[var\(--border\)\] {
|
|
68
|
-
border-color: var(--border);
|
|
69
|
-
}
|
|
70
|
-
.bg-\[var\(--accent\)\]\/12 {
|
|
71
|
-
background-color: var(--accent);
|
|
72
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
73
|
-
background-color: color-mix(in oklab, var(--accent) 12%, transparent);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
.bg-\[var\(--card\)\] {
|
|
77
|
-
background-color: var(--card);
|
|
78
|
-
}
|
|
79
|
-
.bg-accent\/15 {
|
|
80
|
-
background-color: var(--accent);
|
|
81
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
82
|
-
background-color: color-mix(in oklab, var(--accent) 15%, transparent);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
.pr-1 {
|
|
86
|
-
padding-right: var(--spacing);
|
|
87
|
-
}
|
|
88
|
-
.pb-0\.5 {
|
|
89
|
-
padding-bottom: calc(var(--spacing) * 0.5);
|
|
90
|
-
}
|
|
91
|
-
.text-\[var\(--foreground\)\] {
|
|
92
|
-
color: var(--foreground);
|
|
93
|
-
}
|
|
94
|
-
.text-\[var\(--muted-foreground\)\] {
|
|
95
|
-
color: var(--muted-foreground);
|
|
96
|
-
}
|
|
97
|
-
.ring-1 {
|
|
98
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
99
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
100
|
-
}
|
|
101
|
-
.ring-\[var\(--accent\)\]\/40 {
|
|
102
|
-
--tw-ring-color: var(--accent);
|
|
103
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
104
|
-
--tw-ring-color: color-mix(in oklab, var(--accent) 40%, transparent);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
.ring-accent\/30 {
|
|
108
|
-
--tw-ring-color: var(--accent);
|
|
109
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
110
|
-
--tw-ring-color: color-mix(in oklab, var(--accent) 30%, transparent);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
.ring-inset {
|
|
114
|
-
--tw-ring-inset: inset;
|
|
115
|
-
}
|
|
116
|
-
.focus-within\:border-field-ring:focus-within {
|
|
117
|
-
border-color: var(--field-ring);
|
|
118
|
-
}
|
|
119
|
-
.focus-within\:ring-2:focus-within {
|
|
120
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
121
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
122
|
-
}
|
|
123
|
-
.focus-within\:ring-field-ring\/30:focus-within {
|
|
124
|
-
--tw-ring-color: var(--field-ring);
|
|
125
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
126
|
-
--tw-ring-color: color-mix(in oklab, var(--field-ring) 30%, transparent);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
@media (hover: hover) {
|
|
130
|
-
.hover\:bg-\[var\(--muted\)\]:hover {
|
|
131
|
-
background-color: var(--muted);
|
|
132
|
-
}
|
|
133
|
-
.hover\:bg-muted\/80:hover {
|
|
134
|
-
background-color: var(--muted);
|
|
135
|
-
}
|
|
136
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
137
|
-
.hover\:bg-muted\/80:hover {
|
|
138
|
-
background-color: color-mix(in oklab, var(--muted) 80%, transparent);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
.has-\[\[aria-invalid\=true\]\]\:border-field-error:has(:is([aria-invalid=true])) {
|
|
143
|
-
border-color: var(--field-error);
|
|
144
|
-
}
|
|
145
|
-
.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar {
|
|
146
|
-
display: none;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
@property --tw-border-style {
|
|
150
|
-
syntax: "*";
|
|
151
|
-
inherits: false;
|
|
152
|
-
initial-value: solid;
|
|
153
|
-
}
|
|
154
|
-
@property --tw-shadow {
|
|
155
|
-
syntax: "*";
|
|
156
|
-
inherits: false;
|
|
157
|
-
initial-value: 0 0 #0000;
|
|
158
|
-
}
|
|
159
|
-
@property --tw-shadow-color {
|
|
160
|
-
syntax: "*";
|
|
161
|
-
inherits: false;
|
|
162
|
-
}
|
|
163
|
-
@property --tw-shadow-alpha {
|
|
164
|
-
syntax: "<percentage>";
|
|
165
|
-
inherits: false;
|
|
166
|
-
initial-value: 100%;
|
|
167
|
-
}
|
|
168
|
-
@property --tw-inset-shadow {
|
|
169
|
-
syntax: "*";
|
|
170
|
-
inherits: false;
|
|
171
|
-
initial-value: 0 0 #0000;
|
|
172
|
-
}
|
|
173
|
-
@property --tw-inset-shadow-color {
|
|
174
|
-
syntax: "*";
|
|
175
|
-
inherits: false;
|
|
176
|
-
}
|
|
177
|
-
@property --tw-inset-shadow-alpha {
|
|
178
|
-
syntax: "<percentage>";
|
|
179
|
-
inherits: false;
|
|
180
|
-
initial-value: 100%;
|
|
181
|
-
}
|
|
182
|
-
@property --tw-ring-color {
|
|
183
|
-
syntax: "*";
|
|
184
|
-
inherits: false;
|
|
185
|
-
}
|
|
186
|
-
@property --tw-ring-shadow {
|
|
187
|
-
syntax: "*";
|
|
188
|
-
inherits: false;
|
|
189
|
-
initial-value: 0 0 #0000;
|
|
190
|
-
}
|
|
191
|
-
@property --tw-inset-ring-color {
|
|
192
|
-
syntax: "*";
|
|
193
|
-
inherits: false;
|
|
194
|
-
}
|
|
195
|
-
@property --tw-inset-ring-shadow {
|
|
196
|
-
syntax: "*";
|
|
197
|
-
inherits: false;
|
|
198
|
-
initial-value: 0 0 #0000;
|
|
199
|
-
}
|
|
200
|
-
@property --tw-ring-inset {
|
|
201
|
-
syntax: "*";
|
|
202
|
-
inherits: false;
|
|
203
|
-
}
|
|
204
|
-
@property --tw-ring-offset-width {
|
|
205
|
-
syntax: "<length>";
|
|
206
|
-
inherits: false;
|
|
207
|
-
initial-value: 0px;
|
|
208
|
-
}
|
|
209
|
-
@property --tw-ring-offset-color {
|
|
210
|
-
syntax: "*";
|
|
211
|
-
inherits: false;
|
|
212
|
-
initial-value: #fff;
|
|
213
|
-
}
|
|
214
|
-
@property --tw-ring-offset-shadow {
|
|
215
|
-
syntax: "*";
|
|
216
|
-
inherits: false;
|
|
217
|
-
initial-value: 0 0 #0000;
|
|
218
|
-
}
|
|
219
|
-
@layer properties {
|
|
220
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
221
|
-
*, ::before, ::after, ::backdrop {
|
|
222
|
-
--tw-border-style: solid;
|
|
223
|
-
--tw-shadow: 0 0 #0000;
|
|
224
|
-
--tw-shadow-color: initial;
|
|
225
|
-
--tw-shadow-alpha: 100%;
|
|
226
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
227
|
-
--tw-inset-shadow-color: initial;
|
|
228
|
-
--tw-inset-shadow-alpha: 100%;
|
|
229
|
-
--tw-ring-color: initial;
|
|
230
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
231
|
-
--tw-inset-ring-color: initial;
|
|
232
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
233
|
-
--tw-ring-inset: initial;
|
|
234
|
-
--tw-ring-offset-width: 0px;
|
|
235
|
-
--tw-ring-offset-color: #fff;
|
|
236
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
27
|
+
@source inline("[&::-webkit-scrollbar]:hidden [scrollbar-width:none] bg-[var(--accent)]/12 bg-[var(--card)]");
|
|
28
|
+
@source inline("bg-accent/15 border-0 border-[var(--border)] flex-row focus-within:border-field-ring");
|
|
29
|
+
@source inline("focus-within:ring-2 focus-within:ring-field-ring/30 gap-x-4 gap-y-1.5");
|
|
30
|
+
@source inline("grid-cols-[minmax(5rem,9rem)_1fr] has-[[aria-invalid=true]]:border-field-error");
|
|
31
|
+
@source inline("hover:bg-[var(--muted)] hover:bg-muted/80 mb-1.5 mb-4 min-h min-h-[44px] min-h-full pb-0.5 pr-1");
|
|
32
|
+
@source inline("ring-1 ring-[var(--accent)]/40 ring-accent/30 ring-inset self-stretch text-[var(--foreground)]");
|
|
33
|
+
@source inline("text-[var(--muted-foreground)]");
|