@pibit.ai/cure-design-system 0.3.37 → 0.3.43
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 +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/patterns/table/TableWrapper.d.ts +1 -1
- package/dist/patterns/table/TableWrapper.d.ts.map +1 -1
- package/dist/patterns/table/TableWrapper.js +883 -805
- package/dist/patterns/table/index.d.ts +3 -3
- package/dist/patterns/table/index.d.ts.map +1 -1
- package/dist/patterns/table/tableZoomLayout.d.ts +59 -0
- package/dist/patterns/table/tableZoomLayout.d.ts.map +1 -0
- package/dist/patterns/table/tableZoomLayout.js +37 -0
- package/dist/patterns/table/tableZoomLayout.test.d.ts +2 -0
- package/dist/patterns/table/tableZoomLayout.test.d.ts.map +1 -0
- package/dist/patterns/table/toolbar/TableToolbar.d.ts +2 -0
- package/dist/patterns/table/toolbar/TableToolbar.d.ts.map +1 -1
- package/dist/patterns/table/toolbar/TableToolbar.js +104 -102
- package/dist/patterns/table/types.d.ts +38 -1
- package/dist/patterns/table/types.d.ts.map +1 -1
- package/dist/styles/components.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,13 +9,13 @@ export { Text, type TextProps } from './primitives/text';
|
|
|
9
9
|
export { Heading, type HeadingProps } from './primitives/heading';
|
|
10
10
|
export { Select, type SelectProps, SearchableSelect, type SearchableSelectProps, MultiSelect, type MultiSelectProps, Popover, type PopoverProps, ExpandableSearchInput, type ExpandableSearchInputProps, } from './primitives/select';
|
|
11
11
|
export { Tooltip, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, EllipsisContentWithTooltip, createEllipsisContent, type EllipsisContentWithTooltipProps, } from './primitives/tooltip';
|
|
12
|
-
export { CustomIcon, ICONS, type CustomIconProps, type CustomIconType } from './primitives/custom-icon';
|
|
12
|
+
export { CustomIcon, ICONS, type CustomIconProps, type CustomIconType, } from './primitives/custom-icon';
|
|
13
13
|
export { Dropdown, type DropdownItemProps, type DropdownMenuProps, type DropdownPopoverProps, } from './primitives/dropdown';
|
|
14
|
-
export { Shimmer, ShimmerLine, ShimmerCircle, ShimmerBox } from './primitives/shimmer';
|
|
14
|
+
export { Shimmer, ShimmerLine, ShimmerCircle, ShimmerBox, } from './primitives/shimmer';
|
|
15
15
|
export { Snackbar, type SnackbarProps } from './primitives/snackbar';
|
|
16
16
|
export { MultiChipsSelect, type MultiChipsSelectProps, type SelectOption, tagKeyFromLabel, } from './primitives/multi-chips-select';
|
|
17
17
|
export { ScheduleCalendar, WEEKDAYS, formatHour, formatHourLabel, schedulesToCellSet, cellSetToSchedules, mergeHoursToWindows, type WeekdayKey, type ScheduleWindow, type DaySchedule, type ScheduleCalendarProps, } from './applications/schedule-calendar';
|
|
18
|
-
export { Table, TableCard, TableCell, TableRowActionsDropdown, TableWrapper, type TableWrapperProps, type TableWrapperPaginationConfig, type TableWrapperToolbarConfig, type BulkActionContext, type TableWrapperEditChrome, type TableWrapperSelectedKeys, type TableWrapperSelectionChange, type ColumnConfig, type TableCellCoord, type TableCellRangeRect, type TableCellSelection, TablePagination, type TablePaginationConfig, type TablePaginationProps, PaginationCardDefault, Pagination, ROW_HEIGHT_ICONS, type RowHeightIconKey, TOOLBAR_ICONS, type TableColumnSchema, type TableColumnMenuSchema, type TableColumnValueType, TableToolbar, pickCoreToolbarProps, registerToolbarExtensions, getToolbarExtensions, type ToolbarExtensionComponents, type SortToolConfig, type FilterToolConfig, type LegacySortToolConfig, type LegacyFilterToolConfig, RowHeightDropdown, HideFieldsDropdown, AlignDropdown, GroupByDropdown, ShowSummaryDropdown, SummaryFooterRow, ColumnHeaderMenu, RowActionsMenu, BulkActionBar, applyHideAndReorder, getDefaultAlignmentForType, getEffectiveAlignment, alignmentClass, getAggregationsForType, computeAggregation, groupRows, resolveColumnLabel, ROW_HEIGHT_CLASS, AGGREGATION_LABELS, type SearchToolConfig, type RowHeightToolConfig, type HideFieldsToolConfig, type AlignToolConfig, type GroupByToolConfig, type SummaryToolConfig, type UndoRedoToolConfig, type RowHeightOption, type SummaryFooterRowProps, type ColumnMenuAction, type ColumnMenuCapabilities, type RowActionsConfig, type CellAlignment, type AggregationType, type AggregationOption, type RowGroup, GridNavProvider, useGridKeyboardNavigation, isWithinCellEditor, findGridCell, focusGridCell, getGridNeighbor, getGridTabNeighbor, type FocusGridCellOptions, type GridNavDirection, type GridNeighbor, type GridNavValue, CELL_SCROLL_PADDING_PX, computeCellScrollDelta, measureStickyInsets, scrollGridCellIntoView, type CellScrollDelta, type GridScrollDirection, type StickyInsets, TableUndoRedoProvider, useTableUndoRedo, useTableUndoRedoScope, useIntegrateTableUndoRedo, MAX_HISTORY, type IntegrateTableUndoRedoOptions, type IntegrateTableUndoRedoResult, type TableUndoRedoRegistration, type TableUndoRedoScopeApi, type TableUndoRedoState, type TableUndoSnapshot, captureTableUndoSnapshot, applyTableUndoSnapshot, wrapColumnHeaderActionWithUndoRedo, wrapEditChromeWithUndoRedo, wrapRowActionsWithUndoRedo, wrapSummaryFooterWithUndoRedo, wrapToolbarWithUndoRedo, isSingleCellSelection, selectionFromSingleCell, buildCellRangeRect, } from './patterns/table';
|
|
18
|
+
export { Table, TableCard, TableCell, TableRowActionsDropdown, TableWrapper, type TableWrapperProps, type TableWrapperPaginationConfig, type TableWrapperToolbarConfig, type BulkActionContext, type TableWrapperEditChrome, type TableWrapperSelectedKeys, type TableWrapperSelectionChange, type TableZoomConfig, type ColumnConfig, type TableCellCoord, type TableCellRangeRect, type TableCellSelection, TablePagination, type TablePaginationConfig, type TablePaginationProps, PaginationCardDefault, Pagination, ROW_HEIGHT_ICONS, type RowHeightIconKey, TOOLBAR_ICONS, type TableColumnSchema, type TableColumnMenuSchema, type TableColumnValueType, TableToolbar, pickCoreToolbarProps, registerToolbarExtensions, getToolbarExtensions, type ToolbarExtensionComponents, type SortToolConfig, type FilterToolConfig, type LegacySortToolConfig, type LegacyFilterToolConfig, RowHeightDropdown, HideFieldsDropdown, AlignDropdown, GroupByDropdown, ShowSummaryDropdown, SummaryFooterRow, ColumnHeaderMenu, RowActionsMenu, BulkActionBar, applyHideAndReorder, getDefaultAlignmentForType, getEffectiveAlignment, alignmentClass, getAggregationsForType, computeAggregation, groupRows, resolveColumnLabel, ROW_HEIGHT_CLASS, AGGREGATION_LABELS, type SearchToolConfig, type RowHeightToolConfig, type HideFieldsToolConfig, type AlignToolConfig, type GroupByToolConfig, type SummaryToolConfig, type UndoRedoToolConfig, type RowHeightOption, type SummaryFooterRowProps, type ColumnMenuAction, type ColumnMenuCapabilities, type RowActionsConfig, type CellAlignment, type AggregationType, type AggregationOption, type RowGroup, GridNavProvider, useGridKeyboardNavigation, isWithinCellEditor, findGridCell, focusGridCell, getGridNeighbor, getGridTabNeighbor, type FocusGridCellOptions, type GridNavDirection, type GridNeighbor, type GridNavValue, CELL_SCROLL_PADDING_PX, computeCellScrollDelta, measureStickyInsets, scrollGridCellIntoView, type CellScrollDelta, type GridScrollDirection, type StickyInsets, TableUndoRedoProvider, useTableUndoRedo, useTableUndoRedoScope, useIntegrateTableUndoRedo, MAX_HISTORY, type IntegrateTableUndoRedoOptions, type IntegrateTableUndoRedoResult, type TableUndoRedoRegistration, type TableUndoRedoScopeApi, type TableUndoRedoState, type TableUndoSnapshot, captureTableUndoSnapshot, applyTableUndoSnapshot, wrapColumnHeaderActionWithUndoRedo, wrapEditChromeWithUndoRedo, wrapRowActionsWithUndoRedo, wrapSummaryFooterWithUndoRedo, wrapToolbarWithUndoRedo, isSingleCellSelection, selectionFromSingleCell, buildCellRangeRect, } from './patterns/table';
|
|
19
19
|
export { TreeView, buildTreeViewNodes, type TreeViewNode, type TreeViewProps, type TreeViewBuildConfig, } from './patterns/tree-view';
|
|
20
20
|
export { cn, cx, sortCx } from './utils/cn';
|
|
21
21
|
export { getShortcutLabel, getPlatformShortcutLabel, type ShortcutModifier, } from './utils/keyboard-shortcut';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@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,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,QAAQ,EACb,eAAe,EACf,yBAAyB,EACzB,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,WAAW,EACX,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,kCAAkC,EAClC,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,QAAQ,EACR,kBAAkB,EAClB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,mBAAmB,GACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,gBAAgB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TableWrapperProps } from './types';
|
|
2
|
-
export type { BulkActionContext, ColumnConfig, TableWrapperEditChrome, TableWrapperPaginationConfig, TableWrapperProps, TableWrapperSelectedKeys, TableWrapperSelectionChange, TableWrapperToolbarConfig, TableCellCoord, TableCellRangeRect, TableCellSelection, } from './types';
|
|
2
|
+
export type { BulkActionContext, ColumnConfig, TableWrapperEditChrome, TableWrapperPaginationConfig, TableWrapperProps, TableWrapperSelectedKeys, TableWrapperSelectionChange, TableWrapperToolbarConfig, TableZoomConfig, TableCellCoord, TableCellRangeRect, TableCellSelection, } from './types';
|
|
3
3
|
export declare const TableWrapper: import('react').ForwardRefExoticComponent<TableWrapperProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
4
|
//# sourceMappingURL=TableWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableWrapper.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/TableWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableWrapper.d.ts","sourceRoot":"","sources":["../../../src/patterns/table/TableWrapper.tsx"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAKV,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAyCjB,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,EACjB,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAsHjB,eAAO,MAAM,YAAY,8GA06DxB,CAAC"}
|