@dloizides/ui-tables 1.19.0 → 1.19.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 +507 -487
- package/dist/index.js +16 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -272,10 +272,23 @@ 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
|
-
|
|
276
|
-
|
|
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" },
|
|
283
|
+
/**
|
|
284
|
+
* The pager and its nav may SHRINK to their container (TABLES-MOBILE-1). Placed beside a title
|
|
285
|
+
* in a wrapping row (aml-v2 /app/cases), a `flex-shrink: 0` pager measured 328px in a 255px slot
|
|
286
|
+
* and Next was clipped. `minWidth: 0` + `maxWidth: 100%` let the line fit, then `flexWrap`
|
|
287
|
+
* breaks the info / nav / buttons onto further lines instead of overflowing.
|
|
288
|
+
*/
|
|
289
|
+
pager: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "space-between", gap: PAGER_GAP, flexShrink: 1, minWidth: 0, maxWidth: "100%" },
|
|
277
290
|
pagerInfo: { fontSize: CONTROL_FONT, fontVariant: ["tabular-nums"] },
|
|
278
|
-
pagerNav: { flexDirection: "row", alignItems: "center", gap: PAGER_SIZE_GAP, flexWrap: "wrap" },
|
|
291
|
+
pagerNav: { flexDirection: "row", alignItems: "center", gap: PAGER_SIZE_GAP, flexWrap: "wrap", flexShrink: 1, minWidth: 0, maxWidth: "100%" },
|
|
279
292
|
pagerRowsLabel: { fontSize: HEAD_FONT, textTransform: "uppercase", letterSpacing: LABEL_LETTER_SPACING },
|
|
280
293
|
/** Mixed-case "Rows" caption for the dropdown variant (v1's muted `.hint` label — no uppercase transform). */
|
|
281
294
|
pagerRowsLabelPlain: { fontSize: HEAD_FONT, letterSpacing: LABEL_LETTER_SPACING },
|