@meistrari/tela-build 1.81.1 → 1.83.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.md
CHANGED
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Latest updates and announcements.
|
|
4
4
|
|
|
5
|
+
## October 8, 2026
|
|
6
|
+
|
|
7
|
+
- [Tooltip](/components/tooltip#multiline-tooltip) multiline is more compact: the title is `body-12-semibold` (was `body-14-semibold`), the description is `neutral-300` (was white at 90%), and the 2px gap between them is gone.
|
|
8
|
+
|
|
5
9
|
## October 7, 2026
|
|
6
10
|
|
|
11
|
+
- [Header](/patterns/header) keeps icon-based step numbers available to screen readers.
|
|
7
12
|
- [Chat](/templates/chat) bodies and conversations no longer use `:has()` selectors to detect the docked prompt input and to place the scroll fog. `TelaChatBody` sets `data-has-prompt-input` on itself, and `TelaChatConversation` marks its scroll-area viewport with `data-chat-conversation-viewport` and `data-scroll-fog`. Every DOM change inside a long conversation re-tested those selectors; in a 3,000-event transcript this cuts style recalculation per streamed text delta from about 17ms to 4ms. Padding, scrollbar insets, and the fog look the same.
|
|
8
13
|
|
|
9
14
|
## October 6, 2026
|
|
@@ -81,6 +86,8 @@ Full-bleed viewers that draw their own header (file previews, detail pages) use
|
|
|
81
86
|
|
|
82
87
|
## September 25, 2026
|
|
83
88
|
|
|
89
|
+
- [Header](/patterns/header) step numbers use the Phosphor `number-circle-*-bold` icons at 16px, colored `icon` (or `icon-tertiary` when disabled), matching the Figma library. Indexes above 9 keep the drawn ring, now in the same color as the number.
|
|
90
|
+
|
|
84
91
|
- [Radio Group](/components/radio-group) and `TelaRadioButton` share one look: `border-strong` border on `bg` (hover `border-accent` on `bg-subtle`), a 5px `neutral-900` border that pops in with a scale animation when checked, and `border`/`bg-muted` when disabled. `TelaRadioButton` now styles its `disabled` state, and `TelaRadioGroup` generates unique ids with `useId()`.
|
|
85
92
|
|
|
86
93
|
## September 24, 2026
|
|
@@ -5,35 +5,37 @@ const props = defineProps<{
|
|
|
5
5
|
disabled?: boolean
|
|
6
6
|
}>()
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
// Full icon names are listed so UnoCSS can extract them statically
|
|
9
|
+
const NUMBER_CIRCLE_ICONS = [
|
|
10
|
+
'i-ph-number-circle-zero-bold',
|
|
11
|
+
'i-ph-number-circle-one-bold',
|
|
12
|
+
'i-ph-number-circle-two-bold',
|
|
13
|
+
'i-ph-number-circle-three-bold',
|
|
14
|
+
'i-ph-number-circle-four-bold',
|
|
15
|
+
'i-ph-number-circle-five-bold',
|
|
16
|
+
'i-ph-number-circle-six-bold',
|
|
17
|
+
'i-ph-number-circle-seven-bold',
|
|
18
|
+
'i-ph-number-circle-eight-bold',
|
|
19
|
+
'i-ph-number-circle-nine-bold',
|
|
20
|
+
]
|
|
15
21
|
|
|
16
|
-
|
|
17
|
-
ring: 'ring-neutral-700',
|
|
18
|
-
text: 'text-primary',
|
|
19
|
-
}
|
|
20
|
-
})
|
|
22
|
+
const iconName = computed(() => NUMBER_CIRCLE_ICONS[props.index])
|
|
21
23
|
|
|
22
|
-
const
|
|
23
|
-
if (props.disabled) {
|
|
24
|
-
return 'text-tertiary select-none'
|
|
25
|
-
}
|
|
24
|
+
const iconColor = computed(() => props.disabled ? 'text-icon-tertiary' : 'text-icon')
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
})
|
|
26
|
+
const textColor = computed(() => props.disabled ? 'text-tertiary select-none' : 'text-primary')
|
|
29
27
|
</script>
|
|
30
28
|
|
|
31
29
|
<template>
|
|
32
30
|
<div flex items-center gap-6px>
|
|
33
|
-
<div size-16px flex items-center justify-center shrink-0>
|
|
31
|
+
<div size-16px flex items-center justify-center shrink-0 :class="iconColor">
|
|
32
|
+
<template v-if="iconName">
|
|
33
|
+
<TelaIcon :name="iconName" size="16px" aria-hidden="true" />
|
|
34
|
+
<span sr-only>{{ index }}</span>
|
|
35
|
+
</template>
|
|
34
36
|
<div
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
v-else
|
|
38
|
+
size-12px flex items-center justify-center shrink-0 rounded-full ring-1.5px ring-current text-8px leading-none font-800
|
|
37
39
|
>
|
|
38
40
|
<span translate-y="-0.2px">{{ index }}</span>
|
|
39
41
|
</div>
|
|
@@ -208,11 +208,11 @@ Container for step indicators with muted background and 12px gap.
|
|
|
208
208
|
|
|
209
209
|
### TelaHeaderCenterStepsItem
|
|
210
210
|
|
|
211
|
-
Individual step with a numbered circle indicator and label.
|
|
211
|
+
Individual step with a numbered circle indicator and label. Indexes 0–9 render the Phosphor `number-circle-*-bold` icon at 16px (`icon`, or `icon-tertiary` when disabled); higher indexes fall back to a drawn ring with the number.
|
|
212
212
|
|
|
213
213
|
| Prop | Type | Default | Description |
|
|
214
214
|
|------|------|---------|-------------|
|
|
215
|
-
| `index` | `number` | - | Step number displayed in the circle |
|
|
215
|
+
| `index` | `number` | - | Step number displayed in the circle (0–9 use the Phosphor icon) |
|
|
216
216
|
| `label` | `string` | - | Step label text |
|
|
217
217
|
| `disabled` | `boolean` | `false` | Dims the step with tertiary colors |
|
|
218
218
|
|
|
@@ -50,14 +50,13 @@ const variantClasses = computed(() => {
|
|
|
50
50
|
v-if="variant === 'multiline' && (title || description)"
|
|
51
51
|
class="max-h-96 overflow-y-auto"
|
|
52
52
|
>
|
|
53
|
-
<h3 v-if="title" body-
|
|
53
|
+
<h3 v-if="title" body-12-semibold text-white>
|
|
54
54
|
{{ title }}
|
|
55
55
|
</h3>
|
|
56
56
|
<p
|
|
57
57
|
v-if="description"
|
|
58
58
|
body-12-regular
|
|
59
|
-
|
|
60
|
-
class="text-white/90"
|
|
59
|
+
text-neutral-300
|
|
61
60
|
>
|
|
62
61
|
{{ description }}
|
|
63
62
|
</p>
|