@tidbcloud/uikit 2.0.0-beta.62 → 2.0.0-beta.63
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 +6 -0
- package/dist/biz/PhoneInput/styles.d.cts +1 -1
- package/dist/biz/PhoneInput/styles.d.ts +1 -1
- package/dist/biz/Table/ProTable/helpers.d.cts +1 -1
- package/dist/biz/Table/ProTable/helpers.d.ts +1 -1
- package/dist/biz/Table/ProTable/types.d.cts +1 -1
- package/dist/biz/Table/ProTable/types.d.ts +1 -1
- package/dist/primitive/TextInput/TextInput.d.cts +1 -1
- package/dist/primitive/TextInput/TextInput.d.ts +1 -1
- package/dist/primitive/Typography/index.d.cts +2 -2
- package/dist/primitive/Typography/index.d.ts +2 -2
- package/dist/primitive/index.d.cts +11 -0
- package/dist/primitive/index.d.ts +11 -0
- package/dist/theme/ThemeProvider.d.cts +1 -1
- package/dist/theme/ThemeProvider.d.ts +1 -1
- package/dist/theme/colors.d.cts +1 -1
- package/dist/theme/colors.d.ts +1 -1
- package/dist/theme/fns.d.cts +1 -1
- package/dist/theme/fns.d.ts +1 -1
- package/dist/theme/index.d.cts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/theme.d.cts +1 -1
- package/dist/theme/theme.d.ts +1 -1
- package/dist/utils/emotion.d.cts +1 -1
- package/dist/utils/emotion.d.ts +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/styles.d.cts +1 -1
- package/dist/utils/styles.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,5 +3,5 @@ export declare const useStyles: (params: {
|
|
|
3
3
|
}) => {
|
|
4
4
|
classes: Record<"container" | "dropdownButton", string>;
|
|
5
5
|
cx: (...args: any) => string;
|
|
6
|
-
theme: import('
|
|
6
|
+
theme: import('@mantine/core').MantineTheme;
|
|
7
7
|
};
|
|
@@ -3,5 +3,5 @@ export declare const useStyles: (params: {
|
|
|
3
3
|
}) => {
|
|
4
4
|
classes: Record<"container" | "dropdownButton", string>;
|
|
5
5
|
cx: (...args: any) => string;
|
|
6
|
-
theme: import('
|
|
6
|
+
theme: import('@mantine/core').MantineTheme;
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoxProps } from '
|
|
1
|
+
import { BoxProps } from '@mantine/core';
|
|
2
2
|
import { MRT_RowData, MRT_TableInstance } from 'mantine-react-table';
|
|
3
3
|
import { ProTableExtraProps, ProTableOptions } from './types.js';
|
|
4
4
|
export declare function mergeMProps<P extends BoxProps | ((...args: unknown[]) => BoxProps)>(preProps: P, mProps?: P): P;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoxProps } from '
|
|
1
|
+
import { BoxProps } from '@mantine/core';
|
|
2
2
|
import { MRT_RowData, MRT_TableInstance } from 'mantine-react-table';
|
|
3
3
|
import { ProTableExtraProps, ProTableOptions } from './types.js';
|
|
4
4
|
export declare function mergeMProps<P extends BoxProps | ((...args: unknown[]) => BoxProps)>(preProps: P, mProps?: P): P;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BoxProps } from '../../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
1
|
import { MRT_TableInstance, MRT_TableOptions, MRT_RowData } from 'mantine-react-table';
|
|
2
|
+
import { BoxProps } from '../../../primitive/index.js';
|
|
3
3
|
import { TablePaginationProps } from '../TablePagination.js';
|
|
4
4
|
type Prettify<T> = {
|
|
5
5
|
[K in keyof T]: T[K];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BoxProps } from '../../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
1
|
import { MRT_TableInstance, MRT_TableOptions, MRT_RowData } from 'mantine-react-table';
|
|
2
|
+
import { BoxProps } from '../../../primitive/index.js';
|
|
3
3
|
import { TablePaginationProps } from '../TablePagination.js';
|
|
4
4
|
type Prettify<T> = {
|
|
5
5
|
[K in keyof T]: T[K];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextInputProps as MantineTextInputProps } from '
|
|
1
|
+
import { TextInputProps as MantineTextInputProps } from '@mantine/core';
|
|
2
2
|
export interface TextInputProps extends MantineTextInputProps {
|
|
3
3
|
leftLabel?: string;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextInputProps as MantineTextInputProps } from '
|
|
1
|
+
import { TextInputProps as MantineTextInputProps } from '@mantine/core';
|
|
2
2
|
export interface TextInputProps extends MantineTextInputProps {
|
|
3
3
|
leftLabel?: string;
|
|
4
4
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MantineStyleProps, TextProps } from '
|
|
1
|
+
import { MantineStyleProps, TextProps } from '@mantine/core';
|
|
2
2
|
type TypographyVariants = 'headline-lg' | 'headline-md' | 'headline-sm' | 'title-lg' | 'title-md' | 'title-sm' | 'action-lg' | 'action-md' | 'action-sm' | 'label-lg' | 'label-md' | 'label-sm' | 'label-xs' | 'body-lg' | 'body-md' | 'body-sm' | 'body-xs';
|
|
3
3
|
export interface TypographyProps extends Omit<TextProps, 'variant'> {
|
|
4
4
|
variant?: TypographyVariants;
|
|
5
5
|
}
|
|
6
6
|
export declare const TYPOGRAPHY_STYLES_MAP: Record<TypographyVariants, MantineStyleProps>;
|
|
7
|
-
export declare const Typography: (<C = "div">(props: import('
|
|
7
|
+
export declare const Typography: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, TypographyProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(TypographyProps & {
|
|
8
8
|
component?: any;
|
|
9
9
|
} & Omit<Omit<any, "ref">, keyof TypographyProps | "component"> & {
|
|
10
10
|
ref?: any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MantineStyleProps, TextProps } from '
|
|
1
|
+
import { MantineStyleProps, TextProps } from '@mantine/core';
|
|
2
2
|
type TypographyVariants = 'headline-lg' | 'headline-md' | 'headline-sm' | 'title-lg' | 'title-md' | 'title-sm' | 'action-lg' | 'action-md' | 'action-sm' | 'label-lg' | 'label-md' | 'label-sm' | 'label-xs' | 'body-lg' | 'body-md' | 'body-sm' | 'body-xs';
|
|
3
3
|
export interface TypographyProps extends Omit<TextProps, 'variant'> {
|
|
4
4
|
variant?: TypographyVariants;
|
|
5
5
|
}
|
|
6
6
|
export declare const TYPOGRAPHY_STYLES_MAP: Record<TypographyVariants, MantineStyleProps>;
|
|
7
|
-
export declare const Typography: (<C = "div">(props: import('
|
|
7
|
+
export declare const Typography: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, TypographyProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(TypographyProps & {
|
|
8
8
|
component?: any;
|
|
9
9
|
} & Omit<Omit<any, "ref">, keyof TypographyProps | "component"> & {
|
|
10
10
|
ref?: any;
|
|
@@ -17,6 +17,17 @@ declare module '../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7x
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
declare module '@mantine/core' {
|
|
21
|
+
interface MantineThemeColorsOverride {
|
|
22
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
23
|
+
}
|
|
24
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
25
|
+
styles?: EmotionStyles<Payload>
|
|
26
|
+
}
|
|
27
|
+
interface BoxProps {
|
|
28
|
+
sx?: EmotionSx
|
|
29
|
+
}
|
|
30
|
+
}
|
|
20
31
|
export type ColorScheme = 'light' | 'dark';
|
|
21
32
|
export type { AppShellProps, AspectRatioProps, CenterProps, ContainerProps, FlexProps, GridProps, GroupProps, SimpleGridProps, SpaceProps, StackProps, CheckboxProps, CheckboxGroupProps, ChipProps, ChipGroupProps, ColorInputProps, ColorPickerProps, FieldsetProps, FileInputProps, InputProps, InputWrapperProps, InputErrorProps, InputLabelProps, InputPlaceholderProps, InputBaseProps, JsonInputProps, NativeSelectProps, NumberInputProps, PasswordInputProps, PinInputProps, RadioProps, RadioGroupProps, RadioCardProps, RatingProps, SegmentedControlProps, SegmentedControlItem, SliderProps, RangeSliderProps, SwitchProps, TextareaProps, AutocompleteProps, ComboboxProps, MultiSelectProps, PillProps, PillsInputProps, SelectProps, TagsInputProps, ActionIconProps, ButtonProps, CloseButtonProps, CopyButtonProps, FileButtonProps, UnstyledButtonProps, AnchorProps, BreadcrumbsProps, BurgerProps, NavLinkProps, PaginationProps, StepperProps, TabsProps, TreeProps, AlertProps, LoaderProps, NotificationProps, ProgressProps, RingProgressProps, SemiCircleProgressProps, SkeletonProps, AffixProps, DialogProps, DrawerProps, FloatingIndicatorProps, HoverCardProps, LoadingOverlayProps, MenuProps, ModalProps, OverlayProps, PopoverProps, TooltipProps, AccordionProps, AvatarProps, BackgroundImageProps, BadgeProps, CardProps, ColorSwatchProps, ImageProps, IndicatorProps, KbdProps, NumberFormatterProps, SpoilerProps, ThemeIconProps, TimelineProps, BlockquoteProps, CodeProps, HighlightProps, ListProps, MarkProps, TableProps, TextProps, TitleProps, TypographyStylesProviderProps, BoxProps, CollapseProps, DividerProps, FocusTrapProps, PaperProps, PortalProps, ScrollAreaProps, TransitionProps, VisuallyHiddenProps, ColorSchemeScriptProps, MantineSize, ElementProps } from '../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
22
33
|
export { AppShell, AspectRatio, Center, Container, Flex, Grid, Group, SimpleGrid, Space, Stack, Checkbox, Chip, ColorInput, ColorPicker, HueSlider, AlphaSlider, Fieldset, FileInput, Input, InputBase, JsonInput, NativeSelect, NumberInput, PasswordInput, PinInput, Radio, RadioGroup, RadioCard, Rating, SegmentedControl, Slider, RangeSlider, Switch, Textarea, Autocomplete, Combobox, MultiSelect, Pill, PillsInput, Select, TagsInput, ActionIcon, Button, CloseButton, CopyButton, FileButton, UnstyledButton, Anchor, Breadcrumbs, Burger, NavLink, Pagination, Stepper, Tabs, Tree, Alert, Loader, Notification, Progress, RingProgress, SemiCircleProgress, Skeleton, Affix, Dialog, Drawer, FloatingIndicator, HoverCard, LoadingOverlay, Menu, Modal, Overlay, Popover, Tooltip, Accordion, Avatar, BackgroundImage, Badge, Card, ColorSwatch, Image, Indicator, Kbd, NumberFormatter, Spoiler, ThemeIcon, Timeline, Blockquote, Code, Highlight, List, Mark, Table, Text, Title, TypographyStylesProvider, Box, Collapse, Divider, FocusTrap, Paper, Portal, ScrollArea, Transition, VisuallyHidden, ColorSchemeScript, useInputProps, useMantineTheme, useCombobox, useComputedColorScheme } from '../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
@@ -17,6 +17,17 @@ declare module '../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7x
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
declare module '@mantine/core' {
|
|
21
|
+
interface MantineThemeColorsOverride {
|
|
22
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
23
|
+
}
|
|
24
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
25
|
+
styles?: EmotionStyles<Payload>
|
|
26
|
+
}
|
|
27
|
+
interface BoxProps {
|
|
28
|
+
sx?: EmotionSx
|
|
29
|
+
}
|
|
30
|
+
}
|
|
20
31
|
export type ColorScheme = 'light' | 'dark';
|
|
21
32
|
export type { AppShellProps, AspectRatioProps, CenterProps, ContainerProps, FlexProps, GridProps, GroupProps, SimpleGridProps, SpaceProps, StackProps, CheckboxProps, CheckboxGroupProps, ChipProps, ChipGroupProps, ColorInputProps, ColorPickerProps, FieldsetProps, FileInputProps, InputProps, InputWrapperProps, InputErrorProps, InputLabelProps, InputPlaceholderProps, InputBaseProps, JsonInputProps, NativeSelectProps, NumberInputProps, PasswordInputProps, PinInputProps, RadioProps, RadioGroupProps, RadioCardProps, RatingProps, SegmentedControlProps, SegmentedControlItem, SliderProps, RangeSliderProps, SwitchProps, TextareaProps, AutocompleteProps, ComboboxProps, MultiSelectProps, PillProps, PillsInputProps, SelectProps, TagsInputProps, ActionIconProps, ButtonProps, CloseButtonProps, CopyButtonProps, FileButtonProps, UnstyledButtonProps, AnchorProps, BreadcrumbsProps, BurgerProps, NavLinkProps, PaginationProps, StepperProps, TabsProps, TreeProps, AlertProps, LoaderProps, NotificationProps, ProgressProps, RingProgressProps, SemiCircleProgressProps, SkeletonProps, AffixProps, DialogProps, DrawerProps, FloatingIndicatorProps, HoverCardProps, LoadingOverlayProps, MenuProps, ModalProps, OverlayProps, PopoverProps, TooltipProps, AccordionProps, AvatarProps, BackgroundImageProps, BadgeProps, CardProps, ColorSwatchProps, ImageProps, IndicatorProps, KbdProps, NumberFormatterProps, SpoilerProps, ThemeIconProps, TimelineProps, BlockquoteProps, CodeProps, HighlightProps, ListProps, MarkProps, TableProps, TextProps, TitleProps, TypographyStylesProviderProps, BoxProps, CollapseProps, DividerProps, FocusTrapProps, PaperProps, PortalProps, ScrollAreaProps, TransitionProps, VisuallyHiddenProps, ColorSchemeScriptProps, MantineSize, ElementProps } from '../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
22
33
|
export { AppShell, AspectRatio, Center, Container, Flex, Grid, Group, SimpleGrid, Space, Stack, Checkbox, Chip, ColorInput, ColorPicker, HueSlider, AlphaSlider, Fieldset, FileInput, Input, InputBase, JsonInput, NativeSelect, NumberInput, PasswordInput, PinInput, Radio, RadioGroup, RadioCard, Rating, SegmentedControl, Slider, RangeSlider, Switch, Textarea, Autocomplete, Combobox, MultiSelect, Pill, PillsInput, Select, TagsInput, ActionIcon, Button, CloseButton, CopyButton, FileButton, UnstyledButton, Anchor, Breadcrumbs, Burger, NavLink, Pagination, Stepper, Tabs, Tree, Alert, Loader, Notification, Progress, RingProgress, SemiCircleProgress, Skeleton, Affix, Dialog, Drawer, FloatingIndicator, HoverCard, LoadingOverlay, Menu, Modal, Overlay, Popover, Tooltip, Accordion, Avatar, BackgroundImage, Badge, Card, ColorSwatch, Image, Indicator, Kbd, NumberFormatter, Spoiler, ThemeIcon, Timeline, Blockquote, Code, Highlight, List, Mark, Table, Text, Title, TypographyStylesProvider, Box, Collapse, Divider, FocusTrap, Paper, Portal, ScrollArea, Transition, VisuallyHidden, ColorSchemeScript, useInputProps, useMantineTheme, useCombobox, useComputedColorScheme } from '../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmotionCache } from '@emotion/cache';
|
|
2
|
-
import { MantineThemeOverride } from '
|
|
2
|
+
import { MantineThemeOverride } from '@mantine/core';
|
|
3
3
|
import { ModalsProviderProps } from '@mantine/modals';
|
|
4
4
|
import { NotificationsProps } from '@mantine/notifications';
|
|
5
5
|
export interface ThemeProviderProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmotionCache } from '@emotion/cache';
|
|
2
|
-
import { MantineThemeOverride } from '
|
|
2
|
+
import { MantineThemeOverride } from '@mantine/core';
|
|
3
3
|
import { ModalsProviderProps } from '@mantine/modals';
|
|
4
4
|
import { NotificationsProps } from '@mantine/notifications';
|
|
5
5
|
export interface ThemeProviderProps {
|
package/dist/theme/colors.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineColorsTuple } from '
|
|
1
|
+
import { MantineColorsTuple } from '@mantine/core';
|
|
2
2
|
export type ShadingColor = MantineColorsTuple;
|
|
3
3
|
export declare const carbon: ShadingColor;
|
|
4
4
|
export declare const peacock: ShadingColor;
|
package/dist/theme/colors.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineColorsTuple } from '
|
|
1
|
+
import { MantineColorsTuple } from '@mantine/core';
|
|
2
2
|
export type ShadingColor = MantineColorsTuple;
|
|
3
3
|
export declare const carbon: ShadingColor;
|
|
4
4
|
export declare const peacock: ShadingColor;
|
package/dist/theme/fns.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VariantColorsResolver } from '
|
|
1
|
+
import { VariantColorsResolver } from '@mantine/core';
|
|
2
2
|
export declare const variantColorResolver: VariantColorsResolver;
|
package/dist/theme/fns.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VariantColorsResolver } from '
|
|
1
|
+
import { VariantColorsResolver } from '@mantine/core';
|
|
2
2
|
export declare const variantColorResolver: VariantColorsResolver;
|
package/dist/theme/index.d.cts
CHANGED
|
@@ -3,4 +3,4 @@ export { FONT_FAMILY, MONOSPANCED_FONT_FAMILY } from './font.js';
|
|
|
3
3
|
export { useTheme, Colors } from './theme.js';
|
|
4
4
|
export type { Color, ColorMap } from './theme.js';
|
|
5
5
|
export { ThemeProvider } from './ThemeProvider.js';
|
|
6
|
-
export { useMantineTheme as useCurrentTheme, createTheme } from '
|
|
6
|
+
export { useMantineTheme as useCurrentTheme, createTheme } from '@mantine/core';
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export { FONT_FAMILY, MONOSPANCED_FONT_FAMILY } from './font.js';
|
|
|
3
3
|
export { useTheme, Colors } from './theme.js';
|
|
4
4
|
export type { Color, ColorMap } from './theme.js';
|
|
5
5
|
export { ThemeProvider } from './ThemeProvider.js';
|
|
6
|
-
export { useMantineTheme as useCurrentTheme, createTheme } from '
|
|
6
|
+
export { useMantineTheme as useCurrentTheme, createTheme } from '@mantine/core';
|
package/dist/theme/theme.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineTheme } from '
|
|
1
|
+
import { MantineTheme } from '@mantine/core';
|
|
2
2
|
import * as light from './colors.js';
|
|
3
3
|
export type ColorMap = typeof light;
|
|
4
4
|
export type Color = keyof ColorMap;
|
package/dist/theme/theme.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineTheme } from '
|
|
1
|
+
import { MantineTheme } from '@mantine/core';
|
|
2
2
|
import * as light from './colors.js';
|
|
3
3
|
export type ColorMap = typeof light;
|
|
4
4
|
export type Color = keyof ColorMap;
|
package/dist/utils/emotion.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FactoryPayload, MantineTheme, StylesRecord } from '
|
|
1
|
+
import { FactoryPayload, MantineTheme, StylesRecord } from '@mantine/core';
|
|
2
2
|
import { CSSObject, EmotionHelpers } from '@mantine/emotion';
|
|
3
3
|
export type { CSSObject, CSSProperties } from '@mantine/emotion';
|
|
4
4
|
type EmotionStylesApiRecord<Payload extends FactoryPayload, DataType> = Payload['stylesNames'] extends string ? StylesRecord<Payload['stylesNames'], DataType> | ((theme: MantineTheme, props: Payload['props'], helpers: EmotionHelpers) => StylesRecord<Payload['stylesNames'], DataType>) : never;
|
package/dist/utils/emotion.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FactoryPayload, MantineTheme, StylesRecord } from '
|
|
1
|
+
import { FactoryPayload, MantineTheme, StylesRecord } from '@mantine/core';
|
|
2
2
|
import { CSSObject, EmotionHelpers } from '@mantine/emotion';
|
|
3
3
|
export type { CSSObject, CSSProperties } from '@mantine/emotion';
|
|
4
4
|
type EmotionStylesApiRecord<Payload extends FactoryPayload, DataType> = Payload['stylesNames'] extends string ? StylesRecord<Payload['stylesNames'], DataType> | ((theme: MantineTheme, props: Payload['props'], helpers: EmotionHelpers) => StylesRecord<Payload['stylesNames'], DataType>) : never;
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { clsx } from 'clsx';
|
|
2
|
-
export { rgba, rem, getPrimaryShade } from '
|
|
2
|
+
export { rgba, rem, getPrimaryShade } from '@mantine/core';
|
|
3
3
|
export * from './emotion.js';
|
|
4
4
|
export * from './styles.js';
|
|
5
5
|
export * from './dayjs.js';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { clsx } from 'clsx';
|
|
2
|
-
export { rgba, rem, getPrimaryShade } from '
|
|
2
|
+
export { rgba, rem, getPrimaryShade } from '@mantine/core';
|
|
3
3
|
export * from './emotion.js';
|
|
4
4
|
export * from './styles.js';
|
|
5
5
|
export * from './dayjs.js';
|
package/dist/utils/styles.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineTheme } from '
|
|
1
|
+
import { MantineTheme } from '@mantine/core';
|
|
2
2
|
import { CSSObject, EmotionHelpers, EmotionSx } from '@mantine/emotion';
|
|
3
3
|
import { EmotionStyles } from './emotion.js';
|
|
4
4
|
export declare function mergeSxList(sxList: (EmotionSx | undefined)[]): (theme: MantineTheme, helpers: EmotionHelpers) => CSSObject;
|
package/dist/utils/styles.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineTheme } from '
|
|
1
|
+
import { MantineTheme } from '@mantine/core';
|
|
2
2
|
import { CSSObject, EmotionHelpers, EmotionSx } from '@mantine/emotion';
|
|
3
3
|
import { EmotionStyles } from './emotion.js';
|
|
4
4
|
export declare function mergeSxList(sxList: (EmotionSx | undefined)[]): (theme: MantineTheme, helpers: EmotionHelpers) => CSSObject;
|