@upbound/monarch-blocks 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { ChartAction, ChartConfig, ChartContainer, ChartDescription, ChartFooter
4
4
  export { ChatInput, ChatInputProps, ChatInterface, ChatInterfaceProps, ChatMessage, ChatMessageBubble, ChatRoutine, ChatSession, ChatSessionList, ChatSessionListProps, ChatThread, ChatThreadProps, ChatToolCall } from './chat-interface.js';
5
5
  export { CodeBlock, CodeBlockBody, CodeBlockCode, CodeBlockCopyButton, CodeBlockDownloadButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLanguage } from './code-block.js';
6
6
  export { CellContextualFilter, CellContextualFilterProps, ColumnOptions, ColumnOptionsProps, ContextualMenuAction, DataTable, DataTableBody, DataTableCelFilterConfig, DataTableCell, DataTableExpandedRow, DataTableFilterVisibilityConfig, DataTableGroupRow, DataTableHeader, DataTablePagination, DataTablePaginationConfig, DataTablePaginationProps, DataTableProps, DataTableRow, DataTableRowProps, DataTableSkeletonBody, DataTableValueCell, DataTableValueCellProps, ExpandButton, RowActionItem, RowActions, RowCountRelation, StickyHeaderConfig, TableHookOptions, TableLayout, TimestampCell, ViewFilter, ViewFilterProps, getActionsColumnDefinition, getExpandColumnDefinition, normalizePageSizeOptions } from './data-table.js';
7
- export { D as DataTableEmptyConfig, a as DataTableEmptyView, d as defaultEmptyConfig, b as defaultErrorConfig, c as defaultNoFilterFoundConfig } from './empty-view-DO36LNvk.js';
7
+ export { D as DataTableEmptyConfig, a as DataTableEmptyView, d as defaultEmptyConfig, b as defaultErrorConfig, c as defaultNoFilterFoundConfig } from './empty-view-CQtcr_Ew.js';
8
8
  export { ActiveFilter, CheckboxFilterDefinition, CheckboxFilterValue, DateFilterDefinition, DateFilterValue, FilterBar, FilterBarProps, FilterChip, FilterDefinition, FilterOption, FilterType, FilterValue, MultiTextFilterDefinition, MultiTextFilterValue, RadioFilterDefinition, RadioFilterValue, TextFilterDefinition, TextFilterValue } from './filter-bar.js';
9
9
  export { FloatingWidget, FloatingWidgetProvider, useFloatingWidget } from './floating-widget.js';
10
10
  export { Edge, Node } from 'reactflow';
package/dist/index.js CHANGED
@@ -4280,8 +4280,7 @@ function DataTableEmptyView({
4280
4280
  emptyView,
4281
4281
  tableState,
4282
4282
  filterCount,
4283
- resetFilters,
4284
- className
4283
+ resetFilters
4285
4284
  }) {
4286
4285
  var _a, _b, _c, _d, _e, _f, _g;
4287
4286
  const isFilteredEmpty = tableState === "empty" && filterCount > 0;
@@ -4291,9 +4290,7 @@ function DataTableEmptyView({
4291
4290
  /* @__PURE__ */ jsx10(Icon6, { name: "xmark" }),
4292
4291
  "Clear filters"
4293
4292
  ] }) : null;
4294
- return /* @__PURE__ */ jsx10("div", { className: cn("flex size-full flex-col justify-center p-6", wrapperClassName, className), children: config && // The error state ignores its own config's `className` for outer
4295
- // padding, matching the source's forced `pt-0` on that branch.
4296
- /* @__PURE__ */ jsxs8(Empty, { className: tableState === "error" ? "pt-0" : config.className, children: [
4293
+ return /* @__PURE__ */ jsx10("div", { className: cn("flex size-full flex-col justify-center", wrapperClassName), children: config && /* @__PURE__ */ jsxs8(Empty, { className: cn("border border-dashed", config.className), children: [
4297
4294
  /* @__PURE__ */ jsxs8(EmptyHeader, { children: [
4298
4295
  config.icon && /* @__PURE__ */ jsx10(EmptyMedia, { children: /* @__PURE__ */ jsx10(IconTile, { variant: "branded", children: /* @__PURE__ */ jsx10(Icon6, { name: config.icon }) }) }),
4299
4296
  config.header && /* @__PURE__ */ jsx10(EmptyTitle, { children: config.header }),