@kadoui/tailwindcss 1.2.9 → 1.2.11
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/package.json
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kadoui/tailwindcss",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Kadoui TailwindCSS styles",
|
|
5
|
-
"author": "FarzadVav",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"repository": "https://github.com/FarzadVav/kadoui/packages/kadoui-tailwindcss",
|
|
9
|
-
"publishConfig": {
|
|
10
|
-
"access": "public"
|
|
11
|
-
},
|
|
12
|
-
"exports": {
|
|
13
|
-
".": "./src/index.css",
|
|
14
|
-
"./postcss": "./postcss.config.js"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"@kadoui/tailwindcss",
|
|
18
|
-
"kado",
|
|
19
|
-
"ui",
|
|
20
|
-
"css",
|
|
21
|
-
"tailwind"
|
|
22
|
-
],
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"postcss": "8.5.6",
|
|
25
|
-
"tailwindcss": "4.1.18",
|
|
26
|
-
"@tailwindcss/postcss": "4.1.18"
|
|
27
|
-
}
|
|
28
|
-
"packageManager": "pnpm@10.25.0"
|
|
1
|
+
{
|
|
2
|
+
"name": "@kadoui/tailwindcss",
|
|
3
|
+
"version": "1.2.11",
|
|
4
|
+
"description": "Kadoui TailwindCSS styles",
|
|
5
|
+
"author": "FarzadVav",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"repository": "https://github.com/FarzadVav/kadoui/packages/kadoui-tailwindcss",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./src/index.css",
|
|
14
|
+
"./postcss": "./postcss.config.js"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"@kadoui/tailwindcss",
|
|
18
|
+
"kado",
|
|
19
|
+
"ui",
|
|
20
|
+
"css",
|
|
21
|
+
"tailwind"
|
|
22
|
+
],
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"postcss": "8.5.6",
|
|
25
|
+
"tailwindcss": "4.1.18",
|
|
26
|
+
"@tailwindcss/postcss": "4.1.18"
|
|
27
|
+
}
|
|
29
28
|
}
|
package/src/styles/button.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@utility btn {
|
|
2
|
-
--element-w:
|
|
2
|
+
--element-w: max-content;
|
|
3
3
|
|
|
4
|
-
@apply flex items-center justify-center transition-all outline-solid outline-2 outline-transparent focus-visible:outline-palette disabled:opacity-50 disabled:cursor-not-allowed active:opacity-50;
|
|
4
|
+
@apply max-w-full flex items-center justify-center transition-all outline-solid outline-2 outline-transparent focus-visible:outline-palette disabled:opacity-50 disabled:cursor-not-allowed active:opacity-50;
|
|
5
5
|
|
|
6
6
|
width: var(--element-w);
|
|
7
7
|
height: var(--element-size);
|