@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 +39 -39
- package/dist/index.d.ts +15 -15
- package/dist/index.js +39 -39
- package/dist/{record-panel-recipe.css → record-preview-recipe.css} +35 -35
- package/dist/{record-panel-recipe.layered.css → record-preview-recipe.layered.css} +35 -35
- package/dist/styles.css +35 -35
- package/package.json +4 -4
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-
|
|
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
|
|
11301
|
+
const recordPreviewSlotNames = [
|
|
11302
11302
|
[
|
|
11303
11303
|
"root",
|
|
11304
|
-
"seed-record-
|
|
11304
|
+
"seed-record-preview__root"
|
|
11305
11305
|
],
|
|
11306
11306
|
[
|
|
11307
11307
|
"toolbar",
|
|
11308
|
-
"seed-record-
|
|
11308
|
+
"seed-record-preview__toolbar"
|
|
11309
11309
|
],
|
|
11310
11310
|
[
|
|
11311
11311
|
"toolbarSpacer",
|
|
11312
|
-
"seed-record-
|
|
11312
|
+
"seed-record-preview__toolbarSpacer"
|
|
11313
11313
|
],
|
|
11314
11314
|
[
|
|
11315
11315
|
"pager",
|
|
11316
|
-
"seed-record-
|
|
11316
|
+
"seed-record-preview__pager"
|
|
11317
11317
|
],
|
|
11318
11318
|
[
|
|
11319
11319
|
"counter",
|
|
11320
|
-
"seed-record-
|
|
11320
|
+
"seed-record-preview__counter"
|
|
11321
11321
|
],
|
|
11322
11322
|
[
|
|
11323
11323
|
"iconbtn",
|
|
11324
|
-
"seed-record-
|
|
11324
|
+
"seed-record-preview__iconbtn"
|
|
11325
11325
|
],
|
|
11326
11326
|
[
|
|
11327
11327
|
"navbtn",
|
|
11328
|
-
"seed-record-
|
|
11328
|
+
"seed-record-preview__navbtn"
|
|
11329
11329
|
],
|
|
11330
11330
|
[
|
|
11331
11331
|
"header",
|
|
11332
|
-
"seed-record-
|
|
11332
|
+
"seed-record-preview__header"
|
|
11333
11333
|
],
|
|
11334
11334
|
[
|
|
11335
11335
|
"fav",
|
|
11336
|
-
"seed-record-
|
|
11336
|
+
"seed-record-preview__fav"
|
|
11337
11337
|
],
|
|
11338
11338
|
[
|
|
11339
11339
|
"title",
|
|
11340
|
-
"seed-record-
|
|
11340
|
+
"seed-record-preview__title"
|
|
11341
11341
|
],
|
|
11342
11342
|
[
|
|
11343
11343
|
"body",
|
|
11344
|
-
"seed-record-
|
|
11344
|
+
"seed-record-preview__body"
|
|
11345
11345
|
],
|
|
11346
11346
|
[
|
|
11347
11347
|
"section",
|
|
11348
|
-
"seed-record-
|
|
11348
|
+
"seed-record-preview__section"
|
|
11349
11349
|
],
|
|
11350
11350
|
[
|
|
11351
11351
|
"sectionHead",
|
|
11352
|
-
"seed-record-
|
|
11352
|
+
"seed-record-preview__sectionHead"
|
|
11353
11353
|
],
|
|
11354
11354
|
[
|
|
11355
11355
|
"sectionLabel",
|
|
11356
|
-
"seed-record-
|
|
11356
|
+
"seed-record-preview__sectionLabel"
|
|
11357
11357
|
],
|
|
11358
11358
|
[
|
|
11359
11359
|
"sectionAction",
|
|
11360
|
-
"seed-record-
|
|
11360
|
+
"seed-record-preview__sectionAction"
|
|
11361
11361
|
],
|
|
11362
11362
|
[
|
|
11363
11363
|
"highlights",
|
|
11364
|
-
"seed-record-
|
|
11364
|
+
"seed-record-preview__highlights"
|
|
11365
11365
|
],
|
|
11366
11366
|
[
|
|
11367
11367
|
"highlight",
|
|
11368
|
-
"seed-record-
|
|
11368
|
+
"seed-record-preview__highlight"
|
|
11369
11369
|
],
|
|
11370
11370
|
[
|
|
11371
11371
|
"highlightLabel",
|
|
11372
|
-
"seed-record-
|
|
11372
|
+
"seed-record-preview__highlightLabel"
|
|
11373
11373
|
],
|
|
11374
11374
|
[
|
|
11375
11375
|
"highlightValue",
|
|
11376
|
-
"seed-record-
|
|
11376
|
+
"seed-record-preview__highlightValue"
|
|
11377
11377
|
],
|
|
11378
11378
|
[
|
|
11379
11379
|
"activity",
|
|
11380
|
-
"seed-record-
|
|
11380
|
+
"seed-record-preview__activity"
|
|
11381
11381
|
],
|
|
11382
11382
|
[
|
|
11383
11383
|
"sections",
|
|
11384
|
-
"seed-record-
|
|
11384
|
+
"seed-record-preview__sections"
|
|
11385
11385
|
],
|
|
11386
11386
|
[
|
|
11387
11387
|
"sectionTrigger",
|
|
11388
|
-
"seed-record-
|
|
11388
|
+
"seed-record-preview__sectionTrigger"
|
|
11389
11389
|
],
|
|
11390
11390
|
[
|
|
11391
11391
|
"sectionRowLabel",
|
|
11392
|
-
"seed-record-
|
|
11392
|
+
"seed-record-preview__sectionRowLabel"
|
|
11393
11393
|
],
|
|
11394
11394
|
[
|
|
11395
11395
|
"sectionRowCount",
|
|
11396
|
-
"seed-record-
|
|
11396
|
+
"seed-record-preview__sectionRowCount"
|
|
11397
11397
|
],
|
|
11398
11398
|
[
|
|
11399
11399
|
"sectionChevron",
|
|
11400
|
-
"seed-record-
|
|
11400
|
+
"seed-record-preview__sectionChevron"
|
|
11401
11401
|
],
|
|
11402
11402
|
[
|
|
11403
11403
|
"sectionContent",
|
|
11404
|
-
"seed-record-
|
|
11404
|
+
"seed-record-preview__sectionContent"
|
|
11405
11405
|
],
|
|
11406
11406
|
[
|
|
11407
11407
|
"footer",
|
|
11408
|
-
"seed-record-
|
|
11408
|
+
"seed-record-preview__footer"
|
|
11409
11409
|
]
|
|
11410
11410
|
];
|
|
11411
11411
|
const defaultVariant = {};
|
|
11412
11412
|
const compoundVariants = [];
|
|
11413
|
-
const
|
|
11414
|
-
function
|
|
11415
|
-
return Object.fromEntries(
|
|
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(
|
|
11423
|
-
splitVariantProps: (props)=>splitVariantProps(props,
|
|
11424
|
-
}); // @recipe(seed): record-
|
|
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
|
|
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 =
|
|
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
|
-
|
|
11690
|
+
RecordPreview.displayName = "RecordPreview";
|
|
11691
11691
|
|
|
11692
11692
|
exports.DataTable = DataTable;
|
|
11693
11693
|
exports.DataTableViewsControl = DataTableViewsControl;
|
|
11694
|
-
exports.
|
|
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. `
|
|
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 `
|
|
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. `
|
|
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 `
|
|
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
|
|
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
|
|
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
|
|
649
|
+
type RecordPreviewRecord = {
|
|
650
650
|
name?: string;
|
|
651
651
|
[key: string]: unknown;
|
|
652
652
|
};
|
|
653
|
-
type
|
|
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:
|
|
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?:
|
|
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?:
|
|
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
|
|
724
|
-
declare namespace
|
|
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,
|
|
729
|
-
export type { DataTableColumn, DataTableColumnKind, DataTableProps, DataTableView, DataTableViewState, DataTableViewsControlProps,
|
|
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-
|
|
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
|
|
11282
|
+
const recordPreviewSlotNames = [
|
|
11283
11283
|
[
|
|
11284
11284
|
"root",
|
|
11285
|
-
"seed-record-
|
|
11285
|
+
"seed-record-preview__root"
|
|
11286
11286
|
],
|
|
11287
11287
|
[
|
|
11288
11288
|
"toolbar",
|
|
11289
|
-
"seed-record-
|
|
11289
|
+
"seed-record-preview__toolbar"
|
|
11290
11290
|
],
|
|
11291
11291
|
[
|
|
11292
11292
|
"toolbarSpacer",
|
|
11293
|
-
"seed-record-
|
|
11293
|
+
"seed-record-preview__toolbarSpacer"
|
|
11294
11294
|
],
|
|
11295
11295
|
[
|
|
11296
11296
|
"pager",
|
|
11297
|
-
"seed-record-
|
|
11297
|
+
"seed-record-preview__pager"
|
|
11298
11298
|
],
|
|
11299
11299
|
[
|
|
11300
11300
|
"counter",
|
|
11301
|
-
"seed-record-
|
|
11301
|
+
"seed-record-preview__counter"
|
|
11302
11302
|
],
|
|
11303
11303
|
[
|
|
11304
11304
|
"iconbtn",
|
|
11305
|
-
"seed-record-
|
|
11305
|
+
"seed-record-preview__iconbtn"
|
|
11306
11306
|
],
|
|
11307
11307
|
[
|
|
11308
11308
|
"navbtn",
|
|
11309
|
-
"seed-record-
|
|
11309
|
+
"seed-record-preview__navbtn"
|
|
11310
11310
|
],
|
|
11311
11311
|
[
|
|
11312
11312
|
"header",
|
|
11313
|
-
"seed-record-
|
|
11313
|
+
"seed-record-preview__header"
|
|
11314
11314
|
],
|
|
11315
11315
|
[
|
|
11316
11316
|
"fav",
|
|
11317
|
-
"seed-record-
|
|
11317
|
+
"seed-record-preview__fav"
|
|
11318
11318
|
],
|
|
11319
11319
|
[
|
|
11320
11320
|
"title",
|
|
11321
|
-
"seed-record-
|
|
11321
|
+
"seed-record-preview__title"
|
|
11322
11322
|
],
|
|
11323
11323
|
[
|
|
11324
11324
|
"body",
|
|
11325
|
-
"seed-record-
|
|
11325
|
+
"seed-record-preview__body"
|
|
11326
11326
|
],
|
|
11327
11327
|
[
|
|
11328
11328
|
"section",
|
|
11329
|
-
"seed-record-
|
|
11329
|
+
"seed-record-preview__section"
|
|
11330
11330
|
],
|
|
11331
11331
|
[
|
|
11332
11332
|
"sectionHead",
|
|
11333
|
-
"seed-record-
|
|
11333
|
+
"seed-record-preview__sectionHead"
|
|
11334
11334
|
],
|
|
11335
11335
|
[
|
|
11336
11336
|
"sectionLabel",
|
|
11337
|
-
"seed-record-
|
|
11337
|
+
"seed-record-preview__sectionLabel"
|
|
11338
11338
|
],
|
|
11339
11339
|
[
|
|
11340
11340
|
"sectionAction",
|
|
11341
|
-
"seed-record-
|
|
11341
|
+
"seed-record-preview__sectionAction"
|
|
11342
11342
|
],
|
|
11343
11343
|
[
|
|
11344
11344
|
"highlights",
|
|
11345
|
-
"seed-record-
|
|
11345
|
+
"seed-record-preview__highlights"
|
|
11346
11346
|
],
|
|
11347
11347
|
[
|
|
11348
11348
|
"highlight",
|
|
11349
|
-
"seed-record-
|
|
11349
|
+
"seed-record-preview__highlight"
|
|
11350
11350
|
],
|
|
11351
11351
|
[
|
|
11352
11352
|
"highlightLabel",
|
|
11353
|
-
"seed-record-
|
|
11353
|
+
"seed-record-preview__highlightLabel"
|
|
11354
11354
|
],
|
|
11355
11355
|
[
|
|
11356
11356
|
"highlightValue",
|
|
11357
|
-
"seed-record-
|
|
11357
|
+
"seed-record-preview__highlightValue"
|
|
11358
11358
|
],
|
|
11359
11359
|
[
|
|
11360
11360
|
"activity",
|
|
11361
|
-
"seed-record-
|
|
11361
|
+
"seed-record-preview__activity"
|
|
11362
11362
|
],
|
|
11363
11363
|
[
|
|
11364
11364
|
"sections",
|
|
11365
|
-
"seed-record-
|
|
11365
|
+
"seed-record-preview__sections"
|
|
11366
11366
|
],
|
|
11367
11367
|
[
|
|
11368
11368
|
"sectionTrigger",
|
|
11369
|
-
"seed-record-
|
|
11369
|
+
"seed-record-preview__sectionTrigger"
|
|
11370
11370
|
],
|
|
11371
11371
|
[
|
|
11372
11372
|
"sectionRowLabel",
|
|
11373
|
-
"seed-record-
|
|
11373
|
+
"seed-record-preview__sectionRowLabel"
|
|
11374
11374
|
],
|
|
11375
11375
|
[
|
|
11376
11376
|
"sectionRowCount",
|
|
11377
|
-
"seed-record-
|
|
11377
|
+
"seed-record-preview__sectionRowCount"
|
|
11378
11378
|
],
|
|
11379
11379
|
[
|
|
11380
11380
|
"sectionChevron",
|
|
11381
|
-
"seed-record-
|
|
11381
|
+
"seed-record-preview__sectionChevron"
|
|
11382
11382
|
],
|
|
11383
11383
|
[
|
|
11384
11384
|
"sectionContent",
|
|
11385
|
-
"seed-record-
|
|
11385
|
+
"seed-record-preview__sectionContent"
|
|
11386
11386
|
],
|
|
11387
11387
|
[
|
|
11388
11388
|
"footer",
|
|
11389
|
-
"seed-record-
|
|
11389
|
+
"seed-record-preview__footer"
|
|
11390
11390
|
]
|
|
11391
11391
|
];
|
|
11392
11392
|
const defaultVariant = {};
|
|
11393
11393
|
const compoundVariants = [];
|
|
11394
|
-
const
|
|
11395
|
-
function
|
|
11396
|
-
return Object.fromEntries(
|
|
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(
|
|
11404
|
-
splitVariantProps: (props)=>splitVariantProps(props,
|
|
11405
|
-
}); // @recipe(seed): record-
|
|
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
|
|
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 =
|
|
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
|
-
|
|
11671
|
+
RecordPreview.displayName = "RecordPreview";
|
|
11672
11672
|
|
|
11673
|
-
export { DataTable, DataTableViewsControl,
|
|
11673
|
+
export { DataTable, DataTableViewsControl, RecordPreview, ResizablePanel };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
17
|
+
.seed-record-preview__toolbarSpacer {
|
|
18
18
|
flex: 1;
|
|
19
19
|
}
|
|
20
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
71
|
+
.seed-record-preview__navbtn:hover:not(:disabled) {
|
|
72
72
|
background: var(--seed-color-bg-layer-fill);
|
|
73
73
|
}
|
|
74
|
-
.seed-record-
|
|
74
|
+
.seed-record-preview__navbtn:disabled {
|
|
75
75
|
opacity: 0.4;
|
|
76
76
|
cursor: not-allowed;
|
|
77
77
|
}
|
|
78
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
111
|
+
.seed-record-preview__section {
|
|
112
112
|
padding: 8px 4px 0;
|
|
113
113
|
}
|
|
114
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
137
|
+
.seed-record-preview__sectionAction:hover {
|
|
138
138
|
color: var(--seed-color-fg-neutral);
|
|
139
139
|
}
|
|
140
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
175
|
+
.seed-record-preview__activity {
|
|
176
176
|
font-size: 14px;
|
|
177
177
|
}
|
|
178
|
-
.seed-record-
|
|
178
|
+
.seed-record-preview__sections {
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: column;
|
|
181
181
|
padding-top: 8px;
|
|
182
182
|
}
|
|
183
|
-
.seed-record-
|
|
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-
|
|
196
|
+
.seed-record-preview__sectionTrigger[data-inert] {
|
|
197
197
|
cursor: default;
|
|
198
198
|
}
|
|
199
|
-
.seed-record-
|
|
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-
|
|
204
|
+
.seed-record-preview__sectionRowCount {
|
|
205
205
|
font-size: 14px;
|
|
206
206
|
color: var(--seed-color-fg-neutral-subtle);
|
|
207
207
|
}
|
|
208
|
-
.seed-record-
|
|
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-
|
|
214
|
+
.seed-record-preview__sectionChevron[data-open] {
|
|
215
215
|
transform: rotate(180deg);
|
|
216
216
|
}
|
|
217
|
-
.seed-record-
|
|
217
|
+
.seed-record-preview__sectionContent {
|
|
218
218
|
padding: 8px 8px 8px 12px;
|
|
219
219
|
}
|
|
220
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
20
|
+
.seed-record-preview__toolbarSpacer {
|
|
21
21
|
flex: 1;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
80
|
+
.seed-record-preview__navbtn:hover:not(:disabled) {
|
|
81
81
|
background: var(--seed-color-bg-layer-fill);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.seed-record-
|
|
84
|
+
.seed-record-preview__navbtn:disabled {
|
|
85
85
|
opacity: .4;
|
|
86
86
|
cursor: not-allowed;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
126
|
+
.seed-record-preview__section {
|
|
127
127
|
padding: 8px 4px 0;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
156
|
+
.seed-record-preview__sectionAction:hover {
|
|
157
157
|
color: var(--seed-color-fg-neutral);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
201
|
+
.seed-record-preview__activity {
|
|
202
202
|
font-size: 14px;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
225
|
+
.seed-record-preview__sectionTrigger[data-inert] {
|
|
226
226
|
cursor: default;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
247
|
+
.seed-record-preview__sectionChevron[data-open] {
|
|
248
248
|
transform: rotate(180deg);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.seed-record-
|
|
251
|
+
.seed-record-preview__sectionContent {
|
|
252
252
|
padding: 8px 8px 8px 12px;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
10044
|
+
.seed-record-preview__toolbarSpacer {
|
|
10045
10045
|
flex: 1;
|
|
10046
10046
|
}
|
|
10047
10047
|
|
|
10048
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
10104
|
+
.seed-record-preview__navbtn:hover:not(:disabled) {
|
|
10105
10105
|
background: var(--seed-color-bg-layer-fill);
|
|
10106
10106
|
}
|
|
10107
10107
|
|
|
10108
|
-
.seed-record-
|
|
10108
|
+
.seed-record-preview__navbtn:disabled {
|
|
10109
10109
|
opacity: .4;
|
|
10110
10110
|
cursor: not-allowed;
|
|
10111
10111
|
}
|
|
10112
10112
|
|
|
10113
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
10150
|
+
.seed-record-preview__section {
|
|
10151
10151
|
padding: 8px 4px 0;
|
|
10152
10152
|
}
|
|
10153
10153
|
|
|
10154
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
10180
|
+
.seed-record-preview__sectionAction:hover {
|
|
10181
10181
|
color: var(--seed-color-fg-neutral);
|
|
10182
10182
|
}
|
|
10183
10183
|
|
|
10184
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
10225
|
+
.seed-record-preview__activity {
|
|
10226
10226
|
font-size: 14px;
|
|
10227
10227
|
}
|
|
10228
10228
|
|
|
10229
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
10249
|
+
.seed-record-preview__sectionTrigger[data-inert] {
|
|
10250
10250
|
cursor: default;
|
|
10251
10251
|
}
|
|
10252
10252
|
|
|
10253
|
-
.seed-record-
|
|
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-
|
|
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-
|
|
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-
|
|
10271
|
+
.seed-record-preview__sectionChevron[data-open] {
|
|
10272
10272
|
transform: rotate(180deg);
|
|
10273
10273
|
}
|
|
10274
10274
|
|
|
10275
|
-
.seed-record-
|
|
10275
|
+
.seed-record-preview__sectionContent {
|
|
10276
10276
|
padding: 8px 8px 8px 12px;
|
|
10277
10277
|
}
|
|
10278
10278
|
|
|
10279
|
-
.seed-record-
|
|
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.
|
|
4
|
-
"description": "Self-contained, publishable build of seed-design's Attio-measured DataTable, ResizablePanel and
|
|
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-
|
|
27
|
-
"./record-
|
|
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",
|