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

39 lines (38 loc) 1.41 kB
import { Meta, StoryObj } from '@storybook/web-components'; import { AutocompleteTypes, IInputFeedbackProp, ModusSize } from '../types'; interface TextInputArgs { 'auto-capitalize'?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'; 'auto-complete'?: AutocompleteTypes; 'auto-correct'?: 'on' | 'off'; bordered?: boolean; 'clear-aria-label'?: string; 'custom-class'?: string; disabled?: boolean; enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'; feedback?: IInputFeedbackProp; 'include-clear'?: boolean; 'include-search'?: boolean; 'input-id'?: string; inputmode?: 'decimal' | 'email' | 'none' | 'numeric' | 'search' | 'tel' | 'text' | 'url'; 'input-tab-index'?: number; label?: string; 'max-length': number; 'min-length': number; name?: string; pattern?: string; placeholder?: string; 'read-only'?: boolean; required?: boolean; size?: ModusSize; spellcheck?: boolean; type?: 'email' | 'password' | 'search' | 'tel' | 'text' | 'url'; value: string; } declare const meta: Meta<TextInputArgs>; export default meta; type Story = StoryObj<TextInputArgs>; export declare const Default: Story; export declare const WithErrorFeedback: Story; export declare const WithCustomIconSlot: Story; export declare const ShadowDomParent: Story; export declare const Migration: Story;