@tenstorrent/vesper 0.1.0
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 +167 -0
- package/dist/components/accordion/accordion.css +1 -0
- package/dist/components/accordion/accordion.d.ts +33 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/accordion.js +30 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/admonition/admonition.css +1 -0
- package/dist/components/admonition/admonition.d.ts +49 -0
- package/dist/components/admonition/admonition.d.ts.map +1 -0
- package/dist/components/admonition/admonition.js +47 -0
- package/dist/components/admonition/admonition.js.map +1 -0
- package/dist/components/avatar/avatar.css +1 -0
- package/dist/components/avatar/avatar.d.ts +30 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.js +24 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/avatar-group/avatar-group.css +1 -0
- package/dist/components/avatar-group/avatar-group.d.ts +36 -0
- package/dist/components/avatar-group/avatar-group.d.ts.map +1 -0
- package/dist/components/avatar-group/avatar-group.js +30 -0
- package/dist/components/avatar-group/avatar-group.js.map +1 -0
- package/dist/components/badge/badge.css +1 -0
- package/dist/components/badge/badge.d.ts +42 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/badge.js +49 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/button/button.css +1 -0
- package/dist/components/button/button.d.ts +51 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +49 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/checkbox/checkbox.css +1 -0
- package/dist/components/checkbox/checkbox.d.ts +53 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.js +65 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/chip/chip.css +1 -0
- package/dist/components/chip/chip.d.ts +53 -0
- package/dist/components/chip/chip.d.ts.map +1 -0
- package/dist/components/chip/chip.js +51 -0
- package/dist/components/chip/chip.js.map +1 -0
- package/dist/components/choicebox/choicebox.css +1 -0
- package/dist/components/choicebox/choicebox.d.ts +90 -0
- package/dist/components/choicebox/choicebox.d.ts.map +1 -0
- package/dist/components/choicebox/choicebox.js +131 -0
- package/dist/components/choicebox/choicebox.js.map +1 -0
- package/dist/components/code/code.css +1 -0
- package/dist/components/code/code.d.ts +23 -0
- package/dist/components/code/code.d.ts.map +1 -0
- package/dist/components/code/code.js +23 -0
- package/dist/components/code/code.js.map +1 -0
- package/dist/components/code-block/code-block.css +1 -0
- package/dist/components/code-block/code-block.d.ts +48 -0
- package/dist/components/code-block/code-block.d.ts.map +1 -0
- package/dist/components/code-block/code-block.js +36 -0
- package/dist/components/code-block/code-block.js.map +1 -0
- package/dist/components/code-block/components.d.ts +4 -0
- package/dist/components/code-block/components.d.ts.map +1 -0
- package/dist/components/code-block/components.js +27 -0
- package/dist/components/code-block/components.js.map +1 -0
- package/dist/components/code-block/fixtures.d.ts +12 -0
- package/dist/components/code-block/fixtures.d.ts.map +1 -0
- package/dist/components/code-block/fixtures.js +491 -0
- package/dist/components/code-block/fixtures.js.map +1 -0
- package/dist/components/code-block/streaming-code-block.d.ts +5 -0
- package/dist/components/code-block/streaming-code-block.d.ts.map +1 -0
- package/dist/components/code-block/streaming-code-block.js +92 -0
- package/dist/components/code-block/streaming-code-block.js.map +1 -0
- package/dist/components/code-block/themes.d.ts +16 -0
- package/dist/components/code-block/themes.d.ts.map +1 -0
- package/dist/components/code-block/themes.js +2836 -0
- package/dist/components/code-block/themes.js.map +1 -0
- package/dist/components/code-block/utils.d.ts +7 -0
- package/dist/components/code-block/utils.d.ts.map +1 -0
- package/dist/components/code-block/utils.js +42 -0
- package/dist/components/code-block/utils.js.map +1 -0
- package/dist/components/combobox/combobox.css +1 -0
- package/dist/components/combobox/combobox.d.ts +106 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/combobox.js +93 -0
- package/dist/components/combobox/combobox.js.map +1 -0
- package/dist/components/form-input-message/form-input-message.css +1 -0
- package/dist/components/form-input-message/form-input-message.d.ts +35 -0
- package/dist/components/form-input-message/form-input-message.d.ts.map +1 -0
- package/dist/components/form-input-message/form-input-message.js +38 -0
- package/dist/components/form-input-message/form-input-message.js.map +1 -0
- package/dist/components/icon-button/icon-button.css +1 -0
- package/dist/components/icon-button/icon-button.d.ts +38 -0
- package/dist/components/icon-button/icon-button.d.ts.map +1 -0
- package/dist/components/icon-button/icon-button.js +31 -0
- package/dist/components/icon-button/icon-button.js.map +1 -0
- package/dist/components/icons/add.d.ts +3 -0
- package/dist/components/icons/add.d.ts.map +1 -0
- package/dist/components/icons/add.js +5 -0
- package/dist/components/icons/add.js.map +1 -0
- package/dist/components/icons/ai-agent-solid.d.ts +3 -0
- package/dist/components/icons/ai-agent-solid.d.ts.map +1 -0
- package/dist/components/icons/ai-agent-solid.js +5 -0
- package/dist/components/icons/ai-agent-solid.js.map +1 -0
- package/dist/components/icons/ai-agent.d.ts +3 -0
- package/dist/components/icons/ai-agent.d.ts.map +1 -0
- package/dist/components/icons/ai-agent.js +5 -0
- package/dist/components/icons/ai-agent.js.map +1 -0
- package/dist/components/icons/ai-data.d.ts +3 -0
- package/dist/components/icons/ai-data.d.ts.map +1 -0
- package/dist/components/icons/ai-data.js +5 -0
- package/dist/components/icons/ai-data.js.map +1 -0
- package/dist/components/icons/ai-model.d.ts +3 -0
- package/dist/components/icons/ai-model.d.ts.map +1 -0
- package/dist/components/icons/ai-model.js +5 -0
- package/dist/components/icons/ai-model.js.map +1 -0
- package/dist/components/icons/ai-task.d.ts +3 -0
- package/dist/components/icons/ai-task.d.ts.map +1 -0
- package/dist/components/icons/ai-task.js +5 -0
- package/dist/components/icons/ai-task.js.map +1 -0
- package/dist/components/icons/ai-video-gen.d.ts +3 -0
- package/dist/components/icons/ai-video-gen.d.ts.map +1 -0
- package/dist/components/icons/ai-video-gen.js +5 -0
- package/dist/components/icons/ai-video-gen.js.map +1 -0
- package/dist/components/icons/ai.d.ts +3 -0
- package/dist/components/icons/ai.d.ts.map +1 -0
- package/dist/components/icons/ai.js +5 -0
- package/dist/components/icons/ai.js.map +1 -0
- package/dist/components/icons/arrow-down.d.ts +3 -0
- package/dist/components/icons/arrow-down.d.ts.map +1 -0
- package/dist/components/icons/arrow-down.js +5 -0
- package/dist/components/icons/arrow-down.js.map +1 -0
- package/dist/components/icons/arrow-left.d.ts +3 -0
- package/dist/components/icons/arrow-left.d.ts.map +1 -0
- package/dist/components/icons/arrow-left.js +5 -0
- package/dist/components/icons/arrow-left.js.map +1 -0
- package/dist/components/icons/arrow-right.d.ts +3 -0
- package/dist/components/icons/arrow-right.d.ts.map +1 -0
- package/dist/components/icons/arrow-right.js +5 -0
- package/dist/components/icons/arrow-right.js.map +1 -0
- package/dist/components/icons/arrow-up-left.d.ts +3 -0
- package/dist/components/icons/arrow-up-left.d.ts.map +1 -0
- package/dist/components/icons/arrow-up-left.js +5 -0
- package/dist/components/icons/arrow-up-left.js.map +1 -0
- package/dist/components/icons/arrow-up-right.d.ts +3 -0
- package/dist/components/icons/arrow-up-right.d.ts.map +1 -0
- package/dist/components/icons/arrow-up-right.js +5 -0
- package/dist/components/icons/arrow-up-right.js.map +1 -0
- package/dist/components/icons/arrow-up.d.ts +3 -0
- package/dist/components/icons/arrow-up.d.ts.map +1 -0
- package/dist/components/icons/arrow-up.js +5 -0
- package/dist/components/icons/arrow-up.js.map +1 -0
- package/dist/components/icons/auto.d.ts +3 -0
- package/dist/components/icons/auto.d.ts.map +1 -0
- package/dist/components/icons/auto.js +5 -0
- package/dist/components/icons/auto.js.map +1 -0
- package/dist/components/icons/blackhole.d.ts +3 -0
- package/dist/components/icons/blackhole.d.ts.map +1 -0
- package/dist/components/icons/blackhole.js +5 -0
- package/dist/components/icons/blackhole.js.map +1 -0
- package/dist/components/icons/board.d.ts +3 -0
- package/dist/components/icons/board.d.ts.map +1 -0
- package/dist/components/icons/board.js +5 -0
- package/dist/components/icons/board.js.map +1 -0
- package/dist/components/icons/bolt.d.ts +3 -0
- package/dist/components/icons/bolt.d.ts.map +1 -0
- package/dist/components/icons/bolt.js +5 -0
- package/dist/components/icons/bolt.js.map +1 -0
- package/dist/components/icons/bug.d.ts +3 -0
- package/dist/components/icons/bug.d.ts.map +1 -0
- package/dist/components/icons/bug.js +5 -0
- package/dist/components/icons/bug.js.map +1 -0
- package/dist/components/icons/caret-down.d.ts +3 -0
- package/dist/components/icons/caret-down.d.ts.map +1 -0
- package/dist/components/icons/caret-down.js +5 -0
- package/dist/components/icons/caret-down.js.map +1 -0
- package/dist/components/icons/caret-left.d.ts +3 -0
- package/dist/components/icons/caret-left.d.ts.map +1 -0
- package/dist/components/icons/caret-left.js +5 -0
- package/dist/components/icons/caret-left.js.map +1 -0
- package/dist/components/icons/caret-right.d.ts +3 -0
- package/dist/components/icons/caret-right.d.ts.map +1 -0
- package/dist/components/icons/caret-right.js +5 -0
- package/dist/components/icons/caret-right.js.map +1 -0
- package/dist/components/icons/caret-up.d.ts +3 -0
- package/dist/components/icons/caret-up.d.ts.map +1 -0
- package/dist/components/icons/caret-up.js +5 -0
- package/dist/components/icons/caret-up.js.map +1 -0
- package/dist/components/icons/cart.d.ts +3 -0
- package/dist/components/icons/cart.d.ts.map +1 -0
- package/dist/components/icons/cart.js +5 -0
- package/dist/components/icons/cart.js.map +1 -0
- package/dist/components/icons/chat-solid.d.ts +3 -0
- package/dist/components/icons/chat-solid.d.ts.map +1 -0
- package/dist/components/icons/chat-solid.js +5 -0
- package/dist/components/icons/chat-solid.js.map +1 -0
- package/dist/components/icons/chat.d.ts +3 -0
- package/dist/components/icons/chat.d.ts.map +1 -0
- package/dist/components/icons/chat.js +5 -0
- package/dist/components/icons/chat.js.map +1 -0
- package/dist/components/icons/checkmark.d.ts +3 -0
- package/dist/components/icons/checkmark.d.ts.map +1 -0
- package/dist/components/icons/checkmark.js +5 -0
- package/dist/components/icons/checkmark.js.map +1 -0
- package/dist/components/icons/chip.d.ts +3 -0
- package/dist/components/icons/chip.d.ts.map +1 -0
- package/dist/components/icons/chip.js +5 -0
- package/dist/components/icons/chip.js.map +1 -0
- package/dist/components/icons/circle-add-solid.d.ts +3 -0
- package/dist/components/icons/circle-add-solid.d.ts.map +1 -0
- package/dist/components/icons/circle-add-solid.js +5 -0
- package/dist/components/icons/circle-add-solid.js.map +1 -0
- package/dist/components/icons/circle-add.d.ts +3 -0
- package/dist/components/icons/circle-add.d.ts.map +1 -0
- package/dist/components/icons/circle-add.js +5 -0
- package/dist/components/icons/circle-add.js.map +1 -0
- package/dist/components/icons/circle-x-solid.d.ts +3 -0
- package/dist/components/icons/circle-x-solid.d.ts.map +1 -0
- package/dist/components/icons/circle-x-solid.js +5 -0
- package/dist/components/icons/circle-x-solid.js.map +1 -0
- package/dist/components/icons/circle-x.d.ts +3 -0
- package/dist/components/icons/circle-x.d.ts.map +1 -0
- package/dist/components/icons/circle-x.js +5 -0
- package/dist/components/icons/circle-x.js.map +1 -0
- package/dist/components/icons/clock-countdown.d.ts +3 -0
- package/dist/components/icons/clock-countdown.d.ts.map +1 -0
- package/dist/components/icons/clock-countdown.js +5 -0
- package/dist/components/icons/clock-countdown.js.map +1 -0
- package/dist/components/icons/clock-counter-clockwise.d.ts +3 -0
- package/dist/components/icons/clock-counter-clockwise.d.ts.map +1 -0
- package/dist/components/icons/clock-counter-clockwise.js +5 -0
- package/dist/components/icons/clock-counter-clockwise.js.map +1 -0
- package/dist/components/icons/clock.d.ts +3 -0
- package/dist/components/icons/clock.d.ts.map +1 -0
- package/dist/components/icons/clock.js +5 -0
- package/dist/components/icons/clock.js.map +1 -0
- package/dist/components/icons/close-panel.d.ts +3 -0
- package/dist/components/icons/close-panel.d.ts.map +1 -0
- package/dist/components/icons/close-panel.js +5 -0
- package/dist/components/icons/close-panel.js.map +1 -0
- package/dist/components/icons/close.d.ts +3 -0
- package/dist/components/icons/close.d.ts.map +1 -0
- package/dist/components/icons/close.js +5 -0
- package/dist/components/icons/close.js.map +1 -0
- package/dist/components/icons/cloud-server-solid.d.ts +3 -0
- package/dist/components/icons/cloud-server-solid.d.ts.map +1 -0
- package/dist/components/icons/cloud-server-solid.js +5 -0
- package/dist/components/icons/cloud-server-solid.js.map +1 -0
- package/dist/components/icons/cloud-server.d.ts +3 -0
- package/dist/components/icons/cloud-server.d.ts.map +1 -0
- package/dist/components/icons/cloud-server.js +5 -0
- package/dist/components/icons/cloud-server.js.map +1 -0
- package/dist/components/icons/constants.d.ts +3 -0
- package/dist/components/icons/constants.d.ts.map +1 -0
- package/dist/components/icons/constants.js +137 -0
- package/dist/components/icons/constants.js.map +1 -0
- package/dist/components/icons/copy.d.ts +3 -0
- package/dist/components/icons/copy.d.ts.map +1 -0
- package/dist/components/icons/copy.js +5 -0
- package/dist/components/icons/copy.js.map +1 -0
- package/dist/components/icons/document-solid.d.ts +3 -0
- package/dist/components/icons/document-solid.d.ts.map +1 -0
- package/dist/components/icons/document-solid.js +5 -0
- package/dist/components/icons/document-solid.js.map +1 -0
- package/dist/components/icons/document.d.ts +3 -0
- package/dist/components/icons/document.d.ts.map +1 -0
- package/dist/components/icons/document.js +5 -0
- package/dist/components/icons/document.js.map +1 -0
- package/dist/components/icons/download.d.ts +3 -0
- package/dist/components/icons/download.d.ts.map +1 -0
- package/dist/components/icons/download.js +5 -0
- package/dist/components/icons/download.js.map +1 -0
- package/dist/components/icons/ellipses.d.ts +3 -0
- package/dist/components/icons/ellipses.d.ts.map +1 -0
- package/dist/components/icons/ellipses.js +5 -0
- package/dist/components/icons/ellipses.js.map +1 -0
- package/dist/components/icons/error-solid.d.ts +3 -0
- package/dist/components/icons/error-solid.d.ts.map +1 -0
- package/dist/components/icons/error-solid.js +5 -0
- package/dist/components/icons/error-solid.js.map +1 -0
- package/dist/components/icons/error.d.ts +3 -0
- package/dist/components/icons/error.d.ts.map +1 -0
- package/dist/components/icons/error.js +5 -0
- package/dist/components/icons/error.js.map +1 -0
- package/dist/components/icons/eye-slash.d.ts +3 -0
- package/dist/components/icons/eye-slash.d.ts.map +1 -0
- package/dist/components/icons/eye-slash.js +5 -0
- package/dist/components/icons/eye-slash.js.map +1 -0
- package/dist/components/icons/eye.d.ts +3 -0
- package/dist/components/icons/eye.d.ts.map +1 -0
- package/dist/components/icons/eye.js +5 -0
- package/dist/components/icons/eye.js.map +1 -0
- package/dist/components/icons/folder.d.ts +3 -0
- package/dist/components/icons/folder.d.ts.map +1 -0
- package/dist/components/icons/folder.js +5 -0
- package/dist/components/icons/folder.js.map +1 -0
- package/dist/components/icons/galaxy-rack.d.ts +3 -0
- package/dist/components/icons/galaxy-rack.d.ts.map +1 -0
- package/dist/components/icons/galaxy-rack.js +5 -0
- package/dist/components/icons/galaxy-rack.js.map +1 -0
- package/dist/components/icons/galaxy.d.ts +3 -0
- package/dist/components/icons/galaxy.d.ts.map +1 -0
- package/dist/components/icons/galaxy.js +5 -0
- package/dist/components/icons/galaxy.js.map +1 -0
- package/dist/components/icons/gear-solid.d.ts +3 -0
- package/dist/components/icons/gear-solid.d.ts.map +1 -0
- package/dist/components/icons/gear-solid.js +5 -0
- package/dist/components/icons/gear-solid.js.map +1 -0
- package/dist/components/icons/gear.d.ts +3 -0
- package/dist/components/icons/gear.d.ts.map +1 -0
- package/dist/components/icons/gear.js +5 -0
- package/dist/components/icons/gear.js.map +1 -0
- package/dist/components/icons/globe.d.ts +3 -0
- package/dist/components/icons/globe.d.ts.map +1 -0
- package/dist/components/icons/globe.js +5 -0
- package/dist/components/icons/globe.js.map +1 -0
- package/dist/components/icons/grid.d.ts +3 -0
- package/dist/components/icons/grid.d.ts.map +1 -0
- package/dist/components/icons/grid.js +5 -0
- package/dist/components/icons/grid.js.map +1 -0
- package/dist/components/icons/icon.d.ts +7 -0
- package/dist/components/icons/icon.d.ts.map +1 -0
- package/dist/components/icons/icon.js +9 -0
- package/dist/components/icons/icon.js.map +1 -0
- package/dist/components/icons/icons.d.ts +131 -0
- package/dist/components/icons/icons.d.ts.map +1 -0
- package/dist/components/icons/icons.js +137 -0
- package/dist/components/icons/icons.js.map +1 -0
- package/dist/components/icons/info-solid.d.ts +3 -0
- package/dist/components/icons/info-solid.d.ts.map +1 -0
- package/dist/components/icons/info-solid.js +5 -0
- package/dist/components/icons/info-solid.js.map +1 -0
- package/dist/components/icons/info.d.ts +3 -0
- package/dist/components/icons/info.d.ts.map +1 -0
- package/dist/components/icons/info.js +5 -0
- package/dist/components/icons/info.js.map +1 -0
- package/dist/components/icons/link.d.ts +3 -0
- package/dist/components/icons/link.d.ts.map +1 -0
- package/dist/components/icons/link.js +5 -0
- package/dist/components/icons/link.js.map +1 -0
- package/dist/components/icons/list.d.ts +3 -0
- package/dist/components/icons/list.d.ts.map +1 -0
- package/dist/components/icons/list.js +5 -0
- package/dist/components/icons/list.js.map +1 -0
- package/dist/components/icons/location.d.ts +3 -0
- package/dist/components/icons/location.d.ts.map +1 -0
- package/dist/components/icons/location.js +5 -0
- package/dist/components/icons/location.js.map +1 -0
- package/dist/components/icons/lock-fill.d.ts +3 -0
- package/dist/components/icons/lock-fill.d.ts.map +1 -0
- package/dist/components/icons/lock-fill.js +5 -0
- package/dist/components/icons/lock-fill.js.map +1 -0
- package/dist/components/icons/lock.d.ts +3 -0
- package/dist/components/icons/lock.d.ts.map +1 -0
- package/dist/components/icons/lock.js +5 -0
- package/dist/components/icons/lock.js.map +1 -0
- package/dist/components/icons/loudbox.d.ts +3 -0
- package/dist/components/icons/loudbox.d.ts.map +1 -0
- package/dist/components/icons/loudbox.js +5 -0
- package/dist/components/icons/loudbox.js.map +1 -0
- package/dist/components/icons/menu.d.ts +3 -0
- package/dist/components/icons/menu.d.ts.map +1 -0
- package/dist/components/icons/menu.js +5 -0
- package/dist/components/icons/menu.js.map +1 -0
- package/dist/components/icons/microphone.d.ts +3 -0
- package/dist/components/icons/microphone.d.ts.map +1 -0
- package/dist/components/icons/microphone.js +5 -0
- package/dist/components/icons/microphone.js.map +1 -0
- package/dist/components/icons/minus.d.ts +3 -0
- package/dist/components/icons/minus.d.ts.map +1 -0
- package/dist/components/icons/minus.js +5 -0
- package/dist/components/icons/minus.js.map +1 -0
- package/dist/components/icons/mode-dark.d.ts +3 -0
- package/dist/components/icons/mode-dark.d.ts.map +1 -0
- package/dist/components/icons/mode-dark.js +5 -0
- package/dist/components/icons/mode-dark.js.map +1 -0
- package/dist/components/icons/mode-light.d.ts +3 -0
- package/dist/components/icons/mode-light.d.ts.map +1 -0
- package/dist/components/icons/mode-light.js +5 -0
- package/dist/components/icons/mode-light.js.map +1 -0
- package/dist/components/icons/mode-system.d.ts +3 -0
- package/dist/components/icons/mode-system.d.ts.map +1 -0
- package/dist/components/icons/mode-system.js +5 -0
- package/dist/components/icons/mode-system.js.map +1 -0
- package/dist/components/icons/model-deepseek-color.d.ts +3 -0
- package/dist/components/icons/model-deepseek-color.d.ts.map +1 -0
- package/dist/components/icons/model-deepseek-color.js +5 -0
- package/dist/components/icons/model-deepseek-color.js.map +1 -0
- package/dist/components/icons/model-deepseek.d.ts +3 -0
- package/dist/components/icons/model-deepseek.d.ts.map +1 -0
- package/dist/components/icons/model-deepseek.js +5 -0
- package/dist/components/icons/model-deepseek.js.map +1 -0
- package/dist/components/icons/model-falcon-color.d.ts +3 -0
- package/dist/components/icons/model-falcon-color.d.ts.map +1 -0
- package/dist/components/icons/model-falcon-color.js +5 -0
- package/dist/components/icons/model-falcon-color.js.map +1 -0
- package/dist/components/icons/model-falcon.d.ts +3 -0
- package/dist/components/icons/model-falcon.d.ts.map +1 -0
- package/dist/components/icons/model-falcon.js +5 -0
- package/dist/components/icons/model-falcon.js.map +1 -0
- package/dist/components/icons/model-google-color.d.ts +3 -0
- package/dist/components/icons/model-google-color.d.ts.map +1 -0
- package/dist/components/icons/model-google-color.js +5 -0
- package/dist/components/icons/model-google-color.js.map +1 -0
- package/dist/components/icons/model-google.d.ts +3 -0
- package/dist/components/icons/model-google.d.ts.map +1 -0
- package/dist/components/icons/model-google.js +5 -0
- package/dist/components/icons/model-google.js.map +1 -0
- package/dist/components/icons/model-llama-color.d.ts +3 -0
- package/dist/components/icons/model-llama-color.d.ts.map +1 -0
- package/dist/components/icons/model-llama-color.js +5 -0
- package/dist/components/icons/model-llama-color.js.map +1 -0
- package/dist/components/icons/model-llama.d.ts +3 -0
- package/dist/components/icons/model-llama.d.ts.map +1 -0
- package/dist/components/icons/model-llama.js +5 -0
- package/dist/components/icons/model-llama.js.map +1 -0
- package/dist/components/icons/model-openai.d.ts +3 -0
- package/dist/components/icons/model-openai.d.ts.map +1 -0
- package/dist/components/icons/model-openai.js +5 -0
- package/dist/components/icons/model-openai.js.map +1 -0
- package/dist/components/icons/model-qwen-color.d.ts +3 -0
- package/dist/components/icons/model-qwen-color.d.ts.map +1 -0
- package/dist/components/icons/model-qwen-color.js +5 -0
- package/dist/components/icons/model-qwen-color.js.map +1 -0
- package/dist/components/icons/model-qwen.d.ts +3 -0
- package/dist/components/icons/model-qwen.d.ts.map +1 -0
- package/dist/components/icons/model-qwen.js +5 -0
- package/dist/components/icons/model-qwen.js.map +1 -0
- package/dist/components/icons/monitor.d.ts +3 -0
- package/dist/components/icons/monitor.d.ts.map +1 -0
- package/dist/components/icons/monitor.js +5 -0
- package/dist/components/icons/monitor.js.map +1 -0
- package/dist/components/icons/open-panel.d.ts +3 -0
- package/dist/components/icons/open-panel.d.ts.map +1 -0
- package/dist/components/icons/open-panel.js +5 -0
- package/dist/components/icons/open-panel.js.map +1 -0
- package/dist/components/icons/org-developer.d.ts +3 -0
- package/dist/components/icons/org-developer.d.ts.map +1 -0
- package/dist/components/icons/org-developer.js +5 -0
- package/dist/components/icons/org-developer.js.map +1 -0
- package/dist/components/icons/org-experience.d.ts +3 -0
- package/dist/components/icons/org-experience.d.ts.map +1 -0
- package/dist/components/icons/org-experience.js +5 -0
- package/dist/components/icons/org-experience.js.map +1 -0
- package/dist/components/icons/org-operations.d.ts +3 -0
- package/dist/components/icons/org-operations.d.ts.map +1 -0
- package/dist/components/icons/org-operations.js +5 -0
- package/dist/components/icons/org-operations.js.map +1 -0
- package/dist/components/icons/org-systems.d.ts +3 -0
- package/dist/components/icons/org-systems.d.ts.map +1 -0
- package/dist/components/icons/org-systems.js +5 -0
- package/dist/components/icons/org-systems.js.map +1 -0
- package/dist/components/icons/org-university.d.ts +3 -0
- package/dist/components/icons/org-university.d.ts.map +1 -0
- package/dist/components/icons/org-university.js +5 -0
- package/dist/components/icons/org-university.js.map +1 -0
- package/dist/components/icons/phone.d.ts +3 -0
- package/dist/components/icons/phone.d.ts.map +1 -0
- package/dist/components/icons/phone.js +5 -0
- package/dist/components/icons/phone.js.map +1 -0
- package/dist/components/icons/quasar.d.ts +3 -0
- package/dist/components/icons/quasar.d.ts.map +1 -0
- package/dist/components/icons/quasar.js +5 -0
- package/dist/components/icons/quasar.js.map +1 -0
- package/dist/components/icons/quietbox.d.ts +3 -0
- package/dist/components/icons/quietbox.d.ts.map +1 -0
- package/dist/components/icons/quietbox.js +5 -0
- package/dist/components/icons/quietbox.js.map +1 -0
- package/dist/components/icons/registry.d.ts +6 -0
- package/dist/components/icons/registry.d.ts.map +1 -0
- package/dist/components/icons/registry.js +264 -0
- package/dist/components/icons/registry.js.map +1 -0
- package/dist/components/icons/reset.d.ts +3 -0
- package/dist/components/icons/reset.d.ts.map +1 -0
- package/dist/components/icons/reset.js +5 -0
- package/dist/components/icons/reset.js.map +1 -0
- package/dist/components/icons/search.d.ts +3 -0
- package/dist/components/icons/search.d.ts.map +1 -0
- package/dist/components/icons/search.js +5 -0
- package/dist/components/icons/search.js.map +1 -0
- package/dist/components/icons/server-solid.d.ts +3 -0
- package/dist/components/icons/server-solid.d.ts.map +1 -0
- package/dist/components/icons/server-solid.js +5 -0
- package/dist/components/icons/server-solid.js.map +1 -0
- package/dist/components/icons/server.d.ts +3 -0
- package/dist/components/icons/server.d.ts.map +1 -0
- package/dist/components/icons/server.js +5 -0
- package/dist/components/icons/server.js.map +1 -0
- package/dist/components/icons/shield-solid.d.ts +3 -0
- package/dist/components/icons/shield-solid.d.ts.map +1 -0
- package/dist/components/icons/shield-solid.js +5 -0
- package/dist/components/icons/shield-solid.js.map +1 -0
- package/dist/components/icons/shield.d.ts +3 -0
- package/dist/components/icons/shield.d.ts.map +1 -0
- package/dist/components/icons/shield.js +5 -0
- package/dist/components/icons/shield.js.map +1 -0
- package/dist/components/icons/sidebar.d.ts +3 -0
- package/dist/components/icons/sidebar.d.ts.map +1 -0
- package/dist/components/icons/sidebar.js +5 -0
- package/dist/components/icons/sidebar.js.map +1 -0
- package/dist/components/icons/size.d.ts +3 -0
- package/dist/components/icons/size.d.ts.map +1 -0
- package/dist/components/icons/size.js +5 -0
- package/dist/components/icons/size.js.map +1 -0
- package/dist/components/icons/social-discord.d.ts +3 -0
- package/dist/components/icons/social-discord.d.ts.map +1 -0
- package/dist/components/icons/social-discord.js +5 -0
- package/dist/components/icons/social-discord.js.map +1 -0
- package/dist/components/icons/social-facebook.d.ts +3 -0
- package/dist/components/icons/social-facebook.d.ts.map +1 -0
- package/dist/components/icons/social-facebook.js +5 -0
- package/dist/components/icons/social-facebook.js.map +1 -0
- package/dist/components/icons/social-github.d.ts +3 -0
- package/dist/components/icons/social-github.d.ts.map +1 -0
- package/dist/components/icons/social-github.js +5 -0
- package/dist/components/icons/social-github.js.map +1 -0
- package/dist/components/icons/social-linkedin.d.ts +3 -0
- package/dist/components/icons/social-linkedin.d.ts.map +1 -0
- package/dist/components/icons/social-linkedin.js +5 -0
- package/dist/components/icons/social-linkedin.js.map +1 -0
- package/dist/components/icons/social-x.d.ts +3 -0
- package/dist/components/icons/social-x.d.ts.map +1 -0
- package/dist/components/icons/social-x.js +5 -0
- package/dist/components/icons/social-x.js.map +1 -0
- package/dist/components/icons/social-youtube.d.ts +3 -0
- package/dist/components/icons/social-youtube.d.ts.map +1 -0
- package/dist/components/icons/social-youtube.js +5 -0
- package/dist/components/icons/social-youtube.js.map +1 -0
- package/dist/components/icons/spinner.d.ts +3 -0
- package/dist/components/icons/spinner.d.ts.map +1 -0
- package/dist/components/icons/spinner.js +5 -0
- package/dist/components/icons/spinner.js.map +1 -0
- package/dist/components/icons/success-solid.d.ts +3 -0
- package/dist/components/icons/success-solid.d.ts.map +1 -0
- package/dist/components/icons/success-solid.js +5 -0
- package/dist/components/icons/success-solid.js.map +1 -0
- package/dist/components/icons/success.d.ts +3 -0
- package/dist/components/icons/success.d.ts.map +1 -0
- package/dist/components/icons/success.js +5 -0
- package/dist/components/icons/success.js.map +1 -0
- package/dist/components/icons/tensix.d.ts +3 -0
- package/dist/components/icons/tensix.d.ts.map +1 -0
- package/dist/components/icons/tensix.js +5 -0
- package/dist/components/icons/tensix.js.map +1 -0
- package/dist/components/icons/tenstorrent.d.ts +3 -0
- package/dist/components/icons/tenstorrent.d.ts.map +1 -0
- package/dist/components/icons/tenstorrent.js +5 -0
- package/dist/components/icons/tenstorrent.js.map +1 -0
- package/dist/components/icons/trash-solid.d.ts +3 -0
- package/dist/components/icons/trash-solid.d.ts.map +1 -0
- package/dist/components/icons/trash-solid.js +5 -0
- package/dist/components/icons/trash-solid.js.map +1 -0
- package/dist/components/icons/trash.d.ts +3 -0
- package/dist/components/icons/trash.d.ts.map +1 -0
- package/dist/components/icons/trash.js +5 -0
- package/dist/components/icons/trash.js.map +1 -0
- package/dist/components/icons/tt-forge-fe.d.ts +3 -0
- package/dist/components/icons/tt-forge-fe.d.ts.map +1 -0
- package/dist/components/icons/tt-forge-fe.js +5 -0
- package/dist/components/icons/tt-forge-fe.js.map +1 -0
- package/dist/components/icons/tt-forge.d.ts +3 -0
- package/dist/components/icons/tt-forge.d.ts.map +1 -0
- package/dist/components/icons/tt-forge.js +5 -0
- package/dist/components/icons/tt-forge.js.map +1 -0
- package/dist/components/icons/tt-lang.d.ts +3 -0
- package/dist/components/icons/tt-lang.d.ts.map +1 -0
- package/dist/components/icons/tt-lang.js +5 -0
- package/dist/components/icons/tt-lang.js.map +1 -0
- package/dist/components/icons/tt-llk.d.ts +3 -0
- package/dist/components/icons/tt-llk.d.ts.map +1 -0
- package/dist/components/icons/tt-llk.js +5 -0
- package/dist/components/icons/tt-llk.js.map +1 -0
- package/dist/components/icons/tt-metalium.d.ts +3 -0
- package/dist/components/icons/tt-metalium.d.ts.map +1 -0
- package/dist/components/icons/tt-metalium.js +5 -0
- package/dist/components/icons/tt-metalium.js.map +1 -0
- package/dist/components/icons/tt-nn.d.ts +3 -0
- package/dist/components/icons/tt-nn.d.ts.map +1 -0
- package/dist/components/icons/tt-nn.js +5 -0
- package/dist/components/icons/tt-nn.js.map +1 -0
- package/dist/components/icons/tt-torch.d.ts +3 -0
- package/dist/components/icons/tt-torch.d.ts.map +1 -0
- package/dist/components/icons/tt-torch.js +5 -0
- package/dist/components/icons/tt-torch.js.map +1 -0
- package/dist/components/icons/tt-xla.d.ts +3 -0
- package/dist/components/icons/tt-xla.d.ts.map +1 -0
- package/dist/components/icons/tt-xla.js +5 -0
- package/dist/components/icons/tt-xla.js.map +1 -0
- package/dist/components/icons/types.d.ts +2 -0
- package/dist/components/icons/types.d.ts.map +1 -0
- package/dist/components/icons/types.js +9 -0
- package/dist/components/icons/types.js.map +1 -0
- package/dist/components/icons/upload.d.ts +3 -0
- package/dist/components/icons/upload.d.ts.map +1 -0
- package/dist/components/icons/upload.js +5 -0
- package/dist/components/icons/upload.js.map +1 -0
- package/dist/components/icons/user-multiple-solid.d.ts +3 -0
- package/dist/components/icons/user-multiple-solid.d.ts.map +1 -0
- package/dist/components/icons/user-multiple-solid.js +5 -0
- package/dist/components/icons/user-multiple-solid.js.map +1 -0
- package/dist/components/icons/user-multiple.d.ts +3 -0
- package/dist/components/icons/user-multiple.d.ts.map +1 -0
- package/dist/components/icons/user-multiple.js +5 -0
- package/dist/components/icons/user-multiple.js.map +1 -0
- package/dist/components/icons/user-solid.d.ts +3 -0
- package/dist/components/icons/user-solid.d.ts.map +1 -0
- package/dist/components/icons/user-solid.js +5 -0
- package/dist/components/icons/user-solid.js.map +1 -0
- package/dist/components/icons/user.d.ts +3 -0
- package/dist/components/icons/user.d.ts.map +1 -0
- package/dist/components/icons/user.js +5 -0
- package/dist/components/icons/user.js.map +1 -0
- package/dist/components/icons/warning-solid.d.ts +3 -0
- package/dist/components/icons/warning-solid.d.ts.map +1 -0
- package/dist/components/icons/warning-solid.js +5 -0
- package/dist/components/icons/warning-solid.js.map +1 -0
- package/dist/components/icons/warning.d.ts +3 -0
- package/dist/components/icons/warning.d.ts.map +1 -0
- package/dist/components/icons/warning.js +5 -0
- package/dist/components/icons/warning.js.map +1 -0
- package/dist/components/icons/wormhole.d.ts +3 -0
- package/dist/components/icons/wormhole.d.ts.map +1 -0
- package/dist/components/icons/wormhole.js +5 -0
- package/dist/components/icons/wormhole.js.map +1 -0
- package/dist/components/masked-input/getMaskitoOptions.d.ts +4 -0
- package/dist/components/masked-input/getMaskitoOptions.d.ts.map +1 -0
- package/dist/components/masked-input/getMaskitoOptions.js +27 -0
- package/dist/components/masked-input/getMaskitoOptions.js.map +1 -0
- package/dist/components/masked-input/masked-input.d.ts +68 -0
- package/dist/components/masked-input/masked-input.d.ts.map +1 -0
- package/dist/components/masked-input/masked-input.js +68 -0
- package/dist/components/masked-input/masked-input.js.map +1 -0
- package/dist/components/material/material.css +1 -0
- package/dist/components/material/material.d.ts +43 -0
- package/dist/components/material/material.d.ts.map +1 -0
- package/dist/components/material/material.js +43 -0
- package/dist/components/material/material.js.map +1 -0
- package/dist/components/menu/menu.css +1 -0
- package/dist/components/menu/menu.d.ts +75 -0
- package/dist/components/menu/menu.d.ts.map +1 -0
- package/dist/components/menu/menu.js +56 -0
- package/dist/components/menu/menu.js.map +1 -0
- package/dist/components/modal/modal.css +1 -0
- package/dist/components/modal/modal.d.ts +83 -0
- package/dist/components/modal/modal.d.ts.map +1 -0
- package/dist/components/modal/modal.js +118 -0
- package/dist/components/modal/modal.js.map +1 -0
- package/dist/components/progress-bar/progress-bar.css +1 -0
- package/dist/components/progress-bar/progress-bar.d.ts +38 -0
- package/dist/components/progress-bar/progress-bar.d.ts.map +1 -0
- package/dist/components/progress-bar/progress-bar.js +39 -0
- package/dist/components/progress-bar/progress-bar.js.map +1 -0
- package/dist/components/radio-group/radio-group.css +1 -0
- package/dist/components/radio-group/radio-group.d.ts +70 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.js +61 -0
- package/dist/components/radio-group/radio-group.js.map +1 -0
- package/dist/components/range/range.css +1 -0
- package/dist/components/range/range.d.ts +86 -0
- package/dist/components/range/range.d.ts.map +1 -0
- package/dist/components/range/range.js +87 -0
- package/dist/components/range/range.js.map +1 -0
- package/dist/components/select/select.css +1 -0
- package/dist/components/select/select.d.ts +82 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.js +79 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/sheet/sheet.css +1 -0
- package/dist/components/sheet/sheet.d.ts +71 -0
- package/dist/components/sheet/sheet.d.ts.map +1 -0
- package/dist/components/sheet/sheet.js +116 -0
- package/dist/components/sheet/sheet.js.map +1 -0
- package/dist/components/show-more/show-more.css +1 -0
- package/dist/components/show-more/show-more.d.ts +28 -0
- package/dist/components/show-more/show-more.d.ts.map +1 -0
- package/dist/components/show-more/show-more.js +26 -0
- package/dist/components/show-more/show-more.js.map +1 -0
- package/dist/components/skeleton/skeleton.css +1 -0
- package/dist/components/skeleton/skeleton.d.ts +39 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.js +36 -0
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/slider/slider.d.ts +69 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slider/slider.js +61 -0
- package/dist/components/slider/slider.js.map +1 -0
- package/dist/components/snippet/snippet.css +1 -0
- package/dist/components/snippet/snippet.d.ts +28 -0
- package/dist/components/snippet/snippet.d.ts.map +1 -0
- package/dist/components/snippet/snippet.js +44 -0
- package/dist/components/snippet/snippet.js.map +1 -0
- package/dist/components/split-button/split-button.css +1 -0
- package/dist/components/split-button/split-button.d.ts +78 -0
- package/dist/components/split-button/split-button.d.ts.map +1 -0
- package/dist/components/split-button/split-button.js +65 -0
- package/dist/components/split-button/split-button.js.map +1 -0
- package/dist/components/status-indicator/status-indicator.css +1 -0
- package/dist/components/status-indicator/status-indicator.d.ts +35 -0
- package/dist/components/status-indicator/status-indicator.d.ts.map +1 -0
- package/dist/components/status-indicator/status-indicator.js +33 -0
- package/dist/components/status-indicator/status-indicator.js.map +1 -0
- package/dist/components/switch/switch.css +1 -0
- package/dist/components/switch/switch.d.ts +41 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/switch/switch.js +46 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/tabs/tabs.css +1 -0
- package/dist/components/tabs/tabs.d.ts +60 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tabs/tabs.js +51 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/tag/tag.css +1 -0
- package/dist/components/tag/tag.d.ts +42 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/tag/tag.js +48 -0
- package/dist/components/tag/tag.js.map +1 -0
- package/dist/components/text-area/text-area.css +1 -0
- package/dist/components/text-area/text-area.d.ts +35 -0
- package/dist/components/text-area/text-area.d.ts.map +1 -0
- package/dist/components/text-area/text-area.js +47 -0
- package/dist/components/text-area/text-area.js.map +1 -0
- package/dist/components/text-button/text-button.css +1 -0
- package/dist/components/text-button/text-button.d.ts +46 -0
- package/dist/components/text-button/text-button.d.ts.map +1 -0
- package/dist/components/text-button/text-button.js +46 -0
- package/dist/components/text-button/text-button.js.map +1 -0
- package/dist/components/text-input/text-input.css +1 -0
- package/dist/components/text-input/text-input.d.ts +57 -0
- package/dist/components/text-input/text-input.d.ts.map +1 -0
- package/dist/components/text-input/text-input.js +54 -0
- package/dist/components/text-input/text-input.js.map +1 -0
- package/dist/components/theme-switcher/theme-switcher.css +1 -0
- package/dist/components/theme-switcher/theme-switcher.d.ts +23 -0
- package/dist/components/theme-switcher/theme-switcher.d.ts.map +1 -0
- package/dist/components/theme-switcher/theme-switcher.js +24 -0
- package/dist/components/theme-switcher/theme-switcher.js.map +1 -0
- package/dist/components/toast/animations.d.ts +3 -0
- package/dist/components/toast/animations.d.ts.map +1 -0
- package/dist/components/toast/animations.js +28 -0
- package/dist/components/toast/animations.js.map +1 -0
- package/dist/components/toast/store.d.ts +77 -0
- package/dist/components/toast/store.d.ts.map +1 -0
- package/dist/components/toast/store.js +94 -0
- package/dist/components/toast/store.js.map +1 -0
- package/dist/components/toast/toast.css +1 -0
- package/dist/components/toast/toast.d.ts +32 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toast.js +202 -0
- package/dist/components/toast/toast.js.map +1 -0
- package/dist/components/toast/utils.d.ts +10 -0
- package/dist/components/toast/utils.d.ts.map +1 -0
- package/dist/components/toast/utils.js +26 -0
- package/dist/components/toast/utils.js.map +1 -0
- package/dist/components/toggle/toggle.css +1 -0
- package/dist/components/toggle/toggle.d.ts +82 -0
- package/dist/components/toggle/toggle.d.ts.map +1 -0
- package/dist/components/toggle/toggle.js +129 -0
- package/dist/components/toggle/toggle.js.map +1 -0
- package/dist/components/tooltip/tooltip.css +1 -0
- package/dist/components/tooltip/tooltip.d.ts +58 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.js +52 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/components/typography/typography.css +1 -0
- package/dist/components/typography/typography.d.ts +33 -0
- package/dist/components/typography/typography.d.ts.map +1 -0
- package/dist/components/typography/typography.js +63 -0
- package/dist/components/typography/typography.js.map +1 -0
- package/dist/styles/animation.css +1 -0
- package/dist/styles/backgrounds.css +1 -0
- package/dist/styles/colors.css +1 -0
- package/dist/styles/fonts.css +1 -0
- package/dist/styles/globals.css +1 -0
- package/dist/styles/leading.css +1 -0
- package/dist/styles/radius.css +1 -0
- package/dist/styles/shadows.css +1 -0
- package/dist/styles/spacing.css +1 -0
- package/dist/styles/strokes.css +1 -0
- package/dist/styles/styles.css +1 -0
- package/dist/styles/tailwind-utilities.css +1 -0
- package/dist/styles/tailwind.css +1 -0
- package/dist/styles/tracking.css +1 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/cn.js +2 -0
- package/dist/utils/cn.js.map +1 -0
- package/dist/utils/generateId.d.ts +5 -0
- package/dist/utils/generateId.d.ts.map +1 -0
- package/dist/utils/generateId.js +21 -0
- package/dist/utils/generateId.js.map +1 -0
- package/dist/utils/getDisabledProps.d.ts +42 -0
- package/dist/utils/getDisabledProps.d.ts.map +1 -0
- package/dist/utils/getDisabledProps.js +36 -0
- package/dist/utils/getDisabledProps.js.map +1 -0
- package/dist/utils/getPortalContainer.d.ts +27 -0
- package/dist/utils/getPortalContainer.d.ts.map +1 -0
- package/dist/utils/getPortalContainer.js +21 -0
- package/dist/utils/getPortalContainer.js.map +1 -0
- package/dist/utils/hooks/useBaseRemSize.d.ts +9 -0
- package/dist/utils/hooks/useBaseRemSize.d.ts.map +1 -0
- package/dist/utils/hooks/useBaseRemSize.js +55 -0
- package/dist/utils/hooks/useBaseRemSize.js.map +1 -0
- package/dist/utils/hooks/useMergedRefs.d.ts +11 -0
- package/dist/utils/hooks/useMergedRefs.d.ts.map +1 -0
- package/dist/utils/hooks/useMergedRefs.js +96 -0
- package/dist/utils/hooks/useMergedRefs.js.map +1 -0
- package/dist/utils/isSingleReactElement.d.ts +3 -0
- package/dist/utils/isSingleReactElement.d.ts.map +1 -0
- package/dist/utils/isSingleReactElement.js +5 -0
- package/dist/utils/isSingleReactElement.js.map +1 -0
- package/dist/utils/polymorphic.d.ts +43 -0
- package/dist/utils/polymorphic.d.ts.map +1 -0
- package/dist/utils/polymorphic.js +2 -0
- package/dist/utils/polymorphic.js.map +1 -0
- package/dist/utils/splitFormInputProps.d.ts +119 -0
- package/dist/utils/splitFormInputProps.d.ts.map +1 -0
- package/dist/utils/splitFormInputProps.js +277 -0
- package/dist/utils/splitFormInputProps.js.map +1 -0
- package/package.json +266 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { AriaAttributes, ComponentProps, ElementType } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* These props may not be forwarded at all. `role` should not be overridden for
|
|
4
|
+
* accessibility reasons, while `children` and `dangerouslySetInnerHTML` should
|
|
5
|
+
* not be allowed as each of our form input components render their own content
|
|
6
|
+
* */
|
|
7
|
+
declare const DISALLOWED_PROPS: ["role", "children", "dangerouslySetInnerHTML"];
|
|
8
|
+
/**
|
|
9
|
+
* Props which get forwarded to the underlying control element. Typically the
|
|
10
|
+
* underlying control will be a `button`, `input`, or `textarea` element.
|
|
11
|
+
*
|
|
12
|
+
* Other event handlers are omitted so they may be forwarded to wrappers.
|
|
13
|
+
* */
|
|
14
|
+
declare const CONTROL_PROPS: ["autoCapitalize", "autoCorrect", "autoFocus", "enterKeyHint", "id", "inputMode", "ref", "spellCheck", "tabIndex", "title", "onBlur", "onBlurCapture", "onFocus", "onFocusCapture", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyPressCapture", "onKeyUp", "onKeyUpCapture", "onBeforeInput", "onBeforeInputCapture", "onChange", "onChangeCapture", "onInput", "onInputCapture", "onInvalid", "onInvalidCapture", "onSelect", "onSelectCapture", "onCopy", "onCopyCapture", "onCut", "onCutCapture", "onPaste", "onPasteCapture", "onCompositionEnd", "onCompositionEndCapture", "onCompositionStart", "onCompositionStartCapture", "onCompositionUpdate", "onCompositionUpdateCapture", "onScroll", "onScrollCapture", "onScrollEnd", "onScrollEndCapture", "onWheel", "onWheelCapture"];
|
|
15
|
+
/** List of all aria attributes */
|
|
16
|
+
declare const ARIA_PROPS: ["aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-braillelabel", "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext"];
|
|
17
|
+
type AssertNever<T extends never> = T;
|
|
18
|
+
/** This will cause builds to fail if the ARIA_PROPS list does not contain all aria-attributes */
|
|
19
|
+
export type AssertAllAriaAttributesAccountedFor = AssertNever<Exclude<keyof AriaAttributes, (typeof ARIA_PROPS)[number]>>;
|
|
20
|
+
/** Form-related props for when the underlying control is a `button` */
|
|
21
|
+
declare const BUTTON_FORM_PROPS: ["defaultChecked", "defaultValue", "disabled", "form", "name", "value"];
|
|
22
|
+
/** Form-related props for when the underlying control is an `input` */
|
|
23
|
+
declare const INPUT_FORM_PROPS: ["checked", "defaultChecked", "defaultValue", "disabled", "form", "name", "required", "value", "min", "max", "step", "multiple", "pattern", "list", "minLength", "maxLength", "readOnly", "placeholder", "autoComplete"];
|
|
24
|
+
/** Form-related props for when the underlying control is a `textarea` */
|
|
25
|
+
declare const TEXTAREA_FORM_PROPS: ["defaultChecked", "defaultValue", "disabled", "form", "name", "required", "value", "minLength", "maxLength", "readOnly", "placeholder", "autoComplete"];
|
|
26
|
+
type ControlElementType = "textarea" | "button" | "input";
|
|
27
|
+
type ControlProp = (typeof CONTROL_PROPS)[number];
|
|
28
|
+
type DisallowedProp = (typeof DISALLOWED_PROPS)[number];
|
|
29
|
+
type FormProp<C extends ControlElementType> = {
|
|
30
|
+
button: (typeof BUTTON_FORM_PROPS)[number];
|
|
31
|
+
input: (typeof INPUT_FORM_PROPS)[number];
|
|
32
|
+
textarea: (typeof TEXTAREA_FORM_PROPS)[number];
|
|
33
|
+
}[C];
|
|
34
|
+
type FormProps<C extends ControlElementType> = {
|
|
35
|
+
[key in FormProp<C>]?: ComponentProps<"input">[key];
|
|
36
|
+
};
|
|
37
|
+
type ControlProps<C extends ControlElementType> = {
|
|
38
|
+
[key in ControlProp]?: ComponentProps<C>[key];
|
|
39
|
+
};
|
|
40
|
+
type WrapperProps<W extends ElementType, C extends ControlElementType> = Omit<ComponentProps<W>, FormProp<C> | ControlProp | DisallowedProp | keyof AriaAttributes>;
|
|
41
|
+
/**
|
|
42
|
+
* Helper generic that lets us define a form input component's prop surface
|
|
43
|
+
*
|
|
44
|
+
* `W` represents the element type of the wrapping component. Typically this
|
|
45
|
+
* will be a `div`.
|
|
46
|
+
*
|
|
47
|
+
* `C` represents the element type of the underlying control element. One of `button`, `input`, or `textarea`.
|
|
48
|
+
*
|
|
49
|
+
* `O` represents any remaining props we want to omit from the result
|
|
50
|
+
* */
|
|
51
|
+
export type FormInputProps<W extends ElementType, C extends ControlElementType, O extends string = never> = Omit<WrapperProps<W, C> & ControlProps<C> & FormProps<C> & AriaAttributes, O>;
|
|
52
|
+
/**
|
|
53
|
+
* Splits a given `props` object into four buckets: `ariaProps`, `controlProps`,
|
|
54
|
+
* `formProps`, and `wrapperProps`.
|
|
55
|
+
*
|
|
56
|
+
* @see splitFormProps
|
|
57
|
+
* @see splitControlProps
|
|
58
|
+
* @see splitAriaProps
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* const {
|
|
62
|
+
* ariaProps,
|
|
63
|
+
* controlProps,
|
|
64
|
+
* formProps,
|
|
65
|
+
* wrapperProps
|
|
66
|
+
* } = splitFormInputProps(props)
|
|
67
|
+
*/
|
|
68
|
+
export declare function splitFormInputProps<A extends object>(props: A): {
|
|
69
|
+
ariaProps: OmitUnknown<Pick<Omit<OmitUnknown<Omit<OmitUnknown<Omit<A, "form" | "pattern" | "list" | "max" | "min" | "name" | "role" | "children" | "dangerouslySetInnerHTML" | "defaultChecked" | "defaultValue" | "disabled" | "value" | "autoComplete" | "checked" | "multiple" | "maxLength" | "minLength" | "step" | "placeholder" | "readOnly" | "required">>, "title" | "ref" | "id" | "role" | "tabIndex" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onSelect" | "onSelectCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "autoCapitalize" | "autoFocus" | "enterKeyHint" | "spellCheck" | "autoCorrect" | "inputMode">>, "role" | "children" | "dangerouslySetInnerHTML">, "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext">>;
|
|
70
|
+
controlProps: OmitUnknown<Pick<Omit<OmitUnknown<Omit<A, "form" | "pattern" | "list" | "max" | "min" | "name" | "role" | "children" | "dangerouslySetInnerHTML" | "defaultChecked" | "defaultValue" | "disabled" | "value" | "autoComplete" | "checked" | "multiple" | "maxLength" | "minLength" | "step" | "placeholder" | "readOnly" | "required">>, "role" | "children" | "dangerouslySetInnerHTML">, "title" | "ref" | "id" | "tabIndex" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onSelect" | "onSelectCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "autoCapitalize" | "autoFocus" | "enterKeyHint" | "spellCheck" | "autoCorrect" | "inputMode">>;
|
|
71
|
+
formProps: OmitUnknown<Pick<Omit<A, "role" | "children" | "dangerouslySetInnerHTML">, "form" | "pattern" | "list" | "max" | "min" | "name" | "defaultChecked" | "defaultValue" | "disabled" | "value" | "autoComplete" | "checked" | "multiple" | "maxLength" | "minLength" | "step" | "placeholder" | "readOnly" | "required">>;
|
|
72
|
+
wrapperProps: OmitUnknown<Omit<OmitUnknown<Omit<OmitUnknown<Omit<A, "form" | "pattern" | "list" | "max" | "min" | "name" | "role" | "children" | "dangerouslySetInnerHTML" | "defaultChecked" | "defaultValue" | "disabled" | "value" | "autoComplete" | "checked" | "multiple" | "maxLength" | "minLength" | "step" | "placeholder" | "readOnly" | "required">>, "title" | "ref" | "id" | "role" | "tabIndex" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onSelect" | "onSelectCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "autoCapitalize" | "autoFocus" | "enterKeyHint" | "spellCheck" | "autoCorrect" | "inputMode">>, "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML">>;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Splits a given `props` object into two buckets based on whether a prop is a control prop or not
|
|
76
|
+
*
|
|
77
|
+
* @see CONTROL_PROPS
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* const [controlProps, restProps] = splitControlProps(props)
|
|
81
|
+
* */
|
|
82
|
+
export declare function splitControlProps<A extends object>(props: A): readonly [OmitUnknown<Pick<Omit<A, "role" | "children" | "dangerouslySetInnerHTML">, "title" | "ref" | "id" | "tabIndex" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onSelect" | "onSelectCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "autoCapitalize" | "autoFocus" | "enterKeyHint" | "spellCheck" | "autoCorrect" | "inputMode">>, OmitUnknown<Omit<A, "title" | "ref" | "id" | "role" | "tabIndex" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onSelect" | "onSelectCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "autoCapitalize" | "autoFocus" | "enterKeyHint" | "spellCheck" | "autoCorrect" | "inputMode">>];
|
|
83
|
+
/**
|
|
84
|
+
* Splits a given `props` object into two buckets based on whether a prop is a form prop or not
|
|
85
|
+
*
|
|
86
|
+
* @see INPUT_FORM_PROPS
|
|
87
|
+
* @see BUTTON_FORM_PROPS
|
|
88
|
+
* @see TEXTAREA_FORM_PROPS
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* const [formProps, restProps] = splitFormProps(props)
|
|
92
|
+
* */
|
|
93
|
+
export declare function splitFormProps<A extends object>(props: A): readonly [OmitUnknown<Pick<Omit<A, "role" | "children" | "dangerouslySetInnerHTML">, "form" | "pattern" | "list" | "max" | "min" | "name" | "defaultChecked" | "defaultValue" | "disabled" | "value" | "autoComplete" | "checked" | "multiple" | "maxLength" | "minLength" | "step" | "placeholder" | "readOnly" | "required">>, OmitUnknown<Omit<A, "form" | "pattern" | "list" | "max" | "min" | "name" | "role" | "children" | "dangerouslySetInnerHTML" | "defaultChecked" | "defaultValue" | "disabled" | "value" | "autoComplete" | "checked" | "multiple" | "maxLength" | "minLength" | "step" | "placeholder" | "readOnly" | "required">>];
|
|
94
|
+
/**
|
|
95
|
+
* Splits a given `props` object into two buckets based on whether a prop is an aria-attribute or not
|
|
96
|
+
*
|
|
97
|
+
* @see ARIA_PROPS
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* const [ariaProps, restProps] = splitAriaProps(props)
|
|
101
|
+
* */
|
|
102
|
+
export declare function splitAriaProps<A extends object>(props: A): readonly [OmitUnknown<Pick<Omit<A, "role" | "children" | "dangerouslySetInnerHTML">, "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext">>, OmitUnknown<Omit<A, "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML">>];
|
|
103
|
+
/**
|
|
104
|
+
* Splits a given `props` object into two buckets based on a given set of keys, ignoring disallowed props
|
|
105
|
+
*
|
|
106
|
+
* @see DISALLOWED_PROPS
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* const [propsWithFoo, propsWithBat] = splitProps(
|
|
110
|
+
* { foo: "bar", bat: "baz" },
|
|
111
|
+
* new Set(["foo"] as const),
|
|
112
|
+
* )
|
|
113
|
+
* */
|
|
114
|
+
export declare function splitProps<A extends object, K extends string>(props: A, keys: Set<K>): readonly [OmitUnknown<Pick<Omit<A, "role" | "children" | "dangerouslySetInnerHTML">, K>>, OmitUnknown<Omit<A, "role" | "children" | "dangerouslySetInnerHTML" | K>>];
|
|
115
|
+
type OmitUnknown<T> = {
|
|
116
|
+
[K in keyof T as unknown extends T[K] ? T[K] extends unknown ? never : K : K]: T[K];
|
|
117
|
+
};
|
|
118
|
+
export {};
|
|
119
|
+
//# sourceMappingURL=splitFormInputProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitFormInputProps.d.ts","sourceRoot":"","sources":["../../src/utils/splitFormInputProps.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* These props may not be forwarded at all. `role` should not be overridden for
|
|
3
|
+
* accessibility reasons, while `children` and `dangerouslySetInnerHTML` should
|
|
4
|
+
* not be allowed as each of our form input components render their own content
|
|
5
|
+
* */
|
|
6
|
+
const DISALLOWED_PROPS = [
|
|
7
|
+
"role",
|
|
8
|
+
"children",
|
|
9
|
+
"dangerouslySetInnerHTML",
|
|
10
|
+
];
|
|
11
|
+
/**
|
|
12
|
+
* Props which get forwarded to the underlying control element. Typically the
|
|
13
|
+
* underlying control will be a `button`, `input`, or `textarea` element.
|
|
14
|
+
*
|
|
15
|
+
* Other event handlers are omitted so they may be forwarded to wrappers.
|
|
16
|
+
* */
|
|
17
|
+
const CONTROL_PROPS = [
|
|
18
|
+
// base set of props
|
|
19
|
+
"autoCapitalize",
|
|
20
|
+
"autoCorrect",
|
|
21
|
+
"autoFocus",
|
|
22
|
+
"enterKeyHint",
|
|
23
|
+
"id",
|
|
24
|
+
"inputMode",
|
|
25
|
+
"ref",
|
|
26
|
+
"spellCheck",
|
|
27
|
+
"tabIndex",
|
|
28
|
+
"title",
|
|
29
|
+
// focus
|
|
30
|
+
"onBlur",
|
|
31
|
+
"onBlurCapture",
|
|
32
|
+
"onFocus",
|
|
33
|
+
"onFocusCapture",
|
|
34
|
+
// keyboard
|
|
35
|
+
"onKeyDown",
|
|
36
|
+
"onKeyDownCapture",
|
|
37
|
+
"onKeyPress",
|
|
38
|
+
"onKeyPressCapture",
|
|
39
|
+
"onKeyUp",
|
|
40
|
+
"onKeyUpCapture",
|
|
41
|
+
// input and value
|
|
42
|
+
"onBeforeInput",
|
|
43
|
+
"onBeforeInputCapture",
|
|
44
|
+
"onChange",
|
|
45
|
+
"onChangeCapture",
|
|
46
|
+
"onInput",
|
|
47
|
+
"onInputCapture",
|
|
48
|
+
"onInvalid",
|
|
49
|
+
"onInvalidCapture",
|
|
50
|
+
"onSelect",
|
|
51
|
+
"onSelectCapture",
|
|
52
|
+
// clipboard
|
|
53
|
+
"onCopy",
|
|
54
|
+
"onCopyCapture",
|
|
55
|
+
"onCut",
|
|
56
|
+
"onCutCapture",
|
|
57
|
+
"onPaste",
|
|
58
|
+
"onPasteCapture",
|
|
59
|
+
// composition, for input method editors
|
|
60
|
+
"onCompositionEnd",
|
|
61
|
+
"onCompositionEndCapture",
|
|
62
|
+
"onCompositionStart",
|
|
63
|
+
"onCompositionStartCapture",
|
|
64
|
+
"onCompositionUpdate",
|
|
65
|
+
"onCompositionUpdateCapture",
|
|
66
|
+
// the control is the element that overflows, never the wrapper
|
|
67
|
+
"onScroll",
|
|
68
|
+
"onScrollCapture",
|
|
69
|
+
"onScrollEnd",
|
|
70
|
+
"onScrollEndCapture",
|
|
71
|
+
"onWheel",
|
|
72
|
+
"onWheelCapture",
|
|
73
|
+
];
|
|
74
|
+
/** List of all aria attributes */
|
|
75
|
+
const ARIA_PROPS = [
|
|
76
|
+
"aria-activedescendant",
|
|
77
|
+
"aria-atomic",
|
|
78
|
+
"aria-autocomplete",
|
|
79
|
+
"aria-braillelabel",
|
|
80
|
+
"aria-brailleroledescription",
|
|
81
|
+
"aria-busy",
|
|
82
|
+
"aria-checked",
|
|
83
|
+
"aria-colcount",
|
|
84
|
+
"aria-colindex",
|
|
85
|
+
"aria-colindextext",
|
|
86
|
+
"aria-colspan",
|
|
87
|
+
"aria-controls",
|
|
88
|
+
"aria-current",
|
|
89
|
+
"aria-describedby",
|
|
90
|
+
"aria-description",
|
|
91
|
+
"aria-details",
|
|
92
|
+
"aria-disabled",
|
|
93
|
+
"aria-dropeffect",
|
|
94
|
+
"aria-errormessage",
|
|
95
|
+
"aria-expanded",
|
|
96
|
+
"aria-flowto",
|
|
97
|
+
"aria-grabbed",
|
|
98
|
+
"aria-haspopup",
|
|
99
|
+
"aria-hidden",
|
|
100
|
+
"aria-invalid",
|
|
101
|
+
"aria-keyshortcuts",
|
|
102
|
+
"aria-label",
|
|
103
|
+
"aria-labelledby",
|
|
104
|
+
"aria-level",
|
|
105
|
+
"aria-live",
|
|
106
|
+
"aria-modal",
|
|
107
|
+
"aria-multiline",
|
|
108
|
+
"aria-multiselectable",
|
|
109
|
+
"aria-orientation",
|
|
110
|
+
"aria-owns",
|
|
111
|
+
"aria-placeholder",
|
|
112
|
+
"aria-posinset",
|
|
113
|
+
"aria-pressed",
|
|
114
|
+
"aria-readonly",
|
|
115
|
+
"aria-relevant",
|
|
116
|
+
"aria-required",
|
|
117
|
+
"aria-roledescription",
|
|
118
|
+
"aria-rowcount",
|
|
119
|
+
"aria-rowindex",
|
|
120
|
+
"aria-rowindextext",
|
|
121
|
+
"aria-rowspan",
|
|
122
|
+
"aria-selected",
|
|
123
|
+
"aria-setsize",
|
|
124
|
+
"aria-sort",
|
|
125
|
+
"aria-valuemax",
|
|
126
|
+
"aria-valuemin",
|
|
127
|
+
"aria-valuenow",
|
|
128
|
+
"aria-valuetext",
|
|
129
|
+
];
|
|
130
|
+
/** Form-related props for when the underlying control is a `button` */
|
|
131
|
+
const BUTTON_FORM_PROPS = [
|
|
132
|
+
"defaultChecked",
|
|
133
|
+
"defaultValue",
|
|
134
|
+
"disabled",
|
|
135
|
+
"form",
|
|
136
|
+
"name",
|
|
137
|
+
"value",
|
|
138
|
+
];
|
|
139
|
+
/** Form-related props for when the underlying control is an `input` */
|
|
140
|
+
const INPUT_FORM_PROPS = [
|
|
141
|
+
"checked",
|
|
142
|
+
"defaultChecked",
|
|
143
|
+
"defaultValue",
|
|
144
|
+
"disabled",
|
|
145
|
+
"form",
|
|
146
|
+
"name",
|
|
147
|
+
"required",
|
|
148
|
+
"value",
|
|
149
|
+
"min",
|
|
150
|
+
"max",
|
|
151
|
+
"step",
|
|
152
|
+
"multiple",
|
|
153
|
+
"pattern",
|
|
154
|
+
"list",
|
|
155
|
+
"minLength",
|
|
156
|
+
"maxLength",
|
|
157
|
+
"readOnly",
|
|
158
|
+
"placeholder",
|
|
159
|
+
"autoComplete",
|
|
160
|
+
];
|
|
161
|
+
/** Form-related props for when the underlying control is a `textarea` */
|
|
162
|
+
const TEXTAREA_FORM_PROPS = [
|
|
163
|
+
"defaultChecked",
|
|
164
|
+
"defaultValue",
|
|
165
|
+
"disabled",
|
|
166
|
+
"form",
|
|
167
|
+
"name",
|
|
168
|
+
"required",
|
|
169
|
+
"value",
|
|
170
|
+
"minLength",
|
|
171
|
+
"maxLength",
|
|
172
|
+
"readOnly",
|
|
173
|
+
"placeholder",
|
|
174
|
+
"autoComplete",
|
|
175
|
+
];
|
|
176
|
+
/**
|
|
177
|
+
* Splits a given `props` object into four buckets: `ariaProps`, `controlProps`,
|
|
178
|
+
* `formProps`, and `wrapperProps`.
|
|
179
|
+
*
|
|
180
|
+
* @see splitFormProps
|
|
181
|
+
* @see splitControlProps
|
|
182
|
+
* @see splitAriaProps
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* const {
|
|
186
|
+
* ariaProps,
|
|
187
|
+
* controlProps,
|
|
188
|
+
* formProps,
|
|
189
|
+
* wrapperProps
|
|
190
|
+
* } = splitFormInputProps(props)
|
|
191
|
+
*/
|
|
192
|
+
export function splitFormInputProps(props) {
|
|
193
|
+
const [formProps, _props] = splitFormProps(props);
|
|
194
|
+
const [controlProps, __props] = splitControlProps(_props);
|
|
195
|
+
const [ariaProps, wrapperProps] = splitAriaProps(__props);
|
|
196
|
+
return {
|
|
197
|
+
ariaProps,
|
|
198
|
+
controlProps,
|
|
199
|
+
formProps,
|
|
200
|
+
wrapperProps,
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
const disallowedPropsSet = new Set(DISALLOWED_PROPS);
|
|
204
|
+
const ariaPropsSet = new Set(ARIA_PROPS);
|
|
205
|
+
const controlPropsSet = new Set(CONTROL_PROPS);
|
|
206
|
+
const formPropsSet = new Set([
|
|
207
|
+
...INPUT_FORM_PROPS,
|
|
208
|
+
...TEXTAREA_FORM_PROPS,
|
|
209
|
+
...BUTTON_FORM_PROPS,
|
|
210
|
+
]);
|
|
211
|
+
/**
|
|
212
|
+
* Splits a given `props` object into two buckets based on whether a prop is a control prop or not
|
|
213
|
+
*
|
|
214
|
+
* @see CONTROL_PROPS
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* const [controlProps, restProps] = splitControlProps(props)
|
|
218
|
+
* */
|
|
219
|
+
export function splitControlProps(props) {
|
|
220
|
+
return splitProps(props, controlPropsSet);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Splits a given `props` object into two buckets based on whether a prop is a form prop or not
|
|
224
|
+
*
|
|
225
|
+
* @see INPUT_FORM_PROPS
|
|
226
|
+
* @see BUTTON_FORM_PROPS
|
|
227
|
+
* @see TEXTAREA_FORM_PROPS
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* const [formProps, restProps] = splitFormProps(props)
|
|
231
|
+
* */
|
|
232
|
+
export function splitFormProps(props) {
|
|
233
|
+
return splitProps(props, formPropsSet);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Splits a given `props` object into two buckets based on whether a prop is an aria-attribute or not
|
|
237
|
+
*
|
|
238
|
+
* @see ARIA_PROPS
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* const [ariaProps, restProps] = splitAriaProps(props)
|
|
242
|
+
* */
|
|
243
|
+
export function splitAriaProps(props) {
|
|
244
|
+
return splitProps(props, ariaPropsSet);
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Splits a given `props` object into two buckets based on a given set of keys, ignoring disallowed props
|
|
248
|
+
*
|
|
249
|
+
* @see DISALLOWED_PROPS
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* const [propsWithFoo, propsWithBat] = splitProps(
|
|
253
|
+
* { foo: "bar", bat: "baz" },
|
|
254
|
+
* new Set(["foo"] as const),
|
|
255
|
+
* )
|
|
256
|
+
* */
|
|
257
|
+
export function splitProps(props, keys) {
|
|
258
|
+
const a = {};
|
|
259
|
+
// @ts-expect-error ts not smart enough to do this
|
|
260
|
+
const b = {};
|
|
261
|
+
for (const prop in props) {
|
|
262
|
+
// reject inherited props like prototype methods, etc
|
|
263
|
+
if (!Object.hasOwn(props, prop))
|
|
264
|
+
continue;
|
|
265
|
+
// @ts-expect-error ts is not smart enough to do this
|
|
266
|
+
if (disallowedPropsSet.has(prop))
|
|
267
|
+
continue;
|
|
268
|
+
// @ts-expect-error ts is not smart enough to do this
|
|
269
|
+
if (keys.has(prop))
|
|
270
|
+
b[prop] = props[prop];
|
|
271
|
+
// @ts-expect-error ts is not smart enough to do this
|
|
272
|
+
else
|
|
273
|
+
a[prop] = props[prop];
|
|
274
|
+
}
|
|
275
|
+
return [b, a];
|
|
276
|
+
}
|
|
277
|
+
//# sourceMappingURL=splitFormInputProps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitFormInputProps.js","sourceRoot":"","sources":["../../src/utils/splitFormInputProps.ts"],"names":[],"mappings":"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"}
|