@cutting/svg 4.45.0 → 4.45.1

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.
@@ -1,6 +1,6 @@
1
- @cutting/svg:build: cache hit, replaying output eb1d9036a82dd9d2
1
+ @cutting/svg:build: cache hit, replaying output bfdf012c88560dc8
2
2
  @cutting/svg:build:
3
- @cutting/svg:build: > @cutting/svg@4.45.0 build /home/runner/work/cuttingedge/cuttingedge/packages/svg
3
+ @cutting/svg:build: > @cutting/svg@4.45.1 build /home/runner/work/cuttingedge/cuttingedge/packages/svg
4
4
  @cutting/svg:build: > NODE_ENV=production devtools rollup
5
5
  @cutting/svg:build:
6
6
  @cutting/svg:build: DEBUG using tsconfig.dist.json
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @cutting/svg
2
2
 
3
+ ## 4.45.1
4
+
5
+ ### Patch Changes
6
+
7
+ - afb80318: bump
8
+ - Updated dependencies [afb80318]
9
+ - @cutting/use-get-parent-size@1.19.1
10
+ - @cutting/util@4.50.1
11
+
3
12
  ## 4.45.0
4
13
 
5
14
  ### Minor Changes
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cutting/svg",
3
- "version": "4.45.0",
3
+ "version": "4.45.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dagda1/cuttingedge.git"
@@ -15,18 +15,18 @@
15
15
  "types": "dist/esm/index.d.ts",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@cutting/use-get-parent-size": "1.19.0",
19
- "@cutting/util": "4.50.0",
18
+ "@cutting/use-get-parent-size": "workspace:*",
19
+ "@cutting/util": "workspace:*",
20
20
  "classnames": "^2.3.1",
21
21
  "resize-observer-polyfill": "^1.5.1"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@babel/runtime": "7.17.9",
25
- "@cutting/component-library": "5.24.0",
26
- "@cutting/devtools": "4.52.0",
27
- "@cutting/eslint-config": "4.40.0",
28
- "@cutting/tsconfig": "4.37.0",
29
- "@cutting/useful-types": "4.36.0",
25
+ "@cutting/component-library": "workspace:*",
26
+ "@cutting/devtools": "workspace:*",
27
+ "@cutting/eslint-config": "workspace:*",
28
+ "@cutting/tsconfig": "workspace:*",
29
+ "@cutting/useful-types": "workspace:*",
30
30
  "@jest/globals": "27.5.1",
31
31
  "@testing-library/jest-dom": "5.16.4",
32
32
  "@testing-library/react": "^13.0.1",
@@ -42,6 +42,13 @@
42
42
  "react": ">= 18.x.x",
43
43
  "react-dom": ">= 18.x.x"
44
44
  },
45
+ "scripts": {
46
+ "build": "NODE_ENV=production devtools rollup",
47
+ "lint": "eslint ./src/**/*.{ts,tsx} --fix",
48
+ "start": "PORT=8888 NODE_ENV=development devtools devserver-start",
49
+ "test": "NODE_ENV=test devtools test",
50
+ "test:ci": "CI=true pnpm test"
51
+ },
45
52
  "volta": {
46
53
  "extends": "../../package.json"
47
54
  },
@@ -56,13 +63,5 @@
56
63
  "dist/esm/index.d.ts"
57
64
  ]
58
65
  }
59
- },
60
- "scripts": {
61
- "build": "NODE_ENV=production devtools rollup",
62
- "lint": "eslint ./src/**/*.{ts,tsx} --fix",
63
- "start": "PORT=8888 NODE_ENV=development devtools devserver-start",
64
- "test": "NODE_ENV=test devtools test",
65
- "test:ci": "CI=true pnpm test"
66
- },
67
- "readme": "# @cutting/svg - reusable svg components for SVG documents\n[![npm version](https://img.shields.io/npm/v/@cutting/svg.svg)](https://www.npmjs.com/package/@cutting/svg)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\n## install \n\n```sh\npnpm add @cutting/svg\n\n# or\n\nnpm install @cutting/svg\n```\n\n## ParentsizeSVG\n\nA react component that will resize and scale to the dimensions of the supplied react [ref object](https://reactjs.org/docs/refs-and-the-dom.html).\n\n![svg document resizing to scale when using the ParentsizeSVG component](./img/sizer.gif)\n\nThe `ParentsizeSVG` component takes an `parentRef` prop that should point to a valid HTML DOM element.\n\n## usage\n\n```ts\nimport { useRef } from 'react';\nimport { ParentsizeSVG } from '@cutting/svg';\n\nexport function App(): JSX.Element {\n const ref = useRef<HTMLDivElement>(null);\n\n return (\n <div className={styles.container} ref={ref}>\n <ParentsizeSVG ref={ref}>\n <rect\n x=\"20%\"\n y=\"20%\"\n width={'50%'}\n height={'50%'}\n rx=\"20\"\n style={{ fill: '#ff0000', stroke: '#000000', strokeWidth: '2px' }}\n />\n </ParentsizeSVG>\n </div>\n );\n};\n```"
68
- }
66
+ }
67
+ }