@cutting/svg 4.63.0 → 4.64.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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @cutting/svg
2
2
 
3
+ ## 4.64.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5dd8f8f: upgrade pnpm to 11.15.1 and dependency upgrade apart from typescript 7 (pinned at 6.0.3 until typescript-eslint supports the TS 7.1 API), migrate the devtools bundler from rollup to rolldown: declarations now come from rolldown-plugin-dts and minification from rolldown instead of terser, and packages type-check with tsc --noEmit before bundling
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [5dd8f8f]
12
+ - @cutting/use-get-parent-size@2.11.0
13
+ - @cutting/assert@0.7.0
14
+ - @cutting/util@4.66.0
15
+
3
16
  ## 4.63.0
4
17
 
5
18
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cutting/svg",
3
- "version": "4.63.0",
3
+ "version": "4.64.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dagda1/cuttingedge.git"
@@ -11,9 +11,9 @@
11
11
  "types": "dist/esm/index.d.ts",
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
- "@cutting/assert": "0.6.1",
15
- "@cutting/use-get-parent-size": "2.10.0",
16
- "@cutting/util": "4.65.1"
14
+ "@cutting/assert": "0.7.0",
15
+ "@cutting/use-get-parent-size": "2.11.0",
16
+ "@cutting/util": "4.66.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@testing-library/dom": "10.4.1",
@@ -24,7 +24,7 @@
24
24
  "d3-scale": "4.0.2",
25
25
  "react": "19.2.7",
26
26
  "react-dom": "19.2.7",
