@mantine/core 5.0.0-alpha.16 → 5.0.0-alpha.17
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/cjs/components/Popover/PopoverTarget/PopoverTarget.js +2 -0
- package/cjs/components/Popover/PopoverTarget/PopoverTarget.js.map +1 -1
- package/esm/components/Popover/PopoverTarget/PopoverTarget.js +2 -0
- package/esm/components/Popover/PopoverTarget/PopoverTarget.js.map +1 -1
- package/lib/components/Accordion/AccordionControl/AccordionControl.styles.d.ts +2 -2
- package/lib/components/Alert/Alert.styles.d.ts +2 -2
- package/lib/components/AppShell/HorizontalSection/HorizontalSection.d.ts +1 -1
- package/lib/components/Autocomplete/Autocomplete.styles.d.ts +2 -2
- package/lib/components/Badge/Badge.styles.d.ts +2 -2
- package/lib/components/Blockquote/Blockquote.styles.d.ts +2 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -2
- package/lib/components/Checkbox/Checkbox.styles.d.ts +2 -2
- package/lib/components/Code/Code.styles.d.ts +2 -2
- package/lib/components/ColorPicker/ColorPicker.styles.d.ts +2 -2
- package/lib/components/ColorSwatch/ColorSwatch.styles.d.ts +2 -2
- package/lib/components/Divider/Divider.styles.d.ts +2 -2
- package/lib/components/Drawer/Drawer.styles.d.ts +2 -2
- package/lib/components/Group/Group.styles.d.ts +2 -2
- package/lib/components/Input/Input.styles.d.ts +2 -2
- package/lib/components/Input/use-input-props.d.ts +1 -1
- package/lib/components/List/ListItem/ListItem.styles.d.ts +2 -2
- package/lib/components/Menu/MenuItem/MenuItem.styles.d.ts +2 -2
- package/lib/components/Modal/Modal.styles.d.ts +2 -2
- package/lib/components/MultiSelect/MultiSelect.styles.d.ts +2 -2
- package/lib/components/NavLink/NavLink.styles.d.ts +2 -2
- package/lib/components/Notification/Notification.styles.d.ts +2 -2
- package/lib/components/NumberInput/NumberInput.styles.d.ts +2 -2
- package/lib/components/Popover/PopoverDropdown/PopoverDropdown.styles.d.ts +2 -2
- package/lib/components/Popover/PopoverTarget/PopoverTarget.d.ts.map +1 -1
- package/lib/components/Radio/Radio.styles.d.ts +2 -2
- package/lib/components/ScrollArea/ScrollArea.styles.d.ts +2 -2
- package/lib/components/SegmentedControl/SegmentedControl.styles.d.ts +2 -2
- package/lib/components/Select/SelectItems/SelectItems.styles.d.ts +2 -2
- package/lib/components/Skeleton/Skeleton.styles.d.ts +2 -2
- package/lib/components/Spoiler/Spoiler.styles.d.ts +2 -2
- package/lib/components/Stepper/Stepper.styles.d.ts +2 -2
- package/lib/components/Table/Table.styles.d.ts +2 -2
- package/lib/components/Timeline/TimelineItem/TimelineItem.styles.d.ts +2 -2
- package/lib/components/TransferList/RenderList/RenderList.styles.d.ts +2 -2
- package/package.json +4 -4
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var hooks = require('@mantine/hooks');
|
|
7
7
|
var utils = require('@mantine/utils');
|
|
8
|
+
var styles = require('@mantine/styles');
|
|
8
9
|
var Popover_context = require('../Popover.context.js');
|
|
9
10
|
var Popover_errors = require('../Popover.errors.js');
|
|
10
11
|
|
|
@@ -44,6 +45,7 @@ function PopoverTarget({
|
|
|
44
45
|
id: ctx.getTargetId()
|
|
45
46
|
} : {};
|
|
46
47
|
return React.cloneElement(children, __spreadValues(__spreadProps(__spreadValues(__spreadValues({}, accessibleProps), ctx.targetProps), {
|
|
48
|
+
className: styles.clsx(ctx.targetProps.className, children.props.className),
|
|
47
49
|
[refProp]: targetRef
|
|
48
50
|
}), !ctx.controlled ? { onClick: ctx.onToggle } : null));
|
|
49
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverTarget.js","sources":["../../../../src/components/Popover/PopoverTarget/PopoverTarget.tsx"],"sourcesContent":["import React, { cloneElement } from 'react';\nimport { useMergedRef } from '@mantine/hooks';\nimport { isElement } from '@mantine/utils';\nimport { usePopoverContext } from '../Popover.context';\nimport { POPOVER_ERRORS } from '../Popover.errors';\n\nexport interface PopoverTargetProps {\n /** Target element */\n children: React.ReactNode;\n\n /** Key of the prop that should be used to get element ref */\n refProp?: string;\n\n /** Popup accessible type, 'dialog' by default */\n popupType?: string;\n}\n\nexport function PopoverTarget({\n children,\n refProp = 'ref',\n popupType = 'dialog',\n}: PopoverTargetProps) {\n if (!isElement(children)) {\n throw new Error(POPOVER_ERRORS.children);\n }\n\n const ctx = usePopoverContext();\n const targetRef = useMergedRef(ctx.reference, (children as any).ref);\n\n const accessibleProps = ctx.withRoles\n ? {\n 'aria-haspopup': popupType,\n 'aria-expanded': ctx.opened,\n 'aria-controls': ctx.getDropdownId(),\n id: ctx.getTargetId(),\n }\n : {};\n\n return cloneElement(children, {\n ...accessibleProps,\n ...ctx.targetProps,\n [refProp]: targetRef,\n ...(!ctx.controlled ? { onClick: ctx.onToggle } : null),\n });\n}\n\nPopoverTarget.displayName = '@mantine/core/PopoverTarget';\n"],"names":["isElement","POPOVER_ERRORS","usePopoverContext","useMergedRef","cloneElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PopoverTarget.js","sources":["../../../../src/components/Popover/PopoverTarget/PopoverTarget.tsx"],"sourcesContent":["import React, { cloneElement } from 'react';\nimport { useMergedRef } from '@mantine/hooks';\nimport { isElement } from '@mantine/utils';\nimport { clsx } from '@mantine/styles';\nimport { usePopoverContext } from '../Popover.context';\nimport { POPOVER_ERRORS } from '../Popover.errors';\n\nexport interface PopoverTargetProps {\n /** Target element */\n children: React.ReactNode;\n\n /** Key of the prop that should be used to get element ref */\n refProp?: string;\n\n /** Popup accessible type, 'dialog' by default */\n popupType?: string;\n}\n\nexport function PopoverTarget({\n children,\n refProp = 'ref',\n popupType = 'dialog',\n}: PopoverTargetProps) {\n if (!isElement(children)) {\n throw new Error(POPOVER_ERRORS.children);\n }\n\n const ctx = usePopoverContext();\n const targetRef = useMergedRef(ctx.reference, (children as any).ref);\n\n const accessibleProps = ctx.withRoles\n ? {\n 'aria-haspopup': popupType,\n 'aria-expanded': ctx.opened,\n 'aria-controls': ctx.getDropdownId(),\n id: ctx.getTargetId(),\n }\n : {};\n\n return cloneElement(children, {\n ...accessibleProps,\n ...ctx.targetProps,\n className: clsx(ctx.targetProps.className, children.props.className),\n [refProp]: targetRef,\n ...(!ctx.controlled ? { onClick: ctx.onToggle } : null),\n });\n}\n\nPopoverTarget.displayName = '@mantine/core/PopoverTarget';\n"],"names":["isElement","POPOVER_ERRORS","usePopoverContext","useMergedRef","cloneElement","clsx"],"mappings":";;;;;;;;;;;AAAA,IAAI,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC;AACtC,IAAI,UAAU,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACzC,IAAI,iBAAiB,GAAG,MAAM,CAAC,yBAAyB,CAAC;AACzD,IAAI,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACvD,IAAI,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC;AACnD,IAAI,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC;AACzD,IAAI,eAAe,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,KAAK,GAAG,IAAI,GAAG,GAAG,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAChK,IAAI,cAAc,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK;AAC/B,EAAE,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;AAChC,IAAI,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC;AAClC,MAAM,eAAe,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAA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W,CAAC,EAAE;AACnI,IAAI,SAAS,EAAEC,WAAI,CAAC,GAAG,CAAC,WAAW,CAAC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC;AACxE,IAAI,CAAC,OAAO,GAAG,SAAS;AACxB,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,UAAU,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AAC3D,CAAC;AACD,aAAa,CAAC,WAAW,GAAG,6BAA6B;;;;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { cloneElement } from 'react';
|
|
2
2
|
import { useMergedRef } from '@mantine/hooks';
|
|
3
3
|
import { isElement } from '@mantine/utils';
|
|
4
|
+
import { clsx } from '@mantine/styles';
|
|
4
5
|
import { usePopoverContext } from '../Popover.context.js';
|
|
5
6
|
import { POPOVER_ERRORS } from '../Popover.errors.js';
|
|
6
7
|
|
|
@@ -40,6 +41,7 @@ function PopoverTarget({
|
|
|
40
41
|
id: ctx.getTargetId()
|
|
41
42
|
} : {};
|
|
42
43
|
return cloneElement(children, __spreadValues(__spreadProps(__spreadValues(__spreadValues({}, accessibleProps), ctx.targetProps), {
|
|
44
|
+
className: clsx(ctx.targetProps.className, children.props.className),
|
|
43
45
|
[refProp]: targetRef
|
|
44
46
|
}), !ctx.controlled ? { onClick: ctx.onToggle } : null));
|
|
45
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverTarget.js","sources":["../../../../src/components/Popover/PopoverTarget/PopoverTarget.tsx"],"sourcesContent":["import React, { cloneElement } from 'react';\nimport { useMergedRef } from '@mantine/hooks';\nimport { isElement } from '@mantine/utils';\nimport { usePopoverContext } from '../Popover.context';\nimport { POPOVER_ERRORS } from '../Popover.errors';\n\nexport interface PopoverTargetProps {\n /** Target element */\n children: React.ReactNode;\n\n /** Key of the prop that should be used to get element ref */\n refProp?: string;\n\n /** Popup accessible type, 'dialog' by default */\n popupType?: string;\n}\n\nexport function PopoverTarget({\n children,\n refProp = 'ref',\n popupType = 'dialog',\n}: PopoverTargetProps) {\n if (!isElement(children)) {\n throw new Error(POPOVER_ERRORS.children);\n }\n\n const ctx = usePopoverContext();\n const targetRef = useMergedRef(ctx.reference, (children as any).ref);\n\n const accessibleProps = ctx.withRoles\n ? {\n 'aria-haspopup': popupType,\n 'aria-expanded': ctx.opened,\n 'aria-controls': ctx.getDropdownId(),\n id: ctx.getTargetId(),\n }\n : {};\n\n return cloneElement(children, {\n ...accessibleProps,\n ...ctx.targetProps,\n [refProp]: targetRef,\n ...(!ctx.controlled ? { onClick: ctx.onToggle } : null),\n });\n}\n\nPopoverTarget.displayName = '@mantine/core/PopoverTarget';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PopoverTarget.js","sources":["../../../../src/components/Popover/PopoverTarget/PopoverTarget.tsx"],"sourcesContent":["import React, { cloneElement } from 'react';\nimport { useMergedRef } from '@mantine/hooks';\nimport { isElement } from '@mantine/utils';\nimport { clsx } from '@mantine/styles';\nimport { usePopoverContext } from '../Popover.context';\nimport { POPOVER_ERRORS } from '../Popover.errors';\n\nexport interface PopoverTargetProps {\n /** Target element */\n children: React.ReactNode;\n\n /** Key of the prop that should be used to get element ref */\n refProp?: string;\n\n /** Popup accessible type, 'dialog' by default */\n popupType?: string;\n}\n\nexport function PopoverTarget({\n children,\n refProp = 'ref',\n popupType = 'dialog',\n}: PopoverTargetProps) {\n if (!isElement(children)) {\n throw new Error(POPOVER_ERRORS.children);\n }\n\n const ctx = usePopoverContext();\n const targetRef = useMergedRef(ctx.reference, (children as any).ref);\n\n const accessibleProps = ctx.withRoles\n ? {\n 'aria-haspopup': popupType,\n 'aria-expanded': ctx.opened,\n 'aria-controls': ctx.getDropdownId(),\n id: ctx.getTargetId(),\n }\n : {};\n\n return cloneElement(children, {\n ...accessibleProps,\n ...ctx.targetProps,\n className: clsx(ctx.targetProps.className, children.props.className),\n [refPro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AAQ,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AAC3D,CAAC;AACD,aAAa,CAAC,WAAW,GAAG,6BAA6B;;;;"}
|
|
@@ -5,8 +5,8 @@ export interface AccordionControlStylesParams extends AccordionStylesParams {
|
|
|
5
5
|
transitionDuration: number;
|
|
6
6
|
chevronSize: number;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (params: AccordionControlStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
9
|
-
classes: Record<"
|
|
8
|
+
declare const _default: (params: AccordionControlStylesParams, options?: import("@mantine/styles").UseStylesOptions<"label" | "icon" | "itemTitle" | "control" | "chevron">) => {
|
|
9
|
+
classes: Record<"label" | "icon" | "itemTitle" | "control" | "chevron", string>;
|
|
10
10
|
cx: (...args: any) => string;
|
|
11
11
|
theme: MantineTheme;
|
|
12
12
|
};
|
|
@@ -5,8 +5,8 @@ export interface AlertStylesParams {
|
|
|
5
5
|
radius: MantineNumberSize;
|
|
6
6
|
variant: AlertVariant;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (params: AlertStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
9
|
-
classes: Record<"
|
|
8
|
+
declare const _default: (params: AlertStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "label" | "title" | "root" | "wrapper" | "icon" | "closeButton" | "message">) => {
|
|
9
|
+
classes: Record<"body" | "label" | "title" | "root" | "wrapper" | "icon" | "closeButton" | "message", string>;
|
|
10
10
|
cx: (...args: any) => string;
|
|
11
11
|
theme: MantineTheme;
|
|
12
12
|
};
|
|
@@ -23,5 +23,5 @@ export interface HorizontalSectionProps extends HorizontalSectionSharedProps, Om
|
|
|
23
23
|
section: 'navbar' | 'aside';
|
|
24
24
|
__staticSelector: string;
|
|
25
25
|
}
|
|
26
|
-
export declare const HorizontalSection: React.ForwardRefExoticComponent<Pick<HorizontalSectionProps, "
|
|
26
|
+
export declare const HorizontalSection: React.ForwardRefExoticComponent<Pick<HorizontalSectionProps, "p" | "slot" | "section" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "classNames" | "styles" | "unstyled" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "py" | "px" | "pt" | "pb" | "pl" | "pr" | "height" | "position" | "width" | "zIndex" | "fixed" | "__staticSelector" | "hiddenBreakpoint"> & React.RefAttributes<HTMLElement>>;
|
|
27
27
|
//# sourceMappingURL=HorizontalSection.d.ts.map
|
|
@@ -2,8 +2,8 @@ import { MantineSize } from '@mantine/styles';
|
|
|
2
2
|
export interface AutocompleteStylesParams {
|
|
3
3
|
size: MantineSize;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: AutocompleteStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
6
|
-
classes: Record<"
|
|
5
|
+
declare const _default: (params: AutocompleteStylesParams, options?: import("@mantine/styles").UseStylesOptions<"nothingFound" | "hovered" | "wrapper" | "item">) => {
|
|
6
|
+
classes: Record<"nothingFound" | "hovered" | "wrapper" | "item", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -8,8 +8,8 @@ export interface BadgeStylesParams {
|
|
|
8
8
|
variant: BadgeVariant;
|
|
9
9
|
fullWidth: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: (params: BadgeStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "rightSection" | "
|
|
12
|
-
classes: Record<"root" | "rightSection" | "
|
|
11
|
+
declare const _default: (params: BadgeStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "rightSection" | "inner" | "leftSection">) => {
|
|
12
|
+
classes: Record<"root" | "rightSection" | "inner" | "leftSection", string>;
|
|
13
13
|
cx: (...args: any) => string;
|
|
14
14
|
theme: MantineTheme;
|
|
15
15
|
};
|
|
@@ -2,8 +2,8 @@ import { MantineColor } from '@mantine/styles';
|
|
|
2
2
|
export interface BlockquoteStylesParams {
|
|
3
3
|
color: MantineColor;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: BlockquoteStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
6
|
-
classes: Record<"
|
|
5
|
+
declare const _default: (params: BlockquoteStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "cite" | "root" | "icon" | "inner">) => {
|
|
6
|
+
classes: Record<"body" | "cite" | "root" | "icon" | "inner", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: (params: void, options?: import("@mantine/styles").UseStylesOptions<"
|
|
2
|
-
classes: Record<"
|
|
1
|
+
declare const _default: (params: void, options?: import("@mantine/styles").UseStylesOptions<"root" | "separator" | "breadcrumb">) => {
|
|
2
|
+
classes: Record<"root" | "separator" | "breadcrumb", string>;
|
|
3
3
|
cx: (...args: any) => string;
|
|
4
4
|
theme: import("@mantine/styles").MantineTheme;
|
|
5
5
|
};
|
|
@@ -5,8 +5,8 @@ export interface CheckboxStylesParams {
|
|
|
5
5
|
color: MantineColor;
|
|
6
6
|
transitionDuration: number;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (params: CheckboxStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
9
|
-
classes: Record<"
|
|
8
|
+
declare const _default: (params: CheckboxStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "label" | "root" | "icon" | "inner">) => {
|
|
9
|
+
classes: Record<"input" | "label" | "root" | "icon" | "inner", string>;
|
|
10
10
|
cx: (...args: any) => string;
|
|
11
11
|
theme: import("@mantine/styles").MantineTheme;
|
|
12
12
|
};
|
|
@@ -2,8 +2,8 @@ import { MantineColor } from '@mantine/styles';
|
|
|
2
2
|
export interface CodeStylesParams {
|
|
3
3
|
color: MantineColor;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: CodeStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
6
|
-
classes: Record<"
|
|
5
|
+
declare const _default: (params: CodeStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "block">) => {
|
|
6
|
+
classes: Record<"root" | "block", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -10,8 +10,8 @@ export declare const sizes: {
|
|
|
10
10
|
lg: number;
|
|
11
11
|
xl: number;
|
|
12
12
|
};
|
|
13
|
-
declare const _default: (params: ColorPickerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "slider" | "wrapper" | "
|
|
14
|
-
classes: Record<"body" | "slider" | "wrapper" | "
|
|
13
|
+
declare const _default: (params: ColorPickerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "slider" | "wrapper" | "preview" | "sliders" | "swatch">) => {
|
|
14
|
+
classes: Record<"body" | "slider" | "wrapper" | "preview" | "sliders" | "swatch", string>;
|
|
15
15
|
cx: (...args: any) => string;
|
|
16
16
|
theme: import("@mantine/styles").MantineTheme;
|
|
17
17
|
};
|
|
@@ -3,8 +3,8 @@ export interface ColorSwatchStylesParams {
|
|
|
3
3
|
radius: MantineNumberSize;
|
|
4
4
|
size: number;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: ColorSwatchStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: ColorSwatchStylesParams, options?: import("@mantine/styles").UseStylesOptions<"children" | "root" | "overlay" | "shadowOverlay" | "alphaOverlay">) => {
|
|
7
|
+
classes: Record<"children" | "root" | "overlay" | "shadowOverlay" | "alphaOverlay", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -4,8 +4,8 @@ export interface DividerStylesParams {
|
|
|
4
4
|
variant: 'solid' | 'dashed' | 'dotted';
|
|
5
5
|
color: MantineColor;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: (params: DividerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
8
|
-
classes: Record<"
|
|
7
|
+
declare const _default: (params: DividerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"label" | "root" | "left" | "right" | "horizontal" | "vertical" | "withLabel" | "labelDefaultStyles">) => {
|
|
8
|
+
classes: Record<"label" | "root" | "left" | "right" | "horizontal" | "vertical" | "withLabel" | "labelDefaultStyles", string>;
|
|
9
9
|
cx: (...args: any) => string;
|
|
10
10
|
theme: MantineTheme;
|
|
11
11
|
};
|
|
@@ -6,8 +6,8 @@ export interface DrawerStylesParams {
|
|
|
6
6
|
size: number | string;
|
|
7
7
|
zIndex: React.CSSProperties['zIndex'];
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (params: DrawerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
10
|
-
classes: Record<"
|
|
9
|
+
declare const _default: (params: DrawerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"header" | "title" | "root" | "overlay" | "closeButton" | "drawer">) => {
|
|
10
|
+
classes: Record<"header" | "title" | "root" | "overlay" | "closeButton" | "drawer", string>;
|
|
11
11
|
cx: (...args: any) => string;
|
|
12
12
|
theme: MantineTheme;
|
|
13
13
|
};
|
|
@@ -15,8 +15,8 @@ export declare const GROUP_POSITIONS: {
|
|
|
15
15
|
right: string;
|
|
16
16
|
apart: string;
|
|
17
17
|
};
|
|
18
|
-
declare const _default: (params: GroupStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
19
|
-
classes: Record<"
|
|
18
|
+
declare const _default: (params: GroupStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "child">) => {
|
|
19
|
+
classes: Record<"root" | "child", string>;
|
|
20
20
|
cx: (...args: any) => string;
|
|
21
21
|
theme: import("@mantine/styles").MantineTheme;
|
|
22
22
|
};
|
|
@@ -20,8 +20,8 @@ export declare const sizes: {
|
|
|
20
20
|
lg: number;
|
|
21
21
|
xl: number;
|
|
22
22
|
};
|
|
23
|
-
declare const _default: (params: InputStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
24
|
-
classes: Record<"
|
|
23
|
+
declare const _default: (params: InputStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "disabled" | "wrapper" | "withIcon" | "invalid" | "icon" | "rightSection">) => {
|
|
24
|
+
classes: Record<"input" | "disabled" | "wrapper" | "withIcon" | "invalid" | "icon" | "rightSection", string>;
|
|
25
25
|
cx: (...args: any) => string;
|
|
26
26
|
theme: MantineTheme;
|
|
27
27
|
};
|
|
@@ -5,7 +5,7 @@ interface BaseProps extends InputWrapperBaseProps, InputSharedProps, DefaultProp
|
|
|
5
5
|
__staticSelector?: string;
|
|
6
6
|
id?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function useInputProps<T extends BaseProps>(component: string, defaultProps: Partial<T>, props: T): Omit<import("@mantine/styles").MantineStyleSystemProps & Omit<T, "label" | "style" | "id" | "
|
|
8
|
+
export declare function useInputProps<T extends BaseProps>(component: string, defaultProps: Partial<T>, props: T): Omit<import("@mantine/styles").MantineStyleSystemProps & Omit<T, "label" | "style" | "className" | "id" | "sx" | "classNames" | "styles" | "unstyled" | "required" | "size" | "labelProps" | "error" | "description" | "wrapperProps" | "__staticSelector" | "descriptionProps" | "errorProps" | "inputContainer" | "inputWrapperOrder">, "p" | "m" | "my" | "mx" | "mt" | "mb" | "ml" | "mr" | "py" | "px" | "pt" | "pb" | "pl" | "pr"> & {
|
|
9
9
|
classNames: Partial<Record<never, string>>;
|
|
10
10
|
styles: import("@mantine/styles").Styles<never, never>;
|
|
11
11
|
unstyled: boolean;
|
|
@@ -3,8 +3,8 @@ interface ListItemStyles {
|
|
|
3
3
|
spacing: MantineNumberSize;
|
|
4
4
|
center: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: ListItemStyles, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: ListItemStyles, options?: import("@mantine/styles").UseStylesOptions<"withIcon" | "item" | "itemIcon" | "itemWrapper">) => {
|
|
7
|
+
classes: Record<"withIcon" | "item" | "itemIcon" | "itemWrapper", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -3,8 +3,8 @@ interface MenuItemStylesParams {
|
|
|
3
3
|
color: MantineColor;
|
|
4
4
|
radius: MantineNumberSize;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: MenuItemStylesParams, options?: import("@mantine/styles").UseStylesOptions<"item" | "
|
|
7
|
-
classes: Record<"item" | "
|
|
6
|
+
declare const _default: (params: MenuItemStylesParams, options?: import("@mantine/styles").UseStylesOptions<"item" | "itemLabel" | "itemIcon" | "itemRightSection">) => {
|
|
7
|
+
classes: Record<"item" | "itemLabel" | "itemIcon" | "itemRightSection", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -6,8 +6,8 @@ export interface ModalStylesParams {
|
|
|
6
6
|
zIndex: React.CSSProperties['zIndex'];
|
|
7
7
|
fullScreen: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (params: ModalStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
10
|
-
classes: Record<"
|
|
9
|
+
declare const _default: (params: ModalStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "header" | "title" | "root" | "overlay" | "inner" | "modal" | "close">) => {
|
|
10
|
+
classes: Record<"body" | "header" | "title" | "root" | "overlay" | "inner" | "modal" | "close", string>;
|
|
11
11
|
cx: (...args: any) => string;
|
|
12
12
|
theme: import("@mantine/styles").MantineTheme;
|
|
13
13
|
};
|
|
@@ -3,8 +3,8 @@ export interface MultiSelectStylesParams {
|
|
|
3
3
|
size: MantineSize;
|
|
4
4
|
invalid: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: MultiSelectStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "
|
|
7
|
-
classes: Record<"input" | "
|
|
6
|
+
declare const _default: (params: MultiSelectStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "values" | "value" | "wrapper" | "searchInput" | "searchInputEmpty" | "searchInputInputHidden" | "searchInputPointer">) => {
|
|
7
|
+
classes: Record<"input" | "values" | "value" | "wrapper" | "searchInput" | "searchInputEmpty" | "searchInputInputHidden" | "searchInputPointer", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -6,8 +6,8 @@ export interface NavLinkStylesParams {
|
|
|
6
6
|
childrenOffset: MantineNumberSize;
|
|
7
7
|
alignIcon: 'top' | 'center';
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (params: NavLinkStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
10
|
-
classes: Record<"
|
|
9
|
+
declare const _default: (params: NavLinkStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "label" | "children" | "root" | "icon" | "rightSection" | "description">) => {
|
|
10
|
+
classes: Record<"body" | "label" | "children" | "root" | "icon" | "rightSection" | "description", string>;
|
|
11
11
|
cx: (...args: any) => string;
|
|
12
12
|
theme: import("@mantine/styles").MantineTheme;
|
|
13
13
|
};
|
|
@@ -3,8 +3,8 @@ export interface NotificationStylesParams {
|
|
|
3
3
|
color: MantineColor;
|
|
4
4
|
radius: MantineNumberSize;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: NotificationStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: NotificationStylesParams, options?: import("@mantine/styles").UseStylesOptions<"body" | "title" | "root" | "withIcon" | "icon" | "description" | "closeButton" | "loader">) => {
|
|
7
|
+
classes: Record<"body" | "title" | "root" | "withIcon" | "icon" | "description" | "closeButton" | "loader", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -10,8 +10,8 @@ export declare const CONTROL_SIZES: {
|
|
|
10
10
|
lg: number;
|
|
11
11
|
xl: number;
|
|
12
12
|
};
|
|
13
|
-
declare const _default: (params: NumberInputStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
14
|
-
classes: Record<"
|
|
13
|
+
declare const _default: (params: NumberInputStylesParams, options?: import("@mantine/styles").UseStylesOptions<"rightSection" | "control" | "controlUp" | "controlDown">) => {
|
|
14
|
+
classes: Record<"rightSection" | "control" | "controlUp" | "controlDown", string>;
|
|
15
15
|
cx: (...args: any) => string;
|
|
16
16
|
theme: import("@mantine/styles").MantineTheme;
|
|
17
17
|
};
|
|
@@ -3,8 +3,8 @@ export interface PopoverStylesParams {
|
|
|
3
3
|
radius?: MantineNumberSize;
|
|
4
4
|
shadow?: MantineShadow;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: PopoverStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
7
|
-
classes: Record<"
|
|
6
|
+
declare const _default: (params: PopoverStylesParams, options?: import("@mantine/styles").UseStylesOptions<"arrow" | "dropdown">) => {
|
|
7
|
+
classes: Record<"arrow" | "dropdown", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverTarget.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/PopoverTarget/PopoverTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PopoverTarget.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/PopoverTarget/PopoverTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAO5C,MAAM,WAAW,kBAAkB;IACjC,qBAAqB;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B,6DAA6D;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,OAAe,EACf,SAAoB,GACrB,EAAE,kBAAkB,sEAwBpB;yBA5Be,aAAa"}
|
|
@@ -4,8 +4,8 @@ export interface RadioStylesParams {
|
|
|
4
4
|
color: MantineColor;
|
|
5
5
|
transitionDuration: number;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: (params: RadioStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
8
|
-
classes: Record<"
|
|
7
|
+
declare const _default: (params: RadioStylesParams, options?: import("@mantine/styles").UseStylesOptions<"label" | "radio" | "icon" | "inner" | "radioWrapper">) => {
|
|
8
|
+
classes: Record<"label" | "radio" | "icon" | "inner" | "radioWrapper", string>;
|
|
9
9
|
cx: (...args: any) => string;
|
|
10
10
|
theme: import("@mantine/styles").MantineTheme;
|
|
11
11
|
};
|
|
@@ -3,8 +3,8 @@ export interface ScrollAreaStylesParams {
|
|
|
3
3
|
offsetScrollbars: boolean;
|
|
4
4
|
scrollbarHovered: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (params: ScrollAreaStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "
|
|
7
|
-
classes: Record<"root" | "
|
|
6
|
+
declare const _default: (params: ScrollAreaStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "scrollbar" | "viewport" | "thumb" | "corner">) => {
|
|
7
|
+
classes: Record<"root" | "scrollbar" | "viewport" | "thumb" | "corner", string>;
|
|
8
8
|
cx: (...args: any) => string;
|
|
9
9
|
theme: import("@mantine/styles").MantineTheme;
|
|
10
10
|
};
|
|
@@ -10,8 +10,8 @@ export interface SegmentedControlStylesParams {
|
|
|
10
10
|
size: MantineSize;
|
|
11
11
|
orientation: 'vertical' | 'horizontal';
|
|
12
12
|
}
|
|
13
|
-
declare const _default: (params: SegmentedControlStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
14
|
-
classes: Record<"
|
|
13
|
+
declare const _default: (params: SegmentedControlStylesParams, options?: import("@mantine/styles").UseStylesOptions<"input" | "label" | "root" | "disabled" | "active" | "control" | "controlActive" | "labelActive">) => {
|
|
14
|
+
classes: Record<"input" | "label" | "root" | "disabled" | "active" | "control" | "controlActive" | "labelActive", string>;
|
|
15
15
|
cx: (...args: any) => string;
|
|
16
16
|
theme: import("@mantine/styles").MantineTheme;
|
|
17
17
|
};
|
|
@@ -2,8 +2,8 @@ import { MantineSize } from '@mantine/styles';
|
|
|
2
2
|
interface SelectItemsStyles {
|
|
3
3
|
size: MantineSize;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (params: SelectItemsStyles, options?: import("@mantine/styles").UseStylesOptions<"separator" | "
|
|
6
|
-
classes: Record<"separator" | "
|
|
5
|
+
declare const _default: (params: SelectItemsStyles, options?: import("@mantine/styles").UseStylesOptions<"separator" | "separatorLabel" | "nothingFound" | "item">) => {
|
|
6
|
+
classes: Record<"separator" | "separatorLabel" | "nothingFound" | "item", string>;
|
|
7
7
|
cx: (...args: any) => string;
|
|
8
8
|
theme: import("@mantine/styles").MantineTheme;
|
|
9
9
|
};
|
|
@@ -7,8 +7,8 @@ export interface SkeletonStylesParams {
|
|
|
7
7
|
animate: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const fade: import("@emotion/serialize").Keyframes;
|
|
10
|
-
declare const _default: (params: SkeletonStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
11
|
-
classes: Record<"
|
|
10
|
+
declare const _default: (params: SkeletonStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "visible">) => {
|
|
11
|
+
classes: Record<"root" | "visible", string>;
|
|
12
12
|
cx: (...args: any) => string;
|
|
13
13
|
theme: import("@mantine/styles").MantineTheme;
|
|
14
14
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface SpoilerStylesParams {
|
|
2
2
|
transitionDuration: number;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: (params: SpoilerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
5
|
-
classes: Record<"
|
|
4
|
+
declare const _default: (params: SpoilerStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "content" | "control">) => {
|
|
5
|
+
classes: Record<"root" | "content" | "control", string>;
|
|
6
6
|
cx: (...args: any) => string;
|
|
7
7
|
theme: import("@mantine/styles").MantineTheme;
|
|
8
8
|
};
|
|
@@ -8,8 +8,8 @@ export interface StepperStylesParams {
|
|
|
8
8
|
iconPosition: 'right' | 'left';
|
|
9
9
|
breakpoint: MantineNumberSize;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: (params: StepperStylesParams, options?: import("@mantine/styles").UseStylesOptions<"
|
|
12
|
-
classes: Record<"
|
|
11
|
+
declare const _default: (params: StepperStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "content" | "separator" | "steps" | "separatorActive">) => {
|
|
12
|
+
classes: Record<"root" | "content" | "separator" | "steps" | "separatorActive", string>;
|
|
13
13
|
cx: (...args: any) => string;
|
|
14
14
|
theme: import("@mantine/styles").MantineTheme;
|
|
15
15
|
};
|
|
@@ -5,8 +5,8 @@ export interface TableStylesParams {
|
|
|
5
5
|
verticalSpacing: MantineNumberSize;
|
|
6
6
|
fontSize: MantineNumberSize;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (params: TableStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "
|
|
9
|
-
classes: Record<"root" | "
|
|
8
|
+
declare const _default: (params: TableStylesParams, options?: import("@mantine/styles").UseStylesOptions<"root" | "striped" | "hover">) => {
|
|
9
|
+
classes: Record<"root" | "striped" | "hover", string>;
|
|
10
10
|
cx: (...args: any) => string;
|
|
11
11
|
theme: import("@mantine/styles").MantineTheme;
|
|
12
12
|
};
|
|
@@ -7,8 +7,8 @@ interface TimelineItemStyles {
|
|
|
7
7
|
lineVariant: 'solid' | 'dashed' | 'dotted';
|
|
8
8
|
lineWidth: number;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: (params: TimelineItemStyles, options?: import("@mantine/styles").UseStylesOptions<"
|
|
11
|
-
classes: Record<"
|
|
10
|
+
declare const _default: (params: TimelineItemStyles, options?: import("@mantine/styles").UseStylesOptions<"itemBody" | "itemContent" | "itemBulletWithChild" | "itemBullet" | "item" | "itemLineActive" | "itemActive" | "itemTitle">) => {
|
|
11
|
+
classes: Record<"itemBody" | "itemContent" | "itemBulletWithChild" | "itemBullet" | "item" | "itemLineActive" | "itemActive" | "itemTitle", string>;
|
|
12
12
|
cx: (...args: any) => string;
|
|
13
13
|
theme: import("@mantine/styles").MantineTheme;
|
|
14
14
|
};
|
|
@@ -4,8 +4,8 @@ interface RenderListStyles {
|
|
|
4
4
|
native: boolean;
|
|
5
5
|
radius: MantineNumberSize;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: (params: RenderListStyles, options?: import("@mantine/styles").UseStylesOptions<"separator" | "
|
|
8
|
-
classes: Record<"separator" | "
|
|
7
|
+
declare const _default: (params: RenderListStyles, options?: import("@mantine/styles").UseStylesOptions<"separator" | "transferList" | "transferListItem" | "transferListItemHovered" | "transferListItems" | "transferListHeader" | "transferListBody" | "transferListTitle" | "transferListSearch" | "transferListControl" | "separatorLabel">) => {
|
|
8
|
+
classes: Record<"separator" | "transferList" | "transferListItem" | "transferListItemHovered" | "transferListItems" | "transferListHeader" | "transferListBody" | "transferListTitle" | "transferListSearch" | "transferListControl" | "separatorLabel", string>;
|
|
9
9
|
cx: (...args: any) => string;
|
|
10
10
|
theme: import("@mantine/styles").MantineTheme;
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/core",
|
|
3
3
|
"description": "React components library focused on usability, accessibility and developer experience",
|
|
4
|
-
"version": "5.0.0-alpha.
|
|
4
|
+
"version": "5.0.0-alpha.17",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"emotion"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@mantine/hooks": "5.0.0-alpha.
|
|
30
|
+
"@mantine/hooks": "5.0.0-alpha.17",
|
|
31
31
|
"react": ">=16.8.0",
|
|
32
32
|
"react-dom": ">=16.8.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@mantine/utils": "5.0.0-alpha.
|
|
36
|
-
"@mantine/styles": "5.0.0-alpha.
|
|
35
|
+
"@mantine/utils": "5.0.0-alpha.17",
|
|
36
|
+
"@mantine/styles": "5.0.0-alpha.17",
|
|
37
37
|
"@radix-ui/react-scroll-area": "0.1.4",
|
|
38
38
|
"react-textarea-autosize": "8.3.4",
|
|
39
39
|
"@floating-ui/react-dom-interactions": "0.3.1"
|