@tidbcloud/uikit 2.0.0-beta.89 → 2.0.0-beta.90
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/Form/PhoneInput/index.cjs +1 -0
- package/dist/biz/Form/PhoneInput/index.js +1 -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.cjs +6 -0
- 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/helpers.js +6 -0
- package/dist/biz/index.d.cts +30 -0
- package/dist/biz/index.d.ts +30 -0
- package/dist/hooks/index.d.cts +30 -0
- package/dist/hooks/index.d.ts +30 -0
- package/dist/theme/index.cjs +0 -4
- package/dist/theme/index.d.cts +30 -1
- package/dist/theme/index.d.ts +30 -1
- package/dist/theme/index.js +0 -4
- package/dist/theme/theme.cjs +1 -0
- package/dist/theme/theme.js +1 -0
- package/dist/utils/index.cjs +2 -0
- package/dist/utils/index.d.cts +31 -1
- package/dist/utils/index.d.ts +31 -1
- package/dist/utils/index.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,7 @@ const reactHookForm = require("react-hook-form");
|
|
|
9
9
|
;/* empty css */
|
|
10
10
|
;/* empty css */
|
|
11
11
|
;/* empty css */
|
|
12
|
+
require("clsx");
|
|
12
13
|
const styles = require("../../../utils/styles.cjs");
|
|
13
14
|
const index = require("../../PhoneInput/index.cjs");
|
|
14
15
|
const Select = require("../Select.cjs");
|
|
@@ -7,6 +7,7 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
+
import "clsx";
|
|
10
11
|
import { mergeStylesList } from "../../../utils/styles.js";
|
|
11
12
|
import { PhoneInput } from "../../PhoneInput/index.js";
|
|
12
13
|
import { FormSelect } from "../Select.js";
|
|
@@ -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('@mantine/core').MantineTheme;
|
|
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;
|
|
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('@mantine/core').MantineTheme;
|
|
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;
|
|
7
7
|
};
|
|
@@ -4,6 +4,12 @@ const jsxRuntime = require("../../../node_modules/.pnpm/react@18.3.1/node_module
|
|
|
4
4
|
const lodashEs = require("lodash-es");
|
|
5
5
|
const index_esm = require("../../../node_modules/.pnpm/mantine-react-table@2.0.0-beta.7_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@_vt5yipvilfkzbxaxgpuyvnodlm/node_modules/mantine-react-table/dist/index.esm.cjs");
|
|
6
6
|
const index = require("../../../icons/index.cjs");
|
|
7
|
+
;/* empty css */
|
|
8
|
+
;/* empty css */
|
|
9
|
+
;/* empty css */
|
|
10
|
+
;/* empty css */
|
|
11
|
+
;/* empty css */
|
|
12
|
+
;/* empty css */
|
|
7
13
|
require("clsx");
|
|
8
14
|
const styles = require("../../../utils/styles.cjs");
|
|
9
15
|
const MantineThemeProvider = require("../../../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/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BoxProps } from '@mantine/core';
|
|
2
1
|
import { MRT_RowData, MRT_TableInstance } from 'mantine-react-table';
|
|
2
|
+
import { BoxProps } from '../../../primitive/index.js';
|
|
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;
|
|
5
5
|
export declare function mergeProTableProps<T extends Record<string, any>>(props: ProTableOptions<T>): ProTableOptions<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BoxProps } from '@mantine/core';
|
|
2
1
|
import { MRT_RowData, MRT_TableInstance } from 'mantine-react-table';
|
|
2
|
+
import { BoxProps } from '../../../primitive/index.js';
|
|
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;
|
|
5
5
|
export declare function mergeProTableProps<T extends Record<string, any>>(props: ProTableOptions<T>): ProTableOptions<T>;
|
|
@@ -2,6 +2,12 @@ import { j as jsxRuntimeExports } from "../../../node_modules/.pnpm/react@18.3.1
|
|
|
2
2
|
import { isFunction } from "lodash-es";
|
|
3
3
|
import { useMantineReactTable } from "../../../node_modules/.pnpm/mantine-react-table@2.0.0-beta.7_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@_vt5yipvilfkzbxaxgpuyvnodlm/node_modules/mantine-react-table/dist/index.esm.js";
|
|
4
4
|
import { IconSwitchVertical02, IconArrowUp, IconArrowDown } from "../../../icons/index.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
5
11
|
import "clsx";
|
|
6
12
|
import { mergeSxList } from "../../../utils/styles.js";
|
|
7
13
|
import { useMantineTheme } 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/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.js";
|
package/dist/biz/index.d.cts
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
import type { FactoryPayload } 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 type { EmotionSx } from '@mantine/emotion'
|
|
3
|
+
|
|
4
|
+
import type { ShadingColor } from '../theme/colors.js'
|
|
5
|
+
import type { Color } from '../theme/theme.js'
|
|
6
|
+
import type { EmotionStyles } from '../utils/emotion.js'
|
|
7
|
+
|
|
8
|
+
declare module '../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' {
|
|
9
|
+
interface MantineThemeColorsOverride {
|
|
10
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
11
|
+
}
|
|
12
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
13
|
+
styles?: EmotionStyles<Payload>
|
|
14
|
+
}
|
|
15
|
+
interface BoxProps {
|
|
16
|
+
sx?: EmotionSx
|
|
17
|
+
}
|
|
18
|
+
}
|
|
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
|
+
}
|
|
1
31
|
export * from './Dot/index.js';
|
|
2
32
|
export * from './CodeBlock/index.js';
|
|
3
33
|
export * from './PhoneInput/index.js';
|
package/dist/biz/index.d.ts
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
import type { FactoryPayload } 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 type { EmotionSx } from '@mantine/emotion'
|
|
3
|
+
|
|
4
|
+
import type { ShadingColor } from '../theme/colors.js'
|
|
5
|
+
import type { Color } from '../theme/theme.js'
|
|
6
|
+
import type { EmotionStyles } from '../utils/emotion.js'
|
|
7
|
+
|
|
8
|
+
declare module '../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' {
|
|
9
|
+
interface MantineThemeColorsOverride {
|
|
10
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
11
|
+
}
|
|
12
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
13
|
+
styles?: EmotionStyles<Payload>
|
|
14
|
+
}
|
|
15
|
+
interface BoxProps {
|
|
16
|
+
sx?: EmotionSx
|
|
17
|
+
}
|
|
18
|
+
}
|
|
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
|
+
}
|
|
1
31
|
export * from './Dot/index.js';
|
|
2
32
|
export * from './CodeBlock/index.js';
|
|
3
33
|
export * from './PhoneInput/index.js';
|
package/dist/hooks/index.d.cts
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
import type { FactoryPayload } 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 type { EmotionSx } from '@mantine/emotion'
|
|
3
|
+
|
|
4
|
+
import type { ShadingColor } from '../theme/colors.js'
|
|
5
|
+
import type { Color } from '../theme/theme.js'
|
|
6
|
+
import type { EmotionStyles } from '../utils/emotion.js'
|
|
7
|
+
|
|
8
|
+
declare module '../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' {
|
|
9
|
+
interface MantineThemeColorsOverride {
|
|
10
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
11
|
+
}
|
|
12
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
13
|
+
styles?: EmotionStyles<Payload>
|
|
14
|
+
}
|
|
15
|
+
interface BoxProps {
|
|
16
|
+
sx?: EmotionSx
|
|
17
|
+
}
|
|
18
|
+
}
|
|
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
|
+
}
|
|
1
31
|
export type * from '@mantine/hooks';
|
|
2
32
|
export { useClickOutside, useColorScheme as useSystemColorScheme, useElementSize, useEventListener, useFocusReturn, useFocusTrap, useFocusWithin, useFullscreen, useHotkeys, useHover, useInViewport, useIntersection, useMediaQuery, useMouse, useMove, useMutationObserver, useOrientation, useReducedMotion, useResizeObserver, useScrollIntoView, useViewportSize, useWindowEvent, useWindowScroll, useCounter, useDebouncedCallback, useDebouncedState, useDebouncedValue, useDisclosure, useId, useInputState, useListState, useLocalStorage, useMap, usePagination, usePrevious, useQueue, useSet, useSetState, useStateHistory, useThrottledCallback, useThrottledState, useThrottledValue, useToggle, useUncontrolled, useValidatedState, useClipboard, useDocumentTitle, useDocumentVisibility, useEyeDropper, useFavicon, useFetch, useHash, useHeadroom, useIdle, useInterval, useMergedRef, useNetwork, useOs, usePageLeave, useTextSelection, useTimeout, useDidUpdate, useForceUpdate, useIsFirstRender, useIsomorphicEffect, useLogger, useMounted, useShallowEffect } from '@mantine/hooks';
|
|
3
33
|
export { useURLQueryState } from './useURLQueryState.js';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
import type { FactoryPayload } 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 type { EmotionSx } from '@mantine/emotion'
|
|
3
|
+
|
|
4
|
+
import type { ShadingColor } from '../theme/colors.js'
|
|
5
|
+
import type { Color } from '../theme/theme.js'
|
|
6
|
+
import type { EmotionStyles } from '../utils/emotion.js'
|
|
7
|
+
|
|
8
|
+
declare module '../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' {
|
|
9
|
+
interface MantineThemeColorsOverride {
|
|
10
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
11
|
+
}
|
|
12
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
13
|
+
styles?: EmotionStyles<Payload>
|
|
14
|
+
}
|
|
15
|
+
interface BoxProps {
|
|
16
|
+
sx?: EmotionSx
|
|
17
|
+
}
|
|
18
|
+
}
|
|
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
|
+
}
|
|
1
31
|
export type * from '@mantine/hooks';
|
|
2
32
|
export { useClickOutside, useColorScheme as useSystemColorScheme, useElementSize, useEventListener, useFocusReturn, useFocusTrap, useFocusWithin, useFullscreen, useHotkeys, useHover, useInViewport, useIntersection, useMediaQuery, useMouse, useMove, useMutationObserver, useOrientation, useReducedMotion, useResizeObserver, useScrollIntoView, useViewportSize, useWindowEvent, useWindowScroll, useCounter, useDebouncedCallback, useDebouncedState, useDebouncedValue, useDisclosure, useId, useInputState, useListState, useLocalStorage, useMap, usePagination, usePrevious, useQueue, useSet, useSetState, useStateHistory, useThrottledCallback, useThrottledState, useThrottledValue, useToggle, useUncontrolled, useValidatedState, useClipboard, useDocumentTitle, useDocumentVisibility, useEyeDropper, useFavicon, useFetch, useHash, useHeadroom, useIdle, useInterval, useMergedRef, useNetwork, useOs, usePageLeave, useTextSelection, useTimeout, useDidUpdate, useForceUpdate, useIsFirstRender, useIsomorphicEffect, useLogger, useMounted, useShallowEffect } from '@mantine/hooks';
|
|
3
33
|
export { useURLQueryState } from './useURLQueryState.js';
|
package/dist/theme/index.cjs
CHANGED
|
@@ -4,13 +4,9 @@ const fns = require("./fns.cjs");
|
|
|
4
4
|
const font = require("./font.cjs");
|
|
5
5
|
const theme = require("./theme.cjs");
|
|
6
6
|
const ThemeProvider = require("./ThemeProvider.cjs");
|
|
7
|
-
const MantineThemeProvider = require("../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/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.cjs");
|
|
8
|
-
const createTheme = require("../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/esm/core/MantineProvider/create-theme/create-theme.cjs");
|
|
9
7
|
exports.variantColorResolver = fns.variantColorResolver;
|
|
10
8
|
exports.FONT_FAMILY = font.FONT_FAMILY;
|
|
11
9
|
exports.MONOSPANCED_FONT_FAMILY = font.MONOSPANCED_FONT_FAMILY;
|
|
12
10
|
exports.Colors = theme.Colors;
|
|
13
11
|
exports.useTheme = theme.useTheme;
|
|
14
12
|
exports.ThemeProvider = ThemeProvider.ThemeProvider;
|
|
15
|
-
exports.useCurrentTheme = MantineThemeProvider.useMantineTheme;
|
|
16
|
-
exports.createTheme = createTheme.createTheme;
|
package/dist/theme/index.d.cts
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
|
+
import type { FactoryPayload } 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 type { EmotionSx } from '@mantine/emotion'
|
|
3
|
+
|
|
4
|
+
import type { ShadingColor } from '../theme/colors.js'
|
|
5
|
+
import type { Color } from '../theme/theme.js'
|
|
6
|
+
import type { EmotionStyles } from '../utils/emotion.js'
|
|
7
|
+
|
|
8
|
+
declare module '../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' {
|
|
9
|
+
interface MantineThemeColorsOverride {
|
|
10
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
11
|
+
}
|
|
12
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
13
|
+
styles?: EmotionStyles<Payload>
|
|
14
|
+
}
|
|
15
|
+
interface BoxProps {
|
|
16
|
+
sx?: EmotionSx
|
|
17
|
+
}
|
|
18
|
+
}
|
|
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
|
+
}
|
|
1
31
|
export * from './fns.js';
|
|
2
32
|
export { FONT_FAMILY, MONOSPANCED_FONT_FAMILY } from './font.js';
|
|
3
33
|
export { useTheme, Colors } from './theme.js';
|
|
4
34
|
export type { Color, ColorMap } from './theme.js';
|
|
5
35
|
export { ThemeProvider } from './ThemeProvider.js';
|
|
6
|
-
export { useMantineTheme as useCurrentTheme, createTheme } from '@mantine/core';
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
|
+
import type { FactoryPayload } 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 type { EmotionSx } from '@mantine/emotion'
|
|
3
|
+
|
|
4
|
+
import type { ShadingColor } from '../theme/colors.js'
|
|
5
|
+
import type { Color } from '../theme/theme.js'
|
|
6
|
+
import type { EmotionStyles } from '../utils/emotion.js'
|
|
7
|
+
|
|
8
|
+
declare module '../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' {
|
|
9
|
+
interface MantineThemeColorsOverride {
|
|
10
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
11
|
+
}
|
|
12
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
13
|
+
styles?: EmotionStyles<Payload>
|
|
14
|
+
}
|
|
15
|
+
interface BoxProps {
|
|
16
|
+
sx?: EmotionSx
|
|
17
|
+
}
|
|
18
|
+
}
|
|
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
|
+
}
|
|
1
31
|
export * from './fns.js';
|
|
2
32
|
export { FONT_FAMILY, MONOSPANCED_FONT_FAMILY } from './font.js';
|
|
3
33
|
export { useTheme, Colors } from './theme.js';
|
|
4
34
|
export type { Color, ColorMap } from './theme.js';
|
|
5
35
|
export { ThemeProvider } from './ThemeProvider.js';
|
|
6
|
-
export { useMantineTheme as useCurrentTheme, createTheme } from '@mantine/core';
|
package/dist/theme/index.js
CHANGED
|
@@ -2,15 +2,11 @@ import { variantColorResolver } from "./fns.js";
|
|
|
2
2
|
import { FONT_FAMILY, MONOSPANCED_FONT_FAMILY } from "./font.js";
|
|
3
3
|
import { Colors, useTheme } from "./theme.js";
|
|
4
4
|
import { ThemeProvider } from "./ThemeProvider.js";
|
|
5
|
-
import { useMantineTheme } 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/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.js";
|
|
6
|
-
import { 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/esm/core/MantineProvider/create-theme/create-theme.js";
|
|
7
5
|
export {
|
|
8
6
|
Colors,
|
|
9
7
|
FONT_FAMILY,
|
|
10
8
|
MONOSPANCED_FONT_FAMILY,
|
|
11
9
|
ThemeProvider,
|
|
12
|
-
createTheme,
|
|
13
|
-
useMantineTheme as useCurrentTheme,
|
|
14
10
|
useTheme,
|
|
15
11
|
variantColorResolver
|
|
16
12
|
};
|
package/dist/theme/theme.cjs
CHANGED
package/dist/theme/theme.js
CHANGED
package/dist/utils/index.cjs
CHANGED
|
@@ -5,6 +5,7 @@ const styles = require("./styles.cjs");
|
|
|
5
5
|
const rgba = require("../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/esm/core/MantineProvider/color-functions/rgba/rgba.cjs");
|
|
6
6
|
const rem = require("../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/esm/core/utils/units-converters/rem.cjs");
|
|
7
7
|
const getPrimaryShade = require("../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/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.cjs");
|
|
8
|
+
const getThemeColor = require("../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/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.cjs");
|
|
8
9
|
const react = require("@emotion/react");
|
|
9
10
|
const createStyles = require("../node_modules/.pnpm/@mantine_emotion@7.13.2_@emotion_cache@11.13.1_@emotion_react@11.13.3_@types_react@18.3.11_re_v5yho7ri2fgh4vhey6nnpomqsu/node_modules/@mantine/emotion/esm/create-styles.cjs");
|
|
10
11
|
const ssr = require("../node_modules/.pnpm/@mantine_emotion@7.13.2_@emotion_cache@11.13.1_@emotion_react@11.13.3_@types_react@18.3.11_re_v5yho7ri2fgh4vhey6nnpomqsu/node_modules/@mantine/emotion/esm/ssr.cjs");
|
|
@@ -19,6 +20,7 @@ exports.mergeSxList = styles.mergeSxList;
|
|
|
19
20
|
exports.rgba = rgba.rgba;
|
|
20
21
|
exports.rem = rem.rem;
|
|
21
22
|
exports.getPrimaryShade = getPrimaryShade.getPrimaryShade;
|
|
23
|
+
exports.getThemeColor = getThemeColor.getThemeColor;
|
|
22
24
|
Object.defineProperty(exports, "keyframes", {
|
|
23
25
|
enumerable: true,
|
|
24
26
|
get: () => react.keyframes
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
|
+
import type { FactoryPayload } 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 type { EmotionSx } from '@mantine/emotion'
|
|
3
|
+
|
|
4
|
+
import type { ShadingColor } from '../theme/colors.js'
|
|
5
|
+
import type { Color } from '../theme/theme.js'
|
|
6
|
+
import type { EmotionStyles } from '../utils/emotion.js'
|
|
7
|
+
|
|
8
|
+
declare module '../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' {
|
|
9
|
+
interface MantineThemeColorsOverride {
|
|
10
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
11
|
+
}
|
|
12
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
13
|
+
styles?: EmotionStyles<Payload>
|
|
14
|
+
}
|
|
15
|
+
interface BoxProps {
|
|
16
|
+
sx?: EmotionSx
|
|
17
|
+
}
|
|
18
|
+
}
|
|
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
|
+
}
|
|
1
31
|
export { clsx } from 'clsx';
|
|
2
|
-
export { rgba, rem, getPrimaryShade } from '@mantine/core';
|
|
32
|
+
export { rgba, rem, getPrimaryShade, getThemeColor } 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';
|
|
3
33
|
export * from './emotion.js';
|
|
4
34
|
export * from './styles.js';
|
|
5
35
|
export * from './dayjs.js';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
|
+
import type { FactoryPayload } 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 type { EmotionSx } from '@mantine/emotion'
|
|
3
|
+
|
|
4
|
+
import type { ShadingColor } from '../theme/colors.js'
|
|
5
|
+
import type { Color } from '../theme/theme.js'
|
|
6
|
+
import type { EmotionStyles } from '../utils/emotion.js'
|
|
7
|
+
|
|
8
|
+
declare module '../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' {
|
|
9
|
+
interface MantineThemeColorsOverride {
|
|
10
|
+
colors: Record<Color | (string & {}), ShadingColor>
|
|
11
|
+
}
|
|
12
|
+
interface StylesApiPropsOverride<Payload extends FactoryPayload> {
|
|
13
|
+
styles?: EmotionStyles<Payload>
|
|
14
|
+
}
|
|
15
|
+
interface BoxProps {
|
|
16
|
+
sx?: EmotionSx
|
|
17
|
+
}
|
|
18
|
+
}
|
|
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
|
+
}
|
|
1
31
|
export { clsx } from 'clsx';
|
|
2
|
-
export { rgba, rem, getPrimaryShade } from '@mantine/core';
|
|
32
|
+
export { rgba, rem, getPrimaryShade, getThemeColor } 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';
|
|
3
33
|
export * from './emotion.js';
|
|
4
34
|
export * from './styles.js';
|
|
5
35
|
export * from './dayjs.js';
|
package/dist/utils/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { mergeStylesList, mergeSxList } from "./styles.js";
|
|
|
3
3
|
import { rgba } 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/esm/core/MantineProvider/color-functions/rgba/rgba.js";
|
|
4
4
|
import { rem } 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/esm/core/utils/units-converters/rem.js";
|
|
5
5
|
import { 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/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.js";
|
|
6
|
+
import { getThemeColor } 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/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.js";
|
|
6
7
|
import { keyframes } from "@emotion/react";
|
|
7
8
|
import { createStyles } from "../node_modules/.pnpm/@mantine_emotion@7.13.2_@emotion_cache@11.13.1_@emotion_react@11.13.3_@types_react@18.3.11_re_v5yho7ri2fgh4vhey6nnpomqsu/node_modules/@mantine/emotion/esm/create-styles.js";
|
|
8
9
|
import { createGetInitialProps } from "../node_modules/.pnpm/@mantine_emotion@7.13.2_@emotion_cache@11.13.1_@emotion_react@11.13.3_@types_react@18.3.11_re_v5yho7ri2fgh4vhey6nnpomqsu/node_modules/@mantine/emotion/esm/ssr.js";
|
|
@@ -15,6 +16,7 @@ export {
|
|
|
15
16
|
createStyles,
|
|
16
17
|
default3 as dayjs,
|
|
17
18
|
getPrimaryShade,
|
|
19
|
+
getThemeColor,
|
|
18
20
|
keyframes,
|
|
19
21
|
mergeStylesList,
|
|
20
22
|
mergeSxList,
|