react-restyle-components 0.1.79 → 0.1.81

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.1.79",
3
+ "version": "0.1.80",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "main": "./lib/index.js",
@@ -130,6 +130,13 @@
130
130
  "restyle-components",
131
131
  "tech-abl"
132
132
  ],
133
+ "repository": {
134
+ "type": "git",
135
+ "url": "git+https://github.com/appasaheb4/react-restyle-components.git"
136
+ },
137
+ "bugs": {
138
+ "url": "https://github.com/appasaheb4/react-restyle-components/issues"
139
+ },
133
140
  "homepage": "https://appasaheb4.github.io/react-restyle-components",
134
141
  "lint-staged": {
135
142
  "*.{js,jsx,json,css,scss,md}": [
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 submodules"))));
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
  });
@@ -1,9 +1,9 @@
1
- import UnCheckbox from '../../../library/assets/svg/unCheckbox.svg';
2
- import CheckedBox from '../../../library/assets/svg/checkedBox.svg';
3
- import DatePickerSvg from '../../../library/assets/svg/datePicker.svg';
4
- import CheckedRadio from '../../../library/assets/svg/checkedRadio.svg';
5
- import UncheckRadio from '../../../library/assets/svg/uncheckRadio.svg';
6
- import TimerSVG from '../../../library/assets/svg/timer.svg';
7
- import UpArrow from '../../../library/assets/svg/UpArrow.svg';
8
- import DownArrow from '../../../library/assets/svg/DownArrow.svg';
1
+ import UnCheckbox from './unCheckbox.svg';
2
+ import CheckedBox from './checkedBox.svg';
3
+ import DatePickerSvg from './datePicker.svg';
4
+ import CheckedRadio from './checkedRadio.svg';
5
+ import UncheckRadio from './uncheckRadio.svg';
6
+ import TimerSVG from './timer.svg';
7
+ import UpArrow from './UpArrow.svg';
8
+ import DownArrow from './DownArrow.svg';
9
9
  export { UnCheckbox, CheckedBox, DatePickerSvg, CheckedRadio, UncheckRadio, TimerSVG, UpArrow, DownArrow, };
@@ -1,11 +1,11 @@
1
- import UnCheckbox from '../../../library/assets/svg/unCheckbox.svg';
2
- import CheckedBox from '../../../library/assets/svg/checkedBox.svg';
3
- import DatePickerSvg from '../../../library/assets/svg/datePicker.svg';
4
- import CheckedRadio from '../../../library/assets/svg/checkedRadio.svg';
5
- import UncheckRadio from '../../../library/assets/svg/uncheckRadio.svg';
6
- import TimerSVG from '../../../library/assets/svg/timer.svg';
7
- import UpArrow from '../../../library/assets/svg/UpArrow.svg';
8
- import DownArrow from '../../../library/assets/svg/DownArrow.svg';
1
+ import UnCheckbox from './unCheckbox.svg';
2
+ import CheckedBox from './checkedBox.svg';
3
+ import DatePickerSvg from './datePicker.svg';
4
+ import CheckedRadio from './checkedRadio.svg';
5
+ import UncheckRadio from './uncheckRadio.svg';
6
+ import TimerSVG from './timer.svg';
7
+ import UpArrow from './UpArrow.svg';
8
+ import DownArrow from './DownArrow.svg';
9
9
  export { UnCheckbox, CheckedBox, DatePickerSvg, CheckedRadio, UncheckRadio, TimerSVG, UpArrow, DownArrow, };
10
10
  // import {ReactComponent as UnCheckbox} from '../../../library/assets/svg/unCheckbox.svg';
11
11
  // import {ReactComponent as CheckedBox} from '../../../library/assets/svg/checkedBox.svg';
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.81",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "main": "./lib/index.js",
@@ -130,6 +130,13 @@
130
130
  "restyle-components",
131
131
  "tech-abl"
132
132
  ],
133
+ "repository": {
134
+ "type": "git",
135
+ "url": "git+https://github.com/appasaheb4/react-restyle-components.git"
136
+ },
137
+ "bugs": {
138
+ "url": "https://github.com/appasaheb4/react-restyle-components/issues"
139
+ },
133
140
  "homepage": "https://appasaheb4.github.io/react-restyle-components",
134
141
  "lint-staged": {
135
142
  "*.{js,jsx,json,css,scss,md}": [