cursedbelt 5.74.1 → 5.76.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/components/PropertyPicker.d.ts +75 -0
- package/dist/react/components/PropertyPicker.d.ts.map +1 -0
- package/dist/react/components/PropertyPicker.js +108 -0
- package/dist/react/components/PropertyPicker.js.map +1 -0
- package/dist/react/components/TooltipImpl.d.ts.map +1 -1
- package/dist/react/components/TooltipImpl.js +22 -3
- package/dist/react/components/TooltipImpl.js.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +1 -0
- package/dist/react/index.js.map +1 -1
- package/dist/scripts/guardrailsEnforce.d.ts.map +1 -1
- package/dist/styles-areas/core.css +2 -2
- package/dist/styles-areas/palette.css +8 -7
- package/dist/styles-utilities.css +9 -0
- package/package.json +1 -1
- package/scripts/guardrailsEnforce.spec.ts +70 -0
- package/scripts/guardrailsEnforce.ts +104 -0
- package/scripts/styleAreas.ts +1 -1
- package/src/react/components/PropertyPicker.spec.tsx +105 -0
- package/src/react/components/PropertyPicker.tsx +254 -0
- package/src/react/components/TooltipImpl.tsx +21 -1
- package/src/react/index.ts +8 -0
- package/src/styles-areas/core.css +2 -2
- package/src/styles-areas/palette.css +8 -7
- package/src/styles-utilities.css +9 -0
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* after an app's responsive variant (task 2124). An app that imports every area gets exactly
|
|
16
16
|
* what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
|
|
17
17
|
* src/stylesAreas.spec.ts, which is also what fails when this file is stale.
|
|
18
|
-
*
|
|
18
|
+
* 923 candidate(s).
|
|
19
19
|
*
|
|
20
20
|
* Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
|
|
21
21
|
* `bun run build` runs. The map of what is in which area, and why the areas are
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
@source inline("[@media(orientation:landscape)_and_(max-height:500px)]:text-h3 a absolute act active");
|
|
43
43
|
@source inline("active:bg-accent active:scale-100 active:scale-[var(--press-scale)]");
|
|
44
44
|
@source inline("active:scale-[var(--press-scale-surface)] alert alert-icon align align-middle an animate");
|
|
45
|
-
@source inline("animate-in animate-progress-indeterminate animate-pulse animate-spin aria");
|
|
45
|
+
@source inline("animate-in animate-none! animate-progress-indeterminate animate-pulse animate-spin aria");
|
|
46
46
|
@source inline("aria-[invalid=true]:border-field-error aria-[invalid=true]:ring-field-error/30 aria-disabled");
|
|
47
47
|
@source inline("aria-disabled:active:scale-100 aria-disabled:cursor-not-allowed");
|
|
48
48
|
@source inline("aria-disabled:hover:bg-transparent aria-disabled:opacity-30 aria-disabled:opacity-50");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* cursedbelt — the `palette` area's utility candidates. GENERATED BUILD ARTIFACT. Never hand-edit.
|
|
3
3
|
*
|
|
4
|
-
* the ⌘K command palette and its hotkey/source hooks.
|
|
4
|
+
* the ⌘K command palette and its hotkey/source hooks, and the PropertyPicker built on its Command list.
|
|
5
5
|
*
|
|
6
6
|
* Every Tailwind utility the modules in this area's import closure use, MINUS the
|
|
7
7
|
* ones `styles-areas/core.css` already ships. 🔴 Import ALL of these, in
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* after an app's responsive variant (task 2124). An app that imports every area gets exactly
|
|
19
19
|
* what `cursedbelt/styles-utilities.css` emits — proved rule by rule in
|
|
20
20
|
* src/stylesAreas.spec.ts, which is also what fails when this file is stale.
|
|
21
|
-
*
|
|
21
|
+
* 29 candidate(s).
|
|
22
22
|
*
|
|
23
23
|
* Written by scripts/generateAreaStyles.ts (`bun run styles:areas`), which
|
|
24
24
|
* `bun run build` runs. The map of what is in which area, and why the areas are
|
|
@@ -27,8 +27,9 @@
|
|
|
27
27
|
@source inline("[&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group-heading]]:px-3");
|
|
28
28
|
@source inline("[&_[cmdk-group-heading]]:py-1 [&_[cmdk-group-heading]]:text-muted-foreground");
|
|
29
29
|
@source inline("[&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:tracking-wide");
|
|
30
|
-
@source inline("[&_[cmdk-group-heading]]:uppercase [&_svg]:size-3.5 bg-accent/15
|
|
31
|
-
@source inline("data-[disabled=true]:opacity-50 data-[disabled=true]:pointer-events-none");
|
|
32
|
-
@source inline("data-[selected=true]:bg-muted data-[selected=true]:text-foreground h-12");
|
|
33
|
-
@source inline("max-h-[var(--palette-max-h)] mx-1 place-items-center
|
|
34
|
-
@source inline("sm:inline-block top-[var(--palette-top)]
|
|
30
|
+
@source inline("[&_[cmdk-group-heading]]:uppercase [&_svg]:size-3.5 [&_svg]:text-muted-foreground bg-accent/15");
|
|
31
|
+
@source inline("border-dashed data-[disabled=true]:opacity-50 data-[disabled=true]:pointer-events-none");
|
|
32
|
+
@source inline("data-[selected=true]:bg-muted data-[selected=true]:text-foreground h-12 max-h-72");
|
|
33
|
+
@source inline("max-h-[var(--palette-max-h)] max-w-64 mx-1 opacity-100 place-items-center");
|
|
34
|
+
@source inline("placeholder:text-muted-foreground py-8 shadow-popover sm:inline-block top-[var(--palette-top)]");
|
|
35
|
+
@source inline("w-72 w-[calc(100%-2rem)]");
|
package/src/styles-utilities.css
CHANGED
|
@@ -971,6 +971,9 @@
|
|
|
971
971
|
.w-64 {
|
|
972
972
|
width: calc(var(--spacing) * 64);
|
|
973
973
|
}
|
|
974
|
+
.w-72 {
|
|
975
|
+
width: calc(var(--spacing) * 72);
|
|
976
|
+
}
|
|
974
977
|
.w-88 {
|
|
975
978
|
width: calc(var(--spacing) * 88);
|
|
976
979
|
}
|
|
@@ -1260,6 +1263,9 @@
|
|
|
1260
1263
|
.animate-in {
|
|
1261
1264
|
animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
1262
1265
|
}
|
|
1266
|
+
.animate-none\! {
|
|
1267
|
+
animation: none !important;
|
|
1268
|
+
}
|
|
1263
1269
|
.animate-progress-indeterminate {
|
|
1264
1270
|
animation: var(--animate-progress-indeterminate, progress-indeterminate 1.2s ease-in-out infinite);
|
|
1265
1271
|
}
|
|
@@ -5332,6 +5338,9 @@
|
|
|
5332
5338
|
.\[\&_svg\]\:shrink-0 svg {
|
|
5333
5339
|
flex-shrink: 0;
|
|
5334
5340
|
}
|
|
5341
|
+
.\[\&_svg\]\:text-muted-foreground svg {
|
|
5342
|
+
color: var(--muted-foreground);
|
|
5343
|
+
}
|
|
5335
5344
|
.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar {
|
|
5336
5345
|
display: none;
|
|
5337
5346
|
}
|