@bwui/css 0.1.5 → 0.1.6

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.
@@ -3626,6 +3626,10 @@ a:hover {
3626
3626
  }
3627
3627
  .bw-form__actions {
3628
3628
  display: flex;
3629
+ /* .bw-btn is white-space: nowrap (0.1.5, "a label stays on one line"), so a
3630
+ * row of buttons cannot shrink; it wraps onto further lines instead of
3631
+ * widening the document at narrow widths (icvoss/brickwork#52). */
3632
+ flex-wrap: wrap;
3629
3633
  align-items: center;
3630
3634
  gap: var(--bw-space-3);
3631
3635
  margin-block-start: var(--bw-space-2);
@@ -4977,6 +4981,7 @@ button.bw-account-menu__item {
4977
4981
  }
4978
4982
  .bw-filter-bar__actions {
4979
4983
  display: flex;
4984
+ flex-wrap: wrap;
4980
4985
  align-items: center;
4981
4986
  gap: var(--bw-space-2);
4982
4987
  }
@@ -6997,6 +7002,7 @@ a.bw-ranked-list__row:focus-visible .bw-ranked-list__label {
6997
7002
  * render nothing at the template, so no :empty rule is needed. */
6998
7003
  .bw-modal__footer {
6999
7004
  display: flex;
7005
+ flex-wrap: wrap;
7000
7006
  align-items: center;
7001
7007
  justify-content: flex-end;
7002
7008
  gap: var(--bw-space-3);
@@ -7207,6 +7213,7 @@ a.bw-ranked-list__row:focus-visible .bw-ranked-list__label {
7207
7213
  }
7208
7214
  .bw-slide-over__footer {
7209
7215
  display: flex;
7216
+ flex-wrap: wrap;
7210
7217
  align-items: center;
7211
7218
  justify-content: flex-end;
7212
7219
  gap: var(--bw-space-3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bwui/css",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Framework-agnostic Brickwork primitives and component classes. Consumes @bwui/tokens and works with plain HTML, Django, or any framework — no JavaScript required.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,7 +21,7 @@
21
21
  "./src/*": "./src/*"
22
22
  },
23
23
  "dependencies": {
24
- "@bwui/tokens": "0.1.5"
24
+ "@bwui/tokens": "0.1.6"
25
25
  },
26
26
  "devDependencies": {
27
27
  "tsx": "^4.19.2"
@@ -406,6 +406,10 @@
406
406
  }
407
407
  .bw-form__actions {
408
408
  display: flex;
409
+ /* .bw-btn is white-space: nowrap (0.1.5, "a label stays on one line"), so a
410
+ * row of buttons cannot shrink; it wraps onto further lines instead of
411
+ * widening the document at narrow widths (icvoss/brickwork#52). */
412
+ flex-wrap: wrap;
409
413
  align-items: center;
410
414
  gap: var(--bw-space-3);
411
415
  margin-block-start: var(--bw-space-2);
@@ -1757,6 +1761,7 @@ button.bw-account-menu__item {
1757
1761
  }
1758
1762
  .bw-filter-bar__actions {
1759
1763
  display: flex;
1764
+ flex-wrap: wrap;
1760
1765
  align-items: center;
1761
1766
  gap: var(--bw-space-2);
1762
1767
  }
@@ -3777,6 +3782,7 @@ a.bw-ranked-list__row:focus-visible .bw-ranked-list__label {
3777
3782
  * render nothing at the template, so no :empty rule is needed. */
3778
3783
  .bw-modal__footer {
3779
3784
  display: flex;
3785
+ flex-wrap: wrap;
3780
3786
  align-items: center;
3781
3787
  justify-content: flex-end;
3782
3788
  gap: var(--bw-space-3);
@@ -3987,6 +3993,7 @@ a.bw-ranked-list__row:focus-visible .bw-ranked-list__label {
3987
3993
  }
3988
3994
  .bw-slide-over__footer {
3989
3995
  display: flex;
3996
+ flex-wrap: wrap;
3990
3997
  align-items: center;
3991
3998
  justify-content: flex-end;
3992
3999
  gap: var(--bw-space-3);