@conveyorhq/arrow-ds 1.107.0 → 1.109.0
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/package.json +2 -2
- package/public/components/Combobox/ui.js +2 -2
- package/public/components/Floating/FloatingTooltip.d.ts +13 -3
- package/public/components/Floating/FloatingTooltip.js +34 -5
- package/public/components/Floating/index.d.ts +1 -0
- package/public/components/Portal/Portal.d.ts +7 -5
- package/public/components/Portal/Portal.js +2 -2
- package/public/components/Portal/index.d.ts +1 -1
- package/public/components/Portal/index.js +11 -3
- package/public/components/Tooltip/TooltipLink.d.ts +3 -0
- package/public/components/Tooltip/TooltipLink.js +29 -0
- package/public/components/Tooltip/index.d.ts +1 -0
- package/public/components/Tooltip/index.js +1 -0
- package/public/css/styles.css +22 -0
- package/public/css/styles.min.css +1 -1
- package/public/css/styles.min.css.map +1 -1
- package/src/components/Combobox/ui.tsx +1 -2
- package/src/components/Floating/FloatingTooltip.story.mdx +21 -0
- package/src/components/Floating/FloatingTooltip.tsx +61 -6
- package/src/components/Floating/index.css +5 -0
- package/src/components/Floating/index.ts +1 -0
- package/src/components/Portal/Portal.story.mdx +1 -1
- package/src/components/Portal/Portal.tsx +10 -6
- package/src/components/Portal/index.ts +1 -1
- package/src/components/Tooltip/TooltipLink.tsx +20 -0
- package/src/components/Tooltip/index.ts +1 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@conveyorhq/arrow-ds",
|
|
3
3
|
"author": "Conveyor",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.109.0",
|
|
6
6
|
"description": "Arrow Design System",
|
|
7
7
|
"repository": "https://github.com/conveyor/arrow-ds",
|
|
8
8
|
"publishConfig": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"components"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@floating-ui/react-dom-interactions": "^0.
|
|
21
|
+
"@floating-ui/react-dom-interactions": "^0.13.3",
|
|
22
22
|
"@fortawesome/fontawesome-svg-core": "^1.2.26",
|
|
23
23
|
"@fortawesome/free-regular-svg-icons": "^5.14.0",
|
|
24
24
|
"@fortawesome/free-solid-svg-icons": "^5.14.0",
|
|
@@ -24,13 +24,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.ClearButton = exports.Arrow = exports.Container = exports.Tag = exports.Listbox = exports.NoOptions = exports.Option = exports.defaultPopperModifiers = exports.surfaceMultiClassName = exports.surfaceClassName = exports.selectInputCn = exports.cn = void 0;
|
|
26
26
|
const react_1 = __importStar(require("react"));
|
|
27
|
-
const portal_1 = __importDefault(require("@reach/portal"));
|
|
28
27
|
const classnames_1 = __importDefault(require("classnames"));
|
|
29
28
|
const bem_1 = require("../../utilities/bem");
|
|
30
29
|
const Box_1 = require("../Box");
|
|
31
30
|
const CloseButton_1 = require("../CloseButton");
|
|
32
31
|
const Icon_1 = require("../Icon");
|
|
33
32
|
const Token_1 = require("../Token");
|
|
33
|
+
const Portal_1 = require("../Portal");
|
|
34
34
|
exports.cn = "Combobox";
|
|
35
35
|
exports.selectInputCn = bem_1.bem(exports.cn, { e: "input" });
|
|
36
36
|
exports.surfaceClassName = classnames_1.default([
|
|
@@ -66,7 +66,7 @@ const NoOptions = ({ canCreate, searchValue, create, }) => {
|
|
|
66
66
|
};
|
|
67
67
|
exports.NoOptions = NoOptions;
|
|
68
68
|
const Listbox = ({ children, top = 0, left = 0, width = "100%", }) => {
|
|
69
|
-
return (react_1.default.createElement(
|
|
69
|
+
return (react_1.default.createElement(Portal_1.Portal, null,
|
|
70
70
|
react_1.default.createElement(Box_1.Box, { role: "listbox", style: { position: "absolute", top, left, width }, className: bem_1.bem(exports.cn, { e: "listbox" }) }, children)));
|
|
71
71
|
};
|
|
72
72
|
exports.Listbox = Listbox;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from "react";
|
|
1
|
+
import React, { HTMLProps, PropsWithChildren } from "react";
|
|
2
2
|
import type { Placement } from "@floating-ui/react-dom-interactions";
|
|
3
|
+
import { PortalRootElementType } from "../Portal";
|
|
3
4
|
interface FloatingTooltipOptions {
|
|
4
5
|
initialOpen?: boolean;
|
|
5
6
|
placement?: Placement;
|
|
@@ -12,12 +13,21 @@ export declare function FloatingTooltipRoot({ children, ...options }: PropsWithC
|
|
|
12
13
|
export declare const FloatingTooltipTrigger: React.ForwardRefExoticComponent<Pick<React.HTMLProps<HTMLElement> & {
|
|
13
14
|
asChild?: boolean | undefined;
|
|
14
15
|
}, "as" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "key" | "list" | "step" | "cite" | "data" | "form" | "label" | "span" | "summary" | "pattern" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "asChild"> & React.RefAttributes<HTMLElement>>;
|
|
15
|
-
export
|
|
16
|
+
export interface FloatingTooltipContentProps extends HTMLProps<HTMLDivElement> {
|
|
17
|
+
portalRoot?: PortalRootElementType;
|
|
18
|
+
}
|
|
19
|
+
export declare const FloatingTooltipContent: React.ForwardRefExoticComponent<Pick<FloatingTooltipContentProps, "as" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "key" | "list" | "step" | "cite" | "data" | "form" | "label" | "span" | "summary" | "pattern" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "portalRoot"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export declare type FloatingTooltipArrowProps = {
|
|
21
|
+
fill?: string;
|
|
22
|
+
size?: number;
|
|
23
|
+
};
|
|
24
|
+
export declare const FloatingTooltipArrow: ({ fill, size, }: FloatingTooltipArrowProps) => JSX.Element;
|
|
16
25
|
export declare const FloatingTooltip: typeof FloatingTooltipRoot & {
|
|
17
26
|
Root: typeof FloatingTooltipRoot;
|
|
18
27
|
Trigger: React.ForwardRefExoticComponent<Pick<React.HTMLProps<HTMLElement> & {
|
|
19
28
|
asChild?: boolean | undefined;
|
|
20
29
|
}, "as" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "key" | "list" | "step" | "cite" | "data" | "form" | "label" | "span" | "summary" | "pattern" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "asChild"> & React.RefAttributes<HTMLElement>>;
|
|
21
|
-
Content: React.ForwardRefExoticComponent<Pick<
|
|
30
|
+
Content: React.ForwardRefExoticComponent<Pick<FloatingTooltipContentProps, "as" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "key" | "list" | "step" | "cite" | "data" | "form" | "label" | "span" | "summary" | "pattern" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "portalRoot"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
Arrow: ({ fill, size, }: FloatingTooltipArrowProps) => JSX.Element;
|
|
22
32
|
};
|
|
23
33
|
export {};
|
|
@@ -22,16 +22,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
22
22
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.FloatingTooltip = exports.FloatingTooltipContent = exports.FloatingTooltipTrigger = exports.FloatingTooltipRoot = exports.useFloatingTooltipState = exports.useFloatingTooltip = void 0;
|
|
25
|
+
exports.FloatingTooltip = exports.FloatingTooltipArrow = exports.FloatingTooltipContent = exports.FloatingTooltipTrigger = exports.FloatingTooltipRoot = exports.useFloatingTooltipState = exports.useFloatingTooltip = void 0;
|
|
26
26
|
const react_1 = __importStar(require("react"));
|
|
27
27
|
const react_merge_refs_1 = __importDefault(require("react-merge-refs"));
|
|
28
28
|
const react_dom_interactions_1 = require("@floating-ui/react-dom-interactions");
|
|
29
29
|
const classnames_1 = __importDefault(require("classnames"));
|
|
30
|
+
const tokens_1 = require("../../style-dictionary/dist/tokens");
|
|
30
31
|
const bem_1 = require("../../utilities/bem");
|
|
31
32
|
const Box_1 = require("../Box");
|
|
32
33
|
const cn = bem_1.bemHOF("FloatingTooltip");
|
|
33
34
|
function useFloatingTooltip({ initialOpen = false, placement = "top", open: controlledOpen, onOpenChange: setControlledOpen, } = {}) {
|
|
34
35
|
const [uncontrolledOpen, setUncontrolledOpen] = react_1.useState(initialOpen);
|
|
36
|
+
const arrowRef = react_1.useRef(null);
|
|
35
37
|
const open = controlledOpen !== null && controlledOpen !== void 0 ? controlledOpen : uncontrolledOpen;
|
|
36
38
|
const setOpen = setControlledOpen !== null && setControlledOpen !== void 0 ? setControlledOpen : setUncontrolledOpen;
|
|
37
39
|
const data = react_dom_interactions_1.useFloating({
|
|
@@ -39,7 +41,7 @@ function useFloatingTooltip({ initialOpen = false, placement = "top", open: cont
|
|
|
39
41
|
open,
|
|
40
42
|
onOpenChange: setOpen,
|
|
41
43
|
whileElementsMounted: react_dom_interactions_1.autoUpdate,
|
|
42
|
-
middleware: [react_dom_interactions_1.offset(
|
|
44
|
+
middleware: [react_dom_interactions_1.offset(8), react_dom_interactions_1.flip(), react_dom_interactions_1.shift(), react_dom_interactions_1.arrow({ element: arrowRef })],
|
|
43
45
|
});
|
|
44
46
|
const { context } = data;
|
|
45
47
|
const hover = react_dom_interactions_1.useHover(context, {
|
|
@@ -59,9 +61,10 @@ function useFloatingTooltip({ initialOpen = false, placement = "top", open: cont
|
|
|
59
61
|
return react_1.useMemo(() => ({
|
|
60
62
|
open,
|
|
61
63
|
setOpen,
|
|
64
|
+
arrowRef,
|
|
62
65
|
...interactions,
|
|
63
66
|
...data,
|
|
64
|
-
}), [open, setOpen, interactions, data]);
|
|
67
|
+
}), [open, setOpen, arrowRef, interactions, data]);
|
|
65
68
|
}
|
|
66
69
|
exports.useFloatingTooltip = useFloatingTooltip;
|
|
67
70
|
const FloatingTooltipContext = react_1.createContext(null);
|
|
@@ -92,14 +95,14 @@ exports.FloatingTooltipTrigger = react_1.forwardRef(function FloatingTooltipTrig
|
|
|
92
95
|
}
|
|
93
96
|
return (react_1.default.createElement(Box_1.Box, Object.assign({ ref: ref, as: "span", "data-state": state.open ? "open" : "closed" }, state.getReferenceProps(props)), children));
|
|
94
97
|
});
|
|
95
|
-
exports.FloatingTooltipContent = react_1.forwardRef(function FloatingTooltipContent({ className, style, ...props }, propRef) {
|
|
98
|
+
exports.FloatingTooltipContent = react_1.forwardRef(function FloatingTooltipContent({ className, style, portalRoot, ...props }, propRef) {
|
|
96
99
|
var _a, _b;
|
|
97
100
|
const state = exports.useFloatingTooltipState();
|
|
98
101
|
const ref = react_1.useMemo(() => react_merge_refs_1.default([state.floating, propRef]), [
|
|
99
102
|
state.floating,
|
|
100
103
|
propRef,
|
|
101
104
|
]);
|
|
102
|
-
return (react_1.default.createElement(react_dom_interactions_1.FloatingPortal,
|
|
105
|
+
return (react_1.default.createElement(react_dom_interactions_1.FloatingPortal, { root: portalRoot }, state.open && (react_1.default.createElement(Box_1.Box, Object.assign({ ref: ref, className: classnames_1.default(`${cn({ e: "content" })}`, className), style: {
|
|
103
106
|
position: state.strategy,
|
|
104
107
|
top: (_a = state.y) !== null && _a !== void 0 ? _a : 0,
|
|
105
108
|
left: (_b = state.x) !== null && _b !== void 0 ? _b : 0,
|
|
@@ -107,8 +110,34 @@ exports.FloatingTooltipContent = react_1.forwardRef(function FloatingTooltipCont
|
|
|
107
110
|
...style,
|
|
108
111
|
} }, state.getFloatingProps(props))))));
|
|
109
112
|
});
|
|
113
|
+
const FloatingTooltipArrow = ({ fill = tokens_1.tokens.color.gray[900], size = 6, }) => {
|
|
114
|
+
const { arrowRef, placement, middlewareData: { arrow: { x: arrowX = undefined, y: arrowY = undefined } = {}, }, } = exports.useFloatingTooltipState();
|
|
115
|
+
const staticSide = {
|
|
116
|
+
top: "bottom",
|
|
117
|
+
right: "left",
|
|
118
|
+
bottom: "top",
|
|
119
|
+
left: "right",
|
|
120
|
+
}[placement.split("-")[0]];
|
|
121
|
+
const props = {
|
|
122
|
+
ref: arrowRef,
|
|
123
|
+
className: `${cn({ e: "arrow" })}`,
|
|
124
|
+
style: {
|
|
125
|
+
backgroundColor: fill,
|
|
126
|
+
width: `${size}px`,
|
|
127
|
+
height: `${size}px`,
|
|
128
|
+
left: arrowX != null ? `${arrowX}px` : "",
|
|
129
|
+
top: arrowY != null ? `${arrowY}px` : "",
|
|
130
|
+
right: "",
|
|
131
|
+
bottom: "",
|
|
132
|
+
[staticSide]: `${size / -2}px`,
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
return react_1.default.createElement(Box_1.Box, Object.assign({}, props));
|
|
136
|
+
};
|
|
137
|
+
exports.FloatingTooltipArrow = FloatingTooltipArrow;
|
|
110
138
|
exports.FloatingTooltip = Object.assign({}, FloatingTooltipRoot, {
|
|
111
139
|
Root: FloatingTooltipRoot,
|
|
112
140
|
Trigger: exports.FloatingTooltipTrigger,
|
|
113
141
|
Content: exports.FloatingTooltipContent,
|
|
142
|
+
Arrow: exports.FloatingTooltipArrow,
|
|
114
143
|
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare type PortalRootElementType = HTMLElement | null | undefined;
|
|
3
|
+
export declare type PortalProps = {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
id?: string | undefined;
|
|
6
|
+
root?: PortalRootElementType;
|
|
7
|
+
};
|
|
5
8
|
export declare const Portal: (props: PortalProps) => JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -5,6 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Portal = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const
|
|
9
|
-
const Portal = (props) => react_1.default.createElement(
|
|
8
|
+
const react_dom_interactions_1 = require("@floating-ui/react-dom-interactions");
|
|
9
|
+
const Portal = (props) => react_1.default.createElement(react_dom_interactions_1.FloatingPortal, Object.assign({}, props));
|
|
10
10
|
exports.Portal = Portal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./Portal";
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
var Portal_1 = require("./Portal");
|
|
5
|
-
Object.defineProperty(exports, "Portal", { enumerable: true, get: function () { return Portal_1.Portal; } });
|
|
13
|
+
__exportStar(require("./Portal"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.TooltipLink = void 0;
|
|
26
|
+
const react_1 = __importStar(require("react"));
|
|
27
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
28
|
+
const Link_1 = require("../Link");
|
|
29
|
+
exports.TooltipLink = react_1.forwardRef(({ children, className, ...rest }, ref) => (react_1.default.createElement(Link_1.Link, Object.assign({ ref: ref, className: classnames_1.default("text-white transition-[color] underline hover:text-white hover:text-opacity-80", className), noStyles: true }, rest), children)));
|
|
@@ -11,4 +11,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./Tooltip"), exports);
|
|
14
|
+
__exportStar(require("./TooltipLink"), exports);
|
|
14
15
|
__exportStar(require("./context"), exports);
|
package/public/css/styles.css
CHANGED
|
@@ -3893,6 +3893,13 @@ override built-in Image component classes */
|
|
|
3893
3893
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
3894
3894
|
}
|
|
3895
3895
|
|
|
3896
|
+
.ads-FloatingTooltip-arrow {
|
|
3897
|
+
position: absolute;
|
|
3898
|
+
--tw-rotate: 45deg;
|
|
3899
|
+
-webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
3900
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
3901
|
+
}
|
|
3902
|
+
|
|
3896
3903
|
.ads-FormGroup {
|
|
3897
3904
|
position: relative;
|
|
3898
3905
|
margin-bottom: 24px;
|
|
@@ -8991,6 +8998,11 @@ override built-in Image component classes */
|
|
|
8991
8998
|
color: rgb(13 125 228 / var(--tw-text-opacity));
|
|
8992
8999
|
}
|
|
8993
9000
|
|
|
9001
|
+
.underline {
|
|
9002
|
+
-webkit-text-decoration-line: underline;
|
|
9003
|
+
text-decoration-line: underline;
|
|
9004
|
+
}
|
|
9005
|
+
|
|
8994
9006
|
.no-underline {
|
|
8995
9007
|
-webkit-text-decoration-line: none;
|
|
8996
9008
|
text-decoration-line: none;
|
|
@@ -9053,6 +9065,12 @@ override built-in Image component classes */
|
|
|
9053
9065
|
transition-duration: 150ms;
|
|
9054
9066
|
}
|
|
9055
9067
|
|
|
9068
|
+
.transition-\[color\] {
|
|
9069
|
+
transition-property: color;
|
|
9070
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
9071
|
+
transition-duration: 150ms;
|
|
9072
|
+
}
|
|
9073
|
+
|
|
9056
9074
|
.duration-200 {
|
|
9057
9075
|
transition-duration: 200ms;
|
|
9058
9076
|
}
|
|
@@ -9485,6 +9503,10 @@ override built-in Image component classes */
|
|
|
9485
9503
|
color: rgb(71 104 125 / var(--tw-text-opacity));
|
|
9486
9504
|
}
|
|
9487
9505
|
|
|
9506
|
+
.hover\:text-opacity-80:hover {
|
|
9507
|
+
--tw-text-opacity: 0.8;
|
|
9508
|
+
}
|
|
9509
|
+
|
|
9488
9510
|
.focus\:bg-gray-800:focus {
|
|
9489
9511
|
--tw-bg-opacity: 1;
|
|
9490
9512
|
background-color: rgb(32 65 86 / var(--tw-bg-opacity));
|