@tidbcloud/uikit 2.0.0-beta.62 → 2.0.0-beta.64

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/biz/Form/PhoneInput/index.cjs +1 -1
  3. package/dist/biz/Form/PhoneInput/index.d.cts +1 -1
  4. package/dist/biz/Form/PhoneInput/index.d.ts +1 -1
  5. package/dist/biz/Form/PhoneInput/index.js +1 -1
  6. package/dist/biz/PhoneInput/styles.d.cts +1 -1
  7. package/dist/biz/PhoneInput/styles.d.ts +1 -1
  8. package/dist/biz/Table/ProTable/helpers.d.cts +1 -1
  9. package/dist/biz/Table/ProTable/helpers.d.ts +1 -1
  10. package/dist/biz/Table/ProTable/types.d.cts +1 -1
  11. package/dist/biz/Table/ProTable/types.d.ts +1 -1
  12. package/dist/primitive/TextInput/TextInput.d.cts +1 -1
  13. package/dist/primitive/TextInput/TextInput.d.ts +1 -1
  14. package/dist/primitive/Typography/index.d.cts +2 -2
  15. package/dist/primitive/Typography/index.d.ts +2 -2
  16. package/dist/primitive/index.d.cts +11 -0
  17. package/dist/primitive/index.d.ts +11 -0
  18. package/dist/theme/ThemeProvider.d.cts +1 -1
  19. package/dist/theme/ThemeProvider.d.ts +1 -1
  20. package/dist/theme/colors.d.cts +1 -1
  21. package/dist/theme/colors.d.ts +1 -1
  22. package/dist/theme/fns.d.cts +1 -1
  23. package/dist/theme/fns.d.ts +1 -1
  24. package/dist/theme/index.d.cts +1 -1
  25. package/dist/theme/index.d.ts +1 -1
  26. package/dist/theme/theme.cjs +1 -2
  27. package/dist/theme/theme.d.cts +1 -1
  28. package/dist/theme/theme.d.ts +1 -1
  29. package/dist/theme/theme.js +1 -2
  30. package/dist/utils/emotion.d.cts +1 -1
  31. package/dist/utils/emotion.d.ts +1 -1
  32. package/dist/utils/index.d.cts +1 -1
  33. package/dist/utils/index.d.ts +1 -1
  34. package/dist/utils/styles.d.cts +1 -1
  35. package/dist/utils/styles.d.ts +1 -1
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.0.0-beta.64
4
+
5
+ ### Patch Changes
6
+
7
+ - fix phone input filter conflict
8
+
9
+ ## 2.0.0-beta.63
10
+
11
+ ### Patch Changes
12
+
13
+ - fix protable sx missing
14
+
3
15
  ## 2.0.0-beta.62
4
16
 
5
17
  ### Patch Changes
