@tidbcloud/uikit 2.0.0-beta.87 → 2.0.0-beta.89
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 +12 -0
- package/dist/biz/Form/FormActions.cjs +3 -3
- package/dist/biz/Form/FormActions.js +1 -1
- package/dist/biz/SearchArea/index.cjs +7 -7
- package/dist/biz/SearchArea/index.js +1 -1
- package/dist/biz/TimeRangePicker/AbsoluteTimeRangePicker.cjs +3 -3
- package/dist/biz/TimeRangePicker/AbsoluteTimeRangePicker.js +1 -1
- package/dist/biz/TimeRangePicker/index.cjs +6 -6
- package/dist/biz/TimeRangePicker/index.js +1 -1
- package/dist/node_modules/.pnpm/@mantine_dates@7.13.2_@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hoo_fqvtf6tg4qjwkxanualzufe6zy/node_modules/@mantine/dates/esm/utils/get-timezone-offset.js +7 -7
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.cjs +5 -5
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.js +5 -5
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.cjs +5 -5
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.js +5 -5
- package/dist/primitive/Button/index.cjs +20 -0
- package/dist/primitive/Button/index.d.cts +4 -0
- package/dist/primitive/Button/index.d.ts +4 -0
- package/dist/primitive/Button/index.js +20 -0
- package/dist/primitive/MediaQuery/index.d.cts +1 -1
- package/dist/primitive/MediaQuery/index.d.ts +1 -1
- package/dist/primitive/MediaQuery/styles.d.cts +1 -1
- package/dist/primitive/MediaQuery/styles.d.ts +1 -1
- package/dist/primitive/Select/index.d.cts +1 -1
- package/dist/primitive/Select/index.d.ts +1 -1
- package/dist/primitive/TextInput/TextInput.d.cts +1 -1
- package/dist/primitive/TextInput/TextInput.d.ts +1 -1
- package/dist/primitive/Typography/index.d.cts +2 -2
- package/dist/primitive/Typography/index.d.ts +2 -2
- package/dist/primitive/index.cjs +16 -16
- package/dist/primitive/index.d.cts +7 -6
- package/dist/primitive/index.d.ts +7 -6
- package/dist/primitive/index.js +3 -3
- package/dist/theme/theme.cjs +7 -8
- package/dist/theme/theme.js +7 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tidbcloud/uikit
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.89
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix type override handling for other TypeScript declaration files under primitive folder and pass `loaderProps` to `Button` component
|
|
8
|
+
|
|
9
|
+
## 2.0.0-beta.88
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- wrap Button for old loading state support
|
|
14
|
+
|
|
3
15
|
## 2.0.0-beta.87
|
|
4
16
|
|
|
5
17
|
### 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(
|
|
27
|
-
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
161
|
-
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
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$
|
|
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
|
-
|
|
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$
|
|
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
|
|
3
|
-
import
|
|
4
|
-
dayjs.extend(
|
|
5
|
-
dayjs.extend(
|
|
6
|
-
function getTimezoneOffset(date,
|
|
7
|
-
if (
|
|
8
|
-
return dayjs(date).tz(
|
|
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
|
|
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
|
|
65
|
-
var timezoneExports = timezone
|
|
66
|
-
const
|
|
67
|
-
exports.default =
|
|
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
|
|
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
|
|
63
|
-
var timezoneExports = timezone
|
|
64
|
-
const
|
|
62
|
+
})(timezone);
|
|
63
|
+
var timezoneExports = timezone.exports;
|
|
64
|
+
const timezonePlugin = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
|
|
65
65
|
export {
|
|
66
|
-
|
|
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
|
|
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
|
|
78
|
-
var utcExports = utc
|
|
79
|
-
const
|
|
80
|
-
exports.default =
|
|
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
|
|
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
|
|
76
|
-
var utcExports = utc
|
|
77
|
-
const
|
|
75
|
+
})(utc);
|
|
76
|
+
var utcExports = utc.exports;
|
|
77
|
+
const utcPlugin = /* @__PURE__ */ getDefaultExportFromCjs(utcExports);
|
|
78
78
|
export {
|
|
79
|
-
|
|
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, loaderProps, ...rest } = props;
|
|
11
|
+
const loader = /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Loader.Loader, { size: 16, color: `${props.color ?? theme.primaryColor}.6`, ...loaderProps });
|
|
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 '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
|
+
type Button = typeof MantineButton;
|
|
3
|
+
export declare const Button: Button;
|
|
4
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Button as MantineButton } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
|
+
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, loaderProps, ...rest } = props;
|
|
9
|
+
const loader = /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, { size: 16, color: `${props.color ?? theme.primaryColor}.6`, ...loaderProps });
|
|
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
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineTheme } from '@mantine/core';
|
|
1
|
+
import { MantineTheme } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
import { CSSObject } from '@mantine/emotion';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
import { MediaQueryNumberSize } from './styles.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineTheme } from '@mantine/core';
|
|
1
|
+
import { MantineTheme } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
import { CSSObject } from '@mantine/emotion';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
import { MediaQueryNumberSize } from './styles.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineTheme, MantineSize } from '@mantine/core';
|
|
1
|
+
import { MantineTheme, MantineSize } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
import { CSSObject } from '@mantine/emotion';
|
|
3
3
|
export type MediaQueryNumberSize = MantineSize | number | (string & {});
|
|
4
4
|
export interface MediaQueryStylesParams {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MantineTheme, MantineSize } from '@mantine/core';
|
|
1
|
+
import { MantineTheme, MantineSize } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
import { CSSObject } from '@mantine/emotion';
|
|
3
3
|
export type MediaQueryNumberSize = MantineSize | number | (string & {});
|
|
4
4
|
export interface MediaQueryStylesParams {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SelectProps as MantineSelectProps, MultiSelectProps as MantineMultiSelectProps, ComboboxItem } from '@mantine/core';
|
|
1
|
+
import { SelectProps as MantineSelectProps, MultiSelectProps as MantineMultiSelectProps, ComboboxItem } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
export interface SelectProps extends MantineSelectProps {
|
|
3
3
|
creatable?: boolean;
|
|
4
4
|
getCreateLabel?: (query: string) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SelectProps as MantineSelectProps, MultiSelectProps as MantineMultiSelectProps, ComboboxItem } from '@mantine/core';
|
|
1
|
+
import { SelectProps as MantineSelectProps, MultiSelectProps as MantineMultiSelectProps, ComboboxItem } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
export interface SelectProps extends MantineSelectProps {
|
|
3
3
|
creatable?: boolean;
|
|
4
4
|
getCreateLabel?: (query: string) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextInputProps as MantineTextInputProps } from '@mantine/core';
|
|
1
|
+
import { TextInputProps as MantineTextInputProps } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
import { TypographyProps } from '../Typography/index.js';
|
|
3
3
|
export interface TextInputProps extends MantineTextInputProps {
|
|
4
4
|
leftLabel?: React.ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextInputProps as MantineTextInputProps } from '@mantine/core';
|
|
1
|
+
import { TextInputProps as MantineTextInputProps } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
import { TypographyProps } from '../Typography/index.js';
|
|
3
3
|
export interface TextInputProps extends MantineTextInputProps {
|
|
4
4
|
leftLabel?: React.ReactNode;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MantineStyleProps, TextProps } from '@mantine/core';
|
|
1
|
+
import { MantineStyleProps, TextProps } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
type TypographyVariants = 'headline-lg' | 'headline-md' | 'headline-sm' | 'title-lg' | 'title-md' | 'title-sm' | 'action-lg' | 'action-md' | 'action-sm' | 'label-lg' | 'label-md' | 'label-sm' | 'label-xs' | 'body-lg' | 'body-md' | 'body-sm' | 'body-xs';
|
|
3
3
|
export interface TypographyProps extends Omit<TextProps, 'variant'> {
|
|
4
4
|
variant?: TypographyVariants;
|
|
5
5
|
}
|
|
6
6
|
export declare const TYPOGRAPHY_STYLES_MAP: Record<TypographyVariants, MantineStyleProps>;
|
|
7
|
-
export declare const Typography: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, TypographyProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(TypographyProps & {
|
|
7
|
+
export declare const Typography: (<C = "div">(props: import('../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib').PolymorphicComponentProps<C, TypographyProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(TypographyProps & {
|
|
8
8
|
component?: any;
|
|
9
9
|
} & Omit<Omit<any, "ref">, keyof TypographyProps | "component"> & {
|
|
10
10
|
ref?: any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MantineStyleProps, TextProps } from '@mantine/core';
|
|
1
|
+
import { MantineStyleProps, TextProps } from '../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib';
|
|
2
2
|
type TypographyVariants = 'headline-lg' | 'headline-md' | 'headline-sm' | 'title-lg' | 'title-md' | 'title-sm' | 'action-lg' | 'action-md' | 'action-sm' | 'label-lg' | 'label-md' | 'label-sm' | 'label-xs' | 'body-lg' | 'body-md' | 'body-sm' | 'body-xs';
|
|
3
3
|
export interface TypographyProps extends Omit<TextProps, 'variant'> {
|
|
4
4
|
variant?: TypographyVariants;
|
|
5
5
|
}
|
|
6
6
|
export declare const TYPOGRAPHY_STYLES_MAP: Record<TypographyVariants, MantineStyleProps>;
|
|
7
|
-
export declare const Typography: (<C = "div">(props: import('@mantine/core').PolymorphicComponentProps<C, TypographyProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(TypographyProps & {
|
|
7
|
+
export declare const Typography: (<C = "div">(props: import('../../node_modules/.pnpm/@mantine_core@7.13.2_patch_hash_v5k5cxye7xaihpcgowhgciky7a_@mantine_hooks@7.13.2_react@18.3.1_hlfamvk7n3o6ychyvm5cyru4yu/node_modules/@mantine/core/lib').PolymorphicComponentProps<C, TypographyProps>) => React.ReactElement) & Omit<import('react').FunctionComponent<(TypographyProps & {
|
|
8
8
|
component?: any;
|
|
9
9
|
} & Omit<Omit<any, "ref">, keyof TypographyProps | "component"> & {
|
|
10
10
|
ref?: any;
|
package/dist/primitive/index.cjs
CHANGED
|
@@ -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("
|
|
11
|
-
const index$1 = require("./
|
|
12
|
-
const index$2 = require("./
|
|
13
|
-
const index$3 = require("./
|
|
14
|
-
const index$4 = require("./
|
|
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.
|
|
139
|
-
exports.
|
|
140
|
-
exports.
|
|
141
|
-
exports.
|
|
142
|
-
exports.
|
|
143
|
-
exports.
|
|
144
|
-
exports.
|
|
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,
|
|
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,
|
|
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';
|
package/dist/primitive/index.js
CHANGED
|
@@ -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";
|
package/dist/theme/theme.cjs
CHANGED
|
@@ -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,
|
|
189
|
-
borderColor: themeColor(theme2,
|
|
190
|
-
backgroundColor: themeColor(theme2,
|
|
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,
|
|
209
|
-
borderColor: themeColor(theme2,
|
|
210
|
-
backgroundColor: themeColor(theme2,
|
|
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,
|
|
227
|
-
backgroundColor: theme2.white
|
|
226
|
+
color: themeColor(theme2, color, 6)
|
|
228
227
|
}
|
|
229
228
|
};
|
|
230
229
|
};
|
package/dist/theme/theme.js
CHANGED
|
@@ -183,9 +183,9 @@ const theme = createTheme({
|
|
|
183
183
|
backgroundColor: themeColor(theme2, color, bgColorShade + 1)
|
|
184
184
|
},
|
|
185
185
|
"&:disabled": {
|
|
186
|
-
color: themeColor(theme2,
|
|
187
|
-
borderColor: themeColor(theme2,
|
|
188
|
-
backgroundColor: themeColor(theme2,
|
|
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,
|
|
207
|
-
borderColor: themeColor(theme2,
|
|
208
|
-
backgroundColor: themeColor(theme2,
|
|
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,
|
|
225
|
-
backgroundColor: theme2.white
|
|
224
|
+
color: themeColor(theme2, color, 6)
|
|
226
225
|
}
|
|
227
226
|
};
|
|
228
227
|
};
|