@poadio/app-vue 0.4.0 → 0.4.1

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
@@ -1,5 +1,13 @@
1
1
  # Changelog — @poadio/app-vue
2
2
 
3
+ ## 0.4.1 — 2026-11-30
4
+
5
+ - Les composants suivent la taille de leur case, comme un contrôle Delphi ses bornes : bouton, bascule, bouton à
6
+ options, groupe de boutons et choix segmenté (les boutons se partagent la case, coins de carte au lieu d'une pilule
7
+ géante), zone de texte, groupe de champs, dépôt de fichiers, tableau, fiches, carrousel, message ; listes de
8
+ transfert empilées qui se partagent la hauteur. Les champs d'une ligne gardent leur hauteur (toute la largeur), les
9
+ petits indicateurs leur taille.
10
+
3
11
  ## 0.4.0 — 2026-11-30
4
12
 
5
13
  - Rendu de toutes les propriétés du lot A de l'inspecteur (@poadio/app-core 0.4.0), couleurs du thème en variables
package/app-vue.css CHANGED
@@ -96,8 +96,46 @@ body { font-family: var(--poad-font); font-size: 15px; line-height: 1.5; }
96
96
  .poad-front__item > * { flex: 1 1 auto; min-height: 0; min-width: 0; }
97
97
  /* Visible décoché : absent du front publié ; estompé sur le canevas, pour rester visible et sélectionnable */
98
98
  .poad-front__item.is-hidden { opacity: 0.35; filter: grayscale(0.6); }
