@tidbcloud/uikit 2.2.6 → 2.2.8

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(Radio): fix disabled color for label in theme ([#510](https://github.com/tidbcloud/tidbcloud-uikit/pull/510))
8
+
9
+ ## 2.2.7
10
+
11
+ ### Patch Changes
12
+
13
+ - feat(NumberInput): add leftAddon & rightAddon ([#508](https://github.com/tidbcloud/tidbcloud-uikit/pull/508))
14
+ - docs: add snapshot release instructions for testing ([#507](https://github.com/tidbcloud/tidbcloud-uikit/pull/507))
15
+
3
16
  ## 2.2.6
4
17
 
5
18
  ### Patch Changes
@@ -8,7 +8,7 @@ const reactHookForm = require("react-hook-form");
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
11
- const NumberInput = require("../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.cjs");
11
+ const index = require("../../primitive/NumberInput/index.cjs");
12
12
  const FormNumberInput = ({ name, rules, onChange, ...rest }) => {
13
13
  const { control, formState, getFieldState } = reactHookForm.useFormContext();
14
14
  const { error } = getFieldState(name, formState);
@@ -21,7 +21,7 @@ const FormNumberInput = ({ name, rules, onChange, ...rest }) => {
21
21
  render: ({ field }) => {
22
22
  const { onChange: handleChange, ...restField } = field;
23
23
  return /* @__PURE__ */ jsxRuntime.jsx(
24
- NumberInput.NumberInput,
24
+ index.NumberInput,
25
25
  {
26
26
  ...rest,
27
27
  onChange: (value) => {
@@ -6,7 +6,7 @@ import { useFormContext, Controller } from "react-hook-form";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
- import { NumberInput } from "../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.mjs";
9
+ import { NumberInput } from "../../primitive/NumberInput/index.mjs";
10
10
  const FormNumberInput = ({ name, rules, onChange, ...rest }) => {
11
11
  const { control, formState, getFieldState } = useFormContext();
12
12
  const { error } = getFieldState(name, formState);
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ require("clsx");
6
+ const styles = require("../../utils/styles.cjs");
7
+ const index = require("../Typography/index.cjs");
8
+ const NumberInput$1 = require("../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.cjs");
9
+ const NumberInput = React.forwardRef((props, ref) => {
10
+ const { leftAddon, rightAddon, leftAddonProps, rightAddonProps, leftSection, rightSection, ...rest } = props;
11
+ return /* @__PURE__ */ jsxRuntime.jsx(
12
+ NumberInput$1.NumberInput,
13
+ {
14
+ ...rest,
15
+ ref,
16
+ styles: styles.mergeStylesList([
17
+ (theme) => {
18
+ const withLeftAddon = !!leftAddon;
19
+ const withRightAddon = !!rightAddon;
20
+ if (!withLeftAddon && !withRightAddon) {
21
+ return {};
22
+ }
23
+ const sectionBaseStyles = {
24
+ position: "initial",
25
+ width: "fit-content",
26
+ border: `1px solid ${theme.colors.carbon[4]}`,
27
+ backgroundColor: theme.colors.carbon[2],
28
+ paddingLeft: 12,
29
+ paddingRight: 12
30
+ };
31
+ const wrapperBaseStyles = {
32
+ "--input-padding-inline-start": "var(--input-padding)"
33
+ };
34
+ return {
35
+ wrapper: {
36
+ display: "flex",
37
+ "&[data-with-left-section]": withLeftAddon ? wrapperBaseStyles : void 0,
38
+ "&[data-with-right-section]": withRightAddon ? wrapperBaseStyles : void 0
39
+ },
40
+ section: {
41
+ '&[data-position="left"]': withLeftAddon ? {
42
+ ...sectionBaseStyles,
43
+ borderRightWidth: 0,
44
+ borderTopLeftRadius: theme.defaultRadius,
45
+ borderBottomLeftRadius: theme.defaultRadius
46
+ } : void 0,
47
+ '&[data-position="right"]': withRightAddon ? {
48
+ ...sectionBaseStyles,
49
+ borderLeftWidth: 0,
50
+ borderTopRightRadius: theme.defaultRadius,
51
+ borderBottomRightRadius: theme.defaultRadius
52
+ } : void 0
53
+ },
54
+ input: {
55
+ flex: 1,
56
+ ...withLeftAddon ? {
57
+ borderTopLeftRadius: 0,
58
+ borderBottomLeftRadius: 0
59
+ } : void 0,
60
+ ...withRightAddon ? {
61
+ borderTopRightRadius: 0,
62
+ borderBottomRightRadius: 0
63
+ } : void 0
64
+ }
65
+ };
66
+ }
67
+ ]),
68
+ leftSection: !!leftAddon ? /* @__PURE__ */ jsxRuntime.jsx(index.Typography, { variant: "label-lg", ...leftAddonProps, children: leftAddon }) : leftSection,
69
+ rightSection: !!rightAddon ? /* @__PURE__ */ jsxRuntime.jsx(index.Typography, { variant: "label-lg", ...rightAddonProps, children: rightAddon }) : rightSection
70
+ }
71
+ );
72
+ });
73
+ exports.NumberInput = NumberInput;
@@ -0,0 +1,9 @@
1
+ import { NumberInputProps as MantineNumberInputProps } from '../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
2
+ import { TypographyProps } from '../Typography/index.cjs';
3
+ export interface NumberInputProps extends MantineNumberInputProps {
4
+ leftAddon?: React.ReactNode;
5
+ rightAddon?: React.ReactNode;
6
+ leftAddonProps?: TypographyProps;
7
+ rightAddonProps?: TypographyProps;
8
+ }
9
+ export declare const NumberInput: import('react').ForwardRefExoticComponent<NumberInputProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,9 @@
1
+ import { NumberInputProps as MantineNumberInputProps } from '../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
2
+ import { TypographyProps } from '../Typography/index.mjs';
3
+ export interface NumberInputProps extends MantineNumberInputProps {
4
+ leftAddon?: React.ReactNode;
5
+ rightAddon?: React.ReactNode;
6
+ leftAddonProps?: TypographyProps;
7
+ rightAddonProps?: TypographyProps;
8
+ }
9
+ export declare const NumberInput: import('react').ForwardRefExoticComponent<NumberInputProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,73 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import "clsx";
4
+ import { mergeStylesList } from "../../utils/styles.mjs";
5
+ import { Typography } from "../Typography/index.mjs";
6
+ import { NumberInput as NumberInput$1 } from "../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.mjs";
7
+ const NumberInput = forwardRef((props, ref) => {
8
+ const { leftAddon, rightAddon, leftAddonProps, rightAddonProps, leftSection, rightSection, ...rest } = props;
9
+ return /* @__PURE__ */ jsx(
10
+ NumberInput$1,
11
+ {
12
+ ...rest,
13
+ ref,
14
+ styles: mergeStylesList([
15
+ (theme) => {
16
+ const withLeftAddon = !!leftAddon;
17
+ const withRightAddon = !!rightAddon;
18
+ if (!withLeftAddon && !withRightAddon) {
19
+ return {};
20
+ }
21
+ const sectionBaseStyles = {
22
+ position: "initial",
23
+ width: "fit-content",
24
+ border: `1px solid ${theme.colors.carbon[4]}`,
25
+ backgroundColor: theme.colors.carbon[2],
26
+ paddingLeft: 12,
27
+ paddingRight: 12
28
+ };
29
+ const wrapperBaseStyles = {
30
+ "--input-padding-inline-start": "var(--input-padding)"
31
+ };
32
+ return {
33
+ wrapper: {
34
+ display: "flex",
35
+ "&[data-with-left-section]": withLeftAddon ? wrapperBaseStyles : void 0,
36
+ "&[data-with-right-section]": withRightAddon ? wrapperBaseStyles : void 0
37
+ },
38
+ section: {
39
+ '&[data-position="left"]': withLeftAddon ? {
40
+ ...sectionBaseStyles,
41
+ borderRightWidth: 0,
42
+ borderTopLeftRadius: theme.defaultRadius,
43
+ borderBottomLeftRadius: theme.defaultRadius
44
+ } : void 0,
45
+ '&[data-position="right"]': withRightAddon ? {
46
+ ...sectionBaseStyles,
47
+ borderLeftWidth: 0,
48
+ borderTopRightRadius: theme.defaultRadius,
49
+ borderBottomRightRadius: theme.defaultRadius
50
+ } : void 0
51
+ },
52
+ input: {
53
+ flex: 1,
54
+ ...withLeftAddon ? {
55
+ borderTopLeftRadius: 0,
56
+ borderBottomLeftRadius: 0
57
+ } : void 0,
58
+ ...withRightAddon ? {
59
+ borderTopRightRadius: 0,
60
+ borderBottomRightRadius: 0
61
+ } : void 0
62
+ }
63
+ };
64
+ }
65
+ ]),
66
+ leftSection: !!leftAddon ? /* @__PURE__ */ jsx(Typography, { variant: "label-lg", ...leftAddonProps, children: leftAddon }) : leftSection,
67
+ rightSection: !!rightAddon ? /* @__PURE__ */ jsx(Typography, { variant: "label-lg", ...rightAddonProps, children: rightAddon }) : rightSection
68
+ }
69
+ );
70
+ });
71
+ export {
72
+ NumberInput
73
+ };
@@ -8,16 +8,28 @@ const index = require("../Typography/index.cjs");
8
8
  const TextInput$1 = require("../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/TextInput/TextInput.cjs");
9
9
  const getSize = require("../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/core/utils/get-size/get-size.cjs");
10
10
  const TextInput = React.forwardRef((props, ref) => {
11
- const { leftLabel, leftLabelProps, leftSection, rightLabel, rightLabelProps, rightSection, ...rest } = props;
11
+ const {
12
+ leftLabel,
13
+ leftLabelProps,
14
+ leftAddon,
15
+ rightAddon,
16
+ leftAddonProps,
17
+ rightAddonProps,
18
+ leftSection,
19
+ rightLabel,
20
+ rightLabelProps,
21
+ rightSection,
22
+ ...rest
23
+ } = props;
24
+ const withLeftAddon = !!(leftLabel || leftAddon);
25
+ const withRightAddon = !!(rightLabel || rightAddon);
12
26
  return /* @__PURE__ */ jsxRuntime.jsx(
13
27
  TextInput$1.TextInput,
14
28
  {
15
29
  ...rest,
16
30
  styles: styles.mergeStylesList([
17
31
  (theme) => {
18
- const withLeftLabel = !!props.leftLabel;
19
- const withRightLabel = !!props.rightLabel;
20
- if (!withLeftLabel && !withRightLabel) {
32
+ if (!withLeftAddon && !withRightAddon) {
21
33
  return {};
22
34
  }
23
35
  const sectionBaseStyles = {
@@ -39,17 +51,17 @@ const TextInput = React.forwardRef((props, ref) => {
39
51
  display: "flex",
40
52
  // see https://github.com/mantinedev/mantine/blob/master/packages/%40mantine/core/src/components/Input/Input.module.css#L70C4-L70C33I
41
53
  // correct input left padding
42
- "&[data-with-left-section]": withLeftLabel ? wrapperBaseStyles : void 0,
43
- "&[data-with-right-section]": withRightLabel ? wrapperBaseStyles : void 0
54
+ "&[data-with-left-section]": withLeftAddon ? wrapperBaseStyles : void 0,
55
+ "&[data-with-right-section]": withRightAddon ? wrapperBaseStyles : void 0
44
56
  },
45
57
  section: {
46
- '&[data-position="left"]': withLeftLabel ? {
58
+ '&[data-position="left"]': withLeftAddon ? {
47
59
  ...sectionBaseStyles,
48
60
  borderRightWidth: 0,
49
61
  borderTopLeftRadius: theme.defaultRadius,
50
62
  borderBottomLeftRadius: theme.defaultRadius
51
63
  } : void 0,
52
- '&[data-position="right"]': withRightLabel ? {
64
+ '&[data-position="right"]': withRightAddon ? {
53
65
  ...sectionBaseStyles,
54
66
  borderLeftWidth: 0,
55
67
  borderTopRightRadius: theme.defaultRadius,
@@ -58,11 +70,11 @@ const TextInput = React.forwardRef((props, ref) => {
58
70
  },
59
71
  input: {
60
72
  flex: 1,
61
- ...withLeftLabel ? {
73
+ ...withLeftAddon ? {
62
74
  borderTopLeftRadius: 0,
63
75
  borderBottomLeftRadius: 0
64
76
  } : void 0,
65
- ...withRightLabel ? {
77
+ ...withRightAddon ? {
66
78
  borderTopRightRadius: 0,
67
79
  borderBottomRightRadius: 0
68
80
  } : void 0
@@ -71,8 +83,8 @@ const TextInput = React.forwardRef((props, ref) => {
71
83
  },
72
84
  props.styles
73
85
  ]),
74
- leftSection: !!leftLabel ? /* @__PURE__ */ jsxRuntime.jsx(index.Typography, { variant: "label-lg", ...leftLabelProps, children: leftLabel }) : leftSection,
75
- rightSection: !!rightLabel ? /* @__PURE__ */ jsxRuntime.jsx(index.Typography, { variant: "label-lg", ...rightLabelProps, children: rightLabel }) : rightSection,
86
+ leftSection: !!withLeftAddon ? /* @__PURE__ */ jsxRuntime.jsx(index.Typography, { variant: "label-lg", ...leftLabelProps || leftAddonProps, children: leftLabel || leftAddon }) : leftSection,
87
+ rightSection: !!withRightAddon ? /* @__PURE__ */ jsxRuntime.jsx(index.Typography, { variant: "label-lg", ...rightLabelProps || rightAddonProps, children: rightLabel || rightAddon }) : rightSection,
76
88
  ref
77
89
  }
78
90
  );
@@ -1,9 +1,25 @@
1
1
  import { TextInputProps as MantineTextInputProps } from '../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
2
2
  import { TypographyProps } from '../Typography/index.cjs';
3
3
  export interface TextInputProps extends MantineTextInputProps {
4
+ /**
5
+ * @deprecated use leftAddon
6
+ */
4
7
  leftLabel?: React.ReactNode;
8
+ /**
9
+ * @deprecated use leftAddonProps
10
+ */
5
11
  leftLabelProps?: TypographyProps;
12
+ /**
13
+ * @deprecated use rightAddon
14
+ */
6
15
  rightLabel?: React.ReactNode;
16
+ /**
17
+ * @deprecated use rightAddonProps
18
+ */
7
19
  rightLabelProps?: TypographyProps;
20
+ leftAddon?: React.ReactNode;
21
+ rightAddon?: React.ReactNode;
22
+ leftAddonProps?: TypographyProps;
23
+ rightAddonProps?: TypographyProps;
8
24
  }
9
25
  export declare const TextInput: import('react').ForwardRefExoticComponent<TextInputProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,9 +1,25 @@
1
1
  import { TextInputProps as MantineTextInputProps } from '../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
2
2
  import { TypographyProps } from '../Typography/index.mjs';
3
3
  export interface TextInputProps extends MantineTextInputProps {
4
+ /**
5
+ * @deprecated use leftAddon
6
+ */
4
7
  leftLabel?: React.ReactNode;
8
+ /**
9
+ * @deprecated use leftAddonProps
10
+ */
5
11
  leftLabelProps?: TypographyProps;
12
+ /**
13
+ * @deprecated use rightAddon
14
+ */
6
15
  rightLabel?: React.ReactNode;
16
+ /**
17
+ * @deprecated use rightAddonProps
18
+ */
7
19
  rightLabelProps?: TypographyProps;
20
+ leftAddon?: React.ReactNode;
21
+ rightAddon?: React.ReactNode;
22
+ leftAddonProps?: TypographyProps;
23
+ rightAddonProps?: TypographyProps;
8
24
  }
9
25
  export declare const TextInput: import('react').ForwardRefExoticComponent<TextInputProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -6,16 +6,28 @@ import { Typography } from "../Typography/index.mjs";
6
6
  import { TextInput as TextInput$1 } from "../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/TextInput/TextInput.mjs";
7
7
  import { getFontSize } from "../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/core/utils/get-size/get-size.mjs";
8
8
  const TextInput = forwardRef((props, ref) => {
9
- const { leftLabel, leftLabelProps, leftSection, rightLabel, rightLabelProps, rightSection, ...rest } = props;
9
+ const {
10
+ leftLabel,
11
+ leftLabelProps,
12
+ leftAddon,
13
+ rightAddon,
14
+ leftAddonProps,
15
+ rightAddonProps,
16
+ leftSection,
17
+ rightLabel,
18
+ rightLabelProps,
19
+ rightSection,
20
+ ...rest
21
+ } = props;
22
+ const withLeftAddon = !!(leftLabel || leftAddon);
23
+ const withRightAddon = !!(rightLabel || rightAddon);
10
24
  return /* @__PURE__ */ jsx(
11
25
  TextInput$1,
12
26
  {
13
27
  ...rest,
14
28
  styles: mergeStylesList([
15
29
  (theme) => {
16
- const withLeftLabel = !!props.leftLabel;
17
- const withRightLabel = !!props.rightLabel;
18
- if (!withLeftLabel && !withRightLabel) {
30
+ if (!withLeftAddon && !withRightAddon) {
19
31
  return {};
20
32
  }
21
33
  const sectionBaseStyles = {
@@ -37,17 +49,17 @@ const TextInput = forwardRef((props, ref) => {
37
49
  display: "flex",
38
50
  // see https://github.com/mantinedev/mantine/blob/master/packages/%40mantine/core/src/components/Input/Input.module.css#L70C4-L70C33I
39
51
  // correct input left padding
40
- "&[data-with-left-section]": withLeftLabel ? wrapperBaseStyles : void 0,
41
- "&[data-with-right-section]": withRightLabel ? wrapperBaseStyles : void 0
52
+ "&[data-with-left-section]": withLeftAddon ? wrapperBaseStyles : void 0,
53
+ "&[data-with-right-section]": withRightAddon ? wrapperBaseStyles : void 0
42
54
  },
43
55
  section: {
44
- '&[data-position="left"]': withLeftLabel ? {
56
+ '&[data-position="left"]': withLeftAddon ? {
45
57
  ...sectionBaseStyles,
46
58
  borderRightWidth: 0,
47
59
  borderTopLeftRadius: theme.defaultRadius,
48
60
  borderBottomLeftRadius: theme.defaultRadius
49
61
  } : void 0,
50
- '&[data-position="right"]': withRightLabel ? {
62
+ '&[data-position="right"]': withRightAddon ? {
51
63
  ...sectionBaseStyles,
52
64
  borderLeftWidth: 0,
53
65
  borderTopRightRadius: theme.defaultRadius,
@@ -56,11 +68,11 @@ const TextInput = forwardRef((props, ref) => {
56
68
  },
57
69
  input: {
58
70
  flex: 1,
59
- ...withLeftLabel ? {
71
+ ...withLeftAddon ? {
60
72
  borderTopLeftRadius: 0,
61
73
  borderBottomLeftRadius: 0
62
74
  } : void 0,
63
- ...withRightLabel ? {
75
+ ...withRightAddon ? {
64
76
  borderTopRightRadius: 0,
65
77
  borderBottomRightRadius: 0
66
78
  } : void 0
@@ -69,8 +81,8 @@ const TextInput = forwardRef((props, ref) => {
69
81
  },
70
82
  props.styles
71
83
  ]),
72
- leftSection: !!leftLabel ? /* @__PURE__ */ jsx(Typography, { variant: "label-lg", ...leftLabelProps, children: leftLabel }) : leftSection,
73
- rightSection: !!rightLabel ? /* @__PURE__ */ jsx(Typography, { variant: "label-lg", ...rightLabelProps, children: rightLabel }) : rightSection,
84
+ leftSection: !!withLeftAddon ? /* @__PURE__ */ jsx(Typography, { variant: "label-lg", ...leftLabelProps || leftAddonProps, children: leftLabel || leftAddon }) : leftSection,
85
+ rightSection: !!withRightAddon ? /* @__PURE__ */ jsx(Typography, { variant: "label-lg", ...rightLabelProps || rightAddonProps, children: rightLabel || rightAddon }) : rightSection,
74
86
  ref
75
87
  }
76
88
  );
@@ -13,7 +13,8 @@ const index$3 = require("./Select/index.cjs");
13
13
  const index$4 = require("./Button/index.cjs");
14
14
  const CopyButton = require("./CopyButton/CopyButton.cjs");
15
15
  const index$5 = require("./AnimatedNumber/index.cjs");
16
- const index$6 = require("../node_modules/.pnpm/@mantine_dropzone@7.15.2_@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine__hww35qmvzgxt6vzp3w3turt5w4/node_modules/@mantine/dropzone/esm/index.cjs");
16
+ const index$6 = require("./NumberInput/index.cjs");
17
+ const index$7 = require("../node_modules/.pnpm/@mantine_dropzone@7.15.2_@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine__hww35qmvzgxt6vzp3w3turt5w4/node_modules/@mantine/dropzone/esm/index.cjs");
17
18
  const AppShell = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/AppShell/AppShell.cjs");
18
19
  const AspectRatio = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/AspectRatio/AspectRatio.cjs");
19
20
  const Center = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Center/Center.cjs");
@@ -36,7 +37,6 @@ const Input = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jcl
36
37
  const InputBase = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/InputBase/InputBase.cjs");
37
38
  const JsonInput = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/JsonInput/JsonInput.cjs");
38
39
  const NativeSelect = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/NativeSelect/NativeSelect.cjs");
39
- const NumberInput = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.cjs");
40
40
  const PasswordInput = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/PasswordInput/PasswordInput.cjs");
41
41
  const PinInput = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/PinInput/PinInput.cjs");
42
42
  const Radio = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Radio/Radio.cjs");
@@ -147,7 +147,8 @@ exports.Select = index$3.Select;
147
147
  exports.Button = index$4.Button;
148
148
  exports.CopyButton = CopyButton.CopyButton;
149
149
  exports.AnimatedNumber = index$5.AnimatedNumber;
150
- exports.Dropzone = index$6.Dropzone;
150
+ exports.NumberInput = index$6.NumberInput;
151
+ exports.Dropzone = index$7.Dropzone;
151
152
  exports.AppShell = AppShell.AppShell;
152
153
  exports.AspectRatio = AspectRatio.AspectRatio;
153
154
  exports.Center = Center.Center;
@@ -170,7 +171,6 @@ exports.Input = Input.Input;
170
171
  exports.InputBase = InputBase.InputBase;
171
172
  exports.JsonInput = JsonInput.JsonInput;
172
173
  exports.NativeSelect = NativeSelect.NativeSelect;
173
- exports.NumberInput = NumberInput.NumberInput;
174
174
  exports.PasswordInput = PasswordInput.PasswordInput;
175
175
  exports.PinInput = PinInput.PinInput;
176
176
  exports.Radio = Radio.Radio;
@@ -29,8 +29,8 @@ declare module '@mantine/core' {
29
29
  }
30
30
  }
31
31
  export type ColorScheme = 'light' | 'dark';
32
- export type { AppShellProps, AppShellNavbarProps, AppShellMainProps, AppShellFooterProps, AppShellAsideProps, AppShellHeaderProps, AppShellSectionProps, 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, ComboboxItem, ComboboxData, PillProps, PillsInputProps, OptionsFilter, 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, CardSectionProps, 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, OptionsData } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
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, Pill, PillsInput, TagsInput, ActionIcon, CloseButton, 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, defaultOptionsFilter, getOptionsLockup, getParsedComboboxData, isOptionsGroup, useProps } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
32
+ export type { AppShellProps, AppShellNavbarProps, AppShellMainProps, AppShellFooterProps, AppShellAsideProps, AppShellHeaderProps, AppShellSectionProps, 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, PasswordInputProps, PinInputProps, RadioProps, RadioGroupProps, RadioCardProps, RatingProps, SegmentedControlProps, SegmentedControlItem, SliderProps, RangeSliderProps, SwitchProps, TextareaProps, AutocompleteProps, ComboboxProps, ComboboxItem, ComboboxData, PillProps, PillsInputProps, OptionsFilter, 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, CardSectionProps, 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, OptionsData } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
33
+ export { AppShell, AspectRatio, Center, Container, Flex, Grid, Group, SimpleGrid, Space, Stack, Checkbox, Chip, ColorInput, ColorPicker, HueSlider, AlphaSlider, Fieldset, FileInput, Input, InputBase, JsonInput, NativeSelect, PasswordInput, PinInput, Radio, RadioGroup, RadioCard, Rating, SegmentedControl, Slider, RangeSlider, Switch, Textarea, Autocomplete, Combobox, Pill, PillsInput, TagsInput, ActionIcon, CloseButton, 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, defaultOptionsFilter, getOptionsLockup, getParsedComboboxData, isOptionsGroup, useProps } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
34
34
  export { useColorScheme } from '../hooks/useColorScheme.cjs';
35
35
  export { TextInput, type TextInputProps } from './TextInput/index.cjs';
36
36
  export { notifier } from './notifier/index.cjs';
@@ -41,6 +41,7 @@ export { Button } from './Button/index.cjs';
41
41
  export { CopyButton } from './CopyButton/CopyButton.cjs';
42
42
  export * from './Prism/index.cjs';
43
43
  export { AnimatedNumber, type AnimatedNumberProps } from './AnimatedNumber/index.cjs';
44
+ export { NumberInput, type NumberInputProps } from './NumberInput/index.cjs';
44
45
  export { Dropzone, MIME_TYPES, MS_EXCEL_MIME_TYPE, MS_POWERPOINT_MIME_TYPE, MS_WORD_MIME_TYPE, EXE_MIME_TYPE, PDF_MIME_TYPE, IMAGE_MIME_TYPE } from '@mantine/dropzone';
45
46
  export type { DropzoneAcceptProps, DropzoneFullScreenProps, DropzoneFullScreenStylesNames, DropzoneIdleProps, DropzoneProps, DropzoneRejectProps, DropzoneStylesNames } from '@mantine/dropzone';
46
47
  export { Carousel, useAnimationOffsetEffect } from '@mantine/carousel';
@@ -29,8 +29,8 @@ declare module '@mantine/core' {
29
29
  }
30
30
  }
31
31
  export type ColorScheme = 'light' | 'dark';
32
- export type { AppShellProps, AppShellNavbarProps, AppShellMainProps, AppShellFooterProps, AppShellAsideProps, AppShellHeaderProps, AppShellSectionProps, 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, ComboboxItem, ComboboxData, PillProps, PillsInputProps, OptionsFilter, 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, CardSectionProps, 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, OptionsData } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
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, Pill, PillsInput, TagsInput, ActionIcon, CloseButton, 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, defaultOptionsFilter, getOptionsLockup, getParsedComboboxData, isOptionsGroup, useProps } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
32
+ export type { AppShellProps, AppShellNavbarProps, AppShellMainProps, AppShellFooterProps, AppShellAsideProps, AppShellHeaderProps, AppShellSectionProps, 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, PasswordInputProps, PinInputProps, RadioProps, RadioGroupProps, RadioCardProps, RatingProps, SegmentedControlProps, SegmentedControlItem, SliderProps, RangeSliderProps, SwitchProps, TextareaProps, AutocompleteProps, ComboboxProps, ComboboxItem, ComboboxData, PillProps, PillsInputProps, OptionsFilter, 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, CardSectionProps, 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, OptionsData } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
33
+ export { AppShell, AspectRatio, Center, Container, Flex, Grid, Group, SimpleGrid, Space, Stack, Checkbox, Chip, ColorInput, ColorPicker, HueSlider, AlphaSlider, Fieldset, FileInput, Input, InputBase, JsonInput, NativeSelect, PasswordInput, PinInput, Radio, RadioGroup, RadioCard, Rating, SegmentedControl, Slider, RangeSlider, Switch, Textarea, Autocomplete, Combobox, Pill, PillsInput, TagsInput, ActionIcon, CloseButton, 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, defaultOptionsFilter, getOptionsLockup, getParsedComboboxData, isOptionsGroup, useProps } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
34
34
  export { useColorScheme } from '../hooks/useColorScheme.mjs';
35
35
  export { TextInput, type TextInputProps } from './TextInput/index.mjs';
36
36
  export { notifier } from './notifier/index.mjs';
@@ -41,6 +41,7 @@ export { Button } from './Button/index.mjs';
41
41
  export { CopyButton } from './CopyButton/CopyButton.mjs';
42
42
  export * from './Prism/index.mjs';
43
43
  export { AnimatedNumber, type AnimatedNumberProps } from './AnimatedNumber/index.mjs';
44
+ export { NumberInput, type NumberInputProps } from './NumberInput/index.mjs';
44
45
  export { Dropzone, MIME_TYPES, MS_EXCEL_MIME_TYPE, MS_POWERPOINT_MIME_TYPE, MS_WORD_MIME_TYPE, EXE_MIME_TYPE, PDF_MIME_TYPE, IMAGE_MIME_TYPE } from '@mantine/dropzone';
45
46
  export type { DropzoneAcceptProps, DropzoneFullScreenProps, DropzoneFullScreenStylesNames, DropzoneIdleProps, DropzoneProps, DropzoneRejectProps, DropzoneStylesNames } from '@mantine/dropzone';
46
47
  export { Carousel, useAnimationOffsetEffect } from '@mantine/carousel';
@@ -11,6 +11,7 @@ import { MultiSelect, Select } from "./Select/index.mjs";
11
11
  import { Button } from "./Button/index.mjs";
12
12
  import { CopyButton } from "./CopyButton/CopyButton.mjs";
13
13
  import { AnimatedNumber } from "./AnimatedNumber/index.mjs";
14
+ import { NumberInput } from "./NumberInput/index.mjs";
14
15
  import { Dropzone } from "../node_modules/.pnpm/@mantine_dropzone@7.15.2_@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine__hww35qmvzgxt6vzp3w3turt5w4/node_modules/@mantine/dropzone/esm/index.mjs";
15
16
  import { AppShell } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/AppShell/AppShell.mjs";
16
17
  import { AspectRatio } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/AspectRatio/AspectRatio.mjs";
@@ -34,7 +35,6 @@ import { Input } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jcl
34
35
  import { InputBase } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/InputBase/InputBase.mjs";
35
36
  import { JsonInput } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/JsonInput/JsonInput.mjs";
36
37
  import { NativeSelect } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/NativeSelect/NativeSelect.mjs";
37
- import { NumberInput } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/NumberInput/NumberInput.mjs";
38
38
  import { PasswordInput } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/PasswordInput/PasswordInput.mjs";
39
39
  import { PinInput } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/PinInput/PinInput.mjs";
40
40
  import { Radio } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Radio/Radio.mjs";
@@ -911,7 +911,10 @@ const theme = createTheme.createTheme({
911
911
  "--radio-icon-color": props.variant === "outline" ? themeColor(theme2, color, shade) : theme2.white + " !important"
912
912
  },
913
913
  label: {
914
- lineHeight: `${size}px`
914
+ lineHeight: `${size}px`,
915
+ "&[data-disabled]": {
916
+ color: themeColor(theme2, color, 6)
917
+ }
915
918
  },
916
919
  icon: {
917
920
  transform: "var(--radio-icon-transform, scale(0.2))"
@@ -909,7 +909,10 @@ const theme = createTheme({
909
909
  "--radio-icon-color": props.variant === "outline" ? themeColor(theme2, color, shade) : theme2.white + " !important"
910
910
  },
911
911
  label: {
912
- lineHeight: `${size}px`
912
+ lineHeight: `${size}px`,
913
+ "&[data-disabled]": {
914
+ color: themeColor(theme2, color, 6)
915
+ }
913
916
  },
914
917
  icon: {
915
918
  transform: "var(--radio-icon-transform, scale(0.2))"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.2.6",
3
+ "version": "2.2.8",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",