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

25 lines (24 loc) 976 B
import { Meta, StoryObj } from '@storybook/web-components'; import { DaisySize, ModusSize, PopoverPlacement } from '../types'; interface DropdownMenuArgs { 'button-aria-label'?: string; 'button-color'?: 'primary' | 'secondary' | 'tertiary' | 'warning' | 'danger'; 'button-shape'?: 'circle' | 'ellipse' | 'rectangle' | 'square'; 'button-size'?: DaisySize | 'xl'; 'button-variant'?: 'borderless' | 'filled' | 'outlined'; 'custom-class'?: string; disabled?: boolean; 'menu-bordered'?: boolean; 'menu-offset'?: number; 'menu-placement'?: PopoverPlacement; 'menu-size'?: ModusSize; 'menu-strategy'?: 'absolute' | 'fixed'; 'menu-visible': boolean; } declare const meta: Meta<DropdownMenuArgs>; export default meta; type Story = StoryObj<DropdownMenuArgs>; export declare const Default: Story; export declare const IconOnlyDropdownMenu: Story; export declare const WithTreeMenu: Story; export declare const ShadowDomParent: Story;