@dloizides/ui-tables 1.19.0 → 1.19.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 +10 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -272,7 +272,14 @@ var chromeStyles = StyleSheet.create({
|
|
|
272
272
|
filters: { flexDirection: "row", flexWrap: "wrap", alignItems: "flex-end", columnGap: COLUMN_GAP, rowGap: PAGER_GAP, borderWidth: BORDER_WIDTH, borderRadius: BORDER_RADIUS, paddingHorizontal: ROW_PAD_H, paddingVertical: ROW_PAD_V },
|
|
273
273
|
filtersSpacer: { flexGrow: 1 },
|
|
274
274
|
results: { fontSize: RESULTS_FONT },
|
|
275
|
-
|
|
275
|
+
/**
|
|
276
|
+
* The actions cluster WRAPS and is capped at the bar's width (TABLES-MOBILE-1 "Filter bar and
|
|
277
|
+
* pager overflow at 360"). A nowrap row is one unbreakable flex item: at 360 on aml-v2 Leaders
|
|
278
|
+
* it measured 431px inside a 255px bar and pushed Apply off-screen. `maxWidth: 100%` +
|
|
279
|
+
* `flexShrink` fit the cluster to its line; its own `flexWrap` then breaks the buttons onto
|
|
280
|
+
* further lines instead of overflowing (flex-shrink alone cannot: it never wraps a line).
|
|
281
|
+
*/
|
|
282
|
+
filtersActions: { flexDirection: "row", flexWrap: "wrap", flexShrink: 1, maxWidth: "100%", rowGap: PAGER_GAP, columnGap: PAGER_SIZE_GAP, alignItems: "center" },
|
|
276
283
|
pager: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "space-between", gap: PAGER_GAP },
|
|
277
284
|
pagerInfo: { fontSize: CONTROL_FONT, fontVariant: ["tabular-nums"] },
|
|
278
285
|
pagerNav: { flexDirection: "row", alignItems: "center", gap: PAGER_SIZE_GAP, flexWrap: "wrap" },
|