@cutting/svg 4.50.2 → 4.51.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.
- package/.turbo/turbo-build.log +14 -15
- package/CHANGELOG.md +13 -0
- package/dist/esm/components/Group/Group.d.ts +2 -2
- package/dist/esm/components/Group/Group.d.ts.map +1 -1
- package/dist/esm/components/Line/Line.d.ts +1 -1
- package/dist/esm/components/Line/Line.d.ts.map +1 -1
- package/dist/esm/components/ParentsizeSVG/ParentsizeSVG.d.ts +2 -2
- package/dist/esm/components/ParentsizeSVG/ParentsizeSVG.d.ts.map +1 -1
- package/dist/esm/components/ResponsiveSVG/ResponsiveSVG.d.ts +1 -1
- package/dist/esm/components/ResponsiveSVG/ResponsiveSVG.d.ts.map +1 -1
- package/dist/esm/types/types.d.ts +5 -5
- package/dist/esm/types/types.d.ts.map +1 -1
- package/package.json +16 -16
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
@cutting/svg
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@cutting/svg
|
|
7
|
-
|
|
8
|
-
@cutting/svg
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@cutting/svg
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
@cutting/svg:build:
|
|
1
|
+
|
|
2
|
+
> @cutting/svg@4.51.0 build /home/runner/work/cuttingedge/cuttingedge/packages/svg
|
|
3
|
+
> NODE_ENV=production devtools rollup
|
|
4
|
+
|
|
5
|
+
DEBUG using tsconfig.dist.json
|
|
6
|
+
START using input file index.ts for @cutting/svg
|
|
7
|
+
|
|
8
|
+
INFO Generating @cutting/svg bundle.
|
|
9
|
+
INFO writing index.min.js for @cutting/svg
|
|
10
|
+
INFO preserveModules is false
|
|
11
|
+
INFO writing index.js for @cutting/svg
|
|
12
|
+
DEBUG copying assets to /home/runner/work/cuttingedge/cuttingedge/packages/svg/dist
|
|
13
|
+
DONE finished building
|
|
14
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @cutting/svg
|
|
2
2
|
|
|
3
|
+
## 4.51.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 907b7c62: bump versions
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [907b7c62]
|
|
12
|
+
- @cutting/react-abortable-fetch@0.34.0
|
|
13
|
+
- @cutting/use-get-parent-size@1.25.0
|
|
14
|
+
- @cutting/util@4.56.0
|
|
15
|
+
|
|
3
16
|
## 4.50.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type GroupOnlyProps = {
|
|
2
2
|
/** Top offset applied to `<g/>`. */
|
|
3
3
|
y?: number;
|
|
4
4
|
/** Left offset applied to `<g/>`. */
|
|
@@ -9,7 +9,7 @@ declare type GroupOnlyProps = {
|
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
innerRef?: React.Ref<SVGGElement>;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
type GroupProps = GroupOnlyProps & Omit<React.SVGProps<SVGGElement>, keyof GroupOnlyProps>;
|
|
13
13
|
export declare function Group({ y, x, transform, className, children, innerRef, ...restProps }: GroupProps): JSX.Element;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=Group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../src/components/Group/Group.tsx"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../src/components/Group/Group.tsx"],"names":[],"mappings":"AAEA,KAAK,cAAc,GAAG;IACpB,oCAAoC;IACpC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,qCAAqC;IACrC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;CACnC,CAAC;AAEF,KAAK,UAAU,GAAG,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,cAAc,CAAC,CAAC;AAE3F,wBAAgB,KAAK,CAAC,EACpB,CAAK,EACL,CAAK,EACL,SAAS,EACT,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,GAAG,SAAS,EACb,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAW1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../../src/components/Line/Line.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../../src/components/Line/Line.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,oCAAoC;IACpC,EAAE,CAAC,EAAE,KAAK,CAAC;CACZ,CAAC;AAEF,wBAAgB,IAAI,CAAC,EACnB,IAAqB,EACrB,EAAmB,EACnB,IAAoB,EACpB,SAAS,EACT,QAAQ,EACR,GAAG,SAAS,EACb,EAAE,WAAW,CAAC,SAAS,EAAE,cAAc,CAAC,GAAG,GAAG,CAAC,OAAO,CAgBtD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { CSSProperties, PropsWithChildren, RefObject } from 'react';
|
|
2
2
|
import type { ResponsiveSVGProps } from '../ResponsiveSVG/ResponsiveSVG.js';
|
|
3
3
|
import type { UseParentSizeOptions } from '@cutting/use-get-parent-size';
|
|
4
|
-
|
|
5
|
-
export
|
|
4
|
+
type Align = 'none' | 'center';
|
|
5
|
+
export type ParentsizeSVGProps<E extends HTMLElement = HTMLElement> = {
|
|
6
6
|
parentRef: RefObject<E>;
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
align?: Align;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParentsizeSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/ParentsizeSVG/ParentsizeSVG.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAKzE,
|
|
1
|
+
{"version":3,"file":"ParentsizeSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/ParentsizeSVG/ParentsizeSVG.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAKzE,KAAK,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/B,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IACpE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACzC,GAAG,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC;AAExE,eAAO,MAAM,YAAY,EAAE,aAOjB,CAAC;AAEX,wBAAgB,aAAa,CAAC,CAAC,SAAS,WAAW,EAAE,EACnD,SAAS,EACT,QAAQ,EACR,KAAoB,EACpB,KAAS,EACT,KAAc,EACd,OAAO,EAAE,EAAE,aAAkB,EAAE,GAAG,WAAW,EAAO,EACpD,GAAG,IAAI,EACR,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAwB/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/ResponsiveSVG/ResponsiveSVG.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE5E,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,
|
|
1
|
+
{"version":3,"file":"ResponsiveSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/ResponsiveSVG/ResponsiveSVG.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE5E,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC,CAAC;AAEH,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,KAAK,EACL,QAAQ,EACR,MAAuB,EACvB,mBAAqC,EACrC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CA0BlC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { SVGAttributes as SvgAttributes } from 'react';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
2
|
+
export type PreserveAspectRatioAlignment = 'xMinYMin' | 'xMidYMin' | 'xMaxYMin' | 'xMinYMid' | 'xMidYMid' | 'xMaxYMid' | 'xMinYMax' | 'xMidYMax' | 'xMaxYMax';
|
|
3
|
+
export type MeetOrSlice = 'meet' | 'slice';
|
|
4
|
+
export type PreserveAspectRatio = `${PreserveAspectRatioAlignment} ${MeetOrSlice}`;
|
|
5
|
+
export type AddSVGProps<Props, Element extends SVGElement> = Props & Omit<React.SVGProps<Element>, keyof Props>;
|
|
6
6
|
export interface Point {
|
|
7
7
|
x: number;
|
|
8
8
|
y: number;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type SVGAttributes<T> = T & Omit<SvgAttributes<SVGSVGElement>, 'origin' | 'viewBox' | 'preserveAspectRatio' | 'children '>;
|
|
11
11
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,OAAO,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,4BAA4B,GACpC,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,CAAC;AAEf,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG,GAAG,4BAA4B,IAAI,WAAW,EAAE,CAAC;AAEnF,MAAM,MAAM,WAAW,CAAC,KAAK,EAAE,OAAO,SAAS,UAAU,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,CAAC,CAAC;AAEhH,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,CAAC,GAC9B,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,qBAAqB,GAAG,WAAW,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cutting/svg",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.51.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dagda1/cuttingedge.git"
|
|
@@ -11,29 +11,29 @@
|
|
|
11
11
|
"types": "dist/esm/index.d.ts",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@cutting/react-abortable-fetch": "0.33.1",
|
|
15
|
-
"@cutting/use-get-parent-size": "1.24.2",
|
|
16
|
-
"@cutting/util": "4.55.1",
|
|
17
14
|
"classnames": "^2.3.2",
|
|
18
|
-
"resize-observer-polyfill": "^1.5.1"
|
|
15
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
16
|
+
"@cutting/react-abortable-fetch": "0.34.0",
|
|
17
|
+
"@cutting/use-get-parent-size": "1.25.0",
|
|
18
|
+
"@cutting/util": "4.56.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@cutting/component-library": "5.32.0",
|
|
22
|
-
"@cutting/devtools": "4.60.0",
|
|
23
|
-
"@cutting/eslint-config": "4.42.0",
|
|
24
|
-
"@cutting/tsconfig": "4.38.0",
|
|
25
|
-
"@cutting/useful-types": "4.38.0",
|
|
26
21
|
"@testing-library/react": "^13.4.0",
|
|
27
22
|
"@testing-library/user-event": "14.4.3",
|
|
28
|
-
"@types/react": "18.0.
|
|
29
|
-
"@types/react-dom": "18.0.
|
|
30
|
-
"@vanilla-extract/css": "^1.9.
|
|
31
|
-
"@vanilla-extract/sprinkles": "1.5.
|
|
23
|
+
"@types/react": "18.0.26",
|
|
24
|
+
"@types/react-dom": "18.0.9",
|
|
25
|
+
"@vanilla-extract/css": "^1.9.2",
|
|
26
|
+
"@vanilla-extract/sprinkles": "1.5.1",
|
|
32
27
|
"assert-ts": "0.3.4",
|
|
33
|
-
"eslint": "8.
|
|
28
|
+
"eslint": "8.29.0",
|
|
34
29
|
"react": "18.2.0",
|
|
35
30
|
"react-dom": "18.2.0",
|
|
36
|
-
"typescript": "4.
|
|
31
|
+
"typescript": "4.9.4",
|
|
32
|
+
"@cutting/component-library": "5.33.0",
|
|
33
|
+
"@cutting/devtools": "4.61.0",
|
|
34
|
+
"@cutting/eslint-config": "4.42.0",
|
|
35
|
+
"@cutting/tsconfig": "4.38.0",
|
|
36
|
+
"@cutting/useful-types": "4.38.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">= 18.x.x",
|