UNPKG

@trimble-oss/moduswebcomponents

Version:

Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust

33 lines (32 loc) 1.13 kB
import { Meta, StoryObj } from '@storybook/web-components'; import { ITableColumn } from './modus-wc-table'; import { Density } from '../types'; interface TableStoryArgs { 'custom-class'?: string; 'current-page'?: number; 'is-row-selectable'?: (row: Record<string, unknown>) => boolean; 'page-size-options'?: number[]; 'selected-row-ids'?: string[]; 'show-page-size-selector'?: boolean; caption?: string; columns?: ITableColumn[]; data?: Record<string, unknown>[]; density?: Density; editable?: boolean; hover?: boolean; paginated?: boolean; selectable?: 'none' | 'single' | 'multi'; sortable?: boolean; zebra?: boolean; } declare const meta: Meta<TableStoryArgs>; export default meta; type Story = StoryObj<TableStoryArgs>; export declare const Default: Story; export declare const Hover: Story; export declare const Sorting: Story; export declare const Pagination: Story; export declare const CheckBoxRowSelection: Story; export declare const PartialRowSelection: Story; export declare const InlineEditing: Story; export declare const ShadowDomParent: Story;