genesys-spark-components-react 3.70.1 → 3.70.2

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Genesys Cloud Services, Inc.
3
+ Copyright (c) 2023 Genesys Cloud Services, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # genesys-spark-components-react
2
+
3
+ This should contain useful information about the package
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { StyleReactProps } from '../interfaces';
3
- export declare type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
4
- export declare type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
3
+ export type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
4
+ export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
5
5
  export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
6
6
  export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
7
7
  export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & StyleReactProps> & React.RefAttributes<ElementType>>;
package/package.json CHANGED
@@ -1,31 +1,45 @@
1
1
  {
2
2
  "name": "genesys-spark-components-react",
3
- "version": "3.70.1",
3
+ "version": "3.70.2",
4
4
  "description": "",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "build": "npm run clean && tsc",
8
- "clean": "rm -r ./dist || true",
9
- "test": "echo \"Error: no test specified\" && exit 1"
10
- },
11
- "author": "",
12
5
  "license": "MIT",
6
+ "main": "dist/index.js",
13
7
  "files": [
14
8
  "dist"
15
9
  ],
16
- "dependencies": {
17
- "genesys-spark-components": "3.70.1"
10
+ "scripts": {
11
+ "prebuild": "npm run clean",
12
+ "build": "tsc",
13
+ "clean": "rm -r ./dist || true",
14
+ "eslint": "eslint . --ignore-path .gitignore --no-error-on-unmatched-pattern --fix",
15
+ "lint-all": "npm-run-all \"eslint\" \"prettier\" \"prettier-package-json\"",
16
+ "lint-staged": "lint-staged",
17
+ "prettier": "prettier --loglevel silent --ignore-path .gitignore --ignore-unknown --write .",
18
+ "prettier-package-json": "prettier-package-json --write ./package.json",
19
+ "version-sync": "npm version --no-git-tag-version --allow-same-version"
20
+ },
21
+ "peerDependencies": {
22
+ "@types/react": "16-18",
23
+ "react": "16 - 18",
24
+ "react-dom": "16 - 18"
18
25
  },
19
26
  "devDependencies": {
20
27
  "@types/react": "^17.0.37",
21
28
  "@types/react-dom": "^17.0.11",
29
+ "@typescript-eslint/eslint-plugin": "^5.48.1",
30
+ "@typescript-eslint/parser": "^5.48.1",
31
+ "eslint": "^8.31.0",
32
+ "eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
33
+ "eslint-config-prettier": "^8.6.0",
34
+ "genesys-spark-components": "file:../genesys-spark-components",
35
+ "lint-staged": "^13.1.1",
36
+ "npm-run-all": "^4.1.5",
37
+ "prettier": "^2.8.3",
38
+ "prettier-config-genesys-spark-components": "file:../../shared-configs/prettier-config-genesys-spark-components",
39
+ "prettier-package-json": "^2.8.0",
22
40
  "react": "^17.0.2",
23
41
  "react-dom": "17.0.2",
24
42
  "typescript": "^4.5.4"
25
43
  },
26
- "peerDependencies": {
27
- "@types/react": "16-18",
28
- "react": "16 - 18",
29
- "react-dom": "16 - 18"
30
- }
44
+ "prettier": "prettier-config-genesys-spark-components"
31
45
  }