@crisp-ui-kit/crisp 0.33.3 → 0.33.5
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/checkbox.css +1 -1
- package/dist/checkbox.layered.css +1 -1
- package/dist/cjs/components/avatargroup/avatargroup.recipe.js +21 -8
- package/dist/cjs/components/barchart/barchart.js +6 -1
- package/dist/cjs/components/checkbox/checkbox.recipe.js +50 -17
- package/dist/cjs/components/datatable/datatable.recipe.js +1 -1
- package/dist/cjs/components/datepicker/datepicker.js +7 -1
- package/dist/cjs/components/kbd/kbd.recipe.js +22 -9
- package/dist/cjs/components/linechart/linechart.js +6 -1
- package/dist/cjs/components/skeleton/skeleton.recipe.js +14 -8
- package/dist/cjs/components/table/table.js +6 -2
- package/dist/cjs/components/textarea/textarea.js +9 -2
- package/dist/cjs/components/textarea/textarea.recipe.js +14 -5
- package/dist/cjs/components/tooltip/tooltip.recipe.js +27 -6
- package/dist/command.css +1 -1
- package/dist/command.layered.css +1 -1
- package/dist/datatable.css +2 -2
- package/dist/datatable.layered.css +2 -2
- package/dist/esm/components/avatargroup/avatargroup.recipe.js +21 -8
- package/dist/esm/components/barchart/barchart.js +6 -1
- package/dist/esm/components/checkbox/checkbox.recipe.js +50 -17
- package/dist/esm/components/datatable/datatable.recipe.js +1 -1
- package/dist/esm/components/datepicker/datepicker.js +7 -1
- package/dist/esm/components/kbd/kbd.recipe.js +22 -9
- package/dist/esm/components/linechart/linechart.js +6 -1
- package/dist/esm/components/skeleton/skeleton.recipe.js +14 -8
- package/dist/esm/components/table/table.js +6 -2
- package/dist/esm/components/textarea/textarea.js +9 -2
- package/dist/esm/components/textarea/textarea.recipe.js +14 -5
- package/dist/esm/components/tooltip/tooltip.recipe.js +27 -6
- package/dist/navitem.css +1 -1
- package/dist/navitem.layered.css +1 -1
- package/dist/sidebar.css +1 -1
- package/dist/sidebar.layered.css +1 -1
- package/dist/styles.css +8 -8
- package/dist/styles.layered.css +8 -8
- package/dist/textarea.css +2 -2
- package/dist/textarea.layered.css +2 -2
- package/dist/types/components/avatargroup/avatargroup.recipe.d.ts +25 -2
- package/dist/types/components/checkbox/checkbox.recipe.d.ts +51 -3
- package/dist/types/components/kbd/kbd.recipe.d.ts +24 -3
- package/dist/types/components/skeleton/skeleton.recipe.d.ts +19 -2
- package/dist/types/components/tooltip/tooltip.recipe.d.ts +30 -2
- package/package.json +5 -2
|
@@ -1,3 +1,31 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
1
|
+
declare const spec: {
|
|
2
|
+
readonly name: "tooltip";
|
|
3
|
+
readonly base: {
|
|
4
|
+
readonly position: "fixed";
|
|
5
|
+
readonly zIndex: 70;
|
|
6
|
+
readonly boxSizing: "border-box";
|
|
7
|
+
readonly pointerEvents: "none";
|
|
8
|
+
readonly maxWidth: "260px";
|
|
9
|
+
readonly padding: `var(--${string}) var(--${string})`;
|
|
10
|
+
readonly borderRadius: `var(--${string})`;
|
|
11
|
+
readonly background: "#20242c";
|
|
12
|
+
readonly color: "#fff";
|
|
13
|
+
readonly fontFamily: `var(--${string})`;
|
|
14
|
+
readonly fontSize: `var(--${string})`;
|
|
15
|
+
readonly fontWeight: `var(--${string})`;
|
|
16
|
+
readonly lineHeight: "1.45";
|
|
17
|
+
readonly boxShadow: "0 4px 14px -2px rgba(28,40,64,0.28), 0 0 0 1px rgba(255,255,255,0.04)";
|
|
18
|
+
readonly opacity: 1;
|
|
19
|
+
readonly transition: "opacity 0.12s ease";
|
|
20
|
+
};
|
|
21
|
+
readonly parts: [{
|
|
22
|
+
readonly selector: "@starting-style";
|
|
23
|
+
readonly decls: {
|
|
24
|
+
readonly opacity: 0;
|
|
25
|
+
};
|
|
26
|
+
}];
|
|
27
|
+
};
|
|
28
|
+
declare const config: import("../..").RecipeConfig<Record<string, Record<string, string>>>;
|
|
29
|
+
export declare const tooltipRecipe: import("../..").RecipeFn<Record<string, Record<string, string>>>;
|
|
30
|
+
export { spec };
|
|
3
31
|
export default config;
|
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.5",
|
|
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,10 @@
|
|
|
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
|
+
"audit:docs": "bun scripts/audit-docs.mjs",
|
|
417
|
+
"check:css": "bun scripts/check-css.mjs",
|
|
416
418
|
"check:dist": "bun scripts/check-dist.mjs",
|
|
417
|
-
"prepublishOnly": "bun run build && bun run check:dist",
|
|
419
|
+
"prepublishOnly": "bun run build && bun run check:dist && bun run check:css",
|
|
418
420
|
"typecheck": "tsc --noEmit",
|
|
419
421
|
"lint": "biome check .",
|
|
420
422
|
"test": "bun test",
|
|
@@ -460,6 +462,7 @@
|
|
|
460
462
|
"@types/react": "^19.2.18",
|
|
461
463
|
"@types/react-dom": "^19.2.5",
|
|
462
464
|
"happy-dom": "^20.11.6",
|
|
465
|
+
"lightningcss": "^1.33.0",
|
|
463
466
|
"react": "^19.2.8",
|
|
464
467
|
"react-dom": "^19.2.8",
|
|
465
468
|
"typescript": "^7.0.2"
|