@dynect/base 0.10.2 → 0.10.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynect/base",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Reusable Nuxt base module — components, composables, utils, plugins and i18n from the Dynect design system.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { toLowerCase } from '../../../utils/function';
3
- import { onBeforeUnmount, onMounted, ref, shallowRef, watch } from 'vue';
3
+ import { onBeforeUnmount, onMounted, ref, shallowRef, useSlots, watch } from 'vue';
4
4
  import { OrgChart } from './main';
5
5
  import { SVG_ICONS, createIconSVG } from './svg-icons';
6
6
  import type { OrgChartNodeData, OrgChartNode } from './types';
@@ -107,7 +107,7 @@
107
107
  <script lang="ts"></script>
108
108
 
109
109
  <script lang="ts" setup>
110
- import { computed, nextTick, ref, watchEffect } from 'vue';
110
+ import { computed, nextTick, ref, useAttrs, watchEffect } from 'vue';
111
111
  import type { HeightT, Position, ToastT, ToastToDismiss, ToasterProps } from './types';
112
112
  import { ToastState } from './state';
113
113
  import Toast from './Toast.vue';
@@ -109,7 +109,7 @@
109
109
  <script setup lang="ts">
110
110
  import { capitalizeFirstLetter, countryList, toLowerCase, toUpperCase } from '../../utils/function';
111
111
  import { useField } from 'vee-validate';
112
- import { computed, nextTick, onMounted, reactive, readonly, ref, watch } from 'vue';
112
+ import { computed, nextTick, onMounted, reactive, readonly, ref, useTemplateRef, watch } from 'vue';
113
113
  import { parsePhoneNumberFromString, type CountryCode, type NumberFormat } from 'libphonenumber-js/max';
114
114
  import { cva } from 'class-variance-authority';
115
115
  import { useState, useId } from 'nuxt/app';