@astral/ui 4.90.1 → 4.91.1

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.
@@ -6,9 +6,8 @@ import { Tag } from '../Tag';
6
6
  import { Typography } from '../Typography';
7
7
  import { cva } from '../utils/cva';
8
8
  import { descriptionListClassnames } from './constants';
9
- import { DescriptionWrapper, ListWrapper, StyledDescriptionName, StyledDescriptionValue, Title, Wrapper, } from './styles';
9
+ import { DescriptionWrapper, ListWrapper, StyledDescriptionName, Title, Wrapper, } from './styles';
10
10
  import { useLogic } from './useLogic';
11
- import { getTooltipProps } from './utils';
12
11
  const descriptionList = cva(descriptionListClassnames.root, {
13
12
  variants: {
14
13
  variant: {
@@ -39,8 +38,7 @@ export const DescriptionList = ({ items, variant: listVariant = 'default', title
39
38
  return (_jsx(Description.Value, { isHidePersonalData: optionProps.isHidePersonalData, children: _jsx(Tag, { label: value, color: color, variant: "light" }) }));
40
39
  }
41
40
  if (variant === 'guid') {
42
- const tooltipProps = getTooltipProps(canCopy);
43
- return (_jsx(StyledDescriptionValue, { canCopy: canCopy, "$isCopy": canCopy, color: color, copyPosition: copyPosition, copyText: copyText, children: _jsx(GuidTypography, { tooltipProps: tooltipProps, children: value }) }));
41
+ return (_jsx(Description.Value, { isHidePersonalData: optionProps.isHidePersonalData, children: _jsx(GuidTypography, { copyParams: { copyText: copyText || String(value) }, canCopy: canCopy, children: value }) }));
44
42
  }
45
43
  return (_jsx(Description.Value, { canCopy: canCopy, color: color, copyPosition: copyPosition, isHidePersonalData: optionProps.isHidePersonalData, children: value }));
46
44
  }, []);
@@ -20,17 +20,6 @@ export declare const ListWrapper: import("../styled").StyledComponent<{
20
20
  $variant?: DescriptionListVariant | undefined;
21
21
  $hasDivider: boolean;
22
22
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, {}>;
23
- export declare const StyledDescriptionValue: import("../styled").StyledComponent<Pick<import("../Typography").TypographyProps, "color" | "children" | "variant" | "isTabularNums"> & {
24
- stub?: import("react").ReactNode;
25
- canCopy?: boolean | undefined;
26
- copyPosition?: "left" | "right" | undefined;
27
- copyText?: string | undefined;
28
- isHidePersonalData?: boolean | undefined;
29
- } & {
30
- theme?: import("@emotion/react").Theme | undefined;
31
- } & {
32
- $isCopy?: boolean | undefined;
33
- }, {}, {}>;
34
23
  export declare const DescriptionWrapper: import("../styled").StyledComponent<{
35
24
  theme?: import("@emotion/react").Theme | undefined;
36
25
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -49,13 +49,6 @@ export const ListWrapper = styled('dl', {
49
49
  row-gap: ${({ theme }) => theme.spacing(3)};
50
50
  }
51
51
  `;
52
- export const StyledDescriptionValue = styled(Description.Value, {
53
- shouldForwardProp: (prop) => !['$isCopy'].includes(prop),
54
- }) `
55
- display: ${({ $isCopy }) => $isCopy && 'flex'};
56
-
57
- width: ${({ $isCopy }) => $isCopy && 'calc(100% - 20px)'};
58
- `;
59
52
  export const DescriptionWrapper = styled.div `
60
53
  display: flex;
61
54
  flex-direction: column;
@@ -1,13 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { CrossOutlineMd } from '../../icons/CrossOutlineMd';
3
- import { IconButton } from '../IconButton';
4
3
  import { Typography } from '../Typography';
5
- import { HeaderContent, Wrapper } from './styles';
4
+ import { HeaderContent, StyledIconButton, Wrapper } from './styles';
6
5
  export const DialogHeader = ({ children, title, justifyContent = 'flex-start', disableSpacing, onClose, className, }) => {
7
6
  const handleTitleClick = (e) => {
8
7
  if (onClose) {
9
8
  onClose(e, 'escapeKeyDown');
10
9
  }
11
10
  };
12
- return (_jsxs(Wrapper, { className: className, hasTitle: Boolean(title), hasOnClose: Boolean(onClose), children: [title && _jsx(Typography, { variant: "h4", children: title }), _jsx(HeaderContent, { justifyContent: justifyContent, columnSpacing: disableSpacing ? 0 : 2, children: children }), onClose && (_jsx(IconButton, { variant: "text", onClick: handleTitleClick, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E", children: _jsx(CrossOutlineMd, {}) }))] }));
11
+ return (_jsxs(Wrapper, { className: className, hasTitle: Boolean(title), hasOnClose: Boolean(onClose), children: [title && _jsx(Typography, { variant: "h4", children: title }), _jsx(HeaderContent, { justifyContent: justifyContent, columnSpacing: disableSpacing ? 0 : 2, children: children }), onClose && (_jsx(StyledIconButton, { variant: "text", onClick: handleTitleClick, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E", children: _jsx(CrossOutlineMd, {}) }))] }));
13
12
  };
@@ -13,6 +13,16 @@ export declare const Wrapper: import("../styled").StyledComponent<{
13
13
  theme?: import("@emotion/react").Theme | undefined;
14
14
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
15
15
  } & DialogHeaderRootProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
+ export declare const StyledIconButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
17
+ variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
18
+ loading?: boolean | undefined;
19
+ color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
20
+ component?: import("react").ElementType | undefined;
21
+ selected?: boolean | undefined;
22
+ size?: "large" | "medium" | undefined;
23
+ } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ }, {}, {}>;
16
26
  export type DialogHeaderContentProps = {
17
27
  justifyContent: CSSProperties['justifyContent'];
18
28
  columnSpacing: number;
@@ -1,3 +1,4 @@
1
+ import { IconButton } from '../IconButton';
1
2
  import { styled } from '../styled';
2
3
  export const Wrapper = styled('div', {
3
4
  label: 'DialogHeader-root',
@@ -23,6 +24,9 @@ export const Wrapper = styled('div', {
23
24
  height: auto;
24
25
  padding: ${({ theme }) => theme.spacing(4, 6)};
25
26
  `;
27
+ export const StyledIconButton = styled(IconButton) `
28
+ align-self: start;
29
+ `;
26
30
  export const HeaderContent = styled('div', {
27
31
  shouldForwardProp: (prop) => !['justifyContent', 'columnSpacing'].includes(prop),
28
32
  label: 'DialogHeader-content',
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import MuiDialogTitle from '@mui/material/DialogTitle';
3
3
  import { CrossOutlineMd } from '../../icons/CrossOutlineMd';
4
- import { IconButton } from '../IconButton';
4
+ import { StyledIconButton } from './styles';
5
5
  export const DialogTitle = ({ children, onClose, headerContent, ...props }) => {
6
6
  // 'escapeKeyDown' в документашке написано что это опциональный тип, и можно стрингу любую туда закидывать, а по факту либо escapeKeyDown либо backdropClick
7
7
  const handleTitleClick = (e) => {
@@ -9,5 +9,5 @@ export const DialogTitle = ({ children, onClose, headerContent, ...props }) => {
9
9
  onClose(e, 'escapeKeyDown');
10
10
  }
11
11
  };
12
- return (_jsxs(MuiDialogTitle, { ...props, children: [children, headerContent, onClose && (_jsx(IconButton, { variant: "text", onClick: handleTitleClick, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E", children: _jsx(CrossOutlineMd, {}) }))] }));
12
+ return (_jsxs(MuiDialogTitle, { ...props, children: [children, headerContent, onClose && (_jsx(StyledIconButton, { variant: "text", onClick: handleTitleClick, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E", children: _jsx(CrossOutlineMd, {}) }))] }));
13
13
  };
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledIconButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
+ variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
+ loading?: boolean | undefined;
5
+ color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
+ component?: import("react").ElementType | undefined;
7
+ selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
9
+ } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
10
+ theme?: import("@emotion/react").Theme | undefined;
11
+ }, {}, {}>;
@@ -0,0 +1,6 @@
1
+ import { IconButton } from '../IconButton';
2
+ import { styled } from '../styled';
3
+ export const StyledIconButton = styled(IconButton) `
4
+ flex-shrink: 0;
5
+ align-self: start;
6
+ `;
@@ -11,7 +11,6 @@ const cva_1 = require("../utils/cva");
11
11
  const constants_1 = require("./constants");
12
12
  const styles_1 = require("./styles");
13
13
  const useLogic_1 = require("./useLogic");
14
- const utils_1 = require("./utils");
15
14
  const descriptionList = (0, cva_1.cva)(constants_1.descriptionListClassnames.root, {
16
15
  variants: {
17
16
  variant: {
@@ -42,8 +41,7 @@ const DescriptionList = ({ items, variant: listVariant = 'default', title, direc
42
41
  return ((0, jsx_runtime_1.jsx)(Description_1.Description.Value, { isHidePersonalData: optionProps.isHidePersonalData, children: (0, jsx_runtime_1.jsx)(Tag_1.Tag, { label: value, color: color, variant: "light" }) }));
43
42
  }
44
43
  if (variant === 'guid') {
45
- const tooltipProps = (0, utils_1.getTooltipProps)(canCopy);
46
- return ((0, jsx_runtime_1.jsx)(styles_1.StyledDescriptionValue, { canCopy: canCopy, "$isCopy": canCopy, color: color, copyPosition: copyPosition, copyText: copyText, children: (0, jsx_runtime_1.jsx)(GuidTypography_1.GuidTypography, { tooltipProps: tooltipProps, children: value }) }));
44
+ return ((0, jsx_runtime_1.jsx)(Description_1.Description.Value, { isHidePersonalData: optionProps.isHidePersonalData, children: (0, jsx_runtime_1.jsx)(GuidTypography_1.GuidTypography, { copyParams: { copyText: copyText || String(value) }, canCopy: canCopy, children: value }) }));
47
45
  }
48
46
  return ((0, jsx_runtime_1.jsx)(Description_1.Description.Value, { canCopy: canCopy, color: color, copyPosition: copyPosition, isHidePersonalData: optionProps.isHidePersonalData, children: value }));
49
47
  }, []);
@@ -20,17 +20,6 @@ export declare const ListWrapper: import("@emotion/styled/dist/declarations/src/
20
20
  $variant?: DescriptionListVariant | undefined;
21
21
  $hasDivider: boolean;
22
22
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, {}>;
23
- export declare const StyledDescriptionValue: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Pick<import("../Typography").TypographyProps, "color" | "children" | "variant" | "isTabularNums"> & {
24
- stub?: import("react").ReactNode;
25
- canCopy?: boolean | undefined;
26
- copyPosition?: "left" | "right" | undefined;
27
- copyText?: string | undefined;
28
- isHidePersonalData?: boolean | undefined;
29
- } & {
30
- theme?: import("@emotion/react").Theme | undefined;
31
- } & {
32
- $isCopy?: boolean | undefined;
33
- }, {}, {}>;
34
23
  export declare const DescriptionWrapper: import("@emotion/styled/dist/declarations/src/types").StyledComponent<{
35
24
  theme?: import("@emotion/react").Theme | undefined;
36
25
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Title = exports.DescriptionWrapper = exports.StyledDescriptionValue = exports.ListWrapper = exports.Wrapper = exports.StyledDescriptionName = void 0;
3
+ exports.Title = exports.DescriptionWrapper = exports.ListWrapper = exports.Wrapper = exports.StyledDescriptionName = void 0;
4
4
  const Description_1 = require("../Description");
5
5
  const styled_1 = require("../styled");
6
6
  const Typography_1 = require("../Typography");
@@ -52,13 +52,6 @@ exports.ListWrapper = (0, styled_1.styled)('dl', {
52
52
  row-gap: ${({ theme }) => theme.spacing(3)};
53
53
  }
54
54
  `;
55
- exports.StyledDescriptionValue = (0, styled_1.styled)(Description_1.Description.Value, {
56
- shouldForwardProp: (prop) => !['$isCopy'].includes(prop),
57
- }) `
58
- display: ${({ $isCopy }) => $isCopy && 'flex'};
59
-
60
- width: ${({ $isCopy }) => $isCopy && 'calc(100% - 20px)'};
61
- `;
62
55
  exports.DescriptionWrapper = styled_1.styled.div `
63
56
  display: flex;
64
57
  flex-direction: column;
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DialogHeader = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const CrossOutlineMd_1 = require("../../icons/CrossOutlineMd");
6
- const IconButton_1 = require("../IconButton");
7
6
  const Typography_1 = require("../Typography");
8
7
  const styles_1 = require("./styles");
9
8
  const DialogHeader = ({ children, title, justifyContent = 'flex-start', disableSpacing, onClose, className, }) => {
@@ -12,6 +11,6 @@ const DialogHeader = ({ children, title, justifyContent = 'flex-start', disableS
12
11
  onClose(e, 'escapeKeyDown');
13
12
  }
14
13
  };
15
- return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: className, hasTitle: Boolean(title), hasOnClose: Boolean(onClose), children: [title && (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h4", children: title }), (0, jsx_runtime_1.jsx)(styles_1.HeaderContent, { justifyContent: justifyContent, columnSpacing: disableSpacing ? 0 : 2, children: children }), onClose && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleTitleClick, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E", children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }))] }));
14
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: className, hasTitle: Boolean(title), hasOnClose: Boolean(onClose), children: [title && (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h4", children: title }), (0, jsx_runtime_1.jsx)(styles_1.HeaderContent, { justifyContent: justifyContent, columnSpacing: disableSpacing ? 0 : 2, children: children }), onClose && ((0, jsx_runtime_1.jsx)(styles_1.StyledIconButton, { variant: "text", onClick: handleTitleClick, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E", children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }))] }));
16
15
  };
17
16
  exports.DialogHeader = DialogHeader;
@@ -13,6 +13,16 @@ export declare const Wrapper: import("@emotion/styled/dist/declarations/src/type
13
13
  theme?: import("@emotion/react").Theme | undefined;
14
14
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
15
15
  } & DialogHeaderRootProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
+ export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
17
+ variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
18
+ loading?: boolean | undefined;
19
+ color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
20
+ component?: import("react").ElementType | undefined;
21
+ selected?: boolean | undefined;
22
+ size?: "large" | "medium" | undefined;
23
+ } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ }, {}, {}>;
16
26
  export type DialogHeaderContentProps = {
17
27
  justifyContent: CSSProperties['justifyContent'];
18
28
  columnSpacing: number;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HeaderContent = exports.Wrapper = void 0;
3
+ exports.HeaderContent = exports.StyledIconButton = exports.Wrapper = void 0;
4
+ const IconButton_1 = require("../IconButton");
4
5
  const styled_1 = require("../styled");
5
6
  exports.Wrapper = (0, styled_1.styled)('div', {
6
7
  label: 'DialogHeader-root',
@@ -26,6 +27,9 @@ exports.Wrapper = (0, styled_1.styled)('div', {
26
27
  height: auto;
27
28
  padding: ${({ theme }) => theme.spacing(4, 6)};
28
29
  `;
30
+ exports.StyledIconButton = (0, styled_1.styled)(IconButton_1.IconButton) `
31
+ align-self: start;
32
+ `;
29
33
  exports.HeaderContent = (0, styled_1.styled)('div', {
30
34
  shouldForwardProp: (prop) => !['justifyContent', 'columnSpacing'].includes(prop),
31
35
  label: 'DialogHeader-content',
@@ -7,7 +7,7 @@ exports.DialogTitle = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const DialogTitle_1 = __importDefault(require("@mui/material/DialogTitle"));
9
9
  const CrossOutlineMd_1 = require("../../icons/CrossOutlineMd");
10
- const IconButton_1 = require("../IconButton");
10
+ const styles_1 = require("./styles");
11
11
  const DialogTitle = ({ children, onClose, headerContent, ...props }) => {
12
12
  // 'escapeKeyDown' в документашке написано что это опциональный тип, и можно стрингу любую туда закидывать, а по факту либо escapeKeyDown либо backdropClick
13
13
  const handleTitleClick = (e) => {
@@ -15,6 +15,6 @@ const DialogTitle = ({ children, onClose, headerContent, ...props }) => {
15
15
  onClose(e, 'escapeKeyDown');
16
16
  }
17
17
  };
18
- return ((0, jsx_runtime_1.jsxs)(DialogTitle_1.default, { ...props, children: [children, headerContent, onClose && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleTitleClick, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E", children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }))] }));
18
+ return ((0, jsx_runtime_1.jsxs)(DialogTitle_1.default, { ...props, children: [children, headerContent, onClose && ((0, jsx_runtime_1.jsx)(styles_1.StyledIconButton, { variant: "text", onClick: handleTitleClick, "aria-label": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E", children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }))] }));
19
19
  };
20
20
  exports.DialogTitle = DialogTitle;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
+ variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
+ loading?: boolean | undefined;
5
+ color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
+ component?: import("react").ElementType | undefined;
7
+ selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
9
+ } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
10
+ theme?: import("@emotion/react").Theme | undefined;
11
+ }, {}, {}>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StyledIconButton = void 0;
4
+ const IconButton_1 = require("../IconButton");
5
+ const styled_1 = require("../styled");
6
+ exports.StyledIconButton = (0, styled_1.styled)(IconButton_1.IconButton) `
7
+ flex-shrink: 0;
8
+ align-self: start;
9
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "4.90.1",
3
+ "version": "4.91.1",
4
4
  "browser": "./index.js",
5
5
  "main": "./node/index.js",
6
6
  "dependencies": {