@crisp-ui-kit/crisp 0.7.2 → 0.7.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.
- package/dist/cjs/components/avatar/avatar.recipe.js +0 -7
- package/dist/cjs/components/badge/badge.recipe.js +0 -8
- package/dist/cjs/components/button/button.recipe.js +0 -10
- package/dist/cjs/components/checkbox/checkbox.recipe.js +0 -6
- package/dist/cjs/components/datepicker/datepicker.recipe.js +22 -20
- package/dist/cjs/components/input/input.recipe.js +0 -1
- package/dist/cjs/components/kbd/kbd.recipe.js +0 -7
- package/dist/cjs/components/switch/switch.recipe.js +0 -1
- package/dist/cjs/components/wheelpicker/wheelpicker.recipe.js +0 -1
- package/dist/cjs/product/appshell/appshell.recipe.js +0 -1
- package/dist/cjs/product/command/command.recipe.js +0 -6
- package/dist/cjs/product/navitem/navitem.recipe.js +0 -8
- package/dist/cjs/product/recordpanel/recordpanel.recipe.js +0 -1
- package/dist/cjs/product/recordstable/recordstable.recipe.js +12 -8
- package/dist/cjs/product/sidebar/sidebar.recipe.js +0 -5
- package/dist/cjs/tokens/scale.js +6 -2
- package/dist/datepicker.css +17 -17
- package/dist/esm/components/avatar/avatar.recipe.js +0 -7
- package/dist/esm/components/badge/badge.recipe.js +0 -8
- package/dist/esm/components/button/button.recipe.js +0 -10
- package/dist/esm/components/checkbox/checkbox.recipe.js +0 -6
- package/dist/esm/components/datepicker/datepicker.recipe.js +22 -20
- package/dist/esm/components/input/input.recipe.js +0 -1
- package/dist/esm/components/kbd/kbd.recipe.js +0 -7
- package/dist/esm/components/switch/switch.recipe.js +0 -1
- package/dist/esm/components/wheelpicker/wheelpicker.recipe.js +0 -1
- package/dist/esm/product/appshell/appshell.recipe.js +0 -1
- package/dist/esm/product/command/command.recipe.js +0 -6
- package/dist/esm/product/navitem/navitem.recipe.js +0 -8
- package/dist/esm/product/recordpanel/recordpanel.recipe.js +0 -1
- package/dist/esm/product/recordstable/recordstable.recipe.js +12 -8
- package/dist/esm/product/sidebar/sidebar.recipe.js +0 -5
- package/dist/esm/tokens/scale.js +6 -2
- package/dist/native/tokens.js +2 -2
- package/dist/recordstable.css +12 -2
- package/dist/styles.css +1648 -1638
- package/dist/tokens.css +2 -2
- package/dist/tokens.json +2 -2
- package/dist/types/components/avatar/avatar.d.ts +0 -7
- package/dist/types/components/avatar/avatar.recipe.d.ts +0 -7
- package/dist/types/components/badge/badge.d.ts +0 -8
- package/dist/types/components/badge/badge.recipe.d.ts +0 -8
- package/dist/types/components/button/button.d.ts +0 -10
- package/dist/types/components/button/button.recipe.d.ts +0 -10
- package/dist/types/components/checkbox/checkbox.recipe.d.ts +0 -6
- package/dist/types/components/input/input.d.ts +0 -7
- package/dist/types/components/input/input.recipe.d.ts +0 -7
- package/dist/types/components/kbd/kbd.recipe.d.ts +0 -7
- package/dist/types/components/switch/switch.recipe.d.ts +0 -9
- package/dist/types/components/wheelpicker/wheelpicker.recipe.d.ts +0 -6
- package/dist/types/product/appshell/appshell.recipe.d.ts +0 -5
- package/dist/types/product/command/command.recipe.d.ts +0 -6
- package/dist/types/product/navitem/navitem.recipe.d.ts +0 -8
- package/dist/types/product/recordpanel/recordpanel.recipe.d.ts +0 -5
- package/dist/types/product/recordstable/recordstable.recipe.d.ts +0 -6
- package/dist/types/product/sidebar/sidebar.recipe.d.ts +0 -5
- package/dist/types/tokens/scale.d.ts +2 -2
- package/package.json +2 -1
package/dist/tokens.css
CHANGED
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
--size-tableRow: 36px;
|
|
109
109
|
--size-tableHeader: 40px;
|
|
110
110
|
--size-header: 48px;
|
|
111
|
-
--size-calendarCell:
|
|
112
|
-
--size-calendarPill:
|
|
111
|
+
--size-calendarCell: 34px;
|
|
112
|
+
--size-calendarPill: 32px;
|
|
113
113
|
--text-xs: 11px;
|
|
114
114
|
--text-sm: 12px;
|
|
115
115
|
--text-md: 13px;
|
package/dist/tokens.json
CHANGED
|
@@ -44,13 +44,6 @@ export declare const Avatar: React.ForwardRefExoticComponent<Omit<Omit<React.Det
|
|
|
44
44
|
green: string;
|
|
45
45
|
};
|
|
46
46
|
}>;
|
|
47
|
-
meta: {
|
|
48
|
-
lg: {
|
|
49
|
-
height: string;
|
|
50
|
-
fontSize: string;
|
|
51
|
-
fontWeight: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
47
|
}> & {
|
|
55
48
|
asChild?: boolean;
|
|
56
49
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -42,14 +42,6 @@ export declare const Badge: React.ForwardRefExoticComponent<Omit<React.DetailedH
|
|
|
42
42
|
solid: string;
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
|
-
meta: {
|
|
46
|
-
medium: {
|
|
47
|
-
height: string;
|
|
48
|
-
borderRadius: string;
|
|
49
|
-
fontSize: string;
|
|
50
|
-
fontWeight: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
45
|
}> & {
|
|
54
46
|
asChild?: boolean;
|
|
55
47
|
/** Show a leading status dot in the tone colour (e.g. "● Enabled"). */
|
|
@@ -48,16 +48,6 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<React.Detailed
|
|
|
48
48
|
false: string;
|
|
49
49
|
};
|
|
50
50
|
}>;
|
|
51
|
-
meta: {
|
|
52
|
-
primary: {
|
|
53
|
-
height: string;
|
|
54
|
-
borderRadius: string;
|
|
55
|
-
fontWeight: string;
|
|
56
|
-
fontSize: string;
|
|
57
|
-
background: string;
|
|
58
|
-
color: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
51
|
}> & {
|
|
62
52
|
asChild?: boolean;
|
|
63
53
|
/** Show a spinner, disable interaction, and set aria-busy. */
|
|
@@ -61,15 +61,5 @@ export declare const buttonRecipe: import("../..").RecipeFn<{
|
|
|
61
61
|
false: string;
|
|
62
62
|
};
|
|
63
63
|
}>;
|
|
64
|
-
meta: {
|
|
65
|
-
primary: {
|
|
66
|
-
height: string;
|
|
67
|
-
borderRadius: string;
|
|
68
|
-
fontWeight: string;
|
|
69
|
-
fontSize: string;
|
|
70
|
-
background: string;
|
|
71
|
-
color: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
64
|
};
|
|
75
65
|
export default config;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
declare const config: import("../..").RecipeConfig<{}>;
|
|
2
2
|
export declare const checkboxRecipe: import("../..").RecipeFn<{}> & {
|
|
3
3
|
config: import("../..").RecipeConfig<{}>;
|
|
4
|
-
meta: {
|
|
5
|
-
box: {
|
|
6
|
-
size: string;
|
|
7
|
-
borderRadius: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
4
|
};
|
|
11
5
|
export default config;
|
|
@@ -25,13 +25,6 @@ export declare const Input: React.ForwardRefExoticComponent<Omit<Omit<React.Deta
|
|
|
25
25
|
false: string;
|
|
26
26
|
};
|
|
27
27
|
}>;
|
|
28
|
-
meta: {
|
|
29
|
-
medium: {
|
|
30
|
-
height: string;
|
|
31
|
-
borderRadius: string;
|
|
32
|
-
fontSize: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
28
|
}> & {
|
|
36
29
|
/** Class for the wrapper that draws the field chrome and focus ring. */
|
|
37
30
|
className?: string;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
declare const config: import("../..").RecipeConfig<{}>;
|
|
2
2
|
export declare const kbdRecipe: import("../..").RecipeFn<{}> & {
|
|
3
3
|
config: import("../..").RecipeConfig<{}>;
|
|
4
|
-
meta: {
|
|
5
|
-
chip: {
|
|
6
|
-
height: string;
|
|
7
|
-
borderRadius: string;
|
|
8
|
-
fontSize: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
4
|
};
|
|
12
5
|
export default config;
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
declare const config: import("../..").RecipeConfig<{}>;
|
|
2
2
|
export declare const switchRecipe: import("../..").RecipeFn<{}> & {
|
|
3
3
|
config: import("../..").RecipeConfig<{}>;
|
|
4
|
-
meta: {
|
|
5
|
-
track: {
|
|
6
|
-
width: string;
|
|
7
|
-
height: string;
|
|
8
|
-
};
|
|
9
|
-
thumb: {
|
|
10
|
-
size: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
4
|
};
|
|
14
5
|
export default config;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
declare const config: import("../..").RecipeConfig<{}>;
|
|
2
2
|
export declare const commandRecipe: import("../..").RecipeFn<{}> & {
|
|
3
3
|
config: import("../..").RecipeConfig<{}>;
|
|
4
|
-
meta: {
|
|
5
|
-
content: {
|
|
6
|
-
maxWidth: string;
|
|
7
|
-
borderRadius: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
4
|
};
|
|
11
5
|
export default config;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
declare const config: import("../..").RecipeConfig<{}>;
|
|
2
2
|
export declare const navitemRecipe: import("../..").RecipeFn<{}> & {
|
|
3
3
|
config: import("../..").RecipeConfig<{}>;
|
|
4
|
-
meta: {
|
|
5
|
-
row: {
|
|
6
|
-
height: string;
|
|
7
|
-
borderRadius: string;
|
|
8
|
-
fontSize: string;
|
|
9
|
-
fontWeight: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
4
|
};
|
|
13
5
|
export default config;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
declare const config: import("../..").RecipeConfig<{}>;
|
|
2
2
|
export declare const recordstableRecipe: import("../..").RecipeFn<{}> & {
|
|
3
3
|
config: import("../..").RecipeConfig<{}>;
|
|
4
|
-
meta: {
|
|
5
|
-
row: {
|
|
6
|
-
height: string;
|
|
7
|
-
gridLine: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
4
|
};
|
|
11
5
|
export default config;
|
|
@@ -28,8 +28,8 @@ export declare const size: {
|
|
|
28
28
|
readonly tableRow: "36px";
|
|
29
29
|
readonly tableHeader: "40px";
|
|
30
30
|
readonly header: "48px";
|
|
31
|
-
readonly calendarCell: "
|
|
32
|
-
readonly calendarPill: "
|
|
31
|
+
readonly calendarCell: "34px";
|
|
32
|
+
readonly calendarPill: "32px";
|
|
33
33
|
};
|
|
34
34
|
export declare const font: {
|
|
35
35
|
readonly sans: '"Inter", system-ui, -apple-system, "Segoe UI", sans-serif';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crisp-ui-kit/crisp",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "A lean React design system, measured pixel-for-pixel from Attio.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -381,6 +381,7 @@
|
|
|
381
381
|
"lint": "biome check .",
|
|
382
382
|
"test": "bun test",
|
|
383
383
|
"spec": "bun build/spec-check.mjs",
|
|
384
|
+
"lynx": "bun build/lynx-lint.mjs",
|
|
384
385
|
"ssr": "bun scripts/ssr-check.tsx",
|
|
385
386
|
"contrast": "bun scripts/contrast-page.tsx",
|
|
386
387
|
"build:esm": "tsc -p tsconfig.esm.json && bun scripts/fix-esm-extensions.mjs",
|