@jirawatpyk/aura-react 5.40.0 → 5.42.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.
- package/README.md +24 -2
- package/dist/aura.bundle.js +681 -544
- package/dist/cjs/index.cjs +681 -544
- package/dist/esm/AppShell.js +1 -0
- package/dist/esm/FilterBar.js +145 -48
- package/dist/esm/FilterDateRange.js +6 -2
- package/dist/esm/FilterSelect.js +13 -7
- package/dist/esm/Icon.js +1 -1
- package/dist/esm/Menu.js +4 -1
- package/dist/esm/PageHeader.js +4 -0
- package/dist/esm/icons.js +14 -1
- package/dist/esm/internal.js +2 -0
- package/dist/esm/strings.js +5 -0
- package/dist/esm/strings.sv.js +5 -0
- package/dist/esm/strings.th.js +5 -0
- package/dist/icons/index.cjs +14 -1
- package/dist/icons/index.d.cts +2 -1
- package/dist/icons/index.d.ts +2 -1
- package/dist/index.d.cts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/locales/sv.cjs +5 -0
- package/dist/locales/sv.d.cts +6 -0
- package/dist/locales/sv.d.ts +6 -0
- package/dist/locales/th.cjs +5 -0
- package/dist/locales/th.d.cts +6 -0
- package/dist/locales/th.d.ts +6 -0
- package/dist/server/index.cjs +20 -1
- package/dist/server/index.d.cts +11 -1
- package/dist/server/index.d.ts +11 -1
- package/dist/server/index.js +20 -1
- package/dist/styles.css +53 -6
- package/dist/styles.layer.css +53 -6
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -70,10 +70,10 @@ button.aura-btn--creative[aria-disabled='true']:hover { box-shadow: var(--aura-s
|
|
|
70
70
|
.aura-btn--primary:hover { background: var(--aura-button-primary-bg-hover); }
|
|
71
71
|
|
|
72
72
|
.aura-btn--secondary { border: 1px solid var(--aura-button-secondary-border); color: var(--aura-fg-primary); }
|
|
73
|
-
.aura-btn--secondary:hover { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
73
|
+
.aura-btn--secondary:hover, .aura-btn--secondary[aria-haspopup][aria-expanded="true"] { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
74
74
|
/* Destructive: filled for the confirm step, outline beside other actions. Loading keeps the colour (busy, not unavailable). */
|
|
75
75
|
.aura-btn--ghost { color: var(--aura-fg-primary); }
|
|
76
|
-
.aura-btn--ghost:hover { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
76
|
+
.aura-btn--ghost:hover, .aura-btn--ghost[aria-haspopup][aria-expanded="true"] { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
77
77
|
/* size="sm" (4.16): 32px for toolbars, table rows and card footers. On touch the pill stays 32px and a transparent
|
|
78
78
|
* ::after grows the hit area to 44px, as IconButton does. */
|
|
79
79
|
.aura-btn--sm { height: var(--aura-button-height-sm); padding: 0 var(--aura-space-3); gap: 6px; }
|
|
@@ -344,7 +344,7 @@ a.aura-icon-btn { text-decoration: none; }
|
|
|
344
344
|
border: 0; border-radius: var(--aura-radius-full); background: transparent; color: var(--aura-fg-primary);
|
|
345
345
|
cursor: pointer; transition: background var(--aura-duration-fast) var(--aura-ease);
|
|
346
346
|
}
|
|
347
|
-
.aura-icon-btn:hover { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
347
|
+
.aura-icon-btn:hover, .aura-icon-btn[aria-haspopup][aria-expanded="true"] { background: var(--aura-hover, var(--aura-bg-surface-hover)); } /* 5.41 (DxT #22): looks open while its menu shows */
|
|
348
348
|
.aura-icon-btn--danger { color: var(--aura-fg-danger); }
|
|
349
349
|
.aura-icon-btn--danger:hover { background: var(--aura-alert-danger-bg); }
|
|
350
350
|
.aura-icon-btn:disabled { opacity: var(--aura-disabled-opacity); pointer-events: none; }
|
|
@@ -499,7 +499,9 @@ a.aura-icon-btn { text-decoration: none; }
|
|
|
499
499
|
|
|
500
500
|
.aura-input {
|
|
501
501
|
position: relative; box-sizing: border-box; display: flex; align-items: center; width: 100%;
|
|
502
|
-
|
|
502
|
+
/* 5.42 (Chamber-OS 147): a box in a flex row (FilterBar's search) may shrink below its <input>'s 20-character
|
|
503
|
+
* size, which at a large default font (5.40) is wider than a phone. */
|
|
504
|
+
min-width: 0; min-height: var(--aura-input-height);
|
|
503
505
|
background: var(--aura-bg-input); color: var(--aura-fg-primary);
|
|
504
506
|
border: 1px solid var(--aura-border-control); border-radius: var(--aura-radius-md);
|
|
505
507
|
font-family: var(--font-sans); font-size: var(--aura-input-font-size);
|
|
@@ -510,7 +512,10 @@ a.aura-icon-btn { text-decoration: none; }
|
|
|
510
512
|
.aura-input:hover { border-color: var(--aura-fg-secondary); }
|
|
511
513
|
.aura-input:focus-within { outline: var(--aura-focus-ring-width) solid var(--aura-focus-ring); outline-offset: 1px; border-color: var(--aura-border-strong); }
|
|
512
514
|
.aura-input__control {
|
|
513
|
-
|
|
515
|
+
/* 5.42 (Chamber-OS 147): a percentage width makes the control's min-content zero (a compressible control), so a
|
|
516
|
+
* field in a grid cell or flex row never forces it wider than the screen at a large default font; its preferred
|
|
517
|
+
* width is still the 20-character size. */
|
|
518
|
+
flex: 1; width: 100%; min-width: 0; height: calc(var(--aura-input-height) - 2px); padding: 0 var(--aura-space-3);
|
|
514
519
|
border: 0; background: transparent; color: inherit; font: inherit; outline: none;
|
|
515
520
|
appearance: none; -webkit-appearance: none;
|
|
516
521
|
}
|
|
@@ -1124,6 +1129,9 @@ a.aura-tab { text-decoration: none; }
|
|
|
1124
1129
|
.aura-shell__bar--menu-only { display: none; }
|
|
1125
1130
|
}
|
|
1126
1131
|
.aura-shell__bar-content { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--aura-space-3); }
|
|
1132
|
+
/* 5.41 (DxT Monitor #19): a page with its own back arrow marks itself with data-aura-hide-menubutton (on any element)
|
|
1133
|
+
* and the bar drops the menu button, as BottomNav does for data-aura-hide-bottomnav. */
|
|
1134
|
+
:root:has([data-aura-hide-menubutton]) :is(.aura-shell__menu, .aura-shell__bar--no-header) { display: none; } /* with no header the bar would be empty */
|
|
1127
1135
|
.aura-shell__content { flex: 1; min-width: 0; padding: var(--aura-space-6) var(--aura-space-4); }
|
|
1128
1136
|
/* 5.7: <main> takes focus (tabIndex -1) for skip links and "the row you acted on is gone"; a landmark gets no ring. */
|
|
1129
1137
|
.aura-shell__content:focus { outline: none; }
|
|
@@ -1144,6 +1152,20 @@ a.aura-tab { text-decoration: none; }
|
|
|
1144
1152
|
.aura-page-header__breadcrumb { min-width: 0; } /* 5.33 (DxT Monitor #7): Breadcrumb keeps its own type */
|
|
1145
1153
|
.aura-page-header__meta { min-width: 0; font-size: max(13px, .8125rem); line-height: 1.5; color: var(--aura-fg-secondary); overflow-wrap: anywhere; }
|
|
1146
1154
|
.aura-page-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--aura-space-2); }
|
|
1155
|
+
/* 5.41 (DxT Monitor #20): titleHideBelow — the title is visually hidden (still the heading), the breadcrumb and eyebrow
|
|
1156
|
+
* are gone; with no meta line the text block takes no room, so the actions start the header. */
|
|
1157
|
+
@media (max-width: 639.98px) {
|
|
1158
|
+
.aura-page-header--title-hide-below-sm .aura-page-header__title, .aura-page-header--title-hide-below-sm.has-no-meta > .aura-page-header__text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
1159
|
+
.aura-page-header--title-hide-below-sm :is(.aura-page-header__breadcrumb, .aura-page-header__eyebrow) { display: none; }
|
|
1160
|
+
}
|
|
1161
|
+
@media (max-width: 767.98px) {
|
|
1162
|
+
.aura-page-header--title-hide-below-md .aura-page-header__title, .aura-page-header--title-hide-below-md.has-no-meta > .aura-page-header__text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
1163
|
+
.aura-page-header--title-hide-below-md :is(.aura-page-header__breadcrumb, .aura-page-header__eyebrow) { display: none; }
|
|
1164
|
+
}
|
|
1165
|
+
@media (max-width: 1023.98px) {
|
|
1166
|
+
.aura-page-header--title-hide-below-lg .aura-page-header__title, .aura-page-header--title-hide-below-lg.has-no-meta > .aura-page-header__text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
1167
|
+
.aura-page-header--title-hide-below-lg :is(.aura-page-header__breadcrumb, .aura-page-header__eyebrow) { display: none; }
|
|
1168
|
+
}
|
|
1147
1169
|
/* 5.37 (DxT Monitor #17): actionsFullWidthBelow — the actions take the row under the text; their children share
|
|
1148
1170
|
* each line equally (wrapping when a label won't fit), a trigger inside a DropdownMenu, Tooltip or Popover wrapper
|
|
1149
1171
|
* fills it, and icon buttons keep their size. The :has rule is alone so older browsers drop only it. */
|
|
@@ -1770,7 +1792,7 @@ button.aura-stepper__step:hover .aura-stepper__label { text-decoration: underlin
|
|
|
1770
1792
|
}
|
|
1771
1793
|
/* 5.12 searchGrow: the search fills what the controls leave. */
|
|
1772
1794
|
.aura-filterbar--grow .aura-filterbar__search { max-width: none; }
|
|
1773
|
-
.aura-filterbar--grow .aura-filterbar__search ~ .aura-filterbar__spacer { display: none; }
|
|
1795
|
+
.aura-filterbar--grow :is(.aura-filterbar__search, .aura-filterbar__lead:has(> .aura-filterbar__search)) ~ .aura-filterbar__spacer { display: none; }
|
|
1774
1796
|
/* 5.15 (Chamber-OS 92): the search on its own row up to 1024px; controls sharing their row in equal columns. */
|
|
1775
1797
|
@media (max-width: 1023.98px) {
|
|
1776
1798
|
.aura-filterbar--stack-lg .aura-filterbar__search { flex-basis: 100%; max-width: none; }
|
|
@@ -1783,6 +1805,31 @@ button.aura-stepper__step:hover .aura-stepper__label { text-decoration: underlin
|
|
|
1783
1805
|
.aura-filterbar--fill .aura-filterbar__controls > .aura-filterselect .aura-filterselect__chevron { margin-inline-start: auto; }
|
|
1784
1806
|
/* Compact filters sit closer together than full fields. */
|
|
1785
1807
|
.aura-filterbar__controls:has(> .aura-filterselect) { gap: var(--aura-space-2); }
|
|
1808
|
+
/* 5.42 (Chamber-OS 146): collapseBelow — below the breakpoint the controls fold into a "Filters" sheet; the button
|
|
1809
|
+
* shares a row with the search, at its end, as tall as the search (the count and actions wrap below). From the
|
|
1810
|
+
* breakpoint up the search and the hidden button sit in a display: contents box, so the bar lays out as before. */
|
|
1811
|
+
.aura-filterbar__lead { display: contents; }
|
|
1812
|
+
.aura-filterbar__more { display: none; flex: none; height: var(--aura-input-height); }
|
|
1813
|
+
@media (max-width: 639.98px) {
|
|
1814
|
+
.aura-filterbar--collapse-sm > .aura-filterbar__row > .aura-filterbar__controls { display: none; }
|
|
1815
|
+
.aura-filterbar--collapse-sm .aura-filterbar__lead { display: flex; flex: 1 1 100%; min-width: 0; align-items: center; justify-content: flex-end; gap: var(--aura-space-2); }
|
|
1816
|
+
.aura-filterbar--collapse-sm .aura-filterbar__more { display: inline-flex; }
|
|
1817
|
+
.aura-filterbar--collapse-sm .aura-filterbar__search { flex: 1 1 0; min-width: 0; max-width: none; }
|
|
1818
|
+
}
|
|
1819
|
+
@media (max-width: 767.98px) {
|
|
1820
|
+
.aura-filterbar--collapse-md > .aura-filterbar__row > .aura-filterbar__controls { display: none; }
|
|
1821
|
+
.aura-filterbar--collapse-md .aura-filterbar__lead { display: flex; flex: 1 1 100%; min-width: 0; align-items: center; justify-content: flex-end; gap: var(--aura-space-2); }
|
|
1822
|
+
.aura-filterbar--collapse-md .aura-filterbar__more { display: inline-flex; }
|
|
1823
|
+
.aura-filterbar--collapse-md .aura-filterbar__search { flex: 1 1 0; min-width: 0; max-width: none; }
|
|
1824
|
+
}
|
|
1825
|
+
/* The sheet: one control per row at full width, labels showing; a toggle Tag or a Button keeps its own width. */
|
|
1826
|
+
.aura-filterbar--sheet { gap: var(--aura-space-4); }
|
|
1827
|
+
.aura-filterbar--sheet > :is(.aura-tag, .aura-btn, .aura-segmented) { align-self: flex-start; }
|
|
1828
|
+
.aura-filterbar--sheet .aura-filterselect { display: flex; width: 100%; }
|
|
1829
|
+
.aura-filterbar--sheet .aura-filterselect__face { width: 100%; padding-inline: var(--aura-space-3) var(--aura-space-2); font-size: max(16px, 1rem); }
|
|
1830
|
+
.aura-filterbar--sheet .aura-filterselect__name { display: none; }
|
|
1831
|
+
.aura-filterbar--sheet .aura-filterselect__value { font-weight: 400; }
|
|
1832
|
+
.aura-filterbar--sheet .aura-filterselect__chevron { margin-inline-start: auto; width: var(--aura-icon-sm); height: var(--aura-icon-sm); }
|
|
1786
1833
|
|
|
1787
1834
|
/* 5.12 FilterSelect: a compact face — "Status All ▾" — as wide as its words, over Select's machinery and list. */
|
|
1788
1835
|
.aura-filterselect { position: relative; display: inline-flex; width: fit-content; max-width: 100%; vertical-align: middle; font-family: var(--font-sans); }
|
package/dist/styles.layer.css
CHANGED
|
@@ -72,10 +72,10 @@ button.aura-btn--creative[aria-disabled='true']:hover { box-shadow: var(--aura-s
|
|
|
72
72
|
.aura-btn--primary:hover { background: var(--aura-button-primary-bg-hover); }
|
|
73
73
|
|
|
74
74
|
.aura-btn--secondary { border: 1px solid var(--aura-button-secondary-border); color: var(--aura-fg-primary); }
|
|
75
|
-
.aura-btn--secondary:hover { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
75
|
+
.aura-btn--secondary:hover, .aura-btn--secondary[aria-haspopup][aria-expanded="true"] { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
76
76
|
/* Destructive: filled for the confirm step, outline beside other actions. Loading keeps the colour (busy, not unavailable). */
|
|
77
77
|
.aura-btn--ghost { color: var(--aura-fg-primary); }
|
|
78
|
-
.aura-btn--ghost:hover { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
78
|
+
.aura-btn--ghost:hover, .aura-btn--ghost[aria-haspopup][aria-expanded="true"] { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
79
79
|
/* size="sm" (4.16): 32px for toolbars, table rows and card footers. On touch the pill stays 32px and a transparent
|
|
80
80
|
* ::after grows the hit area to 44px, as IconButton does. */
|
|
81
81
|
.aura-btn--sm { height: var(--aura-button-height-sm); padding: 0 var(--aura-space-3); gap: 6px; }
|
|
@@ -346,7 +346,7 @@ a.aura-icon-btn { text-decoration: none; }
|
|
|
346
346
|
border: 0; border-radius: var(--aura-radius-full); background: transparent; color: var(--aura-fg-primary);
|
|
347
347
|
cursor: pointer; transition: background var(--aura-duration-fast) var(--aura-ease);
|
|
348
348
|
}
|
|
349
|
-
.aura-icon-btn:hover { background: var(--aura-hover, var(--aura-bg-surface-hover)); }
|
|
349
|
+
.aura-icon-btn:hover, .aura-icon-btn[aria-haspopup][aria-expanded="true"] { background: var(--aura-hover, var(--aura-bg-surface-hover)); } /* 5.41 (DxT #22): looks open while its menu shows */
|
|
350
350
|
.aura-icon-btn--danger { color: var(--aura-fg-danger); }
|
|
351
351
|
.aura-icon-btn--danger:hover { background: var(--aura-alert-danger-bg); }
|
|
352
352
|
.aura-icon-btn:disabled { opacity: var(--aura-disabled-opacity); pointer-events: none; }
|
|
@@ -501,7 +501,9 @@ a.aura-icon-btn { text-decoration: none; }
|
|
|
501
501
|
|
|
502
502
|
.aura-input {
|
|
503
503
|
position: relative; box-sizing: border-box; display: flex; align-items: center; width: 100%;
|
|
504
|
-
|
|
504
|
+
/* 5.42 (Chamber-OS 147): a box in a flex row (FilterBar's search) may shrink below its <input>'s 20-character
|
|
505
|
+
* size, which at a large default font (5.40) is wider than a phone. */
|
|
506
|
+
min-width: 0; min-height: var(--aura-input-height);
|
|
505
507
|
background: var(--aura-bg-input); color: var(--aura-fg-primary);
|
|
506
508
|
border: 1px solid var(--aura-border-control); border-radius: var(--aura-radius-md);
|
|
507
509
|
font-family: var(--font-sans); font-size: var(--aura-input-font-size);
|
|
@@ -512,7 +514,10 @@ a.aura-icon-btn { text-decoration: none; }
|
|
|
512
514
|
.aura-input:hover { border-color: var(--aura-fg-secondary); }
|
|
513
515
|
.aura-input:focus-within { outline: var(--aura-focus-ring-width) solid var(--aura-focus-ring); outline-offset: 1px; border-color: var(--aura-border-strong); }
|
|
514
516
|
.aura-input__control {
|
|
515
|
-
|
|
517
|
+
/* 5.42 (Chamber-OS 147): a percentage width makes the control's min-content zero (a compressible control), so a
|
|
518
|
+
* field in a grid cell or flex row never forces it wider than the screen at a large default font; its preferred
|
|
519
|
+
* width is still the 20-character size. */
|
|
520
|
+
flex: 1; width: 100%; min-width: 0; height: calc(var(--aura-input-height) - 2px); padding: 0 var(--aura-space-3);
|
|
516
521
|
border: 0; background: transparent; color: inherit; font: inherit; outline: none;
|
|
517
522
|
appearance: none; -webkit-appearance: none;
|
|
518
523
|
}
|
|
@@ -1126,6 +1131,9 @@ a.aura-tab { text-decoration: none; }
|
|
|
1126
1131
|
.aura-shell__bar--menu-only { display: none; }
|
|
1127
1132
|
}
|
|
1128
1133
|
.aura-shell__bar-content { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--aura-space-3); }
|
|
1134
|
+
/* 5.41 (DxT Monitor #19): a page with its own back arrow marks itself with data-aura-hide-menubutton (on any element)
|
|
1135
|
+
* and the bar drops the menu button, as BottomNav does for data-aura-hide-bottomnav. */
|
|
1136
|
+
:root:has([data-aura-hide-menubutton]) :is(.aura-shell__menu, .aura-shell__bar--no-header) { display: none; } /* with no header the bar would be empty */
|
|
1129
1137
|
.aura-shell__content { flex: 1; min-width: 0; padding: var(--aura-space-6) var(--aura-space-4); }
|
|
1130
1138
|
/* 5.7: <main> takes focus (tabIndex -1) for skip links and "the row you acted on is gone"; a landmark gets no ring. */
|
|
1131
1139
|
.aura-shell__content:focus { outline: none; }
|
|
@@ -1146,6 +1154,20 @@ a.aura-tab { text-decoration: none; }
|
|
|
1146
1154
|
.aura-page-header__breadcrumb { min-width: 0; } /* 5.33 (DxT Monitor #7): Breadcrumb keeps its own type */
|
|
1147
1155
|
.aura-page-header__meta { min-width: 0; font-size: max(13px, .8125rem); line-height: 1.5; color: var(--aura-fg-secondary); overflow-wrap: anywhere; }
|
|
1148
1156
|
.aura-page-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--aura-space-2); }
|
|
1157
|
+
/* 5.41 (DxT Monitor #20): titleHideBelow — the title is visually hidden (still the heading), the breadcrumb and eyebrow
|
|
1158
|
+
* are gone; with no meta line the text block takes no room, so the actions start the header. */
|
|
1159
|
+
@media (max-width: 639.98px) {
|
|
1160
|
+
.aura-page-header--title-hide-below-sm .aura-page-header__title, .aura-page-header--title-hide-below-sm.has-no-meta > .aura-page-header__text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
1161
|
+
.aura-page-header--title-hide-below-sm :is(.aura-page-header__breadcrumb, .aura-page-header__eyebrow) { display: none; }
|
|
1162
|
+
}
|
|
1163
|
+
@media (max-width: 767.98px) {
|
|
1164
|
+
.aura-page-header--title-hide-below-md .aura-page-header__title, .aura-page-header--title-hide-below-md.has-no-meta > .aura-page-header__text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
1165
|
+
.aura-page-header--title-hide-below-md :is(.aura-page-header__breadcrumb, .aura-page-header__eyebrow) { display: none; }
|
|
1166
|
+
}
|
|
1167
|
+
@media (max-width: 1023.98px) {
|
|
1168
|
+
.aura-page-header--title-hide-below-lg .aura-page-header__title, .aura-page-header--title-hide-below-lg.has-no-meta > .aura-page-header__text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
1169
|
+
.aura-page-header--title-hide-below-lg :is(.aura-page-header__breadcrumb, .aura-page-header__eyebrow) { display: none; }
|
|
1170
|
+
}
|
|
1149
1171
|
/* 5.37 (DxT Monitor #17): actionsFullWidthBelow — the actions take the row under the text; their children share
|
|
1150
1172
|
* each line equally (wrapping when a label won't fit), a trigger inside a DropdownMenu, Tooltip or Popover wrapper
|
|
1151
1173
|
* fills it, and icon buttons keep their size. The :has rule is alone so older browsers drop only it. */
|
|
@@ -1772,7 +1794,7 @@ button.aura-stepper__step:hover .aura-stepper__label { text-decoration: underlin
|
|
|
1772
1794
|
}
|
|
1773
1795
|
/* 5.12 searchGrow: the search fills what the controls leave. */
|
|
1774
1796
|
.aura-filterbar--grow .aura-filterbar__search { max-width: none; }
|
|
1775
|
-
.aura-filterbar--grow .aura-filterbar__search ~ .aura-filterbar__spacer { display: none; }
|
|
1797
|
+
.aura-filterbar--grow :is(.aura-filterbar__search, .aura-filterbar__lead:has(> .aura-filterbar__search)) ~ .aura-filterbar__spacer { display: none; }
|
|
1776
1798
|
/* 5.15 (Chamber-OS 92): the search on its own row up to 1024px; controls sharing their row in equal columns. */
|
|
1777
1799
|
@media (max-width: 1023.98px) {
|
|
1778
1800
|
.aura-filterbar--stack-lg .aura-filterbar__search { flex-basis: 100%; max-width: none; }
|
|
@@ -1785,6 +1807,31 @@ button.aura-stepper__step:hover .aura-stepper__label { text-decoration: underlin
|
|
|
1785
1807
|
.aura-filterbar--fill .aura-filterbar__controls > .aura-filterselect .aura-filterselect__chevron { margin-inline-start: auto; }
|
|
1786
1808
|
/* Compact filters sit closer together than full fields. */
|
|
1787
1809
|
.aura-filterbar__controls:has(> .aura-filterselect) { gap: var(--aura-space-2); }
|
|
1810
|
+
/* 5.42 (Chamber-OS 146): collapseBelow — below the breakpoint the controls fold into a "Filters" sheet; the button
|
|
1811
|
+
* shares a row with the search, at its end, as tall as the search (the count and actions wrap below). From the
|
|
1812
|
+
* breakpoint up the search and the hidden button sit in a display: contents box, so the bar lays out as before. */
|
|
1813
|
+
.aura-filterbar__lead { display: contents; }
|
|
1814
|
+
.aura-filterbar__more { display: none; flex: none; height: var(--aura-input-height); }
|
|
1815
|
+
@media (max-width: 639.98px) {
|
|
1816
|
+
.aura-filterbar--collapse-sm > .aura-filterbar__row > .aura-filterbar__controls { display: none; }
|
|
1817
|
+
.aura-filterbar--collapse-sm .aura-filterbar__lead { display: flex; flex: 1 1 100%; min-width: 0; align-items: center; justify-content: flex-end; gap: var(--aura-space-2); }
|
|
1818
|
+
.aura-filterbar--collapse-sm .aura-filterbar__more { display: inline-flex; }
|
|
1819
|
+
.aura-filterbar--collapse-sm .aura-filterbar__search { flex: 1 1 0; min-width: 0; max-width: none; }
|
|
1820
|
+
}
|
|
1821
|
+
@media (max-width: 767.98px) {
|
|
1822
|
+
.aura-filterbar--collapse-md > .aura-filterbar__row > .aura-filterbar__controls { display: none; }
|
|
1823
|
+
.aura-filterbar--collapse-md .aura-filterbar__lead { display: flex; flex: 1 1 100%; min-width: 0; align-items: center; justify-content: flex-end; gap: var(--aura-space-2); }
|
|
1824
|
+
.aura-filterbar--collapse-md .aura-filterbar__more { display: inline-flex; }
|
|
1825
|
+
.aura-filterbar--collapse-md .aura-filterbar__search { flex: 1 1 0; min-width: 0; max-width: none; }
|
|
1826
|
+
}
|
|
1827
|
+
/* The sheet: one control per row at full width, labels showing; a toggle Tag or a Button keeps its own width. */
|
|
1828
|
+
.aura-filterbar--sheet { gap: var(--aura-space-4); }
|
|
1829
|
+
.aura-filterbar--sheet > :is(.aura-tag, .aura-btn, .aura-segmented) { align-self: flex-start; }
|
|
1830
|
+
.aura-filterbar--sheet .aura-filterselect { display: flex; width: 100%; }
|
|
1831
|
+
.aura-filterbar--sheet .aura-filterselect__face { width: 100%; padding-inline: var(--aura-space-3) var(--aura-space-2); font-size: max(16px, 1rem); }
|
|
1832
|
+
.aura-filterbar--sheet .aura-filterselect__name { display: none; }
|
|
1833
|
+
.aura-filterbar--sheet .aura-filterselect__value { font-weight: 400; }
|
|
1834
|
+
.aura-filterbar--sheet .aura-filterselect__chevron { margin-inline-start: auto; width: var(--aura-icon-sm); height: var(--aura-icon-sm); }
|
|
1788
1835
|
|
|
1789
1836
|
/* 5.12 FilterSelect: a compact face — "Status All ▾" — as wide as its words, over Select's machinery and list. */
|
|
1790
1837
|
.aura-filterselect { position: relative; display: inline-flex; width: fit-content; max-width: 100%; vertical-align: middle; font-family: var(--font-sans); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jirawatpyk/aura-react",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.42.0",
|
|
4
4
|
"description": "AURA Design System — React components (Enterprise Standard, Human Creative). Thai-first: Buddhist-era dates, Thai collation.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|