27
- "@cutting/component-library": "5.51.0"
27
+ "@cutting/component-library": "5.52.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@visx/scale": "4.0.0",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "scripts": {
44
44
  "start": "pnpm vite --host --port 9000 -l=info --clearScreen=false",
45
- "build": "NODE_ENV=production devtools rollup",
45
+ "build": "NODE_ENV=production devtools rolldown",
46
46
  "lint": "eslint ./src/**/*.{ts,tsx} --fix",
47
47
  "test": "NODE_ENV=test vitest",
48
48
  "test:ci": "CI=true pnpm test"
@@ -1,15 +1,7 @@
1
1
  import type { SVGAttributes as SvgAttributes } from 'react';
2
2
 
3
3
  export type PreserveAspectRatioAlignment =
4
- | 'xMinYMin'
5
- | 'xMidYMin'
6
- | 'xMaxYMin'
7
- | 'xMinYMid'
8
- | 'xMidYMid'
9
- | 'xMaxYMid'
10
- | 'xMinYMax'
11
- | 'xMidYMax'
12
- | 'xMaxYMax';
4
+ 'xMinYMin' | 'xMidYMin' | 'xMaxYMin' | 'xMinYMid' | 'xMidYMid' | 'xMaxYMid' | 'xMinYMax' | 'xMidYMax' | 'xMaxYMax';
13
5
 
14
6
  export type MeetOrSlice = 'meet' | 'slice';
15
7
 
@@ -1,11 +0,0 @@
1
- $ NODE_ENV=production devtools rollup
2
- DEBUG using tsconfig.dist.json
3
- START using input file index.ts for @cutting/svg
4
-
5
- INFO Generating @cutting/svg bundle.
6
- INFO writing index.min for @cutting/svg
7
- INFO preserveModules is false
8
- INFO writing index.js for @cutting/svg
9
- DEBUG copying assets to /home/runner/work/cuttingedge/cuttingedge/packages/svg/dist
10
- DONE finished building
11
-
@@ -1,15 +0,0 @@
1
- type GroupOnlyProps = {
2
- /** Top offset applied to `<g/>`. */
3
- y?: number;
4
- /** Left offset applied to `<g/>`. */
5
- x?: number;
6
- /** Override `x` and `y` to provide the entire `transform` string. */
7
- transform?: string;
8
- className?: string;
9
- children?: React.ReactNode;
10
- innerRef?: React.Ref<SVGGElement>;
11
- };
12
- type GroupProps = GroupOnlyProps & Omit<React.SVGProps<SVGGElement>, keyof GroupOnlyProps>;
13
- export declare function Group({ y, x, transform, className, children, innerRef, ...restProps }: GroupProps): JSX.Element;
14
- export {};
15
- //# sourceMappingURL=Group.d.ts.map
@@ -1 +0,0 @@
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,12 +0,0 @@
1
- import type { AddSVGProps, Point } from '../../types/types';
2
- export type LineProps = {
3
- className?: string;
4
- innerRef?: React.Ref<SVGLineElement>;
5
- fill?: string;
6
- /** Starting x,y point of the line. */
7
- from?: Point;
8
- /** Ending x,y point of the line. */
9
- to?: Point;
10
- };
11
- export declare function Line({ from, to, fill, className, innerRef, ...restProps }: AddSVGProps<LineProps, SVGLineElement>): JSX.Element;
12
- //# sourceMappingURL=Line.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../../src/components/Line/Line.tsx"],"names":[],"mappings":"AAEA,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,13 +0,0 @@
1
- import type { UseParentSizeOptions } from '@cutting/use-get-parent-size';
2
- import type { PropsWithChildren, RefObject } from 'react';
3
- import type { ResponsiveSVGProps } from '../ResponsiveSVG/ResponsiveSVG';
4
- type Align = 'none' | 'center';
5
- export type ParentsizeSVGProps<E extends HTMLElement = HTMLElement> = {
6
- parentRef: RefObject<E>;
7
- align?: Align;
8
- scale?: number;
9
- options?: Partial<UseParentSizeOptions>;
10
- } & Partial<Omit<ResponsiveSVGProps, 'innerRef' | 'height' | 'height'>>;
11
- export declare function ParentsizeSVG<E extends HTMLElement>({ parentRef, children, options, ...rest }: PropsWithChildren<ParentsizeSVGProps<E>>): JSX.Element | null;
12
- export {};
13
- //# sourceMappingURL=ParentsizeSVG.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ParentsizeSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/ParentsizeSVG/ParentsizeSVG.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGzE,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,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,wBAAgB,aAAa,CAAC,CAAC,SAAS,WAAW,EAAE,EACnD,SAAS,EACT,QAAQ,EACR,OAAO,EACP,GAAG,IAAI,EACR,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAQ/D"}
@@ -1,19 +0,0 @@
1
- import type { ReactNode, Ref } from 'react';
2
- import type { PreserveAspectRatio, SVGAttributes } from '../../types/types';
3
- export interface Point {
4
- x: number;
5
- y: number;
6
- }
7
- export type ResponsiveSVGProps = SVGAttributes<{
8
- width?: number;
9
- height?: number;
10
- origin?: Point;
11
- preserveAspectRatio?: PreserveAspectRatio;
12
- innerRef?: Ref<SVGSVGElement>;
13
- className?: string;
14
- hide?: boolean;
15
- children: ReactNode;
16
- overflow?: 'hidden' | 'visible';
17
- }>;
18
- export declare function ResponsiveSVG({ height, width, children, origin, preserveAspectRatio, innerRef, className, overflow, ...props }: ResponsiveSVGProps): JSX.Element;
19
- //# sourceMappingURL=ResponsiveSVG.d.ts.map
@@ -1 +0,0 @@
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;AAE5C,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,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,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;IACpB,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC,CAAC,CAAC;AAEH,wBAAgB,aAAa,CAAC,EAC5B,MAAU,EACV,KAAS,EACT,QAAQ,EACR,MAAuB,EACvB,mBAAqC,EACrC,QAAQ,EACR,SAAS,EACT,QAAoB,EACpB,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CA0BlC"}
@@ -1,6 +0,0 @@
1
- export { Group } from './components/Group/Group';
2
- export { Line } from './components/Line/Line';
3
- export { ParentsizeSVG } from './components/ParentsizeSVG/ParentsizeSVG';
4
- export { ResponsiveSVG } from './components/ResponsiveSVG/ResponsiveSVG';
5
- export type { Point } from './types/types';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,YAAY,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC"}
package/dist/esm/index.js DELETED
@@ -1,2 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import t from"classnames";import{useParentSize as i}from"@cutting/use-get-parent-size";function r({y:i=0,x:r=0,transform:n,className:s,children:o,innerRef:a,...l}){return e("g",{ref:a,className:t("visx-group",s),transform:n||`translate(${r}, ${i})`,...l,children:o})}function n({from:i={x:0,y:0},to:r={x:1,y:1},fill:n="transparent",className:s,innerRef:o,...a}){const l=i.x===r.x||i.y===r.y;return e("line",{ref:o,className:t("visx-line",s),x1:i.x,y1:i.y,x2:r.x,y2:r.y,fill:n,shapeRendering:l?"crispEdges":"auto",...a})}function s({height:t=0,width:i=0,children:r,origin:n={x:0,y:0},preserveAspectRatio:s="xMaxYMid meet",innerRef:o,className:a,overflow:l="visible",...c}){const h=Math.ceil(i/(0===t?1:i/t));return e("div",{"data-testid":"cutting-svg-container",style:{position:"relative",overflow:"visible",height:"0px"},children:e("svg",{style:{overflow:l,width:"100%",height:"auto"},className:a,preserveAspectRatio:s,viewBox:`${n.x} ${n.y} ${i} ${h}`,ref:o,...c,children:r})})}function o({parentRef:t,children:r,options:n,...o}){const{width:a,height:l}=i(t,n);return e(s,{width:a,height:l,...o,children:r})}export{r as Group,n as Line,o as ParentsizeSVG,s as ResponsiveSVG};
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../src/components/Group/Group.tsx","../../src/components/Line/Line.tsx","../../src/components/ResponsiveSVG/ResponsiveSVG.tsx","../../src/components/ParentsizeSVG/ParentsizeSVG.tsx"],"sourcesContent":["import cx from 'classnames';\n\ntype GroupOnlyProps = {\n /** Top offset applied to `<g/>`. */\n y?: number;\n /** Left offset applied to `<g/>`. */\n x?: number;\n /** Override `x` and `y` to provide the entire `transform` string. */\n transform?: string;\n className?: string;\n children?: React.ReactNode;\n innerRef?: React.Ref<SVGGElement>;\n};\n\ntype GroupProps = GroupOnlyProps & Omit<React.SVGProps<SVGGElement>, keyof GroupOnlyProps>;\n\nexport function Group({\n y = 0,\n x = 0,\n transform,\n className,\n children,\n innerRef,\n ...restProps\n}: GroupProps): JSX.Element {\n return (\n <g\n ref={innerRef}\n className={cx('visx-group', className)}\n transform={transform || `translate(${x}, ${y})`}\n {...restProps}\n >\n {children}\n </g>\n );\n}\n","import cx from 'classnames';\n\nimport type { AddSVGProps, Point } from '../../types/types';\n\nexport type LineProps = {\n className?: string;\n innerRef?: React.Ref<SVGLineElement>;\n fill?: string;\n /** Starting x,y point of the line. */\n from?: Point;\n /** Ending x,y point of the line. */\n to?: Point;\n};\n\nexport function Line({\n from = { x: 0, y: 0 },\n to = { x: 1, y: 1 },\n fill = 'transparent',\n className,\n innerRef,\n ...restProps\n}: AddSVGProps<LineProps, SVGLineElement>): JSX.Element {\n const isRectilinear = from.x === to.x || from.y === to.y;\n\n return (\n <line\n ref={innerRef}\n className={cx('visx-line', className)}\n x1={from.x}\n y1={from.y}\n x2={to.x}\n y2={to.y}\n fill={fill}\n shapeRendering={isRectilinear ? 'crispEdges' : 'auto'}\n {...restProps}\n />\n );\n}\n","import type { ReactNode, Ref } from 'react';\n\nimport type { PreserveAspectRatio, SVGAttributes } from '../../types/types';\n\nexport interface Point {\n x: number;\n y: number;\n}\n\nexport type ResponsiveSVGProps = SVGAttributes<{\n width?: number;\n height?: number;\n origin?: Point;\n preserveAspectRatio?: PreserveAspectRatio;\n innerRef?: Ref<SVGSVGElement>;\n className?: string;\n hide?: boolean;\n children: ReactNode;\n overflow?: 'hidden' | 'visible';\n}>;\n\nexport function ResponsiveSVG({\n height = 0,\n width = 0,\n children,\n origin = { x: 0, y: 0 },\n preserveAspectRatio = 'xMaxYMid meet',\n innerRef,\n className,\n overflow = 'visible',\n ...props\n}: ResponsiveSVGProps): JSX.Element {\n const aspect = height === 0 ? 1 : width / height;\n\n const adjustedHeight = Math.ceil(width / aspect);\n\n return (\n <div\n data-testid=\"cutting-svg-container\"\n style={{\n position: 'relative',\n overflow: 'visible',\n height: '0px',\n }}\n >\n <svg\n style={{ overflow, width: '100%', height: 'auto' }}\n className={className}\n preserveAspectRatio={preserveAspectRatio}\n viewBox={`${origin.x} ${origin.y} ${width} ${adjustedHeight}`}\n ref={innerRef}\n {...props}\n >\n {children}\n </svg>\n </div>\n );\n}\n","import type { UseParentSizeOptions } from '@cutting/use-get-parent-size';\nimport { useParentSize } from '@cutting/use-get-parent-size';\nimport type { PropsWithChildren, RefObject } from 'react';\n\nimport type { ResponsiveSVGProps } from '../ResponsiveSVG/ResponsiveSVG';\nimport { ResponsiveSVG } from '../ResponsiveSVG/ResponsiveSVG';\n\ntype Align = 'none' | 'center';\n\nexport type ParentsizeSVGProps<E extends HTMLElement = HTMLElement> = {\n parentRef: RefObject<E>;\n align?: Align;\n scale?: number;\n options?: Partial<UseParentSizeOptions>;\n} & Partial<Omit<ResponsiveSVGProps, 'innerRef' | 'height' | 'height'>>;\n\nexport function ParentsizeSVG<E extends HTMLElement>({\n parentRef,\n children,\n options,\n ...rest\n}: PropsWithChildren<ParentsizeSVGProps<E>>): JSX.Element | null {\n const { width, height } = useParentSize(parentRef, options);\n\n return (\n <ResponsiveSVG width={width} height={height} {...rest}>\n {children}\n </ResponsiveSVG>\n );\n}\n"],"names":["Group","y","x","transform","className","children","innerRef","restProps","_jsx","ref","cx","Line","from","to","fill","isRectilinear","x1","y1","x2","y2","shapeRendering","ResponsiveSVG","height","width","origin","preserveAspectRatio","overflow","props","adjustedHeight","Math","ceil","style","position","viewBox","ParentsizeSVG","parentRef","options","rest","useParentSize"],"mappings":"+HAgBM,SAAUA,GAAMC,EACpBA,EAAI,EAACC,EACLA,EAAI,EAACC,UACLA,EAASC,UACTA,EAASC,SACTA,EAAQC,SACRA,KACGC,IAEH,OACEC,EAAA,IAAA,CACEC,IAAKH,EACLF,UAAWM,EAAG,aAAcN,GAC5BD,UAAWA,GAAa,aAAaD,MAAMD,QACvCM,EAASF,SAEZA,GAGP,UCrBgBM,GAAKC,KACnBA,EAAO,CAAEV,EAAG,EAAGD,EAAG,GAAGY,GACrBA,EAAK,CAAEX,EAAG,EAAGD,EAAG,GAAGa,KACnBA,EAAO,cAAaV,UACpBA,EAASE,SACTA,KACGC,IAEH,MAAMQ,EAAgBH,EAAKV,IAAMW,EAAGX,GAAKU,EAAKX,IAAMY,EAAGZ,EAEvD,OACEO,EAAA,OAAA,CACEC,IAAKH,EACLF,UAAWM,EAAG,YAAaN,GAC3BY,GAAIJ,EAAKV,EACTe,GAAIL,EAAKX,EACTiB,GAAIL,EAAGX,EACPiB,GAAIN,EAAGZ,EACPa,KAAMA,EACNM,eAAgBL,EAAgB,aAAe,UAC3CR,GAGV,UChBgBc,GAAcC,OAC5BA,EAAS,EAACC,MACVA,EAAQ,EAAClB,SACTA,EAAQmB,OACRA,EAAS,CAAEtB,EAAG,EAAGD,EAAG,GAAGwB,oBACvBA,EAAsB,gBAAenB,SACrCA,EAAQF,UACRA,EAASsB,SACTA,EAAW,aACRC,IAEH,MAEMC,EAAiBC,KAAKC,KAAKP,GAFP,IAAXD,EAAe,EAAIC,EAAQD,IAI1C,OACEd,EAAA,MAAA,CAAA,cACc,wBACZuB,MAAO,CACLC,SAAU,WACVN,SAAU,UACVJ,OAAQ,OACTjB,SAEDG,EAAA,MAAA,CACEuB,MAAO,CAAEL,WAAUH,MAAO,OAAQD,OAAQ,QAC1ClB,UAAWA,EACXqB,oBAAqBA,EACrBQ,QAAS,GAAGT,EAAOtB,KAAKsB,EAAOvB,KAAKsB,KAASK,IAC7CnB,IAAKH,KACDqB,WAEHtB,KAIT,CCzCM,SAAU6B,GAAqCC,UACnDA,EAAS9B,SACTA,EAAQ+B,QACRA,KACGC,IAEH,MAAMd,MAAEA,EAAKD,OAAEA,GAAWgB,EAAcH,EAAWC,GAEnD,OACE5B,EAACa,EAAa,CAACE,MAAOA,EAAOD,OAAQA,KAAYe,WAC9ChC,GAGP"}
@@ -1,11 +0,0 @@
1
- import type { SVGAttributes as SvgAttributes } from 'react';
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}` | 'none';
5
- export type AddSVGProps<Props, Element extends SVGElement> = Props & Omit<React.SVGProps<Element>, keyof Props>;
6
- export interface Point {
7
- x: number;
8
- y: number;
9
- }
10
- export type SVGAttributes<T> = T & Omit<SvgAttributes<SVGSVGElement>, 'origin' | 'viewBox' | 'preserveAspectRatio' | 'children '>;
11
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
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,GAAG,MAAM,CAAC;AAE5F,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"}