@hiver/connector-agent 4.24.0-pmSearchLink-beta.8 → 4.24.0-pmSearchLink-beta.10
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/features/write-form/components/link-search/constants.d.ts +1 -0
- package/features/write-form/components/link-search/constants.d.ts.map +1 -1
- package/features/write-form/components/link-search/index.d.ts.map +1 -1
- package/features/write-form/components/link-search/kit.d.ts +82 -0
- package/features/write-form/components/link-search/kit.d.ts.map +1 -0
- package/features/write-form/components/link-search/level-fields.d.ts.map +1 -1
- package/features/write-form/components/link-search/link-menu.d.ts +2 -3
- package/features/write-form/components/link-search/link-menu.d.ts.map +1 -1
- package/features/write-form/components/link-search/link-select.d.ts +3 -3
- package/features/write-form/components/link-search/link-select.d.ts.map +1 -1
- package/features/write-form/components/link-search/parts.d.ts +7 -0
- package/features/write-form/components/link-search/parts.d.ts.map +1 -0
- package/features/write-form/components/link-search/styles.d.ts +1 -41
- package/features/write-form/components/link-search/styles.d.ts.map +1 -1
- package/features/write-form/components/link-search/task-search.d.ts +3 -1
- package/features/write-form/components/link-search/task-search.d.ts.map +1 -1
- package/features/write-form/components/link-search/v2-theme.d.ts +10 -0
- package/features/write-form/components/link-search/v2-theme.d.ts.map +1 -0
- package/index.es.js +9981 -10234
- package/index.umd.js +486 -772
- package/package.json +3 -2
- package/testing/test-utils.d.ts +2 -2
- package/testing/test-utils.d.ts.map +1 -1
- package/theme/connector-theme.d.ts +1 -1
- package/theme/connector-theme.d.ts.map +1 -1
- package/theme.d.ts +1 -1
- package/theme.d.ts.map +1 -1
- package/utils/index.d.ts.map +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const LINK_AN_OBJECT = "Link an object";
|
|
2
2
|
export declare const SEARCH_OR_PASTE_LABEL = "Search or paste a link";
|
|
3
3
|
export declare const NO_RESULTS = "No results found";
|
|
4
|
+
export declare const TYPE_TO_SEARCH = "Type to search";
|
|
4
5
|
export declare const INVALID_LINK = "This link is invalid";
|
|
5
6
|
export declare const OR_DIVIDER = "or";
|
|
6
7
|
export declare const MENU_SEARCH_PLACEHOLDER = "Search...";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAC9D,eAAO,MAAM,UAAU,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAC9D,eAAO,MAAM,UAAU,qBAAqB,CAAC;AAE7C,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,YAAY,yBAAyB,CAAC;AACnD,eAAO,MAAM,UAAU,OAAO,CAAC;AAC/B,eAAO,MAAM,uBAAuB,cAAc,CAAC;AACnD,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,sBAAsB,wCAAwC,CAAC;AAC5E,eAAO,MAAM,eAAe,uDAAuD,CAAC;AAGpF,eAAO,MAAM,aAAa,wBAAwB,CAAC;AACnD,eAAO,MAAM,YAAY,cAAc,CAAC;AAExC,eAAO,MAAM,aAAa,iDAAiD,CAAC;AAS5E,eAAO,MAAM,oBAAoB,kCACuB,CAAC;AAGzD,eAAO,MAAM,oBAAoB,UAAW,MAAM,WAA+C,CAAC;AAGlG,eAAO,MAAM,oBAAoB,kCAA2E,CAAC;AAG7G,eAAO,MAAM,yBAAyB,WAAY,MAAM,WAAuD,CAAC;AAGhH,eAAO,MAAM,kBAAkB,UAAW,MAAM,WAA6C,CAAC;AAG9F,eAAO,MAAM,oBAAoB,YAAa,MAAM,WACiB,CAAC;AAGtE,eAAO,MAAM,eAAe,UAAW,MAAM,SAAS,MAAM,WACc,CAAC;AAG3E,eAAO,MAAM,gBAAgB,QAAS,MAAM,WAAwB,CAAC;AAErE,eAAO,MAAM,eAAe,OAAQ,MAAM,OAAO,MAAM,WACwB,CAAC;AAEhF,eAAO,MAAM,eAAe,OAAQ,MAAM,WAAmD,CAAC;AAG9F,eAAO,MAAM,cAAc,QAAS,MAAM,qBAAqB,OAAO;;;;;;;;CAOqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/index.tsx"],"names":[],"mappings":"AAgEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAa,gBAAgB,EAAsB,MAAM,cAAc,CAAC;AAIpF,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,UAAU,MAAM;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,gBAAgB,CAAC;IAEzB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,mBAAmB,CAAC;IAE/B,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,kBAAkB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAE7B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAWD,eAAO,MAAM,cAAc,8HAWxB,MAAM,4CAwZR,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
type Loosened = 'placeholder' | 'onPointerEnterCapture' | 'onPointerLeaveCapture' | 'prefix';
|
|
3
|
+
export declare const Button: ComponentType<Omit<Pick<import('@hiver/hiver-ui-kit/v2').ButtonProps, "name" | "key" | "value" | "loading" | "className" | "style" | "classes" | "translate" | "children" | "sx" | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "size" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "href" | "variant" | "placeholder" | "component" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon" | "slotProps" | "onPointerEnterCapture" | "onPointerLeaveCapture"> & import('react').RefAttributes<HTMLButtonElement>, Loosened> & Partial<Pick<Pick<import('@hiver/hiver-ui-kit/v2').ButtonProps, "name" | "key" | "value" | "loading" | "className" | "style" | "classes" | "translate" | "children" | "sx" | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "size" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "href" | "variant" | "placeholder" | "component" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon" | "slotProps" | "onPointerEnterCapture" | "onPointerLeaveCapture"> & import('react').RefAttributes<HTMLButtonElement>, "placeholder" | "onPointerEnterCapture" | "onPointerLeaveCapture">> & {
|
|
4
|
+
prefix?: ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const Tooltip: ComponentType<Omit<Pick<import('@hiver/hiver-ui-kit/v2').TooltipProps, "open" | "className" | "style" | "classes" | "color" | "translate" | "children" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onClose" | "placeholder" | "placement" | "components" | "slots" | "slotProps" | "TransitionComponent" | "TransitionProps" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "PopperComponent" | "PopperProps" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "description" | "customLabel"> & import('react').RefAttributes<HTMLDivElement>, Loosened> & Partial<Pick<Pick<import('@hiver/hiver-ui-kit/v2').TooltipProps, "open" | "className" | "style" | "classes" | "color" | "translate" | "children" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onClose" | "placeholder" | "placement" | "components" | "slots" | "slotProps" | "TransitionComponent" | "TransitionProps" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "PopperComponent" | "PopperProps" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "description" | "customLabel"> & import('react').RefAttributes<HTMLDivElement>, "placeholder" | "onPointerEnterCapture" | "onPointerLeaveCapture">> & {
|
|
7
|
+
prefix?: ReactNode;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const Input: {
|
|
10
|
+
Text: ComponentType<Omit<Pick<import('@hiver/hiver-ui-kit/v2').InputProps, "error" | "name" | "key" | "value" | "className" | "style" | "classes" | "translate" | "sx" | "label" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "size" | "type" | "autoComplete" | "placeholder" | "required" | "component" | "slotProps" | "focused" | "hiddenLabel" | "inputRef" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "helperText" | "suffix" | "showCounter" | "counterText" | "onClear" | "showInfoIcon" | "infoTooltip" | "showClearSelection"> & import('react').RefAttributes<HTMLDivElement>, Loosened> & Partial<Pick<Pick<import('@hiver/hiver-ui-kit/v2').InputProps, "error" | "name" | "key" | "value" | "className" | "style" | "classes" | "translate" | "sx" | "label" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "size" | "type" | "autoComplete" | "placeholder" | "required" | "component" | "slotProps" | "focused" | "hiddenLabel" | "inputRef" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "helperText" | "suffix" | "showCounter" | "counterText" | "onClear" | "showInfoIcon" | "infoTooltip" | "showClearSelection"> & import('react').RefAttributes<HTMLDivElement>, "placeholder" | "onPointerEnterCapture" | "onPointerLeaveCapture">> & {
|
|
11
|
+
prefix?: ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
export declare const Dropdown: {
|
|
15
|
+
Field: ComponentType<Omit<Omit<import('react').HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange"> & {
|
|
16
|
+
size?: import('@hiver/hiver-ui-kit/v2').DropdownFieldSize | undefined;
|
|
17
|
+
error?: boolean | undefined;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
required?: boolean | undefined;
|
|
20
|
+
label?: import('react').ReactNode;
|
|
21
|
+
helperText?: import('react').ReactNode;
|
|
22
|
+
placeholder?: import('react').ReactNode;
|
|
23
|
+
value?: import('react').ReactNode;
|
|
24
|
+
suffix?: import('react').ReactNode;
|
|
25
|
+
open?: boolean | undefined;
|
|
26
|
+
slotProps?: import('@hiver/hiver-ui-kit/v2').DropdownFieldSlotProps | undefined;
|
|
27
|
+
sx?: import('@mui/system').SxProps<import('@mui/material').Theme> | undefined;
|
|
28
|
+
onTriggerClick?: ((event: import('react').MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
29
|
+
onTriggerKeyDown?: ((event: import('react').KeyboardEvent<HTMLDivElement>) => void) | undefined;
|
|
30
|
+
} & import('react').RefAttributes<HTMLDivElement>, Loosened> & Partial<Pick<Omit<import('react').HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange"> & {
|
|
31
|
+
size?: import('@hiver/hiver-ui-kit/v2').DropdownFieldSize | undefined;
|
|
32
|
+
error?: boolean | undefined;
|
|
33
|
+
disabled?: boolean | undefined;
|
|
34
|
+
required?: boolean | undefined;
|
|
35
|
+
label?: import('react').ReactNode;
|
|
36
|
+
helperText?: import('react').ReactNode;
|
|
37
|
+
placeholder?: import('react').ReactNode;
|
|
38
|
+
value?: import('react').ReactNode;
|
|
39
|
+
suffix?: import('react').ReactNode;
|
|
40
|
+
open?: boolean | undefined;
|
|
41
|
+
slotProps?: import('@hiver/hiver-ui-kit/v2').DropdownFieldSlotProps | undefined;
|
|
42
|
+
sx?: import('@mui/system').SxProps<import('@mui/material').Theme> | undefined;
|
|
43
|
+
onTriggerClick?: ((event: import('react').MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
44
|
+
onTriggerKeyDown?: ((event: import('react').KeyboardEvent<HTMLDivElement>) => void) | undefined;
|
|
45
|
+
} & import('react').RefAttributes<HTMLDivElement>, "placeholder">> & {
|
|
46
|
+
prefix?: ReactNode;
|
|
47
|
+
}>;
|
|
48
|
+
Menu: ComponentType<Omit<Omit<import('react').HTMLAttributes<HTMLDivElement>, "children" | "title"> & {
|
|
49
|
+
title?: import('react').ReactNode;
|
|
50
|
+
headerStartAction?: import('react').ReactNode;
|
|
51
|
+
headerEndAction?: import('react').ReactNode;
|
|
52
|
+
showSearch?: boolean | undefined;
|
|
53
|
+
children: import('react').ReactNode;
|
|
54
|
+
showFooter?: boolean | undefined;
|
|
55
|
+
customFooter?: import('react').ReactNode;
|
|
56
|
+
elevation?: import('@hiver/hiver-ui-kit/v2').DropdownMenuElevation | undefined;
|
|
57
|
+
minWidth?: string | number | undefined;
|
|
58
|
+
maxHeight?: string | number | undefined;
|
|
59
|
+
sx?: import('@mui/system').SxProps<import('@mui/material').Theme> | undefined;
|
|
60
|
+
slotProps?: import('@hiver/hiver-ui-kit/v2').DropdownMenuSlotProps | undefined;
|
|
61
|
+
} & import('react').RefAttributes<HTMLDivElement>, Loosened> & Partial<Pick<Omit<import('react').HTMLAttributes<HTMLDivElement>, "children" | "title"> & {
|
|
62
|
+
title?: import('react').ReactNode;
|
|
63
|
+
headerStartAction?: import('react').ReactNode;
|
|
64
|
+
headerEndAction?: import('react').ReactNode;
|
|
65
|
+
showSearch?: boolean | undefined;
|
|
66
|
+
children: import('react').ReactNode;
|
|
67
|
+
showFooter?: boolean | undefined;
|
|
68
|
+
customFooter?: import('react').ReactNode;
|
|
69
|
+
elevation?: import('@hiver/hiver-ui-kit/v2').DropdownMenuElevation | undefined;
|
|
70
|
+
minWidth?: string | number | undefined;
|
|
71
|
+
maxHeight?: string | number | undefined;
|
|
72
|
+
sx?: import('@mui/system').SxProps<import('@mui/material').Theme> | undefined;
|
|
73
|
+
slotProps?: import('@hiver/hiver-ui-kit/v2').DropdownMenuSlotProps | undefined;
|
|
74
|
+
} & import('react').RefAttributes<HTMLDivElement>, never>> & {
|
|
75
|
+
prefix?: ReactNode;
|
|
76
|
+
}>;
|
|
77
|
+
ListItem: ComponentType<Omit<Pick<import('@hiver/hiver-ui-kit/v2').ListItemProps, "key" | "className" | "style" | "classes" | "color" | "translate" | "children" | "sx" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "type" | "placeholder" | "selected" | "component" | "endIcon" | "startIcon" | "slotProps" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "startCheckbox" | "startRadio" | "startAppsIcon" | "startStatusIcon" | "startAvatar" | "endStatusIcon" | "endCheckbox" | "endAction" | "endBadge" | "endToggle"> & import('react').RefAttributes<HTMLDivElement>, Loosened> & Partial<Pick<Pick<import('@hiver/hiver-ui-kit/v2').ListItemProps, "key" | "className" | "style" | "classes" | "color" | "translate" | "children" | "sx" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "type" | "placeholder" | "selected" | "component" | "endIcon" | "startIcon" | "slotProps" | "onPointerEnterCapture" | "onPointerLeaveCapture" | "startCheckbox" | "startRadio" | "startAppsIcon" | "startStatusIcon" | "startAvatar" | "endStatusIcon" | "endCheckbox" | "endAction" | "endBadge" | "endToggle"> & import('react').RefAttributes<HTMLDivElement>, "placeholder" | "onPointerEnterCapture" | "onPointerLeaveCapture">> & {
|
|
78
|
+
prefix?: ReactNode;
|
|
79
|
+
}>;
|
|
80
|
+
};
|
|
81
|
+
export {};
|
|
82
|
+
//# sourceMappingURL=kit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kit.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/kit.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD,KAAK,QAAQ,GAAG,aAAa,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,QAAQ,CAAC;AAS7F,eAAO,MAAM,MAAM;aALsF,SAAS;EAK9E,CAAC;AACrC,eAAO,MAAM,OAAO;aANqF,SAAS;EAM5E,CAAC;AACvC,eAAO,MAAM,KAAK;;iBAPuF,SAAS;;CAOjE,CAAC;AAClD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBARoF,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAT,SAAS;;;iBAAT,SAAS;;CAYjH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"level-fields.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/level-fields.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"level-fields.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/level-fields.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAKnE,UAAU,MAAM;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,cAAc,EAAE,MAAM,EAAE,CAAC;IAEzB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAEjE,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAsHD,eAAO,MAAM,WAAW,iGAQrB,MAAM,4CAyCR,CAAC"}
|
|
@@ -15,17 +15,16 @@ interface LinkMenuProps<T extends MenuOption> {
|
|
|
15
15
|
loading?: boolean;
|
|
16
16
|
loadingText?: string;
|
|
17
17
|
emptyText?: string | null;
|
|
18
|
-
emptyTone?: 'muted' | 'strong';
|
|
19
18
|
search?: {
|
|
20
19
|
value: string;
|
|
21
20
|
onChange: (value: string) => void;
|
|
22
21
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
23
22
|
};
|
|
24
|
-
|
|
23
|
+
optionBadge?: (option: T) => string | undefined;
|
|
25
24
|
isOptionDisabled?: (option: T) => boolean;
|
|
26
25
|
optionTooltip?: (option: T) => string | undefined;
|
|
27
26
|
footer?: ReactNode;
|
|
28
27
|
}
|
|
29
|
-
export declare const LinkMenu: <T extends MenuOption>({ id, anchorEl, open, options, activeIndex, setActiveIndex, onSelect, onClose, loading, loadingText, emptyText,
|
|
28
|
+
export declare const LinkMenu: <T extends MenuOption>({ id, anchorEl, open, options, activeIndex, setActiveIndex, onSelect, onClose, loading, loadingText, emptyText, search, optionBadge, isOptionDisabled, optionTooltip, footer }: LinkMenuProps<T>) => import('react').ReactPortal | null;
|
|
30
29
|
export {};
|
|
31
30
|
//# sourceMappingURL=link-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-menu.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/link-menu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"link-menu.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/link-menu.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA0BtD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,aAAa,CAAC,CAAC,SAAS,UAAU;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;KAAE,CAAC;IAEzG,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAClD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,UAAU,kLAiB1C,aAAa,CAAC,CAAC,CAAC,uCAsGlB,CAAC"}
|
|
@@ -2,10 +2,11 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { MenuOption } from './link-menu';
|
|
3
3
|
export interface LinkSelectProps<T extends MenuOption> {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
5
|
+
label: string;
|
|
6
6
|
value: T | null;
|
|
7
7
|
options: T[];
|
|
8
8
|
placeholder: string;
|
|
9
|
+
helperText?: string;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
hasError?: boolean;
|
|
11
12
|
loading?: boolean;
|
|
@@ -15,10 +16,9 @@ export interface LinkSelectProps<T extends MenuOption> {
|
|
|
15
16
|
onOpen?: () => void;
|
|
16
17
|
onChange: (option: T) => void;
|
|
17
18
|
renderValue?: (option: T) => string;
|
|
18
|
-
renderOption?: (option: T) => ReactNode;
|
|
19
19
|
isOptionDisabled?: (option: T) => boolean;
|
|
20
20
|
optionTooltip?: (option: T) => string | undefined;
|
|
21
21
|
footer?: ReactNode;
|
|
22
22
|
}
|
|
23
|
-
export declare const LinkSelect: <T extends MenuOption>({ id,
|
|
23
|
+
export declare const LinkSelect: <T extends MenuOption>({ id, label, value, options, placeholder, helperText, disabled, hasError, loading, loadingText, emptyText, onSearch, onOpen, onChange, renderValue, isOptionDisabled, optionTooltip, footer }: LinkSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
//# sourceMappingURL=link-select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-select.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/link-select.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"link-select.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/link-select.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,UAAU;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAChB,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC;IACpC,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAClD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,UAAU,iMAmB5C,eAAe,CAAC,CAAC,CAAC,4CA4FpB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare const RetryMessage: ({ children, onRetry }: {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
onRetry?: () => void;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const CapNote: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/parts.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,eAAO,MAAM,YAAY,0BAA2B;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,4CAYhG,CAAC;AAGF,eAAO,MAAM,OAAO,+CAKnB,CAAC"}
|
|
@@ -1,50 +1,10 @@
|
|
|
1
1
|
import { StackProps } from '@hiver/hiver-ui-kit';
|
|
2
2
|
import { StyledComponent } from '@emotion/styled';
|
|
3
3
|
import { ComponentProps } from 'react';
|
|
4
|
-
type El<T extends keyof JSX.IntrinsicElements
|
|
5
|
-
export declare const COLORS: {
|
|
6
|
-
readonly text: "var(--connector-text-primary, #334155)";
|
|
7
|
-
readonly strong: "var(--connector-input-text, #0f172a)";
|
|
8
|
-
readonly soft: "var(--connector-text-secondary, #64758b)";
|
|
9
|
-
readonly placeholder: "var(--connector-text-muted, #94a3b8)";
|
|
10
|
-
readonly border: "var(--connector-input-border, #cbd5e1)";
|
|
11
|
-
readonly subtleBorder: "var(--connector-border, #edf1f6)";
|
|
12
|
-
readonly focus: "var(--connector-input-border-focus, #246fea)";
|
|
13
|
-
readonly surface: "var(--connector-surface, #ffffff)";
|
|
14
|
-
readonly disabled: "var(--connector-surface-subtle, #f1f5f9)";
|
|
15
|
-
readonly hover: "var(--connector-surface-hover, #f1f5f9)";
|
|
16
|
-
readonly error: "#b91c1c";
|
|
17
|
-
readonly errorText: "#dc2626";
|
|
18
|
-
readonly chip: "#eeeeee";
|
|
19
|
-
readonly chipText: "#404040";
|
|
20
|
-
};
|
|
21
|
-
export declare const MENU_SHADOW = "0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06)";
|
|
22
|
-
export declare const MENU_BORDER: string;
|
|
23
|
-
export declare const FOCUS_RING = "0 0 0 1.5px rgba(36, 111, 234, 0.3)";
|
|
4
|
+
type El<T extends keyof JSX.IntrinsicElements> = StyledComponent<ComponentProps<T>>;
|
|
24
5
|
export declare const Title: El<'p'>;
|
|
25
6
|
export declare const Form: StyledComponent<StackProps>;
|
|
26
|
-
export declare const FieldStack: StyledComponent<StackProps>;
|
|
27
|
-
export declare const FieldLabel: El<'label'>;
|
|
28
|
-
export declare const HelperText: El<'p', {
|
|
29
|
-
error?: boolean;
|
|
30
|
-
}>;
|
|
31
|
-
export declare const OrDivider: StyledComponent<StackProps>;
|
|
32
|
-
export declare const TextInput: El<'input', {
|
|
33
|
-
error?: boolean;
|
|
34
|
-
}>;
|
|
35
|
-
export declare const Chip: El<'span'>;
|
|
36
|
-
export declare const MenuStatus: StyledComponent<StackProps>;
|
|
37
|
-
export declare const MenuEmpty: El<'div', {
|
|
38
|
-
strong?: boolean;
|
|
39
|
-
}>;
|
|
40
|
-
export declare const MenuError: El<'p', {
|
|
41
|
-
error?: boolean;
|
|
42
|
-
}>;
|
|
43
|
-
export declare const MenuNote: StyledComponent<StackProps>;
|
|
44
|
-
export declare const MenuSearchRow: StyledComponent<StackProps>;
|
|
45
7
|
export declare const Alert: StyledComponent<StackProps>;
|
|
46
|
-
export declare const AlertAction: El<'button'>;
|
|
47
|
-
export declare const InlineRetry: El<'button'>;
|
|
48
8
|
export declare const View: StyledComponent<StackProps>;
|
|
49
9
|
export declare const Scroll: StyledComponent<StackProps>;
|
|
50
10
|
export declare const Footer: StyledComponent<StackProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,EAAE,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,EAAE,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,iBAAiB,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAKpF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,GAAG,CAMzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,UAAU,CAI5C,CAAC;AAIF,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,UAAU,CA8B7C,CAAC;AAGF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,UAAU,CAK5C,CAAC;AAIF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAc9C,CAAC;AAGF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAU9C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { LinkSearchRow } from '../../../../types/form';
|
|
2
3
|
import { LinkSearchStatus } from './use-link-search';
|
|
3
4
|
import { TaskOption } from './utils';
|
|
@@ -10,6 +11,7 @@ interface IProps {
|
|
|
10
11
|
status: LinkSearchStatus;
|
|
11
12
|
app: string;
|
|
12
13
|
placeholder: string;
|
|
14
|
+
helperText?: ReactNode;
|
|
13
15
|
showCapNote?: boolean;
|
|
14
16
|
hideEmptyMessage?: boolean;
|
|
15
17
|
disabled?: boolean;
|
|
@@ -17,6 +19,6 @@ interface IProps {
|
|
|
17
19
|
onInputChange: (value: string) => void;
|
|
18
20
|
onChange: (option: TaskOption | null) => void;
|
|
19
21
|
}
|
|
20
|
-
export declare const TaskSearch: ({ id, label, value, inputValue, rows, status, app, placeholder, showCapNote, hideEmptyMessage, disabled, hasError, onInputChange, onChange }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const TaskSearch: ({ id, label, value, inputValue, rows, status, app, placeholder, helperText, showCapNote, hideEmptyMessage, disabled, hasError, onInputChange, onChange }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
23
|
export {};
|
|
22
24
|
//# sourceMappingURL=task-search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-search.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/task-search.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"task-search.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/task-search.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,MAAM,EAAE,gBAAgB,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;CAC/C;AAED,eAAO,MAAM,UAAU,6JAgBpB,MAAM,4CA2FR,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The link view's hiver-ui-kit v2 theme. v2 components read `theme.v2`, which the app-wide theme
|
|
4
|
+
* doesn't carry (adding it there re-themes every v1 card), so the view gets it here. Neutral text,
|
|
5
|
+
* border and surface tokens follow the host's connector tokens, and brand follows the host's primary.
|
|
6
|
+
*/
|
|
7
|
+
export declare const LinkSearchTheme: ({ children }: {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=v2-theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2-theme.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/link-search/v2-theme.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA2EvC;;;;GAIG;AACH,eAAO,MAAM,eAAe,iBAAkB;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAEpE,CAAC"}
|