@dtdot/lego 0.19.8 → 0.19.11

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.
@@ -5,5 +5,5 @@ export interface InlineCardSelectionProps {
5
5
  value?: string[];
6
6
  onChange?: (value: string[]) => void;
7
7
  }
8
- declare const InlineCardSelection: ({ children, name, value: propsValue, onChange: propsOnChange, }: InlineCardSelectionProps) => JSX.Element;
8
+ declare const InlineCardSelection: ({ children, name, value, onChange, }: InlineCardSelectionProps) => JSX.Element;
9
9
  export default InlineCardSelection;
@@ -103,7 +103,7 @@ const LiveList = ({ value: inputValue, name, onChange: propsOnChange }) => {
103
103
  return (React.createElement("div", { "data-cy": 'live-list' },
104
104
  value.map((val) => (React.createElement(LiveListRow, { key: val.id, id: val.id, value: val.value, error: contextError ? contextError[val.id] : undefined, onChange: (newVal) => handleRowChange(val.id, newVal), onRemove: () => handleRowRemove(val.id) }))),
105
105
  React.createElement(AddRow, null,
106
- React.createElement(AddRowInner, { style: { scale: 1 }, whileHover: 'hover', variants: addVariants, onClick: handleRowAdd },
106
+ React.createElement(AddRowInner, { style: { scale: 1 }, whileHover: 'hover', variants: addVariants, onClick: handleRowAdd, "data-cy": 'button-add-list-item' },
107
107
  React.createElement(IconContainer, null,
108
108
  React.createElement(FontAwesomeIcon, { icon: faPlusCircle })),
109
109
  "add"))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtdot/lego",
3
- "version": "0.19.8",
3
+ "version": "0.19.11",
4
4
  "description": "Some reusable components for building my applications",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -17,53 +17,52 @@
17
17
  "build"
18
18
  ],
19
19
  "devDependencies": {
20
- "@babel/cli": "^7.17.0",
21
- "@babel/core": "^7.17.2",
22
- "@babel/preset-react": "^7.16.7",
23
- "@babel/preset-typescript": "^7.16.7",
20
+ "@babel/cli": "^7.18.10",
21
+ "@babel/core": "^7.19.0",
22
+ "@babel/preset-react": "^7.18.6",
23
+ "@babel/preset-typescript": "^7.18.6",
24
24
  "@storybook/addon-actions": "^6.4.19",
25
25
  "@storybook/addon-essentials": "^6.4.19",
26
- "@storybook/addon-links": "^6.4.19",
27
- "@storybook/react": "^6.4.19",
26
+ "@storybook/react": "^6.1.21",
28
27
  "@types/identicon.js": "^2.3.1",
29
- "@types/qrcode": "^1.4.2",
30
- "@types/react": "^17.0.39",
31
- "@types/react-dom": "^17.0.11",
28
+ "@types/qrcode": "^1.5.0",
29
+ "@types/react": "^18.0.20",
30
+ "@types/react-dom": "^18.0.6",
32
31
  "@types/spark-md5": "^3.0.2",
33
- "@types/styled-components": "^5.1.22",
32
+ "@types/styled-components": "^5.1.26",
34
33
  "@types/uuid": "^8.3.4",
35
- "@typescript-eslint/eslint-plugin": "^5.16.0",
36
- "@typescript-eslint/parser": "^5.16.0",
37
- "babel-loader": "^8.2.3",
38
- "eslint": "^8.12.0",
34
+ "@typescript-eslint/eslint-plugin": "^5.37.0",
35
+ "@typescript-eslint/parser": "^5.37.0",
36
+ "babel-loader": "^8.2.5",
37
+ "eslint": "^8.23.1",
39
38
  "eslint-config-prettier": "^8.5.0",
40
- "eslint-plugin-prettier": "^4.0.0",
41
- "eslint-plugin-react": "^7.29.4",
42
- "eslint-plugin-react-hooks": "^4.3.0",
43
- "prettier": "^2.6.1",
44
- "prettier-eslint": "^13.0.0",
45
- "react": "^17.0.2",
46
- "react-dom": "^17.0.2",
39
+ "eslint-plugin-prettier": "^4.2.1",
40
+ "eslint-plugin-react": "^7.31.8",
41
+ "eslint-plugin-react-hooks": "^4.6.0",
42
+ "prettier": "^2.7.1",
43
+ "prettier-eslint": "^15.0.1",
44
+ "react": "^18.2.0",
45
+ "react-dom": "^18.2.0",
47
46
  "storybook-addon-styled-component-theme": "^2.0.0",
48
47
  "styled-components": "^5.3.5",
49
- "typescript": "^4.5.5"
48
+ "typescript": "^4.8.3"
50
49
  },
51
50
  "peerDependencies": {
52
- "react": "^17.0.1",
53
- "react-dom": "^17.0.1",
51
+ "react": "^18.2.0",
52
+ "react-dom": "^18.2.0",
54
53
  "styled-components": "^5.3.5"
55
54
  },
56
55
  "dependencies": {
57
- "@fortawesome/fontawesome-svg-core": "^1.2.32",
58
- "@fortawesome/free-solid-svg-icons": "^5.15.4",
59
- "@fortawesome/react-fontawesome": "^0.1.13",
60
- "@popperjs/core": "^2.11.4",
61
- "framer-motion": "^6.2.8",
56
+ "@fortawesome/fontawesome-svg-core": "^6.2.0",
57
+ "@fortawesome/free-solid-svg-icons": "^6.2.0",
58
+ "@fortawesome/react-fontawesome": "^0.2.0",
59
+ "@popperjs/core": "^2.11.6",
60
+ "framer-motion": "^7.3.4",
62
61
  "identicon.js": "^2.3.3",
63
- "qrcode": "^1.5.0",
62
+ "qrcode": "^1.5.1",
64
63
  "react-popper": "^2.2.5",
65
64
  "react-use-measure": "^2.1.1",
66
65
  "spark-md5": "^3.0.2",
67
- "uuid": "^8.3.2"
66
+ "uuid": "^9.0.0"
68
67
  }
69
68
  }