@emerson-eps/color-tables 0.4.48 → 0.4.49

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 (27) hide show
  1. package/dist/component/BreakPoint/Canvas.d.ts +2 -2
  2. package/dist/component/BreakPoint/Canvas.js +9 -15
  3. package/dist/component/BreakPoint/Canvas.js.map +1 -1
  4. package/dist/component/BreakPoint/ColorScale.js +7 -12
  5. package/dist/component/BreakPoint/ColorScale.js.map +1 -1
  6. package/dist/component/BreakPoint/Legend.js +41 -41
  7. package/dist/component/BreakPoint/Legend.js.map +1 -1
  8. package/dist/component/BreakPoint/Modal.js.map +1 -1
  9. package/dist/component/ColorSelector/BreakPointModule.js +94 -94
  10. package/dist/component/ColorSelector/BreakPointModule.js.map +1 -1
  11. package/dist/component/ColorSelector/ColorSelectorAccordion.js +38 -41
  12. package/dist/component/ColorSelector/ColorSelectorAccordion.js.map +1 -1
  13. package/dist/component/ColorSelector/ColorSelectorComponent.js +10 -18
  14. package/dist/component/ColorSelector/ColorSelectorComponent.js.map +1 -1
  15. package/dist/component/ColorSelector/ColorSelectorWrapper.js +11 -16
  16. package/dist/component/ColorSelector/ColorSelectorWrapper.js.map +1 -1
  17. package/dist/component/Legend/ContinuousLegend.js.map +1 -1
  18. package/dist/component/Legend/ContinuousLegend.stories.d.ts +2 -4
  19. package/dist/component/Legend/ContinuousLegend.stories.js.map +1 -1
  20. package/dist/component/Legend/DiscreteLegend.js.map +1 -1
  21. package/dist/component/Utils/discreteLegend.js +0 -2
  22. package/dist/component/Utils/discreteLegend.js.map +1 -1
  23. package/dist/component/Utils/legendCommonFunction.js +2 -4
  24. package/dist/component/Utils/legendCommonFunction.js.map +1 -1
  25. package/dist/component/Utils/legendCommonFunction.stories.d.ts +2 -4
  26. package/dist/component/Utils/legendCommonFunction.stories.js.map +1 -1
  27. package/package.json +32 -29
