@milaboratories/uikit 2.3.14 → 2.3.16

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": "@milaboratories/uikit",
3
- "version": "2.3.14",
3
+ "version": "2.3.16",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "d3": "^7.9.0",
26
26
  "resize-observer-polyfill": "^1.5.1",
27
27
  "@milaboratories/helpers": "^1.6.18",
28
- "@platforma-sdk/model": "^1.40.5"
28
+ "@platforma-sdk/model": "^1.41.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@vitejs/plugin-vue": "^5.2.3",
@@ -35,9 +35,9 @@
35
35
  "vue-tsc": "^2.2.10",
36
36
  "yarpm": "^1.2.0",
37
37
  "svgo": "^3.3.2",
38
- "@milaboratories/ts-configs": "1.0.4",
39
38
  "@milaboratories/build-configs": "1.0.4",
40
- "@milaboratories/eslint-config": "^1.0.4"
39
+ "@milaboratories/eslint-config": "^1.0.4",
40
+ "@milaboratories/ts-configs": "1.0.4"
41
41
  },
42
42
  "scripts": {
43
43
  "dev": "vite",
@@ -12,9 +12,9 @@ import PlCloseModalBtn from '../../utils/PlCloseModalBtn.vue';
12
12
  import type { Size } from '../../types';
13
13
 
14
14
  const slots = defineSlots<{
15
- title: () => unknown;
16
- default: () => unknown;
17
- actions: () => unknown;
15
+ title?: () => unknown;
16
+ default?: () => unknown;
17
+ actions?: () => unknown;
18
18
  }>();
19
19
 
20
20
  const emit = defineEmits(['update:modelValue']);
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExpandTransition.vue.js","sources":["../../../src/components/PlAccordion/ExpandTransition.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nconst onStart = (el: Element) => {\n el.classList.add('expand-collapse-fix');\n (el as HTMLElement).style.setProperty('--component-height', el.scrollHeight + 'px');\n};\n\nconst onAfter = (el: Element) => {\n (el as HTMLElement).style.removeProperty('--component-height');\n el.classList.remove('expand-collapse-fix');\n};\n</script>\n\n<template>\n <Transition name=\"expand-collapse\" @enter=\"onStart\" @leave=\"onStart\" @after-enter=\"onAfter\" @after-leave=\"onAfter\">\n <slot/>\n </Transition>\n</template>\n\n<style>\n.expand-collapse-fix {\n overflow: hidden;\n}\n\n.expand-collapse-enter-active,\n.expand-collapse-leave-active {\n transition:\n height 0.2s ease-in-out,\n opacity 0.2s ease-in-out;\n height: var(--component-height);\n}\n\n.expand-collapse-enter-from,\n.expand-collapse-leave-to {\n opacity: 0.5;\n height: 0;\n}\n</style>\n"],"names":["onStart","el","onAfter"],"mappings":";;;;AACM,UAAAA,IAAU,CAACC,MAAgB;AAC5B,MAAAA,EAAA,UAAU,IAAI,qBAAqB,GACrCA,EAAmB,MAAM,YAAY,sBAAsBA,EAAG,eAAe,IAAI;AAAA,IACpF,GAEMC,IAAU,CAACD,MAAgB;AAC9B,MAAAA,EAAmB,MAAM,eAAe,oBAAoB,GAC1DA,EAAA,UAAU,OAAO,qBAAqB;AAAA,IAC3C;;;;;;;;;;;;;;;"}