@mirohq/design-system-spinner 1.1.15-themes.1 → 1.1.15

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/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sources":["../src/spinner.styled.tsx","../src/spinner.tsx"],"sourcesContent":["import { Primitive } from '@mirohq/design-system-primitive'\nimport { styled, keyframes } from '@mirohq/design-system-stitches'\nimport type { StrictComponentProps } from '@mirohq/design-system-stitches'\n\nconst rotateAnimation = keyframes({\n '100%': { transform: 'rotate(360deg)' },\n})\n\nconst strokeAnimation = keyframes({\n '0%': {\n strokeDasharray: '1, 200',\n strokeDashoffset: 0,\n },\n '50%': {\n strokeDasharray: '89, 200',\n strokeDashoffset: '-35px',\n },\n '100%': {\n strokeDasharray: '89, 200',\n strokeDashoffset: '-124px',\n },\n})\n\nexport const StyledSpinner = styled(Primitive.svg, {\n display: 'block',\n animation: 'rotate 2s linear infinite',\n transformOrigin: 'center center',\n stroke: 'currentColor',\n '@media (prefers-reduced-motion: no-preference)': {\n animationName: rotateAnimation,\n },\n '& [id=circle]': {\n fill: 'none',\n strokeMiterlimit: '10',\n strokeDasharray: '1, 200',\n strokeDashoffset: 0,\n animation: 'animate 1.5s ease-in-out infinite',\n strokeLinecap: 'round',\n '@media (prefers-reduced-motion: no-preference)': {\n animationName: strokeAnimation,\n },\n },\n variants: {\n size: {\n small: {\n width: '$4',\n height: '$4',\n '& [id=circle]': {\n strokeWidth: '6px',\n },\n },\n medium: {\n width: '$6',\n height: '$6',\n '& [id=circle]': {\n strokeWidth: '4px',\n },\n },\n },\n },\n})\n\nexport type StyledSpinnerProps = StrictComponentProps<typeof StyledSpinner>\n","import React from 'react'\nimport type { ElementRef } from 'react'\n\nimport { StyledSpinner } from './spinner.styled'\nimport type { StyledSpinnerProps } from './spinner.styled'\n\nexport interface SpinnerProps\n extends Omit<StyledSpinnerProps, keyof StyledSpinnerProps> {\n /**\n * The size of the spinner.\n */\n size?: StyledSpinnerProps['size']\n}\n\nexport const Spinner = React.forwardRef<\n ElementRef<typeof StyledSpinner>,\n SpinnerProps\n>(({ size = 'medium', ...restProps }, forwardRef) => (\n <StyledSpinner\n {...restProps}\n viewBox='25 25 50 50'\n size={size}\n ref={forwardRef}\n >\n <circle id='circle' cx='50' cy='50' r='20' />\n </StyledSpinner>\n))\n"],"names":["keyframes","styled","Primitive","React","jsx"],"mappings":";;;;;;;;;;;;;AAIA,MAAM,kBAAkBA,8BAAU,CAAA;AAAA,EAChC,MAAA,EAAQ,EAAE,SAAA,EAAW,gBAAiB,EAAA;AACxC,CAAC,CAAA,CAAA;AAED,MAAM,kBAAkBA,8BAAU,CAAA;AAAA,EAChC,IAAM,EAAA;AAAA,IACJ,eAAiB,EAAA,QAAA;AAAA,IACjB,gBAAkB,EAAA,CAAA;AAAA,GACpB;AAAA,EACA,KAAO,EAAA;AAAA,IACL,eAAiB,EAAA,SAAA;AAAA,IACjB,gBAAkB,EAAA,OAAA;AAAA,GACpB;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,eAAiB,EAAA,SAAA;AAAA,IACjB,gBAAkB,EAAA,QAAA;AAAA,GACpB;AACF,CAAC,CAAA,CAAA;AAEY,MAAA,aAAA,GAAgBC,2BAAO,CAAAC,+BAAA,CAAU,GAAK,EAAA;AAAA,EACjD,OAAS,EAAA,OAAA;AAAA,EACT,SAAW,EAAA,2BAAA;AAAA,EACX,eAAiB,EAAA,eAAA;AAAA,EACjB,MAAQ,EAAA,cAAA;AAAA,EACR,gDAAkD,EAAA;AAAA,IAChD,aAAe,EAAA,eAAA;AAAA,GACjB;AAAA,EACA,eAAiB,EAAA;AAAA,IACf,IAAM,EAAA,MAAA;AAAA,IACN,gBAAkB,EAAA,IAAA;AAAA,IAClB,eAAiB,EAAA,QAAA;AAAA,IACjB,gBAAkB,EAAA,CAAA;AAAA,IAClB,SAAW,EAAA,mCAAA;AAAA,IACX,aAAe,EAAA,OAAA;AAAA,IACf,gDAAkD,EAAA;AAAA,MAChD,aAAe,EAAA,eAAA;AAAA,KACjB;AAAA,GACF;AAAA,EACA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA;AAAA,MACJ,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,IAAA;AAAA,QACP,MAAQ,EAAA,IAAA;AAAA,QACR,eAAiB,EAAA;AAAA,UACf,WAAa,EAAA,KAAA;AAAA,SACf;AAAA,OACF;AAAA,MACA,MAAQ,EAAA;AAAA,QACN,KAAO,EAAA,IAAA;AAAA,QACP,MAAQ,EAAA,IAAA;AAAA,QACR,eAAiB,EAAA;AAAA,UACf,WAAa,EAAA,KAAA;AAAA,SACf;AAAA,OACF;AAAA,KACF;AAAA,GACF;AACF,CAAC,CAAA;;AC9CY,MAAA,OAAA,GAAUC,yBAAM,CAAA,UAAA,CAG3B,CAAC,EAAE,OAAO,QAAU,EAAA,GAAG,SAAU,EAAA,EAAG,UACpC,qBAAAC,cAAA;AAAA,EAAC,aAAA;AAAA,EAAA;AAAA,IACE,GAAG,SAAA;AAAA,IACJ,OAAQ,EAAA,aAAA;AAAA,IACR,IAAA;AAAA,IACA,GAAK,EAAA,UAAA;AAAA,IAEL,QAAA,kBAAAA,cAAA,CAAC,YAAO,EAAG,EAAA,QAAA,EAAS,IAAG,IAAK,EAAA,EAAA,EAAG,IAAK,EAAA,CAAA,EAAE,IAAK,EAAA,CAAA;AAAA,GAAA;AAC7C,CACD;;;;"}
1
+ {"version":3,"file":"main.js","sources":["../src/spinner.styled.tsx","../src/spinner.tsx"],"sourcesContent":["import type { ComponentPropsWithRef } from 'react'\nimport { Primitive } from '@mirohq/design-system-primitive'\nimport { styled, keyframes } from '@mirohq/design-system-stitches'\n\nconst rotateAnimation = keyframes({\n '100%': { transform: 'rotate(360deg)' },\n})\n\nconst strokeAnimation = keyframes({\n '0%': {\n strokeDasharray: '1, 200',\n strokeDashoffset: 0,\n },\n '50%': {\n strokeDasharray: '89, 200',\n strokeDashoffset: '-35px',\n },\n '100%': {\n strokeDasharray: '89, 200',\n strokeDashoffset: '-124px',\n },\n})\n\nexport const StyledSpinner = styled(Primitive.svg, {\n display: 'block',\n animation: 'rotate 2s linear infinite',\n transformOrigin: 'center center',\n stroke: 'currentColor',\n '@media (prefers-reduced-motion: no-preference)': {\n animationName: rotateAnimation,\n },\n '& [id=circle]': {\n fill: 'none',\n strokeMiterlimit: '10',\n strokeDasharray: '1, 200',\n strokeDashoffset: 0,\n animation: 'animate 1.5s ease-in-out infinite',\n strokeLinecap: 'round',\n '@media (prefers-reduced-motion: no-preference)': {\n animationName: strokeAnimation,\n },\n },\n variants: {\n size: {\n small: {\n width: '$4',\n height: '$4',\n '& [id=circle]': {\n strokeWidth: '6px',\n },\n },\n medium: {\n width: '$6',\n height: '$6',\n '& [id=circle]': {\n strokeWidth: '4px',\n },\n },\n },\n },\n})\n\nexport type StyledSpinnerProps = ComponentPropsWithRef<typeof StyledSpinner>\n","import React from 'react'\nimport type { ElementRef } from 'react'\n\nimport { StyledSpinner } from './spinner.styled'\nimport type { StyledSpinnerProps } from './spinner.styled'\n\nexport interface SpinnerProps extends StyledSpinnerProps {\n /**\n * The size of the spinner.\n */\n size?: StyledSpinnerProps['size']\n}\n\nexport const Spinner = React.forwardRef<\n ElementRef<typeof StyledSpinner>,\n SpinnerProps\n>(({ size = 'medium', ...restProps }, forwardRef) => (\n <StyledSpinner\n {...restProps}\n viewBox='25 25 50 50'\n size={size}\n ref={forwardRef}\n >\n <circle id='circle' cx='50' cy='50' r='20' />\n </StyledSpinner>\n))\n"],"names":["keyframes","styled","Primitive","React","jsx"],"mappings":";;;;;;;;;;;;;AAIA,MAAM,kBAAkBA,8BAAU,CAAA;AAAA,EAChC,MAAA,EAAQ,EAAE,SAAA,EAAW,gBAAiB,EAAA;AACxC,CAAC,CAAA,CAAA;AAED,MAAM,kBAAkBA,8BAAU,CAAA;AAAA,EAChC,IAAM,EAAA;AAAA,IACJ,eAAiB,EAAA,QAAA;AAAA,I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CAAA,UAAA,CAG3B,CAAC,EAAE,OAAO,QAAU,EAAA,GAAG,SAAU,EAAA,EAAG,UACpC,qBAAAC,cAAA;AAAA,EAAC,aAAA;AAAA,EAAA;AAAA,IACE,GAAG,SAAA;AAAA,IACJ,OAAQ,EAAA,aAAA;AAAA,IACR,IAAA;AAAA,IACA,GAAK,EAAA,UAAA;AAAA,IAEL,QAAA,kBAAAA,cAAA,CAAC,YAAO,EAAG,EAAA,QAAA,EAAS,IAAG,IAAK,EAAA,EAAA,EAAG,IAAK,EAAA,CAAA,EAAE,IAAK,EAAA,CAAA;AAAA,GAAA;AAC7C,CACD;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sources":["../src/spinner.styled.tsx","../src/spinner.tsx"],"sourcesContent":["import { Primitive } from '@mirohq/design-system-primitive'\nimport { styled, keyframes } from '@mirohq/design-system-stitches'\nimport type { StrictComponentProps } from '@mirohq/design-system-stitches'\n\nconst rotateAnimation = keyframes({\n '100%': { transform: 'rotate(360deg)' },\n})\n\nconst strokeAnimation = keyframes({\n '0%': {\n strokeDasharray: '1, 200',\n strokeDashoffset: 0,\n },\n '50%': {\n strokeDasharray: '89, 200',\n strokeDashoffset: '-35px',\n },\n '100%': {\n strokeDasharray: '89, 200',\n strokeDashoffset: '-124px',\n },\n})\n\nexport const StyledSpinner = styled(Primitive.svg, {\n display: 'block',\n animation: 'rotate 2s linear infinite',\n transformOrigin: 'center center',\n stroke: 'currentColor',\n '@media (prefers-reduced-motion: no-preference)': {\n animationName: rotateAnimation,\n },\n '& [id=circle]': {\n fill: 'none',\n strokeMiterlimit: '10',\n strokeDasharray: '1, 200',\n strokeDashoffset: 0,\n animation: 'animate 1.5s ease-in-out infinite',\n strokeLinecap: 'round',\n '@media (prefers-reduced-motion: no-preference)': {\n animationName: strokeAnimation,\n },\n },\n variants: {\n size: {\n small: {\n width: '$4',\n height: '$4',\n '& [id=circle]': {\n strokeWidth: '6px',\n },\n },\n medium: {\n width: '$6',\n height: '$6',\n '& [id=circle]': {\n strokeWidth: '4px',\n },\n },\n },\n },\n})\n\nexport type StyledSpinnerProps = StrictComponentProps<typeof StyledSpinner>\n","import React from 'react'\nimport type { ElementRef } from 'react'\n\nimport { StyledSpinner } from './spinner.styled'\nimport type { StyledSpinnerProps } from './spinner.styled'\n\nexport interface SpinnerProps\n extends Omit<StyledSpinnerProps, keyof StyledSpinnerProps> {\n /**\n * The size of the spinner.\n */\n size?: StyledSpinnerProps['size']\n}\n\nexport const Spinner = React.forwardRef<\n ElementRef<typeof StyledSpinner>,\n SpinnerProps\n>(({ size = 'medium', ...restProps }, forwardRef) => (\n <StyledSpinner\n {...restProps}\n viewBox='25 25 50 50'\n size={size}\n ref={forwardRef}\n >\n <circle id='circle' cx='50' cy='50' r='20' />\n </StyledSpinner>\n))\n"],"names":[],"mappings":";;;;;AAIA,MAAM,kBAAkB,SAAU,CAAA;AAAA,EAChC,MAAA,EAAQ,EAAE,SAAA,EAAW,gBAAiB,EAAA;AACxC,CAAC,CAAA,CAAA;AAED,MAAM,kBAAkB,SAAU,CAAA;AAAA,EAChC,IAAM,EAAA;AAAA,IACJ,eAAiB,EAAA,QAAA;AAAA,IACjB,gBAAkB,EAAA,CAAA;AAAA,GACpB;AAAA,EACA,KAAO,EAAA;AAAA,IACL,eAAiB,EAAA,SAAA;AAAA,IACjB,gBAAkB,EAAA,OAAA;AAAA,GACpB;AAAA,EACA,MAAQ,EAAA;AAAA,IACN,eAAiB,EAAA,SAAA;AAAA,IACjB,gBAAkB,EAAA,QAAA;AAAA,GACpB;AACF,CAAC,CAAA,CAAA;AAEY,MAAA,aAAA,GAAgB,MAAO,CAAA,SAAA,CAAU,GAAK,EAAA;AAAA,EACjD,OAAS,EAAA,OAAA;AAAA,EACT,SAAW,EAAA,2BAAA;AAAA,EACX,eAAiB,EAAA,eAAA;AAAA,EACjB,MAAQ,EAAA,cAAA;AAAA,EACR,gDAAkD,EAAA;AAAA,IAChD,aAAe,EAAA,eAAA;AAAA,GACjB;AAAA,EACA,eAAiB,EAAA;AAAA,IACf,IAAM,EAAA,MAAA;AAAA,IACN,gBAAkB,EAAA,IAAA;AAAA,IAClB,eAAiB,EAAA,QAAA;AAAA,IACjB,gBAAkB,EAAA,CAAA;AAAA,IAClB,SAAW,EAAA,mCAAA;AAAA,IACX,aAAe,EAAA,OAAA;AAAA,IACf,gDAAkD,EAAA;AAAA,MAChD,aAAe,EAAA,eAAA;AAAA,KACjB;AAAA,GACF;AAAA,EACA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA;AAAA,MACJ,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,IAAA;AAAA,QACP,MAAQ,EAAA,IAAA;AAAA,QACR,eAAiB,EAAA;AAAA,UACf,WAAa,EAAA,KAAA;AAAA,SACf;AAAA,OACF;AAAA,MACA,MAAQ,EAAA;AAAA,QACN,KAAO,EAAA,IAAA;AAAA,QACP,MAAQ,EAAA,IAAA;AAAA,QACR,eAAiB,EAAA;AAAA,UACf,WAAa,EAAA,KAAA;AAAA,SACf;AAAA,OACF;AAAA,KACF;AAAA,GACF;AACF,CAAC,CAAA;;AC9CY,MAAA,OAAA,GAAU,KAAM,CAAA,UAAA,CAG3B,CAAC,EAAE,OAAO,QAAU,EAAA,GAAG,SAAU,EAAA,EAAG,UACpC,qBAAA,GAAA;AAAA,EAAC,aAAA;AAAA,EAAA;AAAA,IACE,GAAG,SAAA;AAAA,IACJ,OAAQ,EAAA,aAAA;AAAA,IACR,IAAA;AAAA,IACA,GAAK,EAAA,UAAA;AAAA,IAEL,QAAA,kBAAA,GAAA,CAAC,YAAO,EAAG,EAAA,QAAA,EAAS,IAAG,IAAK,EAAA,EAAA,EAAG,IAAK,EAAA,CAAA,EAAE,IAAK,EAAA,CAAA;AAAA,GAAA;AAC7C,CACD;;;;"}
1
+ {"version":3,"file":"module.js","sources":["../src/spinner.styled.tsx","../src/spinner.tsx"],"sourcesContent":["import type { ComponentPropsWithRef } from 'react'\nimport { Primitive } from '@mirohq/design-system-primitive'\nimport { styled, keyframes } from '@mirohq/design-system-stitches'\n\nconst rotateAnimation = keyframes({\n '100%': { transform: 'rotate(360deg)' },\n})\n\nconst strokeAnimation = keyframes({\n '0%': {\n strokeDasharray: '1, 200',\n strokeDashoffset: 0,\n },\n '50%': {\n strokeDasharray: '89, 200',\n strokeDashoffset: '-35px',\n },\n '100%': {\n strokeDasharray: '89, 200',\n strokeDashoffset: '-124px',\n },\n})\n\nexport const StyledSpinner = styled(Primitive.svg, {\n display: 'block',\n animation: 'rotate 2s linear infinite',\n transformOrigin: 'center center',\n stroke: 'currentColor',\n '@media (prefers-reduced-motion: no-preference)': {\n animationName: rotateAnimation,\n },\n '& [id=circle]': {\n fill: 'none',\n strokeMiterlimit: '10',\n strokeDasharray: '1, 200',\n strokeDashoffset: 0,\n animation: 'animate 1.5s ease-in-out infinite',\n strokeLinecap: 'round',\n '@media (prefers-reduced-motion: no-preference)': {\n animationName: strokeAnimation,\n },\n },\n variants: {\n size: {\n small: {\n width: '$4',\n height: '$4',\n '& [id=circle]': {\n strokeWidth: '6px',\n },\n },\n medium: {\n width: '$6',\n height: '$6',\n '& [id=circle]': {\n strokeWidth: '4px',\n },\n },\n },\n },\n})\n\nexport type StyledSpinnerProps = ComponentPropsWithRef<typeof StyledSpinner>\n","import React from 'react'\nimport type { ElementRef } from 'react'\n\nimport { StyledSpinner } from './spinner.styled'\nimport type { StyledSpinnerProps } from './spinner.styled'\n\nexport interface SpinnerProps extends StyledSpinnerProps {\n /**\n * The size of the spinner.\n */\n size?: StyledSpinnerProps['size']\n}\n\nexport const Spinner = React.forwardRef<\n ElementRef<typeof StyledSpinner>,\n SpinnerProps\n>(({ size = 'medium', ...restProps }, forwardRef) => (\n <StyledSpinner\n {...restProps}\n viewBox='25 25 50 50'\n size={size}\n ref={forwardRef}\n >\n <circle id='circle' cx='50' cy='50' r='20' />\n </StyledSpinner>\n))\n"],"names":[],"mappings":";;;;;AAIA,MAAM,kBAAkB,SAAU,CAAA;AAAA,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AQ,EAAA,IAAA;AAAA,QACR,eAAiB,EAAA;AAAA,UACf,WAAa,EAAA,KAAA;AAAA,SACf;AAAA,OACF;AAAA,KACF;AAAA,GACF;AACF,CAAC,CAAA;;AC/CY,MAAA,OAAA,GAAU,KAAM,CAAA,UAAA,CAG3B,CAAC,EAAE,OAAO,QAAU,EAAA,GAAG,SAAU,EAAA,EAAG,UACpC,qBAAA,GAAA;AAAA,EAAC,aAAA;AAAA,EAAA;AAAA,IACE,GAAG,SAAA;AAAA,IACJ,OAAQ,EAAA,aAAA;AAAA,IACR,IAAA;AAAA,IACA,GAAK,EAAA,UAAA;AAAA,IAEL,QAAA,kBAAA,GAAA,CAAC,YAAO,EAAG,EAAA,QAAA,EAAS,IAAG,IAAK,EAAA,EAAA,EAAG,IAAK,EAAA,CAAA,EAAE,IAAK,EAAA,CAAA;AAAA,GAAA;AAC7C,CACD;;;;"}
package/dist/types.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import * as react from 'react';
2
- import react__default from 'react';
2
+ import react__default, { ComponentPropsWithRef } from 'react';
3
3
  import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
