@licklist/design 0.68.6-dev.0 → 0.68.6-dev.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.
- package/.prettierrc +3 -0
- package/dist/auth/Layout/UserNavDropDownToggle.js +1 -1
- package/dist/root.css +77 -0
- package/package.json +10 -1
- package/postcss.config.cjs +17 -0
- package/rollup.config.js +1 -0
- package/src/auth/Layout/UserNavDropDownToggle.tsx +1 -1
- package/src/root.css +77 -0
- package/tailwind.config.js +17 -0
- package/yarn.lock +1219 -75
package/.prettierrc
ADDED
|
@@ -21,7 +21,7 @@ function UserNavDropDownToggle(props) {
|
|
|
21
21
|
})
|
|
22
22
|
}),
|
|
23
23
|
/*#__PURE__*/ jsx(Icon, {
|
|
24
|
-
className: "header-user-image img-profile rounded-circle",
|
|
24
|
+
className: "header-user-image img-profile rounded-circle tw-ring-white",
|
|
25
25
|
alt: user === null || user === void 0 ? void 0 : user.last_name,
|
|
26
26
|
roundedCircle: true
|
|
27
27
|
})
|
package/dist/root.css
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
@layer base {
|
|
6
|
+
:root {
|
|
7
|
+
--background: 0 0% 95%;
|
|
8
|
+
--foreground: 0 0% 3.9%;
|
|
9
|
+
|
|
10
|
+
--card: 0 0% 100%;
|
|
11
|
+
--card-foreground: 0 0% 3.9%;
|
|
12
|
+
|
|
13
|
+
--popover: 0 0% 100%;
|
|
14
|
+
--popover-foreground: 0 0% 3.9%;
|
|
15
|
+
|
|
16
|
+
--primary: 204 88% 47%;
|
|
17
|
+
--primary-foreground: 0 0% 98%;
|
|
18
|
+
|
|
19
|
+
--secondary: 0 0% 96.1%;
|
|
20
|
+
--secondary-foreground: 0 0% 9%;
|
|
21
|
+
|
|
22
|
+
--muted: 0 0% 96.1%;
|
|
23
|
+
--muted-foreground: 0 0% 45.1%;
|
|
24
|
+
|
|
25
|
+
--accent: 0 0% 96.1%;
|
|
26
|
+
--accent-foreground: 0 0% 9%;
|
|
27
|
+
|
|
28
|
+
--destructive: 0 84.2% 60.2%;
|
|
29
|
+
--destructive-foreground: 0 0% 98%;
|
|
30
|
+
|
|
31
|
+
--border: 0 0% 89.8%;
|
|
32
|
+
--input: 0 0% 89.8%;
|
|
33
|
+
--ring: 0 0% 3.9%;
|
|
34
|
+
|
|
35
|
+
--radius: 0.5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.dark {
|
|
39
|
+
--background: 0 0% 3.9%;
|
|
40
|
+
--foreground: 0 0% 98%;
|
|
41
|
+
|
|
42
|
+
--card: 0 0% 3.9%;
|
|
43
|
+
--card-foreground: 0 0% 98%;
|
|
44
|
+
|
|
45
|
+
--popover: 0 0% 3.9%;
|
|
46
|
+
--popover-foreground: 0 0% 98%;
|
|
47
|
+
|
|
48
|
+
--primary: 0 0% 98%;
|
|
49
|
+
--primary-foreground: 0 0% 9%;
|
|
50
|
+
|
|
51
|
+
--secondary: 0 0% 14.9%;
|
|
52
|
+
--secondary-foreground: 0 0% 98%;
|
|
53
|
+
|
|
54
|
+
--muted: 0 0% 14.9%;
|
|
55
|
+
--muted-foreground: 0 0% 63.9%;
|
|
56
|
+
|
|
57
|
+
--accent: 0 0% 14.9%;
|
|
58
|
+
--accent-foreground: 0 0% 98%;
|
|
59
|
+
|
|
60
|
+
--destructive: 0 62.8% 30.6%;
|
|
61
|
+
--destructive-foreground: 0 0% 98%;
|
|
62
|
+
|
|
63
|
+
--border: 0 0% 14.9%;
|
|
64
|
+
--input: 0 0% 14.9%;
|
|
65
|
+
--ring: 0 0% 83.1%;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@layer base {
|
|
70
|
+
* {
|
|
71
|
+
@apply border-border;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
body {
|
|
75
|
+
@apply bg-background text-foreground;
|
|
76
|
+
}
|
|
77
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@licklist/design",
|
|
3
|
-
"version": "0.68.6-dev.
|
|
3
|
+
"version": "0.68.6-dev.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
|
|
@@ -64,6 +64,8 @@
|
|
|
64
64
|
"@licklist/core": "0.30.0-dev.0",
|
|
65
65
|
"@licklist/eslint-config": "0.5.6",
|
|
66
66
|
"@licklist/plugins": "0.33.0-dev.0",
|
|
67
|
+
"@mantine/core": "6.0.22",
|
|
68
|
+
"@mantine/hooks": "6.0.22",
|
|
67
69
|
"@mdx-js/react": "1.6.22",
|
|
68
70
|
"@popperjs/core": "2.11.8",
|
|
69
71
|
"@react-aria/utils": "3.9.0",
|
|
@@ -160,15 +162,21 @@
|
|
|
160
162
|
"@typescript-eslint/eslint-plugin": "5.8.1",
|
|
161
163
|
"@typescript-eslint/parser": "5.8.1",
|
|
162
164
|
"@vitejs/plugin-react": "4.3.1",
|
|
165
|
+
"autoprefixer": "10.4.20",
|
|
163
166
|
"babel-loader": "8.2.2",
|
|
164
167
|
"css-loader": "5.1.1",
|
|
168
|
+
"cssnano": "7.0.6",
|
|
165
169
|
"eslint": "7.32.0",
|
|
166
170
|
"eslint-config-airbnb": "18.2.1",
|
|
167
171
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
168
172
|
"eslint-plugin-react-hooks": "4.2.0",
|
|
169
173
|
"husky": "7.0.4",
|
|
170
174
|
"lint-staged": "12.3.2",
|
|
175
|
+
"postcss": "8.4.47",
|
|
176
|
+
"postcss-preset-mantine": "1.17.0",
|
|
177
|
+
"postcss-simple-vars": "7.0.1",
|
|
171
178
|
"prettier": "3.3.3",
|
|
179
|
+
"prettier-plugin-tailwindcss": "0.6.8",
|
|
172
180
|
"rollup": "3.29.4",
|
|
173
181
|
"rollup-plugin-auto-external": "2.0.0",
|
|
174
182
|
"rollup-plugin-copy": "3.5.0",
|
|
@@ -179,6 +187,7 @@
|
|
|
179
187
|
"sass": "1.77.8",
|
|
180
188
|
"sass-loader": "10.1.1",
|
|
181
189
|
"style-loader": "2.0.0",
|
|
190
|
+
"tailwindcss": "3.4.13",
|
|
182
191
|
"typescript": "5.5.4",
|
|
183
192
|
"url-loader": "4.1.1",
|
|
184
193
|
"vite": "5.3.5",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
plugins: {
|
|
3
|
+
tailwindcss: {},
|
|
4
|
+
autoprefixer: {},
|
|
5
|
+
'postcss-preset-mantine': {},
|
|
6
|
+
'postcss-simple-vars': {
|
|
7
|
+
variables: {
|
|
8
|
+
'mantine-breakpoint-xs': '36em',
|
|
9
|
+
'mantine-breakpoint-sm': '48em',
|
|
10
|
+
'mantine-breakpoint-md': '62em',
|
|
11
|
+
'mantine-breakpoint-lg': '75em',
|
|
12
|
+
'mantine-breakpoint-xl': '88em',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
...(process.env.NODE_ENV === "production" ? { cssnano: {} } : {}),
|
|
16
|
+
},
|
|
17
|
+
};
|
package/rollup.config.js
CHANGED
|
@@ -19,7 +19,7 @@ function UserNavDropDownToggle(props: UserNavDropDownToggleProps) {
|
|
|
19
19
|
</span>
|
|
20
20
|
|
|
21
21
|
<DefaultUserImage
|
|
22
|
-
className='header-user-image img-profile rounded-circle'
|
|
22
|
+
className='header-user-image img-profile rounded-circle tw-ring-white'
|
|
23
23
|
alt={user?.last_name}
|
|
24
24
|
roundedCircle
|
|
25
25
|
/>
|
package/src/root.css
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
@layer base {
|
|
6
|
+
:root {
|
|
7
|
+
--background: 0 0% 95%;
|
|
8
|
+
--foreground: 0 0% 3.9%;
|
|
9
|
+
|
|
10
|
+
--card: 0 0% 100%;
|
|
11
|
+
--card-foreground: 0 0% 3.9%;
|
|
12
|
+
|
|
13
|
+
--popover: 0 0% 100%;
|
|
14
|
+
--popover-foreground: 0 0% 3.9%;
|
|
15
|
+
|
|
16
|
+
--primary: 204 88% 47%;
|
|
17
|
+
--primary-foreground: 0 0% 98%;
|
|
18
|
+
|
|
19
|
+
--secondary: 0 0% 96.1%;
|
|
20
|
+
--secondary-foreground: 0 0% 9%;
|
|
21
|
+
|
|
22
|
+
--muted: 0 0% 96.1%;
|
|
23
|
+
--muted-foreground: 0 0% 45.1%;
|
|
24
|
+
|
|
25
|
+
--accent: 0 0% 96.1%;
|
|
26
|
+
--accent-foreground: 0 0% 9%;
|
|
27
|
+
|
|
28
|
+
--destructive: 0 84.2% 60.2%;
|
|
29
|
+
--destructive-foreground: 0 0% 98%;
|
|
30
|
+
|
|
31
|
+
--border: 0 0% 89.8%;
|
|
32
|
+
--input: 0 0% 89.8%;
|
|
33
|
+
--ring: 0 0% 3.9%;
|
|
34
|
+
|
|
35
|
+
--radius: 0.5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.dark {
|
|
39
|
+
--background: 0 0% 3.9%;
|
|
40
|
+
--foreground: 0 0% 98%;
|
|
41
|
+
|
|
42
|
+
--card: 0 0% 3.9%;
|
|
43
|
+
--card-foreground: 0 0% 98%;
|
|
44
|
+
|
|
45
|
+
--popover: 0 0% 3.9%;
|
|
46
|
+
--popover-foreground: 0 0% 98%;
|
|
47
|
+
|
|
48
|
+
--primary: 0 0% 98%;
|
|
49
|
+
--primary-foreground: 0 0% 9%;
|
|
50
|
+
|
|
51
|
+
--secondary: 0 0% 14.9%;
|
|
52
|
+
--secondary-foreground: 0 0% 98%;
|
|
53
|
+
|
|
54
|
+
--muted: 0 0% 14.9%;
|
|
55
|
+
--muted-foreground: 0 0% 63.9%;
|
|
56
|
+
|
|
57
|
+
--accent: 0 0% 14.9%;
|
|
58
|
+
--accent-foreground: 0 0% 98%;
|
|
59
|
+
|
|
60
|
+
--destructive: 0 62.8% 30.6%;
|
|
61
|
+
--destructive-foreground: 0 0% 98%;
|
|
62
|
+
|
|
63
|
+
--border: 0 0% 14.9%;
|
|
64
|
+
--input: 0 0% 14.9%;
|
|
65
|
+
--ring: 0 0% 83.1%;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@layer base {
|
|
70
|
+
* {
|
|
71
|
+
@apply border-border;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
body {
|
|
75
|
+
@apply bg-background text-foreground;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
export default {
|
|
3
|
+
darkMode: ["class"],
|
|
4
|
+
prefix: "tw-",
|
|
5
|
+
// @TODO: remove this after removing bootstrap from a project
|
|
6
|
+
corePlugins: {
|
|
7
|
+
preflight: false,
|
|
8
|
+
},
|
|
9
|
+
content: [
|
|
10
|
+
"./src/**/*.{ts,tsx}",
|
|
11
|
+
],
|
|
12
|
+
theme: {
|
|
13
|
+
extend: {},
|
|
14
|
+
},
|
|
15
|
+
plugins: [],
|
|
16
|
+
}
|
|
17
|
+
|