@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.
Files changed (58) hide show
  1. package/dist/cjs/components/avatar/avatar.recipe.js +0 -7
  2. package/dist/cjs/components/badge/badge.recipe.js +0 -8
  3. package/dist/cjs/components/button/button.recipe.js +0 -10
  4. package/dist/cjs/components/checkbox/checkbox.recipe.js +0 -6
  5. package/dist/cjs/components/datepicker/datepicker.recipe.js +22 -20
  6. package/dist/cjs/components/input/input.recipe.js +0 -1
  7. package/dist/cjs/components/kbd/kbd.recipe.js +0 -7
  8. package/dist/cjs/components/switch/switch.recipe.js +0 -1
  9. package/dist/cjs/components/wheelpicker/wheelpicker.recipe.js +0 -1
  10. package/dist/cjs/product/appshell/appshell.recipe.js +0 -1
  11. package/dist/cjs/product/command/command.recipe.js +0 -6
  12. package/dist/cjs/product/navitem/navitem.recipe.js +0 -8
  13. package/dist/cjs/product/recordpanel/recordpanel.recipe.js +0 -1
  14. package/dist/cjs/product/recordstable/recordstable.recipe.js +12 -8
  15. package/dist/cjs/product/sidebar/sidebar.recipe.js +0 -5
  16. package/dist/cjs/tokens/scale.js +6 -2
  17. package/dist/datepicker.css +17 -17
  18. package/dist/esm/components/avatar/avatar.recipe.js +0 -7
  19. package/dist/esm/components/badge/badge.recipe.js +0 -8
  20. package/dist/esm/components/button/button.recipe.js +0 -10
  21. package/dist/esm/components/checkbox/checkbox.recipe.js +0 -6
  22. package/dist/esm/components/datepicker/datepicker.recipe.js +22 -20
  23. package/dist/esm/components/input/input.recipe.js +0 -1
  24. package/dist/esm/components/kbd/kbd.recipe.js +0 -7
  25. package/dist/esm/components/switch/switch.recipe.js +0 -1
  26. package/dist/esm/components/wheelpicker/wheelpicker.recipe.js +0 -1
  27. package/dist/esm/product/appshell/appshell.recipe.js +0 -1
  28. package/dist/esm/product/command/command.recipe.js +0 -6
  29. package/dist/esm/product/navitem/navitem.recipe.js +0 -8
  30. package/dist/esm/product/recordpanel/recordpanel.recipe.js +0 -1
  31. package/dist/esm/product/recordstable/recordstable.recipe.js +12 -8
  32. package/dist/esm/product/sidebar/sidebar.recipe.js +0 -5
  33. package/dist/esm/tokens/scale.js +6 -2
  34. package/dist/native/tokens.js +2 -2
  35. package/dist/recordstable.css +12 -2
  36. package/dist/styles.css +1648 -1638
  37. package/dist/tokens.css +2 -2
  38. package/dist/tokens.json +2 -2
  39. package/dist/types/components/avatar/avatar.d.ts +0 -7
  40. package/dist/types/components/avatar/avatar.recipe.d.ts +0 -7
  41. package/dist/types/components/badge/badge.d.ts +0 -8
  42. package/dist/types/components/badge/badge.recipe.d.ts +0 -8
  43. package/dist/types/components/button/button.d.ts +0 -10
  44. package/dist/types/components/button/button.recipe.d.ts +0 -10
  45. package/dist/types/components/checkbox/checkbox.recipe.d.ts +0 -6
  46. package/dist/types/components/input/input.d.ts +0 -7
  47. package/dist/types/components/input/input.recipe.d.ts +0 -7
  48. package/dist/types/components/kbd/kbd.recipe.d.ts +0 -7
  49. package/dist/types/components/switch/switch.recipe.d.ts +0 -9
  50. package/dist/types/components/wheelpicker/wheelpicker.recipe.d.ts +0 -6
  51. package/dist/types/product/appshell/appshell.recipe.d.ts +0 -5
  52. package/dist/types/product/command/command.recipe.d.ts +0 -6
  53. package/dist/types/product/navitem/navitem.recipe.d.ts +0 -8
  54. package/dist/types/product/recordpanel/recordpanel.recipe.d.ts +0 -5
  55. package/dist/types/product/recordstable/recordstable.recipe.d.ts +0 -6
  56. package/dist/types/product/sidebar/sidebar.recipe.d.ts +0 -5
  57. package/dist/types/tokens/scale.d.ts +2 -2
  58. 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: 48px;
112
- --size-calendarPill: 42px;
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
@@ -195,8 +195,8 @@
195
195
  "tableRow": 36,
196
196
  "tableHeader": 40,
197
197
  "header": 48,
198
- "calendarCell": 48,
199
- "calendarPill": 42
198
+ "calendarCell": 34,
199
+ "calendarPill": 32
200
200
  },
201
201
  "text": {
202
202
  "xs": 11,
@@ -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>>;
@@ -58,12 +58,5 @@ export declare const avatarRecipe: import("../..").RecipeFn<{
58
58
  green: string;
59
59
  };
60
60
  }>;
61
- meta: {
62
- lg: {
63
- height: string;
64
- fontSize: string;
65
- fontWeight: string;
66
- };
67
- };
68
61
  };
69
62
  export default config;
@@ -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"). */
@@ -52,13 +52,5 @@ export declare const badgeRecipe: import("../..").RecipeFn<{
52
52
  solid: string;
53
53
  };
54
54
  }>;
55
- meta: {
56
- medium: {
57
- height: string;
58
- borderRadius: string;
59
- fontSize: string;
60
- fontWeight: string;
61
- };
62
- };
63
55
  };
64
56
  export default config;
@@ -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;
@@ -28,12 +28,5 @@ export declare const inputRecipe: import("../..").RecipeFn<{
28
28
  false: string;
29
29
  };
30
30
  }>;
31
- meta: {
32
- medium: {
33
- height: string;
34
- borderRadius: string;
35
- fontSize: string;
36
- };
37
- };
38
31
  };
39
32
  export default config;
@@ -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;
@@ -16,11 +16,5 @@ export declare const wheelpickerRecipe: import("../..").RecipeFn<{
16
16
  medium: string;
17
17
  };
18
18
  }>;
19
- meta: {
20
- medium: {
21
- height: string;
22
- itemHeight: string;
23
- };
24
- };
25
19
  };
26
20
  export default config;
@@ -1,10 +1,5 @@
1
1
  declare const config: import("../..").RecipeConfig<{}>;
2
2
  export declare const appshellRecipe: import("../..").RecipeFn<{}> & {
3
3
  config: import("../..").RecipeConfig<{}>;
4
- meta: {
5
- sidebar: {
6
- defaultWidth: string;
7
- };
8
- };
9
4
  };
10
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,10 +1,5 @@
1
1
  declare const config: import("../..").RecipeConfig<{}>;
2
2
  export declare const recordpanelRecipe: import("../..").RecipeFn<{}> & {
3
3
  config: import("../..").RecipeConfig<{}>;
4
- meta: {
5
- panel: {
6
- width: string;
7
- };
8
- };
9
4
  };
10
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;
@@ -1,10 +1,5 @@
1
1
  declare const config: import("../..").RecipeConfig<{}>;
2
2
  export declare const sidebarRecipe: import("../..").RecipeFn<{}> & {
3
3
  config: import("../..").RecipeConfig<{}>;
4
- meta: {
5
- container: {
6
- width: string;
7
- };
8
- };
9
4
  };
10
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: "48px";
32
- readonly calendarPill: "42px";
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.2",
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",