@webx-ui/core 0.36.0 → 0.37.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.
@@ -79,6 +79,7 @@ export declare const builtinIcons: {
79
79
  readonly 'eye-off': "<path d=\"M10.2 6a9.9 9.9 0 0 1 1.8-.2c5.2 0 9.5 6.2 9.5 6.2a18 18 0 0 1-3.3 3.8M6.6 7.9A17.8 17.8 0 0 0 2.5 12s4.3 6.5 9.5 6.5a9.4 9.4 0 0 0 3.3-.6\"/><path d=\"m4 4 16 16\"/>";
80
80
  readonly star: "<path d=\"m12 4 2.5 5.1 5.6.8-4 4 .9 5.6-5-2.7-5 2.7.9-5.6-4-4 5.6-.8z\"/>";
81
81
  readonly briefcase: "<rect x=\"3.5\" y=\"7.5\" width=\"17\" height=\"12\" rx=\"2.5\"/><path d=\"M9 7.5V6a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 15 6v1.5M3.5 13h17\"/>";
82
+ readonly factory: "<path d=\"M3.5 19.5V11l5 3.2V11l5 3.2V11l5 3.2V4.5h2.5v15Z\"/><path d=\"M7 16.5h2M11.5 16.5h2\"/>";
82
83
  readonly heart: "<path d=\"M12 19.5S4 15 4 9.8A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 20 9.8c0 5.2-8 9.7-8 9.7Z\"/>";
83
84
  readonly sun: "<circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6 7 7M17 17l1.4 1.4M18.4 5.6 17 7M7 17l-1.4 1.4\"/>";
84
85
  readonly moon: "<path d=\"M20 14.5A8.5 8.5 0 0 1 9.5 4a8.5 8.5 0 1 0 10.5 10.5Z\"/>";
@@ -241,6 +241,13 @@ export interface TableProps<T = TableRow> {
241
241
  * A number is pixels; a string is any CSS length, so `60vh` follows the window.
242
242
  */
243
243
  maxHeight?: string | number;
244
+ /**
245
+ * Keeps the heading row in sight while the page — or the drawer, the pane that scrolls the
246
+ * table — is scrolled past a long table. A number is the gap in pixels left above it for a bar
247
+ * that covers the top of that area. On by default; with `maxHeight` the table scrolls its own
248
+ * rows and the heading sticks there instead.
249
+ */
250
+ stickyHeader?: boolean | number;
244
251
  /** Extra class per row, for status colouring and the like. */
245
252
  rowClass?: (row: T, index: number) => string | undefined;
246
253
  /** Draws the rows as a tree. See {@link TableTreeOptions}. */