@metamask/snaps-sdk 6.4.0 → 6.5.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 +15 -1
- package/dist/error-wrappers.d.cts +288 -288
- package/dist/error-wrappers.d.mts +288 -288
- package/dist/images.d.cts +1 -1
- package/dist/images.d.mts +1 -1
- package/dist/internals/error-wrappers.d.cts +18 -18
- package/dist/internals/error-wrappers.d.mts +18 -18
- package/dist/jsx/component.cjs.map +1 -1
- package/dist/jsx/component.d.cts +4 -0
- package/dist/jsx/component.d.cts.map +1 -1
- package/dist/jsx/component.d.mts +4 -0
- package/dist/jsx/component.d.mts.map +1 -1
- package/dist/jsx/component.mjs.map +1 -1
- package/dist/jsx/components/Address.d.cts +1 -1
- package/dist/jsx/components/Address.d.mts +1 -1
- package/dist/jsx/components/Box.cjs.map +1 -1
- package/dist/jsx/components/Box.d.cts +3 -1
- package/dist/jsx/components/Box.d.cts.map +1 -1
- package/dist/jsx/components/Box.d.mts +3 -1
- package/dist/jsx/components/Box.d.mts.map +1 -1
- package/dist/jsx/components/Box.mjs.map +1 -1
- package/dist/jsx/components/Card.d.cts +1 -1
- package/dist/jsx/components/Card.d.mts +1 -1
- package/dist/jsx/components/Container.d.cts +1 -1
- package/dist/jsx/components/Container.d.mts +1 -1
- package/dist/jsx/components/Copyable.d.cts +1 -1
- package/dist/jsx/components/Copyable.d.mts +1 -1
- package/dist/jsx/components/Divider.d.cts +1 -1
- package/dist/jsx/components/Divider.d.mts +1 -1
- package/dist/jsx/components/Footer.d.cts +1 -1
- package/dist/jsx/components/Footer.d.mts +1 -1
- package/dist/jsx/components/Heading.d.cts +1 -1
- package/dist/jsx/components/Heading.d.mts +1 -1
- package/dist/jsx/components/Icon.d.cts +1 -1
- package/dist/jsx/components/Icon.d.mts +1 -1
- package/dist/jsx/components/Image.d.cts +1 -1
- package/dist/jsx/components/Image.d.mts +1 -1
- package/dist/jsx/components/Link.d.cts +1 -1
- package/dist/jsx/components/Link.d.mts +1 -1
- package/dist/jsx/components/Row.d.cts +1 -1
- package/dist/jsx/components/Row.d.mts +1 -1
- package/dist/jsx/components/Section.d.cts +1 -1
- package/dist/jsx/components/Section.d.mts +1 -1
- package/dist/jsx/components/Spinner.d.cts +1 -1
- package/dist/jsx/components/Spinner.d.mts +1 -1
- package/dist/jsx/components/Text.d.cts +1 -1
- package/dist/jsx/components/Text.d.mts +1 -1
- package/dist/jsx/components/Tooltip.d.cts +1 -1
- package/dist/jsx/components/Tooltip.d.mts +1 -1
- package/dist/jsx/components/Value.d.cts +1 -1
- package/dist/jsx/components/Value.d.mts +1 -1
- package/dist/jsx/components/form/Button.cjs.map +1 -1
- package/dist/jsx/components/form/Button.d.cts +3 -1
- package/dist/jsx/components/form/Button.d.cts.map +1 -1
- package/dist/jsx/components/form/Button.d.mts +3 -1
- package/dist/jsx/components/form/Button.d.mts.map +1 -1
- package/dist/jsx/components/form/Button.mjs.map +1 -1
- package/dist/jsx/components/form/Checkbox.d.cts +1 -1
- package/dist/jsx/components/form/Checkbox.d.mts +1 -1
- package/dist/jsx/components/form/Dropdown.d.cts +1 -1
- package/dist/jsx/components/form/Dropdown.d.mts +1 -1
- package/dist/jsx/components/form/Field.cjs.map +1 -1
- package/dist/jsx/components/form/Field.d.cts +3 -3
- package/dist/jsx/components/form/Field.d.cts.map +1 -1
- package/dist/jsx/components/form/Field.d.mts +3 -3
- package/dist/jsx/components/form/Field.d.mts.map +1 -1
- package/dist/jsx/components/form/Field.mjs.map +1 -1
- package/dist/jsx/components/form/FileInput.d.cts +1 -1
- package/dist/jsx/components/form/FileInput.d.mts +1 -1
- package/dist/jsx/components/form/Form.d.cts +1 -1
- package/dist/jsx/components/form/Form.d.mts +1 -1
- package/dist/jsx/components/form/Input.d.cts +1 -1
- package/dist/jsx/components/form/Input.d.mts +1 -1
- package/dist/jsx/components/form/Option.d.cts +1 -1
- package/dist/jsx/components/form/Option.d.mts +1 -1
- package/dist/jsx/components/form/Radio.d.cts +1 -1
- package/dist/jsx/components/form/Radio.d.mts +1 -1
- package/dist/jsx/components/form/RadioGroup.d.cts +1 -1
- package/dist/jsx/components/form/RadioGroup.d.mts +1 -1
- package/dist/jsx/components/form/Selector.d.cts +1 -1
- package/dist/jsx/components/form/Selector.d.mts +1 -1
- package/dist/jsx/components/form/SelectorOption.d.cts +1 -1
- package/dist/jsx/components/form/SelectorOption.d.mts +1 -1
- package/dist/jsx/components/formatting/Bold.d.cts +1 -1
- package/dist/jsx/components/formatting/Bold.d.mts +1 -1
- package/dist/jsx/components/formatting/Italic.d.cts +1 -1
- package/dist/jsx/components/formatting/Italic.d.mts +1 -1
- package/dist/jsx/validation.cjs +29 -6
- package/dist/jsx/validation.cjs.map +1 -1
- package/dist/jsx/validation.d.cts +16 -16
- package/dist/jsx/validation.d.cts.map +1 -1
- package/dist/jsx/validation.d.mts +16 -16
- package/dist/jsx/validation.d.mts.map +1 -1
- package/dist/jsx/validation.mjs +29 -6
- package/dist/jsx/validation.mjs.map +1 -1
- package/dist/types/interface.d.cts +23 -23
- package/dist/types/interface.d.mts +23 -23
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [6.5.0]
|
|
10
|
+
### Added
|
|
11
|
+
- Add `center` prop to `Box` component ([#2716](https://github.com/MetaMask/snaps/pull/2716))
|
|
12
|
+
- Add `form` prop to `Button` component ([#2712](https://github.com/MetaMask/snaps/pull/2712))
|
|
13
|
+
- This allows the `Button` component to be used outside of forms, but still
|
|
14
|
+
submit a form when clicked.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Fix invalid types in type declaration in some cases ([#2714](https://github.com/MetaMask/snaps/pull/2714))
|
|
18
|
+
- Fix type issue with `Field` children ([#2715](https://github.com/MetaMask/snaps/pull/2715))
|
|
19
|
+
- `Field` now accepts booleans and `null` as children, in addition to the
|
|
20
|
+
existing types.
|
|
21
|
+
|
|
9
22
|
## [6.4.0]
|
|
10
23
|
### Added
|
|
11
24
|
- Add `Section` component ([#2672](https://github.com/MetaMask/snaps/pull/2672))
|
|
@@ -242,7 +255,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
242
255
|
### Added
|
|
243
256
|
- Initial release of this package.
|
|
244
257
|
|
|
245
|
-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.
|
|
258
|
+
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.5.0...HEAD
|
|
259
|
+
[6.5.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.4.0...@metamask/snaps-sdk@6.5.0
|
|
246
260
|
[6.4.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.3.0...@metamask/snaps-sdk@6.4.0
|
|
247
261
|
[6.3.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.2.1...@metamask/snaps-sdk@6.3.0
|
|
248
262
|
[6.2.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.2.0...@metamask/snaps-sdk@6.2.1
|