@crisp-ui-kit/crisp 0.33.3 → 0.33.4
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.
|
@@ -17,12 +17,12 @@ const config = (0, core_1.defineRecipe)({
|
|
|
17
17
|
& .crisp-datatable-search input::placeholder { color: ${tokens_1.contract.fgMuted}; }
|
|
18
18
|
& .crisp-datatable-search input:focus { box-shadow: inset 0 0 0 1px ${tokens_1.contract.bgBrandSolid}; }
|
|
19
19
|
& .crisp-datatable-count { margin-inline-start: auto; font-size: ${tokens_1.contract.text.md}; color: ${tokens_1.contract.fgMuted}; }
|
|
20
|
-
/* The header cell has no padding of its own -- the button owns the
|
|
21
20
|
/* announced, never drawn */
|
|
22
21
|
& .crisp-datatable-live {
|
|
23
22
|
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
24
23
|
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
|
|
25
24
|
}
|
|
25
|
+
/* The header cell has no padding of its own -- the button owns the
|
|
26
26
|
full cell so the whole header is clickable (its own inset is 12px).
|
|
27
27
|
Mirrors the summary-row fix. */
|
|
28
28
|
& th { padding: 0; }
|
package/dist/datatable.css
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
& .crisp-datatable-search input::placeholder { color: var(--crisp-fg-muted); }
|
|
8
8
|
& .crisp-datatable-search input:focus { box-shadow: inset 0 0 0 1px var(--crisp-bg-brand-solid); }
|
|
9
9
|
& .crisp-datatable-count { margin-inline-start: auto; font-size: var(--crisp-text-md); color: var(--crisp-fg-muted); }
|
|
10
|
-
/*
|
|
10
|
+
/* announced, never drawn */
|
|
11
11
|
& .crisp-datatable-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
12
|
-
full cell so the whole header is clickable (its own inset is 12px). Mirrors the summary-row fix. */
|
|
12
|
+
/* The header cell has no padding of its own -- the button owns the full cell so the whole header is clickable (its own inset is 12px). Mirrors the summary-row fix. */
|
|
13
13
|
& th { padding: 0; }
|
|
14
14
|
/* Same wrapper trap as AUTHORING.md Lesson 40 (ColumnCalc's summary trigger):
|
|
15
15
|
Menu wraps its trigger in a flex div that sizes to its content, so a
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
& .crisp-datatable-search input::placeholder { color: var(--crisp-fg-muted); }
|
|
9
9
|
& .crisp-datatable-search input:focus { box-shadow: inset 0 0 0 1px var(--crisp-bg-brand-solid); }
|
|
10
10
|
& .crisp-datatable-count { margin-inline-start: auto; font-size: var(--crisp-text-md); color: var(--crisp-fg-muted); }
|
|
11
|
-
/*
|
|
11
|
+
/* announced, never drawn */
|
|
12
12
|
& .crisp-datatable-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
13
|
-
full cell so the whole header is clickable (its own inset is 12px). Mirrors the summary-row fix. */
|
|
13
|
+
/* The header cell has no padding of its own -- the button owns the full cell so the whole header is clickable (its own inset is 12px). Mirrors the summary-row fix. */
|
|
14
14
|
& th { padding: 0; }
|
|
15
15
|
/* Same wrapper trap as AUTHORING.md Lesson 40 (ColumnCalc's summary trigger):
|
|
16
16
|
Menu wraps its trigger in a flex div that sizes to its content, so a
|
|
@@ -14,12 +14,12 @@ const config = defineRecipe({
|
|
|
14
14
|
& .crisp-datatable-search input::placeholder { color: ${c.fgMuted}; }
|
|
15
15
|
& .crisp-datatable-search input:focus { box-shadow: inset 0 0 0 1px ${c.bgBrandSolid}; }
|
|
16
16
|
& .crisp-datatable-count { margin-inline-start: auto; font-size: ${c.text.md}; color: ${c.fgMuted}; }
|
|
17
|
-
/* The header cell has no padding of its own -- the button owns the
|
|
18
17
|
/* announced, never drawn */
|
|
19
18
|
& .crisp-datatable-live {
|
|
20
19
|
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
21
20
|
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
|
|
22
21
|
}
|
|
22
|
+
/* The header cell has no padding of its own -- the button owns the
|
|
23
23
|
full cell so the whole header is clickable (its own inset is 12px).
|
|
24
24
|
Mirrors the summary-row fix. */
|
|
25
25
|
& th { padding: 0; }
|
package/dist/styles.css
CHANGED
|
@@ -559,9 +559,9 @@
|
|
|
559
559
|
& .crisp-datatable-search input::placeholder { color: var(--crisp-fg-muted); }
|
|
560
560
|
& .crisp-datatable-search input:focus { box-shadow: inset 0 0 0 1px var(--crisp-bg-brand-solid); }
|
|
561
561
|
& .crisp-datatable-count { margin-inline-start: auto; font-size: var(--crisp-text-md); color: var(--crisp-fg-muted); }
|
|
562
|
-
/*
|
|
562
|
+
/* announced, never drawn */
|
|
563
563
|
& .crisp-datatable-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
564
|
-
full cell so the whole header is clickable (its own inset is 12px). Mirrors the summary-row fix. */
|
|
564
|
+
/* The header cell has no padding of its own -- the button owns the full cell so the whole header is clickable (its own inset is 12px). Mirrors the summary-row fix. */
|
|
565
565
|
& th { padding: 0; }
|
|
566
566
|
/* Same wrapper trap as AUTHORING.md Lesson 40 (ColumnCalc's summary trigger):
|
|
567
567
|
Menu wraps its trigger in a flex div that sizes to its content, so a
|
package/dist/styles.layered.css
CHANGED
|
@@ -560,9 +560,9 @@
|
|
|
560
560
|
& .crisp-datatable-search input::placeholder { color: var(--crisp-fg-muted); }
|
|
561
561
|
& .crisp-datatable-search input:focus { box-shadow: inset 0 0 0 1px var(--crisp-bg-brand-solid); }
|
|
562
562
|
& .crisp-datatable-count { margin-inline-start: auto; font-size: var(--crisp-text-md); color: var(--crisp-fg-muted); }
|
|
563
|
-
/*
|
|
563
|
+
/* announced, never drawn */
|
|
564
564
|
& .crisp-datatable-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
565
|
-
full cell so the whole header is clickable (its own inset is 12px). Mirrors the summary-row fix. */
|
|
565
|
+
/* The header cell has no padding of its own -- the button owns the full cell so the whole header is clickable (its own inset is 12px). Mirrors the summary-row fix. */
|
|
566
566
|
& th { padding: 0; }
|
|
567
567
|
/* Same wrapper trap as AUTHORING.md Lesson 40 (ColumnCalc's summary trigger):
|
|
568
568
|
Menu wraps its trigger in a flex div that sizes to its content, so a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crisp-ui-kit/crisp",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.4",
|
|
4
4
|
"description": "A lean React design system, measured pixel-for-pixel from Attio.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -413,8 +413,9 @@
|
|
|
413
413
|
"build:css": "bun run build.mjs",
|
|
414
414
|
"build:types": "tsc -p tsconfig.build.json",
|
|
415
415
|
"build": "bun run build:css && bun run build:tokens && bun run build:esm && bun run build:cjs && bun run build:types",
|
|
416
|
+
"check:css": "bun scripts/check-css.mjs",
|
|
416
417
|
"check:dist": "bun scripts/check-dist.mjs",
|
|
417
|
-
"prepublishOnly": "bun run build && bun run check:dist",
|
|
418
|
+
"prepublishOnly": "bun run build && bun run check:dist && bun run check:css",
|
|
418
419
|
"typecheck": "tsc --noEmit",
|
|
419
420
|
"lint": "biome check .",
|
|
420
421
|
"test": "bun test",
|
|
@@ -460,6 +461,7 @@
|
|
|
460
461
|
"@types/react": "^19.2.18",
|
|
461
462
|
"@types/react-dom": "^19.2.5",
|
|
462
463
|
"happy-dom": "^20.11.6",
|
|
464
|
+
"lightningcss": "^1.33.0",
|
|
463
465
|
"react": "^19.2.8",
|
|
464
466
|
"react-dom": "^19.2.8",
|
|
465
467
|
"typescript": "^7.0.2"
|