@tidbcloud/uikit 2.0.0-beta.122 → 2.0.0-beta.124
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/primitive/Select/index.cjs +17 -20
- package/dist/primitive/Select/index.mjs +18 -21
- package/dist/primitive/index.cjs +2 -0
- package/dist/primitive/index.d.cts +1 -1
- package/dist/primitive/index.d.mts +1 -1
- package/dist/primitive/index.mjs +2 -0
- package/dist/theme/theme.cjs +3 -3
- package/dist/theme/theme.mjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tidbcloud/uikit
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.124
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix(Select): refactor handleChange function and update imports ([#432](https://github.com/tidbcloud/tidbcloud-uikit/pull/432))
|
|
8
|
+
|
|
9
|
+
## 2.0.0-beta.123
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix(Button): update default variant's disabled state colors to use 'c… ([#430](https://github.com/tidbcloud/tidbcloud-uikit/pull/430))
|
|
14
|
+
|
|
3
15
|
## 2.0.0-beta.122
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -43,29 +43,26 @@ function useCreateableSelect(props) {
|
|
|
43
43
|
}
|
|
44
44
|
return parsedData2;
|
|
45
45
|
}, [props.data, searchValue]);
|
|
46
|
-
const handleChange =
|
|
47
|
-
(value2
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
46
|
+
const handleChange = (value2, option) => {
|
|
47
|
+
const isMultiSelect = Array.isArray(value2);
|
|
48
|
+
if (creatable) {
|
|
49
|
+
const values = Array.isArray(value2) ? value2 : [value2];
|
|
50
|
+
const clickedCreateItem = values.some((i) => typeof i === "string" && i.startsWith(CREATE_VALUE_PREFIX));
|
|
51
|
+
if (clickedCreateItem) {
|
|
52
|
+
const newItemValue = isMultiSelect ? values.find((i) => typeof i === "string" && i.startsWith(CREATE_VALUE_PREFIX)) : value2;
|
|
53
|
+
if (newItemValue) {
|
|
54
|
+
const createdItem = onCreate(newItemValue == null ? void 0 : newItemValue.slice(CREATE_VALUE_PREFIX.length));
|
|
55
|
+
if (createdItem) {
|
|
56
|
+
const nextValue = isMultiSelect ? [...values.filter((i) => !(i == null ? void 0 : i.startsWith(CREATE_VALUE_PREFIX))), createdItem.value] : createdItem.value;
|
|
57
|
+
setValue(nextValue, isMultiSelect ? void 0 : option);
|
|
58
|
+
setSearchValue("");
|
|
59
|
+
return;
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
);
|
|
63
|
+
}
|
|
64
|
+
setValue(value2, isMultiSelect ? void 0 : option);
|
|
65
|
+
};
|
|
69
66
|
return {
|
|
70
67
|
...rest,
|
|
71
68
|
data: parsedData,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo
|
|
2
|
+
import { useMemo } from "react";
|
|
3
3
|
import { Select as Select$1 } from "../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Select/Select.mjs";
|
|
4
4
|
import { MultiSelect as MultiSelect$1 } from "../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/MultiSelect/MultiSelect.mjs";
|
|
5
5
|
import { useUncontrolled } from "../../node_modules/.pnpm/@mantine_hooks@7.15.2_react@18.3.1/node_modules/@mantine/hooks/esm/use-uncontrolled/use-uncontrolled.mjs";
|
|
@@ -41,29 +41,26 @@ function useCreateableSelect(props) {
|
|
|
41
41
|
}
|
|
42
42
|
return parsedData2;
|
|
43
43
|
}, [props.data, searchValue]);
|
|
44
|
-
const handleChange =
|
|
45
|
-
(value2
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
44
|
+
const handleChange = (value2, option) => {
|
|
45
|
+
const isMultiSelect = Array.isArray(value2);
|
|
46
|
+
if (creatable) {
|
|
47
|
+
const values = Array.isArray(value2) ? value2 : [value2];
|
|
48
|
+
const clickedCreateItem = values.some((i) => typeof i === "string" && i.startsWith(CREATE_VALUE_PREFIX));
|
|
49
|
+
if (clickedCreateItem) {
|
|
50
|
+
const newItemValue = isMultiSelect ? values.find((i) => typeof i === "string" && i.startsWith(CREATE_VALUE_PREFIX)) : value2;
|
|
51
|
+
if (newItemValue) {
|
|
52
|
+
const createdItem = onCreate(newItemValue == null ? void 0 : newItemValue.slice(CREATE_VALUE_PREFIX.length));
|
|
53
|
+
if (createdItem) {
|
|
54
|
+
const nextValue = isMultiSelect ? [...values.filter((i) => !(i == null ? void 0 : i.startsWith(CREATE_VALUE_PREFIX))), createdItem.value] : createdItem.value;
|
|
55
|
+
setValue(nextValue, isMultiSelect ? void 0 : option);
|
|
56
|
+
setSearchValue("");
|
|
57
|
+
return;
|
|
60
58
|
}
|
|
61
59
|
}
|
|
62
60
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
);
|
|
61
|
+
}
|
|
62
|
+
setValue(value2, isMultiSelect ? void 0 : option);
|
|
63
|
+
};
|
|
67
64
|
return {
|
|
68
65
|
...rest,
|
|
69
66
|
data: parsedData,
|
package/dist/primitive/index.cjs
CHANGED
|
@@ -118,6 +118,7 @@ const useInputProps = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_
|
|
|
118
118
|
const MantineThemeProvider = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.cjs");
|
|
119
119
|
const useCombobox = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Combobox/use-combobox/use-combobox.cjs");
|
|
120
120
|
const useComputedColorScheme = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/core/MantineProvider/use-mantine-color-scheme/use-computed-color-scheme.cjs");
|
|
121
|
+
const Select = require("../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Select/Select.cjs");
|
|
121
122
|
const TextInput = require("./TextInput/TextInput.cjs");
|
|
122
123
|
const mimeTypes = require("../node_modules/.pnpm/@mantine_dropzone@7.15.2_@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine__hww35qmvzgxt6vzp3w3turt5w4/node_modules/@mantine/dropzone/esm/mime-types.cjs");
|
|
123
124
|
const Carousel = require("../node_modules/.pnpm/@mantine_carousel@7.15.2_@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine__yuzhxl33yngzjan47b6grrovcu/node_modules/@mantine/carousel/esm/Carousel.cjs");
|
|
@@ -246,6 +247,7 @@ exports.useInputProps = useInputProps.useInputProps;
|
|
|
246
247
|
exports.useMantineTheme = MantineThemeProvider.useMantineTheme;
|
|
247
248
|
exports.useCombobox = useCombobox.useCombobox;
|
|
248
249
|
exports.useComputedColorScheme = useComputedColorScheme.useComputedColorScheme;
|
|
250
|
+
exports.MantineSelectDontUseUnlessYouKnowWhatYouAreDoing = Select.Select;
|
|
249
251
|
exports.TextInput = TextInput.TextInput;
|
|
250
252
|
exports.EXE_MIME_TYPE = mimeTypes.EXE_MIME_TYPE;
|
|
251
253
|
exports.IMAGE_MIME_TYPE = mimeTypes.IMAGE_MIME_TYPE;
|
|
@@ -30,7 +30,7 @@ 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.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
|
|
33
|
-
export { AppShell, AspectRatio, Center, Container, Flex, Grid, Group, SimpleGrid, Space, Stack, Checkbox, Chip, ColorInput, ColorPicker, HueSlider, AlphaSlider, Fieldset, FileInput, Input, InputBase, JsonInput, NativeSelect, NumberInput, PasswordInput, PinInput, Radio, RadioGroup, RadioCard, Rating, SegmentedControl, Slider, RangeSlider, Switch, Textarea, Autocomplete, Combobox, Pill, PillsInput, TagsInput, ActionIcon, CloseButton, 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.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
|
|
33
|
+
export { AppShell, AspectRatio, Center, Container, Flex, Grid, Group, SimpleGrid, Space, Stack, Checkbox, Chip, ColorInput, ColorPicker, HueSlider, AlphaSlider, Fieldset, FileInput, Input, InputBase, JsonInput, NativeSelect, NumberInput, PasswordInput, PinInput, Radio, RadioGroup, RadioCard, Rating, SegmentedControl, Slider, RangeSlider, Switch, Textarea, Autocomplete, Combobox, Pill, PillsInput, TagsInput, ActionIcon, CloseButton, 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, Select as MantineSelectDontUseUnlessYouKnowWhatYouAreDoing } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
|
|
34
34
|
export { useColorScheme } from '../hooks/useColorScheme.cjs';
|
|
35
35
|
export { TextInput, type TextInputProps } from './TextInput/index.cjs';
|
|
36
36
|
export { notifier } from './notifier/index.cjs';
|
|
@@ -30,7 +30,7 @@ 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.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
|
|
33
|
-
export { AppShell, AspectRatio, Center, Container, Flex, Grid, Group, SimpleGrid, Space, Stack, Checkbox, Chip, ColorInput, ColorPicker, HueSlider, AlphaSlider, Fieldset, FileInput, Input, InputBase, JsonInput, NativeSelect, NumberInput, PasswordInput, PinInput, Radio, RadioGroup, RadioCard, Rating, SegmentedControl, Slider, RangeSlider, Switch, Textarea, Autocomplete, Combobox, Pill, PillsInput, TagsInput, ActionIcon, CloseButton, 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.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
|
|
33
|
+
export { AppShell, AspectRatio, Center, Container, Flex, Grid, Group, SimpleGrid, Space, Stack, Checkbox, Chip, ColorInput, ColorPicker, HueSlider, AlphaSlider, Fieldset, FileInput, Input, InputBase, JsonInput, NativeSelect, NumberInput, PasswordInput, PinInput, Radio, RadioGroup, RadioCard, Rating, SegmentedControl, Slider, RangeSlider, Switch, Textarea, Autocomplete, Combobox, Pill, PillsInput, TagsInput, ActionIcon, CloseButton, 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, Select as MantineSelectDontUseUnlessYouKnowWhatYouAreDoing } from '../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_sx7emryda53tomnuogmu74guza/node_modules/@mantine/core/lib';
|
|
34
34
|
export { useColorScheme } from '../hooks/useColorScheme.mjs';
|
|
35
35
|
export { TextInput, type TextInputProps } from './TextInput/index.mjs';
|
|
36
36
|
export { notifier } from './notifier/index.mjs';
|
package/dist/primitive/index.mjs
CHANGED
|
@@ -116,6 +116,7 @@ import { useInputProps } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_
|
|
|
116
116
|
import { useMantineTheme } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs";
|
|
117
117
|
import { useCombobox } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Combobox/use-combobox/use-combobox.mjs";
|
|
118
118
|
import { useComputedColorScheme } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/core/MantineProvider/use-mantine-color-scheme/use-computed-color-scheme.mjs";
|
|
119
|
+
import { Select as Select2 } from "../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Select/Select.mjs";
|
|
119
120
|
import { TextInput } from "./TextInput/TextInput.mjs";
|
|
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.15.2_@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine__hww35qmvzgxt6vzp3w3turt5w4/node_modules/@mantine/dropzone/esm/mime-types.mjs";
|
|
121
122
|
import { Carousel } from "../node_modules/.pnpm/@mantine_carousel@7.15.2_@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine__yuzhxl33yngzjan47b6grrovcu/node_modules/@mantine/carousel/esm/Carousel.mjs";
|
|
@@ -195,6 +196,7 @@ export {
|
|
|
195
196
|
MS_EXCEL_MIME_TYPE,
|
|
196
197
|
MS_POWERPOINT_MIME_TYPE,
|
|
197
198
|
MS_WORD_MIME_TYPE,
|
|
199
|
+
Select2 as MantineSelectDontUseUnlessYouKnowWhatYouAreDoing,
|
|
198
200
|
Mark,
|
|
199
201
|
MediaQuery,
|
|
200
202
|
Menu,
|
package/dist/theme/theme.cjs
CHANGED
|
@@ -243,9 +243,9 @@ const theme = createTheme.createTheme({
|
|
|
243
243
|
backgroundColor: themeColor(theme2, color, bgColorShade + 1)
|
|
244
244
|
},
|
|
245
245
|
"&:disabled, &[data-disabled]": {
|
|
246
|
-
color: themeColor(theme2,
|
|
247
|
-
borderColor: themeColor(theme2,
|
|
248
|
-
backgroundColor: themeColor(theme2,
|
|
246
|
+
color: themeColor(theme2, "carbon", 6),
|
|
247
|
+
borderColor: themeColor(theme2, "carbon", borderColorShade + 1),
|
|
248
|
+
backgroundColor: themeColor(theme2, "carbon", 2)
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
};
|
package/dist/theme/theme.mjs
CHANGED
|
@@ -241,9 +241,9 @@ const theme = createTheme({
|
|
|
241
241
|
backgroundColor: themeColor(theme2, color, bgColorShade + 1)
|
|
242
242
|
},
|
|
243
243
|
"&:disabled, &[data-disabled]": {
|
|
244
|
-
color: themeColor(theme2,
|
|
245
|
-
borderColor: themeColor(theme2,
|
|
246
|
-
backgroundColor: themeColor(theme2,
|
|
244
|
+
color: themeColor(theme2, "carbon", 6),
|
|
245
|
+
borderColor: themeColor(theme2, "carbon", borderColorShade + 1),
|
|
246
|
+
backgroundColor: themeColor(theme2, "carbon", 2)
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
249
|
};
|