@mirohq/design-system-tabs 0.1.0-tabs-component.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/dist/main.js ADDED
@@ -0,0 +1,102 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var Tabs$1 = require('@radix-ui/react-tabs');
7
+ var designSystemStitches = require('@mirohq/design-system-stitches');
8
+ var designSystemStyles = require('@mirohq/design-system-styles');
9
+
10
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
+
12
+ function _interopNamespace(e) {
13
+ if (e && e.__esModule) return e;
14
+ var n = Object.create(null);
15
+ if (e) {
16
+ Object.keys(e).forEach(function (k) {
17
+ if (k !== 'default') {
18
+ var d = Object.getOwnPropertyDescriptor(e, k);
19
+ Object.defineProperty(n, k, d.get ? d : {
20
+ enumerable: true,
21
+ get: function () { return e[k]; }
22
+ });
23
+ }
24
+ });
25
+ }
26
+ n["default"] = e;
27
+ return Object.freeze(n);
28
+ }
29
+
30
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
31
+ var Tabs__namespace = /*#__PURE__*/_interopNamespace(Tabs$1);
32
+
33
+ const Root = designSystemStitches.styled(Tabs__namespace.Root, {
34
+ display: "flex",
35
+ gap: "$100",
36
+ "&[data-orientation=vertical]": {
37
+ flexDirection: "row"
38
+ },
39
+ "&[data-orientation=horizontal]": {
40
+ flexDirection: "column"
41
+ }
42
+ });
43
+
44
+ const List = designSystemStitches.styled(Tabs__namespace.List, {
45
+ display: "flex",
46
+ gap: "$100",
47
+ "&[data-orientation=vertical]": {
48
+ flexDirection: "column"
49
+ },
50
+ "&[data-orientation=horizontal]": {
51
+ flexDirection: "row"
52
+ }
53
+ });
54
+
55
+ const Trigger = designSystemStitches.styled(Tabs__namespace.Trigger, {
56
+ cursor: "pointer",
57
+ background: "none",
58
+ border: "none",
59
+ padding: "$100 $50",
60
+ borderBottom: "solid 2px transparent",
61
+ fontSize: "$175",
62
+ color: "$background-neutrals-inverted",
63
+ ...designSystemStyles.focus.css({
64
+ boxShadow: "$focus-small",
65
+ outline: "none"
66
+ }),
67
+ "&[data-state=active]": {
68
+ borderBottom: "solid 2px $background-primary-prominent"
69
+ },
70
+ variants: {
71
+ size: {
72
+ normal: {
73
+ fontSize: "$175"
74
+ },
75
+ small: {
76
+ fontSize: "$150"
77
+ }
78
+ }
79
+ }
80
+ });
81
+
82
+ const Tabs = React__default["default"].forwardRef(
83
+ (props, forwardRef) => {
84
+ const { onChange, ...restProps } = props;
85
+ return /* @__PURE__ */ React__default["default"].createElement(Root, {
86
+ ...restProps,
87
+ ref: forwardRef,
88
+ onValueChange: onChange
89
+ });
90
+ }
91
+ );
92
+ Tabs.List = List;
93
+ Tabs.Trigger = Trigger;
94
+ Tabs.Content = Tabs__namespace.Content;
95
+
96
+ var types = /*#__PURE__*/Object.freeze({
97
+ __proto__: null
98
+ });
99
+
100
+ exports.Tabs = Tabs;
101
+ exports.TabsTypes = types;
102
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.js","sources":["../src/partials/root.styled.tsx","../src/partials/list.styled.tsx","../src/partials/trigger.styled.tsx","../src/tabs.tsx"],"sourcesContent":["import * as Tabs from '@radix-ui/react-tabs'\nimport type { StrictComponentProps } from '@mirohq/design-system-stitches'\nimport { styled } from '@mirohq/design-system-stitches'\n\nexport const Root = styled(Tabs.Root, {\n display: 'flex',\n gap: '$100',\n\n '&[data-orientation=vertical]': {\n flexDirection: 'row',\n },\n\n '&[data-orientation=horizontal]': {\n flexDirection: 'column',\n },\n})\n\nexport type RootProps = StrictComponentProps<typeof Root>\n","import * as Tabs from '@radix-ui/react-tabs'\nimport type { StrictComponentProps } from '@mirohq/design-system-stitches'\nimport { styled } from '@mirohq/design-system-stitches'\n\nexport const List = styled(Tabs.List, {\n display: 'flex',\n gap: '$100',\n\n '&[data-orientation=vertical]': {\n flexDirection: 'column',\n },\n\n '&[data-orientation=horizontal]': {\n flexDirection: 'row',\n },\n})\n\nexport type ListProps = StrictComponentProps<typeof List>\n","import * as Tabs from '@radix-ui/react-tabs'\nimport type { StrictComponentProps } from '@mirohq/design-system-stitches'\nimport { styled } from '@mirohq/design-system-stitches'\nimport { focus } from '@mirohq/design-system-styles'\n\nexport const Trigger = styled(Tabs.Trigger, {\n cursor: 'pointer',\n background: 'none',\n border: 'none',\n padding: '$100 $50',\n borderBottom: 'solid 2px transparent',\n fontSize: '$175',\n color: '$background-neutrals-inverted',\n\n ...focus.css({\n boxShadow: '$focus-small',\n outline: 'none',\n }),\n\n '&[data-state=active]': {\n borderBottom: 'solid 2px $background-primary-prominent',\n },\n\n variants: {\n size: {\n normal: {\n fontSize: '$175',\n },\n small: {\n fontSize: '$150',\n },\n },\n },\n})\n\nexport type TriggerProps = StrictComponentProps<typeof Trigger>\n","import React from 'react'\nimport type { ElementRef } from 'react'\nimport * as RadixTabs from '@radix-ui/react-tabs'\n\nimport type { TabsOrientation } from './types'\nimport { Root } from './partials/root.styled'\nimport { List } from './partials/list.styled'\nimport { Trigger } from './partials/trigger.styled'\n\nexport interface TabsProps\n extends Omit<RadixTabs.TabsProps, 'onValueChange' | 'onChange'> {\n /**\n * The value of the tab that should be active when initially rendered. Use when you do not need to control the\n * state of the tabs.\n */\n defaultValue?: string\n /**\n * The controlled value of the tab to activate. Should be used in conjunction with onChange.\n */\n value?: string\n /**\n * Event handler called when the value changes.\n * @param value the value associated to the newly selected tab.\n */\n onChange?: (value: string) => void\n /**\n * The orientation of the component. It will define whether tabs are rendered on the top area of the component\n * (horizontal) or on the left side, next to the content (vertical).\n */\n orientation?: TabsOrientation\n}\n\nexport const Tabs = React.forwardRef<ElementRef<typeof Root>, TabsProps>(\n (props, forwardRef) => {\n const { onChange, ...restProps } = props\n return <Root {...restProps} ref={forwardRef} onValueChange={onChange} />\n }\n) as React.ForwardRefExoticComponent<TabsProps> & Partials\n\ninterface Partials {\n List: typeof List\n Trigger: typeof Trigger\n Content: typeof RadixTabs.Content\n}\n\nTabs.List = List\nTabs.Trigger = Trigger\nTabs.Content = RadixTabs.Content\n"],"names":["styled","Tabs","focus","React","RadixTabs"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIa,MAAA,IAAA,GAAOA,2BAAO,CAAAC,eAAA,CAAK,IAAM,EAAA;AAAA,EACpC,OAAS,EAAA,MAAA;AAAA,EACT,GAAK,EAAA,MAAA;AAAA,EAEL,8BAAgC,EAAA;AAAA,IAC9B,aAAe,EAAA,KAAA;AAAA,GACjB;AAAA,EAEA,gCAAkC,EAAA;AAAA,IAChC,aAAe,EAAA,QAAA;AAAA,GACjB;AACF,CAAC,CAAA;;ACXY,MAAA,IAAA,GAAOD,2BAAO,CAAAC,eAAA,CAAK,IAAM,EAAA;AAAA,EACpC,OAAS,EAAA,MAAA;AAAA,EACT,GAAK,EAAA,MAAA;AAAA,EAEL,8BAAgC,EAAA;AAAA,IAC9B,aAAe,EAAA,QAAA;AAAA,GACjB;AAAA,EAEA,gCAAkC,EAAA;AAAA,IAChC,aAAe,EAAA,KAAA;AAAA,GACjB;AACF,CAAC,CAAA;;ACVY,MAAA,OAAA,GAAUD,2BAAO,CAAAC,eAAA,CAAK,OAAS,EAAA;AAAA,EAC1C,MAAQ,EAAA,SAAA;AAAA,EACR,UAAY,EAAA,MAAA;AAAA,EACZ,MAAQ,EAAA,MAAA;AAAA,EACR,OAAS,EAAA,UAAA;AAAA,EACT,YAAc,EAAA,uBAAA;AAAA,EACd,QAAU,EAAA,MAAA;AAAA,EACV,KAAO,EAAA,+BAAA;AAAA,EAEP,GAAGC,yBAAM,GAAI,CAAA;AAAA,IACX,SAAW,EAAA,cAAA;AAAA,IACX,OAAS,EAAA,MAAA;AAAA,GACV,CAAA;AAAA,EAED,sBAAwB,EAAA;AAAA,IACtB,YAAc,EAAA,yCAAA;AAAA,GAChB;AAAA,EAEA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA;AAAA,MACJ,MAAQ,EAAA;AAAA,QACN,QAAU,EAAA,MAAA;AAAA,OACZ;AAAA,MACA,KAAO,EAAA;AAAA,QACL,QAAU,EAAA,MAAA;AAAA,OACZ;AAAA,KACF;AAAA,GACF;AACF,CAAC,CAAA;;ACDM,MAAM,OAAOC,yBAAM,CAAA,UAAA;AAAA,EACxB,CAAC,OAAO,UAAe,KAAA;AACrB,IAAM,MAAA,EAAE,QAAa,EAAA,GAAA,SAAA,EAAc,GAAA,KAAA,CAAA;AACnC,IAAA,uBAAQA,yBAAA,CAAA,aAAA,CAAA,IAAA,EAAA;AAAA,MAAM,GAAG,SAAA;AAAA,MAAW,GAAK,EAAA,UAAA;AAAA,MAAY,aAAe,EAAA,QAAA;AAAA,KAAU,CAAA,CAAA;AAAA,GACxE;AACF,EAAA;AAQA,IAAA,CAAK,IAAO,GAAA,IAAA,CAAA;AACZ,IAAA,CAAK,OAAU,GAAA,OAAA,CAAA;AACf,IAAA,CAAK,UAAUC,eAAU,CAAA,OAAA;;;;;;;;;"}
package/dist/module.js ADDED
@@ -0,0 +1,74 @@
1
+ import React from 'react';
2
+ import * as Tabs$1 from '@radix-ui/react-tabs';
3
+ import { styled } from '@mirohq/design-system-stitches';
4
+ import { focus } from '@mirohq/design-system-styles';
5
+
6
+ const Root = styled(Tabs$1.Root, {
7
+ display: "flex",
8
+ gap: "$100",
9
+ "&[data-orientation=vertical]": {
10
+ flexDirection: "row"
11
+ },
12
+ "&[data-orientation=horizontal]": {
13
+ flexDirection: "column"
14
+ }
15
+ });
16
+
17
+ const List = styled(Tabs$1.List, {
18
+ display: "flex",
19
+ gap: "$100",
20
+ "&[data-orientation=vertical]": {
21
+ flexDirection: "column"
22
+ },
23
+ "&[data-orientation=horizontal]": {
24
+ flexDirection: "row"
25
+ }
26
+ });
27
+
28
+ const Trigger = styled(Tabs$1.Trigger, {
29
+ cursor: "pointer",
30
+ background: "none",
31
+ border: "none",
32
+ padding: "$100 $50",
33
+ borderBottom: "solid 2px transparent",
34
+ fontSize: "$175",
35
+ color: "$background-neutrals-inverted",
36
+ ...focus.css({
37
+ boxShadow: "$focus-small",
38
+ outline: "none"
39
+ }),
40
+ "&[data-state=active]": {
41
+ borderBottom: "solid 2px $background-primary-prominent"
42
+ },
43
+ variants: {
44
+ size: {
45
+ normal: {
46
+ fontSize: "$175"
47
+ },
48
+ small: {
49
+ fontSize: "$150"
50
+ }
51
+ }
52
+ }
53
+ });
54
+
55
+ const Tabs = React.forwardRef(
56
+ (props, forwardRef) => {
57
+ const { onChange, ...restProps } = props;
58
+ return /* @__PURE__ */ React.createElement(Root, {
59
+ ...restProps,
60
+ ref: forwardRef,
61
+ onValueChange: onChange
62
+ });
63
+ }
64
+ );
65
+ Tabs.List = List;
66
+ Tabs.Trigger = Trigger;
67
+ Tabs.Content = Tabs$1.Content;
68
+
69
+ var types = /*#__PURE__*/Object.freeze({
70
+ __proto__: null
71
+ });
72
+
73
+ export { Tabs, types as TabsTypes };
74
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.js","sources":["../src/partials/root.styled.tsx","../src/partials/list.styled.tsx","../src/partials/trigger.styled.tsx","../src/tabs.tsx"],"sourcesContent":["import * as Tabs from '@radix-ui/react-tabs'\nimport type { StrictComponentProps } from '@mirohq/design-system-stitches'\nimport { styled } from '@mirohq/design-system-stitches'\n\nexport const Root = styled(Tabs.Root, {\n display: 'flex',\n gap: '$100',\n\n '&[data-orientation=vertical]': {\n flexDirection: 'row',\n },\n\n '&[data-orientation=horizontal]': {\n flexDirection: 'column',\n },\n})\n\nexport type RootProps = StrictComponentProps<typeof Root>\n","import * as Tabs from '@radix-ui/react-tabs'\nimport type { StrictComponentProps } from '@mirohq/design-system-stitches'\nimport { styled } from '@mirohq/design-system-stitches'\n\nexport const List = styled(Tabs.List, {\n display: 'flex',\n gap: '$100',\n\n '&[data-orientation=vertical]': {\n flexDirection: 'column',\n },\n\n '&[data-orientation=horizontal]': {\n flexDirection: 'row',\n },\n})\n\nexport type ListProps = StrictComponentProps<typeof List>\n","import * as Tabs from '@radix-ui/react-tabs'\nimport type { StrictComponentProps } from '@mirohq/design-system-stitches'\nimport { styled } from '@mirohq/design-system-stitches'\nimport { focus } from '@mirohq/design-system-styles'\n\nexport const Trigger = styled(Tabs.Trigger, {\n cursor: 'pointer',\n background: 'none',\n border: 'none',\n padding: '$100 $50',\n borderBottom: 'solid 2px transparent',\n fontSize: '$175',\n color: '$background-neutrals-inverted',\n\n ...focus.css({\n boxShadow: '$focus-small',\n outline: 'none',\n }),\n\n '&[data-state=active]': {\n borderBottom: 'solid 2px $background-primary-prominent',\n },\n\n variants: {\n size: {\n normal: {\n fontSize: '$175',\n },\n small: {\n fontSize: '$150',\n },\n },\n },\n})\n\nexport type TriggerProps = StrictComponentProps<typeof Trigger>\n","import React from 'react'\nimport type { ElementRef } from 'react'\nimport * as RadixTabs from '@radix-ui/react-tabs'\n\nimport type { TabsOrientation } from './types'\nimport { Root } from './partials/root.styled'\nimport { List } from './partials/list.styled'\nimport { Trigger } from './partials/trigger.styled'\n\nexport interface TabsProps\n extends Omit<RadixTabs.TabsProps, 'onValueChange' | 'onChange'> {\n /**\n * The value of the tab that should be active when initially rendered. Use when you do not need to control the\n * state of the tabs.\n */\n defaultValue?: string\n /**\n * The controlled value of the tab to activate. Should be used in conjunction with onChange.\n */\n value?: string\n /**\n * Event handler called when the value changes.\n * @param value the value associated to the newly selected tab.\n */\n onChange?: (value: string) => void\n /**\n * The orientation of the component. It will define whether tabs are rendered on the top area of the component\n * (horizontal) or on the left side, next to the content (vertical).\n */\n orientation?: TabsOrientation\n}\n\nexport const Tabs = React.forwardRef<ElementRef<typeof Root>, TabsProps>(\n (props, forwardRef) => {\n const { onChange, ...restProps } = props\n return <Root {...restProps} ref={forwardRef} onValueChange={onChange} />\n }\n) as React.ForwardRefExoticComponent<TabsProps> & Partials\n\ninterface Partials {\n List: typeof List\n Trigger: typeof Trigger\n Content: typeof RadixTabs.Content\n}\n\nTabs.List = List\nTabs.Trigger = Trigger\nTabs.Content = RadixTabs.Content\n"],"names":["Tabs","RadixTabs"],"mappings":";;;;;AAIa,MAAA,IAAA,GAAO,MAAO,CAAAA,MAAA,CAAK,IAAM,EAAA;AAAA,EACpC,OAAS,EAAA,MAAA;AAAA,EACT,GAAK,EAAA,MAAA;AAAA,EAEL,8BAAgC,EAAA;AAAA,IAC9B,aAAe,EAAA,KAAA;AAAA,GACjB;AAAA,EAEA,gCAAkC,EAAA;AAAA,IAChC,aAAe,EAAA,QAAA;AAAA,GACjB;AACF,CAAC,CAAA;;ACXY,MAAA,IAAA,GAAO,MAAO,CAAAA,MAAA,CAAK,IAAM,EAAA;AAAA,EACpC,OAAS,EAAA,MAAA;AAAA,EACT,GAAK,EAAA,MAAA;AAAA,EAEL,8BAAgC,EAAA;AAAA,IAC9B,aAAe,EAAA,QAAA;AAAA,GACjB;AAAA,EAEA,gCAAkC,EAAA;AAAA,IAChC,aAAe,EAAA,KAAA;AAAA,GACjB;AACF,CAAC,CAAA;;ACVY,MAAA,OAAA,GAAU,MAAO,CAAAA,MAAA,CAAK,OAAS,EAAA;AAAA,EAC1C,MAAQ,EAAA,SAAA;AAAA,EACR,UAAY,EAAA,MAAA;AAAA,EACZ,MAAQ,EAAA,MAAA;AAAA,EACR,OAAS,EAAA,UAAA;AAAA,EACT,YAAc,EAAA,uBAAA;AAAA,EACd,QAAU,EAAA,MAAA;AAAA,EACV,KAAO,EAAA,+BAAA;AAAA,EAEP,GAAG,MAAM,GAAI,CAAA;AAAA,IACX,SAAW,EAAA,cAAA;AAAA,IACX,OAAS,EAAA,MAAA;AAAA,GACV,CAAA;AAAA,EAED,sBAAwB,EAAA;AAAA,IACtB,YAAc,EAAA,yCAAA;AAAA,GAChB;AAAA,EAEA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA;AAAA,MACJ,MAAQ,EAAA;AAAA,QACN,QAAU,EAAA,MAAA;AAAA,OACZ;AAAA,MACA,KAAO,EAAA;AAAA,QACL,QAAU,EAAA,MAAA;AAAA,OACZ;AAAA,KACF;AAAA,GACF;AACF,CAAC,CAAA;;ACDM,MAAM,OAAO,KAAM,CAAA,UAAA;AAAA,EACxB,CAAC,OAAO,UAAe,KAAA;AACrB,IAAM,MAAA,EAAE,QAAa,EAAA,GAAA,SAAA,EAAc,GAAA,KAAA,CAAA;AACnC,IAAA,uBAAQ,KAAA,CAAA,aAAA,CAAA,IAAA,EAAA;AAAA,MAAM,GAAG,SAAA;AAAA,MAAW,GAAK,EAAA,UAAA;AAAA,MAAY,aAAe,EAAA,QAAA;AAAA,KAAU,CAAA,CAAA;AAAA,GACxE;AACF,EAAA;AAQA,IAAA,CAAK,IAAO,GAAA,IAAA,CAAA;AACZ,IAAA,CAAK,OAAU,GAAA,OAAA,CAAA;AACf,IAAA,CAAK,UAAUC,MAAU,CAAA,OAAA;;;;;;;;"}
@@ -0,0 +1,937 @@
1
+ import * as react from 'react';
2
+ import react__default from 'react';
3
+ import * as Tabs$1 from '@radix-ui/react-tabs';
4
+ import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
5
+ import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
6
+ import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
7
+
8
+ declare type TabsOrientation = 'horizontal' | 'vertical';
9
+
10
+ type types_TabsOrientation = TabsOrientation;
11
+ declare namespace types {
12
+ export {
13
+ types_TabsOrientation as TabsOrientation,
14
+ };
15
+ }
16
+
17
+ declare const List: react.ForwardRefExoticComponent<Pick<Omit<{}, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Tabs$1.TabsListProps & react.RefAttributes<HTMLDivElement>, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
18
+ css?: _stitches_react_types_css_util.CSS<{}, {
19
+ 'border-widths': {
20
+ readonly none: 0;
21
+ readonly sm: "1px";
22
+ readonly md: "2px";
23
+ readonly lg: "4px";
24
+ };
25
+ colors: {
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 '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 'yellow-100': any;
64
+ readonly 'yellow-200': any;
65
+ readonly 'yellow-300': any;
66
+ readonly 'yellow-400': any;
67
+ readonly 'yellow-500': any;
68
+ readonly 'yellow-600': any;
69
+ readonly 'yellow-700': any;
70
+ readonly 'yellow-800': any;
71
+ readonly 'yellow-900': any;
72
+ readonly 'green-100': any;
73
+ readonly 'green-200': any;
74
+ readonly 'green-300': any;
75
+ readonly 'green-400': any;
76
+ readonly 'green-500': any;
77
+ readonly 'green-600': any;
78
+ readonly 'green-700': any;
79
+ readonly 'green-800': any;
80
+ readonly 'green-900': any;
81
+ readonly black: any;
82
+ readonly white: any;
83
+ readonly transparent: any;
84
+ readonly 'background-danger'?: any;
85
+ readonly 'background-danger-hover'?: any;
86
+ readonly 'background-danger-prominent'?: any;
87
+ readonly 'background-danger-prominent-active'?: any;
88
+ readonly 'background-danger-prominent-hover'?: any;
89
+ readonly 'background-neutrals'?: any;
90
+ readonly 'background-neutrals-body'?: any;
91
+ readonly 'background-neutrals-container'?: any;
92
+ readonly 'background-neutrals-controls-disabled'?: any;
93
+ readonly 'background-neutrals-disabled'?: any;
94
+ readonly 'background-neutrals-inactive'?: any;
95
+ readonly 'background-neutrals-inactive-hover'?: any;
96
+ readonly 'background-neutrals-inverted'?: any;
97
+ readonly 'background-neutrals-inverted-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-link'?: any;
122
+ readonly 'text-neutrals-link-active'?: any;
123
+ readonly 'text-neutrals-link-hover'?: any;
124
+ readonly 'text-neutrals-placeholder'?: any;
125
+ readonly 'text-neutrals-placeholder-only'?: any;
126
+ readonly 'text-neutrals-subtle'?: any;
127
+ readonly 'text-primary'?: any;
128
+ readonly 'text-primary-active'?: any;
129
+ readonly 'text-primary-hover'?: any;
130
+ readonly 'text-primary-inverted'?: any;
131
+ readonly 'text-primary-inverted-subtle'?: any;
132
+ readonly 'text-primary-selected'?: any;
133
+ readonly 'text-success'?: any;
134
+ readonly 'text-warning'?: any;
135
+ readonly 'icon-danger'?: any;
136
+ readonly 'icon-danger-active'?: any;
137
+ readonly 'icon-danger-hover'?: any;
138
+ readonly 'icon-danger-inverted'?: any;
139
+ readonly 'icon-neutrals'?: any;
140
+ readonly 'icon-neutrals-disabled'?: any;
141
+ readonly 'icon-neutrals-inactive'?: any;
142
+ readonly 'icon-neutrals-inactive-hover'?: any;
143
+ readonly 'icon-neutrals-inverted'?: any;
144
+ readonly 'icon-neutrals-search'?: any;
145
+ readonly 'icon-neutrals-subtle'?: any;
146
+ readonly 'icon-neutrals-with-text'?: any;
147
+ readonly 'icon-primary'?: any;
148
+ readonly 'icon-primary-active'?: any;
149
+ readonly 'icon-primary-hover'?: any;
150
+ readonly 'icon-primary-inverted'?: any;
151
+ readonly 'icon-primary-selected'?: any;
152
+ readonly 'icon-success'?: any;
153
+ readonly 'icon-success-inverted'?: any;
154
+ readonly 'icon-warning'?: any;
155
+ readonly 'border-danger'?: any;
156
+ readonly 'border-focus-inner'?: any;
157
+ readonly 'border-focus-middle'?: any;
158
+ readonly 'border-focus-outer'?: any;
159
+ readonly 'border-neutrals'?: any;
160
+ readonly 'border-neutrals-active'?: any;
161
+ readonly 'border-neutrals-controls'?: any;
162
+ readonly 'border-neutrals-controls-disabled'?: any;
163
+ readonly 'border-neutrals-disabled'?: any;
164
+ readonly 'border-neutrals-hover'?: any;
165
+ readonly 'border-neutrals-inverted'?: any;
166
+ readonly 'border-neutrals-subtle'?: any;
167
+ readonly 'border-primary'?: any;
168
+ readonly 'border-primary-active'?: any;
169
+ readonly 'border-primary-hover'?: any;
170
+ readonly 'border-primary-inverted'?: any;
171
+ readonly 'border-success'?: any;
172
+ readonly 'border-warning'?: any;
173
+ };
174
+ 'font-sizes': {
175
+ readonly 150: "0.75rem";
176
+ readonly 175: "0.875rem";
177
+ readonly 200: "1rem";
178
+ readonly 225: "1.125rem";
179
+ readonly 250: "1.25rem";
180
+ readonly 300: "1.5rem";
181
+ readonly 400: "2rem";
182
+ readonly 500: "2.5rem";
183
+ readonly 600: "3rem";
184
+ readonly 800: "4rem";
185
+ readonly 900: "4.5rem";
186
+ };
187
+ radii: {
188
+ readonly none: 0;
189
+ readonly half: "999em";
190
+ readonly 25: "2px";
191
+ readonly 50: "4px";
192
+ readonly 75: "6px";
193
+ readonly 100: "8px";
194
+ readonly 200: "16px";
195
+ };
196
+ shadows: {
197
+ readonly 50: "0 4px 16px #05003812";
198
+ readonly 100: "0 8px 32px #05003808";
199
+ 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";
200
+ 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";
201
+ 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";
202
+ 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";
203
+ };
204
+ sizes: {
205
+ readonly number: string;
206
+ readonly 'icon-200': "16px";
207
+ readonly 'icon-300': "24px";
208
+ readonly 'icon-400': "32px";
209
+ };
210
+ space: {
211
+ readonly none: 0;
212
+ readonly 50: "4px";
213
+ readonly 100: "8px";
214
+ readonly 150: "12px";
215
+ readonly 200: "16px";
216
+ readonly 300: "24px";
217
+ readonly 400: "32px";
218
+ readonly 500: "64px";
219
+ readonly 600: "48px";
220
+ readonly 800: "64px";
221
+ readonly 1200: "96px";
222
+ readonly 1600: "128px";
223
+ };
224
+ 'space-gap': {
225
+ readonly none: any;
226
+ readonly 50: any;
227
+ readonly 100: any;
228
+ readonly 200: any;
229
+ readonly 300: any;
230
+ };
231
+ 'space-inset': {
232
+ readonly none: any;
233
+ readonly 50: any;
234
+ readonly 100: any;
235
+ readonly 150: any;
236
+ readonly 200: any;
237
+ readonly 300: any;
238
+ readonly 400: any;
239
+ readonly 600: any;
240
+ readonly 800: any;
241
+ readonly 1200: any;
242
+ readonly 1600: any;
243
+ };
244
+ 'space-offset': {
245
+ readonly none: any;
246
+ readonly 50: any;
247
+ readonly 100: any;
248
+ readonly 150: any;
249
+ readonly 200: any;
250
+ readonly 300: any;
251
+ readonly 400: any;
252
+ readonly 600: any;
253
+ readonly 800: any;
254
+ readonly 1200: any;
255
+ readonly 1600: any;
256
+ readonly 'stacking-none': any;
257
+ readonly 'stacking-100': any;
258
+ readonly 'stacking-200': any;
259
+ readonly 'stacking-300': any;
260
+ readonly 'stacking-400': any;
261
+ readonly 'stacking-500': any;
262
+ readonly 'stacking-800': any;
263
+ };
264
+ 'stroke-width': {
265
+ readonly thin: "1.5px";
266
+ readonly normal: "2px";
267
+ readonly bold: "4px";
268
+ };
269
+ 'z-indices': {
270
+ readonly dropdownMenu: 100;
271
+ readonly popover: 200;
272
+ readonly tooltip: 300;
273
+ };
274
+ }, {
275
+ readonly background: "colors";
276
+ readonly backgroundColor: "colors";
277
+ readonly backgroundImage: "colors";
278
+ readonly blockSize: "sizes";
279
+ readonly border: "colors";
280
+ readonly borderBlock: "colors";
281
+ readonly borderBlockEnd: "colors";
282
+ readonly borderBlockStart: "colors";
283
+ readonly borderBottom: "colors";
284
+ readonly borderBottomColor: "colors";
285
+ readonly borderBottomLeftRadius: "radii";
286
+ readonly borderBottomRightRadius: "radii";
287
+ readonly borderBottomStyle: "border-styles";
288
+ readonly borderBottomWidth: "border-widths";
289
+ readonly borderColor: "colors";
290
+ readonly borderImage: "colors";
291
+ readonly borderInline: "colors";
292
+ readonly borderInlineEnd: "colors";
293
+ readonly borderInlineStart: "colors";
294
+ readonly borderLeft: "colors";
295
+ readonly borderLeftColor: "colors";
296
+ readonly borderLeftStyle: "border-styles";
297
+ readonly borderLeftWidth: "border-widths";
298
+ readonly borderRadius: "radii";
299
+ readonly borderRight: "colors";
300
+ readonly borderRightColor: "colors";
301
+ readonly borderRightStyle: "border-styles";
302
+ readonly borderRightWidth: "border-widths";
303
+ readonly borderStyle: "border-styles";
304
+ readonly borderTop: "colors";
305
+ readonly borderTopColor: "colors";
306
+ readonly borderTopLeftRadius: "radii";
307
+ readonly borderTopRightRadius: "radii";
308
+ readonly borderTopStyle: "border-styles";
309
+ readonly borderTopWidth: "border-widths";
310
+ readonly borderWidth: "border-widths";
311
+ readonly bottom: "space";
312
+ readonly boxShadow: "shadows";
313
+ readonly caretColor: "colors";
314
+ readonly color: "colors";
315
+ readonly columnGap: "space-gap";
316
+ readonly columnRuleColor: "colors";
317
+ readonly fill: "colors";
318
+ readonly flexBasis: "sizes";
319
+ readonly fontFamily: "fonts";
320
+ readonly fontSize: "font-sizes";
321
+ readonly fontWeight: "font-weights";
322
+ readonly gap: "space-gap";
323
+ readonly gridColumnGap: "space-gap";
324
+ readonly gridGap: "space-gap";
325
+ readonly gridRowGap: "space-gap";
326
+ readonly gridTemplateColumns: "sizes";
327
+ readonly gridTemplateRows: "sizes";
328
+ readonly height: "sizes";
329
+ readonly inlineSize: "sizes";
330
+ readonly inset: "space-inset";
331
+ readonly insetBlock: "space-inset";
332
+ readonly insetBlockEnd: "space-inset";
333
+ readonly insetBlockStart: "space-inset";
334
+ readonly insetInline: "space-inset";
335
+ readonly insetInlineEnd: "space-inset";
336
+ readonly insetInlineStart: "space-inset";
337
+ readonly left: "space";
338
+ readonly letterSpacing: "letter-spacings";
339
+ readonly lineHeight: "line-heights";
340
+ readonly margin: "space-offset";
341
+ readonly marginBlock: "space-offset";
342
+ readonly marginBlockEnd: "space-offset";
343
+ readonly marginBlockStart: "space-offset";
344
+ readonly marginBottom: "space-offset";
345
+ readonly marginInline: "space-offset";
346
+ readonly marginInlineEnd: "space-offset";
347
+ readonly marginInlineStart: "space-offset";
348
+ readonly marginLeft: "space-offset";
349
+ readonly marginRight: "space-offset";
350
+ readonly marginTop: "space-offset";
351
+ readonly maxBlockSize: "sizes";
352
+ readonly maxHeight: "sizes";
353
+ readonly maxInlineSize: "sizes";
354
+ readonly maxWidth: "sizes";
355
+ readonly minBlockSize: "sizes";
356
+ readonly minHeight: "sizes";
357
+ readonly minInlineSize: "sizes";
358
+ readonly minWidth: "sizes";
359
+ readonly outline: "colors";
360
+ readonly outlineColor: "colors";
361
+ readonly padding: "space-inset";
362
+ readonly paddingBlock: "space-inset";
363
+ readonly paddingBlockEnd: "space-inset";
364
+ readonly paddingBlockStart: "space-inset";
365
+ readonly paddingBottom: "space-inset";
366
+ readonly paddingInline: "space-inset";
367
+ readonly paddingInlineEnd: "space-inset";
368
+ readonly paddingInlineStart: "space-inset";
369
+ readonly paddingLeft: "space-inset";
370
+ readonly paddingRight: "space-inset";
371
+ readonly paddingTop: "space-inset";
372
+ readonly right: "space";
373
+ readonly rowGap: "space-gap";
374
+ readonly scrollMargin: "space-offset";
375
+ readonly scrollMarginBlock: "space-offset";
376
+ readonly scrollMarginBlockEnd: "space-offset";
377
+ readonly scrollMarginBlockStart: "space-offset";
378
+ readonly scrollMarginBottom: "space-offset";
379
+ readonly scrollMarginInline: "space-offset";
380
+ readonly scrollMarginInlineEnd: "space-offset";
381
+ readonly scrollMarginInlineStart: "space-offset";
382
+ readonly scrollMarginLeft: "space-offset";
383
+ readonly scrollMarginRight: "space-offset";
384
+ readonly scrollMarginTop: "space-offset";
385
+ readonly scrollPadding: "space-inset";
386
+ readonly scrollPaddingBlock: "space-inset";
387
+ readonly scrollPaddingBlockEnd: "space-inset";
388
+ readonly scrollPaddingBlockStart: "space-inset";
389
+ readonly scrollPaddingBottom: "space-inset";
390
+ readonly scrollPaddingInline: "space-inset";
391
+ readonly scrollPaddingInlineEnd: "space-inset";
392
+ readonly scrollPaddingInlineStart: "space-inset";
393
+ readonly scrollPaddingLeft: "space-inset";
394
+ readonly scrollPaddingRight: "space-inset";
395
+ readonly scrollPaddingTop: "space-inset";
396
+ readonly stroke: "colors";
397
+ readonly strokeWidth: "stroke-width";
398
+ readonly textDecorationColor: "colors";
399
+ readonly textShadow: "shadows";
400
+ readonly top: "space";
401
+ readonly transition: "transitions";
402
+ readonly width: "sizes";
403
+ readonly zIndex: "z-indices";
404
+ }, {
405
+ paddingX: (value: {
406
+ readonly [$$PropertyValue]: "padding";
407
+ }) => {
408
+ paddingLeft: {
409
+ readonly [$$PropertyValue]: "padding";
410
+ };
411
+ paddingRight: {
412
+ readonly [$$PropertyValue]: "padding";
413
+ };
414
+ };
415
+ paddingY: (value: {
416
+ readonly [$$PropertyValue]: "padding";
417
+ }) => {
418
+ paddingTop: {
419
+ readonly [$$PropertyValue]: "padding";
420
+ };
421
+ paddingBottom: {
422
+ readonly [$$PropertyValue]: "padding";
423
+ };
424
+ };
425
+ marginX: (value: {
426
+ readonly [$$PropertyValue]: "margin";
427
+ }) => {
428
+ marginLeft: {
429
+ readonly [$$PropertyValue]: "margin";
430
+ };
431
+ marginRight: {
432
+ readonly [$$PropertyValue]: "margin";
433
+ };
434
+ };
435
+ marginY: (value: {
436
+ readonly [$$PropertyValue]: "margin";
437
+ }) => {
438
+ marginTop: {
439
+ readonly [$$PropertyValue]: "margin";
440
+ };
441
+ marginBottom: {
442
+ readonly [$$PropertyValue]: "margin";
443
+ };
444
+ };
445
+ square: (value: {
446
+ readonly [$$PropertyValue]: "width";
447
+ }) => {
448
+ width: {
449
+ readonly [$$PropertyValue]: "width";
450
+ };
451
+ height: {
452
+ readonly [$$PropertyValue]: "width";
453
+ };
454
+ };
455
+ }> | undefined;
456
+ }> & {
457
+ children?: react.ReactNode;
458
+ } & _mirohq_design_system_stitches.CustomStylesProps, "color" | "translate" | "prefix" | "asChild" | "children" | "slot" | "title" | "loop" | "placeholder" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | keyof _mirohq_design_system_stitches.CustomStylesProps> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<Tabs$1.TabsListProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
459
+
460
+ declare const Trigger: react.ForwardRefExoticComponent<Pick<Omit<{
461
+ size?: "small" | "normal" | undefined;
462
+ }, "size"> & _stitches_react_types_styled_component.TransformProps<{
463
+ size?: "small" | "normal" | undefined;
464
+ }, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Tabs$1.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
465
+ css?: _stitches_react_types_css_util.CSS<{}, {
466
+ 'border-widths': {
467
+ readonly none: 0;
468
+ readonly sm: "1px";
469
+ readonly md: "2px";
470
+ readonly lg: "4px";
471
+ };
472
+ colors: {
473
+ readonly 'blue-100': any;
474
+ readonly 'blue-200': any;
475
+ readonly 'blue-300': any;
476
+ readonly 'blue-400': any;
477
+ readonly 'blue-500': any;
478
+ readonly 'blue-600': any;
479
+ readonly 'blue-700': any;
480
+ readonly 'blue-800': any;
481
+ readonly 'blue-900': any;
482
+ readonly 'blue-1000': any;
483
+ readonly 'gray-100': any;
484
+ readonly 'gray-200': any;
485
+ readonly 'gray-300': any;
486
+ readonly 'gray-400': any;
487
+ readonly 'gray-500': any;
488
+ readonly 'gray-600': any;
489
+ readonly 'gray-700': any;
490
+ readonly 'gray-800': any;
491
+ readonly 'gray-900': any;
492
+ readonly 'indigo-100': any;
493
+ readonly 'indigo-200': any;
494
+ readonly 'indigo-300': any;
495
+ readonly 'indigo-400': any;
496
+ readonly 'indigo-500': any;
497
+ readonly 'indigo-600': any;
498
+ readonly 'indigo-700': any;
499
+ readonly 'indigo-800': any;
500
+ readonly 'indigo-900': any;
501
+ readonly 'red-100': any;
502
+ readonly 'red-200': any;
503
+ readonly 'red-300': any;
504
+ readonly 'red-400': any;
505
+ readonly 'red-500': any;
506
+ readonly 'red-600': any;
507
+ readonly 'red-700': any;
508
+ readonly 'red-800': any;
509
+ readonly 'red-900': any;
510
+ readonly 'yellow-100': any;
511
+ readonly 'yellow-200': any;
512
+ readonly 'yellow-300': any;
513
+ readonly 'yellow-400': any;
514
+ readonly 'yellow-500': any;
515
+ readonly 'yellow-600': any;
516
+ readonly 'yellow-700': any;
517
+ readonly 'yellow-800': any;
518
+ readonly 'yellow-900': any;
519
+ readonly 'green-100': any;
520
+ readonly 'green-200': any;
521
+ readonly 'green-300': any;
522
+ readonly 'green-400': any;
523
+ readonly 'green-500': any;
524
+ readonly 'green-600': any;
525
+ readonly 'green-700': any;
526
+ readonly 'green-800': any;
527
+ readonly 'green-900': any;
528
+ readonly black: any;
529
+ readonly white: any;
530
+ readonly transparent: any;
531
+ readonly 'background-danger'?: any;
532
+ readonly 'background-danger-hover'?: any;
533
+ readonly 'background-danger-prominent'?: any;
534
+ readonly 'background-danger-prominent-active'?: any;
535
+ readonly 'background-danger-prominent-hover'?: any;
536
+ readonly 'background-neutrals'?: any;
537
+ readonly 'background-neutrals-body'?: any;
538
+ readonly 'background-neutrals-container'?: any;
539
+ readonly 'background-neutrals-controls-disabled'?: any;
540
+ readonly 'background-neutrals-disabled'?: any;
541
+ readonly 'background-neutrals-inactive'?: any;
542
+ readonly 'background-neutrals-inactive-hover'?: any;
543
+ readonly 'background-neutrals-inverted'?: any;
544
+ readonly 'background-neutrals-inverted-subtle'?: any;
545
+ readonly 'background-neutrals-scrolls'?: any;
546
+ readonly 'background-neutrals-scrolls-hover'?: any;
547
+ readonly 'background-neutrals-subtle'?: any;
548
+ readonly 'background-neutrals-subtle-active'?: any;
549
+ readonly 'background-neutrals-subtle-hover'?: any;
550
+ readonly 'background-primary-prominent'?: any;
551
+ readonly 'background-primary-prominent-active'?: any;
552
+ readonly 'background-primary-prominent-hover'?: any;
553
+ readonly 'background-primary-prominent-selected'?: any;
554
+ readonly 'background-primary-subtle'?: any;
555
+ readonly 'background-primary-subtle-active'?: any;
556
+ readonly 'background-primary-subtle-hover'?: any;
557
+ readonly 'background-primary-subtle-selected'?: any;
558
+ readonly 'background-success'?: any;
559
+ readonly 'background-warning-prominent'?: any;
560
+ readonly 'background-warning-subtle'?: any;
561
+ readonly 'text-danger'?: any;
562
+ readonly 'text-danger-active'?: any;
563
+ readonly 'text-danger-hover'?: any;
564
+ readonly 'text-danger-inverted'?: any;
565
+ readonly 'text-neutrals'?: any;
566
+ readonly 'text-neutrals-disabled'?: any;
567
+ readonly 'text-neutrals-inverted'?: any;
568
+ readonly 'text-neutrals-link'?: any;
569
+ readonly 'text-neutrals-link-active'?: any;
570
+ readonly 'text-neutrals-link-hover'?: any;
571
+ readonly 'text-neutrals-placeholder'?: any;
572
+ readonly 'text-neutrals-placeholder-only'?: any;
573
+ readonly 'text-neutrals-subtle'?: any;
574
+ readonly 'text-primary'?: any;
575
+ readonly 'text-primary-active'?: any;
576
+ readonly 'text-primary-hover'?: any;
577
+ readonly 'text-primary-inverted'?: any;
578
+ readonly 'text-primary-inverted-subtle'?: any;
579
+ readonly 'text-primary-selected'?: any;
580
+ readonly 'text-success'?: any;
581
+ readonly 'text-warning'?: any;
582
+ readonly 'icon-danger'?: any;
583
+ readonly 'icon-danger-active'?: any;
584
+ readonly 'icon-danger-hover'?: any;
585
+ readonly 'icon-danger-inverted'?: any;
586
+ readonly 'icon-neutrals'?: any;
587
+ readonly 'icon-neutrals-disabled'?: any;
588
+ readonly 'icon-neutrals-inactive'?: any;
589
+ readonly 'icon-neutrals-inactive-hover'?: any;
590
+ readonly 'icon-neutrals-inverted'?: any;
591
+ readonly 'icon-neutrals-search'?: any;
592
+ readonly 'icon-neutrals-subtle'?: any;
593
+ readonly 'icon-neutrals-with-text'?: any;
594
+ readonly 'icon-primary'?: any;
595
+ readonly 'icon-primary-active'?: any;
596
+ readonly 'icon-primary-hover'?: any;
597
+ readonly 'icon-primary-inverted'?: any;
598
+ readonly 'icon-primary-selected'?: any;
599
+ readonly 'icon-success'?: any;
600
+ readonly 'icon-success-inverted'?: any;
601
+ readonly 'icon-warning'?: any;
602
+ readonly 'border-danger'?: any;
603
+ readonly 'border-focus-inner'?: any;
604
+ readonly 'border-focus-middle'?: any;
605
+ readonly 'border-focus-outer'?: any;
606
+ readonly 'border-neutrals'?: any;
607
+ readonly 'border-neutrals-active'?: any;
608
+ readonly 'border-neutrals-controls'?: any;
609
+ readonly 'border-neutrals-controls-disabled'?: any;
610
+ readonly 'border-neutrals-disabled'?: any;
611
+ readonly 'border-neutrals-hover'?: any;
612
+ readonly 'border-neutrals-inverted'?: any;
613
+ readonly 'border-neutrals-subtle'?: any;
614
+ readonly 'border-primary'?: any;
615
+ readonly 'border-primary-active'?: any;
616
+ readonly 'border-primary-hover'?: any;
617
+ readonly 'border-primary-inverted'?: any;
618
+ readonly 'border-success'?: any;
619
+ readonly 'border-warning'?: any;
620
+ };
621
+ 'font-sizes': {
622
+ readonly 150: "0.75rem";
623
+ readonly 175: "0.875rem";
624
+ readonly 200: "1rem";
625
+ readonly 225: "1.125rem";
626
+ readonly 250: "1.25rem";
627
+ readonly 300: "1.5rem";
628
+ readonly 400: "2rem";
629
+ readonly 500: "2.5rem";
630
+ readonly 600: "3rem";
631
+ readonly 800: "4rem";
632
+ readonly 900: "4.5rem";
633
+ };
634
+ radii: {
635
+ readonly none: 0;
636
+ readonly half: "999em";
637
+ readonly 25: "2px";
638
+ readonly 50: "4px";
639
+ readonly 75: "6px";
640
+ readonly 100: "8px";
641
+ readonly 200: "16px";
642
+ };
643
+ shadows: {
644
+ readonly 50: "0 4px 16px #05003812";
645
+ readonly 100: "0 8px 32px #05003808";
646
+ 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";
647
+ 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";
648
+ 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";
649
+ 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";
650
+ };
651
+ sizes: {
652
+ readonly number: string;
653
+ readonly 'icon-200': "16px";
654
+ readonly 'icon-300': "24px";
655
+ readonly 'icon-400': "32px";
656
+ };
657
+ space: {
658
+ readonly none: 0;
659
+ readonly 50: "4px";
660
+ readonly 100: "8px";
661
+ readonly 150: "12px";
662
+ readonly 200: "16px";
663
+ readonly 300: "24px";
664
+ readonly 400: "32px";
665
+ readonly 500: "64px";
666
+ readonly 600: "48px";
667
+ readonly 800: "64px";
668
+ readonly 1200: "96px";
669
+ readonly 1600: "128px";
670
+ };
671
+ 'space-gap': {
672
+ readonly none: any;
673
+ readonly 50: any;
674
+ readonly 100: any;
675
+ readonly 200: any;
676
+ readonly 300: any;
677
+ };
678
+ 'space-inset': {
679
+ readonly none: any;
680
+ readonly 50: any;
681
+ readonly 100: any;
682
+ readonly 150: any;
683
+ readonly 200: any;
684
+ readonly 300: any;
685
+ readonly 400: any;
686
+ readonly 600: any;
687
+ readonly 800: any;
688
+ readonly 1200: any;
689
+ readonly 1600: any;
690
+ };
691
+ 'space-offset': {
692
+ readonly none: any;
693
+ readonly 50: any;
694
+ readonly 100: any;
695
+ readonly 150: any;
696
+ readonly 200: any;
697
+ readonly 300: any;
698
+ readonly 400: any;
699
+ readonly 600: any;
700
+ readonly 800: any;
701
+ readonly 1200: any;
702
+ readonly 1600: any;
703
+ readonly 'stacking-none': any;
704
+ readonly 'stacking-100': any;
705
+ readonly 'stacking-200': any;
706
+ readonly 'stacking-300': any;
707
+ readonly 'stacking-400': any;
708
+ readonly 'stacking-500': any;
709
+ readonly 'stacking-800': any;
710
+ };
711
+ 'stroke-width': {
712
+ readonly thin: "1.5px";
713
+ readonly normal: "2px";
714
+ readonly bold: "4px";
715
+ };
716
+ 'z-indices': {
717
+ readonly dropdownMenu: 100;
718
+ readonly popover: 200;
719
+ readonly tooltip: 300;
720
+ };
721
+ }, {
722
+ readonly background: "colors";
723
+ readonly backgroundColor: "colors";
724
+ readonly backgroundImage: "colors";
725
+ readonly blockSize: "sizes";
726
+ readonly border: "colors";
727
+ readonly borderBlock: "colors";
728
+ readonly borderBlockEnd: "colors";
729
+ readonly borderBlockStart: "colors";
730
+ readonly borderBottom: "colors";
731
+ readonly borderBottomColor: "colors";
732
+ readonly borderBottomLeftRadius: "radii";
733
+ readonly borderBottomRightRadius: "radii";
734
+ readonly borderBottomStyle: "border-styles";
735
+ readonly borderBottomWidth: "border-widths";
736
+ readonly borderColor: "colors";
737
+ readonly borderImage: "colors";
738
+ readonly borderInline: "colors";
739
+ readonly borderInlineEnd: "colors";
740
+ readonly borderInlineStart: "colors";
741
+ readonly borderLeft: "colors";
742
+ readonly borderLeftColor: "colors";
743
+ readonly borderLeftStyle: "border-styles";
744
+ readonly borderLeftWidth: "border-widths";
745
+ readonly borderRadius: "radii";
746
+ readonly borderRight: "colors";
747
+ readonly borderRightColor: "colors";
748
+ readonly borderRightStyle: "border-styles";
749
+ readonly borderRightWidth: "border-widths";
750
+ readonly borderStyle: "border-styles";
751
+ readonly borderTop: "colors";
752
+ readonly borderTopColor: "colors";
753
+ readonly borderTopLeftRadius: "radii";
754
+ readonly borderTopRightRadius: "radii";
755
+ readonly borderTopStyle: "border-styles";
756
+ readonly borderTopWidth: "border-widths";
757
+ readonly borderWidth: "border-widths";
758
+ readonly bottom: "space";
759
+ readonly boxShadow: "shadows";
760
+ readonly caretColor: "colors";
761
+ readonly color: "colors";
762
+ readonly columnGap: "space-gap";
763
+ readonly columnRuleColor: "colors";
764
+ readonly fill: "colors";
765
+ readonly flexBasis: "sizes";
766
+ readonly fontFamily: "fonts";
767
+ readonly fontSize: "font-sizes";
768
+ readonly fontWeight: "font-weights";
769
+ readonly gap: "space-gap";
770
+ readonly gridColumnGap: "space-gap";
771
+ readonly gridGap: "space-gap";
772
+ readonly gridRowGap: "space-gap";
773
+ readonly gridTemplateColumns: "sizes";
774
+ readonly gridTemplateRows: "sizes";
775
+ readonly height: "sizes";
776
+ readonly inlineSize: "sizes";
777
+ readonly inset: "space-inset";
778
+ readonly insetBlock: "space-inset";
779
+ readonly insetBlockEnd: "space-inset";
780
+ readonly insetBlockStart: "space-inset";
781
+ readonly insetInline: "space-inset";
782
+ readonly insetInlineEnd: "space-inset";
783
+ readonly insetInlineStart: "space-inset";
784
+ readonly left: "space";
785
+ readonly letterSpacing: "letter-spacings";
786
+ readonly lineHeight: "line-heights";
787
+ readonly margin: "space-offset";
788
+ readonly marginBlock: "space-offset";
789
+ readonly marginBlockEnd: "space-offset";
790
+ readonly marginBlockStart: "space-offset";
791
+ readonly marginBottom: "space-offset";
792
+ readonly marginInline: "space-offset";
793
+ readonly marginInlineEnd: "space-offset";
794
+ readonly marginInlineStart: "space-offset";
795
+ readonly marginLeft: "space-offset";
796
+ readonly marginRight: "space-offset";
797
+ readonly marginTop: "space-offset";
798
+ readonly maxBlockSize: "sizes";
799
+ readonly maxHeight: "sizes";
800
+ readonly maxInlineSize: "sizes";
801
+ readonly maxWidth: "sizes";
802
+ readonly minBlockSize: "sizes";
803
+ readonly minHeight: "sizes";
804
+ readonly minInlineSize: "sizes";
805
+ readonly minWidth: "sizes";
806
+ readonly outline: "colors";
807
+ readonly outlineColor: "colors";
808
+ readonly padding: "space-inset";
809
+ readonly paddingBlock: "space-inset";
810
+ readonly paddingBlockEnd: "space-inset";
811
+ readonly paddingBlockStart: "space-inset";
812
+ readonly paddingBottom: "space-inset";
813
+ readonly paddingInline: "space-inset";
814
+ readonly paddingInlineEnd: "space-inset";
815
+ readonly paddingInlineStart: "space-inset";
816
+ readonly paddingLeft: "space-inset";
817
+ readonly paddingRight: "space-inset";
818
+ readonly paddingTop: "space-inset";
819
+ readonly right: "space";
820
+ readonly rowGap: "space-gap";
821
+ readonly scrollMargin: "space-offset";
822
+ readonly scrollMarginBlock: "space-offset";
823
+ readonly scrollMarginBlockEnd: "space-offset";
824
+ readonly scrollMarginBlockStart: "space-offset";
825
+ readonly scrollMarginBottom: "space-offset";
826
+ readonly scrollMarginInline: "space-offset";
827
+ readonly scrollMarginInlineEnd: "space-offset";
828
+ readonly scrollMarginInlineStart: "space-offset";
829
+ readonly scrollMarginLeft: "space-offset";
830
+ readonly scrollMarginRight: "space-offset";
831
+ readonly scrollMarginTop: "space-offset";
832
+ readonly scrollPadding: "space-inset";
833
+ readonly scrollPaddingBlock: "space-inset";
834
+ readonly scrollPaddingBlockEnd: "space-inset";
835
+ readonly scrollPaddingBlockStart: "space-inset";
836
+ readonly scrollPaddingBottom: "space-inset";
837
+ readonly scrollPaddingInline: "space-inset";
838
+ readonly scrollPaddingInlineEnd: "space-inset";
839
+ readonly scrollPaddingInlineStart: "space-inset";
840
+ readonly scrollPaddingLeft: "space-inset";
841
+ readonly scrollPaddingRight: "space-inset";
842
+ readonly scrollPaddingTop: "space-inset";
843
+ readonly stroke: "colors";
844
+ readonly strokeWidth: "stroke-width";
845
+ readonly textDecorationColor: "colors";
846
+ readonly textShadow: "shadows";
847
+ readonly top: "space";
848
+ readonly transition: "transitions";
849
+ readonly width: "sizes";
850
+ readonly zIndex: "z-indices";
851
+ }, {
852
+ paddingX: (value: {
853
+ readonly [$$PropertyValue]: "padding";
854
+ }) => {
855
+ paddingLeft: {
856
+ readonly [$$PropertyValue]: "padding";
857
+ };
858
+ paddingRight: {
859
+ readonly [$$PropertyValue]: "padding";
860
+ };
861
+ };
862
+ paddingY: (value: {
863
+ readonly [$$PropertyValue]: "padding";
864
+ }) => {
865
+ paddingTop: {
866
+ readonly [$$PropertyValue]: "padding";
867
+ };
868
+ paddingBottom: {
869
+ readonly [$$PropertyValue]: "padding";
870
+ };
871
+ };
872
+ marginX: (value: {
873
+ readonly [$$PropertyValue]: "margin";
874
+ }) => {
875
+ marginLeft: {
876
+ readonly [$$PropertyValue]: "margin";
877
+ };
878
+ marginRight: {
879
+ readonly [$$PropertyValue]: "margin";
880
+ };
881
+ };
882
+ marginY: (value: {
883
+ readonly [$$PropertyValue]: "margin";
884
+ }) => {
885
+ marginTop: {
886
+ readonly [$$PropertyValue]: "margin";
887
+ };
888
+ marginBottom: {
889
+ readonly [$$PropertyValue]: "margin";
890
+ };
891
+ };
892
+ square: (value: {
893
+ readonly [$$PropertyValue]: "width";
894
+ }) => {
895
+ width: {
896
+ readonly [$$PropertyValue]: "width";
897
+ };
898
+ height: {
899
+ readonly [$$PropertyValue]: "width";
900
+ };
901
+ };
902
+ }> | undefined;
903
+ }> & {
904
+ children?: react.ReactNode;
905
+ } & _mirohq_design_system_stitches.CustomStylesProps, "color" | "translate" | "prefix" | "asChild" | "children" | "form" | "slot" | "title" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "placeholder" | "size" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | keyof _mirohq_design_system_stitches.CustomStylesProps> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<Tabs$1.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>>, {
906
+ size?: "small" | "normal" | undefined;
907
+ }, {}>;
908
+
909
+ interface TabsProps extends Omit<Tabs$1.TabsProps, 'onValueChange' | 'onChange'> {
910
+ /**
911
+ * The value of the tab that should be active when initially rendered. Use when you do not need to control the
912
+ * state of the tabs.
913
+ */
914
+ defaultValue?: string;
915
+ /**
916
+ * The controlled value of the tab to activate. Should be used in conjunction with onChange.
917
+ */
918
+ value?: string;
919
+ /**
920
+ * Event handler called when the value changes.
921
+ * @param value the value associated to the newly selected tab.
922
+ */
923
+ onChange?: (value: string) => void;
924
+ /**
925
+ * The orientation of the component. It will define whether tabs are rendered on the top area of the component
926
+ * (horizontal) or on the left side, next to the content (vertical).
927
+ */
928
+ orientation?: TabsOrientation;
929
+ }
930
+ declare const Tabs: react__default.ForwardRefExoticComponent<TabsProps> & Partials;
931
+ interface Partials {
932
+ List: typeof List;
933
+ Trigger: typeof Trigger;
934
+ Content: typeof Tabs$1.Content;
935
+ }
936
+
937
+ export { Tabs, TabsProps, types as TabsTypes };
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@mirohq/design-system-tabs",
3
+ "version": "0.1.0-tabs-component.0",
4
+ "description": "",
5
+ "author": "Miro",
6
+ "source": "src/index.ts",
7
+ "main": "dist/main.js",
8
+ "module": "dist/module.js",
9
+ "types": "dist/types.d.ts",
10
+ "sideEffects": false,
11
+ "exports": {
12
+ ".": {
13
+ "require": "./dist/main.js",
14
+ "import": "./dist/module.js",
15
+ "types": "./dist/types.d.ts"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "peerDependencies": {
25
+ "@stitches/react": "^1.2.8",
26
+ "react": "^16.14 || ^17",
27
+ "react-dom": "^16.14 || ^17"
28
+ },
29
+ "dependencies": {
30
+ "@radix-ui/react-compose-refs": "^0.0.5",
31
+ "@radix-ui/react-tabs": "^1.0.0",
32
+ "@mirohq/design-system-primitive": "^1.1.0",
33
+ "@mirohq/design-system-stitches": "^2.3.1",
34
+ "@mirohq/design-system-styles": "^1.0.23"
35
+ },
36
+ "devDependencies": {
37
+ "@mirohq/design-system-button": "^3.1.1",
38
+ "@mirohq/design-system-flex": "^2.1.11"
39
+ },
40
+ "scripts": {
41
+ "build": "rollup -c ../../../rollup.config.js",
42
+ "clean": "rm -rf dist",
43
+ "prebuild": "pnpm clean"
44
+ }
45
+ }