@seanyeh77/ui 0.7.0 → 0.8.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/dist/index.d.ts CHANGED
@@ -520,6 +520,9 @@ interface ColumnBase<R extends Row> {
520
520
  mobile?: 'title' | 'status' | 'hide';
521
521
  /** Long text: 2 lines with 「顯示全部」 on phone cards, one line with an ellipsis on desktop. */
522
522
  long?: boolean;
523
+ /** Hidden at first; still listed in the 「欄位」 menu, where people can turn it on. Back to hidden on a new
524
+ * `resetKey`. Not for the first column, which is always shown. Default false. */
525
+ hidden?: boolean;
523
526
  }
524
527
  /** A column shows a field of the row (key is checked against the row type), or computes its cell with render (any key). */
525
528
  type DataTableColumn<R extends Row = Record<string, unknown>> = ColumnBase<R> & ({