react-restyle-components 0.2.11 → 0.2.12

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/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "author": {
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { Grid } from './grid.component';
2
3
  const meta = {
3
4
  title: 'Design System/Atoms/Grid',
@@ -9,5 +10,11 @@ const meta = {
9
10
  };
10
11
  export default meta;
11
12
  export const Primary = {
12
- args: {},
13
+ args: {
14
+ cols: 1,
15
+ children: (React.createElement("div", { className: "flex flex-col" },
16
+ React.createElement("span", null, "Item 1"),
17
+ React.createElement("span", null, "Item 2"),
18
+ React.createElement("span", null, "Item 3"))),
19
+ },
13
20
  };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { List } from './list.component';
2
3
  const meta = {
3
4
  title: 'Design System/Atoms/List',
@@ -9,5 +10,11 @@ const meta = {
9
10
  };
10
11
  export default meta;
11
12
  export const Primary = {
12
- args: {},
13
+ args: {
14
+ direction: 'col',
15
+ children: (React.createElement(React.Fragment, null,
16
+ React.createElement("span", null, "Item 1"),
17
+ React.createElement("span", null, "Item 2"),
18
+ React.createElement("span", null, "Item 3"))),
19
+ },
13
20
  };
@@ -3,7 +3,7 @@ import './color-picker-modal.css';
3
3
  import '../../../tc.css';
4
4
  interface ColorPickerModalProps {
5
5
  color: string;
6
- onChange: (string: any) => void;
6
+ onChange: (color: string) => void;
7
7
  onClose?: () => void;
8
8
  }
9
9
  export declare const ColorPickerModal: ({ color, onChange, onClose, }: ColorPickerModalProps) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "author": {