@tidbcloud/uikit 2.0.0-beta.87 → 2.0.0-beta.88

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,11 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.0.0-beta.88
4
+
5
+ ### Patch Changes
6
+
7
+ - wrap Button for old loading state support
8
+
3
9
  ## 2.0.0-beta.87
4
10
 
5
11
  ### Patch Changes
@@ -8,8 +8,8 @@ const jsxRuntime = require("../../node_modules/.pnpm/react@18.3.1/node_modules/r
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  const index = require("../../primitive/Typography/index.cjs");
11
+ const index$1 = require("../../primitive/Button/index.cjs");
11
12
  const Flex = 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/components/Flex/Flex.cjs");
12
- const Button = 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/components/Button/Button.cjs");
13
13
  const FormActions = ({
14
14
  disabled,
15
15
  cancelProps,
@@ -23,8 +23,8 @@ const FormActions = ({
23
23
  }) => {
24
24
  const style = index.TYPOGRAPHY_STYLES_MAP["action-md"];
25
25
  return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(Flex.Flex, { justify: "flex-end", mt: 24, ...rest, children: [
26
- cancelText && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Button.Button, { onClick: onCancel, mr: 16, variant: "default", fw: style.fw, fs: style.fs, ...cancelProps, children: cancelText }),
27
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Button.Button, { type: "submit", onClick: onConfirm, loading, disabled, ...confirmProps, children: confirmText })
26
+ cancelText && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$1.Button, { onClick: onCancel, mr: 16, variant: "default", fw: style.fw, fs: style.fs, ...cancelProps, children: cancelText }),
27
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$1.Button, { type: "submit", onClick: onConfirm, loading, disabled, ...confirmProps, children: confirmText })
28
28
  ] });
29
29
  };
30
30
  FormActions.displayName = "HookFormActions";
@@ -6,8 +6,8 @@ import { j as jsxRuntimeExports } from "../../node_modules/.pnpm/react@18.3.1/no
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import { TYPOGRAPHY_STYLES_MAP } from "../../primitive/Typography/index.js";
9
+ import { Button } from "../../primitive/Button/index.js";
9
10
  import { Flex } 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/components/Flex/Flex.js";
10
- import { Button } 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/components/Button/Button.js";
11
11
  const FormActions = ({
12
12
  disabled,
13
13
  cancelProps,
@@ -4,19 +4,19 @@ const jsxRuntime = require("../../node_modules/.pnpm/react@18.3.1/node_modules/r
4
4
  const React = require("react");
5
5
  const reactHookForm = require("react-hook-form");
6
6
  const useURLQueryState = require("../../hooks/useURLQueryState.cjs");
7
- const index = require("../../icons/index.cjs");
7
+ const index$1 = require("../../icons/index.cjs");
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
11
11
  ;/* empty css */
12
12
  ;/* empty css */
13
13
  ;/* empty css */
14
+ const index = require("../../primitive/Button/index.cjs");
14
15
  const styles = require("../../utils/styles.cjs");
15
16
  const DatePicker = require("../Form/DatePicker.cjs");
16
17
  const FormTimeRangePicker = require("../Form/FormTimeRangePicker.cjs");
17
18
  const Box = 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/Box/Box.cjs");
18
19
  const Form = require("../Form/Form.cjs");
19
- const Button = 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/components/Button/Button.cjs");
20
20
  const MultiSelect = require("../Form/MultiSelect.cjs");
21
21
  const Select = require("../Form/Select.cjs");
22
22
  const TextInput = require("../Form/TextInput.cjs");
@@ -54,7 +54,7 @@ function FormItemRender(props) {
54
54
  placeholder: placeholder ?? "",
55
55
  onKeyDown: onKeyDownHandler,
56
56
  rightSection: !!keyword && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
57
- index.IconXClose,
57
+ index$1.IconXClose,
58
58
  {
59
59
  style: { cursor: "pointer" },
60
60
  size: 14,
@@ -162,11 +162,11 @@ function SearchArea(props) {
162
162
  x.name
163
163
  )),
164
164
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(Box.Box, { sx: SX_Y_MID, children: [
165
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Box.Box, { sx: SX_Y_MID, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(Button.Button, { variant: "subtle", color: "carbon.8", onClick: handleReset, children: [
166
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index.IconEraser, { size: 16, style: { marginRight: 4 } }),
165
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Box.Box, { sx: SX_Y_MID, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(index.Button, { variant: "subtle", color: "carbon.8", onClick: handleReset, children: [
166
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$1.IconEraser, { size: 16, style: { marginRight: 4 } }),
167
167
  "Clear Filters"
168
168
  ] }) }),
169
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Box.Box, { ml: 16, sx: SX_Y_MID, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Button.Button, { variant: "subtle", color: "carbon.8", onClick: handleSubmit, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index.IconRefreshCw01, { size: 16 }) }) })
169
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Box.Box, { ml: 16, sx: SX_Y_MID, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index.Button, { variant: "subtle", color: "carbon.8", onClick: handleSubmit, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$1.IconRefreshCw01, { size: 16 }) }) })
170
170
  ] })
