@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/dist/index.js CHANGED
@@ -277,10 +277,23 @@ var chromeStyles = reactNative.StyleSheet.create({
277
277
  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 },
278
278
  filtersSpacer: { flexGrow: 1 },
279
279
  results: { fontSize: RESULTS_FONT },
280
- filtersActions: { flexDirection: "row", gap: PAGER_SIZE_GAP, alignItems: "center" },
281
- pager: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "space-between", gap: PAGER_GAP },
280
+ /**
281
+ * The actions cluster WRAPS and is capped at the bar's width (TABLES-MOBILE-1 "Filter bar and
282
+ * pager overflow at 360"). A nowrap row is one unbreakable flex item: at 360 on aml-v2 Leaders
283
+ * it measured 431px inside a 255px bar and pushed Apply off-screen. `maxWidth: 100%` +
284
+ * `flexShrink` fit the cluster to its line; its own `flexWrap` then breaks the buttons onto
285
+ * further lines instead of overflowing (flex-shrink alone cannot: it never wraps a line).
286
+ */
287
+ filtersActions: { flexDirection: "row", flexWrap: "wrap", flexShrink: 1, maxWidth: "100%", rowGap: PAGER_GAP, columnGap: PAGER_SIZE_GAP, alignItems: "center" },
288
+ /**
289
+ * The pager and its nav may SHRINK to their container (TABLES-MOBILE-1). Placed beside a title
290
+ * in a wrapping row (aml-v2 /app/cases), a `flex-shrink: 0` pager measured 328px in a 255px slot
291
+ * and Next was clipped. `minWidth: 0` + `maxWidth: 100%` let the line fit, then `flexWrap`
292
+ * breaks the info / nav / buttons onto further lines instead of overflowing.
293
+ */
294
+ pager: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "space-between", gap: PAGER_GAP, flexShrink: 1, minWidth: 0, maxWidth: "100%" },
282
295
  pagerInfo: { fontSize: CONTROL_FONT, fontVariant: ["tabular-nums"] },
283
- pagerNav: { flexDirection: "row", alignItems: "center", gap: PAGER_SIZE_GAP, flexWrap: "wrap" },
296
+ pagerNav: { flexDirection: "row", alignItems: "center", gap: PAGER_SIZE_GAP, flexWrap: "wrap", flexShrink: 1, minWidth: 0, maxWidth: "100%" },
284
297
  pagerRowsLabel: { fontSize: HEAD_FONT, textTransform: "uppercase", letterSpacing: LABEL_LETTER_SPACING },
285
298
  /** Mixed-case "Rows" caption for the dropdown variant (v1's muted `.hint` label — no uppercase transform). */
286
299
  pagerRowsLabelPlain: { fontSize: HEAD_FONT, letterSpacing: LABEL_LETTER_SPACING },