@creativecodeco/ui 0.6.1 → 0.6.2
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/lib/theme/main.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
! tailwindcss v3.4.
|
|
2
|
+
! tailwindcss v3.4.9 | MIT License | https://tailwindcss.com
|
|
3
3
|
*//*
|
|
4
4
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
5
5
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
@@ -9,7 +9,9 @@ const Avatar = ({ isOnline = false, ring = false, rounded = false, size = 'md',
|
|
|
9
9
|
online: withStatus && isOnline,
|
|
10
10
|
offline: withStatus && !isOnline,
|
|
11
11
|
placeholder: !isUri
|
|
12
|
-
}), children: _jsxs("div", { "data-testid": 'avatar-content', className: cls(
|
|
12
|
+
}), children: _jsxs("div", { "data-testid": 'avatar-content', className: cls('text-neutral-content', {
|
|
13
|
+
'bg-neutral': !isUri,
|
|
14
|
+
[`avatar-size-${size}`]: size,
|
|
13
15
|
'rounded-full': rounded,
|
|
14
16
|
rounded: !rounded,
|
|
15
17
|
'avatar-ring': ring
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"framework design",
|
|
11
11
|
"design system"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.6.
|
|
13
|
+
"version": "0.6.2",
|
|
14
14
|
"homepage": "https://github.com/creativecodeco/ui",
|
|
15
15
|
"author": {
|
|
16
16
|
"name": "John Toro",
|
|
@@ -40,41 +40,44 @@
|
|
|
40
40
|
"test:watch": "jest --watch"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"postcss": "8.4.
|
|
44
|
-
"postcss-import": "
|
|
45
|
-
"react": "18.
|
|
46
|
-
"react-hook-form": "7.
|
|
47
|
-
"tailwindcss": "3.4.
|
|
48
|
-
"usehooks-ts": "
|
|
43
|
+
"postcss": "8.4.41",
|
|
44
|
+
"postcss-import": "16.1.0",
|
|
45
|
+
"react": "18.3.1",
|
|
46
|
+
"react-hook-form": "7.52.2",
|
|
47
|
+
"tailwindcss": "3.4.9",
|
|
48
|
+
"usehooks-ts": "3.1.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"postcss": "8.4.41",
|
|
52
52
|
"postcss-import": "16.1.0",
|
|
53
53
|
"react": "18.3.1",
|
|
54
54
|
"react-hook-form": "7.52.2",
|
|
55
|
-
"tailwindcss": "3.4.
|
|
56
|
-
"usehooks-ts": "
|
|
55
|
+
"tailwindcss": "3.4.9",
|
|
56
|
+
"usehooks-ts": "3.1.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@babel/core": "7.25.2",
|
|
60
60
|
"@babel/preset-env": "7.25.3",
|
|
61
61
|
"@babel/preset-react": "7.24.7",
|
|
62
62
|
"@babel/preset-typescript": "7.24.7",
|
|
63
|
+
"@chromatic-com/storybook": "1.6.1",
|
|
63
64
|
"@jest/globals": "29.7.0",
|
|
64
|
-
"@storybook/addon-essentials": "
|
|
65
|
-
"@storybook/addon-interactions": "
|
|
66
|
-
"@storybook/addon-links": "
|
|
67
|
-
"@storybook/addon-
|
|
68
|
-
"@storybook/blocks": "
|
|
69
|
-
"@storybook/
|
|
70
|
-
"@storybook/react
|
|
71
|
-
"@storybook/
|
|
65
|
+
"@storybook/addon-essentials": "8.2.8",
|
|
66
|
+
"@storybook/addon-interactions": "8.2.8",
|
|
67
|
+
"@storybook/addon-links": "8.2.8",
|
|
68
|
+
"@storybook/addon-webpack5-compiler-swc": "1.0.5",
|
|
69
|
+
"@storybook/blocks": "8.2.8",
|
|
70
|
+
"@storybook/manager-api": "8.2.8",
|
|
71
|
+
"@storybook/react": "8.2.8",
|
|
72
|
+
"@storybook/react-webpack5": "8.2.8",
|
|
73
|
+
"@storybook/test": "8.2.8",
|
|
74
|
+
"@storybook/theming": "8.2.8",
|
|
72
75
|
"@testing-library/dom": "9.3.4",
|
|
73
76
|
"@testing-library/jest-dom": "6.4.8",
|
|
74
77
|
"@testing-library/react": "14.3.1",
|
|
75
78
|
"@testing-library/user-event": "14.5.2",
|
|
76
79
|
"@types/jest": "29.5.12",
|
|
77
|
-
"@types/node": "
|
|
80
|
+
"@types/node": "22.1.0",
|
|
78
81
|
"@types/react": "18.3.3",
|
|
79
82
|
"@types/react-dom": "18.3.0",
|
|
80
83
|
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
@@ -108,8 +111,7 @@
|
|
|
108
111
|
"prop-types": "15.8.1",
|
|
109
112
|
"react-dom": "18.3.1",
|
|
110
113
|
"react-icons": "5.2.1",
|
|
111
|
-
"storybook": "
|
|
112
|
-
"storybook-addon-themes": "6.1.0",
|
|
114
|
+
"storybook": "8.2.8",
|
|
113
115
|
"string-width": "7.2.0",
|
|
114
116
|
"ts-jest": "29.2.4",
|
|
115
117
|
"ts-node": "10.9.2",
|