171
171
  ] }) }),
172
172
  props.debugEnabled && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(Box.Box, { sx: { height: 320 }, children: [
@@ -174,7 +174,7 @@ function SearchArea(props) {
174
174
  "result = ",
175
175
  JSON.stringify(form.getValues(), null, 4)
176
176
  ] }),
177
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Button.Button, { onClick: () => window.location.reload(), children: "Refresh Page" })
177
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index.Button, { onClick: () => window.location.reload(), children: "Refresh Page" })
178
178
  ] })
179
179
  ] }) });
180
180
  }
@@ -9,12 +9,12 @@ import { IconEraser, IconRefreshCw01, IconXClose } from "../../icons/index.js";
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
+ import { Button } from "../../primitive/Button/index.js";
12
13
  import { mergeSxList } from "../../utils/styles.js";
13
14
  import { FormDatePicker } from "../Form/DatePicker.js";
14
15
  import { FormTimeRangePicker } from "../Form/FormTimeRangePicker.js";
15
16
  import { Box } 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/Box/Box.js";
16
17
  import { Form } from "../Form/Form.js";
17
- import { Button } 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/components/Button/Button.js";
18
18
  import { FormMultiSelect } from "../Form/MultiSelect.js";
19
19
  import { FormSelect } from "../Form/Select.js";
20
20
  import { FormTextInput } from "../Form/TextInput.js";
@@ -10,6 +10,7 @@ const index = require("../../icons/index.cjs");
10
10
  ;/* empty css */
11
11
  ;/* empty css */
12
12
  const index$1 = require("../../primitive/Typography/index.cjs");
13
+ const index$2 = require("../../primitive/Button/index.cjs");
13
14
  const dayjs = require("dayjs");
14
15
  require("../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.cjs");
15
16
  require("../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.cjs");
@@ -22,7 +23,6 @@ const Flex = require("../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v
22
23
  const DatePicker = require("../../node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/components/DatePicker/DatePicker.cjs");
23
24
  const Alert = 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/components/Alert/Alert.cjs");
24
25
  const Text = 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/components/Text/Text.cjs");
25
- const Button = 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/components/Button/Button.cjs");
26
26
  const AbsoluteTimeRangePicker = ({
27
27
  value,
28
28
  maxDateTime,
@@ -157,8 +157,8 @@ const AbsoluteTimeRangePicker = ({
157
157
  ] })
158
158
  ] }),
159
159
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(Flex.Flex, { pt: 8, gap: "xs", justify: "flex-end", align: "flex-start", direction: "row", wrap: "wrap", children: [
160
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Button.Button, { size: "xs", variant: "default", onClick: onCancel, children: "Cancel" }),
161
- /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Button.Button, { size: "xs", onClick: apply, disabled: startAfterEnd || beyondMin || beyondMax || beyondDuration, children: "Apply" })
160
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$2.Button, { size: "xs", variant: "default", onClick: onCancel, children: "Cancel" }),
161
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$2.Button, { size: "xs", onClick: apply, disabled: startAfterEnd || beyondMin || beyondMax || beyondDuration, children: "Apply" })
162
162
  ] })
163
163
  ] });
164
164
  };
@@ -8,6 +8,7 @@ import { IconChevronLeft, IconAlertCircle } from "../../icons/index.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import { Typography } from "../../primitive/Typography/index.js";
11
+ import { Button } from "../../primitive/Button/index.js";
11
12
  import dayjs from "dayjs";
12
13
  import "../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.js";
13
14
  import "../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.js";
@@ -20,7 +21,6 @@ import { Flex } from "../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v
20
21
  import { DatePicker } from "../../node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/components/DatePicker/DatePicker.js";
21
22
  import { Alert } 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/components/Alert/Alert.js";
22
23
  import { Text } 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/components/Text/Text.js";
