@quidgest/ui 0.31.1 → 0.31.2

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
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  Entries below start at **0.16.0**. There's a section for every release (major, minor, and patch), including public API breaks with migration steps plus notable Added/Changed/Fixed entries. This file also ships in the npm package.
9
9
 
10
+ ## [0.31.2] - 2026-11-02
11
+
12
+ ### Fixed
13
+
14
+ - `QButton` is never narrower than its minimum height: icon-only buttons, a one-character label, or a width set from outside keep it at least as wide as `--q-button-height`. The `QCarousel` pause button is square again (it was taller than wide)
15
+ - `QField` error icon is centered on the message's capitals in any font and line height (it sat high outside Nunito Sans)
16
+
10
17
  ## [0.31.1] - 2026-10-30
11
18
 
12
19
  ### Added
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.31.1",
2
+ "version": "0.31.2",
3
3
  "components": [
4
4
  {
5
5
  "name": "QAccordion",
@@ -1235,6 +1235,11 @@
1235
1235
  "description": "Plays a ripple effect from the pointer position on click. Opt in with `effect=\"ripple\"` — the default is `'none'`.",
1236
1236
  "code": "<div style=\"display: flex; align-items: center; gap: 0.5rem\">\n\t\t\t\t<q-button label=\"Ripple\" effect=\"ripple\" />\n\t\t\t\t<q-button label=\"None\" />\n\t\t\t</div>"
1237
1237
  },
1238
+ {
1239
+ "title": "Minimum Width",
1240
+ "description": "A button is never narrower than its minimum height: icon-only buttons, a one-character label, and a width set from outside, as a component that places a button might set it.",
1241
+ "code": "<div style=\"display: flex; align-items: center; gap: 0.5rem\">\n\t\t\t\t<q-button size=\"small\" aria-label=\"Done\"><q-icon icon=\"check-circle\" /></q-button>\n\t\t\t\t<q-button aria-label=\"Done\"><q-icon icon=\"check-circle\" /></q-button>\n\t\t\t\t<q-button size=\"large\" aria-label=\"Done\"><q-icon icon=\"check-circle\" /></q-button>\n\t\t\t\t<q-button variant=\"text\" label=\"1\" />\n\t\t\t\t<q-button aria-label=\"Done\" style=\"width: 1.5rem\"><q-icon icon=\"check-circle\" /></q-button>\n\t\t\t</div>"
1242
+ },
1238
1243
  {
1239
1244
  "title": "Size",
1240
1245
  "description": "Local size overrides. Useful for slotting buttons within other components. Combines with the global density toolbar (product = global × size).",
package/dist/ui.css CHANGED
@@ -1903,8 +1903,6 @@ body *::-webkit-scrollbar-track {
1903
1903
  }
1904
1904
  .q-badge__remove.q-button {
1905
1905
  padding: var(--q-control-padding-y-sm);
1906
- min-width: -moz-fit-content;
1907
- min-width: fit-content;
1908
1906
  }
1909
1907
  .q-badge:not(:has(button.q-badge__content)) .q-badge__remove.q-button {
1910
1908
  --q-button-height: calc(var(--q-interactive-height) - (var(--q-border-width, 1px) * 2));
@@ -2275,6 +2273,7 @@ body *::-webkit-scrollbar-track {
2275
2273
  justify-content: center;
2276
2274
  height: var(--q-button-height);
2277
2275
  min-height: var(--q-button-height);
2276
+ min-width: var(--q-button-height);
2278
2277
  overflow: hidden;
2279
2278
  position: relative;
2280
2279
  border-width: var(--q-border-width, 1px);
@@ -2911,16 +2910,19 @@ body *::-webkit-scrollbar-track {
2911
2910
  height: var(--q-carousel-control-icon-size);
2912
2911
  }
2913
2912
 
2914
- /* The pause button, in the bottom corner, below the caption */
2915
- .q-carousel__rotation {
2913
+ /* The pause button, in the bottom corner, below the caption. Sized through QButton's own height,
2914
+ which sets its minimum height and width too: a height set alone left QButton's minimum
2915
+ height, and the button was narrower than tall */
2916
+ .q-carousel__rotation.q-button {
2917
+ --q-button-height: var(--q-carousel-rotation-size);
2916
2918
  top: auto;
2917
2919
  bottom: var(--q-carousel-indicators-bottom);
2918
2920
  left: var(--q-carousel-control-inset);
2919
2921
  transform: none;
2920
- width: var(--q-carousel-rotation-size);
2921
- height: var(--q-carousel-rotation-size);
2922
+ width: var(--q-button-height);
2923
+ height: var(--q-button-height);
2922
2924
  }
2923
- .q-carousel__rotation .q-carousel__control-icon.q-icon {
2925
+ .q-carousel__rotation.q-button .q-carousel__control-icon.q-icon {
2924
2926
  width: var(--q-icon-size-md);
2925
2927
  height: var(--q-icon-size-md);
2926
2928
  }
@@ -3960,7 +3962,7 @@ body *::-webkit-scrollbar-track {
3960
3962
  .q-field__error {
3961
3963
  display: flex;
3962
3964
  gap: var(--q-space-1);
3963
- align-items: flex-start;
3965
+ align-items: baseline;
3964
3966
  margin-top: var(--q-space-1);
3965
3967
  font-size: var(--q-font-size-sm);
3966
3968
  color: var(--q-text-color);
@@ -3971,7 +3973,7 @@ body *::-webkit-scrollbar-track {
3971
3973
  .q-field__error-icon.q-icon {
3972
3974
  flex-shrink: 0;
3973
3975
  color: var(--q-theme-danger);
3974
- translate: 0 -0.05em;
3976
+ translate: 0 calc((var(--q-icon-size-md) - 1cap) / 2);
3975
3977
  }
3976
3978
  .q-field__error-text {
3977
3979
  min-width: 0;
package/dist/ui.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.31.1
2
+ * Quidgest UI v0.31.2
3
3
  * (c) 2026 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */