@crispy-seed/data-table 0.6.0 → 0.7.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.cjs CHANGED
@@ -11296,132 +11296,132 @@ const COLUMN_HANDLE_CLASS = "crisp-seed-resizable-panel-handle--column";
11296
11296
  });
11297
11297
  ResizablePanel.displayName = "ResizablePanel";
11298
11298
 
11299
- __insertCSS(".seed-record-panel__root{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--seed-color-bg-layer-default);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}.seed-record-panel__toolbar{display:flex;align-items:center;height:49px;flex-shrink:0;padding:8px 10px;border-bottom:1px solid var(--seed-color-stroke-neutral-muted)}.seed-record-panel__toolbarSpacer{flex:1}.seed-record-panel__pager{display:flex;align-items:center;gap:6px;margin-inline-start:12px}.seed-record-panel__counter{margin-inline-start:12px;font-size:12px;font-weight:500;color:var(--seed-color-fg-neutral-subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seed-record-panel__iconbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:none;border-radius:6px;background:0 0;color:var(--seed-color-fg-neutral-subtle);font-family:inherit;cursor:pointer;transition:background-color .12s}.seed-record-panel__iconbtn:hover{background:var(--seed-color-bg-layer-fill);color:var(--seed-color-fg-neutral)}.seed-record-panel__navbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:none;border-radius:6px;background:var(--seed-color-bg-layer-default);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 0 2px rgba(28,40,64,.18),0 1px 3px rgba(0,0,0,.04);color:var(--seed-color-fg-neutral);font-family:inherit;cursor:pointer}.seed-record-panel__navbtn:hover:not(:disabled){background:var(--seed-color-bg-layer-fill)}.seed-record-panel__navbtn:disabled{opacity:.4;cursor:not-allowed}.seed-record-panel__header{display:flex;align-items:center;gap:8px;height:52px;flex-shrink:0;padding:0 12px}.seed-record-panel__fav{width:22px;height:22px;border-radius:4px;flex-shrink:0;object-fit:cover;background:var(--seed-color-bg-layer-fill)}.seed-record-panel__title{flex:1;min-width:0;font-size:16px;font-weight:600;letter-spacing:-.2px;color:var(--seed-color-fg-neutral);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seed-record-panel__body{flex:1;min-height:0;overflow-y:auto;padding:8px 12px}.seed-record-panel__section{padding:8px 4px 0}.seed-record-panel__sectionHead{display:flex;align-items:center;justify-content:space-between;gap:8px;height:20px;margin-bottom:8px}.seed-record-panel__sectionLabel{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral-subtle)}.seed-record-panel__sectionAction{border:none;background:0 0;padding:0;font-family:inherit;font-size:10px;font-weight:400;color:color-mix(in srgb,var(--seed-color-fg-neutral) 55%,transparent);cursor:pointer}.seed-record-panel__sectionAction:hover{color:var(--seed-color-fg-neutral)}.seed-record-panel__highlights{display:grid;grid-template-columns:1fr 1fr;gap:8px}.seed-record-panel__highlight{display:flex;flex-direction:column;gap:6px;min-width:0}.seed-record-panel__highlightLabel{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--seed-color-fg-neutral-subtle)}.seed-record-panel__highlightLabel span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seed-record-panel__highlightLabel svg{flex-shrink:0;color:var(--seed-color-fg-neutral-subtle)}.seed-record-panel__highlightValue{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral);overflow:hidden;text-overflow:ellipsis}.seed-record-panel__activity{font-size:14px}.seed-record-panel__sections{display:flex;flex-direction:column;padding-top:8px}.seed-record-panel__sectionTrigger{display:flex;align-items:center;gap:4px;width:100%;height:20px;padding:0 8px 0 12px;border:none;background:0 0;font-family:inherit;text-align:start;cursor:pointer}.seed-record-panel__sectionTrigger[data-inert]{cursor:default}.seed-record-panel__sectionRowLabel{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral)}.seed-record-panel__sectionRowCount{font-size:14px;color:var(--seed-color-fg-neutral-subtle)}.seed-record-panel__sectionChevron{margin-inline-start:auto;flex-shrink:0;color:var(--seed-color-fg-neutral-subtle);transition:transform .15s ease}.seed-record-panel__sectionChevron[data-open]{transform:rotate(180deg)}.seed-record-panel__sectionContent{padding:8px 8px 8px 12px}.seed-record-panel__footer{flex-shrink:0;display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid var(--seed-color-stroke-neutral-muted)}");
11299
+ __insertCSS(".seed-record-preview__root{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--seed-color-bg-layer-default);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}.seed-record-preview__toolbar{display:flex;align-items:center;height:49px;flex-shrink:0;padding:8px 10px;border-bottom:1px solid var(--seed-color-stroke-neutral-muted)}.seed-record-preview__toolbarSpacer{flex:1}.seed-record-preview__pager{display:flex;align-items:center;gap:6px;margin-inline-start:12px}.seed-record-preview__counter{margin-inline-start:12px;font-size:12px;font-weight:500;color:var(--seed-color-fg-neutral-subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seed-record-preview__iconbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:none;border-radius:6px;background:0 0;color:var(--seed-color-fg-neutral-subtle);font-family:inherit;cursor:pointer;transition:background-color .12s}.seed-record-preview__iconbtn:hover{background:var(--seed-color-bg-layer-fill);color:var(--seed-color-fg-neutral)}.seed-record-preview__navbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:none;border-radius:6px;background:var(--seed-color-bg-layer-default);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 0 2px rgba(28,40,64,.18),0 1px 3px rgba(0,0,0,.04);color:var(--seed-color-fg-neutral);font-family:inherit;cursor:pointer}.seed-record-preview__navbtn:hover:not(:disabled){background:var(--seed-color-bg-layer-fill)}.seed-record-preview__navbtn:disabled{opacity:.4;cursor:not-allowed}.seed-record-preview__header{display:flex;align-items:center;gap:8px;height:52px;flex-shrink:0;padding:0 12px}.seed-record-preview__fav{width:22px;height:22px;border-radius:4px;flex-shrink:0;object-fit:cover;background:var(--seed-color-bg-layer-fill)}.seed-record-preview__title{flex:1;min-width:0;font-size:16px;font-weight:600;letter-spacing:-.2px;color:var(--seed-color-fg-neutral);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seed-record-preview__body{flex:1;min-height:0;overflow-y:auto;padding:8px 12px}.seed-record-preview__section{padding:8px 4px 0}.seed-record-preview__sectionHead{display:flex;align-items:center;justify-content:space-between;gap:8px;height:20px;margin-bottom:8px}.seed-record-preview__sectionLabel{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral-subtle)}.seed-record-preview__sectionAction{border:none;background:0 0;padding:0;font-family:inherit;font-size:10px;font-weight:400;color:color-mix(in srgb,var(--seed-color-fg-neutral) 55%,transparent);cursor:pointer}.seed-record-preview__sectionAction:hover{color:var(--seed-color-fg-neutral)}.seed-record-preview__highlights{display:grid;grid-template-columns:1fr 1fr;gap:8px}.seed-record-preview__highlight{display:flex;flex-direction:column;gap:6px;min-width:0}.seed-record-preview__highlightLabel{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--seed-color-fg-neutral-subtle)}.seed-record-preview__highlightLabel span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seed-record-preview__highlightLabel svg{flex-shrink:0;color:var(--seed-color-fg-neutral-subtle)}.seed-record-preview__highlightValue{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral);overflow:hidden;text-overflow:ellipsis}.seed-record-preview__activity{font-size:14px}.seed-record-preview__sections{display:flex;flex-direction:column;padding-top:8px}.seed-record-preview__sectionTrigger{display:flex;align-items:center;gap:4px;width:100%;height:20px;padding:0 8px 0 12px;border:none;background:0 0;font-family:inherit;text-align:start;cursor:pointer}.seed-record-preview__sectionTrigger[data-inert]{cursor:default}.seed-record-preview__sectionRowLabel{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral)}.seed-record-preview__sectionRowCount{font-size:14px;color:var(--seed-color-fg-neutral-subtle)}.seed-record-preview__sectionChevron{margin-inline-start:auto;flex-shrink:0;color:var(--seed-color-fg-neutral-subtle);transition:transform .15s ease}.seed-record-preview__sectionChevron[data-open]{transform:rotate(180deg)}.seed-record-preview__sectionContent{padding:8px 8px 8px 12px}.seed-record-preview__footer{flex-shrink:0;display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid var(--seed-color-stroke-neutral-muted)}");
11300
11300
 
11301
- const recordPanelSlotNames = [
11301
+ const recordPreviewSlotNames = [
11302
11302
  [
11303
11303
  "root",
11304
- "seed-record-panel__root"
11304
+ "seed-record-preview__root"
11305
11305
  ],
11306
11306
  [
11307
11307
  "toolbar",
11308
- "seed-record-panel__toolbar"
11308
+ "seed-record-preview__toolbar"
11309
11309
  ],
11310
11310
  [
11311
11311
  "toolbarSpacer",
11312
- "seed-record-panel__toolbarSpacer"
11312
+ "seed-record-preview__toolbarSpacer"
11313
11313
  ],
11314
11314
  [
11315
11315
  "pager",
11316
- "seed-record-panel__pager"
11316
+ "seed-record-preview__pager"
11317
11317
  ],
11318
11318
  [
11319
11319
  "counter",
11320
- "seed-record-panel__counter"
11320
+ "seed-record-preview__counter"
11321
11321
  ],
11322
11322
  [
11323
11323
  "iconbtn",
11324
- "seed-record-panel__iconbtn"
11324
+ "seed-record-preview__iconbtn"
11325
11325
  ],
11326
11326
  [
11327
11327
  "navbtn",
11328
- "seed-record-panel__navbtn"
11328
+ "seed-record-preview__navbtn"
11329
11329
  ],
11330
11330
  [
11331
11331
  "header",
11332
- "seed-record-panel__header"
11332
+ "seed-record-preview__header"
11333
11333
  ],
11334
11334
  [
11335
11335
  "fav",
11336
- "seed-record-panel__fav"
11336
+ "seed-record-preview__fav"
11337
11337
  ],
11338
11338
  [
11339
11339
  "title",
11340
- "seed-record-panel__title"
11340
+ "seed-record-preview__title"
11341
11341
  ],
11342
11342
  [
11343
11343
  "body",
11344
- "seed-record-panel__body"
11344
+ "seed-record-preview__body"
11345
11345
  ],
11346
11346
  [
11347
11347
  "section",
11348
- "seed-record-panel__section"
11348
+ "seed-record-preview__section"
11349
11349
  ],
11350
11350
  [
11351
11351
  "sectionHead",
11352
- "seed-record-panel__sectionHead"
11352
+ "seed-record-preview__sectionHead"
11353
11353
  ],
11354
11354
  [
11355
11355
  "sectionLabel",
11356
- "seed-record-panel__sectionLabel"
11356
+ "seed-record-preview__sectionLabel"
11357
11357
  ],
11358
11358
  [
11359
11359
  "sectionAction",
11360
- "seed-record-panel__sectionAction"
11360
+ "seed-record-preview__sectionAction"
11361
11361
  ],
11362
11362
  [
11363
11363
  "highlights",
11364
- "seed-record-panel__highlights"
11364
+ "seed-record-preview__highlights"
11365
11365
  ],
11366
11366
  [
11367
11367
  "highlight",
11368
- "seed-record-panel__highlight"
11368
+ "seed-record-preview__highlight"
11369
11369
  ],
11370
11370
  [
11371
11371
  "highlightLabel",
11372
- "seed-record-panel__highlightLabel"
11372
+ "seed-record-preview__highlightLabel"
11373
11373
  ],
11374
11374
  [
11375
11375
  "highlightValue",
11376
- "seed-record-panel__highlightValue"
11376
+ "seed-record-preview__highlightValue"
11377
11377
  ],
11378
11378
  [
11379
11379
  "activity",
11380
- "seed-record-panel__activity"
11380
+ "seed-record-preview__activity"
11381
11381
  ],
11382
11382
  [
11383
11383
  "sections",
11384
- "seed-record-panel__sections"
11384
+ "seed-record-preview__sections"
11385
11385
  ],
11386
11386
  [
11387
11387
  "sectionTrigger",
11388
- "seed-record-panel__sectionTrigger"
11388
+ "seed-record-preview__sectionTrigger"
11389
11389
  ],
11390
11390
  [
11391
11391
  "sectionRowLabel",
11392
- "seed-record-panel__sectionRowLabel"
11392
+ "seed-record-preview__sectionRowLabel"
11393
11393
  ],
11394
11394
  [
11395
11395
  "sectionRowCount",
11396
- "seed-record-panel__sectionRowCount"
11396
+ "seed-record-preview__sectionRowCount"
11397
11397
  ],
11398
11398
  [
11399
11399
  "sectionChevron",
11400
- "seed-record-panel__sectionChevron"
11400
+ "seed-record-preview__sectionChevron"
11401
11401
  ],
11402
11402
  [
11403
11403
  "sectionContent",
11404
- "seed-record-panel__sectionContent"
11404
+ "seed-record-preview__sectionContent"
11405
11405
  ],
11406
11406
  [
11407
11407
  "footer",
11408
- "seed-record-panel__footer"
11408
+ "seed-record-preview__footer"
11409
11409
  ]
11410
11410
  ];
11411
11411
  const defaultVariant = {};
11412
11412
  const compoundVariants = [];
11413
- const recordPanelVariantMap = {};
11414
- function recordPanel(props) {
11415
- return Object.fromEntries(recordPanelSlotNames.map(([slot, className])=>{
11413
+ const recordPreviewVariantMap = {};
11414
+ function recordPreview(props) {
11415
+ return Object.fromEntries(recordPreviewSlotNames.map(([slot, className])=>{
11416
11416
  return [
11417
11417
  slot,
11418
11418
  createClassName(className, mergeVariants(defaultVariant, props), compoundVariants)
11419
11419
  ];
11420
11420
  }));
11421
11421
  }
11422
- Object.assign(recordPanel, {
11423
- splitVariantProps: (props)=>splitVariantProps(props, recordPanelVariantMap)
11424
- }); // @recipe(seed): record-panel
11422
+ Object.assign(recordPreview, {
11423
+ splitVariantProps: (props)=>splitVariantProps(props, recordPreviewVariantMap)
11424
+ }); // @recipe(seed): record-preview
11425
11425
 
11426
11426
  const RESIZE_MIN_WIDTH = 360;
11427
11427
  const RESIZE_MAX_WIDTH = 720;
@@ -11434,9 +11434,9 @@ const RESIZE_MAX_WIDTH = 720;
11434
11434
  * `@starting-style` slide-in, the floating elevation, the drag handle
11435
11435
  * itself) all come from that primitive; this component only renders the
11436
11436
  * CONTENT inside it.
11437
- */ function RecordPanel({ open, record, onClose, className, closeLabel = "Close panel", onOpenRecord, openRecordLabel = "Open record", onPrevious, previousRecordLabel = "Previous record", onNext, nextRecordLabel = "Next record", title, avatar, highlightsLabel = "Highlights", highlights, counterLabel, resizable = false, width, defaultWidth = 420, onWidthChange, minWidth = RESIZE_MIN_WIDTH, maxWidth = RESIZE_MAX_WIDTH, activityLabel = "Activity", viewAllActivityLabel = "View all", onViewAllActivity, activity, sections, footer, ...rest }) {
11437
+ */ function RecordPreview({ open, record, onClose, className, closeLabel = "Close panel", onOpenRecord, openRecordLabel = "Open record", onPrevious, previousRecordLabel = "Previous record", onNext, nextRecordLabel = "Next record", title, avatar, highlightsLabel = "Highlights", highlights, counterLabel, resizable = false, width, defaultWidth = 420, onWidthChange, minWidth = RESIZE_MIN_WIDTH, maxWidth = RESIZE_MAX_WIDTH, activityLabel = "Activity", viewAllActivityLabel = "View all", onViewAllActivity, activity, sections, footer, ...rest }) {
11438
11438
  const titleId = React.useId();
11439
- const classNames = recordPanel();
11439
+ const classNames = recordPreview();
11440
11440
  // Which sections (your-moon/crisp#413) are expanded -- uncontrolled and
11441
11441
  // independent (Attio's own Emails/Notes/Tasks open without closing one
11442
11442
  // another): a plain `Set`, reset whenever the record itself changes so a
@@ -11687,9 +11687,9 @@ const RESIZE_MAX_WIDTH = 720;
11687
11687
  })
11688
11688
  });
11689
11689
  }
11690
- RecordPanel.displayName = "RecordPanel";
11690
+ RecordPreview.displayName = "RecordPreview";
11691
11691
 
11692
11692
  exports.DataTable = DataTable;
11693
11693
  exports.DataTableViewsControl = DataTableViewsControl;
11694
- exports.RecordPanel = RecordPanel;
11694
+ exports.RecordPreview = RecordPreview;
11695
11695
  exports.ResizablePanel = ResizablePanel;
package/dist/index.d.ts CHANGED
@@ -547,9 +547,9 @@ type ResizablePanelProps = Omit<react.ComponentPropsWithoutRef<"div">, "children
547
547
  handleVariant?: ResizablePanelHandleVariant;
548
548
  /**
549
549
  * Renders the drag handle. `false` gives a fixed-width, non-interactive
550
- * panel (e.g. `RecordPanel`'s own `resizable={false}` default) -- not part
550
+ * panel (e.g. `RecordPreview`'s own `resizable={false}` default) -- not part
551
551
  * of crisp's own API, added here so a consumer built ON this primitive
552
- * (like `RecordPanel`) can opt out of dragging entirely without crisp's
552
+ * (like `RecordPreview`) can opt out of dragging entirely without crisp's
553
553
  * duplicate resize-handle implementation. @default true
554
554
  */
555
555
  resizable?: boolean;
@@ -601,9 +601,9 @@ declare const ResizablePanel: react.ForwardRefExoticComponent<Omit<Omit<react.De
601
601
  handleVariant?: ResizablePanelHandleVariant;
602
602
  /**
603
603
  * Renders the drag handle. `false` gives a fixed-width, non-interactive
604
- * panel (e.g. `RecordPanel`'s own `resizable={false}` default) -- not part
604
+ * panel (e.g. `RecordPreview`'s own `resizable={false}` default) -- not part
605
605
  * of crisp's own API, added here so a consumer built ON this primitive
606
- * (like `RecordPanel`) can opt out of dragging entirely without crisp's
606
+ * (like `RecordPreview`) can opt out of dragging entirely without crisp's
607
607
  * duplicate resize-handle implementation. @default true
608
608
  */
609
609
  resizable?: boolean;
@@ -621,7 +621,7 @@ declare const ResizablePanel: react.ForwardRefExoticComponent<Omit<Omit<react.De
621
621
  * Attio's own peek panel lays its own out (your-moon/crisp#448, measured
622
622
  * live): a 2-column grid, no card chrome, a muted label row with a
