design-system-next 2.11.19 → 2.11.20
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/design-system-next.es.js +19 -5
- package/dist/design-system-next.es.js.gz +0 -0
- package/dist/design-system-next.umd.js +2 -2
- package/dist/design-system-next.umd.js.gz +0 -0
- package/dist/package.json.d.ts +1 -1
- package/package.json +1 -1
- package/src/App.vue +49 -1
- package/src/components/tooltip/tooltip.ts +12 -0
- package/src/components/tooltip/tooltip.vue +13 -3
|
@@ -15999,6 +15999,18 @@ const V5 = ["white", "dark", "gray", "green"], Q5 = [
|
|
|
15999
15999
|
fitContent: {
|
|
16000
16000
|
type: Boolean,
|
|
16001
16001
|
default: !0
|
|
16002
|
+
},
|
|
16003
|
+
showTriggers: {
|
|
16004
|
+
type: [String, Array],
|
|
16005
|
+
default: "hover"
|
|
16006
|
+
},
|
|
16007
|
+
hideTriggers: {
|
|
16008
|
+
type: [String, Array],
|
|
16009
|
+
default: "hover"
|
|
16010
|
+
},
|
|
16011
|
+
autoHide: {
|
|
16012
|
+
type: Boolean,
|
|
16013
|
+
default: !1
|
|
16002
16014
|
}
|
|
16003
16015
|
}, p8 = (e) => ({
|
|
16004
16016
|
placement: F(e.placement)
|
|
@@ -16012,9 +16024,11 @@ const V5 = ["white", "dark", "gray", "green"], Q5 = [
|
|
|
16012
16024
|
class: I([t.fitContent ? "spr-w-fit" : "spr-w-full"]),
|
|
16013
16025
|
"aria-id": t.hasMaxWidth ? "tooltip-full-width-wrapper" : "tooltip-wrapper",
|
|
16014
16026
|
placement: a(s),
|
|
16015
|
-
"show-triggers": [
|
|
16016
|
-
"hide-triggers": [
|
|
16017
|
-
distance: t.distance
|
|
16027
|
+
"show-triggers": Array.isArray(t.showTriggers) ? t.showTriggers.flat().map((i) => i) : [t.showTriggers],
|
|
16028
|
+
"hide-triggers": Array.isArray(t.hideTriggers) ? t.hideTriggers.flat().map((i) => i) : [t.hideTriggers],
|
|
16029
|
+
distance: t.distance,
|
|
16030
|
+
"handle-resize": "",
|
|
16031
|
+
"auto-hide": t.autoHide
|
|
16018
16032
|
}, {
|
|
16019
16033
|
popper: Z(() => [
|
|
16020
16034
|
t.text ? (p(), y("span", g8, J(t.text), 1)) : z("", !0),
|
|
@@ -16024,7 +16038,7 @@ const V5 = ["white", "dark", "gray", "green"], Q5 = [
|
|
|
16024
16038
|
se(n.$slots, "default")
|
|
16025
16039
|
]),
|
|
16026
16040
|
_: 3
|
|
16027
|
-
}, 8, ["class", "aria-id", "placement", "distance"])) : se(n.$slots, "default", { key: 1 });
|
|
16041
|
+
}, 8, ["class", "aria-id", "placement", "show-triggers", "hide-triggers", "distance", "auto-hide"])) : se(n.$slots, "default", { key: 1 });
|
|
16028
16042
|
}
|
|
16029
16043
|
}), f8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16030
16044
|
__proto__: null,
|
|
@@ -20150,7 +20164,7 @@ const Cg = (e) => ({
|
|
|
20150
20164
|
}), lh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20151
20165
|
__proto__: null,
|
|
20152
20166
|
default: ih
|
|
20153
|
-
}, Symbol.toStringTag, { value: "Module" })), uh = "design-system-next", dh = "2.11.
|
|
20167
|
+
}, Symbol.toStringTag, { value: "Module" })), uh = "design-system-next", dh = "2.11.20", ch = "./dist/design-system-next.umd.js", ph = "./dist/design-system-next.es.js", gh = { type: "git", url: "https://dev.azure.com/sproutphil/Sprout%20Design%20System/_git/Sprout%20Design%20System%20Next" }, fh = "module", hh = ["dist", "dist/", "src/", "README.md", "LICENSE"], vh = { ".": { import: "./dist/design-system-next.es.js", require: "./dist/design-system-next.umd.js" }, "./style.css": "./dist/main.css" }, yh = { dev: "vite", build: "vue-tsc && vite build", "watch-build": "vue-tsc && vite build --watch", types: "vue-tsc", preview: "vite preview", "lint:script": 'eslint "**/*.{js,ts,vue}"', "lint:style": 'stylelint "**/*.{vue,css}"', "fix:style": 'stylelint --fix "**/*.{vue,css}"', lint: "npm run lint:script && npm run lint:style", prepublishOnly: "npm run build", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:serve": "vitepress serve docs", "docs:preview": "vitepress preview docs", clean: "rm -rf node_modules dist coverage package-lock.json && npm install" }, Ch = { "@cloudinary/url-gen": "^1.21.0", "@eslint/js": "^9.17.0", "@iconify-icons/ph": "^1.2.5", "@iconify/vue": "^4.3.0", classnames: "^2.5.1", "countries-list": "^3.1.1", dayjs: "^1.11.13", "floating-vue": "^5.2.2", "libphonenumber-js": "^1.12.5", lodash: "^4.17.21", pinia: "^2.3.1", stylelint: "^16.12.0", "stylelint-config-recess-order": "^5.1.1", "stylelint-config-recommended": "^14.0.1", "stylelint-config-recommended-vue": "^1.5.0", "typescript-eslint": "^8.19.1", "vite-plugin-sass": "^0.1.0", vue: "^3.0.0" }, mh = { "@stylistic/stylelint-plugin": "^3.1.1", "@types/node": "^22.10.5", "@vitejs/plugin-vue": "^5.2.1", autoprefixer: "^10.4.20", eslint: "^9.17.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-vue": "^9.32.0", prettier: "^3.4.2", "prettier-plugin-tailwindcss": "^0.6.9", "rollup-plugin-gzip": "^4.0.1", "sass-embedded": "^1.83.1", tailwindcss: "^3.4.17", typescript: "~5.7.2", "unplugin-vue-components": "^28.0.0", vite: "^6.0.7", "vite-plugin-dts": "^4.4.0", "vite-tsconfig-paths": "^5.1.4", vitepress: "^1.5.0", "vue-eslint-parser": "^9.4.3", "vue-tsc": "^2.2.0" }, Mh = { vue: "^3.0.0" }, bh = { node: ">=20.0.0", npm: ">=10.0.0" }, Nh = {
|
|
20154
20168
|
name: uh,
|
|
20155
20169
|
private: !1,
|
|
20156
20170
|
version: dh,
|
|
Binary file
|