@metamask/snaps-sdk 6.2.1 → 6.4.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/CHANGELOG.md +30 -1
- package/dist/error-wrappers.cjs +146 -0
- package/dist/error-wrappers.cjs.map +1 -0
- package/dist/error-wrappers.d.cts +830 -0
- package/dist/error-wrappers.d.cts.map +1 -0
- package/dist/{types/error-wrappers.d.ts → error-wrappers.d.mts} +193 -192
- package/dist/error-wrappers.d.mts.map +1 -0
- package/dist/error-wrappers.mjs +143 -0
- package/dist/error-wrappers.mjs.map +1 -0
- package/dist/errors.cjs +124 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/{types/errors.d.ts → errors.d.cts} +3 -2
- package/dist/errors.d.cts.map +1 -0
- package/dist/errors.d.mts +87 -0
- package/dist/errors.d.mts.map +1 -0
- package/dist/errors.mjs +120 -0
- package/dist/errors.mjs.map +1 -0
- package/dist/images.cjs +91 -0
- package/dist/images.cjs.map +1 -0
- package/dist/{types/images.d.ts → images.d.cts} +2 -1
- package/dist/images.d.cts.map +1 -0
- package/dist/images.d.mts +70 -0
- package/dist/images.d.mts.map +1 -0
- package/dist/images.mjs +86 -0
- package/dist/images.mjs.map +1 -0
- package/dist/index.cjs +36 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +7 -1201
- package/dist/index.mjs.map +1 -1
- package/dist/internals/error-wrappers.cjs +44 -0
- package/dist/internals/error-wrappers.cjs.map +1 -0
- package/dist/internals/error-wrappers.d.cts +60 -0
- package/dist/internals/error-wrappers.d.cts.map +1 -0
- package/dist/{types/internals/error-wrappers.d.ts → internals/error-wrappers.d.mts} +15 -14
- package/dist/internals/error-wrappers.d.mts.map +1 -0
- package/dist/internals/error-wrappers.mjs +40 -0
- package/dist/internals/error-wrappers.mjs.map +1 -0
- package/dist/internals/errors.cjs +80 -0
- package/dist/internals/errors.cjs.map +1 -0
- package/dist/{types/internals/errors.d.ts → internals/errors.d.cts} +1 -0
- package/dist/internals/errors.d.cts.map +1 -0
- package/dist/internals/errors.d.mts +42 -0
- package/dist/internals/errors.d.mts.map +1 -0
- package/dist/internals/errors.mjs +73 -0
- package/dist/internals/errors.mjs.map +1 -0
- package/dist/internals/helpers.cjs +3 -0
- package/dist/internals/helpers.cjs.map +1 -0
- package/dist/{types/internals/helpers.d.ts → internals/helpers.d.cts} +2 -1
- package/dist/internals/helpers.d.cts.map +1 -0
- package/dist/internals/helpers.d.mts +37 -0
- package/dist/internals/helpers.d.mts.map +1 -0
- package/dist/internals/helpers.mjs +2 -0
- package/dist/internals/helpers.mjs.map +1 -0
- package/dist/internals/index.cjs +23 -0
- package/dist/internals/index.cjs.map +1 -0
- package/dist/internals/index.d.cts +7 -0
- package/dist/internals/index.d.cts.map +1 -0
- package/dist/internals/index.d.mts +7 -0
- package/dist/internals/index.d.mts.map +1 -0
- package/dist/internals/index.mjs +7 -0
- package/dist/internals/index.mjs.map +1 -0
- package/dist/internals/jsx.cjs +17 -0
- package/dist/internals/jsx.cjs.map +1 -0
- package/dist/{types/internals/jsx.d.ts → internals/jsx.d.cts} +3 -2
- package/dist/internals/jsx.d.cts.map +1 -0
- package/dist/internals/jsx.d.mts +31 -0
- package/dist/internals/jsx.d.mts.map +1 -0
- package/dist/internals/jsx.mjs +13 -0
- package/dist/internals/jsx.mjs.map +1 -0
- package/dist/internals/structs.cjs +161 -0
- package/dist/internals/structs.cjs.map +1 -0
- package/dist/{types/internals/structs.d.ts → internals/structs.d.cts} +13 -3
- package/dist/internals/structs.d.cts.map +1 -0
- package/dist/internals/structs.d.mts +69 -0
- package/dist/internals/structs.d.mts.map +1 -0
- package/dist/internals/structs.mjs +153 -0
- package/dist/internals/structs.mjs.map +1 -0
- package/dist/internals/svg.cjs +23 -0
- package/dist/internals/svg.cjs.map +1 -0
- package/dist/{types/internals/svg.d.ts → internals/svg.d.cts} +1 -0
- package/dist/internals/svg.d.cts.map +1 -0
- package/dist/internals/svg.d.mts +8 -0
- package/dist/internals/svg.d.mts.map +1 -0
- package/dist/internals/svg.mjs +19 -0
- package/dist/internals/svg.mjs.map +1 -0
- package/dist/jsx/component.cjs +32 -0
- package/dist/jsx/component.cjs.map +1 -0
- package/dist/{types/jsx/component.d.ts → jsx/component.d.cts} +2 -1
- package/dist/jsx/component.d.cts.map +1 -0
- package/dist/jsx/component.d.mts +74 -0
- package/dist/jsx/component.d.mts.map +1 -0
- package/dist/jsx/component.mjs +28 -0
- package/dist/jsx/component.mjs.map +1 -0
- package/dist/jsx/components/Address.cjs +23 -0
- package/dist/jsx/components/Address.cjs.map +1 -0
- package/dist/jsx/components/Address.d.cts +34 -0
- package/dist/jsx/components/Address.d.cts.map +1 -0
- package/dist/jsx/components/Address.d.mts +34 -0
- package/dist/jsx/components/Address.d.mts.map +1 -0
- package/dist/jsx/components/Address.mjs +20 -0
- package/dist/jsx/components/Address.mjs.map +1 -0
- package/dist/jsx/components/Box.cjs +18 -0
- package/dist/jsx/components/Box.cjs.map +1 -0
- package/dist/{types/jsx/components/Box.d.ts → jsx/components/Box.d.cts} +2 -1
- package/dist/jsx/components/Box.d.cts.map +1 -0
- package/dist/jsx/components/Box.d.mts +32 -0
- package/dist/jsx/components/Box.d.mts.map +1 -0
- package/dist/jsx/components/Box.mjs +15 -0
- package/dist/jsx/components/Box.mjs.map +1 -0
- package/dist/jsx/components/Card.cjs +20 -0
- package/dist/jsx/components/Card.cjs.map +1 -0
- package/dist/{types/jsx/components/Card.d.ts → jsx/components/Card.d.cts} +1 -0
- package/dist/jsx/components/Card.d.cts.map +1 -0
- package/dist/jsx/components/Card.d.mts +37 -0
- package/dist/jsx/components/Card.d.mts.map +1 -0
- package/dist/jsx/components/Card.mjs +17 -0
- package/dist/jsx/components/Card.mjs.map +1 -0
- package/dist/jsx/components/Container.cjs +24 -0
- package/dist/jsx/components/Container.cjs.map +1 -0
- package/dist/{types/jsx/components/Container.d.ts → jsx/components/Container.d.cts} +4 -3
- package/dist/jsx/components/Container.d.cts.map +1 -0
- package/dist/jsx/components/Container.d.mts +35 -0
- package/dist/jsx/components/Container.d.mts.map +1 -0
- package/dist/jsx/components/Container.mjs +21 -0
- package/dist/jsx/components/Container.mjs.map +1 -0
- package/dist/jsx/components/Copyable.cjs +20 -0
- package/dist/jsx/components/Copyable.cjs.map +1 -0
- package/dist/{types/jsx/components/Copyable.d.ts → jsx/components/Copyable.d.cts} +1 -0
- package/dist/jsx/components/Copyable.d.cts.map +1 -0
- package/dist/jsx/components/Copyable.d.mts +33 -0
- package/dist/jsx/components/Copyable.d.mts.map +1 -0
- package/dist/jsx/components/Copyable.mjs +17 -0
- package/dist/jsx/components/Copyable.mjs.map +1 -0
- package/dist/jsx/components/Divider.cjs +17 -0
- package/dist/jsx/components/Divider.cjs.map +1 -0
- package/dist/{types/jsx/components/Divider.d.ts → jsx/components/Divider.d.cts} +1 -0
- package/dist/jsx/components/Divider.d.cts.map +1 -0
- package/dist/jsx/components/Divider.d.mts +18 -0
- package/dist/jsx/components/Divider.d.mts.map +1 -0
- package/dist/jsx/components/Divider.mjs +14 -0
- package/dist/jsx/components/Divider.mjs.map +1 -0
- package/dist/jsx/components/Footer.cjs +19 -0
- package/dist/jsx/components/Footer.cjs.map +1 -0
- package/dist/{types/jsx/components/Footer.d.ts → jsx/components/Footer.d.cts} +2 -1
- package/dist/jsx/components/Footer.d.cts.map +1 -0
- package/dist/jsx/components/Footer.d.mts +29 -0
- package/dist/jsx/components/Footer.d.mts.map +1 -0
- package/dist/jsx/components/Footer.mjs +16 -0
- package/dist/jsx/components/Footer.mjs.map +1 -0
- package/dist/jsx/components/Heading.cjs +16 -0
- package/dist/jsx/components/Heading.cjs.map +1 -0
- package/dist/{types/jsx/components/Heading.d.ts → jsx/components/Heading.d.cts} +2 -1
- package/dist/jsx/components/Heading.d.cts.map +1 -0
- package/dist/jsx/components/Heading.d.mts +27 -0
- package/dist/jsx/components/Heading.d.mts.map +1 -0
- package/dist/jsx/components/Heading.mjs +13 -0
- package/dist/jsx/components/Heading.mjs.map +1 -0
- package/dist/jsx/components/Icon.cjs +180 -0
- package/dist/jsx/components/Icon.cjs.map +1 -0
- package/dist/jsx/components/Icon.d.cts +190 -0
- package/dist/jsx/components/Icon.d.cts.map +1 -0
- package/dist/jsx/components/Icon.d.mts +190 -0
- package/dist/jsx/components/Icon.d.mts.map +1 -0
- package/dist/jsx/components/Icon.mjs +177 -0
- package/dist/jsx/components/Icon.mjs.map +1 -0
- package/dist/jsx/components/Image.cjs +22 -0
- package/dist/jsx/components/Image.cjs.map +1 -0
- package/dist/{types/jsx/components/Image.d.ts → jsx/components/Image.d.cts} +1 -0
- package/dist/jsx/components/Image.d.cts.map +1 -0
- package/dist/jsx/components/Image.d.mts +37 -0
- package/dist/jsx/components/Image.d.mts.map +1 -0
- package/dist/jsx/components/Image.mjs +19 -0
- package/dist/jsx/components/Image.mjs.map +1 -0
- package/dist/jsx/components/Link.cjs +18 -0
- package/dist/jsx/components/Link.cjs.map +1 -0
- package/dist/{types/jsx/components/Link.d.ts → jsx/components/Link.d.cts} +3 -2
- package/dist/jsx/components/Link.d.cts.map +1 -0
- package/dist/jsx/components/Link.d.mts +36 -0
- package/dist/jsx/components/Link.d.mts.map +1 -0
- package/dist/jsx/components/Link.mjs +15 -0
- package/dist/jsx/components/Link.mjs.map +1 -0
- package/dist/jsx/components/Row.cjs +22 -0
- package/dist/jsx/components/Row.cjs.map +1 -0
- package/dist/{types/jsx/components/Row.d.ts → jsx/components/Row.d.cts} +5 -4
- package/dist/jsx/components/Row.d.cts.map +1 -0
- package/dist/jsx/components/Row.d.mts +46 -0
- package/dist/jsx/components/Row.d.mts.map +1 -0
- package/dist/jsx/components/Row.mjs +19 -0
- package/dist/jsx/components/Row.mjs.map +1 -0
- package/dist/jsx/components/Section.cjs +26 -0
- package/dist/jsx/components/Section.cjs.map +1 -0
- package/dist/jsx/components/Section.d.cts +38 -0
- package/dist/jsx/components/Section.d.cts.map +1 -0
- package/dist/jsx/components/Section.d.mts +38 -0
- package/dist/jsx/components/Section.d.mts.map +1 -0
- package/dist/jsx/components/Section.mjs +23 -0
- package/dist/jsx/components/Section.mjs.map +1 -0
- package/dist/jsx/components/Spinner.cjs +17 -0
- package/dist/jsx/components/Spinner.cjs.map +1 -0
- package/dist/{types/jsx/components/Spinner.d.ts → jsx/components/Spinner.d.cts} +1 -0
- package/dist/jsx/components/Spinner.d.cts.map +1 -0
- package/dist/jsx/components/Spinner.d.mts +18 -0
- package/dist/jsx/components/Spinner.d.mts.map +1 -0
- package/dist/jsx/components/Spinner.mjs +14 -0
- package/dist/jsx/components/Spinner.mjs.map +1 -0
- package/dist/jsx/components/Text.cjs +22 -0
- package/dist/jsx/components/Text.cjs.map +1 -0
- package/dist/{types/jsx/components/Text.d.ts → jsx/components/Text.d.cts} +11 -4
- package/dist/jsx/components/Text.d.cts.map +1 -0
- package/dist/jsx/components/Text.d.mts +45 -0
- package/dist/jsx/components/Text.d.mts.map +1 -0
- package/dist/jsx/components/Text.mjs +19 -0
- package/dist/jsx/components/Text.mjs.map +1 -0
- package/dist/jsx/components/Tooltip.cjs +23 -0
- package/dist/jsx/components/Tooltip.cjs.map +1 -0
- package/dist/{types/jsx/components/Tooltip.d.ts → jsx/components/Tooltip.d.cts} +8 -6
- package/dist/jsx/components/Tooltip.d.cts.map +1 -0
- package/dist/jsx/components/Tooltip.d.mts +40 -0
- package/dist/jsx/components/Tooltip.d.mts.map +1 -0
- package/dist/jsx/components/Tooltip.mjs +20 -0
- package/dist/jsx/components/Tooltip.mjs.map +1 -0
- package/dist/jsx/components/Value.cjs +21 -0
- package/dist/jsx/components/Value.cjs.map +1 -0
- package/dist/{types/jsx/components/Value.d.ts → jsx/components/Value.d.cts} +1 -0
- package/dist/jsx/components/Value.d.cts.map +1 -0
- package/dist/jsx/components/Value.d.mts +32 -0
- package/dist/jsx/components/Value.d.mts.map +1 -0
- package/dist/jsx/components/Value.mjs +18 -0
- package/dist/jsx/components/Value.mjs.map +1 -0
- package/dist/jsx/components/form/Button.cjs +17 -0
- package/dist/jsx/components/form/Button.cjs.map +1 -0
- package/dist/{types/jsx/components/form/Button.d.ts → jsx/components/form/Button.d.cts} +5 -2
- package/dist/jsx/components/form/Button.d.cts.map +1 -0
- package/dist/jsx/components/form/Button.d.mts +40 -0
- package/dist/jsx/components/form/Button.d.mts.map +1 -0
- package/dist/jsx/components/form/Button.mjs +14 -0
- package/dist/jsx/components/form/Button.mjs.map +1 -0
- package/dist/jsx/components/form/Checkbox.cjs +20 -0
- package/dist/jsx/components/form/Checkbox.cjs.map +1 -0
- package/dist/{types/jsx/components/form/Checkbox.d.ts → jsx/components/form/Checkbox.d.cts} +1 -0
- package/dist/jsx/components/form/Checkbox.d.cts.map +1 -0
- package/dist/jsx/components/form/Checkbox.d.mts +36 -0
- package/dist/jsx/components/form/Checkbox.d.mts.map +1 -0
- package/dist/jsx/components/form/Checkbox.mjs +17 -0
- package/dist/jsx/components/form/Checkbox.mjs.map +1 -0
- package/dist/jsx/components/form/Dropdown.cjs +23 -0
- package/dist/jsx/components/form/Dropdown.cjs.map +1 -0
- package/dist/{types/jsx/components/form/Dropdown.d.ts → jsx/components/form/Dropdown.d.cts} +3 -2
- package/dist/jsx/components/form/Dropdown.d.cts.map +1 -0
- package/dist/jsx/components/form/Dropdown.d.mts +39 -0
- package/dist/jsx/components/form/Dropdown.d.mts.map +1 -0
- package/dist/jsx/components/form/Dropdown.mjs +20 -0
- package/dist/jsx/components/form/Dropdown.mjs.map +1 -0
- package/dist/jsx/components/form/Field.cjs +26 -0
- package/dist/jsx/components/form/Field.cjs.map +1 -0
- package/dist/{types/jsx/components/form/Field.d.ts → jsx/components/form/Field.d.cts} +9 -7
- package/dist/jsx/components/form/Field.d.cts.map +1 -0
- package/dist/jsx/components/form/Field.d.mts +46 -0
- package/dist/jsx/components/form/Field.d.mts.map +1 -0
- package/dist/jsx/components/form/Field.mjs +23 -0
- package/dist/jsx/components/form/Field.mjs.map +1 -0
- package/dist/jsx/components/form/FileInput.cjs +31 -0
- package/dist/jsx/components/form/FileInput.cjs.map +1 -0
- package/dist/{types/jsx/components/form/FileInput.d.ts → jsx/components/form/FileInput.d.cts} +1 -0
- package/dist/jsx/components/form/FileInput.d.cts.map +1 -0
- package/dist/jsx/components/form/FileInput.d.mts +48 -0
- package/dist/jsx/components/form/FileInput.d.mts.map +1 -0
- package/dist/jsx/components/form/FileInput.mjs +28 -0
- package/dist/jsx/components/form/FileInput.mjs.map +1 -0
- package/dist/jsx/components/form/Form.cjs +24 -0
- package/dist/jsx/components/form/Form.cjs.map +1 -0
- package/dist/{types/jsx/components/form/Form.d.ts → jsx/components/form/Form.d.cts} +2 -1
- package/dist/jsx/components/form/Form.d.cts.map +1 -0
- package/dist/jsx/components/form/Form.d.mts +37 -0
- package/dist/jsx/components/form/Form.d.mts.map +1 -0
- package/dist/jsx/components/form/Form.mjs +21 -0
- package/dist/jsx/components/form/Form.mjs.map +1 -0
- package/dist/jsx/components/form/Input.cjs +20 -0
- package/dist/jsx/components/form/Input.cjs.map +1 -0
- package/dist/{types/jsx/components/form/Input.d.ts → jsx/components/form/Input.d.cts} +1 -0
- package/dist/jsx/components/form/Input.d.cts.map +1 -0
- package/dist/jsx/components/form/Input.d.mts +36 -0
- package/dist/jsx/components/form/Input.d.mts.map +1 -0
- package/dist/jsx/components/form/Input.mjs +17 -0
- package/dist/jsx/components/form/Input.mjs.map +1 -0
- package/dist/jsx/components/form/Option.cjs +25 -0
- package/dist/jsx/components/form/Option.cjs.map +1 -0
- package/dist/{types/jsx/components/form/Option.d.ts → jsx/components/form/Option.d.cts} +1 -0
- package/dist/jsx/components/form/Option.d.cts.map +1 -0
- package/dist/jsx/components/form/Option.d.mts +36 -0
- package/dist/jsx/components/form/Option.d.mts.map +1 -0
- package/dist/jsx/components/form/Option.mjs +22 -0
- package/dist/jsx/components/form/Option.mjs.map +1 -0
- package/dist/jsx/components/form/Radio.cjs +23 -0
- package/dist/jsx/components/form/Radio.cjs.map +1 -0
- package/dist/{types/jsx/components/form/Radio.d.ts → jsx/components/form/Radio.d.cts} +1 -0
- package/dist/jsx/components/form/Radio.d.cts.map +1 -0
- package/dist/jsx/components/form/Radio.d.mts +36 -0
- package/dist/jsx/components/form/Radio.d.mts.map +1 -0
- package/dist/jsx/components/form/Radio.mjs +20 -0
- package/dist/jsx/components/form/Radio.mjs.map +1 -0
- package/dist/jsx/components/form/RadioGroup.cjs +14 -0
- package/dist/jsx/components/form/RadioGroup.cjs.map +1 -0
- package/dist/{types/jsx/components/form/RadioGroup.d.ts → jsx/components/form/RadioGroup.d.cts} +3 -2
- package/dist/jsx/components/form/RadioGroup.d.cts.map +1 -0
- package/dist/jsx/components/form/RadioGroup.d.mts +30 -0
- package/dist/jsx/components/form/RadioGroup.d.mts.map +1 -0
- package/dist/jsx/components/form/RadioGroup.mjs +11 -0
- package/dist/jsx/components/form/RadioGroup.mjs.map +1 -0
- package/dist/jsx/components/form/Selector.cjs +24 -0
- package/dist/jsx/components/form/Selector.cjs.map +1 -0
- package/dist/jsx/components/form/Selector.d.cts +42 -0
- package/dist/jsx/components/form/Selector.d.cts.map +1 -0
- package/dist/jsx/components/form/Selector.d.mts +42 -0
- package/dist/jsx/components/form/Selector.d.mts.map +1 -0
- package/dist/jsx/components/form/Selector.mjs +21 -0
- package/dist/jsx/components/form/Selector.mjs.map +1 -0
- package/dist/jsx/components/form/SelectorOption.cjs +23 -0
- package/dist/jsx/components/form/SelectorOption.cjs.map +1 -0
- package/dist/jsx/components/form/SelectorOption.d.cts +36 -0
- package/dist/jsx/components/form/SelectorOption.d.cts.map +1 -0
- package/dist/jsx/components/form/SelectorOption.d.mts +36 -0
- package/dist/jsx/components/form/SelectorOption.d.mts.map +1 -0
- package/dist/jsx/components/form/SelectorOption.mjs +20 -0
- package/dist/jsx/components/form/SelectorOption.mjs.map +1 -0
- package/dist/jsx/components/form/index.cjs +29 -0
- package/dist/jsx/components/form/index.cjs.map +1 -0
- package/dist/jsx/components/form/index.d.cts +26 -0
- package/dist/jsx/components/form/index.d.cts.map +1 -0
- package/dist/jsx/components/form/index.d.mts +26 -0
- package/dist/jsx/components/form/index.d.mts.map +1 -0
- package/dist/jsx/components/form/index.mjs +13 -0
- package/dist/jsx/components/form/index.mjs.map +1 -0
- package/dist/jsx/components/formatting/Bold.cjs +21 -0
- package/dist/jsx/components/formatting/Bold.cjs.map +1 -0
- package/dist/{types/jsx/components/formatting/Bold.d.ts → jsx/components/formatting/Bold.d.cts} +2 -1
- package/dist/jsx/components/formatting/Bold.d.cts.map +1 -0
- package/dist/jsx/components/formatting/Bold.d.mts +33 -0
- package/dist/jsx/components/formatting/Bold.d.mts.map +1 -0
- package/dist/jsx/components/formatting/Bold.mjs +18 -0
- package/dist/jsx/components/formatting/Bold.mjs.map +1 -0
- package/dist/jsx/components/formatting/Italic.cjs +20 -0
- package/dist/jsx/components/formatting/Italic.cjs.map +1 -0
- package/dist/{types/jsx/components/formatting/Italic.d.ts → jsx/components/formatting/Italic.d.cts} +2 -1
- package/dist/jsx/components/formatting/Italic.d.cts.map +1 -0
- package/dist/jsx/components/formatting/Italic.d.mts +35 -0
- package/dist/jsx/components/formatting/Italic.d.mts.map +1 -0
- package/dist/jsx/components/formatting/Italic.mjs +17 -0
- package/dist/jsx/components/formatting/Italic.mjs.map +1 -0
- package/dist/jsx/components/formatting/index.cjs +19 -0
- package/dist/jsx/components/formatting/index.cjs.map +1 -0
- package/dist/jsx/components/formatting/index.d.cts +6 -0
- package/dist/jsx/components/formatting/index.d.cts.map +1 -0
- package/dist/jsx/components/formatting/index.d.mts +6 -0
- package/dist/jsx/components/formatting/index.d.mts.map +1 -0
- package/dist/jsx/components/formatting/index.mjs +3 -0
- package/dist/jsx/components/formatting/index.mjs.map +1 -0
- package/dist/jsx/components/index.cjs +36 -0
- package/dist/jsx/components/index.cjs.map +1 -0
- package/dist/jsx/components/index.d.cts +43 -0
- package/dist/jsx/components/index.d.cts.map +1 -0
- package/dist/jsx/components/index.d.mts +43 -0
- package/dist/jsx/components/index.d.mts.map +1 -0
- package/dist/jsx/components/index.mjs +20 -0
- package/dist/jsx/components/index.mjs.map +1 -0
- package/dist/jsx/index.cjs +31 -0
- package/dist/jsx/index.cjs.map +1 -0
- package/dist/jsx/index.d.cts +6 -0
- package/dist/jsx/index.d.cts.map +1 -0
- package/dist/jsx/index.d.mts +6 -0
- package/dist/jsx/index.d.mts.map +1 -0
- package/dist/jsx/index.mjs +5 -586
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/jsx/jsx-dev-runtime.cjs +27 -0
- package/dist/jsx/jsx-dev-runtime.cjs.map +1 -0
- package/dist/{types/jsx/jsx-dev-runtime.d.ts → jsx/jsx-dev-runtime.d.cts} +2 -1
- package/dist/jsx/jsx-dev-runtime.d.cts.map +1 -0
- package/dist/jsx/jsx-dev-runtime.d.mts +18 -0
- package/dist/jsx/jsx-dev-runtime.d.mts.map +1 -0
- package/dist/jsx/jsx-dev-runtime.mjs +21 -414
- package/dist/jsx/jsx-dev-runtime.mjs.map +1 -1
- package/dist/jsx/jsx-runtime.cjs +54 -0
- package/dist/jsx/jsx-runtime.cjs.map +1 -0
- package/dist/{types/jsx/jsx-runtime.d.ts → jsx/jsx-runtime.d.cts} +2 -1
- package/dist/jsx/jsx-runtime.d.cts.map +1 -0
- package/dist/jsx/jsx-runtime.d.mts +36 -0
- package/dist/jsx/jsx-runtime.d.mts.map +1 -0
- package/dist/jsx/jsx-runtime.mjs +46 -21
- package/dist/jsx/jsx-runtime.mjs.map +1 -1
- package/dist/jsx/validation.cjs +577 -0
- package/dist/jsx/validation.cjs.map +1 -0
- package/dist/{types/jsx/validation.d.ts → jsx/validation.d.cts} +55 -38
- package/dist/jsx/validation.d.cts.map +1 -0
- package/dist/jsx/validation.d.mts +247 -0
- package/dist/jsx/validation.d.mts.map +1 -0
- package/dist/jsx/validation.mjs +571 -0
- package/dist/jsx/validation.mjs.map +1 -0
- package/dist/types/caip.cjs +3 -0
- package/dist/types/caip.cjs.map +1 -0
- package/dist/types/{types/caip.d.ts → caip.d.cts} +1 -0
- package/dist/types/caip.d.cts.map +1 -0
- package/dist/types/caip.d.mts +13 -0
- package/dist/types/caip.d.mts.map +1 -0
- package/dist/types/caip.mjs +2 -0
- package/dist/types/caip.mjs.map +1 -0
- package/dist/types/global.cjs +3 -0
- package/dist/types/global.cjs.map +1 -0
- package/dist/types/{types/global.d.ts → global.d.cts} +2 -1
- package/dist/types/global.d.cts.map +1 -0
- package/dist/types/global.d.mts +9 -0
- package/dist/types/global.d.mts.map +1 -0
- package/dist/types/global.mjs +2 -0
- package/dist/types/global.mjs.map +1 -0
- package/dist/types/handlers/cronjob.cjs +3 -0
- package/dist/types/handlers/cronjob.cjs.map +1 -0
- package/dist/types/{types/handlers/cronjob.d.ts → handlers/cronjob.d.cts} +2 -1
- package/dist/types/handlers/cronjob.d.cts.map +1 -0
- package/dist/types/handlers/cronjob.d.mts +15 -0
- package/dist/types/handlers/cronjob.d.mts.map +1 -0
- package/dist/types/handlers/cronjob.mjs +2 -0
- package/dist/types/handlers/cronjob.mjs.map +1 -0
- package/dist/types/handlers/home-page.cjs +3 -0
- package/dist/types/handlers/home-page.cjs.map +1 -0
- package/dist/types/{types/handlers/home-page.d.ts → handlers/home-page.d.cts} +2 -1
- package/dist/types/handlers/home-page.d.cts.map +1 -0
- package/dist/types/handlers/home-page.d.mts +23 -0
- package/dist/types/handlers/home-page.d.mts.map +1 -0
- package/dist/types/handlers/home-page.mjs +2 -0
- package/dist/types/handlers/home-page.mjs.map +1 -0
- package/dist/types/handlers/index.cjs +26 -0
- package/dist/types/handlers/index.cjs.map +1 -0
- package/dist/types/handlers/index.d.cts +10 -0
- package/dist/types/handlers/index.d.cts.map +1 -0
- package/dist/types/handlers/index.d.mts +10 -0
- package/dist/types/handlers/index.d.mts.map +1 -0
- package/dist/types/handlers/index.mjs +10 -0
- package/dist/types/handlers/index.mjs.map +1 -0
- package/dist/types/handlers/keyring.cjs +3 -0
- package/dist/types/handlers/keyring.cjs.map +1 -0
- package/dist/types/{types/handlers/keyring.d.ts → handlers/keyring.d.cts} +2 -1
- package/dist/types/handlers/keyring.d.cts.map +1 -0
- package/dist/types/handlers/keyring.d.mts +21 -0
- package/dist/types/handlers/keyring.d.mts.map +1 -0
- package/dist/types/handlers/keyring.mjs +2 -0
- package/dist/types/handlers/keyring.mjs.map +1 -0
- package/dist/types/handlers/lifecycle.cjs +3 -0
- package/dist/types/handlers/lifecycle.cjs.map +1 -0
- package/dist/types/{types/handlers/lifecycle.d.ts → handlers/lifecycle.d.cts} +1 -0
- package/dist/types/handlers/lifecycle.d.cts.map +1 -0
- package/dist/types/handlers/lifecycle.d.mts +38 -0
- package/dist/types/handlers/lifecycle.d.mts.map +1 -0
- package/dist/types/handlers/lifecycle.mjs +2 -0
- package/dist/types/handlers/lifecycle.mjs.map +1 -0
- package/dist/types/handlers/name-lookup.cjs +3 -0
- package/dist/types/handlers/name-lookup.cjs.map +1 -0
- package/dist/types/{types/handlers/name-lookup.d.ts → handlers/name-lookup.d.cts} +3 -2
- package/dist/types/handlers/name-lookup.d.cts.map +1 -0
- package/dist/types/handlers/name-lookup.d.mts +82 -0
- package/dist/types/handlers/name-lookup.d.mts.map +1 -0
- package/dist/types/handlers/name-lookup.mjs +2 -0
- package/dist/types/handlers/name-lookup.mjs.map +1 -0
- package/dist/types/handlers/rpc-request.cjs +3 -0
- package/dist/types/handlers/rpc-request.cjs.map +1 -0
- package/dist/types/{types/handlers/rpc-request.d.ts → handlers/rpc-request.d.cts} +2 -1
- package/dist/types/handlers/rpc-request.d.cts.map +1 -0
- package/dist/types/handlers/rpc-request.d.mts +22 -0
- package/dist/types/handlers/rpc-request.d.mts.map +1 -0
- package/dist/types/handlers/rpc-request.mjs +2 -0
- package/dist/types/handlers/rpc-request.mjs.map +1 -0
- package/dist/types/handlers/signature.cjs +3 -0
- package/dist/types/handlers/signature.cjs.map +1 -0
- package/dist/types/{types/handlers/signature.d.ts → handlers/signature.d.cts} +4 -3
- package/dist/types/handlers/signature.d.cts.map +1 -0
- package/dist/types/handlers/signature.d.mts +112 -0
- package/dist/types/handlers/signature.d.mts.map +1 -0
- package/dist/types/handlers/signature.mjs +2 -0
- package/dist/types/handlers/signature.mjs.map +1 -0
- package/dist/types/handlers/transaction.cjs +15 -0
- package/dist/types/handlers/transaction.cjs.map +1 -0
- package/dist/types/{types/handlers/transaction.d.ts → handlers/transaction.d.cts} +4 -3
- package/dist/types/handlers/transaction.d.cts.map +1 -0
- package/dist/types/handlers/transaction.d.mts +115 -0
- package/dist/types/handlers/transaction.d.mts.map +1 -0
- package/dist/types/handlers/transaction.mjs +12 -0
- package/dist/types/handlers/transaction.mjs.map +1 -0
- package/dist/types/handlers/user-input.cjs +56 -0
- package/dist/types/handlers/user-input.cjs.map +1 -0
- package/dist/types/{types/handlers/user-input.d.ts → handlers/user-input.d.cts} +11 -10
- package/dist/types/handlers/user-input.d.cts.map +1 -0
- package/dist/types/handlers/user-input.d.mts +196 -0
- package/dist/types/handlers/user-input.d.mts.map +1 -0
- package/dist/types/handlers/user-input.mjs +53 -0
- package/dist/types/handlers/user-input.mjs.map +1 -0
- package/dist/types/images.cjs +2 -0
- package/dist/types/images.cjs.map +1 -0
- package/dist/types/{types/images.d.ts → images.d.cts} +1 -0
- package/dist/types/images.d.cts.map +1 -0
- package/dist/types/images.d.mts +13 -0
- package/dist/types/images.d.mts.map +1 -0
- package/dist/types/images.mjs +2 -0
- package/dist/types/images.mjs.map +1 -0
- package/dist/types/index.cjs +29 -0
- package/dist/types/index.cjs.map +1 -0
- package/dist/types/index.d.cts +10 -0
- package/dist/types/index.d.cts.map +1 -0
- package/dist/types/index.d.mts +10 -0
- package/dist/types/index.d.mts.map +1 -0
- package/dist/types/index.mjs +13 -0
- package/dist/types/index.mjs.map +1 -0
- package/dist/types/interface.cjs +26 -0
- package/dist/types/interface.cjs.map +1 -0
- package/dist/types/{types/interface.d.ts → interface.d.cts} +27 -26
- package/dist/types/interface.d.cts.map +1 -0
- package/dist/types/interface.d.mts +120 -0
- package/dist/types/interface.d.mts.map +1 -0
- package/dist/types/interface.mjs +23 -0
- package/dist/types/interface.mjs.map +1 -0
- package/dist/types/methods/create-interface.cjs +3 -0
- package/dist/types/methods/create-interface.cjs.map +1 -0
- package/dist/types/{types/methods/create-interface.d.ts → methods/create-interface.d.cts} +2 -1
- package/dist/types/methods/create-interface.d.cts.map +1 -0
- package/dist/types/methods/create-interface.d.mts +15 -0
- package/dist/types/methods/create-interface.d.mts.map +1 -0
- package/dist/types/methods/create-interface.mjs +2 -0
- package/dist/types/methods/create-interface.mjs.map +1 -0
- package/dist/types/methods/dialog.cjs +18 -0
- package/dist/types/methods/dialog.cjs.map +1 -0
- package/dist/types/{types/methods/dialog.d.ts → methods/dialog.d.cts} +4 -3
- package/dist/types/methods/dialog.d.cts.map +1 -0
- package/dist/types/methods/dialog.d.mts +88 -0
- package/dist/types/methods/dialog.d.mts.map +1 -0
- package/dist/types/methods/dialog.mjs +15 -0
- package/dist/types/methods/dialog.mjs.map +1 -0
- package/dist/types/methods/get-bip32-entropy.cjs +3 -0
- package/dist/types/methods/get-bip32-entropy.cjs.map +1 -0
- package/dist/types/{types/methods/get-bip32-entropy.d.ts → methods/get-bip32-entropy.d.cts} +3 -2
- package/dist/types/methods/get-bip32-entropy.d.cts.map +1 -0
- package/dist/types/methods/get-bip32-entropy.d.mts +16 -0
- package/dist/types/methods/get-bip32-entropy.d.mts.map +1 -0
- package/dist/types/methods/get-bip32-entropy.mjs +2 -0
- package/dist/types/methods/get-bip32-entropy.mjs.map +1 -0
- package/dist/types/methods/get-bip32-public-key.cjs +3 -0
- package/dist/types/methods/get-bip32-public-key.cjs.map +1 -0
- package/dist/types/{types/methods/get-bip32-public-key.d.ts → methods/get-bip32-public-key.d.cts} +2 -1
- package/dist/types/methods/get-bip32-public-key.d.cts.map +1 -0
- package/dist/types/methods/get-bip32-public-key.d.mts +20 -0
- package/dist/types/methods/get-bip32-public-key.d.mts.map +1 -0
- package/dist/types/methods/get-bip32-public-key.mjs +2 -0
- package/dist/types/methods/get-bip32-public-key.mjs.map +1 -0
- package/dist/types/methods/get-bip44-entropy.cjs +3 -0
- package/dist/types/methods/get-bip44-entropy.cjs.map +1 -0
- package/dist/types/{types/methods/get-bip44-entropy.d.ts → methods/get-bip44-entropy.d.cts} +3 -2
- package/dist/types/methods/get-bip44-entropy.d.cts.map +1 -0
- package/dist/types/methods/get-bip44-entropy.d.mts +15 -0
- package/dist/types/methods/get-bip44-entropy.d.mts.map +1 -0
- package/dist/types/methods/get-bip44-entropy.mjs +2 -0
- package/dist/types/methods/get-bip44-entropy.mjs.map +1 -0
- package/dist/types/methods/get-client-status.cjs +3 -0
- package/dist/types/methods/get-client-status.cjs.map +1 -0
- package/dist/types/{types/methods/get-client-status.d.ts → methods/get-client-status.d.cts} +1 -0
- package/dist/types/methods/get-client-status.d.cts.map +1 -0
- package/dist/types/methods/get-client-status.d.mts +15 -0
- package/dist/types/methods/get-client-status.d.mts.map +1 -0
- package/dist/types/methods/get-client-status.mjs +2 -0
- package/dist/types/methods/get-client-status.mjs.map +1 -0
- package/dist/types/methods/get-entropy.cjs +3 -0
- package/dist/types/methods/get-entropy.cjs.map +1 -0
- package/dist/types/{types/methods/get-entropy.d.ts → methods/get-entropy.d.cts} +2 -1
- package/dist/types/methods/get-entropy.d.cts.map +1 -0
- package/dist/types/methods/get-entropy.d.mts +17 -0
- package/dist/types/methods/get-entropy.d.mts.map +1 -0
- package/dist/types/methods/get-entropy.mjs +2 -0
- package/dist/types/methods/get-entropy.mjs.map +1 -0
- package/dist/types/methods/get-file.cjs +13 -0
- package/dist/types/methods/get-file.cjs.map +1 -0
- package/dist/types/{types/methods/get-file.d.ts → methods/get-file.d.cts} +2 -1
- package/dist/types/methods/get-file.d.cts.map +1 -0
- package/dist/types/methods/get-file.d.mts +24 -0
- package/dist/types/methods/get-file.d.mts.map +1 -0
- package/dist/types/methods/get-file.mjs +10 -0
- package/dist/types/methods/get-file.mjs.map +1 -0
- package/dist/types/methods/get-interface-state.cjs +3 -0
- package/dist/types/methods/get-interface-state.cjs.map +1 -0
- package/dist/types/{types/methods/get-interface-state.d.ts → methods/get-interface-state.d.cts} +2 -1
- package/dist/types/methods/get-interface-state.d.cts.map +1 -0
- package/dist/types/methods/get-interface-state.d.mts +14 -0
- package/dist/types/methods/get-interface-state.d.mts.map +1 -0
- package/dist/types/methods/get-interface-state.mjs +2 -0
- package/dist/types/methods/get-interface-state.mjs.map +1 -0
- package/dist/types/methods/get-locale.cjs +3 -0
- package/dist/types/methods/get-locale.cjs.map +1 -0
- package/dist/types/{types/methods/get-locale.d.ts → methods/get-locale.d.cts} +1 -0
- package/dist/types/methods/get-locale.d.cts.map +1 -0
- package/dist/types/methods/get-locale.d.mts +13 -0
- package/dist/types/methods/get-locale.d.mts.map +1 -0
- package/dist/types/methods/get-locale.mjs +2 -0
- package/dist/types/methods/get-locale.mjs.map +1 -0
- package/dist/types/methods/get-preferences.cjs +3 -0
- package/dist/types/methods/get-preferences.cjs.map +1 -0
- package/dist/types/{types/methods/get-preferences.d.ts → methods/get-preferences.d.cts} +1 -0
- package/dist/types/methods/get-preferences.d.cts.map +1 -0
- package/dist/types/methods/get-preferences.d.mts +16 -0
- package/dist/types/methods/get-preferences.d.mts.map +1 -0
- package/dist/types/methods/get-preferences.mjs +2 -0
- package/dist/types/methods/get-preferences.mjs.map +1 -0
- package/dist/types/methods/get-snaps.cjs +3 -0
- package/dist/types/methods/get-snaps.cjs.map +1 -0
- package/dist/types/{types/methods/get-snaps.d.ts → methods/get-snaps.d.cts} +3 -2
- package/dist/types/methods/get-snaps.d.cts.map +1 -0
- package/dist/types/methods/get-snaps.d.mts +17 -0
- package/dist/types/methods/get-snaps.d.mts.map +1 -0
- package/dist/types/methods/get-snaps.mjs +2 -0
- package/dist/types/methods/get-snaps.mjs.map +1 -0
- package/dist/types/methods/index.cjs +38 -0
- package/dist/types/methods/index.cjs.map +1 -0
- package/dist/types/methods/index.d.cts +22 -0
- package/dist/types/methods/index.d.cts.map +1 -0
- package/dist/types/methods/index.d.mts +22 -0
- package/dist/types/methods/index.d.mts.map +1 -0
- package/dist/types/methods/index.mjs +22 -0
- package/dist/types/methods/index.mjs.map +1 -0
- package/dist/types/methods/invoke-keyring.cjs +3 -0
- package/dist/types/methods/invoke-keyring.cjs.map +1 -0
- package/dist/types/{types/methods/invoke-keyring.d.ts → methods/invoke-keyring.d.cts} +3 -2
- package/dist/types/methods/invoke-keyring.d.cts.map +1 -0
- package/dist/types/methods/invoke-keyring.d.mts +15 -0
- package/dist/types/methods/invoke-keyring.d.mts.map +1 -0
- package/dist/types/methods/invoke-keyring.mjs +2 -0
- package/dist/types/methods/invoke-keyring.mjs.map +1 -0
- package/dist/types/methods/invoke-snap.cjs +3 -0
- package/dist/types/methods/invoke-snap.cjs.map +1 -0
- package/dist/types/{types/methods/invoke-snap.d.ts → methods/invoke-snap.d.cts} +2 -1
- package/dist/types/methods/invoke-snap.d.cts.map +1 -0
- package/dist/types/methods/invoke-snap.d.mts +17 -0
- package/dist/types/methods/invoke-snap.d.mts.map +1 -0
- package/dist/types/methods/invoke-snap.mjs +2 -0
- package/dist/types/methods/invoke-snap.mjs.map +1 -0
- package/dist/types/methods/manage-accounts.cjs +3 -0
- package/dist/types/methods/manage-accounts.cjs.map +1 -0
- package/dist/types/{types/methods/manage-accounts.d.ts → methods/manage-accounts.d.cts} +2 -1
- package/dist/types/methods/manage-accounts.d.cts.map +1 -0
- package/dist/types/methods/manage-accounts.d.mts +19 -0
- package/dist/types/methods/manage-accounts.d.mts.map +1 -0
- package/dist/types/methods/manage-accounts.mjs +2 -0
- package/dist/types/methods/manage-accounts.mjs.map +1 -0
- package/dist/types/methods/manage-state.cjs +13 -0
- package/dist/types/methods/manage-state.cjs.map +1 -0
- package/dist/types/{types/methods/manage-state.d.ts → methods/manage-state.d.cts} +3 -2
- package/dist/types/methods/manage-state.d.cts.map +1 -0
- package/dist/types/methods/manage-state.d.mts +70 -0
- package/dist/types/methods/manage-state.d.mts.map +1 -0
- package/dist/types/methods/manage-state.mjs +10 -0
- package/dist/types/methods/manage-state.mjs.map +1 -0
- package/dist/types/methods/methods.cjs +3 -0
- package/dist/types/methods/methods.cjs.map +1 -0
- package/dist/types/{types/methods/methods.d.ts → methods/methods.d.cts} +22 -21
- package/dist/types/methods/methods.d.cts.map +1 -0
- package/dist/types/methods/methods.d.mts +75 -0
- package/dist/types/methods/methods.d.mts.map +1 -0
- package/dist/types/methods/methods.mjs +2 -0
- package/dist/types/methods/methods.mjs.map +1 -0
- package/dist/types/methods/notify.cjs +15 -0
- package/dist/types/methods/notify.cjs.map +1 -0
- package/dist/types/{types/methods/notify.d.ts → methods/notify.d.cts} +2 -1
- package/dist/types/methods/notify.d.cts.map +1 -0
- package/dist/types/methods/notify.d.mts +28 -0
- package/dist/types/methods/notify.d.mts.map +1 -0
- package/dist/types/methods/notify.mjs +12 -0
- package/dist/types/methods/notify.mjs.map +1 -0
- package/dist/types/methods/request-snaps.cjs +3 -0
- package/dist/types/methods/request-snaps.cjs.map +1 -0
- package/dist/types/{types/methods/request-snaps.d.ts → methods/request-snaps.d.cts} +3 -2
- package/dist/types/methods/request-snaps.d.cts.map +1 -0
- package/dist/types/methods/request-snaps.d.mts +19 -0
- package/dist/types/methods/request-snaps.d.mts.map +1 -0
- package/dist/types/methods/request-snaps.mjs +2 -0
- package/dist/types/methods/request-snaps.mjs.map +1 -0
- package/dist/types/methods/resolve-interface.cjs +3 -0
- package/dist/types/methods/resolve-interface.cjs.map +1 -0
- package/dist/types/{types/methods/resolve-interface.d.ts → methods/resolve-interface.d.cts} +2 -1
- package/dist/types/methods/resolve-interface.d.cts.map +1 -0
- package/dist/types/methods/resolve-interface.d.mts +16 -0
- package/dist/types/methods/resolve-interface.d.mts.map +1 -0
- package/dist/types/methods/resolve-interface.mjs +2 -0
- package/dist/types/methods/resolve-interface.mjs.map +1 -0
- package/dist/types/methods/update-interface.cjs +3 -0
- package/dist/types/methods/update-interface.cjs.map +1 -0
- package/dist/types/{types/methods/update-interface.d.ts → methods/update-interface.d.cts} +2 -1
- package/dist/types/methods/update-interface.d.cts.map +1 -0
- package/dist/types/methods/update-interface.d.mts +16 -0
- package/dist/types/methods/update-interface.d.mts.map +1 -0
- package/dist/types/methods/update-interface.mjs +2 -0
- package/dist/types/methods/update-interface.mjs.map +1 -0
- package/dist/types/permissions.cjs +3 -0
- package/dist/types/permissions.cjs.map +1 -0
- package/dist/types/{types/permissions.d.ts → permissions.d.cts} +4 -3
- package/dist/types/permissions.d.cts.map +1 -0
- package/dist/types/permissions.d.mts +75 -0
- package/dist/types/permissions.d.mts.map +1 -0
- package/dist/types/permissions.mjs +2 -0
- package/dist/types/permissions.mjs.map +1 -0
- package/dist/types/provider.cjs +3 -0
- package/dist/types/provider.cjs.map +1 -0
- package/dist/types/{types/provider.d.ts → provider.d.cts} +3 -2
- package/dist/types/provider.d.cts.map +1 -0
- package/dist/types/provider.d.mts +15 -0
- package/dist/types/provider.d.mts.map +1 -0
- package/dist/types/provider.mjs +2 -0
- package/dist/types/provider.mjs.map +1 -0
- package/dist/types/snap.cjs +3 -0
- package/dist/types/snap.cjs.map +1 -0
- package/dist/types/{types/snap.d.ts → snap.d.cts} +3 -2
- package/dist/types/snap.d.cts.map +1 -0
- package/dist/types/snap.d.mts +13 -0
- package/dist/types/snap.d.mts.map +1 -0
- package/dist/types/snap.mjs +2 -0
- package/dist/types/snap.mjs.map +1 -0
- package/dist/ui/builder.cjs +49 -0
- package/dist/ui/builder.cjs.map +1 -0
- package/dist/{types/ui/builder.d.ts → ui/builder.d.cts} +4 -3
- package/dist/ui/builder.d.cts.map +1 -0
- package/dist/ui/builder.d.mts +43 -0
- package/dist/ui/builder.d.mts.map +1 -0
- package/dist/ui/builder.mjs +45 -0
- package/dist/ui/builder.mjs.map +1 -0
- package/dist/ui/component.cjs +29 -0
- package/dist/ui/component.cjs.map +1 -0
- package/dist/{types/ui/component.d.ts → ui/component.d.cts} +2 -1
- package/dist/ui/component.d.cts.map +1 -0
- package/dist/ui/component.d.mts +18 -0
- package/dist/ui/component.d.mts.map +1 -0
- package/dist/ui/component.mjs +24 -0
- package/dist/ui/component.mjs.map +1 -0
- package/dist/ui/components/address.cjs +28 -0
- package/dist/ui/components/address.cjs.map +1 -0
- package/dist/{types/ui/components/address.d.ts → ui/components/address.d.cts} +6 -5
- package/dist/ui/components/address.d.cts.map +1 -0
- package/dist/ui/components/address.d.mts +37 -0
- package/dist/ui/components/address.d.mts.map +1 -0
- package/dist/ui/components/address.mjs +25 -0
- package/dist/ui/components/address.mjs.map +1 -0
- package/dist/ui/components/button.cjs +52 -0
- package/dist/ui/components/button.cjs.map +1 -0
- package/dist/{types/ui/components/button.d.ts → ui/components/button.d.cts} +9 -8
- package/dist/ui/components/button.d.cts.map +1 -0
- package/dist/ui/components/button.d.mts +65 -0
- package/dist/ui/components/button.d.mts.map +1 -0
- package/dist/ui/components/button.mjs +49 -0
- package/dist/ui/components/button.mjs.map +1 -0
- package/dist/ui/components/copyable.cjs +32 -0
- package/dist/ui/components/copyable.cjs.map +1 -0
- package/dist/{types/ui/components/copyable.d.ts → ui/components/copyable.d.cts} +6 -5
- package/dist/ui/components/copyable.d.cts.map +1 -0
- package/dist/ui/components/copyable.d.mts +49 -0
- package/dist/ui/components/copyable.d.mts.map +1 -0
- package/dist/ui/components/copyable.mjs +29 -0
- package/dist/ui/components/copyable.mjs.map +1 -0
- package/dist/ui/components/divider.cjs +20 -0
- package/dist/ui/components/divider.cjs.map +1 -0
- package/dist/{types/ui/components/divider.d.ts → ui/components/divider.d.cts} +3 -2
- package/dist/ui/components/divider.d.cts.map +1 -0
- package/dist/ui/components/divider.d.mts +24 -0
- package/dist/ui/components/divider.d.mts.map +1 -0
- package/dist/ui/components/divider.mjs +17 -0
- package/dist/ui/components/divider.mjs.map +1 -0
- package/dist/ui/components/form.cjs +41 -0
- package/dist/ui/components/form.cjs.map +1 -0
- package/dist/{types/ui/components/form.d.ts → ui/components/form.d.cts} +31 -30
- package/dist/ui/components/form.d.cts.map +1 -0
- package/dist/ui/components/form.d.mts +154 -0
- package/dist/ui/components/form.d.mts.map +1 -0
- package/dist/ui/components/form.mjs +38 -0
- package/dist/ui/components/form.mjs.map +1 -0
- package/dist/ui/components/heading.cjs +27 -0
- package/dist/ui/components/heading.cjs.map +1 -0
- package/dist/{types/ui/components/heading.d.ts → ui/components/heading.d.cts} +6 -5
- package/dist/ui/components/heading.d.cts.map +1 -0
- package/dist/ui/components/heading.d.mts +39 -0
- package/dist/ui/components/heading.d.mts.map +1 -0
- package/dist/ui/components/heading.mjs +24 -0
- package/dist/ui/components/heading.mjs.map +1 -0
- package/dist/ui/components/image.cjs +27 -0
- package/dist/ui/components/image.cjs.map +1 -0
- package/dist/{types/ui/components/image.d.ts → ui/components/image.d.cts} +6 -5
- package/dist/ui/components/image.d.cts.map +1 -0
- package/dist/ui/components/image.d.mts +38 -0
- package/dist/ui/components/image.d.mts.map +1 -0
- package/dist/ui/components/image.mjs +24 -0
- package/dist/ui/components/image.mjs.map +1 -0
- package/dist/ui/components/index.cjs +35 -0
- package/dist/ui/components/index.cjs.map +1 -0
- package/dist/ui/components/index.d.cts +15 -0
- package/dist/ui/components/index.d.cts.map +1 -0
- package/dist/ui/components/index.d.mts +15 -0
- package/dist/ui/components/index.d.mts.map +1 -0
- package/dist/ui/components/index.mjs +13 -0
- package/dist/ui/components/index.mjs.map +1 -0
- package/dist/ui/components/input.cjs +60 -0
- package/dist/ui/components/input.cjs.map +1 -0
- package/dist/{types/ui/components/input.d.ts → ui/components/input.d.cts} +9 -8
- package/dist/ui/components/input.d.cts.map +1 -0
- package/dist/ui/components/input.d.mts +78 -0
- package/dist/ui/components/input.d.mts.map +1 -0
- package/dist/ui/components/input.mjs +57 -0
- package/dist/ui/components/input.mjs.map +1 -0
- package/dist/ui/components/panel.cjs +72 -0
- package/dist/ui/components/panel.cjs.map +1 -0
- package/dist/{types/ui/components/panel.d.ts → ui/components/panel.d.cts} +88 -87
- package/dist/ui/components/panel.d.cts.map +1 -0
- package/dist/ui/components/panel.d.mts +406 -0
- package/dist/ui/components/panel.d.mts.map +1 -0
- package/dist/ui/components/panel.mjs +69 -0
- package/dist/ui/components/panel.mjs.map +1 -0
- package/dist/ui/components/row.cjs +51 -0
- package/dist/ui/components/row.cjs.map +1 -0
- package/dist/{types/ui/components/row.d.ts → ui/components/row.d.cts} +21 -20
- package/dist/ui/components/row.d.cts.map +1 -0
- package/dist/ui/components/row.d.mts +107 -0
- package/dist/ui/components/row.d.mts.map +1 -0
- package/dist/ui/components/row.mjs +48 -0
- package/dist/ui/components/row.mjs.map +1 -0
- package/dist/ui/components/spinner.cjs +20 -0
- package/dist/ui/components/spinner.cjs.map +1 -0
- package/dist/{types/ui/components/spinner.d.ts → ui/components/spinner.d.cts} +3 -2
- package/dist/ui/components/spinner.d.cts.map +1 -0
- package/dist/ui/components/spinner.d.mts +25 -0
- package/dist/ui/components/spinner.d.mts.map +1 -0
- package/dist/ui/components/spinner.mjs +17 -0
- package/dist/ui/components/spinner.mjs.map +1 -0
- package/dist/ui/components/text.cjs +34 -0
- package/dist/ui/components/text.cjs.map +1 -0
- package/dist/{types/ui/components/text.d.ts → ui/components/text.d.cts} +6 -5
- package/dist/ui/components/text.d.cts.map +1 -0
- package/dist/ui/components/text.d.mts +49 -0
- package/dist/ui/components/text.d.mts.map +1 -0
- package/dist/ui/components/text.mjs +31 -0
- package/dist/ui/components/text.mjs.map +1 -0
- package/dist/ui/index.cjs +22 -0
- package/dist/ui/index.cjs.map +1 -0
- package/dist/ui/index.d.cts +4 -0
- package/dist/ui/index.d.cts.map +1 -0
- package/dist/ui/index.d.mts +4 -0
- package/dist/ui/index.d.mts.map +1 -0
- package/dist/ui/index.mjs +4 -0
- package/dist/ui/index.mjs.map +1 -0
- package/dist/ui/nodes.cjs +38 -0
- package/dist/ui/nodes.cjs.map +1 -0
- package/dist/{types/ui/nodes.d.ts → ui/nodes.d.cts} +3 -2
- package/dist/ui/nodes.d.cts.map +1 -0
- package/dist/ui/nodes.d.mts +57 -0
- package/dist/ui/nodes.d.mts.map +1 -0
- package/dist/ui/nodes.mjs +35 -0
- package/dist/ui/nodes.mjs.map +1 -0
- package/jsx-dev-runtime.d.ts +3 -1
- package/jsx-dev-runtime.js +1 -1
- package/jsx-runtime.d.ts +3 -1
- package/jsx-runtime.js +1 -1
- package/jsx.d.ts +3 -1
- package/jsx.js +1 -1
- package/package.json +42 -27
- package/dist/index.js +0 -1142
- package/dist/index.js.map +0 -1
- package/dist/jsx/index.js +0 -587
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/jsx-dev-runtime.js +0 -416
- package/dist/jsx/jsx-dev-runtime.js.map +0 -1
- package/dist/jsx/jsx-runtime.js +0 -45
- package/dist/jsx/jsx-runtime.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/types/index.d.ts +0 -9
- package/dist/types/internals/index.d.ts +0 -6
- package/dist/types/jsx/components/Address.d.ts +0 -28
- package/dist/types/jsx/components/form/index.d.ts +0 -21
- package/dist/types/jsx/components/formatting/index.d.ts +0 -5
- package/dist/types/jsx/components/index.d.ts +0 -38
- package/dist/types/jsx/index.d.ts +0 -5
- package/dist/types/types/handlers/index.d.ts +0 -9
- package/dist/types/types/index.d.ts +0 -9
- package/dist/types/types/methods/index.d.ts +0 -21
- package/dist/types/ui/components/index.d.ts +0 -14
- package/dist/types/ui/index.d.ts +0 -3
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
export declare enum IconName {
|
|
2
|
+
AddSquare = "add-square",
|
|
3
|
+
Add = "add",
|
|
4
|
+
Arrow2Down = "arrow-2-down",
|
|
5
|
+
Arrow2Left = "arrow-2-left",
|
|
6
|
+
Arrow2Right = "arrow-2-right",
|
|
7
|
+
Arrow2Up = "arrow-2-up",
|
|
8
|
+
Arrow2UpRight = "arrow-2-up-right",
|
|
9
|
+
ArrowDoubleLeft = "arrow-double-left",
|
|
10
|
+
ArrowDoubleRight = "arrow-double-right",
|
|
11
|
+
ArrowDown = "arrow-down",
|
|
12
|
+
ArrowLeft = "arrow-left",
|
|
13
|
+
ArrowRight = "arrow-right",
|
|
14
|
+
ArrowUp = "arrow-up",
|
|
15
|
+
BankToken = "bank-token",
|
|
16
|
+
Bank = "bank",
|
|
17
|
+
Book = "book",
|
|
18
|
+
Bookmark = "bookmark",
|
|
19
|
+
Bridge = "bridge",
|
|
20
|
+
Calculator = "calculator",
|
|
21
|
+
CardPos = "card-pos",
|
|
22
|
+
CardToken = "card-token",
|
|
23
|
+
Card = "card",
|
|
24
|
+
Category = "category",
|
|
25
|
+
Chart = "chart",
|
|
26
|
+
CheckBold = "check-bold",
|
|
27
|
+
Check = "check",
|
|
28
|
+
Clock = "clock",
|
|
29
|
+
Close = "close",
|
|
30
|
+
CodeCircle = "code-circle",
|
|
31
|
+
Coin = "coin",
|
|
32
|
+
Confirmation = "confirmation",
|
|
33
|
+
Connect = "connect",
|
|
34
|
+
CopySuccess = "copy-success",
|
|
35
|
+
Copy = "copy",
|
|
36
|
+
Customize = "customize",
|
|
37
|
+
Danger = "danger",
|
|
38
|
+
Dark = "dark",
|
|
39
|
+
Data = "data",
|
|
40
|
+
Diagram = "diagram",
|
|
41
|
+
DocumentCode = "document-code",
|
|
42
|
+
DragDrop = "drag-drop",
|
|
43
|
+
DraggingAnimation = "dragging-animation",
|
|
44
|
+
PinningAnimation = "pinning-animation",
|
|
45
|
+
Edit = "edit",
|
|
46
|
+
Eraser = "eraser",
|
|
47
|
+
Ethereum = "ethereum",
|
|
48
|
+
Expand = "expand",
|
|
49
|
+
Explore = "explore",
|
|
50
|
+
Export = "export",
|
|
51
|
+
EyeSlash = "eye-slash",
|
|
52
|
+
Eye = "eye",
|
|
53
|
+
Filter = "filter",
|
|
54
|
+
Flag = "flag",
|
|
55
|
+
FlashSlash = "flash-slash",
|
|
56
|
+
Flash = "flash",
|
|
57
|
+
FullCircle = "full-circle",
|
|
58
|
+
Gas = "gas",
|
|
59
|
+
GlobalSearch = "global-search",
|
|
60
|
+
Global = "global",
|
|
61
|
+
Graph = "graph",
|
|
62
|
+
Hardware = "hardware",
|
|
63
|
+
Heart = "heart",
|
|
64
|
+
Hierarchy = "hierarchy",
|
|
65
|
+
Home = "home",
|
|
66
|
+
Import = "import",
|
|
67
|
+
Info = "info",
|
|
68
|
+
Key = "key",
|
|
69
|
+
Light = "light",
|
|
70
|
+
Link = "link",
|
|
71
|
+
Loading = "loading",
|
|
72
|
+
LockCircle = "lock-circle",
|
|
73
|
+
LockSlash = "lock-slash",
|
|
74
|
+
Lock = "lock",
|
|
75
|
+
Login = "login",
|
|
76
|
+
Logout = "logout",
|
|
77
|
+
Menu = "menu",
|
|
78
|
+
MessageQuestion = "message-question",
|
|
79
|
+
Messages = "messages",
|
|
80
|
+
MinusBold = "minus-bold",
|
|
81
|
+
MinusSquare = "minus-square",
|
|
82
|
+
Minus = "minus",
|
|
83
|
+
Mobile = "mobile",
|
|
84
|
+
Money = "money",
|
|
85
|
+
Monitor = "monitor",
|
|
86
|
+
MoreHorizontal = "more-horizontal",
|
|
87
|
+
MoreVertical = "more-vertical",
|
|
88
|
+
NotificationCircle = "notification-circle",
|
|
89
|
+
Notification = "notification",
|
|
90
|
+
PasswordCheck = "password-check",
|
|
91
|
+
People = "people",
|
|
92
|
+
Pin = "pin",
|
|
93
|
+
ProgrammingArrows = "programming-arrows",
|
|
94
|
+
Custody = "custody",
|
|
95
|
+
Question = "question",
|
|
96
|
+
Received = "received",
|
|
97
|
+
Refresh = "refresh",
|
|
98
|
+
Save = "save",
|
|
99
|
+
ScanBarcode = "scan-barcode",
|
|
100
|
+
ScanFocus = "scan-focus",
|
|
101
|
+
Scan = "scan",
|
|
102
|
+
Scroll = "scroll",
|
|
103
|
+
Search = "search",
|
|
104
|
+
SecurityCard = "security-card",
|
|
105
|
+
SecurityCross = "security-cross",
|
|
106
|
+
SecurityKey = "security-key",
|
|
107
|
+
SecuritySearch = "security-search",
|
|
108
|
+
SecuritySlash = "security-slash",
|
|
109
|
+
SecurityTick = "security-tick",
|
|
110
|
+
SecurityTime = "security-time",
|
|
111
|
+
SecurityUser = "security-user",
|
|
112
|
+
Security = "security",
|
|
113
|
+
Send1 = "send-1",
|
|
114
|
+
Send2 = "send-2",
|
|
115
|
+
Setting = "setting",
|
|
116
|
+
Slash = "slash",
|
|
117
|
+
SnapsMobile = "snaps-mobile",
|
|
118
|
+
SnapsPlus = "snaps-plus",
|
|
119
|
+
Snaps = "snaps",
|
|
120
|
+
Speedometer = "speedometer",
|
|
121
|
+
Star = "star",
|
|
122
|
+
Stake = "stake",
|
|
123
|
+
Student = "student",
|
|
124
|
+
SwapHorizontal = "swap-horizontal",
|
|
125
|
+
SwapVertical = "swap-vertical",
|
|
126
|
+
Tag = "tag",
|
|
127
|
+
Tilde = "tilde",
|
|
128
|
+
Timer = "timer",
|
|
129
|
+
Trash = "trash",
|
|
130
|
+
TrendDown = "trend-down",
|
|
131
|
+
TrendUp = "trend-up",
|
|
132
|
+
UserCircleAdd = "user-circle-add",
|
|
133
|
+
UserCircleLink = "user-circle-link",
|
|
134
|
+
UserCircleRemove = "user-circle-remove",
|
|
135
|
+
UserCircle = "user-circle",
|
|
136
|
+
User = "user",
|
|
137
|
+
WalletCard = "wallet-card",
|
|
138
|
+
WalletMoney = "wallet-money",
|
|
139
|
+
Wallet = "wallet",
|
|
140
|
+
Warning = "warning",
|
|
141
|
+
Twitter = "twitter",
|
|
142
|
+
QrCode = "qr-code",
|
|
143
|
+
UserCheck = "user-check",
|
|
144
|
+
Unpin = "unpin",
|
|
145
|
+
Ban = "ban",
|
|
146
|
+
Bold = "bold",
|
|
147
|
+
CircleX = "circle-x",
|
|
148
|
+
Download = "download",
|
|
149
|
+
FileIcon = "file",
|
|
150
|
+
Flask = "flask",
|
|
151
|
+
Plug = "plug",
|
|
152
|
+
Share = "share",
|
|
153
|
+
Square = "square",
|
|
154
|
+
Tint = "tint",
|
|
155
|
+
Upload = "upload",
|
|
156
|
+
Usb = "usb",
|
|
157
|
+
Wifi = "wifi",
|
|
158
|
+
PlusMinus = "plus-minus"
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The props of the {@link Icon} component.
|
|
162
|
+
*
|
|
163
|
+
* @property name - The name of the icon to display from a pre-defined list.
|
|
164
|
+
* @property color - The color of the displayed icon.
|
|
165
|
+
* @property size - The size of the displayed icon. Use `inherit` to size it the same as the text.
|
|
166
|
+
*/
|
|
167
|
+
export type IconProps = {
|
|
168
|
+
name: `${IconName}`;
|
|
169
|
+
color?: 'default' | 'primary' | 'muted' | undefined;
|
|
170
|
+
size?: 'md' | 'inherit' | undefined;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* An icon component which is used to display an icon from a pre-defined list.
|
|
174
|
+
*
|
|
175
|
+
* @param props - The props of the component.
|
|
176
|
+
* @param props.name - The name of the icon to display from a pre-defined list.
|
|
177
|
+
* @param props.color - The color of the displayed icon.
|
|
178
|
+
* @param props.size - The size of the displayed icon. Use `inherit` to size it the same as the text.
|
|
179
|
+
* @returns An icon element.
|
|
180
|
+
* @example
|
|
181
|
+
* <Icon name="warning" color="warning" size="md" />
|
|
182
|
+
*/
|
|
183
|
+
export declare const Icon: import("../component").SnapComponent<IconProps, "Icon">;
|
|
184
|
+
/**
|
|
185
|
+
* An icon element.
|
|
186
|
+
*
|
|
187
|
+
* @see Icon
|
|
188
|
+
*/
|
|
189
|
+
export type IconElement = ReturnType<typeof Icon>;
|
|
190
|
+
//# sourceMappingURL=Icon.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Icon.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { createSnapComponent } from "../component.mjs";
|
|
2
|
+
// Copied from https://github.com/MetaMask/metamask-extension/blob/develop/ui/components/component-library/icon/icon.types.ts
|
|
3
|
+
// Currently requires manual syncing when new icon is added.
|
|
4
|
+
export var IconName;
|
|
5
|
+
(function (IconName) {
|
|
6
|
+
IconName["AddSquare"] = "add-square";
|
|
7
|
+
IconName["Add"] = "add";
|
|
8
|
+
IconName["Arrow2Down"] = "arrow-2-down";
|
|
9
|
+
IconName["Arrow2Left"] = "arrow-2-left";
|
|
10
|
+
IconName["Arrow2Right"] = "arrow-2-right";
|
|
11
|
+
IconName["Arrow2Up"] = "arrow-2-up";
|
|
12
|
+
IconName["Arrow2UpRight"] = "arrow-2-up-right";
|
|
13
|
+
IconName["ArrowDoubleLeft"] = "arrow-double-left";
|
|
14
|
+
IconName["ArrowDoubleRight"] = "arrow-double-right";
|
|
15
|
+
IconName["ArrowDown"] = "arrow-down";
|
|
16
|
+
IconName["ArrowLeft"] = "arrow-left";
|
|
17
|
+
IconName["ArrowRight"] = "arrow-right";
|
|
18
|
+
IconName["ArrowUp"] = "arrow-up";
|
|
19
|
+
IconName["BankToken"] = "bank-token";
|
|
20
|
+
IconName["Bank"] = "bank";
|
|
21
|
+
IconName["Book"] = "book";
|
|
22
|
+
IconName["Bookmark"] = "bookmark";
|
|
23
|
+
IconName["Bridge"] = "bridge";
|
|
24
|
+
IconName["Calculator"] = "calculator";
|
|
25
|
+
IconName["CardPos"] = "card-pos";
|
|
26
|
+
IconName["CardToken"] = "card-token";
|
|
27
|
+
IconName["Card"] = "card";
|
|
28
|
+
IconName["Category"] = "category";
|
|
29
|
+
IconName["Chart"] = "chart";
|
|
30
|
+
IconName["CheckBold"] = "check-bold";
|
|
31
|
+
IconName["Check"] = "check";
|
|
32
|
+
IconName["Clock"] = "clock";
|
|
33
|
+
IconName["Close"] = "close";
|
|
34
|
+
IconName["CodeCircle"] = "code-circle";
|
|
35
|
+
IconName["Coin"] = "coin";
|
|
36
|
+
IconName["Confirmation"] = "confirmation";
|
|
37
|
+
IconName["Connect"] = "connect";
|
|
38
|
+
IconName["CopySuccess"] = "copy-success";
|
|
39
|
+
IconName["Copy"] = "copy";
|
|
40
|
+
IconName["Customize"] = "customize";
|
|
41
|
+
IconName["Danger"] = "danger";
|
|
42
|
+
IconName["Dark"] = "dark";
|
|
43
|
+
IconName["Data"] = "data";
|
|
44
|
+
IconName["Diagram"] = "diagram";
|
|
45
|
+
IconName["DocumentCode"] = "document-code";
|
|
46
|
+
IconName["DragDrop"] = "drag-drop";
|
|
47
|
+
IconName["DraggingAnimation"] = "dragging-animation";
|
|
48
|
+
IconName["PinningAnimation"] = "pinning-animation";
|
|
49
|
+
IconName["Edit"] = "edit";
|
|
50
|
+
IconName["Eraser"] = "eraser";
|
|
51
|
+
IconName["Ethereum"] = "ethereum";
|
|
52
|
+
IconName["Expand"] = "expand";
|
|
53
|
+
IconName["Explore"] = "explore";
|
|
54
|
+
IconName["Export"] = "export";
|
|
55
|
+
IconName["EyeSlash"] = "eye-slash";
|
|
56
|
+
IconName["Eye"] = "eye";
|
|
57
|
+
IconName["Filter"] = "filter";
|
|
58
|
+
IconName["Flag"] = "flag";
|
|
59
|
+
IconName["FlashSlash"] = "flash-slash";
|
|
60
|
+
IconName["Flash"] = "flash";
|
|
61
|
+
IconName["FullCircle"] = "full-circle";
|
|
62
|
+
IconName["Gas"] = "gas";
|
|
63
|
+
IconName["GlobalSearch"] = "global-search";
|
|
64
|
+
IconName["Global"] = "global";
|
|
65
|
+
IconName["Graph"] = "graph";
|
|
66
|
+
IconName["Hardware"] = "hardware";
|
|
67
|
+
IconName["Heart"] = "heart";
|
|
68
|
+
IconName["Hierarchy"] = "hierarchy";
|
|
69
|
+
IconName["Home"] = "home";
|
|
70
|
+
IconName["Import"] = "import";
|
|
71
|
+
IconName["Info"] = "info";
|
|
72
|
+
IconName["Key"] = "key";
|
|
73
|
+
IconName["Light"] = "light";
|
|
74
|
+
IconName["Link"] = "link";
|
|
75
|
+
IconName["Loading"] = "loading";
|
|
76
|
+
IconName["LockCircle"] = "lock-circle";
|
|
77
|
+
IconName["LockSlash"] = "lock-slash";
|
|
78
|
+
IconName["Lock"] = "lock";
|
|
79
|
+
IconName["Login"] = "login";
|
|
80
|
+
IconName["Logout"] = "logout";
|
|
81
|
+
IconName["Menu"] = "menu";
|
|
82
|
+
IconName["MessageQuestion"] = "message-question";
|
|
83
|
+
IconName["Messages"] = "messages";
|
|
84
|
+
IconName["MinusBold"] = "minus-bold";
|
|
85
|
+
IconName["MinusSquare"] = "minus-square";
|
|
86
|
+
IconName["Minus"] = "minus";
|
|
87
|
+
IconName["Mobile"] = "mobile";
|
|
88
|
+
IconName["Money"] = "money";
|
|
89
|
+
IconName["Monitor"] = "monitor";
|
|
90
|
+
IconName["MoreHorizontal"] = "more-horizontal";
|
|
91
|
+
IconName["MoreVertical"] = "more-vertical";
|
|
92
|
+
IconName["NotificationCircle"] = "notification-circle";
|
|
93
|
+
IconName["Notification"] = "notification";
|
|
94
|
+
IconName["PasswordCheck"] = "password-check";
|
|
95
|
+
IconName["People"] = "people";
|
|
96
|
+
IconName["Pin"] = "pin";
|
|
97
|
+
IconName["ProgrammingArrows"] = "programming-arrows";
|
|
98
|
+
IconName["Custody"] = "custody";
|
|
99
|
+
IconName["Question"] = "question";
|
|
100
|
+
IconName["Received"] = "received";
|
|
101
|
+
IconName["Refresh"] = "refresh";
|
|
102
|
+
IconName["Save"] = "save";
|
|
103
|
+
IconName["ScanBarcode"] = "scan-barcode";
|
|
104
|
+
IconName["ScanFocus"] = "scan-focus";
|
|
105
|
+
IconName["Scan"] = "scan";
|
|
106
|
+
IconName["Scroll"] = "scroll";
|
|
107
|
+
IconName["Search"] = "search";
|
|
108
|
+
IconName["SecurityCard"] = "security-card";
|
|
109
|
+
IconName["SecurityCross"] = "security-cross";
|
|
110
|
+
IconName["SecurityKey"] = "security-key";
|
|
111
|
+
IconName["SecuritySearch"] = "security-search";
|
|
112
|
+
IconName["SecuritySlash"] = "security-slash";
|
|
113
|
+
IconName["SecurityTick"] = "security-tick";
|
|
114
|
+
IconName["SecurityTime"] = "security-time";
|
|
115
|
+
IconName["SecurityUser"] = "security-user";
|
|
116
|
+
IconName["Security"] = "security";
|
|
117
|
+
IconName["Send1"] = "send-1";
|
|
118
|
+
IconName["Send2"] = "send-2";
|
|
119
|
+
IconName["Setting"] = "setting";
|
|
120
|
+
IconName["Slash"] = "slash";
|
|
121
|
+
IconName["SnapsMobile"] = "snaps-mobile";
|
|
122
|
+
IconName["SnapsPlus"] = "snaps-plus";
|
|
123
|
+
IconName["Snaps"] = "snaps";
|
|
124
|
+
IconName["Speedometer"] = "speedometer";
|
|
125
|
+
IconName["Star"] = "star";
|
|
126
|
+
IconName["Stake"] = "stake";
|
|
127
|
+
IconName["Student"] = "student";
|
|
128
|
+
IconName["SwapHorizontal"] = "swap-horizontal";
|
|
129
|
+
IconName["SwapVertical"] = "swap-vertical";
|
|
130
|
+
IconName["Tag"] = "tag";
|
|
131
|
+
IconName["Tilde"] = "tilde";
|
|
132
|
+
IconName["Timer"] = "timer";
|
|
133
|
+
IconName["Trash"] = "trash";
|
|
134
|
+
IconName["TrendDown"] = "trend-down";
|
|
135
|
+
IconName["TrendUp"] = "trend-up";
|
|
136
|
+
IconName["UserCircleAdd"] = "user-circle-add";
|
|
137
|
+
IconName["UserCircleLink"] = "user-circle-link";
|
|
138
|
+
IconName["UserCircleRemove"] = "user-circle-remove";
|
|
139
|
+
IconName["UserCircle"] = "user-circle";
|
|
140
|
+
IconName["User"] = "user";
|
|
141
|
+
IconName["WalletCard"] = "wallet-card";
|
|
142
|
+
IconName["WalletMoney"] = "wallet-money";
|
|
143
|
+
IconName["Wallet"] = "wallet";
|
|
144
|
+
IconName["Warning"] = "warning";
|
|
145
|
+
IconName["Twitter"] = "twitter";
|
|
146
|
+
IconName["QrCode"] = "qr-code";
|
|
147
|
+
IconName["UserCheck"] = "user-check";
|
|
148
|
+
IconName["Unpin"] = "unpin";
|
|
149
|
+
IconName["Ban"] = "ban";
|
|
150
|
+
IconName["Bold"] = "bold";
|
|
151
|
+
IconName["CircleX"] = "circle-x";
|
|
152
|
+
IconName["Download"] = "download";
|
|
153
|
+
IconName["FileIcon"] = "file";
|
|
154
|
+
IconName["Flask"] = "flask";
|
|
155
|
+
IconName["Plug"] = "plug";
|
|
156
|
+
IconName["Share"] = "share";
|
|
157
|
+
IconName["Square"] = "square";
|
|
158
|
+
IconName["Tint"] = "tint";
|
|
159
|
+
IconName["Upload"] = "upload";
|
|
160
|
+
IconName["Usb"] = "usb";
|
|
161
|
+
IconName["Wifi"] = "wifi";
|
|
162
|
+
IconName["PlusMinus"] = "plus-minus";
|
|
163
|
+
})(IconName || (IconName = {}));
|
|
164
|
+
const TYPE = 'Icon';
|
|
165
|
+
/**
|
|
166
|
+
* An icon component which is used to display an icon from a pre-defined list.
|
|
167
|
+
*
|
|
168
|
+
* @param props - The props of the component.
|
|
169
|
+
* @param props.name - The name of the icon to display from a pre-defined list.
|
|
170
|
+
* @param props.color - The color of the displayed icon.
|
|
171
|
+
* @param props.size - The size of the displayed icon. Use `inherit` to size it the same as the text.
|
|
172
|
+
* @returns An icon element.
|
|
173
|
+
* @example
|
|
174
|
+
* <Icon name="warning" color="warning" size="md" />
|
|
175
|
+
*/
|
|
176
|
+
export const Icon = createSnapComponent(TYPE);
|
|
177
|
+
//# sourceMappingURL=Icon.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Icon.ts"],"names":[],"mappings":"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","sourcesContent":["import { createSnapComponent } from '../component';\n\n// Copied from https://github.com/MetaMask/metamask-extension/blob/develop/ui/components/component-library/icon/icon.types.ts\n// Currently requires manual syncing when new icon is added.\nexport enum IconName {\n AddSquare = 'add-square',\n Add = 'add',\n Arrow2Down = 'arrow-2-down',\n Arrow2Left = 'arrow-2-left',\n Arrow2Right = 'arrow-2-right',\n Arrow2Up = 'arrow-2-up',\n Arrow2UpRight = 'arrow-2-up-right',\n ArrowDoubleLeft = 'arrow-double-left',\n ArrowDoubleRight = 'arrow-double-right',\n ArrowDown = 'arrow-down',\n ArrowLeft = 'arrow-left',\n ArrowRight = 'arrow-right',\n ArrowUp = 'arrow-up',\n BankToken = 'bank-token',\n Bank = 'bank',\n Book = 'book',\n Bookmark = 'bookmark',\n Bridge = 'bridge',\n Calculator = 'calculator',\n CardPos = 'card-pos',\n CardToken = 'card-token',\n Card = 'card',\n Category = 'category',\n Chart = 'chart',\n CheckBold = 'check-bold',\n Check = 'check',\n Clock = 'clock',\n Close = 'close',\n CodeCircle = 'code-circle',\n Coin = 'coin',\n Confirmation = 'confirmation',\n Connect = 'connect',\n CopySuccess = 'copy-success',\n Copy = 'copy',\n Customize = 'customize',\n Danger = 'danger',\n Dark = 'dark',\n Data = 'data',\n Diagram = 'diagram',\n DocumentCode = 'document-code',\n DragDrop = 'drag-drop',\n DraggingAnimation = 'dragging-animation',\n PinningAnimation = 'pinning-animation',\n Edit = 'edit',\n Eraser = 'eraser',\n Ethereum = 'ethereum',\n Expand = 'expand',\n Explore = 'explore',\n Export = 'export',\n EyeSlash = 'eye-slash',\n Eye = 'eye',\n Filter = 'filter',\n Flag = 'flag',\n FlashSlash = 'flash-slash',\n Flash = 'flash',\n FullCircle = 'full-circle',\n Gas = 'gas',\n GlobalSearch = 'global-search',\n Global = 'global',\n Graph = 'graph',\n Hardware = 'hardware',\n Heart = 'heart',\n Hierarchy = 'hierarchy',\n Home = 'home',\n Import = 'import',\n Info = 'info',\n Key = 'key',\n Light = 'light',\n Link = 'link',\n Loading = 'loading',\n LockCircle = 'lock-circle',\n LockSlash = 'lock-slash',\n Lock = 'lock',\n Login = 'login',\n Logout = 'logout',\n Menu = 'menu',\n MessageQuestion = 'message-question',\n Messages = 'messages',\n MinusBold = 'minus-bold',\n MinusSquare = 'minus-square',\n Minus = 'minus',\n Mobile = 'mobile',\n Money = 'money',\n Monitor = 'monitor',\n MoreHorizontal = 'more-horizontal',\n MoreVertical = 'more-vertical',\n NotificationCircle = 'notification-circle',\n Notification = 'notification',\n PasswordCheck = 'password-check',\n People = 'people',\n Pin = 'pin',\n ProgrammingArrows = 'programming-arrows',\n Custody = 'custody',\n Question = 'question',\n Received = 'received',\n Refresh = 'refresh',\n Save = 'save',\n ScanBarcode = 'scan-barcode',\n ScanFocus = 'scan-focus',\n Scan = 'scan',\n Scroll = 'scroll',\n Search = 'search',\n SecurityCard = 'security-card',\n SecurityCross = 'security-cross',\n SecurityKey = 'security-key',\n SecuritySearch = 'security-search',\n SecuritySlash = 'security-slash',\n SecurityTick = 'security-tick',\n SecurityTime = 'security-time',\n SecurityUser = 'security-user',\n Security = 'security',\n Send1 = 'send-1',\n Send2 = 'send-2',\n Setting = 'setting',\n Slash = 'slash',\n SnapsMobile = 'snaps-mobile',\n SnapsPlus = 'snaps-plus',\n Snaps = 'snaps',\n Speedometer = 'speedometer',\n Star = 'star',\n Stake = 'stake',\n Student = 'student',\n SwapHorizontal = 'swap-horizontal',\n SwapVertical = 'swap-vertical',\n Tag = 'tag',\n Tilde = 'tilde',\n Timer = 'timer',\n Trash = 'trash',\n TrendDown = 'trend-down',\n TrendUp = 'trend-up',\n UserCircleAdd = 'user-circle-add',\n UserCircleLink = 'user-circle-link',\n UserCircleRemove = 'user-circle-remove',\n UserCircle = 'user-circle',\n User = 'user',\n WalletCard = 'wallet-card',\n WalletMoney = 'wallet-money',\n Wallet = 'wallet',\n Warning = 'warning',\n Twitter = 'twitter',\n QrCode = 'qr-code',\n UserCheck = 'user-check',\n Unpin = 'unpin',\n Ban = 'ban',\n Bold = 'bold',\n CircleX = 'circle-x',\n Download = 'download',\n FileIcon = 'file',\n Flask = 'flask',\n Plug = 'plug',\n Share = 'share',\n Square = 'square',\n Tint = 'tint',\n Upload = 'upload',\n Usb = 'usb',\n Wifi = 'wifi',\n PlusMinus = 'plus-minus',\n}\n\n/**\n * The props of the {@link Icon} component.\n *\n * @property name - The name of the icon to display from a pre-defined list.\n * @property color - The color of the displayed icon.\n * @property size - The size of the displayed icon. Use `inherit` to size it the same as the text.\n */\nexport type IconProps = {\n name: `${IconName}`;\n color?: 'default' | 'primary' | 'muted' | undefined;\n size?: 'md' | 'inherit' | undefined;\n};\n\nconst TYPE = 'Icon';\n\n/**\n * An icon component which is used to display an icon from a pre-defined list.\n *\n * @param props - The props of the component.\n * @param props.name - The name of the icon to display from a pre-defined list.\n * @param props.color - The color of the displayed icon.\n * @param props.size - The size of the displayed icon. Use `inherit` to size it the same as the text.\n * @returns An icon element.\n * @example\n * <Icon name=\"warning\" color=\"warning\" size=\"md\" />\n */\nexport const Icon = createSnapComponent<IconProps, typeof TYPE>(TYPE);\n\n/**\n * An icon element.\n *\n * @see Icon\n */\nexport type IconElement = ReturnType<typeof Icon>;\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Image = void 0;
|
|
4
|
+
const component_1 = require("../component.cjs");
|
|
5
|
+
const TYPE = 'Image';
|
|
6
|
+
/**
|
|
7
|
+
* An image component, which is used to display an image.
|
|
8
|
+
*
|
|
9
|
+
* This component does not accept any children.
|
|
10
|
+
*
|
|
11
|
+
* @param props - The props of the component.
|
|
12
|
+
* @param props.src - The URL of the image to display. This should be an SVG
|
|
13
|
+
* string, and other formats such as PNG and JPEG are not supported directly.
|
|
14
|
+
* You can use the `data:` URL scheme to embed images inside the SVG.
|
|
15
|
+
* @param props.alt - The alternative text of the image, which describes the
|
|
16
|
+
* image for users who cannot see it.
|
|
17
|
+
* @returns An image element.
|
|
18
|
+
* @example
|
|
19
|
+
* <Image src="<svg>...</svg>" alt="An example image" />
|
|
20
|
+
*/
|
|
21
|
+
exports.Image = (0, component_1.createSnapComponent)(TYPE);
|
|
22
|
+
//# sourceMappingURL=Image.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":";;;AAAA,gDAAmD;AAgBnD,MAAM,IAAI,GAAG,OAAO,CAAC;AAErB;;;;;;;;;;;;;;GAcG;AACU,QAAA,KAAK,GAAG,IAAA,+BAAmB,EAA0B,IAAI,CAAC,CAAC","sourcesContent":["import { createSnapComponent } from '../component';\n\n/**\n * The props of the {@link Image} component.\n *\n * @property src - The SVG image to display. This should be an SVG string, and\n * other formats such as PNG and JPEG are not supported directly. You can use\n * the `data:` URL scheme to embed images inside the SVG.\n * @property alt - The alternative text of the image, which describes the image\n * for users who cannot see it.\n */\ntype ImageProps = {\n src: string;\n alt?: string | undefined;\n};\n\nconst TYPE = 'Image';\n\n/**\n * An image component, which is used to display an image.\n *\n * This component does not accept any children.\n *\n * @param props - The props of the component.\n * @param props.src - The URL of the image to display. This should be an SVG\n * string, and other formats such as PNG and JPEG are not supported directly.\n * You can use the `data:` URL scheme to embed images inside the SVG.\n * @param props.alt - The alternative text of the image, which describes the\n * image for users who cannot see it.\n * @returns An image element.\n * @example\n * <Image src=\"<svg>...</svg>\" alt=\"An example image\" />\n */\nexport const Image = createSnapComponent<ImageProps, typeof TYPE>(TYPE);\n\n/**\n * An image element.\n *\n * @see Image\n */\nexport type ImageElement = ReturnType<typeof Image>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAIF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,KAAK,2DAAqD,CAAC;AAExE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The props of the {@link Image} component.
|
|
3
|
+
*
|
|
4
|
+
* @property src - The SVG image to display. This should be an SVG string, and
|
|
5
|
+
* other formats such as PNG and JPEG are not supported directly. You can use
|
|
6
|
+
* the `data:` URL scheme to embed images inside the SVG.
|
|
7
|
+
* @property alt - The alternative text of the image, which describes the image
|
|
8
|
+
* for users who cannot see it.
|
|
9
|
+
*/
|
|
10
|
+
type ImageProps = {
|
|
11
|
+
src: string;
|
|
12
|
+
alt?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* An image component, which is used to display an image.
|
|
16
|
+
*
|
|
17
|
+
* This component does not accept any children.
|
|
18
|
+
*
|
|
19
|
+
* @param props - The props of the component.
|
|
20
|
+
* @param props.src - The URL of the image to display. This should be an SVG
|
|
21
|
+
* string, and other formats such as PNG and JPEG are not supported directly.
|
|
22
|
+
* You can use the `data:` URL scheme to embed images inside the SVG.
|
|
23
|
+
* @param props.alt - The alternative text of the image, which describes the
|
|
24
|
+
* image for users who cannot see it.
|
|
25
|
+
* @returns An image element.
|
|
26
|
+
* @example
|
|
27
|
+
* <Image src="<svg>...</svg>" alt="An example image" />
|
|
28
|
+
*/
|
|
29
|
+
export declare const Image: import("../component").SnapComponent<ImageProps, "Image">;
|
|
30
|
+
/**
|
|
31
|
+
* An image element.
|
|
32
|
+
*
|
|
33
|
+
* @see Image
|
|
34
|
+
*/
|
|
35
|
+
export type ImageElement = ReturnType<typeof Image>;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=Image.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAIF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,KAAK,2DAAqD,CAAC;AAExE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createSnapComponent } from "../component.mjs";
|
|
2
|
+
const TYPE = 'Image';
|
|
3
|
+
/**
|
|
4
|
+
* An image component, which is used to display an image.
|
|
5
|
+
*
|
|
6
|
+
* This component does not accept any children.
|
|
7
|
+
*
|
|
8
|
+
* @param props - The props of the component.
|
|
9
|
+
* @param props.src - The URL of the image to display. This should be an SVG
|
|
10
|
+
* string, and other formats such as PNG and JPEG are not supported directly.
|
|
11
|
+
* You can use the `data:` URL scheme to embed images inside the SVG.
|
|
12
|
+
* @param props.alt - The alternative text of the image, which describes the
|
|
13
|
+
* image for users who cannot see it.
|
|
14
|
+
* @returns An image element.
|
|
15
|
+
* @example
|
|
16
|
+
* <Image src="<svg>...</svg>" alt="An example image" />
|
|
17
|
+
*/
|
|
18
|
+
export const Image = createSnapComponent(TYPE);
|
|
19
|
+
//# sourceMappingURL=Image.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AAgBnD,MAAM,IAAI,GAAG,OAAO,CAAC;AAErB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,mBAAmB,CAA0B,IAAI,CAAC,CAAC","sourcesContent":["import { createSnapComponent } from '../component';\n\n/**\n * The props of the {@link Image} component.\n *\n * @property src - The SVG image to display. This should be an SVG string, and\n * other formats such as PNG and JPEG are not supported directly. You can use\n * the `data:` URL scheme to embed images inside the SVG.\n * @property alt - The alternative text of the image, which describes the image\n * for users who cannot see it.\n */\ntype ImageProps = {\n src: string;\n alt?: string | undefined;\n};\n\nconst TYPE = 'Image';\n\n/**\n * An image component, which is used to display an image.\n *\n * This component does not accept any children.\n *\n * @param props - The props of the component.\n * @param props.src - The URL of the image to display. This should be an SVG\n * string, and other formats such as PNG and JPEG are not supported directly.\n * You can use the `data:` URL scheme to embed images inside the SVG.\n * @param props.alt - The alternative text of the image, which describes the\n * image for users who cannot see it.\n * @returns An image element.\n * @example\n * <Image src=\"<svg>...</svg>\" alt=\"An example image\" />\n */\nexport const Image = createSnapComponent<ImageProps, typeof TYPE>(TYPE);\n\n/**\n * An image element.\n *\n * @see Image\n */\nexport type ImageElement = ReturnType<typeof Image>;\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Link = void 0;
|
|
4
|
+
const component_1 = require("../component.cjs");
|
|
5
|
+
const TYPE = 'Link';
|
|
6
|
+
/**
|
|
7
|
+
* A link component, which is used to display a hyperlink.
|
|
8
|
+
*
|
|
9
|
+
* @param props - The props of the component.
|
|
10
|
+
* @param props.children - The text to display in the link.
|
|
11
|
+
* @param props.href - The URL to link to. This must be an `https` or `mailto`
|
|
12
|
+
* URL. `http` is not allowed.
|
|
13
|
+
* @returns A link element.
|
|
14
|
+
* @example
|
|
15
|
+
* <Link href="https://example.com">Click here</Link>
|
|
16
|
+
*/
|
|
17
|
+
exports.Link = (0, component_1.createSnapComponent)(TYPE);
|
|
18
|
+
//# sourceMappingURL=Link.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":";;;AACA,gDAAmD;AAoBnD,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB;;;;;;;;;;GAUG;AACU,QAAA,IAAI,GAAG,IAAA,+BAAmB,EAAyB,IAAI,CAAC,CAAC","sourcesContent":["import type { SnapsChildren } from '../component';\nimport { createSnapComponent } from '../component';\nimport type { StandardFormattingElement } from './formatting';\n\n/**\n * The children of the {@link Link} component.\n */\nexport type LinkChildren = SnapsChildren<string | StandardFormattingElement>;\n\n/**\n * The props of the {@link Link} component.\n *\n * @property children - The text to display in the link.\n * @property href - The URL to link to. This must be an `https` or `mailto` URL.\n * `http` is not allowed.\n */\nexport type LinkProps = {\n children: LinkChildren;\n href: string;\n};\n\nconst TYPE = 'Link';\n\n/**\n * A link component, which is used to display a hyperlink.\n *\n * @param props - The props of the component.\n * @param props.children - The text to display in the link.\n * @param props.href - The URL to link to. This must be an `https` or `mailto`\n * URL. `http` is not allowed.\n * @returns A link element.\n * @example\n * <Link href=\"https://example.com\">Click here</Link>\n */\nexport const Link = createSnapComponent<LinkProps, typeof TYPE>(TYPE);\n\n/**\n * A link element.\n *\n * @see Link\n */\nexport type LinkElement = ReturnType<typeof Link>;\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SnapsChildren } from
|
|
2
|
-
import type { StandardFormattingElement } from
|
|
1
|
+
import type { SnapsChildren } from "../component.cjs";
|
|
2
|
+
import type { StandardFormattingElement } from "./formatting/index.cjs";
|
|
3
3
|
/**
|
|
4
4
|
* The children of the {@link Link} component.
|
|
5
5
|
*/
|
|
@@ -33,3 +33,4 @@ export declare const Link: import("../component").SnapComponent<LinkProps, "Link
|
|
|
33
33
|
* @see Link
|
|
34
34
|
*/
|
|
35
35
|
export type LinkElement = ReturnType<typeof Link>;
|
|
36
|
+
//# sourceMappingURL=Link.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.cts","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAqB;AAElD,OAAO,KAAK,EAAE,yBAAyB,EAAE,+BAAqB;AAE9D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,MAAM,GAAG,yBAAyB,CAAC,CAAC;AAE7E;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,IAAI,yDAAoD,CAAC;AAEtE;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SnapsChildren } from "../component.mjs";
|
|
2
|
+
import type { StandardFormattingElement } from "./formatting/index.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* The children of the {@link Link} component.
|
|
5
|
+
*/
|
|
6
|
+
export type LinkChildren = SnapsChildren<string | StandardFormattingElement>;
|
|
7
|
+
/**
|
|
8
|
+
* The props of the {@link Link} component.
|
|
9
|
+
*
|
|
10
|
+
* @property children - The text to display in the link.
|
|
11
|
+
* @property href - The URL to link to. This must be an `https` or `mailto` URL.
|
|
12
|
+
* `http` is not allowed.
|
|
13
|
+
*/
|
|
14
|
+
export type LinkProps = {
|
|
15
|
+
children: LinkChildren;
|
|
16
|
+
href: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* A link component, which is used to display a hyperlink.
|
|
20
|
+
*
|
|
21
|
+
* @param props - The props of the component.
|
|
22
|
+
* @param props.children - The text to display in the link.
|
|
23
|
+
* @param props.href - The URL to link to. This must be an `https` or `mailto`
|
|
24
|
+
* URL. `http` is not allowed.
|
|
25
|
+
* @returns A link element.
|
|
26
|
+
* @example
|
|
27
|
+
* <Link href="https://example.com">Click here</Link>
|
|
28
|
+
*/
|
|
29
|
+
export declare const Link: import("../component").SnapComponent<LinkProps, "Link">;
|
|
30
|
+
/**
|
|
31
|
+
* A link element.
|
|
32
|
+
*
|
|
33
|
+
* @see Link
|
|
34
|
+
*/
|
|
35
|
+
export type LinkElement = ReturnType<typeof Link>;
|
|
36
|
+
//# sourceMappingURL=Link.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.mts","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAqB;AAElD,OAAO,KAAK,EAAE,yBAAyB,EAAE,+BAAqB;AAE9D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,MAAM,GAAG,yBAAyB,CAAC,CAAC;AAE7E;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,IAAI,yDAAoD,CAAC;AAEtE;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createSnapComponent } from "../component.mjs";
|
|
2
|
+
const TYPE = 'Link';
|
|
3
|
+
/**
|
|
4
|
+
* A link component, which is used to display a hyperlink.
|
|
5
|
+
*
|
|
6
|
+
* @param props - The props of the component.
|
|
7
|
+
* @param props.children - The text to display in the link.
|
|
8
|
+
* @param props.href - The URL to link to. This must be an `https` or `mailto`
|
|
9
|
+
* URL. `http` is not allowed.
|
|
10
|
+
* @returns A link element.
|
|
11
|
+
* @example
|
|
12
|
+
* <Link href="https://example.com">Click here</Link>
|
|
13
|
+
*/
|
|
14
|
+
export const Link = createSnapComponent(TYPE);
|
|
15
|
+
//# sourceMappingURL=Link.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.mjs","sourceRoot":"","sources":["../../../src/jsx/components/Link.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,yBAAqB;AAoBnD,MAAM,IAAI,GAAG,MAAM,CAAC;AAEpB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,mBAAmB,CAAyB,IAAI,CAAC,CAAC","sourcesContent":["import type { SnapsChildren } from '../component';\nimport { createSnapComponent } from '../component';\nimport type { StandardFormattingElement } from './formatting';\n\n/**\n * The children of the {@link Link} component.\n */\nexport type LinkChildren = SnapsChildren<string | StandardFormattingElement>;\n\n/**\n * The props of the {@link Link} component.\n *\n * @property children - The text to display in the link.\n * @property href - The URL to link to. This must be an `https` or `mailto` URL.\n * `http` is not allowed.\n */\nexport type LinkProps = {\n children: LinkChildren;\n href: string;\n};\n\nconst TYPE = 'Link';\n\n/**\n * A link component, which is used to display a hyperlink.\n *\n * @param props - The props of the component.\n * @param props.children - The text to display in the link.\n * @param props.href - The URL to link to. This must be an `https` or `mailto`\n * URL. `http` is not allowed.\n * @returns A link element.\n * @example\n * <Link href=\"https://example.com\">Click here</Link>\n */\nexport const Link = createSnapComponent<LinkProps, typeof TYPE>(TYPE);\n\n/**\n * A link element.\n *\n * @see Link\n */\nexport type LinkElement = ReturnType<typeof Link>;\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Row = void 0;
|
|
4
|
+
const component_1 = require("../component.cjs");
|
|
5
|
+
const TYPE = 'Row';
|
|
6
|
+
/**
|
|
7
|
+
* A row component, which is used to display a row of information.
|
|
8
|
+
*
|
|
9
|
+
* @param props - The props of the component.
|
|
10
|
+
* @param props.label - The label of the row.
|
|
11
|
+
* @param props.children - The content of the row. This can be an address, an
|
|
12
|
+
* image, or text.
|
|
13
|
+
* @param props.variant - The variant of the row.
|
|
14
|
+
* @param props.tooltip - An optional tooltip to show for the row.
|
|
15
|
+
* @returns A row element.
|
|
16
|
+
* @example
|
|
17
|
+
* <Row label="From" variant="warning" tooltip="This address has been deemed dangerous.">
|
|
18
|
+
* <Address address="0x1234567890123456789012345678901234567890" />
|
|
19
|
+
* </Row>
|
|
20
|
+
*/
|
|
21
|
+
exports.Row = (0, component_1.createSnapComponent)(TYPE);
|
|
22
|
+
//# sourceMappingURL=Row.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Row.cjs","sourceRoot":"","sources":["../../../src/jsx/components/Row.ts"],"names":[],"mappings":";;;AAAA,gDAAmD;AA+BnD,MAAM,IAAI,GAAG,KAAK,CAAC;AAEnB;;;;;;;;;;;;;;GAcG;AACU,QAAA,GAAG,GAAG,IAAA,+BAAmB,EAAwB,IAAI,CAAC,CAAC","sourcesContent":["import { createSnapComponent } from '../component';\nimport type { AddressElement } from './Address';\nimport type { ImageElement } from './Image';\nimport type { TextElement } from './Text';\nimport type { ValueElement } from './Value';\n\n/**\n * The children of a {@link Row} component.\n */\nexport type RowChildren =\n | AddressElement\n | ImageElement\n | TextElement\n | ValueElement;\n\n/**\n * The props of the {@link Row} component.\n *\n * @property label - The label of the row.\n * @property children - The content of the row. This can be an address, an\n * image, or text.\n * @property variant - The variant of the row.\n * @property tooltip - An optional tooltip to show for the row.\n */\nexport type RowProps = {\n label: string;\n children: RowChildren;\n variant?: 'default' | 'warning' | 'critical' | undefined;\n tooltip?: string | undefined;\n};\n\nconst TYPE = 'Row';\n\n/**\n * A row component, which is used to display a row of information.\n *\n * @param props - The props of the component.\n * @param props.label - The label of the row.\n * @param props.children - The content of the row. This can be an address, an\n * image, or text.\n * @param props.variant - The variant of the row.\n * @param props.tooltip - An optional tooltip to show for the row.\n * @returns A row element.\n * @example\n * <Row label=\"From\" variant=\"warning\" tooltip=\"This address has been deemed dangerous.\">\n * <Address address=\"0x1234567890123456789012345678901234567890\" />\n * </Row>\n */\nexport const Row = createSnapComponent<RowProps, typeof TYPE>(TYPE);\n\n/**\n * A row element.\n *\n * @see Row\n */\nexport type RowElement = ReturnType<typeof Row>;\n"]}
|