623
623
  * trailing icon, a filled-colour value below it. */
624
- type RecordPanelHighlight = {
624
+ type RecordPreviewHighlight = {
625
625
  key: string;
626
626
  label: string;
627
627
  value: react.ReactNode;
@@ -634,7 +634,7 @@ type RecordPanelHighlight = {
634
634
  * into the consumer's own content when clicked. Omitting `content` renders
635
635
  * the row but not as a button, matching the live DOM measured on an empty
636
636
  * section: no chevron, no click handler, nothing to expand into yet. */
637
- type RecordPanelSection = {
637
+ type RecordPreviewSection = {
638
638
  key: string;
639
639
  label: string;
640
640
  count: number;
@@ -646,11 +646,11 @@ type RecordPanelSection = {
646
646
  * (which reads `Row` from `product/recordpage/column`), this port has no
647
647
  * such type to depend on -- crispy-seed has no RecordPage -- so this stays
648
648
  * a minimal, consumer-extendable shape. */
649
- type RecordPanelRecord = {
649
+ type RecordPreviewRecord = {
650
650
  name?: string;
651
651
  [key: string]: unknown;
652
652
  };
653
- type RecordPanelProps = Omit<react.ComponentPropsWithoutRef<"div">, "children" | "title" | "onResize"> & {
653
+ type RecordPreviewProps = Omit<react.ComponentPropsWithoutRef<"div">, "children" | "title" | "onResize"> & {
654
654
  /** Whether the panel is mounted/visible. */
655
655
  open: boolean;
656
656
  onClose: () => void;
@@ -693,11 +693,11 @@ type RecordPanelProps = Omit<react.ComponentPropsWithoutRef<"div">, "children" |
693
693
  avatar?: string;
694
694
  /** The record to show; renders nothing when `open` is false or `record`
695
695
  * is null. */
696
- record: RecordPanelRecord | null;
696
+ record: RecordPreviewRecord | null;
697
697
  /** Heading above the highlight cards (default "Highlights"). Omit the
698
698
  * whole section by omitting `highlights`. */
699
699
  highlightsLabel?: react.ReactNode;
700
- highlights?: RecordPanelHighlight[];
700
+ highlights?: RecordPreviewHighlight[];
701
701
  /** Heading above the activity feed (default "Activity"). */
702
702
  activityLabel?: react.ReactNode;
703
703
  viewAllActivityLabel?: react.ReactNode;
@@ -705,7 +705,7 @@ type RecordPanelProps = Omit<react.ComponentPropsWithoutRef<"div">, "children" |
705
705
  activity?: react.ReactNode;
706
706
  /** Collapsed sections below Activity (your-moon/crisp#413). Omit for no
707
707
  * sections at all. */
708
- sections?: RecordPanelSection[];
708
+ sections?: RecordPreviewSection[];
709
709
  /** Rendered below the panel's content, e.g. an Edit button. */
710
710
  footer?: react.ReactNode;
711
711
  className?: string;
@@ -720,10 +720,10 @@ type RecordPanelProps = Omit<react.ComponentPropsWithoutRef<"div">, "children" |
720
720
  * itself) all come from that primitive; this component only renders the
721
721
  * CONTENT inside it.
722
722
  */
723
- declare function RecordPanel({ open, record, onClose, className, closeLabel, onOpenRecord, openRecordLabel, onPrevious, previousRecordLabel, onNext, nextRecordLabel, title, avatar, highlightsLabel, highlights, counterLabel, resizable, width, defaultWidth, onWidthChange, minWidth, maxWidth, activityLabel, viewAllActivityLabel, onViewAllActivity, activity, sections, footer, ...rest }: RecordPanelProps): react_jsx_runtime.JSX.Element | null;
724
- declare namespace RecordPanel {
723
+ declare function RecordPreview({ open, record, onClose, className, closeLabel, onOpenRecord, openRecordLabel, onPrevious, previousRecordLabel, onNext, nextRecordLabel, title, avatar, highlightsLabel, highlights, counterLabel, resizable, width, defaultWidth, onWidthChange, minWidth, maxWidth, activityLabel, viewAllActivityLabel, onViewAllActivity, activity, sections, footer, ...rest }: RecordPreviewProps): react_jsx_runtime.JSX.Element | null;
724
+ declare namespace RecordPreview {
725
725
  var displayName: string;
726
726
  }
727
727
 
728
- export { DataTable, DataTableViewsControl, RecordPanel, ResizablePanel };
729
- export type { DataTableColumn, DataTableColumnKind, DataTableProps, DataTableView, DataTableViewState, DataTableViewsControlProps, RecordPanelHighlight, RecordPanelProps, RecordPanelRecord, RecordPanelSection, ResizablePanelHandleVariant, ResizablePanelProps, ResizablePanelSide, ToolbarFilter, ToolbarFilterOp, ToolbarSort, ToolbarSortDirection };
728
+ export { DataTable, DataTableViewsControl, RecordPreview, ResizablePanel };
729
+ export type { DataTableColumn, DataTableColumnKind, DataTableProps, DataTableView, DataTableViewState, DataTableViewsControlProps, RecordPreviewHighlight, RecordPreviewProps, RecordPreviewRecord, RecordPreviewSection, ResizablePanelHandleVariant, ResizablePanelProps, ResizablePanelSide, ToolbarFilter, ToolbarFilterOp, ToolbarSort, ToolbarSortDirection };
package/dist/index.js CHANGED
@@ -11277,132 +11277,132 @@ const COLUMN_HANDLE_CLASS = "crisp-seed-resizable-panel-handle--column";
11277
11277
  });
11278
11278
  ResizablePanel.displayName = "ResizablePanel";
11279
11279
 
11280
- __insertCSS(".seed-record-panel__root{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--seed-color-bg-layer-default);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}.seed-record-panel__toolbar{display:flex;align-items:center;height:49px;flex-shrink:0;padding:8px 10px;border-bottom:1px solid var(--seed-color-stroke-neutral-muted)}.seed-record-panel__toolbarSpacer{flex:1}.seed-record-panel__pager{display:flex;align-items:center;gap:6px;margin-inline-start:12px}.seed-record-panel__counter{margin-inline-start:12px;font-size:12px;font-weight:500;color:var(--seed-color-fg-neutral-subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seed-record-panel__iconbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:none;border-radius:6px;background:0 0;color:var(--seed-color-fg-neutral-subtle);font-family:inherit;cursor:pointer;transition:background-color .12s}.seed-record-panel__iconbtn:hover{background:var(--seed-color-bg-layer-fill);color:var(--seed-color-fg-neutral)}.seed-record-panel__navbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:none;border-radius:6px;background:var(--seed-color-bg-layer-default);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 0 2px rgba(28,40,64,.18),0 1px 3px rgba(0,0,0,.04);color:var(--seed-color-fg-neutral);font-family:inherit;cursor:pointer}.seed-record-panel__navbtn:hover:not(:disabled){background:var(--seed-color-bg-layer-fill)}.seed-record-panel__navbtn:disabled{opacity:.4;cursor:not-allowed}.seed-record-panel__header{display:flex;align-items:center;gap:8px;height:52px;flex-shrink:0;padding:0 12px}.seed-record-panel__fav{width:22px;height:22px;border-radius:4px;flex-shrink:0;object-fit:cover;background:var(--seed-color-bg-layer-fill)}.seed-record-panel__title{flex:1;min-width:0;font-size:16px;font-weight:600;letter-spacing:-.2px;color:var(--seed-color-fg-neutral);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seed-record-panel__body{flex:1;min-height:0;overflow-y:auto;padding:8px 12px}.seed-record-panel__section{padding:8px 4px 0}.seed-record-panel__sectionHead{display:flex;align-items:center;justify-content:space-between;gap:8px;height:20px;margin-bottom:8px}.seed-record-panel__sectionLabel{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral-subtle)}.seed-record-panel__sectionAction{border:none;background:0 0;padding:0;font-family:inherit;font-size:10px;font-weight:400;color:color-mix(in srgb,var(--seed-color-fg-neutral) 55%,transparent);cursor:pointer}.seed-record-panel__sectionAction:hover{color:var(--seed-color-fg-neutral)}.seed-record-panel__highlights{display:grid;grid-template-columns:1fr 1fr;gap:8px}.seed-record-panel__highlight{display:flex;flex-direction:column;gap:6px;min-width:0}.seed-record-panel__highlightLabel{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--seed-color-fg-neutral-subtle)}.seed-record-panel__highlightLabel span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seed-record-panel__highlightLabel svg{flex-shrink:0;color:var(--seed-color-fg-neutral-subtle)}.seed-record-panel__highlightValue{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral);overflow:hidden;text-overflow:ellipsis}.seed-record-panel__activity{font-size:14px}.seed-record-panel__sections{display:flex;flex-direction:column;padding-top:8px}.seed-record-panel__sectionTrigger{display:flex;align-items:center;gap:4px;width:100%;height:20px;padding:0 8px 0 12px;border:none;background:0 0;font-family:inherit;text-align:start;cursor:pointer}.seed-record-panel__sectionTrigger[data-inert]{cursor:default}.seed-record-panel__sectionRowLabel{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral)}.seed-record-panel__sectionRowCount{font-size:14px;color:var(--seed-color-fg-neutral-subtle)}.seed-record-panel__sectionChevron{margin-inline-start:auto;flex-shrink:0;color:var(--seed-color-fg-neutral-subtle);transition:transform .15s ease}.seed-record-panel__sectionChevron[data-open]{transform:rotate(180deg)}.seed-record-panel__sectionContent{padding:8px 8px 8px 12px}.seed-record-panel__footer{flex-shrink:0;display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid var(--seed-color-stroke-neutral-muted)}");
11280
+ __insertCSS(".seed-record-preview__root{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--seed-color-bg-layer-default);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}.seed-record-preview__toolbar{display:flex;align-items:center;height:49px;flex-shrink:0;padding:8px 10px;border-bottom:1px solid var(--seed-color-stroke-neutral-muted)}.seed-record-preview__toolbarSpacer{flex:1}.seed-record-preview__pager{display:flex;align-items:center;gap:6px;margin-inline-start:12px}.seed-record-preview__counter{margin-inline-start:12px;font-size:12px;font-weight:500;color:var(--seed-color-fg-neutral-subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seed-record-preview__iconbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:none;border-radius:6px;background:0 0;color:var(--seed-color-fg-neutral-subtle);font-family:inherit;cursor:pointer;transition:background-color .12s}.seed-record-preview__iconbtn:hover{background:var(--seed-color-bg-layer-fill);color:var(--seed-color-fg-neutral)}.seed-record-preview__navbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;padding:0;border:none;border-radius:6px;background:var(--seed-color-bg-layer-default);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 0 2px rgba(28,40,64,.18),0 1px 3px rgba(0,0,0,.04);color:var(--seed-color-fg-neutral);font-family:inherit;cursor:pointer}.seed-record-preview__navbtn:hover:not(:disabled){background:var(--seed-color-bg-layer-fill)}.seed-record-preview__navbtn:disabled{opacity:.4;cursor:not-allowed}.seed-record-preview__header{display:flex;align-items:center;gap:8px;height:52px;flex-shrink:0;padding:0 12px}.seed-record-preview__fav{width:22px;height:22px;border-radius:4px;flex-shrink:0;object-fit:cover;background:var(--seed-color-bg-layer-fill)}.seed-record-preview__title{flex:1;min-width:0;font-size:16px;font-weight:600;letter-spacing:-.2px;color:var(--seed-color-fg-neutral);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seed-record-preview__body{flex:1;min-height:0;overflow-y:auto;padding:8px 12px}.seed-record-preview__section{padding:8px 4px 0}.seed-record-preview__sectionHead{display:flex;align-items:center;justify-content:space-between;gap:8px;height:20px;margin-bottom:8px}.seed-record-preview__sectionLabel{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral-subtle)}.seed-record-preview__sectionAction{border:none;background:0 0;padding:0;font-family:inherit;font-size:10px;font-weight:400;color:color-mix(in srgb,var(--seed-color-fg-neutral) 55%,transparent);cursor:pointer}.seed-record-preview__sectionAction:hover{color:var(--seed-color-fg-neutral)}.seed-record-preview__highlights{display:grid;grid-template-columns:1fr 1fr;gap:8px}.seed-record-preview__highlight{display:flex;flex-direction:column;gap:6px;min-width:0}.seed-record-preview__highlightLabel{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--seed-color-fg-neutral-subtle)}.seed-record-preview__highlightLabel span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seed-record-preview__highlightLabel svg{flex-shrink:0;color:var(--seed-color-fg-neutral-subtle)}.seed-record-preview__highlightValue{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral);overflow:hidden;text-overflow:ellipsis}.seed-record-preview__activity{font-size:14px}.seed-record-preview__sections{display:flex;flex-direction:column;padding-top:8px}.seed-record-preview__sectionTrigger{display:flex;align-items:center;gap:4px;width:100%;height:20px;padding:0 8px 0 12px;border:none;background:0 0;font-family:inherit;text-align:start;cursor:pointer}.seed-record-preview__sectionTrigger[data-inert]{cursor:default}.seed-record-preview__sectionRowLabel{font-size:14px;font-weight:500;color:var(--seed-color-fg-neutral)}.seed-record-preview__sectionRowCount{font-size:14px;color:var(--seed-color-fg-neutral-subtle)}.seed-record-preview__sectionChevron{margin-inline-start:auto;flex-shrink:0;color:var(--seed-color-fg-neutral-subtle);transition:transform .15s ease}.seed-record-preview__sectionChevron[data-open]{transform:rotate(180deg)}.seed-record-preview__sectionContent{padding:8px 8px 8px 12px}.seed-record-preview__footer{flex-shrink:0;display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid var(--seed-color-stroke-neutral-muted)}");
11281
11281
 
11282
- const recordPanelSlotNames = [
11282
+ const recordPreviewSlotNames = [
11283
11283
  [
11284
11284
  "root",
11285
- "seed-record-panel__root"
11285
+ "seed-record-preview__root"
11286
11286
  ],
11287
11287
  [
11288
11288
  "toolbar",
11289
- "seed-record-panel__toolbar"
11289
+ "seed-record-preview__toolbar"
11290
11290
  ],
11291
11291
  [
11292
11292
  "toolbarSpacer",
11293
- "seed-record-panel__toolbarSpacer"
11293
+ "seed-record-preview__toolbarSpacer"
11294
11294
  ],
11295
11295
  [
11296
11296
  "pager",
11297
- "seed-record-panel__pager"
11297
+ "seed-record-preview__pager"
11298
11298
  ],
11299
11299
  [
11300
11300
  "counter",
11301
- "seed-record-panel__counter"
11301
+ "seed-record-preview__counter"
11302
11302
  ],
11303
11303
  [
11304
11304
  "iconbtn",
11305
- "seed-record-panel__iconbtn"
11305
+ "seed-record-preview__iconbtn"
11306
11306
  ],
11307
11307
  [
11308
11308
  "navbtn",
11309
- "seed-record-panel__navbtn"
11309
+ "seed-record-preview__navbtn"
11310
11310
  ],
11311
11311
  [
11312
11312
  "header",
11313
- "seed-record-panel__header"
11313
+ "seed-record-preview__header"
11314
11314
  ],
11315
11315
  [
11316
11316
  "fav",
11317
- "seed-record-panel__fav"
11317
+ "seed-record-preview__fav"
11318
11318
  ],
11319
11319
  [
11320
11320
  "title",
11321
- "seed-record-panel__title"
11321
+ "seed-record-preview__title"
11322
11322
  ],
11323
11323
  [
11324
11324
  "body",
11325
- "seed-record-panel__body"
11325
+ "seed-record-preview__body"
11326
11326
  ],
11327
11327
  [
11328
11328
  "section",
11329
- "seed-record-panel__section"
11329
+ "seed-record-preview__section"
11330
11330
  ],
11331
11331
  [
11332
11332
  "sectionHead",
11333
- "seed-record-panel__sectionHead"
11333
+ "seed-record-preview__sectionHead"
11334
11334
  ],
11335
11335
  [
11336
11336
  "sectionLabel",
11337
- "seed-record-panel__sectionLabel"
11337
+ "seed-record-preview__sectionLabel"
11338
11338
  ],
11339
11339
  [
11340
11340
  "sectionAction",
11341
- "seed-record-panel__sectionAction"
11341
+ "seed-record-preview__sectionAction"
11342
11342
  ],
11343
11343
  [
11344
11344
  "highlights",
11345
- "seed-record-panel__highlights"
11345
+ "seed-record-preview__highlights"
11346
11346
  ],
11347
11347
  [
11348
11348
  "highlight",
11349
- "seed-record-panel__highlight"
11349
+ "seed-record-preview__highlight"
11350
11350
  ],
11351
11351
  [
11352
11352
  "highlightLabel",
11353
- "seed-record-panel__highlightLabel"
11353
+ "seed-record-preview__highlightLabel"
11354
11354
  ],
11355
11355
  [
11356
11356
  "highlightValue",
11357
- "seed-record-panel__highlightValue"
11357
+ "seed-record-preview__highlightValue"
11358
11358
  ],
11359
11359
  [
11360
11360
  "activity",
11361
- "seed-record-panel__activity"
11361
+ "seed-record-preview__activity"
11362
11362
  ],
11363
11363
  [
11364
11364
  "sections",
11365
- "seed-record-panel__sections"
11365
+ "seed-record-preview__sections"
11366
11366
  ],
11367
11367
  [
11368
11368
  "sectionTrigger",
11369
- "seed-record-panel__sectionTrigger"
11369
+ "seed-record-preview__sectionTrigger"
11370
11370
  ],
11371
11371
  [
11372
11372
  "sectionRowLabel",
11373
- "seed-record-panel__sectionRowLabel"
11373
+ "seed-record-preview__sectionRowLabel"
11374
11374
  ],
11375
11375
  [
11376
11376
  "sectionRowCount",
11377
- "seed-record-panel__sectionRowCount"
11377
+ "seed-record-preview__sectionRowCount"
11378
11378
  ],
11379
11379
  [
11380
11380
  "sectionChevron",
11381
- "seed-record-panel__sectionChevron"
11381
+ "seed-record-preview__sectionChevron"
11382
11382
  ],
11383
11383
  [
11384
11384
  "sectionContent",
11385
- "seed-record-panel__sectionContent"
11385
+ "seed-record-preview__sectionContent"
11386
11386
  ],
11387
11387
  [
11388
11388
  "footer",
11389
- "seed-record-panel__footer"
11389
+ "seed-record-preview__footer"
11390
11390
  ]
11391
11391
  ];
11392
11392
  const defaultVariant = {};
11393
11393
  const compoundVariants = [];
11394
- const recordPanelVariantMap = {};
11395
- function recordPanel(props) {
11396
- return Object.fromEntries(recordPanelSlotNames.map(([slot, className])=>{
11394
+ const recordPreviewVariantMap = {};
11395
+ function recordPreview(props) {
11396
+ return Object.fromEntries(recordPreviewSlotNames.map(([slot, className])=>{
11397
11397
  return [
11398
11398
  slot,
11399
11399
  createClassName(className, mergeVariants(defaultVariant, props), compoundVariants)
11400
11400
  ];
11401
11401
  }));
11402
11402
  }
11403
- Object.assign(recordPanel, {
11404
- splitVariantProps: (props)=>splitVariantProps(props, recordPanelVariantMap)
11405
- }); // @recipe(seed): record-panel
11403
+ Object.assign(recordPreview, {
11404
+ splitVariantProps: (props)=>splitVariantProps(props, recordPreviewVariantMap)
11405
+ }); // @recipe(seed): record-preview
11406
11406
 
11407
11407
  const RESIZE_MIN_WIDTH = 360;
11408
11408
  const RESIZE_MAX_WIDTH = 720;
@@ -11415,9 +11415,9 @@ const RESIZE_MAX_WIDTH = 720;
11415
11415
  * `@starting-style` slide-in, the floating elevation, the drag handle
11416
11416
  * itself) all come from that primitive; this component only renders the
11417
11417
  * CONTENT inside it.
11418
- */ function RecordPanel({ open, record, onClose, className, closeLabel = "Close panel", onOpenRecord, openRecordLabel = "Open record", onPrevious, previousRecordLabel = "Previous record", onNext, nextRecordLabel = "Next record", title, avatar, highlightsLabel = "Highlights", highlights, counterLabel, resizable = false, width, defaultWidth = 420, onWidthChange, minWidth = RESIZE_MIN_WIDTH, maxWidth = RESIZE_MAX_WIDTH, activityLabel = "Activity", viewAllActivityLabel = "View all", onViewAllActivity, activity, sections, footer, ...rest }) {
11418
+ */ function RecordPreview({ open, record, onClose, className, closeLabel = "Close panel", onOpenRecord, openRecordLabel = "Open record", onPrevious, previousRecordLabel = "Previous record", onNext, nextRecordLabel = "Next record", title, avatar, highlightsLabel = "Highlights", highlights, counterLabel, resizable = false, width, defaultWidth = 420, onWidthChange, minWidth = RESIZE_MIN_WIDTH, maxWidth = RESIZE_MAX_WIDTH, activityLabel = "Activity", viewAllActivityLabel = "View all", onViewAllActivity, activity, sections, footer, ...rest }) {
11419
11419
  const titleId = useId();
11420
- const classNames = recordPanel();
11420
+ const classNames = recordPreview();
11421
11421
  // Which sections (your-moon/crisp#413) are expanded -- uncontrolled and
11422
11422
  // independent (Attio's own Emails/Notes/Tasks open without closing one
11423
11423
  // another): a plain `Set`, reset whenever the record itself changes so a
@@ -11668,6 +11668,6 @@ const RESIZE_MAX_WIDTH = 720;
11668
11668
  })
11669
11669
  });
11670
11670
  }
11671
- RecordPanel.displayName = "RecordPanel";
11671
+ RecordPreview.displayName = "RecordPreview";
11672
11672
 
11673
- export { DataTable, DataTableViewsControl, RecordPanel, ResizablePanel };
11673
+ export { DataTable, DataTableViewsControl, RecordPreview, ResizablePanel };
@@ -1,4 +1,4 @@
1
- .seed-record-panel__root {
1
+ .seed-record-preview__root {
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;
@@ -6,7 +6,7 @@
6
6
  background: var(--seed-color-bg-layer-default);
7
7
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
8
8
  }
9
- .seed-record-panel__toolbar {
9
+ .seed-record-preview__toolbar {
10
10
  display: flex;
11
11
  align-items: center;
12
12
  height: 49px;
@@ -14,16 +14,16 @@
14
14
  padding: 8px 10px;
15
15
  border-bottom: 1px solid var(--seed-color-stroke-neutral-muted);
16
16
  }
17
- .seed-record-panel__toolbarSpacer {
17
+ .seed-record-preview__toolbarSpacer {
18
18
  flex: 1;
19
19
  }
20
- .seed-record-panel__pager {
20
+ .seed-record-preview__pager {
21
21
  display: flex;
22
22
  align-items: center;
23
23
  gap: 6px;
24
24
  margin-inline-start: 12px;
25
25
  }
26
- .seed-record-panel__counter {
26
+ .seed-record-preview__counter {
27
27
  margin-inline-start: 12px;
28
28
  font-size: 12px;
29
29
  font-weight: 500;
@@ -32,7 +32,7 @@
32
32
  overflow: hidden;
33
33
  text-overflow: ellipsis;
34
34
  }
35
- .seed-record-panel__iconbtn {
35
+ .seed-record-preview__iconbtn {
36
36
  display: inline-flex;
37
37
  align-items: center;
38
38
  justify-content: center;
@@ -48,11 +48,11 @@
48
48
  cursor: pointer;
49
49
  transition: background-color .12s;
50
50
  }
51
- .seed-record-panel__iconbtn:hover {
51
+ .seed-record-preview__iconbtn:hover {
52
52
  background: var(--seed-color-bg-layer-fill);
53
53
  color: var(--seed-color-fg-neutral);
54
54
  }
55
- .seed-record-panel__navbtn {
55
+ .seed-record-preview__navbtn {
56
56
  display: inline-flex;
57
57
  align-items: center;
58
58
  justify-content: center;
@@ -68,14 +68,14 @@
68
68
  font-family: inherit;
69
69
  cursor: pointer;
70
70
  }
71
- .seed-record-panel__navbtn:hover:not(:disabled) {
71
+ .seed-record-preview__navbtn:hover:not(:disabled) {
72
72
  background: var(--seed-color-bg-layer-fill);
73
73
  }
74
- .seed-record-panel__navbtn:disabled {
74
+ .seed-record-preview__navbtn:disabled {
75
75
  opacity: 0.4;
76
76
  cursor: not-allowed;
77
77
  }
78
- .seed-record-panel__header {
78
+ .seed-record-preview__header {
79
79
  display: flex;
80
80
  align-items: center;
81
81
  gap: 8px;
@@ -83,7 +83,7 @@
83
83
  flex-shrink: 0;
84
84
  padding: 0 12px;
85
85
  }
86
- .seed-record-panel__fav {
86
+ .seed-record-preview__fav {
87
87
  width: 22px;
88
88
  height: 22px;
89
89
  border-radius: 4px;
@@ -91,7 +91,7 @@
91
91
  object-fit: cover;
92
92
  background: var(--seed-color-bg-layer-fill);
93
93
  }
94
- .seed-record-panel__title {
94
+ .seed-record-preview__title {
95
95
  flex: 1;
96
96
  min-width: 0;
97
97
  font-size: 16px;
@@ -102,16 +102,16 @@
102
102
  text-overflow: ellipsis;
103
103
  white-space: nowrap;
104
104
  }
105
- .seed-record-panel__body {
105
+ .seed-record-preview__body {
106
106
  flex: 1;
107
107
  min-height: 0;
108
108
  overflow-y: auto;
109
109
  padding: 8px 12px;
110
110
  }
111
- .seed-record-panel__section {
111
+ .seed-record-preview__section {
112
112
  padding: 8px 4px 0;
113
113
  }
114
- .seed-record-panel__sectionHead {
114
+ .seed-record-preview__sectionHead {
115
115
  display: flex;
116
116
  align-items: center;
117
117
  justify-content: space-between;
@@ -119,12 +119,12 @@
119
119
  height: 20px;
120
120
  margin-bottom: 8px;
121
121
  }
122
- .seed-record-panel__sectionLabel {
122
+ .seed-record-preview__sectionLabel {
123
123
  font-size: 14px;
124
124
  font-weight: 500;
125
125
  color: var(--seed-color-fg-neutral-subtle);
126
126
  }
127
- .seed-record-panel__sectionAction {
127
+ .seed-record-preview__sectionAction {
128
128
  border: none;
129
129
  background: none;
130
130
  padding: 0;
@@ -134,21 +134,21 @@
134
134
  color: color-mix(in srgb, var(--seed-color-fg-neutral) 55%, transparent);
135
135
  cursor: pointer;
136
136
  }
137
- .seed-record-panel__sectionAction:hover {
137
+ .seed-record-preview__sectionAction:hover {
138
138
  color: var(--seed-color-fg-neutral);
139
139
  }
140
- .seed-record-panel__highlights {
140
+ .seed-record-preview__highlights {
141
141
  display: grid;
142
142
  grid-template-columns: 1fr 1fr;
143
143
  gap: 8px;
144
144
  }
145
- .seed-record-panel__highlight {
145
+ .seed-record-preview__highlight {
146
146
  display: flex;
147
147
  flex-direction: column;
148
148
  gap: 6px;
149
149
  min-width: 0;
150
150
  }
151
- .seed-record-panel__highlightLabel {
151
+ .seed-record-preview__highlightLabel {
152
152
  display: flex;
153
153
  align-items: center;
154
154
  gap: 4px;
@@ -156,31 +156,31 @@
156
156
  font-weight: 500;
157
157
  color: var(--seed-color-fg-neutral-subtle);
158
158
  }
159
- .seed-record-panel__highlightLabel span {
159
+ .seed-record-preview__highlightLabel span {
160
160
  overflow: hidden;
161
161
  text-overflow: ellipsis;
162
162
  white-space: nowrap;
163
163
  }
164
- .seed-record-panel__highlightLabel svg {
164
+ .seed-record-preview__highlightLabel svg {
165
165
  flex-shrink: 0;
166
166
  color: var(--seed-color-fg-neutral-subtle);
167
167
  }
168
- .seed-record-panel__highlightValue {
168
+ .seed-record-preview__highlightValue {
169
169
  font-size: 14px;
170
170
  font-weight: 500;
171
171
  color: var(--seed-color-fg-neutral);
172
172
  overflow: hidden;
173
173
  text-overflow: ellipsis;
174
174
  }
175
- .seed-record-panel__activity {
175
+ .seed-record-preview__activity {
176
176
  font-size: 14px;
177
177
  }
178
- .seed-record-panel__sections {
178
+ .seed-record-preview__sections {
179
179
  display: flex;
180
180
  flex-direction: column;
181
181
  padding-top: 8px;
182
182
  }
183
- .seed-record-panel__sectionTrigger {
183
+ .seed-record-preview__sectionTrigger {
184
184
  display: flex;
185
185
  align-items: center;
186
186
  gap: 4px;
@@ -193,31 +193,31 @@
193
193
  text-align: start;
194
194
  cursor: pointer;
195
195
  }
196
- .seed-record-panel__sectionTrigger[data-inert] {
196
+ .seed-record-preview__sectionTrigger[data-inert] {
197
197
  cursor: default;
198
198
  }
199
- .seed-record-panel__sectionRowLabel {
199
+ .seed-record-preview__sectionRowLabel {
200
200
  font-size: 14px;
201
201
  font-weight: 500;
202
202
  color: var(--seed-color-fg-neutral);
203
203
  }
204
- .seed-record-panel__sectionRowCount {
204
+ .seed-record-preview__sectionRowCount {
205
205
  font-size: 14px;
206
206
  color: var(--seed-color-fg-neutral-subtle);
207
207
  }
208
- .seed-record-panel__sectionChevron {
208
+ .seed-record-preview__sectionChevron {
209
209
  margin-inline-start: auto;
210
210
  flex-shrink: 0;
211
211
  color: var(--seed-color-fg-neutral-subtle);
212
212
  transition: transform .15s ease;
213
213
  }
214
- .seed-record-panel__sectionChevron[data-open] {
214
+ .seed-record-preview__sectionChevron[data-open] {
215
215
  transform: rotate(180deg);
216
216
  }
217
- .seed-record-panel__sectionContent {
217
+ .seed-record-preview__sectionContent {
218
218
  padding: 8px 8px 8px 12px;
219
219
  }
220
- .seed-record-panel__footer {
220
+ .seed-record-preview__footer {
221
221
  flex-shrink: 0;
222
222
  display: flex;
223
223
  align-items: center;
@@ -1,5 +1,5 @@
1
1
  @layer seed-components {
2
- .seed-record-panel__root {
2
+ .seed-record-preview__root {
3
3
  background: var(--seed-color-bg-layer-default);
4
4
  flex-direction: column;
5
5
  height: 100%;
@@ -8,7 +8,7 @@
8
8
  overflow: hidden;
9
9
  }
10
10
 
11
- .seed-record-panel__toolbar {
11
+ .seed-record-preview__toolbar {
12
12
  border-bottom: 1px solid var(--seed-color-stroke-neutral-muted);
13
13
  flex-shrink: 0;
14
14
  align-items: center;
@@ -17,18 +17,18 @@
17
17
  display: flex;
18
18
  }
19
19
 
20
- .seed-record-panel__toolbarSpacer {
20
+ .seed-record-preview__toolbarSpacer {
21
21
  flex: 1;
22
22
  }
23
23
 
24
- .seed-record-panel__pager {
24
+ .seed-record-preview__pager {
25
25
  align-items: center;
26
26
  gap: 6px;
27
27
  margin-inline-start: 12px;
28
28
  display: flex;
29
29
  }
30
30
 
31
- .seed-record-panel__counter {
31
+ .seed-record-preview__counter {
32
32
  color: var(--seed-color-fg-neutral-subtle);
33
33
  white-space: nowrap;
34
34
  text-overflow: ellipsis;
@@ -38,7 +38,7 @@
38
38
  overflow: hidden;
39
39
  }
40
40
 
41
- .seed-record-panel__iconbtn {
41
+ .seed-record-preview__iconbtn {
42
42
  width: 28px;
43
43
  height: 28px;
44
44
  color: var(--seed-color-fg-neutral-subtle);
@@ -55,12 +55,12 @@
55
55
  display: inline-flex;
56
56
  }
57
57
 
58
- .seed-record-panel__iconbtn:hover {
58
+ .seed-record-preview__iconbtn:hover {
59
59
  background: var(--seed-color-bg-layer-fill);
60
60
  color: var(--seed-color-fg-neutral);
61
61
  }
62
62
 
63
- .seed-record-panel__navbtn {
63
+ .seed-record-preview__navbtn {
64
64
  background: var(--seed-color-bg-layer-default);
65
65
  width: 28px;
66
66
  height: 28px;
@@ -77,16 +77,16 @@
77
77
  box-shadow: inset 0 0 0 1px #0000000f, 0 0 2px #1c28402e, 0 1px 3px #0000000a;
78
78
  }
79
79
 
80
- .seed-record-panel__navbtn:hover:not(:disabled) {
80
+ .seed-record-preview__navbtn:hover:not(:disabled) {
81
81
  background: var(--seed-color-bg-layer-fill);
82
82
  }
83
83
 
84
- .seed-record-panel__navbtn:disabled {
84
+ .seed-record-preview__navbtn:disabled {
85
85
  opacity: .4;
86
86
  cursor: not-allowed;
87
87
  }
88
88
 
89
- .seed-record-panel__header {
89
+ .seed-record-preview__header {
90
90
  flex-shrink: 0;
91
91
  align-items: center;
92
92
  gap: 8px;
@@ -95,7 +95,7 @@
95
95
  display: flex;
96
96
  }
97
97
 
98
- .seed-record-panel__fav {
98
+ .seed-record-preview__fav {
99
99
  object-fit: cover;
100
100
  background: var(--seed-color-bg-layer-fill);
101
101
  border-radius: 4px;
@@ -104,7 +104,7 @@
104
104
  height: 22px;
105
105
  }
106
106
 
107
- .seed-record-panel__title {
107
+ .seed-record-preview__title {
108
108
  letter-spacing: -.2px;
109
109
  min-width: 0;
110
110
  color: var(--seed-color-fg-neutral);
@@ -116,18 +116,18 @@
116
116
  overflow: hidden;
117
117
  }
118
118
 
119
- .seed-record-panel__body {
119
+ .seed-record-preview__body {
120
120
  flex: 1;
121
121
  min-height: 0;
122
122
  padding: 8px 12px;
123
123
  overflow-y: auto;
124
124
  }
125
125
 
126
- .seed-record-panel__section {
126
+ .seed-record-preview__section {
127
127
  padding: 8px 4px 0;
128
128
  }
129
129
 
130
- .seed-record-panel__sectionHead {
130
+ .seed-record-preview__sectionHead {
131
131
  justify-content: space-between;
132
132
  align-items: center;
133
133
  gap: 8px;
@@ -136,13 +136,13 @@
136
136
  display: flex;
137
137
  }
138
138
 
139
- .seed-record-panel__sectionLabel {
139
+ .seed-record-preview__sectionLabel {
140
140
  color: var(--seed-color-fg-neutral-subtle);
141
141
  font-size: 14px;
142
142
  font-weight: 500;
143
143
  }
144
144
 
145
- .seed-record-panel__sectionAction {
145
+ .seed-record-preview__sectionAction {
146
146
  color: color-mix(in srgb, var(--seed-color-fg-neutral) 55%, transparent);
147
147
  cursor: pointer;
148
148
  background: none;
@@ -153,24 +153,24 @@
153
153
  font-weight: 400;
154
154
  }
155
155
 
156
- .seed-record-panel__sectionAction:hover {
156
+ .seed-record-preview__sectionAction:hover {
157
157
  color: var(--seed-color-fg-neutral);
158
158
  }
159
159
 
160
- .seed-record-panel__highlights {
160
+ .seed-record-preview__highlights {
161
161
  grid-template-columns: 1fr 1fr;
162
162
  gap: 8px;
163
163
  display: grid;
164
164
  }
165
165
 
166
- .seed-record-panel__highlight {
166
+ .seed-record-preview__highlight {
167
167
  flex-direction: column;
168
168
  gap: 6px;
169
169
  min-width: 0;
170
170
  display: flex;
171
171
  }
172
172
 
173
- .seed-record-panel__highlightLabel {
173
+ .seed-record-preview__highlightLabel {
174
174
  color: var(--seed-color-fg-neutral-subtle);
175
175
  align-items: center;
176
176
  gap: 4px;
@@ -179,18 +179,18 @@
179
179
  display: flex;
180
180
  }
181
181
 
182
- .seed-record-panel__highlightLabel span {
182
+ .seed-record-preview__highlightLabel span {
183
183
  text-overflow: ellipsis;
184
184
  white-space: nowrap;
185
185
  overflow: hidden;
186
186
  }
187
187
 
188
- .seed-record-panel__highlightLabel svg {
188
+ .seed-record-preview__highlightLabel svg {
189
189
  color: var(--seed-color-fg-neutral-subtle);
190
190
  flex-shrink: 0;
191
191
  }
192
192
 
193
- .seed-record-panel__highlightValue {
193
+ .seed-record-preview__highlightValue {
194
194
  color: var(--seed-color-fg-neutral);
195
195
  text-overflow: ellipsis;
196
196
  font-size: 14px;
@@ -198,17 +198,17 @@
198
198
  overflow: hidden;
199
199
  }
200
200
 
201
- .seed-record-panel__activity {
201
+ .seed-record-preview__activity {
202
202
  font-size: 14px;
203
203
  }
204
204
 
205
- .seed-record-panel__sections {
205
+ .seed-record-preview__sections {
206
206
  flex-direction: column;
207
207
  padding-top: 8px;
208
208
  display: flex;
209
209
  }
210
210
 
211
- .seed-record-panel__sectionTrigger {
211
+ .seed-record-preview__sectionTrigger {
212
212
  text-align: start;
213
213
  cursor: pointer;
214
214
  background: none;
@@ -222,37 +222,37 @@
222
222
  display: flex;
223
223
  }
224
224
 
225
- .seed-record-panel__sectionTrigger[data-inert] {
225
+ .seed-record-preview__sectionTrigger[data-inert] {
226
226
  cursor: default;
227
227
  }
228
228
 
229
- .seed-record-panel__sectionRowLabel {
229
+ .seed-record-preview__sectionRowLabel {
230
230
  color: var(--seed-color-fg-neutral);
231
231
  font-size: 14px;
232
232
  font-weight: 500;
233
233
  }
234
234
 
235
- .seed-record-panel__sectionRowCount {
235
+ .seed-record-preview__sectionRowCount {
236
236
  color: var(--seed-color-fg-neutral-subtle);
237
237
  font-size: 14px;
238
238
  }
239
239
 
240
- .seed-record-panel__sectionChevron {
240
+ .seed-record-preview__sectionChevron {
241
241
  color: var(--seed-color-fg-neutral-subtle);
242
242
  flex-shrink: 0;
243
243
  margin-inline-start: auto;
244
244
  transition: transform .15s;
245
245
  }
246
246
 
247
- .seed-record-panel__sectionChevron[data-open] {
247
+ .seed-record-preview__sectionChevron[data-open] {
248
248
  transform: rotate(180deg);
249
249
  }
250
250
 
251
- .seed-record-panel__sectionContent {
251
+ .seed-record-preview__sectionContent {
252
252
  padding: 8px 8px 8px 12px;
253
253
  }
254
254
 
255
- .seed-record-panel__footer {
255
+ .seed-record-preview__footer {
256
256
  border-top: 1px solid var(--seed-color-stroke-neutral-muted);
257
257
  flex-shrink: 0;
258
258
  align-items: center;
package/dist/styles.css CHANGED
@@ -10023,7 +10023,7 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10023
10023
  --seed-prefix-icon-size: 18px;
10024
10024
  }
10025
10025
 
10026
- .seed-record-panel__root {
10026
+ .seed-record-preview__root {
10027
10027
  background: var(--seed-color-bg-layer-default);
10028
10028
  flex-direction: column;
10029
10029
  height: 100%;
@@ -10032,7 +10032,7 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10032
10032
  overflow: hidden;
10033
10033
  }
10034
10034
 
10035
- .seed-record-panel__toolbar {
10035
+ .seed-record-preview__toolbar {
10036
10036
  border-bottom: 1px solid var(--seed-color-stroke-neutral-muted);
10037
10037
  flex-shrink: 0;
10038
10038
  align-items: center;
@@ -10041,18 +10041,18 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10041
10041
  display: flex;
10042
10042
  }
10043
10043
 
10044
- .seed-record-panel__toolbarSpacer {
10044
+ .seed-record-preview__toolbarSpacer {
10045
10045
  flex: 1;
10046
10046
  }
10047
10047
 
10048
- .seed-record-panel__pager {
10048
+ .seed-record-preview__pager {
10049
10049
  align-items: center;
10050
10050
  gap: 6px;
10051
10051
  margin-inline-start: 12px;
10052
10052
  display: flex;
10053
10053
  }
10054
10054
 
10055
- .seed-record-panel__counter {
10055
+ .seed-record-preview__counter {
10056
10056
  color: var(--seed-color-fg-neutral-subtle);
10057
10057
  white-space: nowrap;
10058
10058
  text-overflow: ellipsis;
@@ -10062,7 +10062,7 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10062
10062
  overflow: hidden;
10063
10063
  }
10064
10064
 
10065
- .seed-record-panel__iconbtn {
10065
+ .seed-record-preview__iconbtn {
10066
10066
  width: 28px;
10067
10067
  height: 28px;
10068
10068
  color: var(--seed-color-fg-neutral-subtle);
@@ -10079,12 +10079,12 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10079
10079
  display: inline-flex;
10080
10080
  }
10081
10081
 
10082
- .seed-record-panel__iconbtn:hover {
10082
+ .seed-record-preview__iconbtn:hover {
10083
10083
  background: var(--seed-color-bg-layer-fill);
10084
10084
  color: var(--seed-color-fg-neutral);
10085
10085
  }
10086
10086
 
10087
- .seed-record-panel__navbtn {
10087
+ .seed-record-preview__navbtn {
10088
10088
  background: var(--seed-color-bg-layer-default);
10089
10089
  width: 28px;
10090
10090
  height: 28px;
@@ -10101,16 +10101,16 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10101
10101
  box-shadow: inset 0 0 0 1px #0000000f, 0 0 2px #1c28402e, 0 1px 3px #0000000a;
10102
10102
  }
10103
10103
 
10104
- .seed-record-panel__navbtn:hover:not(:disabled) {
10104
+ .seed-record-preview__navbtn:hover:not(:disabled) {
10105
10105
  background: var(--seed-color-bg-layer-fill);
10106
10106
  }
10107
10107
 
10108
- .seed-record-panel__navbtn:disabled {
10108
+ .seed-record-preview__navbtn:disabled {
10109
10109
  opacity: .4;
10110
10110
  cursor: not-allowed;
10111
10111
  }
10112
10112
 
10113
- .seed-record-panel__header {
10113
+ .seed-record-preview__header {
10114
10114
  flex-shrink: 0;
10115
10115
  align-items: center;
10116
10116
  gap: 8px;
@@ -10119,7 +10119,7 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10119
10119
  display: flex;
10120
10120
  }
10121
10121
 
10122
- .seed-record-panel__fav {
10122
+ .seed-record-preview__fav {
10123
10123
  object-fit: cover;
10124
10124
  background: var(--seed-color-bg-layer-fill);
10125
10125
  border-radius: 4px;
@@ -10128,7 +10128,7 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10128
10128
  height: 22px;
10129
10129
  }
10130
10130
 
10131
- .seed-record-panel__title {
10131
+ .seed-record-preview__title {
10132
10132
  letter-spacing: -.2px;
10133
10133
  min-width: 0;
10134
10134
  color: var(--seed-color-fg-neutral);
@@ -10140,18 +10140,18 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10140
10140
  overflow: hidden;
10141
10141
  }
10142
10142
 
10143
- .seed-record-panel__body {
10143
+ .seed-record-preview__body {
10144
10144
  flex: 1;
10145
10145
  min-height: 0;
10146
10146
  padding: 8px 12px;
10147
10147
  overflow-y: auto;
10148
10148
  }
10149
10149
 
10150
- .seed-record-panel__section {
10150
+ .seed-record-preview__section {
10151
10151
  padding: 8px 4px 0;
10152
10152
  }
10153
10153
 
10154
- .seed-record-panel__sectionHead {
10154
+ .seed-record-preview__sectionHead {
10155
10155
  justify-content: space-between;
10156
10156
  align-items: center;
10157
10157
  gap: 8px;
@@ -10160,13 +10160,13 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10160
10160
  display: flex;
10161
10161
  }
10162
10162
 
10163
- .seed-record-panel__sectionLabel {
10163
+ .seed-record-preview__sectionLabel {
10164
10164
  color: var(--seed-color-fg-neutral-subtle);
10165
10165
  font-size: 14px;
10166
10166
  font-weight: 500;
10167
10167
  }
10168
10168
 
10169
- .seed-record-panel__sectionAction {
10169
+ .seed-record-preview__sectionAction {
10170
10170
  color: color-mix(in srgb, var(--seed-color-fg-neutral) 55%, transparent);
10171
10171
  cursor: pointer;
10172
10172
  background: none;
@@ -10177,24 +10177,24 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10177
10177
  font-weight: 400;
10178
10178
  }
10179
10179
 
10180
- .seed-record-panel__sectionAction:hover {
10180
+ .seed-record-preview__sectionAction:hover {
10181
10181
  color: var(--seed-color-fg-neutral);
10182
10182
  }
10183
10183
 
10184
- .seed-record-panel__highlights {
10184
+ .seed-record-preview__highlights {
10185
10185
  grid-template-columns: 1fr 1fr;
10186
10186
  gap: 8px;
10187
10187
  display: grid;
10188
10188
  }
10189
10189
 
10190
- .seed-record-panel__highlight {
10190
+ .seed-record-preview__highlight {
10191
10191
  flex-direction: column;
10192
10192
  gap: 6px;
10193
10193
  min-width: 0;
10194
10194
  display: flex;
10195
10195
  }
10196
10196
 
10197
- .seed-record-panel__highlightLabel {
10197
+ .seed-record-preview__highlightLabel {
10198
10198
  color: var(--seed-color-fg-neutral-subtle);
10199
10199
  align-items: center;
10200
10200
  gap: 4px;
@@ -10203,18 +10203,18 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10203
10203
  display: flex;
10204
10204
  }
10205
10205
 
10206
- .seed-record-panel__highlightLabel span {
10206
+ .seed-record-preview__highlightLabel span {
10207
10207
  text-overflow: ellipsis;
10208
10208
  white-space: nowrap;
10209
10209
  overflow: hidden;
10210
10210
  }
10211
10211
 
10212
- .seed-record-panel__highlightLabel svg {
10212
+ .seed-record-preview__highlightLabel svg {
10213
10213
  color: var(--seed-color-fg-neutral-subtle);
10214
10214
  flex-shrink: 0;
10215
10215
  }
10216
10216
 
10217
- .seed-record-panel__highlightValue {
10217
+ .seed-record-preview__highlightValue {
10218
10218
  color: var(--seed-color-fg-neutral);
10219
10219
  text-overflow: ellipsis;
10220
10220
  font-size: 14px;
@@ -10222,17 +10222,17 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10222
10222
  overflow: hidden;
10223
10223
  }
10224
10224
 
10225
- .seed-record-panel__activity {
10225
+ .seed-record-preview__activity {
10226
10226
  font-size: 14px;
10227
10227
  }
10228
10228
 
10229
- .seed-record-panel__sections {
10229
+ .seed-record-preview__sections {
10230
10230
  flex-direction: column;
10231
10231
  padding-top: 8px;
10232
10232
  display: flex;
10233
10233
  }
10234
10234
 
10235
- .seed-record-panel__sectionTrigger {
10235
+ .seed-record-preview__sectionTrigger {
10236
10236
  text-align: start;
10237
10237
  cursor: pointer;
10238
10238
  background: none;
@@ -10246,37 +10246,37 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
10246
10246
  display: flex;
10247
10247
  }
10248
10248
 
10249
- .seed-record-panel__sectionTrigger[data-inert] {
10249
+ .seed-record-preview__sectionTrigger[data-inert] {
10250
10250
  cursor: default;
10251
10251
  }
10252
10252
 
10253
- .seed-record-panel__sectionRowLabel {
10253
+ .seed-record-preview__sectionRowLabel {
10254
10254
  color: var(--seed-color-fg-neutral);
10255
10255
  font-size: 14px;
10256
10256
  font-weight: 500;
10257
10257
  }
10258
10258
 
10259
- .seed-record-panel__sectionRowCount {
10259
+ .seed-record-preview__sectionRowCount {
10260
10260
  color: var(--seed-color-fg-neutral-subtle);
10261
10261
  font-size: 14px;
10262
10262
  }
10263
10263
 
10264
- .seed-record-panel__sectionChevron {
10264
+ .seed-record-preview__sectionChevron {
10265
10265
  color: var(--seed-color-fg-neutral-subtle);
10266
10266
  flex-shrink: 0;
10267
10267
  margin-inline-start: auto;
10268
10268
  transition: transform .15s;
10269
10269
  }
10270
10270
 
10271
- .seed-record-panel__sectionChevron[data-open] {
10271
+ .seed-record-preview__sectionChevron[data-open] {
10272
10272
  transform: rotate(180deg);
10273
10273
  }
10274
10274
 
10275
- .seed-record-panel__sectionContent {
10275
+ .seed-record-preview__sectionContent {
10276
10276
  padding: 8px 8px 8px 12px;
10277
10277
  }
10278
10278
 
10279
- .seed-record-panel__footer {
10279
+ .seed-record-preview__footer {
10280
10280
  border-top: 1px solid var(--seed-color-stroke-neutral-muted);
10281
10281
  flex-shrink: 0;
10282
10282
  align-items: center;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crispy-seed/data-table",
3
- "version": "0.6.0",
4
- "description": "Self-contained, publishable build of seed-design's Attio-measured DataTable, ResizablePanel and RecordPanel — one install, one CSS import.",
3
+ "version": "0.7.0",
4
+ "description": "Self-contained, publishable build of seed-design's Attio-measured DataTable, ResizablePanel and RecordPreview — one install, one CSS import.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/daangn/seed-design.git",
@@ -23,8 +23,8 @@
23
23
  "./data-table-recipe.layered.css": "./dist/data-table-recipe.layered.css",
24
24
  "./resizable-panel-recipe.css": "./dist/resizable-panel-recipe.css",
25
25
  "./resizable-panel-recipe.layered.css": "./dist/resizable-panel-recipe.layered.css",
26
- "./record-panel-recipe.css": "./dist/record-panel-recipe.css",
27
- "./record-panel-recipe.layered.css": "./dist/record-panel-recipe.layered.css",
26
+ "./record-preview-recipe.css": "./dist/record-preview-recipe.css",
27
+ "./record-preview-recipe.layered.css": "./dist/record-preview-recipe.layered.css",
28
28
  "./package.json": "./package.json"
29
29
  },
30
30
  "main": "./dist/index.cjs",