@meistrari/tela-build 1.3.1 → 1.4.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.
@@ -10,8 +10,6 @@ import {
10
10
  } from 'reka-ui'
11
11
  import type { ComboboxContentEmits, ComboboxContentProps } from 'reka-ui'
12
12
 
13
- import { cn } from '@/lib/utils'
14
-
15
13
  const props = withDefaults(
16
14
  defineProps<ComboboxContentProps & { class?: HTMLAttributes['class'], hasAnimate?: boolean, disablePortal?: boolean }>(),
17
15
  {
@@ -317,9 +317,9 @@ const colorValue = computed(() => {
317
317
  </template>
318
318
 
319
319
  <template v-if="name === 'knot'">
320
- <rect x="4.25" y="6" width="1.5" height="16" fill="currentColor" />
321
- <path d="M1 19C2.14286 20.1429 3.85714 21.8571 5 23L9 19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
322
- <circle cx="5" cy="5" r="4.25" fill="white" stroke="currentColor" stroke-width="1.5" />
320
+ <rect x="2.375" y="2.86957" width="0.782609" height="7.65217" fill="currentColor" />
321
+ <path d="M0.75 9.08698C1.32143 9.63356 2.17857 10.4534 2.75 11L4.75 9.08698" stroke="currentColor" stroke-width="0.782609" stroke-linecap="round" stroke-linejoin="round" />
322
+ <path d="M2.75 0.75C3.74827 0.75 4.5 1.5162 4.5 2.3916C4.49983 3.26687 3.74815 4.03223 2.75 4.03223C1.75185 4.03223 1.00017 3.26687 1 2.3916C1 1.5162 1.75173 0.75 2.75 0.75Z" fill="white" stroke="currentColor" stroke-width="0.782609" />
323
323
  </template>
324
324
  </svg>
325
325
  </template>
@@ -192,6 +192,17 @@ function handlePointerDownOutside(event: any) {
192
192
  width: 400px;
193
193
  padding: 24px;
194
194
  animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
195
+
196
+ &[data-state="open"] {
197
+ animation: contentShow 0.12s ease-out forwards;
198
+ overflow: visible;
199
+ }
200
+
201
+ &[data-state="closed"] {
202
+ animation: contentHide 0.12s ease-out forwards;
203
+ animation-delay: 0s;
204
+ }
205
+
195
206
  }
196
207
 
197
208
  .DialogContent:focus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/tela-build",
3
- "version": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "app.config.ts",
@@ -18,6 +18,12 @@
18
18
  "utils"
19
19
  ],
20
20
  "main": "./nuxt.config.ts",
21
+ "scripts": {
22
+ "postinstall": "nuxt prepare",
23
+ "storybook": "storybook dev --port 6006 --no-open",
24
+ "build-storybook": "IGNORE_APPLICATION=true storybook build",
25
+ "generate-docs": "bun scripts/generate-docs.ts"
26
+ },
21
27
  "dependencies": {
22
28
  "@floating-ui/vue": "1.1.5",
23
29
  "@iconify-json/ph": "1.2.2",
@@ -75,11 +81,5 @@
75
81
  "remark-stringify": "11.0.0",
76
82
  "storybook": "8.6.4",
77
83
  "unified": "11.0.0"
78
- },
79
- "scripts": {
80
- "postinstall": "nuxt prepare",
81
- "storybook": "storybook dev --port 6006 --no-open",
82
- "build-storybook": "IGNORE_APPLICATION=true storybook build",
83
- "generate-docs": "bun scripts/generate-docs.ts"
84
84
  }
85
- }
85
+ }