23
- import { Button } 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/components/Button/Button.js";
24
24
  const AbsoluteTimeRangePicker = ({
25
25
  value,
26
26
  maxDateTime,
@@ -2,19 +2,19 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.cjs");
4
4
  const React = require("react");
5
- const index = require("../../icons/index.cjs");
5
+ const index$1 = require("../../icons/index.cjs");
6
6
  ;/* empty css */
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
11
11
  ;/* empty css */
12
- const index$1 = require("../../primitive/Typography/index.cjs");
12
+ const index$2 = require("../../primitive/Typography/index.cjs");
13
+ const index = require("../../primitive/Button/index.cjs");
13
14
  const AbsoluteTimeRangePicker = require("./AbsoluteTimeRangePicker.cjs");
14
15
  const helpers = require("./helpers.cjs");
15
16
  const Menu = 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/components/Menu/Menu.cjs");
16
17
  const Tooltip = 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/components/Tooltip/Tooltip.cjs");
17
- const Button = 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/components/Button/Button.cjs");
18
18
  const Group = 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/components/Group/Group.cjs");
19
19
  const Box = 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/Box/Box.cjs");
20
20
  const Text = 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/components/Text/Text.cjs");
@@ -62,7 +62,7 @@ const TimeRangePicker = ({
62
62
  onClose: () => setOpened(false),
63
63
  children: [
64
64
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Menu.Menu.Target, { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Tooltip.Tooltip, { label: formattedAbsDateTime, disabled: isRelativeRange, withArrow: true, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
65
- Button.Button,
65
+ index.Button,
66
66
  {
67
67
  variant: "default",
68
68
  bg: "carbon.0",
@@ -128,10 +128,10 @@ const TimeRangePicker = ({
128
128
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
129
129
  Menu.Menu.Item,
130
130
  {
131
- rightSection: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index.IconChevronRight, { size: 16 }),
131
+ rightSection: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$1.IconChevronRight, { size: 16 }),
132
132
  closeMenuOnClick: false,
133
133
  onClick: () => setCustomMode(true),
134
- children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$1.Typography, { variant: "body-lg", children: "Custom" })
134
+ children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(index$2.Typography, { variant: "body-lg", children: "Custom" })
135
135
  }
136
136
  ),
137
137
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Menu.Menu.Divider, {})
@@ -8,12 +8,12 @@ import { IconChevronRight } from "../../icons/index.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import { Typography } from "../../primitive/Typography/index.js";
11
+ import { Button } from "../../primitive/Button/index.js";
11
12
  import AbsoluteTimeRangePicker from "./AbsoluteTimeRangePicker.js";
12
13
  import { toTimeRangeValue, timeFormatter, formatDuration, DEFAULT_QUICK_RANGES } from "./helpers.js";
13
14
  import { DEFAULT_TIME_FORMAT, DEFAULT_TIME_FORMAT_WITH_TIMEZONE, DEFAULT_TIME_RANGE, addOffsetUTC, fromTimeRangeValue, getUTCString, toURLTimeRange, urlToTimeRange, urlToTimeRangeValue } from "./helpers.js";
14
15
  import { Menu } 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/components/Menu/Menu.js";
15
16
  import { Tooltip } 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/components/Tooltip/Tooltip.js";
16
- import { Button } 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/components/Button/Button.js";
17
17
  import { Group } 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/components/Group/Group.js";
18
18
  import { Box } 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/Box/Box.js";
19
19
  import { Text } 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/components/Text/Text.js";
@@ -1,11 +1,11 @@
1
1
  import dayjs from "dayjs";
2
- import timezone from "../../../../../../dayjs@1.11.13/node_modules/dayjs/plugin/timezone.js";
3
- import utc from "../../../../../../dayjs@1.11.13/node_modules/dayjs/plugin/utc.js";
4
- dayjs.extend(utc);
5
- dayjs.extend(timezone);
6
- function getTimezoneOffset(date, timezone2) {
7
- if (timezone2) {
8
- return dayjs(date).tz(timezone2).utcOffset() + date.getTimezoneOffset();
2
+ import timezonePlugin from "../../../../../../dayjs@1.11.13/node_modules/dayjs/plugin/timezone.js";
3
+ import utcPlugin from "../../../../../../dayjs@1.11.13/node_modules/dayjs/plugin/utc.js";
4
+ dayjs.extend(utcPlugin);
5
+ dayjs.extend(timezonePlugin);
6
+ function getTimezoneOffset(date, timezone) {
7
+ if (timezone) {
8
+ return dayjs(date).tz(timezone).utcOffset() + date.getTimezoneOffset();
9
9
  }
10
10
  return 0;
11
11
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const _commonjsHelpers = require("../../../../../../_virtual/_commonjsHelpers.cjs");
4
- const timezone$1 = require("../../../../../../_virtual/timezone.cjs");
4
+ const timezone = require("../../../../../../_virtual/timezone.cjs");
5
5
  (function(module2, exports2) {
6
6
  !function(t, e) {
7
7
  module2.exports = e();
@@ -61,7 +61,7 @@ const timezone$1 = require("../../../../../../_virtual/timezone.cjs");
61
61
  };
62
62
  };
63
63
  });
64
- })(timezone$1.__module);
65
- var timezoneExports = timezone$1.__module.exports;
66
- const timezone = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(timezoneExports);
67
- exports.default = timezone;
64
+ })(timezone.__module);
65
+ var timezoneExports = timezone.__module.exports;
66
+ const timezonePlugin = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(timezoneExports);
67
+ exports.default = timezonePlugin;
@@ -1,5 +1,5 @@
1
1
  import { commonjsGlobal, getDefaultExportFromCjs } from "../../../../../../_virtual/_commonjsHelpers.js";
2
- import { __module as timezone$1 } from "../../../../../../_virtual/timezone.js";
2
+ import { __module as timezone } from "../../../../../../_virtual/timezone.js";
3
3
  (function(module, exports) {
4
4
  !function(t, e) {
5
5
  module.exports = e();
@@ -59,9 +59,9 @@ import { __module as timezone$1 } from "../../../../../../_virtual/timezone.js";
59
59
  };
60
60
  };
61
61
  });
62
- })(timezone$1);
63
- var timezoneExports = timezone$1.exports;
64
- const timezone = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
62
+ })(timezone);
63
+ var timezoneExports = timezone.exports;
64
+ const timezonePlugin = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
65
65
  export {
66
- timezone as default
66
+ timezonePlugin as default
67
67
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const _commonjsHelpers = require("../../../../../../_virtual/_commonjsHelpers.cjs");
4
- const utc$1 = require("../../../../../../_virtual/utc.cjs");
4
+ const utc = require("../../../../../../_virtual/utc.cjs");
5
5
  (function(module2, exports2) {
6
6
  !function(t, i) {
7
7
  module2.exports = i();
@@ -74,7 +74,7 @@ const utc$1 = require("../../../../../../_virtual/utc.cjs");
74
74
  };
75
75
  };
76
76
  });
