@midas-ds/components 17.27.0 → 17.27.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.
- package/CHANGELOG.md +23 -0
- package/accordion/AccordionItem.d.ts +1 -1
- package/accordion/AccordionItem.stories.d.ts +1 -1
- package/accordion/index.js +1 -1
- package/badge/Badge.stories.d.ts +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumb.d.ts +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/breadcrumbs/Breadcrumbs.stories.d.ts +4 -4
- package/breadcrumbs/index.js +1 -1
- package/button/index.js +1 -1
- package/calendar/Calendar.d.ts +2 -1
- package/calendar/Calendar.stories.d.ts +2 -2
- package/calendar/CalendarGrid.d.ts +2 -1
- package/calendar/CalendarHeader.d.ts +2 -1
- package/calendar/CalendarPicker.d.ts +1 -1
- package/calendar/RangeCalendar.d.ts +2 -1
- package/calendar/RangeCalendar.stories.d.ts +1 -1
- package/calendar/index.js +1 -1
- package/card/Card.d.ts +1 -1
- package/card/card-body/CardBody.d.ts +1 -1
- package/card/card-header/CardHeader.d.ts +1 -1
- package/card/index.js +1 -1
- package/checkbox/CheckboxField.d.ts +1 -1
- package/checkbox/CheckboxGroup.d.ts +1 -1
- package/checkbox/CheckboxGroup.stories.d.ts +2 -2
- package/checkbox/SelectAllCheckbox.d.ts +1 -1
- package/checkbox/index.js +1 -1
- package/chunks/{FeedbackStatusIcon-BS5VX-s6.js → FeedbackStatusIcon-DRI7WrSU.js} +7 -7
- package/chunks/{accordion-BxxPnJau.js → accordion-DIVTJU3O.js} +7 -7
- package/chunks/{badge-BplGU5BS.js → badge-BfK6XrlL.js} +1 -1
- package/chunks/{breadcrumbs-C-Z6UlQn.js → breadcrumbs-DV0ZJc62.js} +1 -1
- package/chunks/{button-Ch860h28.js → button-CenXTGXL.js} +2 -2
- package/chunks/{calendar-DWdU1T7E.js → calendar-BZPktkdE.js} +6 -6
- package/chunks/{card-Bzc8kToe.js → card-zIYA-SQh.js} +3 -3
- package/chunks/{checkbox-BgCp0edW.js → checkbox-DcXA9GSd.js} +4 -4
- package/chunks/{clear-button-la4Fb9_w.js → clear-button-D3I1X3yG.js} +1 -1
- package/chunks/{clsx-B1NYyfch.js → clsx-Di52oYUU.js} +6 -4
- package/chunks/{color-scheme-switch-jgoxUu3x.js → color-scheme-switch-DVZjdwc9.js} +4 -4
- package/chunks/{combobox-B3AGDNru.js → combobox-DIou4Z-d.js} +5 -5
- package/chunks/{date-field-Q3bQ5P_t.js → date-field-BF2f9bSf.js} +5 -5
- package/chunks/{date-picker-BPAJK8Gr.js → date-picker-BomOO1LI.js} +8 -8
- package/chunks/{drop-zone-DvQLpgq6.js → drop-zone-DH3ZyHsr.js} +1 -1
- package/chunks/{field-error-pJiSw4PN.js → field-error-LtNtEKDp.js} +2 -2
- package/chunks/{file-list-DM1Vtkun.js → file-list-TmEuO1fJ.js} +2 -2
- package/chunks/{grid-DZB3GGDg.js → grid-Cn_8RSvj.js} +1 -1
- package/chunks/heading-BEl_z-5T.js +31 -0
- package/chunks/{info-banner-DnFNZ1_o.js → info-banner-osR4e6nB.js} +3 -3
- package/chunks/{label-CEYHiWSa.js → label-LWlgvAwz.js} +4 -4
- package/chunks/{layout-DVj8wSj3.js → layout-Db5um0f7.js} +23 -23
- package/chunks/{link-CQoSw1Pv.js → link-BAgs4RwY.js} +5 -5
- package/chunks/{link-button-BMFzCHH8.js → link-button-BuPMEGUj.js} +5 -5
- package/chunks/{list-box-BT33Wiwt.js → list-box-BN_MSiOD.js} +3 -3
- package/chunks/{logo-CDxNjDeI.js → logo-DyZ2pXt7.js} +1 -1
- package/chunks/{menu-CPCGm0MC.js → menu-aT2IR0tO.js} +1 -1
- package/chunks/{modal-C-xHt7Ds.js → modal-C-UsxdO0.js} +3 -3
- package/chunks/{popover-wAwxm_cM.js → popover-DGcogqbS.js} +1 -1
- package/chunks/{progress-bar-Cft_RPHz.js → progress-bar-7w_kWo2f.js} +2 -2
- package/chunks/{radio-BXC6pb3z.js → radio-C-MUMGu7.js} +4 -4
- package/chunks/{search-field-dAZu3T_V.js → search-field-BvfOHvUI.js} +6 -6
- package/chunks/{select-DOLE5CtI.js → select-KQzDIamx.js} +8 -8
- package/chunks/{skeleton-DWmvym7R.js → skeleton-B_BPRPJy.js} +1 -1
- package/chunks/{spinner-DMR5G-6u.js → spinner-LdHPVms_.js} +1 -1
- package/chunks/{table-RARvkGKL.js → table-zT6eQ3ZZ.js} +2 -2
- package/chunks/{tabs-BFFTnO4i.js → tabs-Co09VWvC.js} +1 -1
- package/chunks/{tag-mzNjP8EX.js → tag-BIcqtf7b.js} +2 -2
- package/chunks/text-DwmZ-ew8.js +28 -0
- package/chunks/{textfield-BNdiOwXq.js → textfield-CXqzzOtw.js} +5 -5
- package/chunks/{time-field-CZxI9Bs6.js → time-field-CmjGBQph.js} +6 -6
- package/chunks/{toast-Cz0JDIr1.js → toast-gJgjitZF.js} +3 -3
- package/chunks/{toggle-button-BgUQKcK-.js → toggle-button-CIvsOXQf.js} +1 -1
- package/chunks/{tooltip-D7LYQwj0.js → tooltip-BkesIUIF.js} +1 -1
- package/clear-button/index.js +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +1 -1
- package/combobox/ComboBox.stories.d.ts +3 -2
- package/combobox/index.js +1 -1
- package/common/FeedbackStatusIcon.d.ts +1 -1
- package/date-field/index.js +1 -1
- package/date-picker/DatePickerInputField.d.ts +1 -1
- package/date-picker/index.js +1 -1
- package/drop-zone/index.js +1 -1
- package/field-error/index.js +1 -1
- package/file-list/FileList.d.ts +1 -1
- package/file-list/FileList.stories.d.ts +3 -3
- package/file-list/FileListItem.d.ts +1 -1
- package/file-list/index.js +1 -1
- package/file-trigger/FileTrigger.d.ts +1 -1
- package/grid/index.js +1 -1
- package/heading/index.js +1 -1
- package/index.js +49 -49
- package/info-banner/index.js +1 -1
- package/label/InfoPopover.d.ts +1 -1
- package/label/index.js +1 -1
- package/layout/components/SidebarLink.d.ts +1 -1
- package/layout/index.js +1 -1
- package/link/Link.d.ts +1 -1
- package/link/index.js +1 -1
- package/link-button/LinkButton.d.ts +1 -1
- package/link-button/index.js +1 -1
- package/list-box/ListBox.d.ts +1 -1
- package/list-box/ListBox.stories.d.ts +4 -4
- package/list-box/ListBoxHeader.d.ts +1 -1
- package/list-box/ListBoxItem.d.ts +1 -1
- package/list-box/ListBoxSection.d.ts +1 -1
- package/list-box/index.js +1 -1
- package/list-box/list-box-empty-state/ListBoxEmptyState.d.ts +1 -1
- package/logo/Logo.d.ts +1 -1
- package/logo/index.js +1 -1
- package/menu/Menu.d.ts +1 -1
- package/menu/Menu.stories.d.ts +5 -4
- package/menu/MenuItem.d.ts +1 -1
- package/menu/MenuPopover.d.ts +1 -1
- package/menu/MenuSection.d.ts +1 -1
- package/menu/Separator.d.ts +1 -1
- package/menu/index.js +1 -1
- package/modal/index.js +1 -1
- package/package.json +6 -6
- package/popover/index.js +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/Radio.d.ts +1 -1
- package/radio/Radio.stories.d.ts +6 -6
- package/radio/RadioButton.d.ts +1 -1
- package/radio/RadioField.d.ts +1 -1
- package/radio/RadioGroup.stories.d.ts +1 -1
- package/radio/index.js +1 -1
- package/search-field/SearchField.d.ts +1 -1
- package/search-field/SearchField.stories.d.ts +1 -1
- package/search-field/index.js +1 -1
- package/select/MultiSelectValue.d.ts +2 -1
- package/select/Select.d.ts +1 -1
- package/select/Select.stories.d.ts +2 -2
- package/select/SelectAll.d.ts +2 -1
- package/select/SelectTags.d.ts +1 -1
- package/select/SelectTrigger.d.ts +1 -1
- package/select/index.js +1 -1
- package/skeleton/Skeleton.Form.stories.d.ts +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/index.js +1 -1
- package/table/Table.d.ts +6 -6
- package/table/Table.stories.d.ts +7 -7
- package/table/index.js +1 -1
- package/tabs/TabList.d.ts +2 -1
- package/tabs/Tabs.stories.d.ts +1 -1
- package/tabs/index.js +1 -1
- package/tag/Tag.d.ts +1 -1
- package/tag/index.js +1 -1
- package/tag/tag-list/TagList.d.ts +1 -1
- package/text/index.js +1 -1
- package/textfield/PasswordToggle.d.ts +1 -1
- package/textfield/TextArea.stories.d.ts +4 -4
- package/textfield/index.js +1 -1
- package/time-field/index.js +1 -1
- package/toast/Toast.d.ts +3 -3
- package/toast/index.js +1 -1
- package/toggle-button/index.js +1 -1
- package/tooltip/Tooltip.d.ts +3 -2
- package/tooltip/Tooltip.stories.d.ts +1 -1
- package/tooltip/index.js +1 -1
- package/chunks/heading-bnDePIbv.js +0 -28
- package/chunks/text-EUdAWwZz.js +0 -23
package/table/Table.stories.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import { StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { Table } from './Table';
|
|
3
3
|
type Story = StoryObj<typeof Table>;
|
|
4
4
|
declare const _default: {
|
|
5
|
-
component: ({ size, striped, className, ...rest }: import('./Table').TableProps) => import(
|
|
5
|
+
component: ({ size, striped, className, ...rest }: import('./Table').TableProps) => import('react').JSX.Element;
|
|
6
6
|
subcomponents: {
|
|
7
|
-
TableHeader: <T extends object>({ columns, children, className, }: import('react-aria-components').TableHeaderProps<T>) => import(
|
|
8
|
-
Column: ({ children, className, ...rest }: import('react-aria-components').ColumnProps) => import(
|
|
9
|
-
TableBody: <T extends object>({ className, ...rest }: import('react-aria-components').TableBodyProps<T>) => import(
|
|
10
|
-
Row: <T extends object>({ id, columns, children, className, ...rest }: import('react-aria-components').RowProps<T>) => import(
|
|
11
|
-
Cell: ({ className, ...rest }: import('react-aria-components').CellProps) => import(
|
|
7
|
+
TableHeader: <T extends object>({ columns, children, className, }: import('react-aria-components').TableHeaderProps<T>) => import('react').JSX.Element;
|
|
8
|
+
Column: ({ children, className, ...rest }: import('react-aria-components').ColumnProps) => import('react').JSX.Element;
|
|
9
|
+
TableBody: <T extends object>({ className, ...rest }: import('react-aria-components').TableBodyProps<T>) => import('react').JSX.Element;
|
|
10
|
+
Row: <T extends object>({ id, columns, children, className, ...rest }: import('react-aria-components').RowProps<T>) => import('react').JSX.Element;
|
|
11
|
+
Cell: ({ className, ...rest }: import('react-aria-components').CellProps) => import('react').JSX.Element;
|
|
12
12
|
};
|
|
13
13
|
title: string;
|
|
14
14
|
tags: string[];
|
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
defaultValue: string;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
render: (args: import('./Table').TableProps) => import(
|
|
31
|
+
render: (args: import('./Table').TableProps) => import('react').JSX.Element;
|
|
32
32
|
};
|
|
33
33
|
export default _default;
|
|
34
34
|
export declare const Primary: Story;
|
package/table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-zT6eQ3ZZ.js";
|
|
2
2
|
export { a as Cell, n as Column, i as Row, t as Table, e as TableBody, r as TableHeader };
|
package/tabs/TabList.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { TabListProps } from 'react-aria-components';
|
|
2
|
-
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const TabList: <T extends object>({ className, ...props }: TabListProps<T>) => React.JSX.Element;
|
|
3
4
|
export type { TabListProps };
|
package/tabs/Tabs.stories.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare const _default: {
|
|
|
17
17
|
variant: "uncontained";
|
|
18
18
|
size: "large";
|
|
19
19
|
};
|
|
20
|
-
render: (args: import('./Tabs').TabsProps) =>
|
|
20
|
+
render: (args: import('./Tabs').TabsProps) => React.JSX.Element;
|
|
21
21
|
};
|
|
22
22
|
export default _default;
|
|
23
23
|
export declare const Primary: Story;
|
package/tabs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../chunks/tabs-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../chunks/tabs-Co09VWvC.js";
|
|
2
2
|
export { n as Tab, r as TabList, t as TabPanel, e as Tabs };
|
package/tag/Tag.d.ts
CHANGED
|
@@ -19,4 +19,4 @@ export interface TagProps extends AriaTagProps {
|
|
|
19
19
|
*/
|
|
20
20
|
type?: FeedbackStatus;
|
|
21
21
|
}
|
|
22
|
-
export declare const Tag: ({ className, color, dismissable, isDismissable, type, ...props }: TagProps) => import(
|
|
22
|
+
export declare const Tag: ({ className, color, dismissable, isDismissable, type, ...props }: TagProps) => import('react').JSX.Element;
|
package/tag/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../chunks/tag-
|
|
1
|
+
import { n as e, r as t, t as n } from "../chunks/tag-BIcqtf7b.js";
|
|
2
2
|
export { t as Tag, n as TagGroup, e as TagList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagListProps } from 'react-aria-components';
|
|
2
2
|
import { ForwardedRef } from 'react';
|
|
3
3
|
export type { TagListProps };
|
|
4
|
-
declare const TagListInner: <T extends object>(props: TagListProps<T>, ref?: ForwardedRef<HTMLDivElement>) => import(
|
|
4
|
+
declare const TagListInner: <T extends object>(props: TagListProps<T>, ref?: ForwardedRef<HTMLDivElement>) => import('react').JSX.Element;
|
|
5
5
|
export declare const TagList: <T>(props: TagListProps<T>, ref?: ForwardedRef<HTMLDivElement>) => ReturnType<typeof TagListInner>;
|
package/text/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/text-
|
|
1
|
+
import { t as e } from "../chunks/text-DwmZ-ew8.js";
|
|
2
2
|
export { e as Text };
|
|
@@ -2,5 +2,5 @@ interface PasswordToggleProps {
|
|
|
2
2
|
showPassword: boolean;
|
|
3
3
|
onToggle: () => void;
|
|
4
4
|
}
|
|
5
|
-
export declare const PasswordToggle: ({ showPassword, onToggle, }: PasswordToggleProps) => import(
|
|
5
|
+
export declare const PasswordToggle: ({ showPassword, onToggle, }: PasswordToggleProps) => import('react').JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -124,8 +124,8 @@ export declare const Disabled: {
|
|
|
124
124
|
onChange?: ((value: string) => void) | undefined;
|
|
125
125
|
onBeforeInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
126
126
|
onInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
127
|
-
onKeyDown?: (e: import('
|
|
128
|
-
onKeyUp?: (e: import('
|
|
127
|
+
onKeyDown?: (e: import('react-aria-components').KeyboardEvent) => void;
|
|
128
|
+
onKeyUp?: (e: import('react-aria-components').KeyboardEvent) => void;
|
|
129
129
|
onSelect?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
130
130
|
autoFocus?: boolean;
|
|
131
131
|
onFocusChange?: (isFocused: boolean) => void;
|
|
@@ -294,8 +294,8 @@ export declare const Disabled: {
|
|
|
294
294
|
onToggle?: import('react').ToggleEventHandler<HTMLTextAreaElement> | undefined;
|
|
295
295
|
onBeforeToggle?: import('react').ToggleEventHandler<HTMLTextAreaElement> | undefined;
|
|
296
296
|
rel?: string | undefined;
|
|
297
|
-
onHoverStart?: (e: import('react-aria').HoverEvent) => void;
|
|
298
|
-
onHoverEnd?: (e: import('react-aria').HoverEvent) => void;
|
|
297
|
+
onHoverStart?: (e: import('react-aria-components').HoverEvent) => void;
|
|
298
|
+
onHoverEnd?: (e: import('react-aria-components').HoverEvent) => void;
|
|
299
299
|
onHoverChange?: (isHovering: boolean) => void;
|
|
300
300
|
defaultChecked?: boolean | undefined;
|
|
301
301
|
suppressContentEditableWarning?: boolean | undefined;
|
package/textfield/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../chunks/textfield-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../chunks/textfield-CXqzzOtw.js";
|
|
2
2
|
export { n as Input, r as TextArea, t as TextField, e as TextFieldBase };
|
package/time-field/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/time-field-
|
|
1
|
+
import { t as e } from "../chunks/time-field-CmjGBQph.js";
|
|
2
2
|
export { e as TimeField };
|
package/toast/Toast.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export interface ToastProviderProps extends AriaToastRegionProps {
|
|
|
24
24
|
export { useToastState };
|
|
25
25
|
export declare const toastQueue: ToastQueue<MidasToast>;
|
|
26
26
|
export declare const GlobalToastRegion: (props: ToastProviderProps) => React.ReactPortal | null;
|
|
27
|
-
export declare const ToastProvider: ({ children, ...props }: ToastProviderProps) =>
|
|
28
|
-
export declare function ToastRegion<T extends MidasToast>({ state, className, ...props }: ToastRegionProps<T>):
|
|
29
|
-
export declare function Toast<T extends MidasToast>({ state, className, ...props }: ToastProps<T>):
|
|
27
|
+
export declare const ToastProvider: ({ children, ...props }: ToastProviderProps) => React.JSX.Element;
|
|
28
|
+
export declare function ToastRegion<T extends MidasToast>({ state, className, ...props }: ToastRegionProps<T>): React.JSX.Element;
|
|
29
|
+
export declare function Toast<T extends MidasToast>({ state, className, ...props }: ToastProps<T>): React.JSX.Element;
|
package/toast/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/toast-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/toast-gJgjitZF.js";
|
|
2
2
|
export { a as GlobalToastRegion, n as Toast, i as ToastProvider, t as ToastRegion, e as toastQueue, r as useToastState };
|
package/toggle-button/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/toggle-button-
|
|
1
|
+
import { n as e, t } from "../chunks/toggle-button-CIvsOXQf.js";
|
|
2
2
|
export { e as ToggleButton, t as ToggleButtonGroup };
|
package/tooltip/Tooltip.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TooltipProps, TooltipTriggerComponentProps } from 'react-aria-components';
|
|
2
|
+
import * as React from 'react';
|
|
2
3
|
export type { TooltipProps };
|
|
3
|
-
export declare function Tooltip({ children, className, ...props }: TooltipProps):
|
|
4
|
-
export declare function TooltipTrigger({ delay, ...props }: TooltipTriggerComponentProps):
|
|
4
|
+
export declare function Tooltip({ children, className, ...props }: TooltipProps): React.JSX.Element;
|
|
5
|
+
export declare function TooltipTrigger({ delay, ...props }: TooltipTriggerComponentProps): React.JSX.Element;
|
|
@@ -17,7 +17,7 @@ declare const _default: {
|
|
|
17
17
|
args: {
|
|
18
18
|
children: string;
|
|
19
19
|
};
|
|
20
|
-
render: (args: TooltipProps) => import(
|
|
20
|
+
render: (args: TooltipProps) => import('react').JSX.Element;
|
|
21
21
|
};
|
|
22
22
|
export default _default;
|
|
23
23
|
export declare const Primary: Story;
|
package/tooltip/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/tooltip-
|
|
1
|
+
import { n as e, t } from "../chunks/tooltip-BkesIUIF.js";
|
|
2
2
|
export { t as Tooltip, e as TooltipTrigger };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./clsx-B1NYyfch.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { Heading as t } from "react-aria-components";
|
|
4
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
-
import '../assets/heading.css';var r = {
|
|
6
|
-
h1: "_h1_13alg_1",
|
|
7
|
-
h2: "_h2_13alg_2",
|
|
8
|
-
h3: "_h3_13alg_3",
|
|
9
|
-
h4: "_h4_13alg_4",
|
|
10
|
-
h5: "_h5_13alg_5",
|
|
11
|
-
h6: "_h6_13alg_6"
|
|
12
|
-
}, i = ({ children: i, className: a, enableMargins: o = !1, isExpressive: s = !1, level: c = 3, elementType: l, ...u }) => /* @__PURE__ */ n(t, {
|
|
13
|
-
level: l && parseInt(l.split("h")[1]) || c,
|
|
14
|
-
className: e([
|
|
15
|
-
r.h1,
|
|
16
|
-
r.h2,
|
|
17
|
-
r.h3,
|
|
18
|
-
r.h4,
|
|
19
|
-
r.h5,
|
|
20
|
-
r.h6
|
|
21
|
-
][c - 1], a),
|
|
22
|
-
...s && { "data-expressive": !0 },
|
|
23
|
-
...o && { "data-margin": !0 },
|
|
24
|
-
...u,
|
|
25
|
-
children: i
|
|
26
|
-
});
|
|
27
|
-
//#endregion
|
|
28
|
-
export { i as t };
|
package/chunks/text-EUdAWwZz.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./clsx-B1NYyfch.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { Text as t } from "react-aria-components";
|
|
4
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
-
import '../assets/text.css';var r = {
|
|
6
|
-
body: "_body_g096r_1",
|
|
7
|
-
"body-small": "_body-small_g096r_2",
|
|
8
|
-
description: "_description_g096r_3",
|
|
9
|
-
"description-small": "_description-small_g096r_4",
|
|
10
|
-
bold: "_bold_g096r_24",
|
|
11
|
-
italic: "_italic_g096r_28"
|
|
12
|
-
}, i = "span", a = ({ children: a, className: o, size: s, isExpressive: c = !1, elementType: l = i, ...u }) => /* @__PURE__ */ n(t, {
|
|
13
|
-
className: e(u.slot === "description" ? s === "small" ? r["description-small"] : r.description : s === "small" ? r["body-small"] : r.body, {
|
|
14
|
-
[r.bold]: ["b", "strong"].includes(l),
|
|
15
|
-
[r.italic]: ["i", "em"].includes(l)
|
|
16
|
-
}, o),
|
|
17
|
-
elementType: l || i,
|
|
18
|
-
...c && { "data-expressive": !0 },
|
|
19
|
-
...u,
|
|
20
|
-
children: a
|
|
21
|
-
});
|
|
22
|
-
//#endregion
|
|
23
|
-
export { a as t };
|