@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 +12 -0
- package/dist/elements/Calendar.js +2 -2
- package/package.json +24 -27
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
|
+
[](https://join.slack.com/t/kubetail/shared_invite/zt-2cq01cbm8-e1kbLT3EmcLPpHSeoFYm1w)
|
|
7
|
+
[](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 {
|
|
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(
|
|
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.
|
|
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": "^
|
|
34
|
+
"@chromatic-com/storybook": "^4.0.0",
|
|
35
35
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
36
|
-
"@storybook/addon-
|
|
37
|
-
"@storybook/addon-
|
|
38
|
-
"@storybook/addon-
|
|
39
|
-
"@storybook/addon-
|
|
40
|
-
"@storybook/
|
|
41
|
-
"@storybook/
|
|
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.
|
|
49
|
-
"@types/react-dom": "^18.3.
|
|
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.
|
|
54
|
-
"
|
|
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.
|
|
60
|
-
"eslint-plugin-storybook": "^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.
|
|
63
|
-
"postcss": "^8.5.
|
|
60
|
+
"jsdom": "^26.1.0",
|
|
61
|
+
"postcss": "^8.5.4",
|
|
64
62
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
65
|
-
"storybook": "^
|
|
66
|
-
"storybook-dark-mode": "^4.0.2",
|
|
63
|
+
"storybook": "^9.0.5",
|
|
67
64
|
"typescript": "5.5.4",
|
|
68
|
-
"vite": "^5.4.
|
|
69
|
-
"vitest": "^2.1.
|
|
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.
|
|
80
|
-
"@radix-ui/react-popover": "^1.1.
|
|
81
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
82
|
-
"@restart/ui": "^1.9.
|
|
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",
|