77
- })(utc$1.__module);
78
- var utcExports = utc$1.__module.exports;
79
- const utc = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(utcExports);
80
- exports.default = utc;
77
+ })(utc.__module);
78
+ var utcExports = utc.__module.exports;
79
+ const utcPlugin = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(utcExports);
80
+ exports.default = utcPlugin;
@@ -1,5 +1,5 @@
1
1
  import { commonjsGlobal, getDefaultExportFromCjs } from "../../../../../../_virtual/_commonjsHelpers.js";
2
- import { __module as utc$1 } from "../../../../../../_virtual/utc.js";
2
+ import { __module as utc } from "../../../../../../_virtual/utc.js";
3
3
  (function(module, exports) {
4
4
  !function(t, i) {
5
5
  module.exports = i();
@@ -72,9 +72,9 @@ import { __module as utc$1 } from "../../../../../../_virtual/utc.js";
72
72
  };
73
73
  };
74
74
  });
75
- })(utc$1);
76
- var utcExports = utc$1.exports;
77
- const utc = /* @__PURE__ */ getDefaultExportFromCjs(utcExports);
75
+ })(utc);
76
+ var utcExports = utc.exports;
77
+ const utcPlugin = /* @__PURE__ */ getDefaultExportFromCjs(utcExports);
78
78
  export {
79
- utc as default
79
+ utcPlugin as default
80
80
  };
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.cjs");
4
+ const React = require("react");
5
+ 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");
6
+ const Loader = 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/components/Loader/Loader.cjs");
7
+ const Button$1 = 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/components/Button/Button.cjs");
8
+ const _Button = React.forwardRef((props, ref) => {
9
+ const theme = MantineThemeProvider.useMantineTheme();
10
+ const { leftSection, loading, disabled, ...rest } = props;
11
+ const loader = /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Loader.Loader, { size: 16, color: `${props.color ?? theme.primaryColor}.6` });
12
+ return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Button$1.Button, { ...rest, ref, leftSection: loading ? loader : leftSection, disabled: disabled || loading });
13
+ });
14
+ const Button = _Button;
15
+ Button.Group = Button$1.Button.Group;
16
+ Button.classes = Button$1.Button.classes;
17
+ Button.displayName = Button$1.Button.displayName;
18
+ Button.extend = Button$1.Button.extend;
19
+ Button.withProps = Button$1.Button.withProps;
20
+ exports.Button = Button;
@@ -0,0 +1,4 @@
1
+ import { Button as MantineButton } from '@mantine/core';
2
+ type Button = typeof MantineButton;
3
+ export declare const Button: Button;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import { Button as MantineButton } from '@mantine/core';
2
+ type Button = typeof MantineButton;
3
+ export declare const Button: Button;
4
+ export {};
@@ -0,0 +1,20 @@
1
+ import { j as jsxRuntimeExports } from "../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import { forwardRef } from "react";
3
+ 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";
4
+ import { Loader } 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/components/Loader/Loader.js";
5
+ import { Button as Button$1 } 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/components/Button/Button.js";
6
+ const _Button = forwardRef((props, ref) => {
7
+ const theme = useMantineTheme();
8
+ const { leftSection, loading, disabled, ...rest } = props;
9
+ const loader = /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, { size: 16, color: `${props.color ?? theme.primaryColor}.6` });
10
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { ...rest, ref, leftSection: loading ? loader : leftSection, disabled: disabled || loading });
11
+ });
12
+ const Button = _Button;
13
+ Button.Group = Button$1.Group;
14
+ Button.classes = Button$1.classes;
15
+ Button.displayName = Button$1.displayName;
16
+ Button.extend = Button$1.extend;
17
+ Button.withProps = Button$1.withProps;
18
+ export {
19
+ Button
20
+ };
@@ -7,11 +7,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
9
  const useColorScheme = require("../hooks/useColorScheme.cjs");
