@umber-style/vue 0.1.0-alpha.1 → 0.1.0-alpha.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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -349,7 +349,7 @@ function createDefaultStyle() {
|
|
|
349
349
|
if (bound) throw new Error("configure must be called before the default style is used.");
|
|
350
350
|
pending = options;
|
|
351
351
|
}
|
|
352
|
-
const styled = (0, _umber_style_core.withTagShorthands)(((tag, options) => getStyle().styled(tag, options)));
|
|
352
|
+
const styled = (0, _umber_style_core.withTagShorthands)(((tag, options) => (...args) => getStyle().styled(tag, options)(...args)));
|
|
353
353
|
const StyleSheet = { create: ((styles) => typeof styles === "function" ? getStyle().StyleSheet.create(styles) : (0, _umber_style_core.createDeferredRecord)(styles, () => getStyle().StyleSheet.create(styles))) };
|
|
354
354
|
const useStyle = ((sheet) => getStyle().useStyle(sheet));
|
|
355
355
|
function useTheme() {
|
package/dist/index.mjs
CHANGED
|
@@ -348,7 +348,7 @@ function createDefaultStyle() {
|
|
|
348
348
|
if (bound) throw new Error("configure must be called before the default style is used.");
|
|
349
349
|
pending = options;
|
|
350
350
|
}
|
|
351
|
-
const styled = withTagShorthands(((tag, options) => getStyle().styled(tag, options)));
|
|
351
|
+
const styled = withTagShorthands(((tag, options) => (...args) => getStyle().styled(tag, options)(...args)));
|
|
352
352
|
const StyleSheet = { create: ((styles) => typeof styles === "function" ? getStyle().StyleSheet.create(styles) : createDeferredRecord(styles, () => getStyle().StyleSheet.create(styles))) };
|
|
353
353
|
const useStyle = ((sheet) => getStyle().useStyle(sheet));
|
|
354
354
|
function useTheme() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umber-style/vue",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
4
|
"description": "UmberStyle for Vue: the same names as the React binding, with a reactive useTheme.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"styling",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@umber-style/core": "0.1.0-alpha.
|
|
46
|
+
"@umber-style/core": "0.1.0-alpha.5"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"vue": "^3.5.0"
|