@club-employes/utopia 4.440.0 → 4.441.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.
@@ -7,4 +7,6 @@ export interface MfePageProps {
7
7
  shyHeader?: ShyHeaderMode;
8
8
  maxWidth?: string;
9
9
  footerVariant?: FooterVariant;
10
+ /** Transmis au PageHeader : titre et actions restent côte à côte sur mobile. @default false */
11
+ inlineActions?: boolean;
10
12
  }
@@ -12,6 +12,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
12
  declare const __VLS_component: DefineComponent<PageHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PageHeaderProps> & Readonly<{}>, {
13
13
  title: string;
14
14
  intro: string;
15
+ inlineActions: boolean;
15
16
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
16
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
18
  export default _default;
@@ -1,4 +1,10 @@
1
1
  export interface PageHeaderProps {
2
2
  title: string;
3
3
  intro?: string;
4
+ /**
5
+ * Garde titre et actions côte à côte sous 1024 px (titre et sous-titre à gauche, actions collées à
6
+ * droite) au lieu d'empiler les actions centrées sous le titre. Pour des actions compactes (boutons
7
+ * icône, compteur + export). @default false
8
+ */
9
+ inlineActions?: boolean;
4
10
  }
@@ -10,5 +10,8 @@ declare const _default: DefineComponent<TabsProps, {}, {}, {}, {}, ComponentOpti
10
10
  ariaLabel: string;
11
11
  modelValue: string;
12
12
  fullWidth: boolean;
13
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ mobileLayout: "stack" | "scroll";
14
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
15
+ scrollerRef: HTMLDivElement;
16
+ }, HTMLDivElement>;
14
17
  export default _default;
@@ -2,6 +2,11 @@ import { IconSize } from '../../atoms/Icon';
2
2
  export interface TabsProps {
3
3
  modelValue: string;
4
4
  fullWidth?: boolean;
5
+ /**
6
+ * Rendu sous 768 px : `'stack'` empile les onglets (historique), `'scroll'` les garde sur une ligne
7
+ * avec défilement horizontal (l'onglet actif est ramené dans la vue). @default 'stack'
8
+ */
9
+ mobileLayout?: 'stack' | 'scroll';
5
10
  ariaLabel?: string;
6
11
  isDisabled?: boolean;
7
12
  tabs: TabProps[];