@kubetail/ui 0.1.8 → 0.2.0

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/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Kubetail-UI is a project for developing and sharing React components and other UI elements for Kubetail
4
4
 
5
+ <a href="https://discord.gg/pXHXaUqt"><img src="https://img.shields.io/discord/1212031524216770650?logo=Discord&style=flat-square&logoColor=FFFFFF&labelColor=5B65F0&label=Discord&color=64B73A"></a>
6
+ [![slack](https://img.shields.io/badge/Slack-kubetail-364954?logo=slack&labelColor=4D1C51)](https://join.slack.com/t/kubetail/shared_invite/zt-2cq01cbm8-e1kbLT3EmcLPpHSeoFYm1w)
7
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
8
+
5
9
  ## Getting started
6
10
 
7
11
  First, install the dependencies:
@@ -16,6 +20,14 @@ Next, run storybook:
16
20
  pnpm storybook
17
21
  ```
18
22
 
23
+ ## Getting started in Docker
24
+
25
+ This should work as simple as running the following command:
26
+
27
+ ```sh
28
+ docker compose up
29
+ ```
30
+
19
31
  Open [http://localhost:6006](http://localhost:6006) in your browser to see the components.
20
32
 
21
33
  ## Scripts
@@ -1,9 +1,9 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { ChevronLeft as c, ChevronRight as s } from "lucide-react";
2
+ import { ChevronRight as c, ChevronLeft as s } from "lucide-react";
3
3
  import { DayPicker as i } from "react-day-picker";
4
4
  import { buttonVariants as a } from "./Button.js";
5
5
  import { cn as e } from "../lib/utils.js";
6
- const l = () => t(c, { className: "h-4 w-4" }), m = () => t(s, { className: "h-4 w-4" });
6
+ const l = () => t(s, { className: "h-4 w-4" }), m = () => t(c, { className: "h-4 w-4" });
7
7
  function u({ className: r, classNames: o, showOutsideDays: n = !0, ...d }) {
8
8
  return t(i, { showOutsideDays: n, className: e("p-3", r), classNames: {
9
9
  months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubetail/ui",
3
- "version": "v0.1.8",
3
+ "version": "v0.2.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "module": "./dist/index.js",
@@ -31,42 +31,39 @@
31
31
  "/dist"
32
32
  ],
33
33
  "devDependencies": {
34
- "@chromatic-com/storybook": "^1.9.0",
34
+ "@chromatic-com/storybook": "^4.0.0",
35
35
  "@rollup/plugin-typescript": "^11.1.6",
36
- "@storybook/addon-essentials": "^8.5.0",
37
- "@storybook/addon-interactions": "^8.5.0",
38
- "@storybook/addon-links": "^8.5.0",
39
- "@storybook/addon-onboarding": "^8.5.0",
40
- "@storybook/addon-themes": "^8.5.0",
41
- "@storybook/blocks": "^8.5.0",
42
- "@storybook/react": "^8.5.0",
43
- "@storybook/react-vite": "^8.5.0",
44
- "@storybook/test": "^8.5.0",
36
+ "@storybook/addon-docs": "^9.0.5",
37
+ "@storybook/addon-links": "^9.0.5",
38
+ "@storybook/addon-onboarding": "^9.0.5",
39
+ "@storybook/addon-themes": "^9.0.5",
40
+ "@storybook/builder-vite": "^9.0.5",
41
+ "@storybook/react-vite": "^9.0.5",
45
42
  "@testing-library/jest-dom": "^6.6.3",
46
43
  "@testing-library/react": "^14.3.1",
47
44
  "@types/jest": "^29.5.14",
48
- "@types/react": "^18.3.18",
49
- "@types/react-dom": "^18.3.5",
45
+ "@types/react": "^18.3.23",
46
+ "@types/react-dom": "^18.3.7",
50
47
  "@types/rollup-plugin-auto-external": "^2.0.5",
51
48
  "@typescript-eslint/eslint-plugin": "^7.18.0",
52
49
  "@typescript-eslint/parser": "^7.18.0",
53
- "@vitejs/plugin-react": "^4.3.4",
54
- "autoprefixer": "^10.4.20",
50
+ "@vitejs/plugin-react": "^4.5.1",
51
+ "@vueless/storybook-dark-mode": "^9.0.5",
52
+ "autoprefixer": "^10.4.21",
55
53
  "eslint": "^8.57.1",
56
54
  "eslint-config-airbnb": "^19.0.4",
57
55
  "eslint-config-airbnb-typescript": "^18.0.0",
58
56
  "eslint-plugin-react-hooks": "^4.6.2",
59
- "eslint-plugin-react-refresh": "^0.4.18",
60
- "eslint-plugin-storybook": "^0.8.0",
57
+ "eslint-plugin-react-refresh": "^0.4.20",
58
+ "eslint-plugin-storybook": "^9.0.5",
61
59
  "glob": "^10.4.5",
62
- "jsdom": "^26.0.0",
63
- "postcss": "^8.5.1",
60
+ "jsdom": "^26.1.0",
61
+ "postcss": "^8.5.4",
64
62
  "rollup-plugin-auto-external": "^2.0.0",
65
- "storybook": "^8.5.0",
66
- "storybook-dark-mode": "^4.0.2",
63
+ "storybook": "^9.0.5",
67
64
  "typescript": "5.5.4",
68
- "vite": "^5.4.13",
69
- "vitest": "^2.1.8"
65
+ "vite": "^5.4.19",
66
+ "vitest": "^2.1.9"
70
67
  },
71
68
  "peerDependencies": {
72
69
  "@heroicons/react": "^2.0.15",
@@ -76,10 +73,10 @@
76
73
  "tailwindcss": "^3.4.3"
77
74
  },
78
75
  "dependencies": {
79
- "@radix-ui/react-dropdown-menu": "^2.1.4",
80
- "@radix-ui/react-popover": "^1.1.4",
81
- "@radix-ui/react-tabs": "^1.1.2",
82
- "@restart/ui": "^1.9.3",
76
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
77
+ "@radix-ui/react-popover": "^1.1.14",
78
+ "@radix-ui/react-tabs": "^1.1.12",
79
+ "@restart/ui": "^1.9.4",
83
80
  "class-variance-authority": "^0.7.1",
84
81
  "clsx": "^2.1.1",
85
82
  "lucide-react": "^0.364.0",