react-restyle-components 0.1.79 → 0.1.80

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/src/App.js CHANGED
@@ -9,6 +9,6 @@ function App() {
9
9
  "Edit ",
10
10
  React.createElement("code", null, "src/App.tsx"),
11
11
  " and save to reload."),
12
- React.createElement("a", { className: "App-link", href: "https://reactjs.org", target: "_blank", rel: "noopener noreferrer" }, "Learn React"))));
12
+ React.createElement("a", { className: "App-link", href: "https://reactjs.org", target: "_blank", rel: "noopener noreferrer" }, "Learn npm"))));
13
13
  }
14
14
  export default App;
@@ -17,4 +17,5 @@ export * from './atoms/tabs/tabs.component';
17
17
  export * from './molecules/css-multiline-input/css-multiline-input.component';
18
18
  export * from './molecules/auto-complete-filter-multiple-select-multiple-fields-display/auto-complete-filter-multiple-select-multiple-fields-display.component';
19
19
  export * from './molecules/auto-complete-filter-single-select-multiple-fields-display/auto-complete-filter-single-select-multiple-fields-display.component';
20
+ export * from './molecules/mutiple-select/multi-select.component';
20
21
  export { Form };
@@ -17,4 +17,5 @@ export * from './atoms/tabs/tabs.component';
17
17
  export * from './molecules/css-multiline-input/css-multiline-input.component';
18
18
  export * from './molecules/auto-complete-filter-multiple-select-multiple-fields-display/auto-complete-filter-multiple-select-multiple-fields-display.component';
19
19
  export * from './molecules/auto-complete-filter-single-select-multiple-fields-display/auto-complete-filter-single-select-multiple-fields-display.component';
20
+ export * from './molecules/mutiple-select/multi-select.component';
20
21
  export { Form };
@@ -11,7 +11,7 @@ export default meta;
11
11
  export const Primary = {
12
12
  args: {
13
13
  options: ['UPI', 'CARD', 'CASH'],
14
- selectedItems: ['CASH'],
14
+ selectedItems: ['CASH', 'UPI'],
15
15
  onSelect: (item) => {
16
16
  console.log({ item });
17
17
  },
@@ -5,6 +5,6 @@ import React from 'react';
5
5
  import { render } from '@core-utils';
6
6
  import { MultipleSelect } from './multi-select.component';
7
7
  it('render MultipleSelect correctly', () => {
8
- const result = render(React.createElement(MultipleSelect, { options: [''], selectedItems: [''], onSelect: () => { } }));
8
+ const result = render(React.createElement(MultipleSelect, { options: ['UPI', 'CASH'], selectedItems: ['CASH'], onSelect: () => { } }));
9
9
  expect(result).toMatchSnapshot();
10
10
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.1.79",
3
+ "version": "0.1.80",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "main": "./lib/index.js",