@qasa/qds-ui 0.21.0 → 0.23.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/dist/index.d.mts +24 -6
- package/dist/index.d.ts +24 -6
- package/dist/index.js +90 -389
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -307
- package/dist/index.mjs.map +1 -1
- package/dist/preset.css +28 -0
- package/dist/safelist.txt +3 -0
- package/package.json +26 -13
package/dist/preset.css
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@theme inline {
|
|
2
|
+
/**
|
|
3
|
+
* Remove all the default Tailwind CSS tokens.
|
|
4
|
+
*/
|
|
5
|
+
--*: initial;
|
|
6
|
+
--leading-*: initial;
|
|
7
|
+
|
|
8
|
+
--font-sans: var(--font-family-sans), Helvetica, -apple-system, Arial, sans-serif;
|
|
9
|
+
--font-display: var(--font-family-display), Helvetica, -apple-system, Arial, sans-serif;
|
|
10
|
+
--font-display--font-feature-settings: 'ss05';
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@layer base {
|
|
14
|
+
html {
|
|
15
|
+
@apply antialiased;
|
|
16
|
+
}
|
|
17
|
+
body {
|
|
18
|
+
@apply font-sans text-[16px] leading-[1.5] text-[#342620];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
button,
|
|
22
|
+
a,
|
|
23
|
+
[role='button'] {
|
|
24
|
+
&:focus-visible {
|
|
25
|
+
@apply outline-2 outline-[#342620] outline-offset-2;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qasa/qds-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
|
-
"sideEffects":
|
|
5
|
+
"sideEffects": [
|
|
6
|
+
"*.css"
|
|
7
|
+
],
|
|
6
8
|
"repository": {
|
|
7
9
|
"type": "git",
|
|
8
10
|
"url": "git+https://github.com/qasase/qds-ui.git"
|
|
@@ -11,21 +13,19 @@
|
|
|
11
13
|
"main": "dist/index.js",
|
|
12
14
|
"module": "dist/index.mjs",
|
|
13
15
|
"types": "dist/index.d.ts",
|
|
16
|
+
"style": "dist/preset.css",
|
|
14
17
|
"exports": {
|
|
15
18
|
".": {
|
|
16
19
|
"types": "./dist/index.d.ts",
|
|
17
20
|
"import": "./dist/index.mjs",
|
|
18
21
|
"require": "./dist/index.js"
|
|
19
|
-
}
|
|
22
|
+
},
|
|
23
|
+
"./preset.css": "./dist/preset.css"
|
|
20
24
|
},
|
|
21
25
|
"files": [
|
|
22
26
|
"dist"
|
|
23
27
|
],
|
|
24
28
|
"devDependencies": {
|
|
25
|
-
"@babel/core": "^7.19.3",
|
|
26
|
-
"@babel/preset-env": "^7.19.3",
|
|
27
|
-
"@babel/preset-react": "^7.18.6",
|
|
28
|
-
"@babel/preset-typescript": "^7.18.6",
|
|
29
29
|
"@changesets/changelog-github": "^0.4.8",
|
|
30
30
|
"@changesets/cli": "^2.26.0",
|
|
31
31
|
"@emotion/cache": "^11.10.4",
|
|
@@ -37,10 +37,12 @@
|
|
|
37
37
|
"@storybook/addon-essentials": "^8.4.5",
|
|
38
38
|
"@storybook/addon-interactions": "^8.4.5",
|
|
39
39
|
"@storybook/addon-links": "^8.4.5",
|
|
40
|
+
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
40
41
|
"@storybook/addon-webpack5-compiler-swc": "^1.0.5",
|
|
41
42
|
"@storybook/react": "^8.4.5",
|
|
42
43
|
"@storybook/react-webpack5": "^8.4.5",
|
|
43
44
|
"@storybook/test": "^8.4.5",
|
|
45
|
+
"@tailwindcss/postcss": "^4.0.0",
|
|
44
46
|
"@testing-library/jest-dom": "^6.6.3",
|
|
45
47
|
"@testing-library/react": "^16.2.0",
|
|
46
48
|
"@testing-library/user-event": "^14.6.0",
|
|
@@ -50,6 +52,8 @@
|
|
|
50
52
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
51
53
|
"@typescript-eslint/parser": "^7.4.0",
|
|
52
54
|
"@vitejs/plugin-react": "^4.3.4",
|
|
55
|
+
"babel-jest": "^29.1.0",
|
|
56
|
+
"css-loader": "^7.1.2",
|
|
53
57
|
"eslint": "^8.57.0",
|
|
54
58
|
"eslint-config-prettier": "^9.1.0",
|
|
55
59
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
@@ -59,10 +63,12 @@
|
|
|
59
63
|
"eslint-plugin-prettier": "^5.1.3",
|
|
60
64
|
"eslint-plugin-react": "^7.34.1",
|
|
61
65
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
62
|
-
"
|
|
66
|
+
"globby": "^14.0.2",
|
|
63
67
|
"jsdom": "^26.0.0",
|
|
64
|
-
"motion": "^11.13.5",
|
|
65
68
|
"lucide-react": "^0.294.0",
|
|
69
|
+
"motion": "^11.13.5",
|
|
70
|
+
"postcss": "^8.4.49",
|
|
71
|
+
"postcss-loader": "^8.1.1",
|
|
66
72
|
"prettier": "^3.2.5",
|
|
67
73
|
"react": "^18.2.0",
|
|
68
74
|
"react-dom": "^18.2.0",
|
|
@@ -70,10 +76,14 @@
|
|
|
70
76
|
"rimraf": "^3.0.2",
|
|
71
77
|
"storybook": "^8.4.5",
|
|
72
78
|
"storybook-dark-mode": "^4.0.2",
|
|
79
|
+
"style-loader": "^4.0.0",
|
|
80
|
+
"tailwindcss": "^4.0.0",
|
|
73
81
|
"tsup": "^8.0.2",
|
|
82
|
+
"tsx": "^4.19.2",
|
|
74
83
|
"typescript": "^5.4.3",
|
|
75
84
|
"vitest": "<3",
|
|
76
|
-
"vitest-axe": "1.0.0-pre.3"
|
|
85
|
+
"vitest-axe": "1.0.0-pre.3",
|
|
86
|
+
"vitest-matchmedia-mock": "^2.0.0"
|
|
77
87
|
},
|
|
78
88
|
"peerDependencies": {
|
|
79
89
|
"@emotion/cache": ">= 11.0.0",
|
|
@@ -82,7 +92,8 @@
|
|
|
82
92
|
"@emotion/styled": ">= 11.0.0",
|
|
83
93
|
"motion": ">=11.13.5",
|
|
84
94
|
"react": ">=18.2.0",
|
|
85
|
-
"react-dom": ">=18.2.0"
|
|
95
|
+
"react-dom": ">=18.2.0",
|
|
96
|
+
"tailwindcss": ">=4.0.0"
|
|
86
97
|
},
|
|
87
98
|
"dependencies": {
|
|
88
99
|
"@radix-ui/react-avatar": "^1.1.0",
|
|
@@ -90,11 +101,13 @@
|
|
|
90
101
|
"@radix-ui/react-dropdown-menu": "^2.1.4",
|
|
91
102
|
"@radix-ui/react-radio-group": "^1.2.0",
|
|
92
103
|
"@radix-ui/react-switch": "^1.1.0",
|
|
93
|
-
"@radix-ui/react-toast": "^1.2.4"
|
|
104
|
+
"@radix-ui/react-toast": "^1.2.4",
|
|
105
|
+
"class-variance-authority": "^0.7.1"
|
|
94
106
|
},
|
|
95
107
|
"scripts": {
|
|
96
108
|
"dev": "storybook dev -p 1337",
|
|
97
|
-
"build": "tsup",
|
|
109
|
+
"build": "pnpm build:safelist && tsup",
|
|
110
|
+
"build:safelist": "tsx scripts/build-safelist/run.ts",
|
|
98
111
|
"build:storybook": "storybook build",
|
|
99
112
|
"clean": "rimraf dist",
|
|
100
113
|
"test": "vitest",
|