@mirohq/design-system-spinner 1.1.24-input.0 → 1.1.25

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 CHANGED
@@ -30,16 +30,13 @@ const strokeAnimation = designSystemStitches.keyframes({
30
30
  });
31
31
  const StyledSpinner = designSystemStitches.styled(designSystemPrimitive.Primitive.svg, {
32
32
  display: "block",
33
- animation: "rotate 2s linear infinite",
33
+ animation: "".concat(rotateAnimation, " 2s linear infinite"),
34
34
  transformOrigin: "center center",
35
35
  stroke: "currentColor",
36
- "@media (prefers-reduced-motion: no-preference)": {
37
- animationName: rotateAnimation
38
- },
39
36
  "& [id=circle]": {
40
37
  fill: "none",
41
38
  strokeMiterlimit: "10",
42
- strokeDasharray: "1, 200",
39
+ strokeDasharray: "89, 200",
43
40
  strokeDashoffset: 0,
44
41
  animation: "animate 1.5s ease-in-out infinite",
45
42
  strokeLinecap: "round",
package/dist/main.js.map CHANGED
@@ -1 +1 @@
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,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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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: `${rotateAnimation} 2s linear infinite`,\n transformOrigin: 'center center',\n stroke: 'currentColor',\n '& [id=circle]': {\n fill: 'none',\n strokeMiterlimit: '10',\n strokeDasharray: '89, 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,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,SAAA,EAAW,GAAG,MAAe,CAAA,eAAA,EAAA,qBAAA,CAAA;AAAA,EAC7B,eAAiB,EAAA,eAAA;AAAA,EACjB,MAAQ,EAAA,cAAA;AAAA,EACR,eAAiB,EAAA;AAAA,IACf,IAAM,EAAA,MAAA;AAAA,IACN,gBAAkB,EAAA,IAAA;AAAA,IAClB,eAAiB,EAAA,SAAA;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;;AC5CY,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;;;;"}
package/dist/module.js CHANGED
@@ -22,16 +22,13 @@ const strokeAnimation = keyframes({
22
22
  });
23
23
  const StyledSpinner = styled(Primitive.svg, {
24
24
  display: "block",
25
- animation: "rotate 2s linear infinite",
25
+ animation: "".concat(rotateAnimation, " 2s linear infinite"),
26
26
  transformOrigin: "center center",
27
27
  stroke: "currentColor",
28
- "@media (prefers-reduced-motion: no-preference)": {
29
- animationName: rotateAnimation
30
- },
31
28
  "& [id=circle]": {
32
29
  fill: "none",
33
30
  strokeMiterlimit: "10",
34
- strokeDasharray: "1, 200",
31
+ strokeDasharray: "89, 200",
35
32
  strokeDashoffset: 0,
36
33
  animation: "animate 1.5s ease-in-out infinite",
37
34
  strokeLinecap: "round",
@@ -1 +1 @@
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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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;;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;;;;"}
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: `${rotateAnimation} 2s linear infinite`,\n transformOrigin: 'center center',\n stroke: 'currentColor',\n '& [id=circle]': {\n fill: 'none',\n strokeMiterlimit: '10',\n strokeDasharray: '89, 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,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,E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;AAAA,GAAA;AAC7C,CACD;;;;"}
package/dist/types.d.ts CHANGED
@@ -1,484 +1,492 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { ComponentPropsWithRef } from 'react';
3
+ import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
3
4
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
4
- import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
5
5
  import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
6
- import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
6
+ import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
7
7
 
8
- declare const StyledSpinner: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"svg">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
9
- 'border-widths': {
10
- readonly none: 0;
11
- readonly sm: "1px";
12
- readonly md: "2px";
13
- readonly lg: "4px";
14
- };
15
- colors: {
16
- readonly black: any;
17
- readonly 'blue-100': any;
18
- readonly 'blue-200': any;
19
- readonly 'blue-300': any;
20
- readonly 'blue-400': any;
21
- readonly 'blue-500': any;
22
- readonly 'blue-600': any;
23
- readonly 'blue-700': any;
24
- readonly 'blue-800': any;
25
- readonly 'blue-900': any;
26
- readonly 'blue-1000': any;
27
- readonly 'gray-100': any;
28
- readonly 'gray-200': any;
29
- readonly 'gray-300': any;
30
- readonly 'gray-400': any;
31
- readonly 'gray-500': any;
32
- readonly 'gray-600': any;
33
- readonly 'gray-700': any;
34
- readonly 'gray-800': any;
35
- readonly 'gray-900': any;
36
- readonly 'green-100': any;
37
- readonly 'green-200': any;
38
- readonly 'green-300': any;
39
- readonly 'green-400': any;
40
- readonly 'green-500': any;
41
- readonly 'green-600': any;
42
- readonly 'green-700': any;
43
- readonly 'green-800': any;
44
- readonly 'green-900': any;
45
- readonly 'indigo-100': any;
46
- readonly 'indigo-200': any;
47
- readonly 'indigo-300': any;
48
- readonly 'indigo-400': any;
49
- readonly 'indigo-500': any;
50
- readonly 'indigo-600': any;
51
- readonly 'indigo-700': any;
52
- readonly 'indigo-800': any;
53
- readonly 'indigo-900': any;
54
- readonly 'red-100': any;
55
- readonly 'red-200': any;
56
- readonly 'red-300': any;
57
- readonly 'red-400': any;
58
- readonly 'red-500': any;
59
- readonly 'red-600': any;
60
- readonly 'red-700': any;
61
- readonly 'red-800': any;
62
- readonly 'red-900': any;
63
- readonly transparent: any;
64
- readonly white: any;
65
- readonly 'yellow-100': any;
66
- readonly 'yellow-200': any;
67
- readonly 'yellow-300': any;
68
- readonly 'yellow-400': any;
69
- readonly 'yellow-500': any;
70
- readonly 'yellow-600': any;
71
- readonly 'yellow-700': any;
72
- readonly 'yellow-800': any;
73
- readonly 'yellow-900': any;
74
- "background-alpha-active"?: any;
75
- "background-alpha-hover"?: any;
76
- "background-danger-prominent"?: any;
77
- "background-danger-prominent-active"?: any;
78
- "background-danger-prominent-hover"?: any;
79
- "background-danger-subtle"?: any;
80
- "background-danger-subtle-active"?: any;
81
- "background-danger-subtle-hover"?: any;
82
- "background-neutrals"?: any;
83
- "background-neutrals-active"?: any;
84
- "background-neutrals-container"?: any;
85
- "background-neutrals-controls-disabled"?: any;
86
- "background-neutrals-disabled"?: any;
87
- "background-neutrals-hover"?: any;
88
- "background-neutrals-inactive"?: any;
89
- "background-neutrals-inactive-hover"?: any;
90
- "background-neutrals-inverted"?: any;
91
- "background-neutrals-inverted-subtle"?: any;
92
- "background-neutrals-page"?: any;
93
- "background-neutrals-page-subtle"?: any;
94
- "background-neutrals-scrolls"?: any;
95
- "background-neutrals-scrolls-expanded"?: any;
96
- "background-neutrals-scrolls-hover"?: any;
97
- "background-neutrals-scrolls-pressed"?: any;
98
- "background-neutrals-scrolls-pressed-hover"?: any;
99
- "background-neutrals-subtle"?: any;
100
- "background-neutrals-subtle-active"?: any;
101
- "background-neutrals-subtle-hover"?: any;
102
- "background-primary-prominent"?: any;
103
- "background-primary-prominent-active"?: any;
104
- "background-primary-prominent-expanded"?: any;
105
- "background-primary-prominent-hover"?: any;
106
- "background-primary-prominent-pressed"?: any;
107
- "background-primary-prominent-pressed-hover"?: any;
108
- "background-primary-prominent-selected"?: any;
109
- "background-primary-subtle"?: any;
110
- "background-primary-subtle-active"?: any;
111
- "background-primary-subtle-expanded"?: any;
112
- "background-primary-subtle-hover"?: any;
113
- "background-primary-subtle-pressed"?: any;
114
- "background-primary-subtle-pressed-hover"?: any;
115
- "background-primary-subtle-selected"?: any;
116
- "background-success"?: any;
117
- "background-warning-prominent"?: any;
118
- "background-warning-subtle"?: any;
119
- "border-danger"?: any;
120
- "border-danger-active"?: any;
121
- "border-danger-hover"?: any;
122
- "border-focus-inner"?: any;
123
- "border-focus-middle"?: any;
124
- "border-focus-outer"?: any;
125
- "border-neutrals"?: any;
126
- "border-neutrals-active"?: any;
127
- "border-neutrals-controls"?: any;
128
- "border-neutrals-controls-disabled"?: any;
129
- "border-neutrals-disabled"?: any;
130
- "border-neutrals-hover"?: any;
131
- "border-neutrals-inverted"?: any;
132
- "border-neutrals-subtle"?: any;
133
- "border-neutrals-text"?: any;
134
- "border-neutrals-text-active"?: any;
135
- "border-neutrals-text-hover"?: any;
136
- "border-neutrals-text-subtle"?: any;
137
- "border-neutrals-text-subtle-active"?: any;
138
- "border-neutrals-text-subtle-hover"?: any;
139
- "border-neutrals-transparent"?: any;
140
- "border-primary"?: any;
141
- "border-primary-active"?: any;
142
- "border-primary-hover"?: any;
143
- "border-primary-inverted"?: any;
144
- "border-success"?: any;
145
- "border-warning"?: any;
146
- "icon-danger"?: any;
147
- "icon-danger-active"?: any;
148
- "icon-danger-hover"?: any;
149
- "icon-danger-inverted"?: any;
150
- "icon-neutrals"?: any;
151
- "icon-neutrals-disabled"?: any;
152
- "icon-neutrals-inactive"?: any;
153
- "icon-neutrals-inactive-hover"?: any;
154
- "icon-neutrals-inverted"?: any;
155
- "icon-neutrals-search"?: any;
156
- "icon-neutrals-subtle"?: any;
157
- "icon-neutrals-text"?: any;
158
- "icon-primary"?: any;
159
- "icon-primary-active"?: any;
160
- "icon-primary-hover"?: any;
161
- "icon-primary-inverted"?: any;
162
- "icon-primary-selected"?: any;
163
- "icon-success"?: any;
164
- "icon-success-inverted"?: any;
165
- "icon-warning"?: any;
166
- "icon-warning-prominent"?: any;
167
- "text-danger"?: any;
168
- "text-danger-active"?: any;
169
- "text-danger-hover"?: any;
170
- "text-danger-inverted"?: any;
171
- "text-neutrals"?: any;
172
- "text-neutrals-active"?: any;
173
- "text-neutrals-disabled"?: any;
174
- "text-neutrals-hover"?: any;
175
- "text-neutrals-inverted"?: any;
176
- "text-neutrals-placeholder"?: any;
177
- "text-neutrals-placeholder-only"?: any;
178
- "text-neutrals-subtle"?: any;
179
- "text-neutrals-subtle-active"?: any;
180
- "text-neutrals-subtle-hover"?: any;
181
- "text-primary"?: any;
182
- "text-primary-active"?: any;
183
- "text-primary-hover"?: any;
184
- "text-primary-inverted"?: any;
185
- "text-primary-inverted-subtle"?: any;
186
- "text-primary-selected"?: any;
187
- "text-success"?: any;
188
- "text-warning"?: any;
189
- };
190
- 'font-sizes': {
191
- readonly 150: "0.75rem";
192
- readonly 175: "0.875rem";
193
- readonly 200: "1rem";
194
- readonly 225: "1.125rem";
195
- readonly 250: "1.25rem";
196
- readonly 300: "1.5rem";
197
- readonly 400: "2rem";
198
- readonly 500: "2.5rem";
199
- readonly 600: "3rem";
200
- readonly 800: "4rem";
201
- readonly 900: "4.5rem";
202
- };
203
- fonts: {
204
- readonly heading: "Roobert, sans-serif";
205
- readonly body: "Open Sans, sans-serif";
206
- };
207
- radii: {
208
- readonly none: 0;
209
- readonly half: "999em";
210
- readonly 25: "2px";
211
- readonly 50: "4px";
212
- readonly 75: "6px";
213
- readonly 100: "8px";
214
- readonly 200: "16px";
215
- };
216
- shadows: {
217
- readonly 50: "0 4px 16px #05003812";
218
- readonly 100: "0 8px 32px #05003808";
219
- readonly 'focus-small': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-inner";
220
- readonly 'focus-small-outline': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 1px $colors$border-focus-middle, inset 0 0 0 2px $colors$border-focus-inner";
221
- readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
222
- readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
223
- readonly 'focus-controls-error': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-danger, 0 0 0 5px $colors$background-danger-subtle-hover";
224
- };
225
- sizes: {
226
- readonly number: string;
227
- readonly 'icon-200': "16px";
228
- readonly 'icon-300': "24px";
229
- readonly 'icon-400': "32px";
230
- };
231
- space: {
232
- readonly 0: 0;
233
- readonly 50: "4px";
234
- readonly 100: "8px";
235
- readonly 150: "12px";
236
- readonly 200: "16px";
237
- readonly 300: "24px";
238
- readonly 400: "32px";
239
- readonly 500: "40px";
240
- readonly 600: "48px";
241
- readonly 700: "56px";
242
- readonly 800: "64px";
243
- readonly 1200: "96px";
244
- readonly 1600: "128px";
245
- };
246
- 'space-gap': {
247
- readonly 0: any;
248
- readonly 50: any;
249
- readonly 100: any;
250
- readonly 200: any;
251
- readonly 300: any;
252
- };
253
- 'space-inset': {
254
- readonly 0: any;
255
- readonly 50: any;
256
- readonly 100: any;
257
- readonly 150: any;
258
- readonly 200: any;
259
- readonly 300: any;
260
- readonly 400: any;
261
- readonly 500: any;
262
- readonly 600: any;
263
- readonly 800: any;
264
- readonly 1200: any;
265
- readonly 1600: any;
266
- };
267
- 'space-offset': {
268
- readonly 0: any;
269
- readonly 50: any;
270
- readonly 100: any;
271
- readonly 150: any;
272
- readonly 200: any;
273
- readonly 300: any;
274
- readonly 400: any;
275
- readonly 600: any;
276
- readonly 800: any;
277
- readonly 1200: any;
278
- readonly 1600: any;
279
- readonly 'stacking-0': any;
280
- readonly 'stacking-100': any;
281
- readonly 'stacking-200': any;
282
- readonly 'stacking-300': any;
283
- readonly 'stacking-400': any;
284
- readonly 'stacking-500': any;
285
- readonly 'stacking-800': any;
286
- };
287
- 'stroke-width': {
288
- readonly thin: "1.5px";
289
- readonly normal: "2px";
290
- readonly bold: "4px";
291
- };
292
- 'z-indices': {
293
- readonly dropdownMenu: 100;
294
- readonly select: 200;
295
- readonly popover: 300;
296
- readonly tooltip: 400;
297
- };
298
- }, {
299
- readonly background: "colors";
300
- readonly backgroundColor: "colors";
301
- readonly backgroundImage: "colors";
302
- readonly blockSize: "sizes";
303
- readonly border: "colors";
304
- readonly borderBlock: "colors";
305
- readonly borderBlockEnd: "colors";
306
- readonly borderBlockStart: "colors";
307
- readonly borderBottom: "colors";
308
- readonly borderBottomColor: "colors";
309
- readonly borderBottomLeftRadius: "radii";
310
- readonly borderBottomRightRadius: "radii";
311
- readonly borderBottomStyle: "border-styles";
312
- readonly borderBottomWidth: "border-widths";
313
- readonly borderColor: "colors";
314
- readonly borderImage: "colors";
315
- readonly borderInline: "colors";
316
- readonly borderInlineEnd: "colors";
317
- readonly borderInlineStart: "colors";
318
- readonly borderLeft: "colors";
319
- readonly borderLeftColor: "colors";
320
- readonly borderLeftStyle: "border-styles";
321
- readonly borderLeftWidth: "border-widths";
322
- readonly borderRadius: "radii";
323
- readonly borderRight: "colors";
324
- readonly borderRightColor: "colors";
325
- readonly borderRightStyle: "border-styles";
326
- readonly borderRightWidth: "border-widths";
327
- readonly borderStyle: "border-styles";
328
- readonly borderTop: "colors";
329
- readonly borderTopColor: "colors";
330
- readonly borderTopLeftRadius: "radii";
331
- readonly borderTopRightRadius: "radii";
332
- readonly borderTopStyle: "border-styles";
333
- readonly borderTopWidth: "border-widths";
334
- readonly borderWidth: "border-widths";
335
- readonly bottom: "space";
336
- readonly boxShadow: "shadows";
337
- readonly caretColor: "colors";
338
- readonly color: "colors";
339
- readonly columnGap: "space-gap";
340
- readonly columnRuleColor: "colors";
341
- readonly fill: "colors";
342
- readonly flexBasis: "sizes";
343
- readonly fontFamily: "fonts";
344
- readonly fontSize: "font-sizes";
345
- readonly fontWeight: "font-weights";
346
- readonly gap: "space-gap";
347
- readonly gridColumnGap: "space-gap";
348
- readonly gridGap: "space-gap";
349
- readonly gridRowGap: "space-gap";
350
- readonly gridTemplateColumns: "sizes";
351
- readonly gridTemplateRows: "sizes";
352
- readonly height: "sizes";
353
- readonly inlineSize: "sizes";
354
- readonly inset: "space-inset";
355
- readonly insetBlock: "space-inset";
356
- readonly insetBlockEnd: "space-inset";
357
- readonly insetBlockStart: "space-inset";
358
- readonly insetInline: "space-inset";
359
- readonly insetInlineEnd: "space-inset";
360
- readonly insetInlineStart: "space-inset";
361
- readonly left: "space";
362
- readonly letterSpacing: "letter-spacings";
363
- readonly lineHeight: "line-heights";
364
- readonly margin: "space-offset";
365
- readonly marginBlock: "space-offset";
366
- readonly marginBlockEnd: "space-offset";
367
- readonly marginBlockStart: "space-offset";
368
- readonly marginBottom: "space-offset";
369
- readonly marginInline: "space-offset";
370
- readonly marginInlineEnd: "space-offset";
371
- readonly marginInlineStart: "space-offset";
372
- readonly marginLeft: "space-offset";
373
- readonly marginRight: "space-offset";
374
- readonly marginTop: "space-offset";
375
- readonly maxBlockSize: "sizes";
376
- readonly maxHeight: "sizes";
377
- readonly maxInlineSize: "sizes";
378
- readonly maxWidth: "sizes";
379
- readonly minBlockSize: "sizes";
380
- readonly minHeight: "sizes";
381
- readonly minInlineSize: "sizes";
382
- readonly minWidth: "sizes";
383
- readonly outline: "colors";
384
- readonly outlineColor: "colors";
385
- readonly padding: "space-inset";
386
- readonly paddingBlock: "space-inset";
387
- readonly paddingBlockEnd: "space-inset";
388
- readonly paddingBlockStart: "space-inset";
389
- readonly paddingBottom: "space-inset";
390
- readonly paddingInline: "space-inset";
391
- readonly paddingInlineEnd: "space-inset";
392
- readonly paddingInlineStart: "space-inset";
393
- readonly paddingLeft: "space-inset";
394
- readonly paddingRight: "space-inset";
395
- readonly paddingTop: "space-inset";
396
- readonly right: "space";
397
- readonly rowGap: "space-gap";
398
- readonly scrollMargin: "space-offset";
399
- readonly scrollMarginBlock: "space-offset";
400
- readonly scrollMarginBlockEnd: "space-offset";
401
- readonly scrollMarginBlockStart: "space-offset";
402
- readonly scrollMarginBottom: "space-offset";
403
- readonly scrollMarginInline: "space-offset";
404
- readonly scrollMarginInlineEnd: "space-offset";
405
- readonly scrollMarginInlineStart: "space-offset";
406
- readonly scrollMarginLeft: "space-offset";
407
- readonly scrollMarginRight: "space-offset";
408
- readonly scrollMarginTop: "space-offset";
409
- readonly scrollPadding: "space-inset";
410
- readonly scrollPaddingBlock: "space-inset";
411
- readonly scrollPaddingBlockEnd: "space-inset";
412
- readonly scrollPaddingBlockStart: "space-inset";
413
- readonly scrollPaddingBottom: "space-inset";
414
- readonly scrollPaddingInline: "space-inset";
415
- readonly scrollPaddingInlineEnd: "space-inset";
416
- readonly scrollPaddingInlineStart: "space-inset";
417
- readonly scrollPaddingLeft: "space-inset";
418
- readonly scrollPaddingRight: "space-inset";
419
- readonly scrollPaddingTop: "space-inset";
420
- readonly stroke: "colors";
421
- readonly strokeWidth: "stroke-width";
422
- readonly textDecorationColor: "colors";
423
- readonly textShadow: "shadows";
424
- readonly top: "space";
425
- readonly transition: "transitions";
426
- readonly width: "sizes";
427
- readonly zIndex: "z-indices";
428
- }, {
429
- paddingX: (value: {
430
- readonly [$$PropertyValue]: "padding";
431
- }) => {
432
- paddingLeft: {
433
- readonly [$$PropertyValue]: "padding";
8
+ declare const StyledSpinner: react.ForwardRefExoticComponent<Omit<Omit<{
9
+ size?: "small" | "medium" | undefined;
10
+ }, "size"> & _stitches_react_types_styled_component.TransformProps<{
11
+ size?: "small" | "medium" | undefined;
12
+ }, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Omit<react.SVGProps<SVGSVGElement>, "ref"> & {
13
+ ref?: ((instance: SVGSVGElement | null) => void) | react.RefObject<SVGSVGElement> | null | undefined;
14
+ } & {
15
+ asChild?: boolean | undefined;
16
+ }, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
17
+ css?: _stitches_react_types_css_util.CSS<{}, {
18
+ 'border-widths': {
19
+ readonly none: 0;
20
+ readonly sm: "1px";
21
+ readonly md: "2px";
22
+ readonly lg: "4px";
434
23
  };
435
- paddingRight: {
436
- readonly [$$PropertyValue]: "padding";
24
+ colors: {
25
+ readonly black: any;
26
+ readonly 'blue-100': any;
27
+ readonly 'blue-200': any;
28
+ readonly 'blue-300': any;
29
+ readonly 'blue-400': any;
30
+ readonly 'blue-500': any;
31
+ readonly 'blue-600': any;
32
+ readonly 'blue-700': any;
33
+ readonly 'blue-800': any;
34
+ readonly 'blue-900': any;
35
+ readonly 'blue-1000': any;
36
+ readonly 'gray-100': any;
37
+ readonly 'gray-200': any;
38
+ readonly 'gray-300': any;
39
+ readonly 'gray-400': any;
40
+ readonly 'gray-500': any;
41
+ readonly 'gray-600': any;
42
+ readonly 'gray-700': any;
43
+ readonly 'gray-800': any;
44
+ readonly 'gray-900': any;
45
+ readonly 'green-100': any;
46
+ readonly 'green-200': any;
47
+ readonly 'green-300': any;
48
+ readonly 'green-400': any;
49
+ readonly 'green-500': any;
50
+ readonly 'green-600': any;
51
+ readonly 'green-700': any;
52
+ readonly 'green-800': any;
53
+ readonly 'green-900': any;
54
+ readonly 'indigo-100': any;
55
+ readonly 'indigo-200': any;
56
+ readonly 'indigo-300': any;
57
+ readonly 'indigo-400': any;
58
+ readonly 'indigo-500': any;
59
+ readonly 'indigo-600': any;
60
+ readonly 'indigo-700': any;
61
+ readonly 'indigo-800': any;
62
+ readonly 'indigo-900': any;
63
+ readonly 'red-100': any;
64
+ readonly 'red-200': any;
65
+ readonly 'red-300': any;
66
+ readonly 'red-400': any;
67
+ readonly 'red-500': any;
68
+ readonly 'red-600': any;
69
+ readonly 'red-700': any;
70
+ readonly 'red-800': any;
71
+ readonly 'red-900': any;
72
+ readonly transparent: any;
73
+ readonly white: any;
74
+ readonly 'yellow-100': any;
75
+ readonly 'yellow-200': any;
76
+ readonly 'yellow-300': any;
77
+ readonly 'yellow-400': any;
78
+ readonly 'yellow-500': any;
79
+ readonly 'yellow-600': any;
80
+ readonly 'yellow-700': any;
81
+ readonly 'yellow-800': any;
82
+ readonly 'yellow-900': any;
83
+ "background-alpha-active"?: any;
84
+ "background-alpha-hover"?: any;
85
+ "background-danger-prominent"?: any;
86
+ "background-danger-prominent-active"?: any;
87
+ "background-danger-prominent-hover"?: any;
88
+ "background-danger-subtle"?: any;
89
+ "background-danger-subtle-active"?: any;
90
+ "background-danger-subtle-hover"?: any;
91
+ "background-neutrals"?: any;
92
+ "background-neutrals-active"?: any;
93
+ "background-neutrals-container"?: any;
94
+ "background-neutrals-controls-disabled"?: any;
95
+ "background-neutrals-disabled"?: any;
96
+ "background-neutrals-hover"?: any;
97
+ "background-neutrals-inactive"?: any;
98
+ "background-neutrals-inactive-hover"?: any;
99
+ "background-neutrals-inverted"?: any;
100
+ "background-neutrals-inverted-subtle"?: any;
101
+ "background-neutrals-page"?: any;
102
+ "background-neutrals-page-subtle"?: any;
103
+ "background-neutrals-scrolls"?: any;
104
+ "background-neutrals-scrolls-expanded"?: any;
105
+ "background-neutrals-scrolls-hover"?: any;
106
+ "background-neutrals-scrolls-pressed"?: any;
107
+ "background-neutrals-scrolls-pressed-hover"?: any;
108
+ "background-neutrals-subtle"?: any;
109
+ "background-neutrals-subtle-active"?: any;
110
+ "background-neutrals-subtle-hover"?: any;
111
+ "background-primary-prominent"?: any;
112
+ "background-primary-prominent-active"?: any;
113
+ "background-primary-prominent-expanded"?: any;
114
+ "background-primary-prominent-hover"?: any;
115
+ "background-primary-prominent-pressed"?: any;
116
+ "background-primary-prominent-pressed-hover"?: any;
117
+ "background-primary-prominent-selected"?: any;
118
+ "background-primary-subtle"?: any;
119
+ "background-primary-subtle-active"?: any;
120
+ "background-primary-subtle-expanded"?: any;
121
+ "background-primary-subtle-hover"?: any;
122
+ "background-primary-subtle-pressed"?: any;
123
+ "background-primary-subtle-pressed-hover"?: any;
124
+ "background-primary-subtle-selected"?: any;
125
+ "background-success"?: any;
126
+ "background-warning-prominent"?: any;
127
+ "background-warning-subtle"?: any;
128
+ "border-danger"?: any;
129
+ "border-danger-active"?: any;
130
+ "border-danger-hover"?: any;
131
+ "border-focus-inner"?: any;
132
+ "border-focus-middle"?: any;
133
+ "border-focus-outer"?: any;
134
+ "border-neutrals"?: any;
135
+ "border-neutrals-active"?: any;
136
+ "border-neutrals-controls"?: any;
137
+ "border-neutrals-controls-disabled"?: any;
138
+ "border-neutrals-disabled"?: any;
139
+ "border-neutrals-hover"?: any;
140
+ "border-neutrals-inverted"?: any;
141
+ "border-neutrals-subtle"?: any;
142
+ "border-neutrals-text"?: any;
143
+ "border-neutrals-text-active"?: any;
144
+ "border-neutrals-text-hover"?: any;
145
+ "border-neutrals-text-subtle"?: any;
146
+ "border-neutrals-text-subtle-active"?: any;
147
+ "border-neutrals-text-subtle-hover"?: any;
148
+ "border-neutrals-transparent"?: any;
149
+ "border-primary"?: any;
150
+ "border-primary-active"?: any;
151
+ "border-primary-hover"?: any;
152
+ "border-primary-inverted"?: any;
153
+ "border-success"?: any;
154
+ "border-warning"?: any;
155
+ "icon-danger"?: any;
156
+ "icon-danger-active"?: any;
157
+ "icon-danger-hover"?: any;
158
+ "icon-danger-inverted"?: any;
159
+ "icon-neutrals"?: any;
160
+ "icon-neutrals-disabled"?: any;
161
+ "icon-neutrals-inactive"?: any;
162
+ "icon-neutrals-inactive-hover"?: any;
163
+ "icon-neutrals-inverted"?: any;
164
+ "icon-neutrals-search"?: any;
165
+ "icon-neutrals-subtle"?: any;
166
+ "icon-neutrals-text"?: any;
167
+ "icon-primary"?: any;
168
+ "icon-primary-active"?: any;
169
+ "icon-primary-hover"?: any;
170
+ "icon-primary-inverted"?: any;
171
+ "icon-primary-selected"?: any;
172
+ "icon-success"?: any;
173
+ "icon-success-inverted"?: any;
174
+ "icon-warning"?: any;
175
+ "icon-warning-prominent"?: any;
176
+ "text-danger"?: any;
177
+ "text-danger-active"?: any;
178
+ "text-danger-hover"?: any;
179
+ "text-danger-inverted"?: any;
180
+ "text-neutrals"?: any;
181
+ "text-neutrals-active"?: any;
182
+ "text-neutrals-disabled"?: any;
183
+ "text-neutrals-hover"?: any;
184
+ "text-neutrals-inverted"?: any;
185
+ "text-neutrals-placeholder"?: any;
186
+ "text-neutrals-placeholder-only"?: any;
187
+ "text-neutrals-subtle"?: any;
188
+ "text-neutrals-subtle-active"?: any;
189
+ "text-neutrals-subtle-hover"?: any;
190
+ "text-primary"?: any;
191
+ "text-primary-active"?: any;
192
+ "text-primary-hover"?: any;
193
+ "text-primary-inverted"?: any;
194
+ "text-primary-inverted-subtle"?: any;
195
+ "text-primary-selected"?: any;
196
+ "text-success"?: any;
197
+ "text-warning"?: any;
437
198
  };
438
- };
439
- paddingY: (value: {
440
- readonly [$$PropertyValue]: "padding";
441
- }) => {
442
- paddingTop: {
443
- readonly [$$PropertyValue]: "padding";
199
+ 'font-sizes': {
200
+ readonly 150: "0.75rem";
201
+ readonly 175: "0.875rem";
202
+ readonly 200: "1rem";
203
+ readonly 225: "1.125rem";
204
+ readonly 250: "1.25rem";
205
+ readonly 300: "1.5rem";
206
+ readonly 400: "2rem";
207
+ readonly 500: "2.5rem";
208
+ readonly 600: "3rem";
209
+ readonly 800: "4rem";
210
+ readonly 900: "4.5rem";
444
211
  };
445
- paddingBottom: {
446
- readonly [$$PropertyValue]: "padding";
212
+ fonts: {
213
+ readonly heading: "Roobert, sans-serif";
214
+ readonly body: "Open Sans, sans-serif";
447
215
  };
448
- };
449
- marginX: (value: {
450
- readonly [$$PropertyValue]: "margin";
451
- }) => {
452
- marginLeft: {
453
- readonly [$$PropertyValue]: "margin";
216
+ radii: {
217
+ readonly none: 0;
218
+ readonly half: "999em";
219
+ readonly 25: "2px";
220
+ readonly 50: "4px";
221
+ readonly 75: "6px";
222
+ readonly 100: "8px";
223
+ readonly 200: "16px";
454
224
  };
455
- marginRight: {
456
- readonly [$$PropertyValue]: "margin";
225
+ shadows: {
226
+ readonly 'focus-small': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-inner";
227
+ readonly 'focus-small-outline': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 1px $colors$border-focus-middle, inset 0 0 0 2px $colors$border-focus-inner";
228
+ readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
229
+ readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
230
+ readonly 'focus-controls-error': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-danger, 0 0 0 5px $colors$background-danger-subtle-hover";
457
231
  };
458
- };
459
- marginY: (value: {
460
- readonly [$$PropertyValue]: "margin";
461
- }) => {
462
- marginTop: {
463
- readonly [$$PropertyValue]: "margin";
232
+ sizes: {
233
+ readonly number: string;
234
+ readonly 'icon-200': "16px";
235
+ readonly 'icon-300': "24px";
236
+ readonly 'icon-400': "32px";
464
237
  };
465
- marginBottom: {
238
+ space: {
239
+ readonly 0: "0px";
240
+ readonly 50: "4px";
241
+ readonly 100: "8px";
242
+ readonly 150: "12px";
243
+ readonly 200: "16px";
244
+ readonly 300: "24px";
245
+ readonly 400: "32px";
246
+ readonly 500: "40px";
247
+ readonly 600: "48px";
248
+ readonly 700: "56px";
249
+ readonly 800: "64px";
250
+ readonly 1200: "96px";
251
+ readonly 1600: "128px";
252
+ };
253
+ 'space-gap': {
254
+ readonly 0: any;
255
+ readonly 50: any;
256
+ readonly 100: any;
257
+ readonly 200: any;
258
+ readonly 300: any;
259
+ };
260
+ 'space-inset': {
261
+ readonly 0: any;
262
+ readonly 50: any;
263
+ readonly 100: any;
264
+ readonly 150: any;
265
+ readonly 200: any;
266
+ readonly 300: any;
267
+ readonly 400: any;
268
+ readonly 600: any;
269
+ readonly 700: any;
270
+ readonly 800: any;
271
+ readonly 1200: any;
272
+ readonly 1600: any;
273
+ };
274
+ 'space-offset': {
275
+ readonly 0: any;
276
+ readonly 50: any;
277
+ readonly 100: any;
278
+ readonly 150: any;
279
+ readonly 200: any;
280
+ readonly 300: any;
281
+ readonly 400: any;
282
+ readonly 600: any;
283
+ readonly 800: any;
284
+ readonly 1200: any;
285
+ readonly 1600: any;
286
+ readonly 'stacking-0': any;
287
+ readonly 'stacking-100': any;
288
+ readonly 'stacking-200': any;
289
+ readonly 'stacking-300': any;
290
+ readonly 'stacking-400': any;
291
+ readonly 'stacking-500': any;
292
+ readonly 'stacking-800': any;
293
+ };
294
+ 'stroke-width': {
295
+ readonly thin: "1.5px";
296
+ readonly normal: "2px";
297
+ readonly bold: "4px";
298
+ };
299
+ 'z-indices': {
300
+ readonly dropdownMenu: 100;
301
+ readonly select: 200;
302
+ readonly popover: 300;
303
+ readonly tooltip: 400;
304
+ };
305
+ }, {
306
+ readonly background: "colors";
307
+ readonly backgroundColor: "colors";
308
+ readonly backgroundImage: "colors";
309
+ readonly blockSize: "sizes";
310
+ readonly border: "colors";
311
+ readonly borderBlock: "colors";
312
+ readonly borderBlockEnd: "colors";
313
+ readonly borderBlockStart: "colors";
314
+ readonly borderBottom: "colors";
315
+ readonly borderBottomColor: "colors";
316
+ readonly borderBottomLeftRadius: "radii";
317
+ readonly borderBottomRightRadius: "radii";
318
+ readonly borderBottomStyle: "border-styles";
319
+ readonly borderBottomWidth: "border-widths";
320
+ readonly borderColor: "colors";
321
+ readonly borderImage: "colors";
322
+ readonly borderInline: "colors";
323
+ readonly borderInlineEnd: "colors";
324
+ readonly borderInlineStart: "colors";
325
+ readonly borderLeft: "colors";
326
+ readonly borderLeftColor: "colors";
327
+ readonly borderLeftStyle: "border-styles";
328
+ readonly borderLeftWidth: "border-widths";
329
+ readonly borderRadius: "radii";
330
+ readonly borderRight: "colors";
331
+ readonly borderRightColor: "colors";
332
+ readonly borderRightStyle: "border-styles";
333
+ readonly borderRightWidth: "border-widths";
334
+ readonly borderStyle: "border-styles";
335
+ readonly borderTop: "colors";
336
+ readonly borderTopColor: "colors";
337
+ readonly borderTopLeftRadius: "radii";
338
+ readonly borderTopRightRadius: "radii";
339
+ readonly borderTopStyle: "border-styles";
340
+ readonly borderTopWidth: "border-widths";
341
+ readonly borderWidth: "border-widths";
342
+ readonly bottom: "space";
343
+ readonly boxShadow: "shadows";
344
+ readonly caretColor: "colors";
345
+ readonly color: "colors";
346
+ readonly columnGap: "space-gap";
347
+ readonly columnRuleColor: "colors";
348
+ readonly fill: "colors";
349
+ readonly flexBasis: "sizes";
350
+ readonly fontFamily: "fonts";
351
+ readonly fontSize: "font-sizes";
352
+ readonly fontWeight: "font-weights";
353
+ readonly gap: "space-gap";
354
+ readonly gridColumnGap: "space-gap";
355
+ readonly gridGap: "space-gap";
356
+ readonly gridRowGap: "space-gap";
357
+ readonly gridTemplateColumns: "sizes";
358
+ readonly gridTemplateRows: "sizes";
359
+ readonly height: "sizes";
360
+ readonly inlineSize: "sizes";
361
+ readonly inset: "space-inset";
362
+ readonly insetBlock: "space-inset";
363
+ readonly insetBlockEnd: "space-inset";
364
+ readonly insetBlockStart: "space-inset";
365
+ readonly insetInline: "space-inset";
366
+ readonly insetInlineEnd: "space-inset";
367
+ readonly insetInlineStart: "space-inset";
368
+ readonly left: "space";
369
+ readonly letterSpacing: "letter-spacings";
370
+ readonly lineHeight: "line-heights";
371
+ readonly margin: "space-offset";
372
+ readonly marginBlock: "space-offset";
373
+ readonly marginBlockEnd: "space-offset";
374
+ readonly marginBlockStart: "space-offset";
375
+ readonly marginBottom: "space-offset";
376
+ readonly marginInline: "space-offset";
377
+ readonly marginInlineEnd: "space-offset";
378
+ readonly marginInlineStart: "space-offset";
379
+ readonly marginLeft: "space-offset";
380
+ readonly marginRight: "space-offset";
381
+ readonly marginTop: "space-offset";
382
+ readonly maxBlockSize: "sizes";
383
+ readonly maxHeight: "sizes";
384
+ readonly maxInlineSize: "sizes";
385
+ readonly maxWidth: "sizes";
386
+ readonly minBlockSize: "sizes";
387
+ readonly minHeight: "sizes";
388
+ readonly minInlineSize: "sizes";
389
+ readonly minWidth: "sizes";
390
+ readonly outline: "colors";
391
+ readonly outlineColor: "colors";
392
+ readonly padding: "space-inset";
393
+ readonly paddingBlock: "space-inset";
394
+ readonly paddingBlockEnd: "space-inset";
395
+ readonly paddingBlockStart: "space-inset";
396
+ readonly paddingBottom: "space-inset";
397
+ readonly paddingInline: "space-inset";
398
+ readonly paddingInlineEnd: "space-inset";
399
+ readonly paddingInlineStart: "space-inset";
400
+ readonly paddingLeft: "space-inset";
401
+ readonly paddingRight: "space-inset";
402
+ readonly paddingTop: "space-inset";
403
+ readonly right: "space";
404
+ readonly rowGap: "space-gap";
405
+ readonly scrollMargin: "space-offset";
406
+ readonly scrollMarginBlock: "space-offset";
407
+ readonly scrollMarginBlockEnd: "space-offset";
408
+ readonly scrollMarginBlockStart: "space-offset";
409
+ readonly scrollMarginBottom: "space-offset";
410
+ readonly scrollMarginInline: "space-offset";
411
+ readonly scrollMarginInlineEnd: "space-offset";
412
+ readonly scrollMarginInlineStart: "space-offset";
413
+ readonly scrollMarginLeft: "space-offset";
414
+ readonly scrollMarginRight: "space-offset";
415
+ readonly scrollMarginTop: "space-offset";
416
+ readonly scrollPadding: "space-inset";
417
+ readonly scrollPaddingBlock: "space-inset";
418
+ readonly scrollPaddingBlockEnd: "space-inset";
419
+ readonly scrollPaddingBlockStart: "space-inset";
420
+ readonly scrollPaddingBottom: "space-inset";
421
+ readonly scrollPaddingInline: "space-inset";
422
+ readonly scrollPaddingInlineEnd: "space-inset";
423
+ readonly scrollPaddingInlineStart: "space-inset";
424
+ readonly scrollPaddingLeft: "space-inset";
425
+ readonly scrollPaddingRight: "space-inset";
426
+ readonly scrollPaddingTop: "space-inset";
427
+ readonly stroke: "colors";
428
+ readonly strokeWidth: "stroke-width";
429
+ readonly textDecorationColor: "colors";
430
+ readonly textShadow: "shadows";
431
+ readonly top: "space";
432
+ readonly transition: "transitions";
433
+ readonly width: "sizes";
434
+ readonly zIndex: "z-indices";
435
+ }, {
436
+ paddingX: (value: {
437
+ readonly [$$PropertyValue]: "padding";
438
+ }) => {
439
+ paddingLeft: {
440
+ readonly [$$PropertyValue]: "padding";
441
+ };
442
+ paddingRight: {
443
+ readonly [$$PropertyValue]: "padding";
444
+ };
445
+ };
446
+ paddingY: (value: {
447
+ readonly [$$PropertyValue]: "padding";
448
+ }) => {
449
+ paddingTop: {
450
+ readonly [$$PropertyValue]: "padding";
451
+ };
452
+ paddingBottom: {
453
+ readonly [$$PropertyValue]: "padding";
454
+ };
455
+ };
456
+ marginX: (value: {
466
457
  readonly [$$PropertyValue]: "margin";
458
+ }) => {
459
+ marginLeft: {
460
+ readonly [$$PropertyValue]: "margin";
461
+ };
462
+ marginRight: {
463
+ readonly [$$PropertyValue]: "margin";
464
+ };
467
465
  };
468
- };
469
- square: (value: {
470
- readonly [$$PropertyValue]: "width";
471
- }) => {
472
- width: {
473
- readonly [$$PropertyValue]: "width";
466
+ marginY: (value: {
467
+ readonly [$$PropertyValue]: "margin";
468
+ }) => {
469
+ marginTop: {
470
+ readonly [$$PropertyValue]: "margin";
471
+ };
472
+ marginBottom: {
473
+ readonly [$$PropertyValue]: "margin";
474
+ };
474
475
  };
475
- height: {
476
+ square: (value: {
476
477
  readonly [$$PropertyValue]: "width";
478
+ }) => {
479
+ width: {
480
+ readonly [$$PropertyValue]: "width";
481
+ };
482
+ height: {
483
+ readonly [$$PropertyValue]: "width";
484
+ };
477
485
  };
478
- };
479
- }>>>, "size"> & _stitches_react_types_styled_component.TransformProps<{
480
- size?: "small" | "medium" | undefined;
481
- }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<SVGSVGElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"svg">>, {
486
+ }> | undefined;
487
+ }> & {
488
+ children?: react.ReactNode;
489
+ } & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<SVGSVGElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"svg">>, {
482
490
  size?: "small" | "medium" | undefined;
483
491
  }, {}>;
484
492
  declare type StyledSpinnerProps = ComponentPropsWithRef<typeof StyledSpinner>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-spinner",
3
- "version": "1.1.24-input.0",
3
+ "version": "1.1.25",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -26,9 +26,9 @@
26
26
  "react": "^16.14 || ^17 || ^18"
27
27
  },
28
28
  "dependencies": {
29
- "@mirohq/design-system-primitive": "^1.1.1",
30
- "@mirohq/design-tokens": "^3.4.0-input.0",
31
- "@mirohq/design-system-stitches": "^2.3.13-input.0"
29
+ "@mirohq/design-system-stitches": "^2.3.13",
30
+ "@mirohq/design-tokens": "^3.4.0",
31
+ "@mirohq/design-system-primitive": "^1.1.1"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "rollup -c ../../../rollup.config.js",