@roku-ui/preset 0.7.4 → 0.7.5
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.cjs +2 -1
- package/index.d.ts +5 -0
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -49,7 +49,7 @@ const shortcuts = colorKeys.filter(d => d !== 'surface').reduce((shortcuts, colo
|
|
|
49
49
|
shortcuts[`btn-constrast-${color}`] = `container-constrast-${color} hover:text-surface-base hover:bg-${color}-container focus-visible:outline-2 outline-offset-2 focus-visible:outline-${color}-container outline-none`;
|
|
50
50
|
return shortcuts;
|
|
51
51
|
}, {});
|
|
52
|
-
const rokuPreset =
|
|
52
|
+
const rokuPreset = options => () => {
|
|
53
53
|
let file = '';
|
|
54
54
|
try {
|
|
55
55
|
file = fs.readFileSync('node_modules/@roku-ui/vue/dist/index.js', 'utf-8');
|
|
@@ -84,6 +84,7 @@ const rokuPreset = () => () => {
|
|
|
84
84
|
'display': 'inline-block',
|
|
85
85
|
'vertical-align': 'middle',
|
|
86
86
|
},
|
|
87
|
+
...options.icon,
|
|
87
88
|
}),
|
|
88
89
|
],
|
|
89
90
|
content: {
|
package/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roku-ui/preset",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.5",
|
|
5
5
|
"author": "Jianqi Pan <jannchie@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"module": "dist/index.mjs",
|
|
23
23
|
"types": "index.d.ts",
|
|
24
24
|
"files": [
|
|
25
|
-
"dist"
|
|
25
|
+
"dist",
|
|
26
|
+
"index.d.ts"
|
|
26
27
|
],
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@jannchie/eslint-config": "^3.0.0",
|