@crisp-ui-kit/crisp 0.7.3 → 0.7.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/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/datatable/datatable.js +28 -7
- 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/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/datatable/datatable.js +28 -7
- 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/recordstable.css +12 -2
- package/dist/styles.css +1639 -1629
- 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/datatable/datatable.d.ts +3 -1
- 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/package.json +12 -1
|
@@ -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;
|
|
@@ -39,7 +39,9 @@ export type DataTableColumn<T> = {
|
|
|
39
39
|
accessor?: (row: T) => string | number;
|
|
40
40
|
/** Transform the value into a display string (locale formatting, masking, a
|
|
41
41
|
* unit suffix, …); the result still flows through the built-in type
|
|
42
|
-
* renderer, so a `number`/`currency` column keeps its alignment + chrome
|
|
42
|
+
* renderer, so a `number`/`currency` column keeps its alignment + chrome, an
|
|
43
|
+
* `entity` keeps its avatar, and a `status` keeps the tone its raw value maps
|
|
44
|
+
* to. A `tags` column renders the string as-is instead of its chips.
|
|
43
45
|
* Precedence: `render` (full custom node) beats `format` (value string)
|
|
44
46
|
* beats the built-in type renderer. Display-only — sorting and filtering
|
|
45
47
|
* use the raw/`accessor` value, never the formatted string. */
|
|
@@ -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;
|
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.5",
|
|
4
4
|
"description": "A lean React design system, measured pixel-for-pixel from Attio.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -87,6 +87,11 @@
|
|
|
87
87
|
"import": "./dist/esm/components/checkbox/index.js",
|
|
88
88
|
"require": "./dist/cjs/components/checkbox/index.js"
|
|
89
89
|
},
|
|
90
|
+
"./columncalc": {
|
|
91
|
+
"types": "./dist/types/components/columncalc/index.d.ts",
|
|
92
|
+
"import": "./dist/esm/components/columncalc/index.js",
|
|
93
|
+
"require": "./dist/cjs/components/columncalc/index.js"
|
|
94
|
+
},
|
|
90
95
|
"./contextmenu": {
|
|
91
96
|
"types": "./dist/types/components/contextmenu/index.d.ts",
|
|
92
97
|
"import": "./dist/esm/components/contextmenu/index.js",
|
|
@@ -257,6 +262,11 @@
|
|
|
257
262
|
"import": "./dist/esm/product/appshell/index.js",
|
|
258
263
|
"require": "./dist/cjs/product/appshell/index.js"
|
|
259
264
|
},
|
|
265
|
+
"./authshell": {
|
|
266
|
+
"types": "./dist/types/product/authshell/index.d.ts",
|
|
267
|
+
"import": "./dist/esm/product/authshell/index.js",
|
|
268
|
+
"require": "./dist/cjs/product/authshell/index.js"
|
|
269
|
+
},
|
|
260
270
|
"./board": {
|
|
261
271
|
"types": "./dist/types/product/board/index.d.ts",
|
|
262
272
|
"import": "./dist/esm/product/board/index.js",
|
|
@@ -381,6 +391,7 @@
|
|
|
381
391
|
"lint": "biome check .",
|
|
382
392
|
"test": "bun test",
|
|
383
393
|
"spec": "bun build/spec-check.mjs",
|
|
394
|
+
"lynx": "bun build/lynx-lint.mjs",
|
|
384
395
|
"ssr": "bun scripts/ssr-check.tsx",
|
|
385
396
|
"contrast": "bun scripts/contrast-page.tsx",
|
|
386
397
|
"build:esm": "tsc -p tsconfig.esm.json && bun scripts/fix-esm-extensions.mjs",
|