origam 2.37.31 → 2.37.32

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.
@@ -2625,6 +2625,7 @@
2625
2625
  --origam-tabs__item---font-size: var(--origam-font__size---sm);
2626
2626
  --origam-tabs__item---font-weight: var(--origam-font__weight---medium);
2627
2627
  --origam-tabs__item---letter-spacing: var(--origam-font__letterSpacing---wide);
2628
+ --origam-tabs__item---line-height: var(--origam-font__lineHeight---none);
2628
2629
  --origam-tabs__item---text-transform: none;
2629
2630
  --origam-tabs__item---border-radius: var(--origam-radius---none);
2630
2631
  --origam-tabs__item---border-width: var(--origam-border__width---0);
@@ -5667,6 +5668,7 @@
5667
5668
  --origam-tabs__item---font-size: var(--origam-font__size---sm);
5668
5669
  --origam-tabs__item---font-weight: var(--origam-font__weight---medium);
5669
5670
  --origam-tabs__item---letter-spacing: var(--origam-font__letterSpacing---wide);
5671
+ --origam-tabs__item---line-height: var(--origam-font__lineHeight---none);
5670
5672
  --origam-tabs__item---text-transform: none;
5671
5673
  --origam-tabs__item---border-radius: var(--origam-radius---none);
5672
5674
  --origam-tabs__item---border-width: var(--origam-border__width---0);
@@ -2539,6 +2539,7 @@
2539
2539
  --origam-tabs__item---font-size: var(--origam-font__size---sm);
2540
2540
  --origam-tabs__item---font-weight: var(--origam-font__weight---medium);
2541
2541
  --origam-tabs__item---letter-spacing: var(--origam-font__letterSpacing---wide);
2542
+ --origam-tabs__item---line-height: var(--origam-font__lineHeight---none);
2542
2543
  --origam-tabs__item---text-transform: none;
2543
2544
  --origam-tabs__item---border-radius: var(--origam-radius---none);
2544
2545
  --origam-tabs__item---border-width: var(--origam-border__width---0);
@@ -2625,6 +2625,7 @@
2625
2625
  --origam-tabs__item---font-size: var(--origam-font__size---sm);
2626
2626
  --origam-tabs__item---font-weight: var(--origam-font__weight---medium);
2627
2627
  --origam-tabs__item---letter-spacing: var(--origam-font__letterSpacing---wide);
2628
+ --origam-tabs__item---line-height: var(--origam-font__lineHeight---none);
2628
2629
  --origam-tabs__item---text-transform: none;
2629
2630
  --origam-tabs__item---border-radius: var(--origam-radius---none);
2630
2631
  --origam-tabs__item---border-width: var(--origam-border__width---0);
@@ -5667,6 +5668,7 @@
5667
5668
  --origam-tabs__item---font-size: var(--origam-font__size---sm);
5668
5669
  --origam-tabs__item---font-weight: var(--origam-font__weight---medium);
5669
5670
  --origam-tabs__item---letter-spacing: var(--origam-font__letterSpacing---wide);
5671
+ --origam-tabs__item---line-height: var(--origam-font__lineHeight---none);
5670
5672
  --origam-tabs__item---text-transform: none;
5671
5673
  --origam-tabs__item---border-radius: var(--origam-radius---none);
5672
5674
  --origam-tabs__item---border-width: var(--origam-border__width---0);
@@ -2539,6 +2539,7 @@
2539
2539
  --origam-tabs__item---font-size: var(--origam-font__size---sm);
2540
2540
  --origam-tabs__item---font-weight: var(--origam-font__weight---medium);
2541
2541
  --origam-tabs__item---letter-spacing: var(--origam-font__letterSpacing---wide);
2542
+ --origam-tabs__item---line-height: var(--origam-font__lineHeight---none);
2542
2543
  --origam-tabs__item---text-transform: none;
2543
2544
  --origam-tabs__item---border-radius: var(--origam-radius---none);
2544
2545
  --origam-tabs__item---border-width: var(--origam-border__width---0);
@@ -92,6 +92,7 @@ const props = defineProps({
92
92
  fontSize: { type: null, required: false },
93
93
  fontWeight: { type: null, required: false },
94
94
  letterSpacing: { type: null, required: false },
95
+ lineHeight: { type: null, required: false },
95
96
  appendAvatar: { type: String, required: false },
96
97
  appendIcon: { type: null, required: false },
97
98
  prependAvatar: { type: String, required: false },
@@ -203,7 +204,7 @@ defineExpose({
203
204
  font-family: inherit;
204
205
  font-size: var(--origam-tabs__item---font-size, 0.875rem);
205
206
  font-weight: var(--origam-tabs__item---font-weight, 500);
206
- line-height: 1;
207
+ line-height: var(--origam-tabs__item---line-height, 1);
207
208
  letter-spacing: var(--origam-tabs__item---letter-spacing, 0.03125em);
208
209
  text-transform: var(--origam-tabs__item---text-transform, none);
209
210
 
@@ -304,6 +305,7 @@ defineExpose({
304
305
  --origam-tabs__item---font-size: 0.875rem;
305
306
  --origam-tabs__item---font-weight: 500;
306
307
  --origam-tabs__item---letter-spacing: 0.03125em;
308
+ --origam-tabs__item---line-height: 1;
307
309
  --origam-tabs__item---text-transform: none;
308
310
  --origam-tabs__item---color: currentColor;
309
311
  --origam-tabs__item---background-color: transparent;
@@ -21,12 +21,10 @@ import type { TTabVariant } from '../../types/Tabs/tab.type';
21
21
  * `tabindex`) is computed inside the component — consumers only
22
22
  * provide `value` (the canonical identifier) and `disabled`.
23
23
  *
24
- * Typography props (`fontSize`, `fontWeight`, `letterSpacing`) override
25
- * the matching `--origam-tabs__item---*` variables on the tab element.
26
- * `lineHeight` is intentionally excluded — the SCSS hard-codes `line-height: 1`
27
- * with no CSS-var hook.
24
+ * Typography props (`fontSize`, `fontWeight`, `letterSpacing`, `lineHeight`)
25
+ * override the matching `--origam-tabs__item---*` variables on the tab element.
28
26
  */
29
- export interface ITabProps extends ICommonsComponentProps, ITagProps, IGroupItemProps, IColorProps, Pick<ITypographyProps, 'fontSize' | 'fontWeight' | 'letterSpacing'>, IAdjacentProps {
27
+ export interface ITabProps extends ICommonsComponentProps, ITagProps, IGroupItemProps, IColorProps, Pick<ITypographyProps, 'fontSize' | 'fontWeight' | 'letterSpacing' | 'lineHeight'>, IAdjacentProps {
30
28
  tag?: string;
31
29
  /** Text label — used when the `default` slot is not provided. */
32
30
  text?: string;