@@ -87,7 +87,7 @@ const FormPhoneInputV2 = ({
87
87
  ...rest
88
88
  }) => {
89
89
  const { watch, formState, getFieldState } = reactHookForm.useFormContext();
90
- const { filter: onFilter, ...restProps } = selectProps;
90
+ const { filterData: onFilter, ...restProps } = selectProps;
91
91
  const { error: countryError } = getFieldState(countryKey, formState);
92
92
  const { error: phoneError } = getFieldState(phoneKey, formState);
93
93
  const country = watch(countryKey, "");
@@ -17,7 +17,7 @@ export interface FormPhoneInputV2Props extends Omit<PhoneInputProps, 'onSelect'>
17
17
  countryRules?: RegisterOptions;
18
18
  onSelect?: (value: string, country: CountryData | {}) => void;
19
19
  selectProps: Omit<SelectProps, 'data'> & {
20
- filter?: (data: {
20
+ filterData?: (data: {
21
21
  value: string;
22
22
  label: string;
23
23
  }, index: number, array: {
@@ -17,7 +17,7 @@ export interface FormPhoneInputV2Props extends Omit<PhoneInputProps, 'onSelect'>
17
17
  countryRules?: RegisterOptions;
18
18
  onSelect?: (value: string, country: CountryData | {}) => void;
19
19
  selectProps: Omit<SelectProps, 'data'> & {
20
- filter?: (data: {
20
+ filterData?: (data: {
21
21
  value: string;
22
22
  label: string;
23
23
  }, index: number, array: {
@@ -85,7 +85,7 @@ const FormPhoneInputV2 = ({
85
85
  ...rest
86
86
  }) => {
87
87
  const { watch, formState, getFieldState } = useFormContext();
88
- const { filter: onFilter, ...restProps } = selectProps;
88
+ const { filterData: onFilter, ...restProps } = selectProps;
89
89
  const { error: countryError } = getFieldState(countryKey, formState);
90
90
  const { error: phoneError } = getFieldState(phoneKey, formState);
91
91
  const country = watch(countryKey, "");
@@ -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('../../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').MantineTheme;
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('../../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').MantineTheme;
6
+ theme: import('@mantine/core').MantineTheme;
7
7
  };
@@ -1,4 +1,4 @@
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';
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 '../../../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
+ 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 '../../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
+ 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 '../../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
+ 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 '../../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
+ 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('../../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').PolymorphicComponentProps<C, TypographyProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(TypographyProps & {
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 '../../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
+ 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('../../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').PolymorphicComponentProps<C, TypographyProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(TypographyProps & {
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 '../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
+ 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 '../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
+ 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,4 +1,4 @@
1
- import { MantineColorsTuple } 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
+ 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;
@@ -1,4 +1,4 @@
1
- import { MantineColorsTuple } 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
+ 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;
@@ -1,2 +1,2 @@
1
- import { VariantColorsResolver } 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
+ import { VariantColorsResolver } from '@mantine/core';
2
2
  export declare const variantColorResolver: VariantColorsResolver;
@@ -1,2 +1,2 @@
1
- import { VariantColorsResolver } 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
+ import { VariantColorsResolver } from '@mantine/core';
2
2
  export declare const variantColorResolver: VariantColorsResolver;
@@ -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 '../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';
6
+ export { useMantineTheme as useCurrentTheme, createTheme } from '@mantine/core';
@@ -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 '../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';
6
+ export { useMantineTheme as useCurrentTheme, createTheme } from '@mantine/core';
@@ -313,8 +313,7 @@ const theme = createTheme.createTheme({
313
313
  },
314
314
  "&:hover": {
315
315
  color: themeColor(theme2, "carbon", 9)
316
- },
317
- "&:focus": { outlineColor: "transparent" }
316
+ }
318
317
  }
319
318
  };
320
319
  }
@@ -1,4 +1,4 @@
1
- import { MantineTheme } 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
+ 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;
@@ -1,4 +1,4 @@
1
- import { MantineTheme } 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
+ 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;
@@ -311,8 +311,7 @@ const theme = createTheme({
311
311
  },
312
312
  "&:hover": {
313
313
  color: themeColor(theme2, "carbon", 9)
314
- },
315
- "&:focus": { outlineColor: "transparent" }
314
+ }
316
315
  }
317
316
  };
318
317
  }
@@ -1,4 +1,4 @@
1
- import { FactoryPayload, MantineTheme, StylesRecord } 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
+ 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;
@@ -1,4 +1,4 @@
1
- import { FactoryPayload, MantineTheme, StylesRecord } 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
+ 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;
@@ -1,5 +1,5 @@
1
1
  export { clsx } from 'clsx';
2
- export { rgba, rem, getPrimaryShade } 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
+ 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';
@@ -1,5 +1,5 @@
1
1
  export { clsx } from 'clsx';
2
- export { rgba, rem, getPrimaryShade } 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
+ 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';
@@ -1,4 +1,4 @@
1
- import { MantineTheme } 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
+ 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;
@@ -1,4 +1,4 @@
1
- import { MantineTheme } 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
+ 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.62",
3
+ "version": "2.0.0-beta.64",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",