@gradient-ui/core 1.0.0 → 1.0.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/dist/plugin.cjs +1 -1
- package/dist/plugin.mjs +0 -3
- package/package.json +2 -2
package/dist/plugin.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const icon=require("./icon-DgrRDU9A.cjs");require("@gradient-ui/gradient-engine");const cssTokens=require("./cssTokens-gELrmYNj.cjs"),defaults=require("./defaults-aVtmQF-9.cjs"),mask=require("./mask-BGVqqZXk.cjs"),runtime=require("./runtime-DjqHzhfc.cjs")
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const icon=require("./icon-DgrRDU9A.cjs");require("@gradient-ui/gradient-engine");const cssTokens=require("./cssTokens-gELrmYNj.cjs"),defaults=require("./defaults-aVtmQF-9.cjs"),mask=require("./mask-BGVqqZXk.cjs"),runtime=require("./runtime-DjqHzhfc.cjs"),resolveThemeOptions=theme=>theme==null||theme===!1?{}:typeof theme=="string"||typeof theme=="number"?{seed:theme}:theme,installGradientUIRuntime=(app,options={},inlineOptions={})=>{const resolvedOptions={...options,...inlineOptions,defaults:{...options.defaults,...inlineOptions.defaults}};return defaults.installDefaults(app,resolvedOptions.defaults),runtime.installGradientUIServices(app),app.directive("gradient-icon",mask.gradientIcon),app.directive("gradient-text",mask.vGradientText),app.directive("loading",mask.loading),app.directive("mask",mask.vMask),app.directive("ripple",mask.ripple),app.directive("specular",mask.specular),app.directive("tooltip",mask.vTooltip),resolvedOptions.icons!==!1&&icon.installIcons(app,typeof resolvedOptions.icons=="object"?resolvedOptions.icons:void 0),resolvedOptions.theme!==!1&&cssTokens.installTheme(app,cssTokens.createTheme(resolveThemeOptions(resolvedOptions.theme))),resolvedOptions};exports.installGradientUIRuntime=installGradientUIRuntime;exports.resolveThemeOptions=resolveThemeOptions;
|
package/dist/plugin.mjs
CHANGED
|
@@ -4,9 +4,6 @@ import { i as installTheme, d as createTheme } from "./cssTokens-CR4OxIND.js";
|
|
|
4
4
|
import { i as installDefaults } from "./defaults-DJ6ZV1Qc.js";
|
|
5
5
|
import { g as gradientIcon, v as vGradientText, l as loading, a as vMask, r as ripple, s as specular, b as vTooltip } from "./mask-D4VYR8fo.js";
|
|
6
6
|
import { i as installGradientUIServices } from "./runtime-DBDKFxqD.js";
|
|
7
|
-
import "vue";
|
|
8
|
-
import "./GLoading.vue_vue_type_style_index_0_lang-BNOsRA0v.js";
|
|
9
|
-
import "./components/GSnackbar.mjs";
|
|
10
7
|
const resolveThemeOptions = (theme) => theme == null || theme === !1 ? {} : typeof theme == "string" || typeof theme == "number" ? { seed: theme } : theme, installGradientUIRuntime = (app, options = {}, inlineOptions = {}) => {
|
|
11
8
|
const resolvedOptions = {
|
|
12
9
|
...options,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradient-ui/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npm run dev -w @gradient-ui/docs",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@floating-ui/vue": "^1.1.10",
|
|
49
|
-
"@gradient-ui/gradient-engine": "^1.0.
|
|
49
|
+
"@gradient-ui/gradient-engine": "^1.0.1",
|
|
50
50
|
"@mdi/js": "^7.4.47",
|
|
51
51
|
"gib-validate": "^1.1.0"
|
|
52
52
|
},
|