99
- .poad-front__item > .poad-button, .poad-front__item > .poad-message, .poad-front__item > .poad-toggle-button { flex: 0 0 auto; align-self: flex-start; }
100
- .poad-front__item > .poad-button.is-block { align-self: stretch; }
99
+ /*
100
+ * Le composant suit la taille de sa case, comme un contrôle Delphi suit ses bornes : on agrandit la case, il grandit.
101
+ * Exceptions voulues : les champs d'une ligne (texte, liste déroulante, nombre, date…) prennent la largeur mais
102
+ * gardent leur hauteur ; les petits indicateurs (case à cocher, pastille, avatar, icône…) gardent leur taille.
103
+ */
104
+ /* Boutons : toute la case, libellé centré */
105
+ .poad-front__item.is-button > .poad-button,
106
+ .poad-front__item.is-toggle-button > .poad-toggle-button { flex: 1 1 auto; align-self: stretch; width: 100%; height: 100%; }
107
+ .poad-front__item.is-toggle-button > .poad-toggle-button { display: flex; }
108
+ .poad-front__item.is-toggle-button > .poad-toggle-button > .poad-button { flex: 1 1 auto; height: 100%; }
109
+ .poad-front__item.is-button > .poad-button, .poad-front__item.is-toggle-button .poad-button, .poad-front__item.is-split-button .poad-split-button > .poad-button, .poad-front__item.is-button-group .poad-button-group > .poad-button { justify-content: center; align-items: center; }
110
+ .poad-front__item.is-split-button > .poad-front__center-v.is-fit { align-items: stretch; }
111
+ .poad-front__item.is-split-button > .poad-front__center-v.is-fit > .poad-split-button { flex: 1 1 auto; display: flex; height: 100%; }
112
+ .poad-front__item.is-split-button .poad-split-button > .poad-button { height: 100%; }
113
+ .poad-front__item.is-split-button .poad-split-button > .poad-button:first-child { flex: 1 1 auto; justify-content: center; }
114
+ /* Groupe de boutons et choix segmenté : les boutons se partagent la case ; coins de carte, pas de pilule géante */
115
+ .poad-front__item.is-button-group > .poad-button-group, .poad-front__item.is-segmented > .poad-segmented { display: flex; align-items: stretch; border-radius: calc(var(--poad-radius) + 4px); }
116
+ .poad-front__item.is-button-group > .poad-button-group > *, .poad-front__item.is-segmented > .poad-segmented > button { flex: 1 1 0; min-width: 0; height: auto; justify-content: center; border-radius: var(--poad-radius); }
117
+ /* ui-core arrondit en pilule avec !important : dans une case agrandie, ce serait un ovale géant */
118
+ .poad-front__item.is-button-group > .poad-button-group.is-pill > .poad-button { border-radius: var(--poad-radius) !important; }
119
+ /* Message : un bandeau qui occupe la case */
120
+ .poad-front__item.is-message > .poad-message { flex: 1 1 auto; align-self: stretch; }
121
+ /* Zone de texte : le champ descend jusqu'en bas de la case */
122
+ .poad-front__item.is-textarea .poad-field__box { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
123
+ .poad-front__item.is-textarea .poad-field__box > textarea { flex: 1 1 auto; height: auto; min-height: 0; }
124
+ /* Groupe de champs, dépôt de fichiers, tableau, fiches, carrousel : leur cadre remplit la case */
125
+ .poad-front__item.is-fieldset .poad-fieldset > .poad-fieldset__box { height: 100%; box-sizing: border-box; }
126
+ .poad-front__item.is-upload > .poad-upload { display: flex; flex-direction: column; }
127
+ .poad-front__item.is-upload .poad-upload__zone { flex: 1 1 auto; min-height: 0; }
128
+ .poad-front__item.is-table > .poad-table > .dt { height: 100%; display: flex; flex-direction: column; box-sizing: border-box; }
129
+ .poad-front__item.is-table > .poad-table > .dt > .dt-scroll { flex: 1 1 auto; min-height: 0; }
130
+ .poad-front__item.is-dataview > .poad-dataview { display: flex; flex-direction: column; }
131
+ .poad-front__item.is-dataview > .poad-dataview > .dv__empty { flex: 1 1 auto; }
132
+ .poad-front__item.is-carousel > .poad-carousel { display: flex; flex-direction: column; }
133
+ .poad-front__item.is-carousel .poad-carousel__wrap { flex: 1 1 auto; min-height: 0; align-items: stretch; }
134
+ .poad-front__item.is-carousel .poad-carousel__view, .poad-front__item.is-carousel .poad-carousel__view > * { height: 100%; }
135
+ /* Listes de transfert empilées : les deux listes se partagent la hauteur, chacune défile */
136
+ .poad-front__item.is-picklist > .poad-picklist.is-stacked { display: flex; flex-direction: column; }
137
+ .poad-front__item.is-picklist .poad-picklist.is-stacked > .poad-picklist__box { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
138
+ .poad-front__item.is-picklist .poad-picklist.is-stacked .poad-picklist__list { flex: 1 1 auto; min-height: 0; overflow: auto; }
101
139
  /* Une case qui affiche un composant : son cadre plein, son contenu qui défile s'il dépasse */
102
140
  .poad-front__fill { height: 100%; min-height: 0; overflow: auto; }
103
141
  .poad-front__fill-field { height: 100%; display: flex; flex-direction: column; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poadio/app-vue",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Vue 3 rendering of the fronts designed in poad, over @poadio/app-core and @poadio/ui-vue: pages, navigation, sign-in with the project users (RLS), the under-construction page, the preview and canvas modes driven by the poad console (iframe, postMessage), and the compiled runtime that the poad engine serves for each front (runtime-dist/).",
5
5
  "license": "MIT",
6
6
  "author": "poad — Stéphane Zuccatti",
@@ -450,8 +450,46 @@ body { font-family: var(--poad-font); font-size: 15px; line-height: 1.5; }
450
450
  .poad-front__item > * { flex: 1 1 auto; min-height: 0; min-width: 0; }
451
451
  /* Visible décoché : absent du front publié ; estompé sur le canevas, pour rester visible et sélectionnable */
452
452
  .poad-front__item.is-hidden { opacity: 0.35; filter: grayscale(0.6); }
453
- .poad-front__item > .poad-button, .poad-front__item > .poad-message, .poad-front__item > .poad-toggle-button { flex: 0 0 auto; align-self: flex-start; }
454
- .poad-front__item > .poad-button.is-block { align-self: stretch; }
453
+ /*
454
+ * Le composant suit la taille de sa case, comme un contrôle Delphi suit ses bornes : on agrandit la case, il grandit.
455
+ * Exceptions voulues : les champs d'une ligne (texte, liste déroulante, nombre, date…) prennent la largeur mais
456
+ * gardent leur hauteur ; les petits indicateurs (case à cocher, pastille, avatar, icône…) gardent leur taille.
457
+ */
458
+ /* Boutons : toute la case, libellé centré */
459
+ .poad-front__item.is-button > .poad-button,
460
+ .poad-front__item.is-toggle-button > .poad-toggle-button { flex: 1 1 auto; align-self: stretch; width: 100%; height: 100%; }
461
+ .poad-front__item.is-toggle-button > .poad-toggle-button { display: flex; }
462
+ .poad-front__item.is-toggle-button > .poad-toggle-button > .poad-button { flex: 1 1 auto; height: 100%; }
463
+ .poad-front__item.is-button > .poad-button, .poad-front__item.is-toggle-button .poad-button, .poad-front__item.is-split-button .poad-split-button > .poad-button, .poad-front__item.is-button-group .poad-button-group > .poad-button { justify-content: center; align-items: center; }
464
+ .poad-front__item.is-split-button > .poad-front__center-v.is-fit { align-items: stretch; }
465
+ .poad-front__item.is-split-button > .poad-front__center-v.is-fit > .poad-split-button { flex: 1 1 auto; display: flex; height: 100%; }
466
+ .poad-front__item.is-split-button .poad-split-button > .poad-button { height: 100%; }
467
+ .poad-front__item.is-split-button .poad-split-button > .poad-button:first-child { flex: 1 1 auto; justify-content: center; }
468
+ /* Groupe de boutons et choix segmenté : les boutons se partagent la case ; coins de carte, pas de pilule géante */
469
+ .poad-front__item.is-button-group > .poad-button-group, .poad-front__item.is-segmented > .poad-segmented { display: flex; align-items: stretch; border-radius: calc(var(--poad-radius) + 4px); }
470
+ .poad-front__item.is-button-group > .poad-button-group > *, .poad-front__item.is-segmented > .poad-segmented > button { flex: 1 1 0; min-width: 0; height: auto; justify-content: center; border-radius: var(--poad-radius); }
471
+ /* ui-core arrondit en pilule avec !important : dans une case agrandie, ce serait un ovale géant */
472
+ .poad-front__item.is-button-group > .poad-button-group.is-pill > .poad-button { border-radius: var(--poad-radius) !important; }
473
+ /* Message : un bandeau qui occupe la case */
474
+ .poad-front__item.is-message > .poad-message { flex: 1 1 auto; align-self: stretch; }
475
+ /* Zone de texte : le champ descend jusqu'en bas de la case */
476
+ .poad-front__item.is-textarea .poad-field__box { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
477
+ .poad-front__item.is-textarea .poad-field__box > textarea { flex: 1 1 auto; height: auto; min-height: 0; }
478
+ /* Groupe de champs, dépôt de fichiers, tableau, fiches, carrousel : leur cadre remplit la case */
479
+ .poad-front__item.is-fieldset .poad-fieldset > .poad-fieldset__box { height: 100%; box-sizing: border-box; }
480
+ .poad-front__item.is-upload > .poad-upload { display: flex; flex-direction: column; }
481
+ .poad-front__item.is-upload .poad-upload__zone { flex: 1 1 auto; min-height: 0; }
482
+ .poad-front__item.is-table > .poad-table > .dt { height: 100%; display: flex; flex-direction: column; box-sizing: border-box; }
483
+ .poad-front__item.is-table > .poad-table > .dt > .dt-scroll { flex: 1 1 auto; min-height: 0; }
484
+ .poad-front__item.is-dataview > .poad-dataview { display: flex; flex-direction: column; }
485
+ .poad-front__item.is-dataview > .poad-dataview > .dv__empty { flex: 1 1 auto; }
486
+ .poad-front__item.is-carousel > .poad-carousel { display: flex; flex-direction: column; }
487
+ .poad-front__item.is-carousel .poad-carousel__wrap { flex: 1 1 auto; min-height: 0; align-items: stretch; }
488
+ .poad-front__item.is-carousel .poad-carousel__view, .poad-front__item.is-carousel .poad-carousel__view > * { height: 100%; }
489
+ /* Listes de transfert empilées : les deux listes se partagent la hauteur, chacune défile */
490
+ .poad-front__item.is-picklist > .poad-picklist.is-stacked { display: flex; flex-direction: column; }
491
+ .poad-front__item.is-picklist .poad-picklist.is-stacked > .poad-picklist__box { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
492
+ .poad-front__item.is-picklist .poad-picklist.is-stacked .poad-picklist__list { flex: 1 1 auto; min-height: 0; overflow: auto; }
455
493
  /* Une case qui affiche un composant : son cadre plein, son contenu qui défile s'il dépasse */
456
494
  .poad-front__fill { height: 100%; min-height: 0; overflow: auto; }
457
495
  .poad-front__fill-field { height: 100%; display: flex; flex-direction: column; }
@@ -1 +1 @@
1
- {"name":"@poadio/app-vue","version":"0.4.0"}
1
+ {"name":"@poadio/app-vue","version":"0.4.1"}