@dialpad/dialtone-vue 2.103.1 → 2.104.0
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/CHANGELOG.json +1 -1
- package/CHANGELOG.md +24 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +6 -6
- package/dist/dialtone-vue.js +1848 -3465
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +4 -3
- package/dist/emoji-098966fd.js +911 -0
- package/dist/emoji-d5a5af5e.cjs +1 -0
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +26 -24
- package/dist/style.css +1 -1
- package/dist/tooltip-da61b649.cjs +1 -0
- package/dist/tooltip-fceff4af.js +706 -0
- package/dist/types/common/storybook_utils.d.ts.map +1 -1
- package/dist/types/components/avatar/avatar.vue.d.ts +1 -1
- package/dist/types/components/button/button.vue.d.ts +1 -1
- package/dist/types/components/chip/chip.vue.d.ts +1 -1
- package/dist/types/components/description_list/description_list.vue.d.ts +98 -0
- package/dist/types/components/description_list/description_list.vue.d.ts.map +1 -0
- package/dist/types/components/description_list/description_list_constants.d.ts +2 -0
- package/dist/types/components/description_list/description_list_constants.d.ts.map +1 -0
- package/dist/types/components/description_list/description_list_validators.d.ts +2 -0
- package/dist/types/components/description_list/description_list_validators.d.ts.map +1 -0
- package/dist/types/components/description_list/index.d.ts +3 -0
- package/dist/types/components/description_list/index.d.ts.map +1 -0
- package/dist/types/components/icon/icon.vue.d.ts +16 -2
- package/dist/types/components/icon/icon.vue.d.ts.map +1 -1
- package/dist/types/components/icon/icon_constants.d.ts +0 -2
- package/dist/types/components/icon/icon_constants.d.ts.map +1 -1
- package/dist/types/components/input/input.vue.d.ts +1 -1
- package/dist/types/components/modal/modal.vue.d.ts +1 -1
- package/dist/types/components/root_layout/root_layout.vue.d.ts +2 -2
- package/dist/types/components/toast/toast.vue.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip_variants.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -1
- package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
- package/package.json +8 -4
- package/dist/emoji-9ef04a92.cjs +0 -1
- package/dist/emoji-efd28b85.js +0 -58697
- package/dist/tooltip-92c086de.js +0 -2544
- package/dist/tooltip-9b93ec5a.cjs +0 -25
- package/dist/types/components/plugins/fixDefaultSlot.d.ts +0 -5
- package/dist/types/components/plugins/fixDefaultSlot.d.ts.map +0 -1
package/dist/directives.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./tooltip-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./tooltip-da61b649.cjs");require("/home/runner/work/dialtone-vue/dialtone-vue/node_modules/tippy.js/dist/tippy.esm.js");require("vue");require("./_plugin-vue2_normalizer-d59b995e.cjs");const u={name:"dt-tooltip-directive",install(l){const p=document.createElement("div");document.body.appendChild(p);const n="top",r=new l({name:"DtTooltipDirectiveApp",components:{DtTooltip:i.DtTooltip},data(){return{tooltips:[]}},methods:{addTooltip(t,e,o){this.tooltips.push({id:t,message:e,placement:o})},removeTooltip(t){this.tooltips=this.tooltips.filter(e=>e.id!==t)}},render(t){return t("div",{domProps:{id:"dt-tooltip-directive-app"}},[this.tooltips.map(({id:e,message:o,placement:d})=>t(i.DtTooltip,{key:e,props:{message:o,placement:d,delay:process.env.NODE_ENV!=="test",externalAnchor:`[data-dt-tooltip-id="${e}"]`}}))])}});r.$mount(p);const s=t=>typeof t=="string"&&(t==null?void 0:t.trim()),a=t=>t===void 0||i.TOOLTIP_DIRECTIONS.includes(t);l.directive("dt-tooltip",{bind(t,e){if(!s(e.value)){console.warn("Missing value for v-dt-tooltip directive on: ",t,"received value: ",e.value);return}if(!a(e.arg)){console.warn("Wrong placement value provided for v-dt-tooltip directive on: ",t,"received value: ",e.arg);return}const o=i.getUniqueString(),d=e.value,c=e.arg||n;t.setAttribute("data-dt-tooltip-id",o),r.addTooltip(o,d,c)},unbind(t){r.removeTooltip(t.getAttribute("data-dt-tooltip-id"))}})}};exports.DtTooltipDirective=u;
|
package/dist/directives.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { D as n, g as m, T as v } from "./tooltip-
|
|
1
|
+
import { D as n, g as m, T as v } from "./tooltip-fceff4af.js";
|
|
2
|
+
import "/home/runner/work/dialtone-vue/dialtone-vue/node_modules/tippy.js/dist/tippy.esm.js";
|
|
2
3
|
import "vue";
|
|
3
4
|
import "./_plugin-vue2_normalizer-71e2aa87.js";
|
|
4
|
-
const
|
|
5
|
+
const g = {
|
|
5
6
|
name: "dt-tooltip-directive",
|
|
6
7
|
install(p) {
|
|
7
8
|
const d = document.createElement("div");
|
|
@@ -77,5 +78,5 @@ const f = {
|
|
|
77
78
|
}
|
|
78
79
|
};
|
|
79
80
|
export {
|
|
80
|
-
|
|
81
|
+
g as DtTooltipDirective
|
|
81
82
|
};
|