@cutting/svg 4.43.1 → 4.44.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.
@@ -1,6 +1,6 @@
1
- @cutting/svg:build: cache hit, replaying output 3ea9a47a8bc288f4
1
+ @cutting/svg:build: cache hit, replaying output 3affa4aa45ef9128
2
2
  @cutting/svg:build:
3
- @cutting/svg:build: > @cutting/svg@4.43.1 build /home/runner/work/cuttingedge/cuttingedge/packages/svg
3
+ @cutting/svg:build: > @cutting/svg@4.44.0 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,27 @@
1
1
  # @cutting/svg
2
2
 
3
+ ## 4.44.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 7ea7da5d: here we go
8
+
9
+ ### Patch Changes
10
+
11
+ - 7ea7da5d: AAA
12
+ - Updated dependencies [7ea7da5d]
13
+ - Updated dependencies [7ea7da5d]
14
+ - @cutting/use-get-parent-size@1.18.0
15
+ - @cutting/util@4.49.0
16
+
17
+ ## 4.43.2
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [1edcec38]
22
+ - @cutting/util@4.48.0
23
+ - @cutting/use-get-parent-size@1.17.2
24
+
3
25
  ## 4.43.1
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cutting/svg",
3
- "version": "4.43.1",
3
+ "version": "4.44.0",
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": "workspace:*",
19
- "@cutting/util": "workspace:*",
18
+ "@cutting/use-get-parent-size": "1.18.0",
19
+ "@cutting/util": "4.49.0",
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": "workspace:*",
26
- "@cutting/devtools": "workspace:*",
27
- "@cutting/eslint-config": "workspace:*",
28
- "@cutting/tsconfig": "workspace:*",
29
- "@cutting/useful-types": "workspace:*",
25
+ "@cutting/component-library": "5.23.0",
26
+ "@cutting/devtools": "4.51.0",
27
+ "@cutting/eslint-config": "4.39.0",
28
+ "@cutting/tsconfig": "4.36.0",
29
+ "@cutting/useful-types": "4.35.0",
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,13 +42,6 @@
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
- },
52
45
  "volta": {
53
46
  "extends": "../../package.json"
54
47
  },
@@ -63,5 +56,13 @@
63
56
  "dist/esm/index.d.ts"
64
57
  ]
65
58
  }
66
- }
67
- }
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
+ }
Binary file