10
- const index = require("../node_modules/.pnpm/@mantine_dropzone@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__qr3rnaubensmzqdmx5ctws3cmy/node_modules/@mantine/dropzone/esm/index.cjs");
11
- const index$1 = require("./notifier/index.cjs");
12
- const index$2 = require("./Typography/index.cjs");
13
- const index$3 = require("./MediaQuery/index.cjs");
14
- const index$4 = require("./Select/index.cjs");
10
+ const index = require("./notifier/index.cjs");
11
+ const index$1 = require("./Typography/index.cjs");
12
+ const index$2 = require("./MediaQuery/index.cjs");
13
+ const index$3 = require("./Select/index.cjs");
14
+ const index$4 = require("./Button/index.cjs");
15
+ const index$5 = require("../node_modules/.pnpm/@mantine_dropzone@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__qr3rnaubensmzqdmx5ctws3cmy/node_modules/@mantine/dropzone/esm/index.cjs");
15
16
  const AppShell = 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/components/AppShell/AppShell.cjs");
16
17
  const AspectRatio = 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/components/AspectRatio/AspectRatio.cjs");
17
18
  const Center = 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/components/Center/Center.cjs");
@@ -52,7 +53,6 @@ const Pill = require("../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5
52
53
  const PillsInput = 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/components/PillsInput/PillsInput.cjs");
53
54
  const TagsInput = 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/components/TagsInput/TagsInput.cjs");
54
55
  const ActionIcon = 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/components/ActionIcon/ActionIcon.cjs");
55
- const Button = 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/components/Button/Button.cjs");
56
56
  const CloseButton = 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/components/CloseButton/CloseButton.cjs");
57
57
  const CopyButton = 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/components/CopyButton/CopyButton.cjs");
58
58
  const FileButton = 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/components/FileButton/FileButton.cjs");
@@ -119,6 +119,7 @@ const useInputProps = require("../node_modules/.pnpm/@mantine_core@7.13.2_patch_
119
119
  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");
120
120
  const useCombobox = 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/components/Combobox/use-combobox/use-combobox.cjs");
121
121
  const useComputedColorScheme = 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/use-mantine-color-scheme/use-computed-color-scheme.cjs");
122
+ const TextInput = require("./TextInput/TextInput.cjs");
122
123
  const mimeTypes = require("../node_modules/.pnpm/@mantine_dropzone@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__qr3rnaubensmzqdmx5ctws3cmy/node_modules/@mantine/dropzone/esm/mime-types.cjs");
123
124
  const Carousel = require("../node_modules/.pnpm/@mantine_carousel@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__sfhtg3sgpvpleh2jf3uri3xpdy/node_modules/@mantine/carousel/esm/Carousel.cjs");
124
125
  const useAnimationOffsetEffect = require("../node_modules/.pnpm/@mantine_carousel@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__sfhtg3sgpvpleh2jf3uri3xpdy/node_modules/@mantine/carousel/esm/use-animation-offset-effect.cjs");
@@ -130,18 +131,18 @@ const DatePickerInput = require("../node_modules/.pnpm/@mantine_dates@7.13.2_@ma
130
131
  const Calendar = require("../node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/components/Calendar/Calendar.cjs");
131
132
  const Month = require("../node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/components/Month/Month.cjs");
132
133
  const TimeInput = require("../node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/components/TimeInput/TimeInput.cjs");
133
- const TextInput = require("./TextInput/TextInput.cjs");
134
134
  const CodeHighlight = require("../node_modules/.pnpm/@mantine_code-highlight@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@ma_tdwfyw6pqjurzjjnx3eualyu44/node_modules/@mantine/code-highlight/esm/CodeHighlight.cjs");
135
135
  const CodeHighlightTabs = require("../node_modules/.pnpm/@mantine_code-highlight@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@ma_tdwfyw6pqjurzjjnx3eualyu44/node_modules/@mantine/code-highlight/esm/CodeHighlightTabs.cjs");
136
136
  const InlineCodeHighlight = require("../node_modules/.pnpm/@mantine_code-highlight@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@ma_tdwfyw6pqjurzjjnx3eualyu44/node_modules/@mantine/code-highlight/esm/InlineCodeHighlight.cjs");
137
137
  exports.useColorScheme = useColorScheme.useColorScheme;
138
- exports.Dropzone = index.Dropzone;
139
- exports.notifier = index$1.notifier;
140
- exports.TYPOGRAPHY_STYLES_MAP = index$2.TYPOGRAPHY_STYLES_MAP;
141
- exports.Typography = index$2.Typography;
142
- exports.MediaQuery = index$3.MediaQuery;
143
- exports.MultiSelect = index$4.MultiSelect;
144
- exports.Select = index$4.Select;
138
+ exports.notifier = index.notifier;
139
+ exports.TYPOGRAPHY_STYLES_MAP = index$1.TYPOGRAPHY_STYLES_MAP;
140
+ exports.Typography = index$1.Typography;
141
+ exports.MediaQuery = index$2.MediaQuery;
142
+ exports.MultiSelect = index$3.MultiSelect;
143
+ exports.Select = index$3.Select;
144
+ exports.Button = index$4.Button;
145
+ exports.Dropzone = index$5.Dropzone;
145
146
  exports.AppShell = AppShell.AppShell;
146
147
  exports.AspectRatio = AspectRatio.AspectRatio;
147
148
  exports.Center = Center.Center;
@@ -182,7 +183,6 @@ exports.Pill = Pill.Pill;
182
183
  exports.PillsInput = PillsInput.PillsInput;
183
184
  exports.TagsInput = TagsInput.TagsInput;
184
185
  exports.ActionIcon = ActionIcon.ActionIcon;
185
- exports.Button = Button.Button;
186
186
  exports.CloseButton = CloseButton.CloseButton;
187
187
  exports.CopyButton = CopyButton.CopyButton;
188
188
  exports.FileButton = FileButton.FileButton;
@@ -249,6 +249,7 @@ exports.useInputProps = useInputProps.useInputProps;
249
249
  exports.useMantineTheme = MantineThemeProvider.useMantineTheme;
250
250
  exports.useCombobox = useCombobox.useCombobox;
251
251
  exports.useComputedColorScheme = useComputedColorScheme.useComputedColorScheme;
252
+ exports.TextInput = TextInput.TextInput;
252
253
  exports.EXE_MIME_TYPE = mimeTypes.EXE_MIME_TYPE;
253
254
  exports.IMAGE_MIME_TYPE = mimeTypes.IMAGE_MIME_TYPE;
254
255
  exports.MIME_TYPES = mimeTypes.MIME_TYPES;
@@ -270,7 +271,6 @@ exports.DatePickerInput = DatePickerInput.DatePickerInput;
270
271
  exports.Calendar = Calendar.Calendar;
271
272
  exports.Month = Month.Month;
272
273
  exports.TimeInput = TimeInput.TimeInput;
273
- exports.TextInput = TextInput.TextInput;
274
274
  exports.CodeHighlight = CodeHighlight.CodeHighlight;
275
275
  exports.CodeHighlightTabs = CodeHighlightTabs.CodeHighlightTabs;
276
276
  exports.InlineCodeHighlight = InlineCodeHighlight.InlineCodeHighlight;
@@ -30,8 +30,14 @@ declare module '@mantine/core' {
30
30
  }
31
31
  export type ColorScheme = 'light' | 'dark';
32
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 } 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';
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, 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';
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, 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';
34
34
  export { useColorScheme } from '../hooks/useColorScheme.js';
35
+ export { TextInput, type TextInputProps } from './TextInput/index.js';
36
+ export { notifier } from './notifier/index.js';
37
+ export { Typography, TYPOGRAPHY_STYLES_MAP, type TypographyProps } from './Typography/index.js';
38
+ export { MediaQuery, type MediaQueryProps } from './MediaQuery/index.js';
39
+ export { Select, type SelectProps, MultiSelect, type MultiSelectProps } from './Select/index.js';
40
+ export { Button } from './Button/index.js';
35
41
  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';
36
42
  export type { DropzoneAcceptProps, DropzoneFullScreenProps, DropzoneFullScreenStylesNames, DropzoneIdleProps, DropzoneProps, DropzoneRejectProps, DropzoneStylesNames } from '@mantine/dropzone';
37
43
  export { Carousel, useAnimationOffsetEffect } from '@mantine/carousel';
@@ -40,10 +46,5 @@ export { ModalsProvider, useModals, openModal, openConfirmModal, openContextModa
40
46
  export type { ModalsProviderProps, ContextModalProps } from '@mantine/modals';
41
47
  export { DatePicker, DatePickerInput, Calendar, Month, TimeInput } from '@mantine/dates';
42
48
  export type { CalendarProps, CalendarBaseProps, DatePickerType, DatePickerProps, DatePickerInputProps, DatePickerStylesNames, MonthProps, TimeInputProps, MonthSettings } from '@mantine/dates';
43
- export { TextInput, type TextInputProps } from './TextInput/index.js';
44
- export { notifier } from './notifier/index.js';
45
- export { Typography, TYPOGRAPHY_STYLES_MAP, type TypographyProps } from './Typography/index.js';
46
- export { MediaQuery, type MediaQueryProps } from './MediaQuery/index.js';
47
- export { Select, type SelectProps, MultiSelect, type MultiSelectProps } from './Select/index.js';
48
49
  export { CodeHighlight, CodeHighlightTabs, InlineCodeHighlight } from '@mantine/code-highlight';
49
50
  export type { CodeHighlightProps, CodeHighlightTabsProps, InlineCodeHighlightProps } from '@mantine/code-highlight';
@@ -30,8 +30,14 @@ declare module '@mantine/core' {
30
30
  }
31
31
  export type ColorScheme = 'light' | 'dark';
32
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 } 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';
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, 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';
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, 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';
34
34
  export { useColorScheme } from '../hooks/useColorScheme.js';
35
+ export { TextInput, type TextInputProps } from './TextInput/index.js';
36
+ export { notifier } from './notifier/index.js';
37
+ export { Typography, TYPOGRAPHY_STYLES_MAP, type TypographyProps } from './Typography/index.js';
38
+ export { MediaQuery, type MediaQueryProps } from './MediaQuery/index.js';
39
+ export { Select, type SelectProps, MultiSelect, type MultiSelectProps } from './Select/index.js';
40
+ export { Button } from './Button/index.js';
35
41
  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';
36
42
  export type { DropzoneAcceptProps, DropzoneFullScreenProps, DropzoneFullScreenStylesNames, DropzoneIdleProps, DropzoneProps, DropzoneRejectProps, DropzoneStylesNames } from '@mantine/dropzone';
37
43
  export { Carousel, useAnimationOffsetEffect } from '@mantine/carousel';
@@ -40,10 +46,5 @@ export { ModalsProvider, useModals, openModal, openConfirmModal, openContextModa
40
46
  export type { ModalsProviderProps, ContextModalProps } from '@mantine/modals';
41
47
  export { DatePicker, DatePickerInput, Calendar, Month, TimeInput } from '@mantine/dates';
42
48
  export type { CalendarProps, CalendarBaseProps, DatePickerType, DatePickerProps, DatePickerInputProps, DatePickerStylesNames, MonthProps, TimeInputProps, MonthSettings } from '@mantine/dates';
43
- export { TextInput, type TextInputProps } from './TextInput/index.js';
44
- export { notifier } from './notifier/index.js';
45
- export { Typography, TYPOGRAPHY_STYLES_MAP, type TypographyProps } from './Typography/index.js';
46
- export { MediaQuery, type MediaQueryProps } from './MediaQuery/index.js';
47
- export { Select, type SelectProps, MultiSelect, type MultiSelectProps } from './Select/index.js';
48
49
  export { CodeHighlight, CodeHighlightTabs, InlineCodeHighlight } from '@mantine/code-highlight';
49
50
  export type { CodeHighlightProps, CodeHighlightTabsProps, InlineCodeHighlightProps } from '@mantine/code-highlight';
@@ -5,11 +5,12 @@
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import { useColorScheme } from "../hooks/useColorScheme.js";
8
- import { Dropzone } from "../node_modules/.pnpm/@mantine_dropzone@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__qr3rnaubensmzqdmx5ctws3cmy/node_modules/@mantine/dropzone/esm/index.js";
9
8
  import { notifier } from "./notifier/index.js";
10
9
  import { TYPOGRAPHY_STYLES_MAP, Typography } from "./Typography/index.js";
11
10
  import { MediaQuery } from "./MediaQuery/index.js";
12
11
  import { MultiSelect, Select } from "./Select/index.js";
12
+ import { Button } from "./Button/index.js";
13
+ import { Dropzone } from "../node_modules/.pnpm/@mantine_dropzone@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__qr3rnaubensmzqdmx5ctws3cmy/node_modules/@mantine/dropzone/esm/index.js";
13
14
  import { AppShell } 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/components/AppShell/AppShell.js";
14
15
  import { AspectRatio } 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/components/AspectRatio/AspectRatio.js";
15
16
  import { Center } 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/components/Center/Center.js";
@@ -50,7 +51,6 @@ import { Pill } from "../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5
50
51
  import { PillsInput } 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/components/PillsInput/PillsInput.js";
51
52
  import { TagsInput } 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/components/TagsInput/TagsInput.js";
52
53
  import { ActionIcon } 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/components/ActionIcon/ActionIcon.js";
53
- import { Button } 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/components/Button/Button.js";
54
54
  import { CloseButton } 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/components/CloseButton/CloseButton.js";
55
55
  import { CopyButton } 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/components/CopyButton/CopyButton.js";
56
56
  import { FileButton } 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/components/FileButton/FileButton.js";
@@ -117,6 +117,7 @@ import { useInputProps } from "../node_modules/.pnpm/@mantine_core@7.13.2_patch_
117
117
  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";
118
118
  import { useCombobox } 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/components/Combobox/use-combobox/use-combobox.js";
119
119
  import { 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/esm/core/MantineProvider/use-mantine-color-scheme/use-computed-color-scheme.js";
120
+ import { TextInput } from "./TextInput/TextInput.js";
120
121
  import { EXE_MIME_TYPE, IMAGE_MIME_TYPE, MIME_TYPES, MS_EXCEL_MIME_TYPE, MS_POWERPOINT_MIME_TYPE, MS_WORD_MIME_TYPE, PDF_MIME_TYPE } from "../node_modules/.pnpm/@mantine_dropzone@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__qr3rnaubensmzqdmx5ctws3cmy/node_modules/@mantine/dropzone/esm/mime-types.js";
121
122
  import { Carousel } from "../node_modules/.pnpm/@mantine_carousel@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__sfhtg3sgpvpleh2jf3uri3xpdy/node_modules/@mantine/carousel/esm/Carousel.js";
122
123
  import { useAnimationOffsetEffect } from "../node_modules/.pnpm/@mantine_carousel@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine__sfhtg3sgpvpleh2jf3uri3xpdy/node_modules/@mantine/carousel/esm/use-animation-offset-effect.js";
@@ -128,7 +129,6 @@ import { DatePickerInput } from "../node_modules/.pnpm/@mantine_dates@7.13.2_@ma
128
129
  import { Calendar } from "../node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/components/Calendar/Calendar.js";
129
130
  import { Month } from "../node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/components/Month/Month.js";
130
131
  import { TimeInput } from "../node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/components/TimeInput/TimeInput.js";
131
- import { TextInput } from "./TextInput/TextInput.js";
132
132
  import { CodeHighlight } from "../node_modules/.pnpm/@mantine_code-highlight@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@ma_tdwfyw6pqjurzjjnx3eualyu44/node_modules/@mantine/code-highlight/esm/CodeHighlight.js";
133
133
  import { CodeHighlightTabs } from "../node_modules/.pnpm/@mantine_code-highlight@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@ma_tdwfyw6pqjurzjjnx3eualyu44/node_modules/@mantine/code-highlight/esm/CodeHighlightTabs.js";
134
134
  import { InlineCodeHighlight } from "../node_modules/.pnpm/@mantine_code-highlight@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@ma_tdwfyw6pqjurzjjnx3eualyu44/node_modules/@mantine/code-highlight/esm/InlineCodeHighlight.js";
@@ -185,9 +185,9 @@ const theme = createTheme.createTheme({
185
185
  backgroundColor: themeColor(theme2, color, bgColorShade + 1)
186
186
  },
187
187
  "&:disabled": {
188
- color: themeColor(theme2, theme2.primaryColor, 6),
189
- borderColor: themeColor(theme2, theme2.primaryColor, borderColorShade + 1),
190
- backgroundColor: themeColor(theme2, theme2.primaryColor, 2)
188
+ color: themeColor(theme2, color, 6),
189
+ borderColor: themeColor(theme2, color, borderColorShade + 1),
190
+ backgroundColor: themeColor(theme2, color, 2)
191
191
  }
192
192
  };
193
193
  };
@@ -205,9 +205,9 @@ const theme = createTheme.createTheme({
205
205
  backgroundColor: themeColor(theme2, color, bgColorShade + 1)
206
206
  },
207
207
  "&:disabled": {
208
- color: themeColor(theme2, theme2.primaryColor, 6),
209
- borderColor: themeColor(theme2, theme2.primaryColor, borderColorShade + 1),
210
- backgroundColor: themeColor(theme2, theme2.primaryColor, 2)
208
+ color: themeColor(theme2, color, 6),
209
+ borderColor: themeColor(theme2, color, borderColorShade + 1),
210
+ backgroundColor: themeColor(theme2, color, 2)
211
211
  }
212
212
  };
213
213
  };
@@ -223,8 +223,7 @@ const theme = createTheme.createTheme({
223
223
  backgroundColor: themeColor(theme2, color, bgColorShade + 1)
224
224
  },
225
225
  "&:disabled": {
226
- color: themeColor(theme2, theme2.primaryColor, 6),
227
- backgroundColor: theme2.white
226
+ color: themeColor(theme2, color, 6)
228
227
  }
229
228
  };
230
229
  };
@@ -183,9 +183,9 @@ const theme = createTheme({
183
183
  backgroundColor: themeColor(theme2, color, bgColorShade + 1)
184
184
  },
185
185
  "&:disabled": {
186
- color: themeColor(theme2, theme2.primaryColor, 6),
187
- borderColor: themeColor(theme2, theme2.primaryColor, borderColorShade + 1),
188
- backgroundColor: themeColor(theme2, theme2.primaryColor, 2)
186
+ color: themeColor(theme2, color, 6),
187
+ borderColor: themeColor(theme2, color, borderColorShade + 1),
188
+ backgroundColor: themeColor(theme2, color, 2)
189
189
  }
190
190
  };
191
191
  };
@@ -203,9 +203,9 @@ const theme = createTheme({
203
203
  backgroundColor: themeColor(theme2, color, bgColorShade + 1)
204
204
  },
205
205
  "&:disabled": {
206
- color: themeColor(theme2, theme2.primaryColor, 6),
207
- borderColor: themeColor(theme2, theme2.primaryColor, borderColorShade + 1),
208
- backgroundColor: themeColor(theme2, theme2.primaryColor, 2)
206
+ color: themeColor(theme2, color, 6),
207
+ borderColor: themeColor(theme2, color, borderColorShade + 1),
208
+ backgroundColor: themeColor(theme2, color, 2)
209
209
  }
210
210
  };
211
211
  };
@@ -221,8 +221,7 @@ const theme = createTheme({
221
221
  backgroundColor: themeColor(theme2, color, bgColorShade + 1)
222
222
  },
223
223
  "&:disabled": {
224
- color: themeColor(theme2, theme2.primaryColor, 6),
225
- backgroundColor: theme2.white
224
+ color: themeColor(theme2, color, 6)
226
225
  }
227
226
  };
228
227
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.87",
3
+ "version": "2.0.0-beta.88",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",