@kayord/ui 0.20.0 → 0.20.1

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.
@@ -31,7 +31,6 @@
31
31
  data-chart={chartId}
32
32
  data-slot="chart"
33
33
  class={cn(
34
- // "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",
35
34
  "flex aspect-video justify-center overflow-visible text-xs",
36
35
  // Overrides
37
36
  //
@@ -43,6 +42,9 @@
43
42
  // by default, layerchart shows a line intersecting the point when hovering, this hides that
44
43
  "[&_.lc-highlight-line]:stroke-0",
45
44
 
45
+ // prevent text from being cut off
46
+ "[&_.lc-text-svg]:overflow-visible",
47
+
46
48
  // by default, when you hover a point on a stacked series chart, it will drop the opacity
47
49
  // of the other series, this overrides that
48
50
  "[&_.lc-area-path]:opacity-100 [&_.lc-highlight-line]:opacity-100 [&_.lc-highlight-point]:opacity-100 [&_.lc-spline-path]:opacity-100 [&_.lc-text]:text-xs",
@@ -4,8 +4,6 @@
4
4
  import { cn } from "../../../utils.js";
5
5
 
6
6
  let { ref = $bindable(null), class: className, ...restProps }: RangeCalendarPrimitive.DayProps = $props();
7
-
8
- export { className as class };
9
7
  </script>
10
8
 
11
9
  <RangeCalendarPrimitive.Day
@@ -1,6 +1,4 @@
1
1
  import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
2
- declare const RangeCalendarDay: import("svelte").Component<RangeCalendarPrimitive.DayProps, {
3
- class: import("svelte/elements").ClassValue | null | undefined;
4
- }, "ref">;
2
+ declare const RangeCalendarDay: import("svelte").Component<RangeCalendarPrimitive.DayProps, {}, "ref">;
5
3
  type RangeCalendarDay = ReturnType<typeof RangeCalendarDay>;
6
4
  export default RangeCalendarDay;
@@ -3,8 +3,6 @@
3
3
  import { cn } from "../../../utils.js";
4
4
 
5
5
  let { ref = $bindable(null), class: className, ...restProps }: SheetPrimitive.OverlayProps = $props();
6
-
7
- export { className as class };
8
6
  </script>
9
7
 
10
8
  <SheetPrimitive.Overlay
@@ -1,6 +1,4 @@
1
1
  import { Dialog as SheetPrimitive } from "bits-ui";
2
- declare const SheetOverlay: import("svelte").Component<SheetPrimitive.OverlayProps, {
3
- class: import("svelte/elements").ClassValue | null | undefined;
4
- }, "ref">;
2
+ declare const SheetOverlay: import("svelte").Component<SheetPrimitive.OverlayProps, {}, "ref">;
5
3
  type SheetOverlay = ReturnType<typeof SheetOverlay>;
6
4
  export default SheetOverlay;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kayord/ui",
3
3
  "private": false,
4
- "version": "0.20.0",
4
+ "version": "0.20.1",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "zod": "^3.23.8"
35
35
  },
36
36
  "dependencies": {
37
- "@internationalized/date": "^3.8.1",
37
+ "@internationalized/date": "^3.8.2",
38
38
  "bits-ui": "2.4.1",
39
39
  "clsx": "^2.1.1",
40
40
  "embla-carousel-svelte": "8.6.0",
@@ -47,38 +47,38 @@
47
47
  "vaul-svelte": "1.0.0-next.7"
48
48
  },
49
49
  "devDependencies": {
50
- "@lucide/svelte": "^0.511.0",
50
+ "@lucide/svelte": "^0.513.0",
51
51
  "@sveltejs/adapter-auto": "^6.0.1",
52
- "@sveltejs/kit": "^2.21.1",
52
+ "@sveltejs/kit": "^2.21.2",
53
53
  "@sveltejs/package": "^2.3.11",
54
- "@sveltejs/vite-plugin-svelte": "^5.0.3",
54
+ "@sveltejs/vite-plugin-svelte": "^5.1.0",
55
55
  "@tailwindcss/vite": "^4.1.8",
56
56
  "@testing-library/jest-dom": "^6.6.3",
57
57
  "@testing-library/svelte": "^5.2.8",
58
58
  "@types/d3-scale": "^4.0.9",
59
59
  "@types/d3-shape": "^3.1.7",
60
- "@typescript-eslint/eslint-plugin": "^8.33.0",
61
- "@typescript-eslint/parser": "^8.33.0",
60
+ "@typescript-eslint/eslint-plugin": "^8.33.1",
61
+ "@typescript-eslint/parser": "^8.33.1",
62
62
  "d3-scale": "^4.0.2",
63
63
  "d3-shape": "^3.2.0",
64
64
  "eslint": "^9.28.0",
65
65
  "eslint-config-prettier": "^10.1.5",
66
66
  "eslint-plugin-svelte": "^3.9.1",
67
- "happy-dom": "^17.5.6",
67
+ "happy-dom": "^17.6.3",
68
68
  "layerchart": "2.0.0-next.6",
69
69
  "prettier": "^3.5.3",
70
70
  "prettier-plugin-svelte": "^3.4.0",
71
71
  "prettier-plugin-tailwindcss": "^0.6.12",
72
72
  "publint": "^0.3.12",
73
- "svelte": "5.33.13",
73
+ "svelte": "5.33.14",
74
74
  "svelte-check": "^4.2.1",
75
75
  "tailwindcss": "^4.1.8",
76
76
  "tslib": "^2.8.1",
77
- "tw-animate-css": "1.3.3",
77
+ "tw-animate-css": "1.3.4",
78
78
  "typescript": "^5.8.3",
79
79
  "vite": "^6.3.5",
80
- "vitest": "^3.1.4",
81
- "zod": "^3.25.46"
80
+ "vitest": "^3.2.2",
81
+ "zod": "^3.25.55"
82
82
  },
83
83
  "svelte": "./dist/index.js",
84
84
  "types": "./dist/index.d.ts",