@micromag/element-stack 0.4.17 → 0.4.18

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.
Files changed (2) hide show
  1. package/es/index.d.ts +8 -2
  2. package/package.json +2 -2
package/es/index.d.ts CHANGED
@@ -2,7 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
3
  import { StackDirection, StackAlign, StackSpacing } from '@micromag/core';
4
4
 
5
- declare function HStack(props: any): react_jsx_runtime.JSX.Element;
5
+ interface HStackProps {
6
+ [key: string]: unknown;
7
+ }
8
+ declare function HStack(props: HStackProps): react_jsx_runtime.JSX.Element;
6
9
 
7
10
  interface SpacerProps {
8
11
  size?: number | null;
@@ -36,6 +39,9 @@ declare const useStack: () => unknown;
36
39
  declare const useStackDirection: () => any;
37
40
  declare function StackProvider({ direction, children }: StackProviderProps): react_jsx_runtime.JSX.Element;
38
41
 
39
- declare function VStack(props: any): react_jsx_runtime.JSX.Element;
42
+ interface VStackProps {
43
+ [key: string]: unknown;
44
+ }
45
+ declare function VStack(props: VStackProps): react_jsx_runtime.JSX.Element;
40
46
 
41
47
  export { HStack, Spacer, StackProvider, VStack, Stack as default, useStack, useStackDirection };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-stack",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -70,6 +70,6 @@
70
70
  "access": "public",
71
71
  "registry": "https://registry.npmjs.org/"
72
72
  },
73
- "gitHead": "d9c4b170763e7510eb07100538af44524ca9292c",
73
+ "gitHead": "3066e7aa469d2ab1bfcf106bcb5c3153a9636aca",
74
74
  "types": "es/index.d.ts"
75
75
  }