@cahyo-dimas/freeday 1.11.1 → 1.11.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 +12 -0
- package/README.id.md +1 -1
- package/README.md +1 -1
- package/dist/freeday.bundle.css +5 -0
- package/dist/freeday.css +5 -0
- package/package.json +1 -1
- package/src/components/filterbar.css +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
Semua perubahan penting dicatat di sini. Format longgar mengikuti
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/); tiap versi = git tag.
|
|
5
5
|
|
|
6
|
+
## [1.11.2] — 2026-07-28
|
|
7
|
+
### Fixed
|
|
8
|
+
- **A filter bar docked in a table toolbar no longer loses its alignment (#35).** `.fdy-filterbar`
|
|
9
|
+
(`align-items:flex-end`, for labelled fields) and `.fdy-table-toolbar` (`align-items:center`, for
|
|
10
|
+
bare buttons) are both single-class rules of equal specificity, so composing them on one element
|
|
11
|
+
(`<div class="fdy-table-toolbar fdy-filterbar">`) let whichever came later in the bundle win — the
|
|
12
|
+
toolbar — centring every control and floating the trailing actions ~13px above the inputs beside
|
|
13
|
+
them. Added a `.fdy-table-toolbar.fdy-filterbar` rule (specificity 0,2,0) that settles it toward the
|
|
14
|
+
filterbar's `flex-end`. Additive — only affects elements carrying both classes; standalone toolbars
|
|
15
|
+
and filterbars are untouched. Verified in-browser: the composed bar's controls now share one
|
|
16
|
+
baseline (computed `align-items: flex-end`).
|
|
17
|
+
|
|
6
18
|
## [1.11.1] — 2026-07-28
|
|
7
19
|
### Fixed
|
|
8
20
|
- **Tall modals now scroll their body instead of clipping the footer (#34).** `.fdy-modal` had a
|
package/README.id.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
> **Lebih banyak _free day_ buat dev — UI kit-nya sudah siap pakai.**
|
|
6
6
|
|
|
7
7
|
[](https://cahyo-dimas.github.io/freeday-ui-kit/)
|
|
8
|
-
[](https://github.com/cahyo-dimas/freeday-ui-kit/tree/v1.11.2)
|
|
9
9
|
|
|
10
10
|
UI KIT yang token-driven & framework-agnostic — satu sumber kebenaran untuk warna, tipografi,
|
|
11
11
|
spasi, dan komponen. Blueprint: `docs/superpowers/specs/2026-07-21-freeday-ui-kit-design.md`.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
> **More free days for devs — the UI kit is ready to use.**
|
|
6
6
|
|
|
7
7
|
[](https://cahyo-dimas.github.io/freeday-ui-kit/)
|
|
8
|
-
[](https://github.com/cahyo-dimas/freeday-ui-kit/tree/v1.11.2)
|
|
9
9
|
|
|
10
10
|
A token-driven, framework-agnostic UI kit — one source of truth for color, typography,
|
|
11
11
|
spacing, and components. Blueprint: `docs/superpowers/specs/2026-07-21-freeday-ui-kit-design.md`.
|
package/dist/freeday.bundle.css
CHANGED
|
@@ -971,6 +971,11 @@ a { color: var(--color-primary); }
|
|
|
971
971
|
* --w-grow to absorb the slack; trailing actions align to the controls. Fields are
|
|
972
972
|
* the standard .fdy-field (label above control); wraps gracefully on narrow screens. */
|
|
973
973
|
.fdy-filterbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-3) var(--space-4);}
|
|
974
|
+
/* Composed with a table toolbar (one element, both classes): the fields decide the alignment.
|
|
975
|
+
* `.fdy-table-toolbar` sets align-items:center (right for bare buttons) at equal specificity, and
|
|
976
|
+
* being later in the bundle it would otherwise win — floating labelled fields' neighbours out of line.
|
|
977
|
+
* This 2-class selector (0,2,0) settles it toward the filterbar's flex-end regardless of source order. */
|
|
978
|
+
.fdy-table-toolbar.fdy-filterbar{align-items:flex-end;}
|
|
974
979
|
/* Fields are direct children. Drop the standalone field's 22rem cap; default to the
|
|
975
980
|
* medium column width with no unbounded growth (that's what caused the raggedness). */
|
|
976
981
|
.fdy-filterbar>.fdy-field{max-width:none;flex:0 0 auto;width:12rem;}
|
package/dist/freeday.css
CHANGED
|
@@ -626,6 +626,11 @@ a { color: var(--color-primary); }
|
|
|
626
626
|
* --w-grow to absorb the slack; trailing actions align to the controls. Fields are
|
|
627
627
|
* the standard .fdy-field (label above control); wraps gracefully on narrow screens. */
|
|
628
628
|
.fdy-filterbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-3) var(--space-4);}
|
|
629
|
+
/* Composed with a table toolbar (one element, both classes): the fields decide the alignment.
|
|
630
|
+
* `.fdy-table-toolbar` sets align-items:center (right for bare buttons) at equal specificity, and
|
|
631
|
+
* being later in the bundle it would otherwise win — floating labelled fields' neighbours out of line.
|
|
632
|
+
* This 2-class selector (0,2,0) settles it toward the filterbar's flex-end regardless of source order. */
|
|
633
|
+
.fdy-table-toolbar.fdy-filterbar{align-items:flex-end;}
|
|
629
634
|
/* Fields are direct children. Drop the standalone field's 22rem cap; default to the
|
|
630
635
|
* medium column width with no unbounded growth (that's what caused the raggedness). */
|
|
631
636
|
.fdy-filterbar>.fdy-field{max-width:none;flex:0 0 auto;width:12rem;}
|
package/package.json
CHANGED
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
* --w-grow to absorb the slack; trailing actions align to the controls. Fields are
|
|
6
6
|
* the standard .fdy-field (label above control); wraps gracefully on narrow screens. */
|
|
7
7
|
.fdy-filterbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-3) var(--space-4);}
|
|
8
|
+
/* Composed with a table toolbar (one element, both classes): the fields decide the alignment.
|
|
9
|
+
* `.fdy-table-toolbar` sets align-items:center (right for bare buttons) at equal specificity, and
|
|
10
|
+
* being later in the bundle it would otherwise win — floating labelled fields' neighbours out of line.
|
|
11
|
+
* This 2-class selector (0,2,0) settles it toward the filterbar's flex-end regardless of source order. */
|
|
12
|
+
.fdy-table-toolbar.fdy-filterbar{align-items:flex-end;}
|
|
8
13
|
/* Fields are direct children. Drop the standalone field's 22rem cap; default to the
|
|
9
14
|
* medium column width with no unbounded growth (that's what caused the raggedness). */
|
|
10
15
|
.fdy-filterbar>.fdy-field{max-width:none;flex:0 0 auto;width:12rem;}
|