@@ -1 +1 @@
1
- {"version":3,"file":"legendCommonFunction.stories.js","sourceRoot":"","sources":["../../../src/component/Utils/legendCommonFunction.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EACL,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,wBAAwB,CAAC;AAEhC,eAAe;IACb,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,0BAA0B;CACQ,CAAC;AAE5C,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,GAAG,GAAG,CAAC,CAAC;AACd,IAAM,cAAc,GAAG,4BAA4B,CAAC;AACpD,IAAM,SAAS,GAAG,SAAS,CAAC;AAE5B,SAAS,QAAQ,CAAC,KAAa;IAC7B,IAAM,CAAC,GAAG,iCAAiC,CAAC,SAAS,CAAC,CAAC;IACvD,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC;AAClB,CAAC;AAED,IAAM,wBAAwB,GAA4C,UACxE,IAAI;IAEJ,OAAO,oBAAC,gBAAgB,eAAK,IAAI,EAAI,CAAC;AACxC,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,gBAAgB,GAAG,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClE,gBAAgB,CAAC,IAAI,GAAG;IACtB,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,gBAAA;IACd,gBAAgB,EAAE,QAAQ;IAC1B,cAAc,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,IAAM,uBAAuB,GAAG,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzE,uBAAuB,CAAC,IAAI,GAAG;IAC7B,GAAG,KAAA;IACH,GAAG,KAAA;IACH,cAAc,EAAE,+BAA+B;IAC/C,gBAAgB,EAAE,iCAAiC,EAAE;IACrD,cAAc,EAAE,EAAE;CACnB,CAAC"}
1
+ {"version":3,"file":"legendCommonFunction.stories.js","sourceRoot":"","sources":["../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eps/color-tables",
3
- "version": "0.4.48",
3
+ "version": "0.4.49",
4
4
  "description": "Standard library of color tables for geological domain",
5
5
  "release": {
6
6
  "branches": [
@@ -13,23 +13,23 @@
13
13
  "dist"
14
14
  ],
15
15
  "scripts": {
16
- "build": "git clean -xdff dist && tsc",
17
- "storybook": "start-storybook -p 6006",
18
- "build-storybook": "build-storybook",
16
+ "build": "git clean -xdff dist && tsc --project tsconfig.build.json",
17
+ "storybook": "storybook dev -p 6006",
18
+ "build-storybook": "storybook build",
19
19
  "semantic-release": "semantic-release",
20
20
  "typecheck": "tsc --noEmit",
21
21
  "prettier:check": "prettier --check src",
22
22
  "prettier:fix": "prettier --write src",
23
- "lint:check": "eslint --ignore-path ../.gitignore src",
23
+ "lint:check": "eslint --ignore-path ../.gitignore --max-warnings=0 src",
24
24
  "validate": "npm run typecheck && npm run lint:check && npm run prettier:check"
25
25
  },
26
26
  "dependencies": {
27
- "@emotion/react": "^11.10.5",
27
+ "@emotion/react": "^11.10.6",
28
28
  "@emotion/styled": "^11.10.0",
29
- "@equinor/eds-core-react": "^0.29.1",
29
+ "@equinor/eds-core-react": "^0.30.0",
30
30
  "@mui/icons-material": "^5.10.9",
31
31
  "@mui/material": "^5.10.2",
32
- "@mui/styles": "^5.11.13",
32
+ "@mui/system": "^5.12.0",
33
33
  "d3": "^7.2.0",
34
34
  "d3-color": "^3.0.1",
35
35
  "d3-interpolate": "^3.0.1",
@@ -42,12 +42,6 @@
42
42
  "url": "git+https://github.com/emerson-eps/color-tables.git"
43
43
  },
44
44
  "license": "MPL",
45
- "eslintConfig": {
46
- "extends": [
47
- "react-app",
48
- "react-app/jest"
49
- ]
50
- },
51
45
  "browserslist": {
52
46
  "production": [
53
47
  ">0.2%",
@@ -62,32 +56,41 @@
62
56
  },
63
57
  "devDependencies": {
64
58
  "@babel/core": "^7.16.0",
65
- "@storybook/addon-actions": "^6.5.9",
66
- "@storybook/addon-essentials": "^6.5.9",
67
- "@storybook/addon-knobs": "^6.4.0",
68
- "@storybook/addon-links": "^6.5.9",
69
- "@storybook/addon-storysource": "^6.5.12",
70
- "@storybook/builder-webpack5": "^6.5.9",
71
- "@storybook/manager-webpack5": "^6.5.9",
72
- "@storybook/react": "^6.5.9",
59
+ "@emerson-eps/eslint-config": "^5.0.1",
60
+ "@emerson-eps/prettier-config": "^1.0.4",
61
+ "@storybook/addon-actions": "^7.0.6",
62
+ "@storybook/addon-essentials": "^7.0.6",
63
+ "@storybook/addon-interactions": "^7.0.6",
64
+ "@storybook/addon-links": "^7.0.6",
65
+ "@storybook/addon-mdx-gfm": "^7.0.6",
66
+ "@storybook/addon-storysource": "^7.0.6",
67
+ "@storybook/blocks": "^7.0.6",
68
+ "@storybook/cli": "^7.0.6",
69
+ "@storybook/react": "^7.0.6",
70
+ "@storybook/react-vite": "^7.0.6",
71
+ "@storybook/testing-library": "^0.0.14-next.2",
73
72
  "@testing-library/jest-dom": "^5.16.1",
74
- "@testing-library/react": "^12.1.2",
73
+ "@testing-library/react": "^14.0.0",
75
74
  "@testing-library/user-event": "^14.1.1",
76
75
  "@types/d3": "^7.1.0",
76
+ "@types/react": "^18.0.35",
77
77
  "@types/react-color": "^3.0.6",
78
+ "@types/react-dom": "^18.0.11",
78
79
  "@types/styled-components": "^5.1.25",
79
- "babel-loader": "^9.0.1",
80
+ "eslint": "^8.38.0",
80
81
  "html-webpack-plugin": "^5.5.0",
81
- "react": "^17.0.2",
82
- "react-dom": "^17.0.2",
83
- "react-scripts": "^5.0.1",
82
+ "prettier": "^2.8.7",
83
+ "prop-types": "^15.8.1",
84
+ "react": "^18.2.0",
85
+ "react-dom": "^18.2.0",
84
86
  "semantic-release": "^20.1.0",
87
+ "storybook": "^7.0.6",
85
88
  "styled-components": "^5.3.5",
86
89
  "ts-loader": "^9.2.6",
87
90
  "typescript": "^4.5.4"
88
91
  },
89
92
  "peerDependencies": {
90
- "react": "^17.0.2",
91
- "react-dom": "^17.0.2"
93
+ "react": "^17 || ^18",
94
+ "react-dom": "^17 || ^18"
92
95
  }
93
96
  }