4
4
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
5
- import { StrictComponentProps } from '@mirohq/design-system-stitches';
6
5
  import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
7
6
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
8
7
 
@@ -23,7 +22,6 @@ declare const StyledSpinner: react.ForwardRefExoticComponent<Omit<Omit<{
23
22
  readonly lg: "4px";
24
23
  };
25
24
  colors: {
26
- readonly black: any;
27
25
  readonly 'blue-100': any;
28
26
  readonly 'blue-200': any;
29
27
  readonly 'blue-300': any;
@@ -43,15 +41,6 @@ declare const StyledSpinner: react.ForwardRefExoticComponent<Omit<Omit<{
43
41
  readonly 'gray-700': any;
44
42
  readonly 'gray-800': any;
45
43
  readonly 'gray-900': any;
46
- readonly 'green-100': any;
47
- readonly 'green-200': any;
48
- readonly 'green-300': any;
49
- readonly 'green-400': any;
50
- readonly 'green-500': any;
51
- readonly 'green-600': any;
52
- readonly 'green-700': any;
53
- readonly 'green-800': any;
54
- readonly 'green-900': any;
55
44
  readonly 'indigo-100': any;
56
45
  readonly 'indigo-200': any;
57
46
  readonly 'indigo-300': any;
@@ -70,8 +59,6 @@ declare const StyledSpinner: react.ForwardRefExoticComponent<Omit<Omit<{
70
59
  readonly 'red-700': any;
71
60
  readonly 'red-800': any;
72
61
  readonly 'red-900': any;
73
- readonly transparent: any;
74
- readonly white: any;
75
62
  readonly 'yellow-100': any;
76
63
  readonly 'yellow-200': any;
77
64
  readonly 'yellow-300': any;
@@ -81,112 +68,113 @@ declare const StyledSpinner: react.ForwardRefExoticComponent<Omit<Omit<{
81
68
  readonly 'yellow-700': any;
82
69
  readonly 'yellow-800': any;
83
70
  readonly 'yellow-900': any;
84
- "background-alpha-active"?: any;
85
- "background-alpha-hover"?: any;
86
- "background-danger-prominent"?: any;
87
- "background-danger-prominent-active"?: any;
88
- "background-danger-prominent-hover"?: any;
89
- "background-danger-subtle"?: any;
90
- "background-danger-subtle-active"?: any;
91
- "background-danger-subtle-hover"?: any;
92
- "background-neutrals"?: any;
93
- "background-neutrals-active"?: any;
94
- "background-neutrals-container"?: any;
95
- "background-neutrals-controls-disabled"?: any;
96
- "background-neutrals-disabled"?: any;
97
- "background-neutrals-hover"?: any;
98
- "background-neutrals-inactive"?: any;
99
- "background-neutrals-inactive-hover"?: any;
100
- "background-neutrals-inverted"?: any;
101
- "background-neutrals-inverted-subtle"?: any;
102
- "background-neutrals-page"?: any;
103
- "background-neutrals-page-subtle"?: any;
104
- "background-neutrals-scrolls"?: any;
105
- "background-neutrals-scrolls-hover"?: any;
106
- "background-neutrals-subtle"?: any;
107
- "background-neutrals-subtle-active"?: any;
108
- "background-neutrals-subtle-hover"?: any;
109
- "background-primary-prominent"?: any;
110
- "background-primary-prominent-active"?: any;
111
- "background-primary-prominent-hover"?: any;
112
- "background-primary-prominent-selected"?: any;
113
- "background-primary-subtle"?: any;
114
- "background-primary-subtle-active"?: any;
115
- "background-primary-subtle-hover"?: any;
116
- "background-primary-subtle-selected"?: any;
117
- "background-success"?: any;
118
- "background-warning-prominent"?: any;
119
- "background-warning-subtle"?: any;
120
- "border-danger"?: any;
121
- "border-danger-active"?: any;
122
- "border-danger-hover"?: any;
123
- "border-focus-inner"?: any;
124
- "border-focus-middle"?: any;
125
- "border-focus-outer"?: any;
126
- "border-neutrals"?: any;
127
- "border-neutrals-active"?: any;
128
- "border-neutrals-controls"?: any;
129
- "border-neutrals-controls-disabled"?: any;
130
- "border-neutrals-disabled"?: any;
131
- "border-neutrals-hover"?: any;
132
- "border-neutrals-inverted"?: any;
133
- "border-neutrals-subtle"?: any;
134
- "border-neutrals-text"?: any;
135
- "border-neutrals-text-active"?: any;
136
- "border-neutrals-text-hover"?: any;
137
- "border-neutrals-text-subtle"?: any;
138
- "border-neutrals-text-subtle-active"?: any;
139
- "border-neutrals-text-subtle-hover"?: any;
140
- "border-neutrals-transparent"?: any;
141
- "border-primary"?: any;
142
- "border-primary-active"?: any;
143
- "border-primary-hover"?: any;
144
- "border-primary-inverted"?: any;
145
- "border-success"?: any;
146
- "border-warning"?: any;
147
- "icon-danger"?: any;
148
- "icon-danger-active"?: any;
149
- "icon-danger-hover"?: any;
150
- "icon-danger-inverted"?: any;
151
- "icon-neutrals"?: any;
152
- "icon-neutrals-disabled"?: any;
153
- "icon-neutrals-inactive"?: any;
154
- "icon-neutrals-inactive-hover"?: any;
155
- "icon-neutrals-inverted"?: any;
156
- "icon-neutrals-search"?: any;
157
- "icon-neutrals-subtle"?: any;
158
- "icon-neutrals-text"?: any;
159
- "icon-primary"?: any;
160
- "icon-primary-active"?: any;
161
- "icon-primary-hover"?: any;
162
- "icon-primary-inverted"?: any;
163
- "icon-primary-selected"?: any;
164
- "icon-success"?: any;
165
- "icon-success-inverted"?: any;
166
- "icon-warning"?: any;
167
- "icon-warning-prominent"?: any;
168
- "text-danger"?: any;
169
- "text-danger-active"?: any;
170
- "text-danger-hover"?: any;
171
- "text-danger-inverted"?: any;
172
- "text-neutrals"?: any;
173
- "text-neutrals-active"?: any;
174
- "text-neutrals-disabled"?: any;
175
- "text-neutrals-hover"?: any;
176
- "text-neutrals-inverted"?: any;
177
- "text-neutrals-placeholder"?: any;
178
- "text-neutrals-placeholder-only"?: any;
179
- "text-neutrals-subtle"?: any;
180
- "text-neutrals-subtle-active"?: any;
181
- "text-neutrals-subtle-hover"?: any;
182
- "text-primary"?: any;
183
- "text-primary-active"?: any;
184
- "text-primary-hover"?: any;
185
- "text-primary-inverted"?: any;
186
- "text-primary-inverted-subtle"?: any;
187
- "text-primary-selected"?: any;
188
- "text-success"?: any;
189
- "text-warning"?: any;
71
+ readonly 'green-100': any;
72
+ readonly 'green-200': any;
73
+ readonly 'green-300': any;
74
+ readonly 'green-400': any;
75
+ readonly 'green-500': any;
76
+ readonly 'green-600': any;
77
+ readonly 'green-700': any;
78
+ readonly 'green-800': any;
79
+ readonly 'green-900': any;
80
+ readonly black: any;
81
+ readonly white: any;
82
+ readonly transparent: any;
83
+ readonly 'background-danger'?: any;
84
+ readonly 'background-danger-hover'?: any;
85
+ readonly 'background-danger-prominent'?: any;
86
+ readonly 'background-danger-prominent-active'?: any;
87
+ readonly 'background-danger-prominent-hover'?: any;
88
+ readonly 'background-neutrals'?: any;
89
+ readonly 'background-neutrals-container'?: any;
90
+ readonly 'background-neutrals-controls-disabled'?: any;
91
+ readonly 'background-neutrals-disabled'?: any;
92
+ readonly 'background-neutrals-inactive'?: any;
93
+ readonly 'background-neutrals-inactive-hover'?: any;
94
+ readonly 'background-neutrals-inverted'?: any;
95
+ readonly 'background-neutrals-inverted-subtle'?: any;
96
+ readonly 'background-neutrals-page'?: any;
97
+ readonly 'background-neutrals-page-subtle'?: any;
98
+ readonly 'background-neutrals-scrolls'?: any;
99
+ readonly 'background-neutrals-scrolls-hover'?: any;
100
+ readonly 'background-neutrals-subtle'?: any;
101
+ readonly 'background-neutrals-subtle-active'?: any;
102
+ readonly 'background-neutrals-subtle-hover'?: any;
103
+ readonly 'background-primary-prominent'?: any;
104
+ readonly 'background-primary-prominent-active'?: any;
105
+ readonly 'background-primary-prominent-hover'?: any;
106
+ readonly 'background-primary-prominent-selected'?: any;
107
+ readonly 'background-primary-subtle'?: any;
108
+ readonly 'background-primary-subtle-active'?: any;
109
+ readonly 'background-primary-subtle-hover'?: any;
110
+ readonly 'background-primary-subtle-selected'?: any;
111
+ readonly 'background-success'?: any;
112
+ readonly 'background-warning-prominent'?: any;
113
+ readonly 'background-warning-subtle'?: any;
114
+ readonly 'text-danger'?: any;
115
+ readonly 'text-danger-active'?: any;
116
+ readonly 'text-danger-hover'?: any;
117
+ readonly 'text-danger-inverted'?: any;
118
+ readonly 'text-neutrals'?: any;
119
+ readonly 'text-neutrals-disabled'?: any;
120
+ readonly 'text-neutrals-inverted'?: any;
121
+ readonly 'text-neutrals-placeholder'?: any;
122
+ readonly 'text-neutrals-placeholder-only'?: any;
123
+ readonly 'text-neutrals-subtle'?: any;
124
+ readonly 'text-neutrals-subtle-active'?: any;
125
+ readonly 'text-neutrals-subtle-hover'?: any;
126
+ readonly 'text-primary'?: any;
127
+ readonly 'text-primary-active'?: any;
128
+ readonly 'text-primary-hover'?: any;
129
+ readonly 'text-primary-inverted'?: any;
130
+ readonly 'text-primary-inverted-subtle'?: any;
131
+ readonly 'text-primary-selected'?: any;
132
+ readonly 'text-success'?: any;
133
+ readonly 'text-warning'?: any;
134
+ readonly 'icon-danger'?: any;
135
+ readonly 'icon-danger-active'?: any;
136
+ readonly 'icon-danger-hover'?: any;
137
+ readonly 'icon-danger-inverted'?: any;
138
+ readonly 'icon-neutrals'?: any;
139
+ readonly 'icon-neutrals-disabled'?: any;
140
+ readonly 'icon-neutrals-inactive'?: any;
141
+ readonly 'icon-neutrals-inactive-hover'?: any;
142
+ readonly 'icon-neutrals-inverted'?: any;
143
+ readonly 'icon-neutrals-search'?: any;
144
+ readonly 'icon-neutrals-subtle'?: any;
145
+ readonly 'icon-neutrals-text'?: any;
146
+ readonly 'icon-primary'?: any;
147
+ readonly 'icon-primary-active'?: any;
148
+ readonly 'icon-primary-hover'?: any;
149
+ readonly 'icon-primary-inverted'?: any;
150
+ readonly 'icon-primary-selected'?: any;
151
+ readonly 'icon-success'?: any;
152
+ readonly 'icon-success-inverted'?: any;
153
+ readonly 'icon-warning'?: any;
154
+ readonly 'icon-warning-prominent'?: any;
155
+ readonly 'border-danger'?: any;
156
+ readonly 'border-danger-active'?: any;
157
+ readonly 'border-danger-hover'?: any;
158
+ readonly 'border-focus-inner'?: any;
159
+ readonly 'border-focus-middle'?: any;
160
+ readonly 'border-focus-outer'?: any;
161
+ readonly 'border-neutrals'?: any;
162
+ readonly 'border-neutrals-active'?: any;
163
+ readonly 'border-neutrals-controls'?: any;
164
+ readonly 'border-neutrals-controls-disabled'?: any;
165
+ readonly 'border-neutrals-disabled'?: any;
166
+ readonly 'border-neutrals-hover'?: any;
167
+ readonly 'border-neutrals-inverted'?: any;
168
+ readonly 'border-neutrals-subtle'?: any;
169
+ readonly 'border-neutrals-text-subtle'?: any;
170
+ readonly 'border-neutrals-text-subtle-active'?: any;
171
+ readonly 'border-neutrals-text-subtle-hover'?: any;
172
+ readonly 'border-primary'?: any;
173
+ readonly 'border-primary-active'?: any;
174
+ readonly 'border-primary-hover'?: any;
175
+ readonly 'border-primary-inverted'?: any;
176
+ readonly 'border-success'?: any;
177
+ readonly 'border-warning'?: any;
190
178
  };
191
179
  'font-sizes': {
192
180
  readonly 150: "0.75rem";
@@ -475,14 +463,14 @@ declare const StyledSpinner: react.ForwardRefExoticComponent<Omit<Omit<{
475
463
  } & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<SVGSVGElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"svg">>, {
476
464
  size?: "small" | "medium" | undefined;
477
465
  }, {}>;
478
- declare type StyledSpinnerProps = StrictComponentProps<typeof StyledSpinner>;
466
+ declare type StyledSpinnerProps = ComponentPropsWithRef<typeof StyledSpinner>;
479
467
 
480
- interface SpinnerProps extends Omit<StyledSpinnerProps, keyof StyledSpinnerProps> {
468
+ interface SpinnerProps extends StyledSpinnerProps {
481
469
  /**
482
470
  * The size of the spinner.
483
471
  */
484
472
  size?: StyledSpinnerProps['size'];
485
473
  }
486
- declare const Spinner: react__default.ForwardRefExoticComponent<SpinnerProps & react__default.RefAttributes<SVGSVGElement>>;
474
+ declare const Spinner: react__default.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & react__default.RefAttributes<SVGSVGElement>>;
487
475
 
488
476
  export { Spinner, SpinnerProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-spinner",
3
- "version": "1.1.15-themes.1",
3
+ "version": "1.1.15",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@mirohq/design-system-primitive": "^1.1.0",
30
- "@mirohq/design-tokens": "^3.0.0-themes.0",
31
- "@mirohq/design-system-stitches": "^2.3.5-themes.1"
30
+ "@mirohq/design-tokens": "^2.7.1",
31
+ "@mirohq/design-system-stitches": "^2.3.4"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "rollup -c ../../../rollup.config.js",