@watermarkinsights/ripple-react 3.31.0 → 3.33.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.
Files changed (3) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +31 -31
  3. package/package.json +48 -48
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Ionic
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Ionic
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,31 +1,31 @@
1
- # React wrappers
2
-
3
- This package is React-specific wrapper created for [Ripple](https://www.npmjs.com/package/@watermarkinsights/ripple), Watermark's component library. It makes it easier to use the components in React projects, i.e., the same way you would any other React component. Implementing the components is slightly different than standard usage, which is documented [here](https://ripple.watermarkinsights.com/). The main differences:
4
-
5
- - Component names start with an uppercase letter and use CamelCase instead of kebab-case.
6
-
7
- - All events start with `on`. For example, the pagination component's `pageClicked` event will translate to `onPageClicked` when using the React package.
8
-
9
-
10
- For installation instructions, see https://ripple.watermarkinsights.com/components/installation
11
- This project is based on https://github.com/ionic-team/stencil-ds-plugins-demo/tree/master/packages/component-library-react
12
-
13
- ## Usage
14
-
15
- ```jsx
16
- import React, { Component } from "react";
17
- import { WmDatepicker } from "@watermarkinsights/ripple-react";
18
-
19
- class Example extends Component {
20
- render() {
21
- return (
22
- <WmDatepicker
23
- label="Accessible Datepicker"
24
- labelPosition="none"
25
- onInput={}
26
- />
27
- );
28
- }
29
- }
30
- ```
31
-
1
+ # React wrappers
2
+
3
+ This package is React-specific wrapper created for [Ripple](https://www.npmjs.com/package/@watermarkinsights/ripple), Watermark's component library. It makes it easier to use the components in React projects, i.e., the same way you would any other React component. Implementing the components is slightly different than standard usage, which is documented [here](https://ripple.watermarkinsights.com/). The main differences:
4
+
5
+ - Component names start with an uppercase letter and use CamelCase instead of kebab-case.
6
+
7
+ - All events start with `on`. For example, the pagination component's `pageClicked` event will translate to `onPageClicked` when using the React package.
8
+
9
+
10
+ For installation instructions, see https://ripple.watermarkinsights.com/components/installation
11
+ This project is based on https://github.com/ionic-team/stencil-ds-plugins-demo/tree/master/packages/component-library-react
12
+
13
+ ## Usage
14
+
15
+ ```jsx
16
+ import React, { Component } from "react";
17
+ import { WmDatepicker } from "@watermarkinsights/ripple-react";
18
+
19
+ class Example extends Component {
20
+ render() {
21
+ return (
22
+ <WmDatepicker
23
+ label="Accessible Datepicker"
24
+ labelPosition="none"
25
+ onInput={}
26
+ />
27
+ );
28
+ }
29
+ }
30
+ ```
31
+
package/package.json CHANGED
@@ -1,48 +1,48 @@
1
- {
2
- "name": "@watermarkinsights/ripple-react",
3
- "version": "3.31.0",
4
- "description": "React specific wrappers for Ripple component library",
5
- "scripts": {
6
- "build": "npm run clean && npm run compile",
7
- "clean": "rm -rf dist",
8
- "compile": "npm run tsc",
9
- "tsc": "tsc -p .",
10
- "release": "sh ./scripts/release.sh"
11
- },
12
- "main": "./dist/index.js",
13
- "module": "./dist/index.js",
14
- "types": "./dist/index.d.ts",
15
- "files": [
16
- "dist/"
17
- ],
18
- "sideEffects": [
19
- "dist/index.js"
20
- ],
21
- "devDependencies": {
22
- "@types/jest": "23.3.9",
23
- "@types/node": "^15.12.2",
24
- "@types/react": "^17.0.34",
25
- "@types/react-dom": "^17.0.11",
26
- "jest": "^28.0.2",
27
- "jest-dom": "^3.0.2",
28
- "np": "^7.6.1",
29
- "react": "^17.0.2",
30
- "react-dom": "^17.0.2",
31
- "typescript": "^3.3.4000"
32
- },
33
- "peerDependencies": {
34
- "react": "^17.0.2",
35
- "react-dom": "^17.0.2"
36
- },
37
- "jest": {
38
- "preset": "ts-jest",
39
- "setupTestFrameworkScriptFile": "<rootDir>/jest.setup.js",
40
- "testPathIgnorePatterns": [
41
- "node_modules",
42
- "dist"
43
- ]
44
- },
45
- "dependencies": {
46
- "@watermarkinsights/ripple": "3.31.0"
47
- }
48
- }
1
+ {
2
+ "name": "@watermarkinsights/ripple-react",
3
+ "version": "3.33.0",
4
+ "description": "React specific wrappers for Ripple component library",
5
+ "scripts": {
6
+ "build": "npm run clean && npm run compile",
7
+ "clean": "rm -rf dist",
8
+ "compile": "npm run tsc",
9
+ "tsc": "tsc -p .",
10
+ "release": "sh ./scripts/release.sh"
11
+ },
12
+ "main": "./dist/index.js",
13
+ "module": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "files": [
16
+ "dist/"
17
+ ],
18
+ "sideEffects": [
19
+ "dist/index.js"
20
+ ],
21
+ "devDependencies": {
22
+ "@types/jest": "23.3.9",
23
+ "@types/node": "^15.12.2",
24
+ "@types/react": "^17.0.34",
25
+ "@types/react-dom": "^17.0.11",
26
+ "jest": "^28.0.2",
27
+ "jest-dom": "^3.0.2",
28
+ "np": "^7.6.1",
29
+ "react": "^17.0.2",
30
+ "react-dom": "^17.0.2",
31
+ "typescript": "^3.3.4000"
32
+ },
33
+ "peerDependencies": {
34
+ "react": "^17.0.2",
35
+ "react-dom": "^17.0.2"
36
+ },
37
+ "jest": {
38
+ "preset": "ts-jest",
39
+ "setupTestFrameworkScriptFile": "<rootDir>/jest.setup.js",
40
+ "testPathIgnorePatterns": [
41
+ "node_modules",
42
+ "dist"
43
+ ]
44
+ },
45
+ "dependencies": {
46
+ "@watermarkinsights/ripple": "3.33.0"
47
+ }
48
+ }