@meistrari/tela-build 1.79.3 → 1.81.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,6 +2,13 @@
2
2
 
3
3
  Latest updates and announcements.
4
4
 
5
+ ## October 6, 2026
6
+
7
+ - [Dropdown Menu](/components/dropdown-menu), [Multiple Select](/components/multiple-select) and Date Range Picker content scale in from their trigger again. They are built on `radix-vue`, which sets `--radix-*-content-transform-origin`, but read the `--reka-*` variable instead and animated from their center.
8
+ - [Dropdown Menu](/components/dropdown-menu) items no longer accept `color="positive"`; leave `color` unset for the default style. `TelaSidebarUser` and [Header](/components/header) trailing actions follow suit, and `TelaSidebarUser` action `color` is now optional.
9
+ - `TelaTransparentInput` input text is lighter (580 → 540), its focus underline uses the `border-strong` token instead of `gray-300`, and errors use `text-error` instead of `red-900`.
10
+ - [Typography](/typography) `body-20-*` (and the `3xl` font size) is tighter: line height 32 → 24px and letter spacing -0.2 → -0.55px.
11
+
5
12
  ## October 5, 2026
6
13
 
7
14
  - [Floating chat](/templates/chat#floating) adds `position="left" | "right"` (default `right`) to place the launcher and panel in either bottom corner, with matching alignment and mirrored open/close animations.
@@ -115,7 +115,7 @@ const defaultLabel = computed(() => {
115
115
  rounded-xl
116
116
  bg-white
117
117
  shadow-lg
118
- class="popover-enter-exit origin-[var(--reka-date-range-picker-content-transform-origin)] will-change-[transform,opacity]"
118
+ class="popover-enter-exit origin-[var(--radix-popover-content-transform-origin)] will-change-[transform,opacity]"
119
119
  >
120
120
  <DateRangePickerArrow fill-white />
121
121
  <DateRangePickerCalendar
@@ -16,7 +16,7 @@ const props = withDefaults(defineProps<{
16
16
  iconSide?: 'left' | 'right'
17
17
  trailingIcon?: string
18
18
  group?: string
19
- color?: 'positive' | 'caution' | 'negative'
19
+ color?: 'caution' | 'negative'
20
20
  click: () => void
21
21
  disabled?: boolean
22
22
  preventClose?: boolean
@@ -30,7 +30,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
30
30
  <DropdownMenuContent
31
31
  :data-tela-escape-layer="escapeLayer ? '' : undefined"
32
32
  v-bind="forwarded"
33
- :class="cn('DropdownMenuContent popover-enter-exit origin-[var(--reka-dropdown-menu-content-transform-origin)] z-50 min-w-60 overflow-hidden rounded-2xl border-[0.5px] border-gray-300 bg-white-1000 p-1 shadow-sm', props.class)"
33
+ :class="cn('DropdownMenuContent popover-enter-exit origin-[var(--radix-dropdown-menu-content-transform-origin)] z-50 min-w-60 overflow-hidden rounded-2xl border-[0.5px] border-gray-300 bg-white-1000 p-1 shadow-sm', props.class)"
34
34
  >
35
35
  <slot />
36
36
  </DropdownMenuContent>
@@ -17,7 +17,7 @@ const props = defineProps<DropdownMenuItemProps & {
17
17
  size?: string
18
18
  backgroundClass?: string
19
19
  }
20
- color?: 'positive' | 'caution' | 'negative'
20
+ color?: 'caution' | 'negative'
21
21
  checkbox?: {
22
22
  modelValue: boolean
23
23
  onChange: (value: boolean) => void
@@ -27,8 +27,7 @@ const props = defineProps<DropdownMenuItemProps & {
27
27
 
28
28
  function getItemClasses(color?: typeof props.color) {
29
29
  const itemClasses: Record<string, string> = {
30
- default: 'focus:bg-gray-100 text-gray-900',
31
- positive: 'focus:bg-gray-100 text-positive',
30
+ default: 'focus:bg-muted text-primary',
32
31
  caution: 'focus:bg-amber-50 text-amber-500',
33
32
  negative: 'focus:bg-red-100 text-red-500',
34
33
  }
@@ -38,8 +37,7 @@ function getItemClasses(color?: typeof props.color) {
38
37
 
39
38
  function getIconClasses(color?: typeof props.color) {
40
39
  const iconClasses: Record<string, string> = {
41
- default: 'text-gray-500',
42
- positive: 'text-positive',
40
+ default: 'text-icon-secondary',
43
41
  caution: 'text-caution',
44
42
  negative: 'text-red-500',
45
43
  }
@@ -104,7 +102,7 @@ const isIconImage = computed(() => {
104
102
  :class="cn(
105
103
  'group outline-none',
106
104
  'relative flex gap-10px cursor-pointer select-none items-center rounded-xl px-3 py-1.5',
107
- 'text-body-14-medium font-460 outline-none focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-40',
105
+ 'text-body-14-medium font-460 outline-none focus:bg-muted data-[disabled]:pointer-events-none data-[disabled]:opacity-40',
108
106
  inset && 'pl-8',
109
107
  props.class,
110
108
  )"
@@ -125,7 +123,7 @@ const isIconImage = computed(() => {
125
123
  :class="cn(
126
124
  'group outline-none',
127
125
  'relative flex gap-10px cursor-pointer select-none items-center rounded-xl px-3 py-1.5',
128
- 'outline-none focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-40',
126
+ 'outline-none focus:bg-muted data-[disabled]:pointer-events-none data-[disabled]:opacity-40',
129
127
  getItemClasses(props.color),
130
128
  inset && 'pl-8',
131
129
  props.class,
@@ -270,7 +270,7 @@ Three-dot dropdown menu for contextual actions.
270
270
  interface Item {
271
271
  label: string
272
272
  icon: string
273
- color?: 'positive' | 'caution' | 'negative'
273
+ color?: 'caution' | 'negative'
274
274
  click: () => void
275
275
  disabled?: boolean
276
276
  }
@@ -2,7 +2,7 @@
2
2
  interface Item {
3
3
  label: string
4
4
  icon: string
5
- color?: 'positive' | 'caution' | 'negative'
5
+ color?: 'caution' | 'negative'
6
6
  click: () => void
7
7
  disabled?: boolean
8
8
  }
@@ -484,7 +484,7 @@ function handleSearchKeydown(e: KeyboardEvent) {
484
484
 
485
485
  <SelectPortal>
486
486
  <SelectContent
487
- class="SelectContent popover-enter-exit origin-[var(--reka-select-content-transform-origin)] bg-white rounded-10px"
487
+ class="SelectContent popover-enter-exit origin-[var(--radix-select-content-transform-origin)] bg-white rounded-10px"
488
488
  flying-shadow
489
489
  b="0.5px border" overflow-hidden
490
490
  :side-offset="4"
@@ -6,7 +6,7 @@ defineProps<{
6
6
  actions: {
7
7
  label: string
8
8
  icon: string
9
- color: 'positive' | 'caution' | 'negative'
9
+ color?: 'caution' | 'negative'
10
10
  onClick: () => void
11
11
  }[]
12
12
  }>()
@@ -192,7 +192,7 @@ interface TelaSidebarUserProps {
192
192
  actions: {
193
193
  label: string
194
194
  icon: string
195
- color: 'positive' | 'caution' | 'negative'
195
+ color?: 'caution' | 'negative' // Omit for the default style
196
196
  onClick: () => void
197
197
  }[]
198
198
  }
@@ -130,7 +130,7 @@ onUnmounted(() => {
130
130
  :disabled="disabled || (displayIcon && !isEditing)"
131
131
  bg-transparent
132
132
  :class="[
133
- { 'font-580 text-18px': !disableDefaultStyling },
133
+ { 'font-540 text-18px': !disableDefaultStyling },
134
134
  disabled ? 'opacity-50 cursor-not-allowed' : '',
135
135
  inputClass,
136
136
  ]"
@@ -151,13 +151,13 @@ onUnmounted(() => {
151
151
  <div
152
152
  v-if="isEditing"
153
153
  absolute
154
- class="bg-gray-300"
154
+ class="bg-border-strong"
155
155
  op-0
156
156
  left-0 right-0 bottom--2px h-1px
157
157
  group-focus-within:op-100
158
158
  transition
159
159
  />
160
- <div v-if="error" top-2.5rem absolute font-medium text-red-900 text-8px bottom--12px flex items-center gap-3px whitespace-nowrap>
160
+ <div v-if="error" top-2.5rem absolute font-medium text-error text-8px bottom--12px flex items-center gap-3px whitespace-nowrap>
161
161
  <div i-ph-info />
162
162
  <span>{{ error }}</span>
163
163
  </div>
@@ -2,7 +2,8 @@
2
2
  * Shared enter/exit animation for anchored overlay content (popover, combobox,
3
3
  * select menu, dropdown, menubar). Add `popover-enter-exit` to the content
4
4
  * element with an `origin-[var(--reka-*-content-transform-origin)]` class so
5
- * the scale animates from the anchor side.
5
+ * the scale animates from the anchor side. Components built on `radix-vue`
6
+ * read `--radix-*-content-transform-origin` instead.
6
7
  */
7
8
  .popover-enter-exit[data-state="open"] {
8
9
  animation: slideDownAndFade 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
@@ -23,7 +23,7 @@ Each body size has `regular` and `medium` variants — regular for reading text,
23
23
 
24
24
  | Token | Size / Line height | Usage | Pairs with |
25
25
  | ------------------------------------ | ------------------ | ------------------------------ | -------------------- |
26
- | `body-20-regular` / `body-20-medium` | 20px / 32px | Long-form intros | `heading-h1` |
26
+ | `body-20-regular` / `body-20-medium` | 20px / 24px | Long-form intros | `heading-h1` |
27
27
  | `body-16-regular` / `body-16-medium` | 16px / 20px | Primary reading text | `heading-h2` |
28
28
  | `body-14-regular` / `body-14-medium` | 14px / 18px | Supporting text, descriptions | `heading-h3` / `h4` |
29
29
  | `body-12-regular` / `body-12-medium` | 12px / 16px | Captions, labels, metadata | `heading-h5` / `h6` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/tela-build",
3
- "version": "1.79.3",
3
+ "version": "1.81.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "app.config.ts",
@@ -416,8 +416,8 @@ const FONT_SIZES: Record<string, [string, FontSizeMetrics]> = {
416
416
  }],
417
417
  // body
418
418
  '3xl': ['20px', {
419
- 'line-height': '32px',
420
- 'letter-spacing': '-0.2px',
419
+ 'line-height': '24px',
420
+ 'letter-spacing': '-0.55px',
421
421
  }],
422
422
  '2xl': ['18px', {
423
423
  'line-height': '24px',