@maanlamp/react-web-ui 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +181 -2
- package/dist/assets/spinner.js +28 -0
- package/dist/base.css +171 -0
- package/dist/components/accordion/accordion.css +93 -0
- package/dist/components/accordion/accordion.d.ts +47 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/accordion.js +184 -0
- package/dist/components/accordion/accordion.module.js +16 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/active-filters/active-filter-describers.d.ts +58 -0
- package/dist/components/active-filters/active-filter-describers.d.ts.map +1 -0
- package/dist/components/active-filters/active-filter-describers.js +48 -0
- package/dist/components/active-filters/active-filters.d.ts +28 -0
- package/dist/components/active-filters/active-filters.d.ts.map +1 -0
- package/dist/components/active-filters/active-filters.js +96 -0
- package/dist/components/active-filters/index.d.ts +3 -0
- package/dist/components/active-filters/index.d.ts.map +1 -0
- package/dist/components/active-filters/index.js +3 -0
- package/dist/components/attachment-tile/attachment-preview.d.ts +34 -0
- package/dist/components/attachment-tile/attachment-preview.d.ts.map +1 -0
- package/dist/components/attachment-tile/attachment-preview.js +181 -0
- package/dist/components/attachment-tile/attachment-tile.css +92 -0
- package/dist/components/attachment-tile/attachment-tile.d.ts +48 -0
- package/dist/components/attachment-tile/attachment-tile.d.ts.map +1 -0
- package/dist/components/attachment-tile/attachment-tile.js +126 -0
- package/dist/components/attachment-tile/attachment-tile.module.js +20 -0
- package/dist/components/attachment-tile/index.d.ts +3 -0
- package/dist/components/attachment-tile/index.d.ts.map +1 -0
- package/dist/components/attachment-tile/index.js +3 -0
- package/dist/components/avatar/avatar.css +48 -0
- package/dist/components/avatar/avatar.d.ts +20 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.js +98 -0
- package/dist/components/avatar/avatar.module.js +10 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/avatar-group/avatar-group.css +75 -0
- package/dist/components/avatar-group/avatar-group.d.ts +41 -0
- package/dist/components/avatar-group/avatar-group.d.ts.map +1 -0
- package/dist/components/avatar-group/avatar-group.js +213 -0
- package/dist/components/avatar-group/avatar-group.module.js +20 -0
- package/dist/components/avatar-group/index.d.ts +2 -0
- package/dist/components/avatar-group/index.d.ts.map +1 -0
- package/dist/components/avatar-group/index.js +1 -0
- package/dist/components/badge/badge.css +101 -0
- package/dist/components/badge/badge.d.ts +18 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/badge.js +61 -0
- package/dist/components/badge/badge.module.js +4 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.css +57 -0
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +106 -0
- package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.js +710 -0
- package/dist/components/breadcrumbs/breadcrumbs.module.js +20 -0
- package/dist/components/breadcrumbs/index.d.ts +3 -0
- package/dist/components/breadcrumbs/index.d.ts.map +1 -0
- package/dist/components/breadcrumbs/index.js +3 -0
- package/dist/components/breadcrumbs/use-fold.d.ts +35 -0
- package/dist/components/breadcrumbs/use-fold.d.ts.map +1 -0
- package/dist/components/breadcrumbs/use-fold.js +73 -0
- package/dist/components/button/button.css +111 -0
- package/dist/components/button/button.d.ts +48 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +213 -0
- package/dist/components/button/button.module.js +4 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/checkbox-field/checkbox-field.d.ts +21 -0
- package/dist/components/checkbox-field/checkbox-field.d.ts.map +1 -0
- package/dist/components/checkbox-field/checkbox-field.js +180 -0
- package/dist/components/checkbox-field/checkbox-glyph.d.ts +13 -0
- package/dist/components/checkbox-field/checkbox-glyph.d.ts.map +1 -0
- package/dist/components/checkbox-field/checkbox-glyph.js +38 -0
- package/dist/components/checkbox-field/checkbox.css +126 -0
- package/dist/components/checkbox-field/checkbox.d.ts +15 -0
- package/dist/components/checkbox-field/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox-field/checkbox.js +82 -0
- package/dist/components/checkbox-field/checkbox.module.js +14 -0
- package/dist/components/checkbox-field/index.d.ts +5 -0
- package/dist/components/checkbox-field/index.d.ts.map +1 -0
- package/dist/components/checkbox-field/index.js +5 -0
- package/dist/components/checkbox-field/tsf-checkbox-field.d.ts +15 -0
- package/dist/components/checkbox-field/tsf-checkbox-field.d.ts.map +1 -0
- package/dist/components/checkbox-field/tsf-checkbox-field.js +40 -0
- package/dist/components/checkbox-group-field/checkbox-group-field.d.ts +35 -0
- package/dist/components/checkbox-group-field/checkbox-group-field.d.ts.map +1 -0
- package/dist/components/checkbox-group-field/checkbox-group-field.js +128 -0
- package/dist/components/checkbox-group-field/checkbox-group.css +31 -0
- package/dist/components/checkbox-group-field/checkbox-group.d.ts +39 -0
- package/dist/components/checkbox-group-field/checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox-group-field/checkbox-group.js +102 -0
- package/dist/components/checkbox-group-field/checkbox-group.module.js +8 -0
- package/dist/components/checkbox-group-field/index.d.ts +4 -0
- package/dist/components/checkbox-group-field/index.d.ts.map +1 -0
- package/dist/components/checkbox-group-field/index.js +4 -0
- package/dist/components/checkbox-group-field/tsf-checkbox-group-field.d.ts +16 -0
- package/dist/components/checkbox-group-field/tsf-checkbox-group-field.d.ts.map +1 -0
- package/dist/components/checkbox-group-field/tsf-checkbox-group-field.js +41 -0
- package/dist/components/collapsible/collapsible.css +88 -0
- package/dist/components/collapsible/collapsible.d.ts +34 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/collapsible.js +146 -0
- package/dist/components/collapsible/collapsible.module.js +14 -0
- package/dist/components/collapsible/index.d.ts +2 -0
- package/dist/components/collapsible/index.d.ts.map +1 -0
- package/dist/components/collapsible/index.js +1 -0
- package/dist/components/combobox-field/combobox-field.d.ts +67 -0
- package/dist/components/combobox-field/combobox-field.d.ts.map +1 -0
- package/dist/components/combobox-field/combobox-field.js +532 -0
- package/dist/components/combobox-field/combobox-items.d.ts +81 -0
- package/dist/components/combobox-field/combobox-items.d.ts.map +1 -0
- package/dist/components/combobox-field/combobox-items.js +27 -0
- package/dist/components/combobox-field/combobox-popup-body.d.ts +35 -0
- package/dist/components/combobox-field/combobox-popup-body.d.ts.map +1 -0
- package/dist/components/combobox-field/combobox-popup-body.js +142 -0
- package/dist/components/combobox-field/combobox.css +524 -0
- package/dist/components/combobox-field/combobox.d.ts +106 -0
- package/dist/components/combobox-field/combobox.d.ts.map +1 -0
- package/dist/components/combobox-field/combobox.js +647 -0
- package/dist/components/combobox-field/combobox.module.js +46 -0
- package/dist/components/combobox-field/index.d.ts +8 -0
- package/dist/components/combobox-field/index.d.ts.map +1 -0
- package/dist/components/combobox-field/index.js +4 -0
- package/dist/components/combobox-field/item-lookups.d.ts +19 -0
- package/dist/components/combobox-field/item-lookups.d.ts.map +1 -0
- package/dist/components/combobox-field/item-lookups.js +8 -0
- package/dist/components/combobox-field/react-query.d.ts +16 -0
- package/dist/components/combobox-field/react-query.d.ts.map +1 -0
- package/dist/components/combobox-field/react-query.js +78 -0
- package/dist/components/combobox-field/selection.d.ts +51 -0
- package/dist/components/combobox-field/selection.d.ts.map +1 -0
- package/dist/components/combobox-field/selection.js +38 -0
- package/dist/components/combobox-field/tsf-combobox-field.d.ts +34 -0
- package/dist/components/combobox-field/tsf-combobox-field.d.ts.map +1 -0
- package/dist/components/combobox-field/tsf-combobox-field.js +88 -0
- package/dist/components/combobox-field/value-state-view.css +21 -0
- package/dist/components/combobox-field/value-state-view.d.ts +36 -0
- package/dist/components/combobox-field/value-state-view.d.ts.map +1 -0
- package/dist/components/combobox-field/value-state-view.js +107 -0
- package/dist/components/combobox-field/value-state-view.module.js +10 -0
- package/dist/components/combobox-field/value-state.d.ts +50 -0
- package/dist/components/combobox-field/value-state.d.ts.map +1 -0
- package/dist/components/combobox-field/value-state.js +38 -0
- package/dist/components/composer/composer-attachments.d.ts +32 -0
- package/dist/components/composer/composer-attachments.d.ts.map +1 -0
- package/dist/components/composer/composer-attachments.js +158 -0
- package/dist/components/composer/composer-editor.css +105 -0
- package/dist/components/composer/composer-editor.d.ts +16 -0
- package/dist/components/composer/composer-editor.d.ts.map +1 -0
- package/dist/components/composer/composer-editor.js +165 -0
- package/dist/components/composer/composer-editor.module.js +14 -0
- package/dist/components/composer/composer-mentions.d.ts +11 -0
- package/dist/components/composer/composer-mentions.d.ts.map +1 -0
- package/dist/components/composer/composer-mentions.js +294 -0
- package/dist/components/composer/composer.context.d.ts +57 -0
- package/dist/components/composer/composer.context.d.ts.map +1 -0
- package/dist/components/composer/composer.context.js +14 -0
- package/dist/components/composer/composer.css +80 -0
- package/dist/components/composer/composer.d.ts +78 -0
- package/dist/components/composer/composer.d.ts.map +1 -0
- package/dist/components/composer/composer.handle.d.ts +32 -0
- package/dist/components/composer/composer.handle.d.ts.map +1 -0
- package/dist/components/composer/composer.handle.js +41 -0
- package/dist/components/composer/composer.js +428 -0
- package/dist/components/composer/composer.module.js +14 -0
- package/dist/components/composer/editor-behavior.d.ts +3 -0
- package/dist/components/composer/editor-behavior.d.ts.map +1 -0
- package/dist/components/composer/editor-behavior.js +99 -0
- package/dist/components/composer/index.d.ts +9 -0
- package/dist/components/composer/index.d.ts.map +1 -0
- package/dist/components/composer/index.js +3 -0
- package/dist/components/composer/mention-node.d.ts +45 -0
- package/dist/components/composer/mention-node.d.ts.map +1 -0
- package/dist/components/composer/mention-node.js +71 -0
- package/dist/components/composer/mention-sources.d.ts +15 -0
- package/dist/components/composer/mention-sources.d.ts.map +1 -0
- package/dist/components/composer/mention-text.css +14 -0
- package/dist/components/composer/mention-text.d.ts +67 -0
- package/dist/components/composer/mention-text.d.ts.map +1 -0
- package/dist/components/composer/mention-text.js +95 -0
- package/dist/components/composer/mention-text.module.js +4 -0
- package/dist/components/confirm-dialog/confirm-dialog.css +68 -0
- package/dist/components/confirm-dialog/confirm-dialog.d.ts +75 -0
- package/dist/components/confirm-dialog/confirm-dialog.d.ts.map +1 -0
- package/dist/components/confirm-dialog/confirm-dialog.js +400 -0
- package/dist/components/confirm-dialog/confirm-dialog.module.js +14 -0
- package/dist/components/confirm-dialog/index.d.ts +2 -0
- package/dist/components/confirm-dialog/index.d.ts.map +1 -0
- package/dist/components/confirm-dialog/index.js +1 -0
- package/dist/components/conversation/conversation.context.d.ts +17 -0
- package/dist/components/conversation/conversation.context.d.ts.map +1 -0
- package/dist/components/conversation/conversation.context.js +14 -0
- package/dist/components/conversation/conversation.css +143 -0
- package/dist/components/conversation/conversation.d.ts +127 -0
- package/dist/components/conversation/conversation.d.ts.map +1 -0
- package/dist/components/conversation/conversation.js +761 -0
- package/dist/components/conversation/conversation.module.js +34 -0
- package/dist/components/conversation/group-messages.d.ts +35 -0
- package/dist/components/conversation/group-messages.d.ts.map +1 -0
- package/dist/components/conversation/group-messages.js +64 -0
- package/dist/components/conversation/index.d.ts +5 -0
- package/dist/components/conversation/index.d.ts.map +1 -0
- package/dist/components/conversation/index.js +4 -0
- package/dist/components/conversation/moment.d.ts +12 -0
- package/dist/components/conversation/moment.d.ts.map +1 -0
- package/dist/components/conversation/moment.js +15 -0
- package/dist/components/date-field/date-field.d.ts +46 -0
- package/dist/components/date-field/date-field.d.ts.map +1 -0
- package/dist/components/date-field/date-field.js +183 -0
- package/dist/components/date-field/date-input.d.ts +47 -0
- package/dist/components/date-field/date-input.d.ts.map +1 -0
- package/dist/components/date-field/date-input.js +109 -0
- package/dist/components/date-field/index.d.ts +5 -0
- package/dist/components/date-field/index.d.ts.map +1 -0
- package/dist/components/date-field/index.js +4 -0
- package/dist/components/date-field/tsf-date-field.d.ts +15 -0
- package/dist/components/date-field/tsf-date-field.d.ts.map +1 -0
- package/dist/components/date-field/tsf-date-field.js +40 -0
- package/dist/components/date-range-field/date-range-field.d.ts +54 -0
- package/dist/components/date-range-field/date-range-field.d.ts.map +1 -0
- package/dist/components/date-range-field/date-range-field.js +188 -0
- package/dist/components/date-range-field/date-range-input.d.ts +52 -0
- package/dist/components/date-range-field/date-range-input.d.ts.map +1 -0
- package/dist/components/date-range-field/date-range-input.js +109 -0
- package/dist/components/date-range-field/index.d.ts +5 -0
- package/dist/components/date-range-field/index.d.ts.map +1 -0
- package/dist/components/date-range-field/index.js +5 -0
- package/dist/components/date-range-field/tsf-date-range-field.d.ts +16 -0
- package/dist/components/date-range-field/tsf-date-range-field.d.ts.map +1 -0
- package/dist/components/date-range-field/tsf-date-range-field.js +58 -0
- package/dist/components/detail-list/detail-list.css +32 -0
- package/dist/components/detail-list/detail-list.d.ts +42 -0
- package/dist/components/detail-list/detail-list.d.ts.map +1 -0
- package/dist/components/detail-list/detail-list.js +163 -0
- package/dist/components/detail-list/detail-list.module.js +14 -0
- package/dist/components/detail-list/index.d.ts +2 -0
- package/dist/components/detail-list/index.d.ts.map +1 -0
- package/dist/components/detail-list/index.js +1 -0
- package/dist/components/dialog/dialog.css +78 -0
- package/dist/components/dialog/dialog.d.ts +62 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/dialog.js +249 -0
- package/dist/components/dialog/dialog.module.js +16 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/divider/divider.css +16 -0
- package/dist/components/divider/divider.d.ts +14 -0
- package/dist/components/divider/divider.d.ts.map +1 -0
- package/dist/components/divider/divider.js +47 -0
- package/dist/components/divider/divider.module.js +10 -0
- package/dist/components/divider/index.d.ts +2 -0
- package/dist/components/divider/index.d.ts.map +1 -0
- package/dist/components/divider/index.js +1 -0
- package/dist/components/drawer/drawer.css +168 -0
- package/dist/components/drawer/drawer.d.ts +68 -0
- package/dist/components/drawer/drawer.d.ts.map +1 -0
- package/dist/components/drawer/drawer.js +223 -0
- package/dist/components/drawer/drawer.module.js +16 -0
- package/dist/components/drawer/index.d.ts +2 -0
- package/dist/components/drawer/index.d.ts.map +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/email-field/email-field.d.ts +12 -0
- package/dist/components/email-field/email-field.d.ts.map +1 -0
- package/dist/components/email-field/email-field.js +45 -0
- package/dist/components/email-field/index.d.ts +3 -0
- package/dist/components/email-field/index.d.ts.map +1 -0
- package/dist/components/email-field/index.js +3 -0
- package/dist/components/email-field/tsf-email-field.d.ts +14 -0
- package/dist/components/email-field/tsf-email-field.d.ts.map +1 -0
- package/dist/components/email-field/tsf-email-field.js +14 -0
- package/dist/components/empty-message/empty-message.d.ts +17 -0
- package/dist/components/empty-message/empty-message.d.ts.map +1 -0
- package/dist/components/empty-message/empty-message.js +31 -0
- package/dist/components/empty-message/index.d.ts +2 -0
- package/dist/components/empty-message/index.d.ts.map +1 -0
- package/dist/components/empty-message/index.js +1 -0
- package/dist/components/error-boundary/error-boundary.d.ts +44 -0
- package/dist/components/error-boundary/error-boundary.d.ts.map +1 -0
- package/dist/components/error-boundary/error-boundary.js +60 -0
- package/dist/components/error-boundary/index.d.ts +2 -0
- package/dist/components/error-boundary/index.d.ts.map +1 -0
- package/dist/components/error-boundary/index.js +1 -0
- package/dist/components/error-message/error-message.d.ts +16 -0
- package/dist/components/error-message/error-message.d.ts.map +1 -0
- package/dist/components/error-message/error-message.js +30 -0
- package/dist/components/error-message/index.d.ts +2 -0
- package/dist/components/error-message/index.d.ts.map +1 -0
- package/dist/components/error-message/index.js +1 -0
- package/dist/components/error-text/error-cascade.d.ts +33 -0
- package/dist/components/error-text/error-cascade.d.ts.map +1 -0
- package/dist/components/error-text/error-cascade.js +49 -0
- package/dist/components/error-text/error-text.css +27 -0
- package/dist/components/error-text/error-text.d.ts +23 -0
- package/dist/components/error-text/error-text.d.ts.map +1 -0
- package/dist/components/error-text/error-text.js +139 -0
- package/dist/components/error-text/error-text.module.js +11 -0
- package/dist/components/error-text/index.d.ts +2 -0
- package/dist/components/error-text/index.d.ts.map +1 -0
- package/dist/components/error-text/index.js +1 -0
- package/dist/components/field/choice-option.d.ts +12 -0
- package/dist/components/field/choice-option.d.ts.map +1 -0
- package/dist/components/field/field-state.d.ts +50 -0
- package/dist/components/field/field-state.d.ts.map +1 -0
- package/dist/components/field/field-state.js +28 -0
- package/dist/components/field/field.css +50 -0
- package/dist/components/field/field.d.ts +179 -0
- package/dist/components/field/field.d.ts.map +1 -0
- package/dist/components/field/field.js +434 -0
- package/dist/components/field/field.module.js +20 -0
- package/dist/components/field/fieldset.d.ts +23 -0
- package/dist/components/field/fieldset.d.ts.map +1 -0
- package/dist/components/field/fieldset.js +128 -0
- package/dist/components/field/hidden-input.d.ts +9 -0
- package/dist/components/field/hidden-input.d.ts.map +1 -0
- package/dist/components/field/hidden-input.js +12 -0
- package/dist/components/field/index.d.ts +8 -0
- package/dist/components/field/index.d.ts.map +1 -0
- package/dist/components/field/index.js +7 -0
- package/dist/components/field/options-load.d.ts +55 -0
- package/dist/components/field/options-load.d.ts.map +1 -0
- package/dist/components/field/options-load.js +38 -0
- package/dist/components/field/rim-focus.d.ts +11 -0
- package/dist/components/field/rim-focus.d.ts.map +1 -0
- package/dist/components/field/rim-focus.js +23 -0
- package/dist/components/field/use-field-focus.d.ts +38 -0
- package/dist/components/field/use-field-focus.d.ts.map +1 -0
- package/dist/components/field/use-field-focus.js +71 -0
- package/dist/components/field-placeholder/field-placeholder.css +22 -0
- package/dist/components/field-placeholder/field-placeholder.d.ts +11 -0
- package/dist/components/field-placeholder/field-placeholder.d.ts.map +1 -0
- package/dist/components/field-placeholder/field-placeholder.js +54 -0
- package/dist/components/field-placeholder/field-placeholder.module.js +12 -0
- package/dist/components/field-placeholder/index.d.ts +2 -0
- package/dist/components/field-placeholder/index.d.ts.map +1 -0
- package/dist/components/field-placeholder/index.js +1 -0
- package/dist/components/file-field/file-field.css +95 -0
- package/dist/components/file-field/file-field.d.ts +60 -0
- package/dist/components/file-field/file-field.d.ts.map +1 -0
- package/dist/components/file-field/file-field.js +302 -0
- package/dist/components/file-field/file-field.module.js +10 -0
- package/dist/components/file-field/file-input.d.ts +86 -0
- package/dist/components/file-field/file-input.d.ts.map +1 -0
- package/dist/components/file-field/file-input.js +338 -0
- package/dist/components/file-field/file-size.d.ts +22 -0
- package/dist/components/file-field/file-size.d.ts.map +1 -0
- package/dist/components/file-field/file-size.js +18 -0
- package/dist/components/file-field/file-type.d.ts +22 -0
- package/dist/components/file-field/file-type.d.ts.map +1 -0
- package/dist/components/file-field/file-type.js +28 -0
- package/dist/components/file-field/index.d.ts +4 -0
- package/dist/components/file-field/index.d.ts.map +1 -0
- package/dist/components/file-field/index.js +4 -0
- package/dist/components/file-field/tsf-file-field.d.ts +15 -0
- package/dist/components/file-field/tsf-file-field.d.ts.map +1 -0
- package/dist/components/file-field/tsf-file-field.js +48 -0
- package/dist/components/filter-bar/filter-bar.css +34 -0
- package/dist/components/filter-bar/filter-bar.d.ts +86 -0
- package/dist/components/filter-bar/filter-bar.d.ts.map +1 -0
- package/dist/components/filter-bar/filter-bar.js +310 -0
- package/dist/components/filter-bar/filter-bar.module.js +14 -0
- package/dist/components/filter-bar/index.d.ts +3 -0
- package/dist/components/filter-bar/index.d.ts.map +1 -0
- package/dist/components/filter-bar/index.js +3 -0
- package/dist/components/filter-bar/use-filter-view.d.ts +87 -0
- package/dist/components/filter-bar/use-filter-view.d.ts.map +1 -0
- package/dist/components/filter-bar/use-filter-view.js +219 -0
- package/dist/components/form/first-invalid.d.ts +11 -0
- package/dist/components/form/first-invalid.d.ts.map +1 -0
- package/dist/components/form/first-invalid.js +31 -0
- package/dist/components/form/form-context.d.ts +24 -0
- package/dist/components/form/form-context.d.ts.map +1 -0
- package/dist/components/form/form-context.js +28 -0
- package/dist/components/form/form.css +14 -0
- package/dist/components/form/form.d.ts +69 -0
- package/dist/components/form/form.d.ts.map +1 -0
- package/dist/components/form/form.js +317 -0
- package/dist/components/form/form.module.js +8 -0
- package/dist/components/form/index.d.ts +3 -0
- package/dist/components/form/index.d.ts.map +1 -0
- package/dist/components/form/index.js +3 -0
- package/dist/components/icon/icon.css +9 -0
- package/dist/components/icon/icon.d.ts +32 -0
- package/dist/components/icon/icon.d.ts.map +1 -0
- package/dist/components/icon/icon.js +61 -0
- package/dist/components/icon/icon.module.js +4 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/icon/index.d.ts.map +1 -0
- package/dist/components/icon/index.js +1 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.d.ts.map +1 -0
- package/dist/components/link/index.js +1 -0
- package/dist/components/link/link.css +18 -0
- package/dist/components/link/link.d.ts +12 -0
- package/dist/components/link/link.d.ts.map +1 -0
- package/dist/components/link/link.js +45 -0
- package/dist/components/link/link.module.js +4 -0
- package/dist/components/link-button/index.d.ts +2 -0
- package/dist/components/link-button/index.d.ts.map +1 -0
- package/dist/components/link-button/index.js +1 -0
- package/dist/components/link-button/link-button.d.ts +24 -0
- package/dist/components/link-button/link-button.d.ts.map +1 -0
- package/dist/components/link-button/link-button.js +82 -0
- package/dist/components/loading-message/index.d.ts +2 -0
- package/dist/components/loading-message/index.d.ts.map +1 -0
- package/dist/components/loading-message/index.js +1 -0
- package/dist/components/loading-message/loading-message.d.ts +23 -0
- package/dist/components/loading-message/loading-message.d.ts.map +1 -0
- package/dist/components/loading-message/loading-message.js +55 -0
- package/dist/components/locale-provider/index.d.ts +2 -0
- package/dist/components/locale-provider/index.d.ts.map +1 -0
- package/dist/components/locale-provider/index.js +1 -0
- package/dist/components/locale-provider/locale-provider.d.ts +23 -0
- package/dist/components/locale-provider/locale-provider.d.ts.map +1 -0
- package/dist/components/locale-provider/locale-provider.js +50 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/index.d.ts.map +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/menu/menu.css +123 -0
- package/dist/components/menu/menu.d.ts +79 -0
- package/dist/components/menu/menu.d.ts.map +1 -0
- package/dist/components/menu/menu.js +382 -0
- package/dist/components/menu/menu.module.js +20 -0
- package/dist/components/nav/index.d.ts +4 -0
- package/dist/components/nav/index.d.ts.map +1 -0
- package/dist/components/nav/index.js +3 -0
- package/dist/components/nav/nav-context.d.ts +18 -0
- package/dist/components/nav/nav-context.d.ts.map +1 -0
- package/dist/components/nav/nav-context.js +5 -0
- package/dist/components/nav/nav-item-view.d.ts +64 -0
- package/dist/components/nav/nav-item-view.d.ts.map +1 -0
- package/dist/components/nav/nav-item-view.js +243 -0
- package/dist/components/nav/nav.css +310 -0
- package/dist/components/nav/nav.d.ts +84 -0
- package/dist/components/nav/nav.d.ts.map +1 -0
- package/dist/components/nav/nav.js +481 -0
- package/dist/components/nav/nav.module.js +32 -0
- package/dist/components/number-field/index.d.ts +5 -0
- package/dist/components/number-field/index.d.ts.map +1 -0
- package/dist/components/number-field/index.js +5 -0
- package/dist/components/number-field/number-field-formats.d.ts +25 -0
- package/dist/components/number-field/number-field-formats.d.ts.map +1 -0
- package/dist/components/number-field/number-field-formats.js +43 -0
- package/dist/components/number-field/number-field.css +110 -0
- package/dist/components/number-field/number-field.d.ts +34 -0
- package/dist/components/number-field/number-field.d.ts.map +1 -0
- package/dist/components/number-field/number-field.js +168 -0
- package/dist/components/number-field/number-field.module.js +16 -0
- package/dist/components/number-field/number-input-context.d.ts +23 -0
- package/dist/components/number-field/number-input-context.d.ts.map +1 -0
- package/dist/components/number-field/number-input-context.js +15 -0
- package/dist/components/number-field/number-input.d.ts +81 -0
- package/dist/components/number-field/number-input.d.ts.map +1 -0
- package/dist/components/number-field/number-input.js +482 -0
- package/dist/components/number-field/tsf-number-field.d.ts +15 -0
- package/dist/components/number-field/tsf-number-field.d.ts.map +1 -0
- package/dist/components/number-field/tsf-number-field.js +34 -0
- package/dist/components/otp-field/index.d.ts +4 -0
- package/dist/components/otp-field/index.d.ts.map +1 -0
- package/dist/components/otp-field/index.js +4 -0
- package/dist/components/otp-field/otp-field.css +91 -0
- package/dist/components/otp-field/otp-field.d.ts +23 -0
- package/dist/components/otp-field/otp-field.d.ts.map +1 -0
- package/dist/components/otp-field/otp-field.js +80 -0
- package/dist/components/otp-field/otp-field.module.js +12 -0
- package/dist/components/otp-field/otp-input-context.d.ts +30 -0
- package/dist/components/otp-field/otp-input-context.d.ts.map +1 -0
- package/dist/components/otp-field/otp-input-context.js +15 -0
- package/dist/components/otp-field/otp-input.d.ts +74 -0
- package/dist/components/otp-field/otp-input.d.ts.map +1 -0
- package/dist/components/otp-field/otp-input.js +297 -0
- package/dist/components/otp-field/tsf-otp-field.d.ts +15 -0
- package/dist/components/otp-field/tsf-otp-field.d.ts.map +1 -0
- package/dist/components/otp-field/tsf-otp-field.js +34 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/index.d.ts.map +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/pagination/pagination-context.d.ts +24 -0
- package/dist/components/pagination/pagination-context.d.ts.map +1 -0
- package/dist/components/pagination/pagination-context.js +14 -0
- package/dist/components/pagination/pagination.css +24 -0
- package/dist/components/pagination/pagination.d.ts +61 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/pagination/pagination.js +341 -0
- package/dist/components/pagination/pagination.module.js +12 -0
- package/dist/components/password-field/index.d.ts +5 -0
- package/dist/components/password-field/index.d.ts.map +1 -0
- package/dist/components/password-field/index.js +4 -0
- package/dist/components/password-field/password-field.css +66 -0
- package/dist/components/password-field/password-field.d.ts +45 -0
- package/dist/components/password-field/password-field.d.ts.map +1 -0
- package/dist/components/password-field/password-field.js +227 -0
- package/dist/components/password-field/password-field.module.js +20 -0
- package/dist/components/password-field/password-strength.d.ts +28 -0
- package/dist/components/password-field/password-strength.d.ts.map +1 -0
- package/dist/components/password-field/password-strength.js +124 -0
- package/dist/components/password-field/tsf-password-field.d.ts +15 -0
- package/dist/components/password-field/tsf-password-field.d.ts.map +1 -0
- package/dist/components/password-field/tsf-password-field.js +34 -0
- package/dist/components/phone-field/index.d.ts +3 -0
- package/dist/components/phone-field/index.d.ts.map +1 -0
- package/dist/components/phone-field/index.js +3 -0
- package/dist/components/phone-field/phone-field.d.ts +15 -0
- package/dist/components/phone-field/phone-field.d.ts.map +1 -0
- package/dist/components/phone-field/phone-field.js +29 -0
- package/dist/components/phone-field/tsf-phone-field.d.ts +15 -0
- package/dist/components/phone-field/tsf-phone-field.d.ts.map +1 -0
- package/dist/components/phone-field/tsf-phone-field.js +14 -0
- package/dist/components/photo-field/index.d.ts +4 -0
- package/dist/components/photo-field/index.d.ts.map +1 -0
- package/dist/components/photo-field/index.js +4 -0
- package/dist/components/photo-field/photo-field.d.ts +30 -0
- package/dist/components/photo-field/photo-field.d.ts.map +1 -0
- package/dist/components/photo-field/photo-field.js +170 -0
- package/dist/components/photo-field/photo-input.css +112 -0
- package/dist/components/photo-field/photo-input.d.ts +55 -0
- package/dist/components/photo-field/photo-input.d.ts.map +1 -0
- package/dist/components/photo-field/photo-input.js +326 -0
- package/dist/components/photo-field/photo-input.module.js +18 -0
- package/dist/components/photo-field/tsf-photo-field.d.ts +19 -0
- package/dist/components/photo-field/tsf-photo-field.d.ts.map +1 -0
- package/dist/components/photo-field/tsf-photo-field.js +56 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +1 -0
- package/dist/components/popover/popover.css +120 -0
- package/dist/components/popover/popover.d.ts +73 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/popover/popover.js +434 -0
- package/dist/components/popover/popover.module.js +34 -0
- package/dist/components/radio-group-field/index.d.ts +4 -0
- package/dist/components/radio-group-field/index.d.ts.map +1 -0
- package/dist/components/radio-group-field/index.js +4 -0
- package/dist/components/radio-group-field/radio-group-field.d.ts +26 -0
- package/dist/components/radio-group-field/radio-group-field.d.ts.map +1 -0
- package/dist/components/radio-group-field/radio-group-field.js +128 -0
- package/dist/components/radio-group-field/radio-group.css +114 -0
- package/dist/components/radio-group-field/radio-group.d.ts +39 -0
- package/dist/components/radio-group-field/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group-field/radio-group.js +158 -0
- package/dist/components/radio-group-field/radio-group.module.js +12 -0
- package/dist/components/radio-group-field/tsf-radio-group-field.d.ts +16 -0
- package/dist/components/radio-group-field/tsf-radio-group-field.d.ts.map +1 -0
- package/dist/components/radio-group-field/tsf-radio-group-field.js +41 -0
- package/dist/components/search-field/index.d.ts +3 -0
- package/dist/components/search-field/index.d.ts.map +1 -0
- package/dist/components/search-field/index.js +3 -0
- package/dist/components/search-field/search-field.d.ts +18 -0
- package/dist/components/search-field/search-field.d.ts.map +1 -0
- package/dist/components/search-field/search-field.js +45 -0
- package/dist/components/search-field/tsf-search-field.d.ts +15 -0
- package/dist/components/search-field/tsf-search-field.d.ts.map +1 -0
- package/dist/components/search-field/tsf-search-field.js +14 -0
- package/dist/components/segmented-control-field/index.d.ts +4 -0
- package/dist/components/segmented-control-field/index.d.ts.map +1 -0
- package/dist/components/segmented-control-field/index.js +4 -0
- package/dist/components/segmented-control-field/segmented-control-field.d.ts +33 -0
- package/dist/components/segmented-control-field/segmented-control-field.d.ts.map +1 -0
- package/dist/components/segmented-control-field/segmented-control-field.js +166 -0
- package/dist/components/segmented-control-field/segmented-control.css +188 -0
- package/dist/components/segmented-control-field/segmented-control.d.ts +59 -0
- package/dist/components/segmented-control-field/segmented-control.d.ts.map +1 -0
- package/dist/components/segmented-control-field/segmented-control.js +199 -0
- package/dist/components/segmented-control-field/segmented-control.module.js +12 -0
- package/dist/components/segmented-control-field/tsf-segmented-control-field.d.ts +16 -0
- package/dist/components/segmented-control-field/tsf-segmented-control-field.d.ts.map +1 -0
- package/dist/components/segmented-control-field/tsf-segmented-control-field.js +41 -0
- package/dist/components/select-field/index.d.ts +4 -0
- package/dist/components/select-field/index.d.ts.map +1 -0
- package/dist/components/select-field/index.js +4 -0
- package/dist/components/select-field/select-context.d.ts +21 -0
- package/dist/components/select-field/select-context.d.ts.map +1 -0
- package/dist/components/select-field/select-context.js +15 -0
- package/dist/components/select-field/select-field.d.ts +33 -0
- package/dist/components/select-field/select-field.d.ts.map +1 -0
- package/dist/components/select-field/select-field.js +307 -0
- package/dist/components/select-field/select.css +228 -0
- package/dist/components/select-field/select.d.ts +79 -0
- package/dist/components/select-field/select.d.ts.map +1 -0
- package/dist/components/select-field/select.js +529 -0
- package/dist/components/select-field/select.module.js +30 -0
- package/dist/components/select-field/tsf-select-field.d.ts +16 -0
- package/dist/components/select-field/tsf-select-field.d.ts.map +1 -0
- package/dist/components/select-field/tsf-select-field.js +41 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/skeleton/index.d.ts.map +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/skeleton/skeleton.css +16 -0
- package/dist/components/skeleton/skeleton.d.ts +14 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.js +34 -0
- package/dist/components/skeleton/skeleton.module.js +9 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/spinner/spinner.css +7 -0
- package/dist/components/spinner/spinner.d.ts +16 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/spinner/spinner.js +50 -0
- package/dist/components/spinner/spinner.module.js +4 -0
- package/dist/components/stale/index.d.ts +2 -0
- package/dist/components/stale/index.d.ts.map +1 -0
- package/dist/components/stale/index.js +1 -0
- package/dist/components/stale/stale.css +60 -0
- package/dist/components/stale/stale.d.ts +69 -0
- package/dist/components/stale/stale.d.ts.map +1 -0
- package/dist/components/stale/stale.js +231 -0
- package/dist/components/stale/stale.module.js +16 -0
- package/dist/components/status-message/index.d.ts +2 -0
- package/dist/components/status-message/index.d.ts.map +1 -0
- package/dist/components/status-message/index.js +1 -0
- package/dist/components/status-message/status-message.css +122 -0
- package/dist/components/status-message/status-message.d.ts +73 -0
- package/dist/components/status-message/status-message.d.ts.map +1 -0
- package/dist/components/status-message/status-message.js +182 -0
- package/dist/components/status-message/status-message.module.js +16 -0
- package/dist/components/status-message/status-preset.d.ts +27 -0
- package/dist/components/status-message/status-preset.d.ts.map +1 -0
- package/dist/components/status-message/status-preset.js +64 -0
- package/dist/components/switch-field/index.d.ts +4 -0
- package/dist/components/switch-field/index.d.ts.map +1 -0
- package/dist/components/switch-field/index.js +4 -0
- package/dist/components/switch-field/switch-field.d.ts +23 -0
- package/dist/components/switch-field/switch-field.d.ts.map +1 -0
- package/dist/components/switch-field/switch-field.js +142 -0
- package/dist/components/switch-field/switch.css +138 -0
- package/dist/components/switch-field/switch.d.ts +36 -0
- package/dist/components/switch-field/switch.d.ts.map +1 -0
- package/dist/components/switch-field/switch.js +205 -0
- package/dist/components/switch-field/switch.module.js +12 -0
- package/dist/components/switch-field/tsf-switch-field.d.ts +15 -0
- package/dist/components/switch-field/tsf-switch-field.d.ts.map +1 -0
- package/dist/components/switch-field/tsf-switch-field.js +40 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tabs/tabs.css +122 -0
- package/dist/components/tabs/tabs.d.ts +53 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tabs/tabs.js +194 -0
- package/dist/components/tabs/tabs.module.js +18 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/tag.css +120 -0
- package/dist/components/tag/tag.d.ts +37 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/tag/tag.js +124 -0
- package/dist/components/tag/tag.module.js +10 -0
- package/dist/components/tag-group/index.d.ts +2 -0
- package/dist/components/tag-group/index.d.ts.map +1 -0
- package/dist/components/tag-group/index.js +1 -0
- package/dist/components/tag-group/tag-group.css +155 -0
- package/dist/components/tag-group/tag-group.d.ts +54 -0
- package/dist/components/tag-group/tag-group.d.ts.map +1 -0
- package/dist/components/tag-group/tag-group.js +182 -0
- package/dist/components/tag-group/tag-group.module.js +12 -0
- package/dist/components/text-field/connect-text-preset.d.ts +14 -0
- package/dist/components/text-field/connect-text-preset.d.ts.map +1 -0
- package/dist/components/text-field/connect-text-preset.js +34 -0
- package/dist/components/text-field/index.d.ts +6 -0
- package/dist/components/text-field/index.d.ts.map +1 -0
- package/dist/components/text-field/index.js +5 -0
- package/dist/components/text-field/text-field.css +164 -0
- package/dist/components/text-field/text-field.d.ts +57 -0
- package/dist/components/text-field/text-field.d.ts.map +1 -0
- package/dist/components/text-field/text-field.js +247 -0
- package/dist/components/text-field/text-field.module.js +22 -0
- package/dist/components/text-field/text-input-context.d.ts +35 -0
- package/dist/components/text-field/text-input-context.d.ts.map +1 -0
- package/dist/components/text-field/text-input-context.js +16 -0
- package/dist/components/text-field/text-input.d.ts +84 -0
- package/dist/components/text-field/text-input.d.ts.map +1 -0
- package/dist/components/text-field/text-input.js +590 -0
- package/dist/components/text-field/text-preset.d.ts +8 -0
- package/dist/components/text-field/text-preset.d.ts.map +1 -0
- package/dist/components/text-field/tsf-text-field.d.ts +15 -0
- package/dist/components/text-field/tsf-text-field.d.ts.map +1 -0
- package/dist/components/text-field/tsf-text-field.js +34 -0
- package/dist/components/textarea-field/index.d.ts +4 -0
- package/dist/components/textarea-field/index.d.ts.map +1 -0
- package/dist/components/textarea-field/index.js +4 -0
- package/dist/components/textarea-field/textarea-field.css +12 -0
- package/dist/components/textarea-field/textarea-field.d.ts +20 -0
- package/dist/components/textarea-field/textarea-field.d.ts.map +1 -0
- package/dist/components/textarea-field/textarea-field.js +168 -0
- package/dist/components/textarea-field/textarea-field.module.js +8 -0
- package/dist/components/textarea-field/textarea.d.ts +20 -0
- package/dist/components/textarea-field/textarea.d.ts.map +1 -0
- package/dist/components/textarea-field/textarea.js +108 -0
- package/dist/components/textarea-field/tsf-textarea-field.d.ts +15 -0
- package/dist/components/textarea-field/tsf-textarea-field.d.ts.map +1 -0
- package/dist/components/textarea-field/tsf-textarea-field.js +34 -0
- package/dist/components/textarea-field/use-autosize.d.ts +12 -0
- package/dist/components/textarea-field/use-autosize.d.ts.map +1 -0
- package/dist/components/textarea-field/use-autosize.js +65 -0
- package/dist/components/time-field/index.d.ts +4 -0
- package/dist/components/time-field/index.d.ts.map +1 -0
- package/dist/components/time-field/index.js +4 -0
- package/dist/components/time-field/time-field.d.ts +26 -0
- package/dist/components/time-field/time-field.d.ts.map +1 -0
- package/dist/components/time-field/time-field.js +136 -0
- package/dist/components/time-field/time-input.d.ts +31 -0
- package/dist/components/time-field/time-input.d.ts.map +1 -0
- package/dist/components/time-field/time-input.js +66 -0
- package/dist/components/time-field/tsf-time-field.d.ts +15 -0
- package/dist/components/time-field/tsf-time-field.d.ts.map +1 -0
- package/dist/components/time-field/tsf-time-field.js +40 -0
- package/dist/components/time-zone-provider/index.d.ts +2 -0
- package/dist/components/time-zone-provider/index.d.ts.map +1 -0
- package/dist/components/time-zone-provider/index.js +1 -0
- package/dist/components/time-zone-provider/time-zone-provider.d.ts +23 -0
- package/dist/components/time-zone-provider/time-zone-provider.d.ts.map +1 -0
- package/dist/components/time-zone-provider/time-zone-provider.js +39 -0
- package/dist/components/toast/index.d.ts +3 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +3 -0
- package/dist/components/toast/toast-provider.css +99 -0
- package/dist/components/toast/toast-provider.d.ts +19 -0
- package/dist/components/toast/toast-provider.d.ts.map +1 -0
- package/dist/components/toast/toast-provider.js +203 -0
- package/dist/components/toast/toast-provider.module.js +24 -0
- package/dist/components/toast/toast.d.ts +89 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toast.js +77 -0
- package/dist/components/toggle-group-field/index.d.ts +4 -0
- package/dist/components/toggle-group-field/index.d.ts.map +1 -0
- package/dist/components/toggle-group-field/index.js +4 -0
- package/dist/components/toggle-group-field/toggle-group-field.d.ts +33 -0
- package/dist/components/toggle-group-field/toggle-group-field.d.ts.map +1 -0
- package/dist/components/toggle-group-field/toggle-group-field.js +158 -0
- package/dist/components/toggle-group-field/toggle-group.css +132 -0
- package/dist/components/toggle-group-field/toggle-group.d.ts +45 -0
- package/dist/components/toggle-group-field/toggle-group.d.ts.map +1 -0
- package/dist/components/toggle-group-field/toggle-group.js +146 -0
- package/dist/components/toggle-group-field/toggle-group.module.js +8 -0
- package/dist/components/toggle-group-field/tsf-toggle-group-field.d.ts +16 -0
- package/dist/components/toggle-group-field/tsf-toggle-group-field.d.ts.map +1 -0
- package/dist/components/toggle-group-field/tsf-toggle-group-field.js +41 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tooltip/tooltip.css +22 -0
- package/dist/components/tooltip/tooltip.d.ts +47 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.js +175 -0
- package/dist/components/tooltip/tooltip.module.js +4 -0
- package/dist/data-table/data-table-content.d.ts +28 -0
- package/dist/data-table/data-table-content.d.ts.map +1 -0
- package/dist/data-table/data-table-content.js +311 -0
- package/dist/data-table/data-table-context.d.ts +34 -0
- package/dist/data-table/data-table-context.d.ts.map +1 -0
- package/dist/data-table/data-table-context.js +31 -0
- package/dist/data-table/data-table-selection.d.ts +43 -0
- package/dist/data-table/data-table-selection.d.ts.map +1 -0
- package/dist/data-table/data-table-selection.js +299 -0
- package/dist/data-table/data-table.css +531 -0
- package/dist/data-table/data-table.d.ts +88 -0
- package/dist/data-table/data-table.d.ts.map +1 -0
- package/dist/data-table/data-table.js +309 -0
- package/dist/data-table/data-table.module.js +74 -0
- package/dist/data-table/index.d.ts +7 -0
- package/dist/data-table/index.d.ts.map +1 -0
- package/dist/data-table/index.js +5 -0
- package/dist/data-table/resolve-view.d.ts +32 -0
- package/dist/data-table/resolve-view.d.ts.map +1 -0
- package/dist/data-table/resolve-view.js +37 -0
- package/dist/data-table/table-features.d.ts +70 -0
- package/dist/data-table/table-features.d.ts.map +1 -0
- package/dist/data-table/table-features.js +41 -0
- package/dist/data-table/use-sticky-offsets.d.ts +22 -0
- package/dist/data-table/use-sticky-offsets.d.ts.map +1 -0
- package/dist/data-table/use-sticky-offsets.js +86 -0
- package/dist/data-view/index.d.ts +2 -0
- package/dist/data-view/index.d.ts.map +1 -0
- package/dist/data-view/index.js +1 -0
- package/dist/data-view/use-data-view.d.ts +84 -0
- package/dist/data-view/use-data-view.d.ts.map +1 -0
- package/dist/data-view/use-data-view.js +135 -0
- package/dist/index.d.ts +71 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +136 -0
- package/dist/lib/calendar/calendar-navigation.d.ts +20 -0
- package/dist/lib/calendar/calendar-navigation.d.ts.map +1 -0
- package/dist/lib/calendar/calendar-navigation.js +216 -0
- package/dist/lib/calendar/calendar-state.d.ts +20 -0
- package/dist/lib/calendar/calendar-state.d.ts.map +1 -0
- package/dist/lib/calendar/calendar-state.js +33 -0
- package/dist/lib/calendar/calendar-year.d.ts +21 -0
- package/dist/lib/calendar/calendar-year.d.ts.map +1 -0
- package/dist/lib/calendar/calendar-year.js +334 -0
- package/dist/lib/calendar/temporal-value.d.ts +85 -0
- package/dist/lib/calendar/temporal-value.d.ts.map +1 -0
- package/dist/lib/calendar/temporal-value.js +105 -0
- package/dist/lib/calendar/temporal.css +583 -0
- package/dist/lib/calendar/temporal.d.ts +135 -0
- package/dist/lib/calendar/temporal.d.ts.map +1 -0
- package/dist/lib/calendar/temporal.js +783 -0
- package/dist/lib/calendar/temporal.module.js +80 -0
- package/dist/lib/format-bytes.d.ts +11 -0
- package/dist/lib/format-bytes.d.ts.map +1 -0
- package/dist/lib/format-bytes.js +22 -0
- package/dist/lib/forms/app-form.d.ts +88 -0
- package/dist/lib/forms/app-form.d.ts.map +1 -0
- package/dist/lib/forms/app-form.js +89 -0
- package/dist/lib/forms/context.d.ts +33 -0
- package/dist/lib/forms/context.d.ts.map +1 -0
- package/dist/lib/forms/context.js +33 -0
- package/dist/lib/forms/deferred.d.ts +13 -0
- package/dist/lib/forms/deferred.d.ts.map +1 -0
- package/dist/lib/forms/deferred.js +38 -0
- package/dist/lib/forms/errors.d.ts +24 -0
- package/dist/lib/forms/errors.d.ts.map +1 -0
- package/dist/lib/forms/errors.js +25 -0
- package/dist/lib/forms/failed-submit.d.ts +17 -0
- package/dist/lib/forms/failed-submit.d.ts.map +1 -0
- package/dist/lib/forms/failed-submit.js +44 -0
- package/dist/lib/forms/index.d.ts +3 -0
- package/dist/lib/forms/index.d.ts.map +1 -0
- package/dist/lib/forms/use-connected-field.d.ts +27 -0
- package/dist/lib/forms/use-connected-field.d.ts.map +1 -0
- package/dist/lib/forms/use-connected-field.js +48 -0
- package/dist/lib/hooks/index.d.ts +6 -0
- package/dist/lib/hooks/index.d.ts.map +1 -0
- package/dist/lib/hooks/use-busy-phase.d.ts +32 -0
- package/dist/lib/hooks/use-busy-phase.d.ts.map +1 -0
- package/dist/lib/hooks/use-busy-phase.js +75 -0
- package/dist/lib/hooks/use-media-query.d.ts +9 -0
- package/dist/lib/hooks/use-media-query.d.ts.map +1 -0
- package/dist/lib/hooks/use-media-query.js +34 -0
- package/dist/lib/hooks/use-presence.d.ts +26 -0
- package/dist/lib/hooks/use-presence.d.ts.map +1 -0
- package/dist/lib/hooks/use-presence.js +155 -0
- package/dist/lib/hooks/use-row-selection.d.ts +66 -0
- package/dist/lib/hooks/use-row-selection.d.ts.map +1 -0
- package/dist/lib/hooks/use-row-selection.js +133 -0
- package/dist/lib/hooks/use-theme.d.ts +29 -0
- package/dist/lib/hooks/use-theme.d.ts.map +1 -0
- package/dist/lib/hooks/use-theme.js +88 -0
- package/dist/lib/iso-zoned.d.ts +10 -0
- package/dist/lib/iso-zoned.d.ts.map +1 -0
- package/dist/lib/iso-zoned.js +19 -0
- package/dist/lib/password-strength/password-strength.d.ts +39 -0
- package/dist/lib/password-strength/password-strength.d.ts.map +1 -0
- package/dist/lib/password-strength/password-strength.js +72 -0
- package/dist/lib/popup-edge-padding.d.ts +21 -0
- package/dist/lib/popup-edge-padding.d.ts.map +1 -0
- package/dist/lib/popup-edge-padding.js +41 -0
- package/dist/lib/sliding-indicator/index.d.ts +2 -0
- package/dist/lib/sliding-indicator/index.d.ts.map +1 -0
- package/dist/lib/sliding-indicator/use-sliding-indicator.d.ts +28 -0
- package/dist/lib/sliding-indicator/use-sliding-indicator.d.ts.map +1 -0
- package/dist/lib/sliding-indicator/use-sliding-indicator.js +84 -0
- package/dist/lib/storage.d.ts +22 -0
- package/dist/lib/storage.d.ts.map +1 -0
- package/dist/lib/table-storage.d.ts +44 -0
- package/dist/lib/table-storage.d.ts.map +1 -0
- package/dist/lib/table-storage.js +62 -0
- package/dist/lib/text-length.d.ts +11 -0
- package/dist/lib/text-length.d.ts.map +1 -0
- package/dist/lib/text-length.js +15 -0
- package/dist/lib/tone.d.ts +15 -0
- package/dist/lib/tone.d.ts.map +1 -0
- package/dist/lib/unsaved-changes/before-unload.d.ts +9 -0
- package/dist/lib/unsaved-changes/before-unload.d.ts.map +1 -0
- package/dist/lib/unsaved-changes/before-unload.js +37 -0
- package/dist/lib/unsaved-changes/index.d.ts +5 -0
- package/dist/lib/unsaved-changes/index.d.ts.map +1 -0
- package/dist/lib/unsaved-changes/leave-guard.d.ts +81 -0
- package/dist/lib/unsaved-changes/leave-guard.d.ts.map +1 -0
- package/dist/lib/unsaved-changes/leave-guard.js +170 -0
- package/dist/lib/unsaved-changes/policy.d.ts +25 -0
- package/dist/lib/unsaved-changes/policy.d.ts.map +1 -0
- package/dist/lib/unsaved-changes/policy.js +17 -0
- package/dist/lib/unsaved-changes/registry.d.ts +37 -0
- package/dist/lib/unsaved-changes/registry.d.ts.map +1 -0
- package/dist/lib/unsaved-changes/registry.js +78 -0
- package/dist/lib/unsaved-changes/tanstack-router.d.ts +13 -0
- package/dist/lib/unsaved-changes/tanstack-router.d.ts.map +1 -0
- package/dist/lib/unsaved-changes/tanstack-router.js +50 -0
- package/dist/lib/use-infinite-scroll.d.ts +32 -0
- package/dist/lib/use-infinite-scroll.d.ts.map +1 -0
- package/dist/lib/use-infinite-scroll.js +78 -0
- package/dist/lib/use-intent.d.ts +18 -0
- package/dist/lib/use-intent.d.ts.map +1 -0
- package/dist/lib/use-intent.js +77 -0
- package/dist/lib/use-required-context.d.ts +10 -0
- package/dist/lib/use-required-context.d.ts.map +1 -0
- package/dist/lib/use-required-context.js +15 -0
- package/dist/terrazzo/index.d.ts +38 -0
- package/dist/terrazzo/index.js +77 -0
- package/dist/tokens.css +1085 -0
- package/dist/vendor/@material-design-icons/svg/outlined/add.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/arrow_downward.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/arrow_forward.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/arrow_upward.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/attach_file.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/block.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/calendar_today.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/check.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/check_circle.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/chevron_left.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/chevron_right.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/close.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/content_copy.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/date_range.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/description.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/download.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/error.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/error_outline.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/expand_less.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/expand_more.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/filter_alt.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/filter_alt_off.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/first_page.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/info.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/keyboard_arrow_down.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/last_page.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/mail.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/more_horiz.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/photo_camera.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/remove.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/restart_alt.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/restore.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/search.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/unfold_more.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/upload_file.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/visibility.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/visibility_off.js +12 -0
- package/dist/vendor/@material-design-icons/svg/outlined/warning_amber.js +12 -0
- package/package.json +412 -5
- package/tokens/dark.tokens.json +315 -0
- package/tokens/kit.resolver.json +38 -0
- package/tokens/ref.tokens.json +1436 -0
- package/tokens/sys.tokens.json +1250 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
import SvgCheck from "../../vendor/@material-design-icons/svg/outlined/check.js";
|
|
2
|
+
import SvgClose from "../../vendor/@material-design-icons/svg/outlined/close.js";
|
|
3
|
+
import SvgContentCopy from "../../vendor/@material-design-icons/svg/outlined/content_copy.js";
|
|
4
|
+
import SvgErrorOutline from "../../vendor/@material-design-icons/svg/outlined/error_outline.js";
|
|
5
|
+
import { normalizeFieldErrors } from "../../lib/forms/errors.js";
|
|
6
|
+
import { useBusyPhase } from "../../lib/hooks/use-busy-phase.js";
|
|
7
|
+
import { lengthTone } from "../../lib/text-length.js";
|
|
8
|
+
import { Button } from "../button/button.js";
|
|
9
|
+
import { Field } from "../field/field.js";
|
|
10
|
+
import { fieldStateAttributes } from "../field/field-state.js";
|
|
11
|
+
import { focusControlOnRim } from "../field/rim-focus.js";
|
|
12
|
+
import { useFieldFocus, withFieldFocus } from "../field/use-field-focus.js";
|
|
13
|
+
import { useFormDisabled } from "../form/form-context.js";
|
|
14
|
+
import { TextInputContext, useTextInputContext } from "./text-input-context.js";
|
|
15
|
+
import text_field_module_default from "./text-field.module.js";
|
|
16
|
+
import { c } from "react/compiler-runtime";
|
|
17
|
+
import { useRef, useState } from "react";
|
|
18
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
+
import { clsx } from "clsx";
|
|
20
|
+
import { Input } from "@base-ui/react/input";
|
|
21
|
+
// src/components/text-field/text-input.tsx
|
|
22
|
+
var COPIED_FEEDBACK_MS = 2e3;
|
|
23
|
+
var TextInputRoot = (t0) => {
|
|
24
|
+
const $ = c(15);
|
|
25
|
+
const { value, onValueChange, disabled, readOnly, requiredness, optionalLabel, errors, dirty, touched, pending: t1, maxLength, state, className, children } = t0;
|
|
26
|
+
const pending = t1 === void 0 ? false : t1;
|
|
27
|
+
const controlRef = useRef(null);
|
|
28
|
+
let t2;
|
|
29
|
+
if ($[0] !== pending) {
|
|
30
|
+
t2 = { busy: pending };
|
|
31
|
+
$[0] = pending;
|
|
32
|
+
$[1] = t2;
|
|
33
|
+
} else t2 = $[1];
|
|
34
|
+
const phase = useBusyPhase(t2);
|
|
35
|
+
const formDisabled = useFormDisabled();
|
|
36
|
+
let t3;
|
|
37
|
+
if ($[2] !== errors) {
|
|
38
|
+
t3 = normalizeFieldErrors(errors);
|
|
39
|
+
$[2] = errors;
|
|
40
|
+
$[3] = t3;
|
|
41
|
+
} else t3 = $[3];
|
|
42
|
+
const invalid = t3.length > 0;
|
|
43
|
+
const fieldState = {
|
|
44
|
+
disabled: disabled === true || formDisabled,
|
|
45
|
+
readonly: readOnly,
|
|
46
|
+
requiredness,
|
|
47
|
+
invalid,
|
|
48
|
+
dirty,
|
|
49
|
+
touched,
|
|
50
|
+
filled: value !== "",
|
|
51
|
+
pending: phase !== "fresh",
|
|
52
|
+
...state
|
|
53
|
+
};
|
|
54
|
+
const t4 = Field;
|
|
55
|
+
let t5;
|
|
56
|
+
if ($[4] !== className) {
|
|
57
|
+
t5 = clsx(text_field_module_default.root, className);
|
|
58
|
+
$[4] = className;
|
|
59
|
+
$[5] = t5;
|
|
60
|
+
} else t5 = $[5];
|
|
61
|
+
const t6 = fieldStateAttributes(fieldState);
|
|
62
|
+
let t7;
|
|
63
|
+
if ($[6] !== children || $[7] !== dirty || $[8] !== disabled || $[9] !== invalid || $[10] !== t4.Root || $[11] !== t5 || $[12] !== t6 || $[13] !== touched) {
|
|
64
|
+
t7 = /* @__PURE__ */ jsx(t4.Root, {
|
|
65
|
+
disabled,
|
|
66
|
+
invalid,
|
|
67
|
+
dirty,
|
|
68
|
+
touched,
|
|
69
|
+
className: t5,
|
|
70
|
+
...t6,
|
|
71
|
+
children
|
|
72
|
+
});
|
|
73
|
+
$[6] = children;
|
|
74
|
+
$[7] = dirty;
|
|
75
|
+
$[8] = disabled;
|
|
76
|
+
$[9] = invalid;
|
|
77
|
+
$[10] = t4.Root;
|
|
78
|
+
$[11] = t5;
|
|
79
|
+
$[12] = t6;
|
|
80
|
+
$[13] = touched;
|
|
81
|
+
$[14] = t7;
|
|
82
|
+
} else t7 = $[14];
|
|
83
|
+
return /* @__PURE__ */ jsx(TextInputContext, {
|
|
84
|
+
value: {
|
|
85
|
+
state: fieldState,
|
|
86
|
+
value,
|
|
87
|
+
setValue: onValueChange,
|
|
88
|
+
errors,
|
|
89
|
+
optionalLabel,
|
|
90
|
+
setControl: (control) => {
|
|
91
|
+
controlRef.current = control;
|
|
92
|
+
},
|
|
93
|
+
focusControl: () => controlRef.current?.focus(),
|
|
94
|
+
selectControl: () => {
|
|
95
|
+
controlRef.current?.focus();
|
|
96
|
+
controlRef.current?.select();
|
|
97
|
+
},
|
|
98
|
+
maxLength,
|
|
99
|
+
phase
|
|
100
|
+
},
|
|
101
|
+
children: t7
|
|
102
|
+
});
|
|
103
|
+
};
|
|
104
|
+
var TextInputLabel = (t0) => {
|
|
105
|
+
const $ = c(8);
|
|
106
|
+
let children;
|
|
107
|
+
let props;
|
|
108
|
+
if ($[0] !== t0) {
|
|
109
|
+
({children, ...props} = t0);
|
|
110
|
+
$[0] = t0;
|
|
111
|
+
$[1] = children;
|
|
112
|
+
$[2] = props;
|
|
113
|
+
} else {
|
|
114
|
+
children = $[1];
|
|
115
|
+
props = $[2];
|
|
116
|
+
}
|
|
117
|
+
const { state, optionalLabel } = useTextInputContext();
|
|
118
|
+
let t1;
|
|
119
|
+
if ($[3] !== children || $[4] !== optionalLabel || $[5] !== props || $[6] !== state.requiredness) {
|
|
120
|
+
t1 = /* @__PURE__ */ jsx(Field.Label, {
|
|
121
|
+
requiredness: state.requiredness,
|
|
122
|
+
optionalLabel,
|
|
123
|
+
...props,
|
|
124
|
+
children
|
|
125
|
+
});
|
|
126
|
+
$[3] = children;
|
|
127
|
+
$[4] = optionalLabel;
|
|
128
|
+
$[5] = props;
|
|
129
|
+
$[6] = state.requiredness;
|
|
130
|
+
$[7] = t1;
|
|
131
|
+
} else t1 = $[7];
|
|
132
|
+
return t1;
|
|
133
|
+
};
|
|
134
|
+
var TextInputGroup = (t0) => {
|
|
135
|
+
const $ = c(15);
|
|
136
|
+
let children;
|
|
137
|
+
let className;
|
|
138
|
+
let props;
|
|
139
|
+
if ($[0] !== t0) {
|
|
140
|
+
({className, children, ...props} = t0);
|
|
141
|
+
$[0] = t0;
|
|
142
|
+
$[1] = children;
|
|
143
|
+
$[2] = className;
|
|
144
|
+
$[3] = props;
|
|
145
|
+
} else {
|
|
146
|
+
children = $[1];
|
|
147
|
+
className = $[2];
|
|
148
|
+
props = $[3];
|
|
149
|
+
}
|
|
150
|
+
const { state } = useTextInputContext();
|
|
151
|
+
const focus = useFieldFocus(props);
|
|
152
|
+
let t1;
|
|
153
|
+
if ($[4] !== className) {
|
|
154
|
+
t1 = clsx(text_field_module_default.group, className);
|
|
155
|
+
$[4] = className;
|
|
156
|
+
$[5] = t1;
|
|
157
|
+
} else t1 = $[5];
|
|
158
|
+
let t2;
|
|
159
|
+
if ($[6] !== focus || $[7] !== state) {
|
|
160
|
+
t2 = fieldStateAttributes(withFieldFocus(state, focus));
|
|
161
|
+
$[6] = focus;
|
|
162
|
+
$[7] = state;
|
|
163
|
+
$[8] = t2;
|
|
164
|
+
} else t2 = $[8];
|
|
165
|
+
let t3;
|
|
166
|
+
if ($[9] !== children || $[10] !== focus.props || $[11] !== props || $[12] !== t1 || $[13] !== t2) {
|
|
167
|
+
t3 = /* @__PURE__ */ jsx("div", {
|
|
168
|
+
className: t1,
|
|
169
|
+
onMouseDown: focusControlOnRim,
|
|
170
|
+
...t2,
|
|
171
|
+
...props,
|
|
172
|
+
...focus.props,
|
|
173
|
+
children
|
|
174
|
+
});
|
|
175
|
+
$[9] = children;
|
|
176
|
+
$[10] = focus.props;
|
|
177
|
+
$[11] = props;
|
|
178
|
+
$[12] = t1;
|
|
179
|
+
$[13] = t2;
|
|
180
|
+
$[14] = t3;
|
|
181
|
+
} else t3 = $[14];
|
|
182
|
+
return t3;
|
|
183
|
+
};
|
|
184
|
+
var TextInputBar = (t0) => {
|
|
185
|
+
const $ = c(8);
|
|
186
|
+
let className;
|
|
187
|
+
let props;
|
|
188
|
+
if ($[0] !== t0) {
|
|
189
|
+
({className, ...props} = t0);
|
|
190
|
+
$[0] = t0;
|
|
191
|
+
$[1] = className;
|
|
192
|
+
$[2] = props;
|
|
193
|
+
} else {
|
|
194
|
+
className = $[1];
|
|
195
|
+
props = $[2];
|
|
196
|
+
}
|
|
197
|
+
let t1;
|
|
198
|
+
if ($[3] !== className) {
|
|
199
|
+
t1 = clsx(text_field_module_default.bar, className);
|
|
200
|
+
$[3] = className;
|
|
201
|
+
$[4] = t1;
|
|
202
|
+
} else t1 = $[4];
|
|
203
|
+
let t2;
|
|
204
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
205
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
206
|
+
className: t1,
|
|
207
|
+
...props
|
|
208
|
+
});
|
|
209
|
+
$[5] = props;
|
|
210
|
+
$[6] = t1;
|
|
211
|
+
$[7] = t2;
|
|
212
|
+
} else t2 = $[7];
|
|
213
|
+
return t2;
|
|
214
|
+
};
|
|
215
|
+
var TextInputInlay = (t0) => {
|
|
216
|
+
const $ = c(8);
|
|
217
|
+
let className;
|
|
218
|
+
let props;
|
|
219
|
+
if ($[0] !== t0) {
|
|
220
|
+
({className, ...props} = t0);
|
|
221
|
+
$[0] = t0;
|
|
222
|
+
$[1] = className;
|
|
223
|
+
$[2] = props;
|
|
224
|
+
} else {
|
|
225
|
+
className = $[1];
|
|
226
|
+
props = $[2];
|
|
227
|
+
}
|
|
228
|
+
let t1;
|
|
229
|
+
if ($[3] !== className) {
|
|
230
|
+
t1 = clsx(text_field_module_default.inlay, className);
|
|
231
|
+
$[3] = className;
|
|
232
|
+
$[4] = t1;
|
|
233
|
+
} else t1 = $[4];
|
|
234
|
+
let t2;
|
|
235
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
236
|
+
t2 = /* @__PURE__ */ jsx("span", {
|
|
237
|
+
className: t1,
|
|
238
|
+
...props
|
|
239
|
+
});
|
|
240
|
+
$[5] = props;
|
|
241
|
+
$[6] = t1;
|
|
242
|
+
$[7] = t2;
|
|
243
|
+
} else t2 = $[7];
|
|
244
|
+
return t2;
|
|
245
|
+
};
|
|
246
|
+
var TextInputAffix = (t0) => {
|
|
247
|
+
const $ = c(8);
|
|
248
|
+
let className;
|
|
249
|
+
let props;
|
|
250
|
+
if ($[0] !== t0) {
|
|
251
|
+
({className, ...props} = t0);
|
|
252
|
+
$[0] = t0;
|
|
253
|
+
$[1] = className;
|
|
254
|
+
$[2] = props;
|
|
255
|
+
} else {
|
|
256
|
+
className = $[1];
|
|
257
|
+
props = $[2];
|
|
258
|
+
}
|
|
259
|
+
let t1;
|
|
260
|
+
if ($[3] !== className) {
|
|
261
|
+
t1 = clsx(text_field_module_default.inlay, className);
|
|
262
|
+
$[3] = className;
|
|
263
|
+
$[4] = t1;
|
|
264
|
+
} else t1 = $[4];
|
|
265
|
+
let t2;
|
|
266
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
267
|
+
t2 = /* @__PURE__ */ jsx("span", {
|
|
268
|
+
"aria-hidden": "true",
|
|
269
|
+
className: t1,
|
|
270
|
+
...props
|
|
271
|
+
});
|
|
272
|
+
$[5] = props;
|
|
273
|
+
$[6] = t1;
|
|
274
|
+
$[7] = t2;
|
|
275
|
+
} else t2 = $[7];
|
|
276
|
+
return t2;
|
|
277
|
+
};
|
|
278
|
+
var TextInputInput = (t0) => {
|
|
279
|
+
const $ = c(18);
|
|
280
|
+
let className;
|
|
281
|
+
let props;
|
|
282
|
+
let t1;
|
|
283
|
+
if ($[0] !== t0) {
|
|
284
|
+
({type: t1, className, ...props} = t0);
|
|
285
|
+
$[0] = t0;
|
|
286
|
+
$[1] = className;
|
|
287
|
+
$[2] = props;
|
|
288
|
+
$[3] = t1;
|
|
289
|
+
} else {
|
|
290
|
+
className = $[1];
|
|
291
|
+
props = $[2];
|
|
292
|
+
t1 = $[3];
|
|
293
|
+
}
|
|
294
|
+
const type = t1 === void 0 ? "text" : t1;
|
|
295
|
+
const { value, setValue, state, setControl } = useTextInputContext();
|
|
296
|
+
let t2;
|
|
297
|
+
if ($[4] !== setControl) {
|
|
298
|
+
t2 = (node) => {
|
|
299
|
+
setControl(node instanceof HTMLInputElement ? node : null);
|
|
300
|
+
};
|
|
301
|
+
$[4] = setControl;
|
|
302
|
+
$[5] = t2;
|
|
303
|
+
} else t2 = $[5];
|
|
304
|
+
const t3 = state.disabled;
|
|
305
|
+
const t4 = state.readonly;
|
|
306
|
+
const t5 = state.requiredness === "required";
|
|
307
|
+
let t6;
|
|
308
|
+
if ($[6] !== className) {
|
|
309
|
+
t6 = clsx(text_field_module_default.control, className);
|
|
310
|
+
$[6] = className;
|
|
311
|
+
$[7] = t6;
|
|
312
|
+
} else t6 = $[7];
|
|
313
|
+
let t7;
|
|
314
|
+
if ($[8] !== props || $[9] !== setValue || $[10] !== state.disabled || $[11] !== state.readonly || $[12] !== t2 || $[13] !== t5 || $[14] !== t6 || $[15] !== type || $[16] !== value) {
|
|
315
|
+
t7 = /* @__PURE__ */ jsx(Input, {
|
|
316
|
+
ref: t2,
|
|
317
|
+
type,
|
|
318
|
+
value,
|
|
319
|
+
onValueChange: setValue,
|
|
320
|
+
disabled: t3,
|
|
321
|
+
readOnly: t4,
|
|
322
|
+
required: t5,
|
|
323
|
+
className: t6,
|
|
324
|
+
...props
|
|
325
|
+
});
|
|
326
|
+
$[8] = props;
|
|
327
|
+
$[9] = setValue;
|
|
328
|
+
$[10] = state.disabled;
|
|
329
|
+
$[11] = state.readonly;
|
|
330
|
+
$[12] = t2;
|
|
331
|
+
$[13] = t5;
|
|
332
|
+
$[14] = t6;
|
|
333
|
+
$[15] = type;
|
|
334
|
+
$[16] = value;
|
|
335
|
+
$[17] = t7;
|
|
336
|
+
} else t7 = $[17];
|
|
337
|
+
return t7;
|
|
338
|
+
};
|
|
339
|
+
var TextInputClear = (t0) => {
|
|
340
|
+
const $ = c(9);
|
|
341
|
+
const { label, className } = t0;
|
|
342
|
+
const { value, setValue, state, focusControl } = useTextInputContext();
|
|
343
|
+
if (value === "" || state.disabled === true || state.readonly === true) return null;
|
|
344
|
+
let t1;
|
|
345
|
+
if ($[0] !== className) {
|
|
346
|
+
t1 = clsx(text_field_module_default.action, className);
|
|
347
|
+
$[0] = className;
|
|
348
|
+
$[1] = t1;
|
|
349
|
+
} else t1 = $[1];
|
|
350
|
+
let t2;
|
|
351
|
+
if ($[2] !== focusControl || $[3] !== setValue) {
|
|
352
|
+
t2 = () => {
|
|
353
|
+
setValue("");
|
|
354
|
+
focusControl();
|
|
355
|
+
};
|
|
356
|
+
$[2] = focusControl;
|
|
357
|
+
$[3] = setValue;
|
|
358
|
+
$[4] = t2;
|
|
359
|
+
} else t2 = $[4];
|
|
360
|
+
let t3;
|
|
361
|
+
if ($[5] !== label || $[6] !== t1 || $[7] !== t2) {
|
|
362
|
+
t3 = /* @__PURE__ */ jsx(Button, {
|
|
363
|
+
iconOnly: true,
|
|
364
|
+
icon: SvgClose,
|
|
365
|
+
label,
|
|
366
|
+
variant: "tertiary",
|
|
367
|
+
size: "sm",
|
|
368
|
+
className: t1,
|
|
369
|
+
onClick: t2
|
|
370
|
+
});
|
|
371
|
+
$[5] = label;
|
|
372
|
+
$[6] = t1;
|
|
373
|
+
$[7] = t2;
|
|
374
|
+
$[8] = t3;
|
|
375
|
+
} else t3 = $[8];
|
|
376
|
+
return t3;
|
|
377
|
+
};
|
|
378
|
+
var COPY_ICON = {
|
|
379
|
+
idle: SvgContentCopy,
|
|
380
|
+
copied: SvgCheck,
|
|
381
|
+
failed: SvgErrorOutline
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* Writes text to the clipboard, rejecting where there is no clipboard as well
|
|
385
|
+
* as where the browser refuses.
|
|
386
|
+
*
|
|
387
|
+
* @example
|
|
388
|
+
* void writeClipboard("NL91ABNA0417164300").catch(selectByHand);
|
|
389
|
+
*/
|
|
390
|
+
var writeClipboard = async (text) => navigator.clipboard.writeText(text);
|
|
391
|
+
var TextInputCopy = (t0) => {
|
|
392
|
+
const $ = c(21);
|
|
393
|
+
const { label, copiedLabel, failedLabel, className } = t0;
|
|
394
|
+
const { value, state, selectControl } = useTextInputContext();
|
|
395
|
+
const [outcome, setOutcome] = useState("idle");
|
|
396
|
+
if (value === "" || state.disabled === true) return null;
|
|
397
|
+
let t1;
|
|
398
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
399
|
+
t1 = (next) => {
|
|
400
|
+
setOutcome(next);
|
|
401
|
+
setTimeout(() => setOutcome("idle"), COPIED_FEEDBACK_MS);
|
|
402
|
+
};
|
|
403
|
+
$[0] = t1;
|
|
404
|
+
} else t1 = $[0];
|
|
405
|
+
const settle = t1;
|
|
406
|
+
let t2;
|
|
407
|
+
if ($[1] !== copiedLabel || $[2] !== failedLabel || $[3] !== label) {
|
|
408
|
+
t2 = {
|
|
409
|
+
idle: label,
|
|
410
|
+
copied: copiedLabel,
|
|
411
|
+
failed: failedLabel
|
|
412
|
+
};
|
|
413
|
+
$[1] = copiedLabel;
|
|
414
|
+
$[2] = failedLabel;
|
|
415
|
+
$[3] = label;
|
|
416
|
+
$[4] = t2;
|
|
417
|
+
} else t2 = $[4];
|
|
418
|
+
const labels = t2;
|
|
419
|
+
const t3 = COPY_ICON[outcome];
|
|
420
|
+
const t4 = labels[outcome];
|
|
421
|
+
const t5 = outcome === "failed" ? "danger" : "brand";
|
|
422
|
+
let t6;
|
|
423
|
+
if ($[5] !== className) {
|
|
424
|
+
t6 = clsx(text_field_module_default.action, className);
|
|
425
|
+
$[5] = className;
|
|
426
|
+
$[6] = t6;
|
|
427
|
+
} else t6 = $[6];
|
|
428
|
+
let t7;
|
|
429
|
+
if ($[7] !== selectControl || $[8] !== value) {
|
|
430
|
+
t7 = () => {
|
|
431
|
+
writeClipboard(value).then(() => settle("copied"), () => {
|
|
432
|
+
selectControl();
|
|
433
|
+
settle("failed");
|
|
434
|
+
});
|
|
435
|
+
};
|
|
436
|
+
$[7] = selectControl;
|
|
437
|
+
$[8] = value;
|
|
438
|
+
$[9] = t7;
|
|
439
|
+
} else t7 = $[9];
|
|
440
|
+
let t8;
|
|
441
|
+
if ($[10] !== t3 || $[11] !== t4 || $[12] !== t5 || $[13] !== t6 || $[14] !== t7) {
|
|
442
|
+
t8 = /* @__PURE__ */ jsx(Button, {
|
|
443
|
+
iconOnly: true,
|
|
444
|
+
icon: t3,
|
|
445
|
+
label: t4,
|
|
446
|
+
tone: t5,
|
|
447
|
+
variant: "tertiary",
|
|
448
|
+
size: "sm",
|
|
449
|
+
className: t6,
|
|
450
|
+
onClick: t7
|
|
451
|
+
});
|
|
452
|
+
$[10] = t3;
|
|
453
|
+
$[11] = t4;
|
|
454
|
+
$[12] = t5;
|
|
455
|
+
$[13] = t6;
|
|
456
|
+
$[14] = t7;
|
|
457
|
+
$[15] = t8;
|
|
458
|
+
} else t8 = $[15];
|
|
459
|
+
const t9 = outcome === "idle" ? "" : labels[outcome];
|
|
460
|
+
let t10;
|
|
461
|
+
if ($[16] !== t9) {
|
|
462
|
+
t10 = /* @__PURE__ */ jsx("span", {
|
|
463
|
+
role: "status",
|
|
464
|
+
className: text_field_module_default.copyStatus,
|
|
465
|
+
children: t9
|
|
466
|
+
});
|
|
467
|
+
$[16] = t9;
|
|
468
|
+
$[17] = t10;
|
|
469
|
+
} else t10 = $[17];
|
|
470
|
+
let t11;
|
|
471
|
+
if ($[18] !== t10 || $[19] !== t8) {
|
|
472
|
+
t11 = /* @__PURE__ */ jsxs(Fragment$1, { children: [t8, t10] });
|
|
473
|
+
$[18] = t10;
|
|
474
|
+
$[19] = t8;
|
|
475
|
+
$[20] = t11;
|
|
476
|
+
} else t11 = $[20];
|
|
477
|
+
return t11;
|
|
478
|
+
};
|
|
479
|
+
var TextInputCounter = (t0) => {
|
|
480
|
+
const $ = c(14);
|
|
481
|
+
let className;
|
|
482
|
+
let props;
|
|
483
|
+
if ($[0] !== t0) {
|
|
484
|
+
({className, ...props} = t0);
|
|
485
|
+
$[0] = t0;
|
|
486
|
+
$[1] = className;
|
|
487
|
+
$[2] = props;
|
|
488
|
+
} else {
|
|
489
|
+
className = $[1];
|
|
490
|
+
props = $[2];
|
|
491
|
+
}
|
|
492
|
+
const { value, maxLength } = useTextInputContext();
|
|
493
|
+
if (maxLength === void 0) return null;
|
|
494
|
+
let t1;
|
|
495
|
+
if ($[3] !== maxLength || $[4] !== value.length) {
|
|
496
|
+
t1 = lengthTone(value.length, maxLength);
|
|
497
|
+
$[3] = maxLength;
|
|
498
|
+
$[4] = value.length;
|
|
499
|
+
$[5] = t1;
|
|
500
|
+
} else t1 = $[5];
|
|
501
|
+
let t2;
|
|
502
|
+
if ($[6] !== className) {
|
|
503
|
+
t2 = clsx(text_field_module_default.counter, className);
|
|
504
|
+
$[6] = className;
|
|
505
|
+
$[7] = t2;
|
|
506
|
+
} else t2 = $[7];
|
|
507
|
+
let t3;
|
|
508
|
+
if ($[8] !== maxLength || $[9] !== props || $[10] !== t1 || $[11] !== t2 || $[12] !== value.length) {
|
|
509
|
+
t3 = /* @__PURE__ */ jsxs("span", {
|
|
510
|
+
"aria-live": "off",
|
|
511
|
+
"data-tone": t1,
|
|
512
|
+
className: t2,
|
|
513
|
+
...props,
|
|
514
|
+
children: [
|
|
515
|
+
value.length,
|
|
516
|
+
"/",
|
|
517
|
+
maxLength
|
|
518
|
+
]
|
|
519
|
+
});
|
|
520
|
+
$[8] = maxLength;
|
|
521
|
+
$[9] = props;
|
|
522
|
+
$[10] = t1;
|
|
523
|
+
$[11] = t2;
|
|
524
|
+
$[12] = value.length;
|
|
525
|
+
$[13] = t3;
|
|
526
|
+
} else t3 = $[13];
|
|
527
|
+
return t3;
|
|
528
|
+
};
|
|
529
|
+
var TextInputPending = (t0) => {
|
|
530
|
+
const $ = c(2);
|
|
531
|
+
const { className } = t0;
|
|
532
|
+
const { phase } = useTextInputContext();
|
|
533
|
+
if (phase === "fresh") return null;
|
|
534
|
+
let t1;
|
|
535
|
+
if ($[0] !== className) {
|
|
536
|
+
t1 = /* @__PURE__ */ jsx(Field.Pending, { className });
|
|
537
|
+
$[0] = className;
|
|
538
|
+
$[1] = t1;
|
|
539
|
+
} else t1 = $[1];
|
|
540
|
+
return t1;
|
|
541
|
+
};
|
|
542
|
+
var TextInputError = (props) => {
|
|
543
|
+
const $ = c(3);
|
|
544
|
+
const { errors } = useTextInputContext();
|
|
545
|
+
let t0;
|
|
546
|
+
if ($[0] !== errors || $[1] !== props) {
|
|
547
|
+
t0 = /* @__PURE__ */ jsx(Field.Error, {
|
|
548
|
+
...props,
|
|
549
|
+
children: errors
|
|
550
|
+
});
|
|
551
|
+
$[0] = errors;
|
|
552
|
+
$[1] = props;
|
|
553
|
+
$[2] = t0;
|
|
554
|
+
} else t0 = $[2];
|
|
555
|
+
return t0;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* The parts of a text input: the field frame, a group carrying the border and
|
|
559
|
+
* its inlays, and the bare control inside it. A `Bar` is a strip of inlays along
|
|
560
|
+
* the bottom edge of the group, for a control the inlays cannot sit beside. For
|
|
561
|
+
* the ordinary case, use the `TextField` shorthand, which is assembled from
|
|
562
|
+
* exactly these parts. An `Affix` is decoration, so its meaning belongs in the
|
|
563
|
+
* label or description too. `Error` renders the errors `Root` was given.
|
|
564
|
+
*
|
|
565
|
+
* @example
|
|
566
|
+
* <TextInput.Root value={value} onValueChange={setValue} errors={errors} optionalLabel="optional">
|
|
567
|
+
* <TextInput.Label>Email</TextInput.Label>
|
|
568
|
+
* <TextInput.Group>
|
|
569
|
+
* <TextInput.Input type="email" />
|
|
570
|
+
* <TextInput.Clear label="Clear" />
|
|
571
|
+
* </TextInput.Group>
|
|
572
|
+
* <TextInput.Error />
|
|
573
|
+
* </TextInput.Root>
|
|
574
|
+
*/
|
|
575
|
+
var TextInput = {
|
|
576
|
+
Root: TextInputRoot,
|
|
577
|
+
Label: TextInputLabel,
|
|
578
|
+
Group: TextInputGroup,
|
|
579
|
+
Bar: TextInputBar,
|
|
580
|
+
Inlay: TextInputInlay,
|
|
581
|
+
Affix: TextInputAffix,
|
|
582
|
+
Input: TextInputInput,
|
|
583
|
+
Clear: TextInputClear,
|
|
584
|
+
Copy: TextInputCopy,
|
|
585
|
+
Counter: TextInputCounter,
|
|
586
|
+
Pending: TextInputPending,
|
|
587
|
+
Description: Field.Description,
|
|
588
|
+
Error: TextInputError
|
|
589
|
+
};
|
|
590
|
+
export { TextInput };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TextFieldBaseProps } from "./text-field.tsx";
|
|
2
|
+
/**
|
|
3
|
+
* The props every text preset, such as `EmailField`, takes. Everything that
|
|
4
|
+
* fixes the field's format, such as `type`, `inputMode`, `autoCapitalize` and
|
|
5
|
+
* `spellCheck`, is the preset's own business and is absent.
|
|
6
|
+
*/
|
|
7
|
+
export type TextPresetProps = Pick<TextFieldBaseProps, "label" | "description" | "errors" | "requiredness" | "optionalLabel" | "dirty" | "touched" | "pending" | "value" | "onValueChange" | "onBlur" | "onFocus" | "name" | "id" | "disabled" | "readOnly" | "state" | "className" | "enterKeyHint">;
|
|
8
|
+
//# sourceMappingURL=text-preset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-preset.d.ts","sourceRoot":"","sources":["../../../src/components/text-field/text-preset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CACjC,kBAAkB,EAChB,OAAO,GACP,aAAa,GACb,QAAQ,GACR,cAAc,GACd,eAAe,GACf,OAAO,GACP,SAAS,GACT,SAAS,GACT,OAAO,GACP,eAAe,GACf,QAAQ,GACR,SAAS,GACT,MAAM,GACN,IAAI,GACJ,UAAU,GACV,UAAU,GACV,OAAO,GACP,WAAW,GACX,cAAc,CAChB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type ConnectedFieldProps } from "../../lib/forms/use-connected-field.ts";
|
|
3
|
+
import { type TextFieldBaseProps, type TextFieldClearProps, type TextFieldCopyProps } from "./text-field.tsx";
|
|
4
|
+
export type TSFTextFieldProps = Omit<TextFieldBaseProps, keyof ConnectedFieldProps | "value" | "onValueChange"> & TextFieldClearProps & TextFieldCopyProps;
|
|
5
|
+
/**
|
|
6
|
+
* `TextField` bound to the TanStack Form field it renders in. Registered as
|
|
7
|
+
* `field.TextField`.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* <form.AppField name="name">
|
|
11
|
+
* {field => <field.TextField label="Name" optionalLabel="optional" />}
|
|
12
|
+
* </form.AppField>
|
|
13
|
+
*/
|
|
14
|
+
export declare const TSFTextField: (props: TSFTextFieldProps) => ReactNode;
|
|
15
|
+
//# sourceMappingURL=tsf-text-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tsf-text-field.d.ts","sourceRoot":"","sources":["../../../src/components/text-field/tsf-text-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACN,KAAK,mBAAmB,EAExB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEN,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,iBAAiB,GAAG,IAAI,CACnC,kBAAkB,EAClB,MAAM,mBAAmB,GAAG,OAAO,GAAG,eAAe,CACrD,GACA,mBAAmB,GACnB,kBAAkB,CAAC;AAEpB;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,UACjB,iBAAiB,KACtB,SAWF,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useConnectedField } from "../../lib/forms/use-connected-field.js";
|
|
2
|
+
import { TextField } from "./text-field.js";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
// src/components/text-field/tsf-text-field.tsx
|
|
6
|
+
/**
|
|
7
|
+
* `TextField` bound to the TanStack Form field it renders in. Registered as
|
|
8
|
+
* `field.TextField`.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <form.AppField name="name">
|
|
12
|
+
* {field => <field.TextField label="Name" optionalLabel="optional" />}
|
|
13
|
+
* </form.AppField>
|
|
14
|
+
*/
|
|
15
|
+
var TSFTextField = (props) => {
|
|
16
|
+
const $ = c(5);
|
|
17
|
+
const { field, props: connected } = useConnectedField();
|
|
18
|
+
let t0;
|
|
19
|
+
if ($[0] !== connected || $[1] !== field.handleChange || $[2] !== field.state.value || $[3] !== props) {
|
|
20
|
+
t0 = /* @__PURE__ */ jsx(TextField, {
|
|
21
|
+
...props,
|
|
22
|
+
...connected,
|
|
23
|
+
value: field.state.value,
|
|
24
|
+
onValueChange: field.handleChange
|
|
25
|
+
});
|
|
26
|
+
$[0] = connected;
|
|
27
|
+
$[1] = field.handleChange;
|
|
28
|
+
$[2] = field.state.value;
|
|
29
|
+
$[3] = props;
|
|
30
|
+
$[4] = t0;
|
|
31
|
+
} else t0 = $[4];
|
|
32
|
+
return t0;
|
|
33
|
+
};
|
|
34
|
+
export { TSFTextField };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/textarea-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type TextFieldBaseProps } from "../text-field/index.ts";
|
|
3
|
+
import { type TextareaProps } from "./textarea.tsx";
|
|
4
|
+
export type TextareaFieldProps = Omit<TextFieldBaseProps, "type" | "icon" | "prefix" | "suffix" | "inputMode" | "enterKeyHint" | "labelHidden"> & Pick<TextareaProps, "rows" | "maxRows">;
|
|
5
|
+
/**
|
|
6
|
+
* A multi-line text field: `TextField`'s anatomy over a `<textarea>` that
|
|
7
|
+
* autosizes with its content, with the counter and the pending spinner in a bar
|
|
8
|
+
* along the bottom edge of the group.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <TextareaField
|
|
12
|
+
* label="Note"
|
|
13
|
+
* optionalLabel="optional"
|
|
14
|
+
* value={note}
|
|
15
|
+
* onValueChange={setNote}
|
|
16
|
+
* maxLength={2000}
|
|
17
|
+
* />
|
|
18
|
+
*/
|
|
19
|
+
export declare const TextareaField: ({ label, description, errors, requiredness, optionalLabel, rows, maxRows, value, onValueChange, disabled, readOnly, dirty, touched, pending, maxLength, state, className, ...controlProps }: TextareaFieldProps) => ReactNode;
|
|
20
|
+
//# sourceMappingURL=textarea-field.d.ts.map
|