@nulogy/components 7.2.0 → 7.2.3
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/dist/main.js +6 -0
- package/dist/main.module.js +6 -0
- package/dist/src/Button/IconicButton.d.ts +3 -6
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -16582,6 +16582,7 @@
|
|
|
16582
16582
|
ml: "x2"
|
|
16583
16583
|
}, /*#__PURE__*/React__default['default'].createElement(Link, {
|
|
16584
16584
|
as: "button",
|
|
16585
|
+
type: "button",
|
|
16585
16586
|
color: "darkGrey",
|
|
16586
16587
|
lineHeight: "0",
|
|
16587
16588
|
hover: "blue",
|
|
@@ -44359,6 +44360,10 @@
|
|
|
44359
44360
|
setVisible(false);
|
|
44360
44361
|
if (onHide) onHide();
|
|
44361
44362
|
}
|
|
44363
|
+
|
|
44364
|
+
return function () {
|
|
44365
|
+
cancelHidingToast();
|
|
44366
|
+
};
|
|
44362
44367
|
}, [triggered]);
|
|
44363
44368
|
|
|
44364
44369
|
var onMouseIn = function onMouseIn() {
|
|
@@ -52633,6 +52638,7 @@
|
|
|
52633
52638
|
}, title)), !hideCloseButton && /*#__PURE__*/React__default['default'].createElement(Box, {
|
|
52634
52639
|
marginLeft: "x2"
|
|
52635
52640
|
}, /*#__PURE__*/React__default['default'].createElement(IconicButton, {
|
|
52641
|
+
type: "button",
|
|
52636
52642
|
ref: closeButton,
|
|
52637
52643
|
icon: "close",
|
|
52638
52644
|
onClick: onClose,
|
package/dist/main.module.js
CHANGED
|
@@ -16556,6 +16556,7 @@ var CloseButton = function CloseButton(_ref) {
|
|
|
16556
16556
|
ml: "x2"
|
|
16557
16557
|
}, /*#__PURE__*/React__default.createElement(Link, {
|
|
16558
16558
|
as: "button",
|
|
16559
|
+
type: "button",
|
|
16559
16560
|
color: "darkGrey",
|
|
16560
16561
|
lineHeight: "0",
|
|
16561
16562
|
hover: "blue",
|
|
@@ -44333,6 +44334,10 @@ var Toast = function Toast(_a) {
|
|
|
44333
44334
|
setVisible(false);
|
|
44334
44335
|
if (onHide) onHide();
|
|
44335
44336
|
}
|
|
44337
|
+
|
|
44338
|
+
return function () {
|
|
44339
|
+
cancelHidingToast();
|
|
44340
|
+
};
|
|
44336
44341
|
}, [triggered]);
|
|
44337
44342
|
|
|
44338
44343
|
var onMouseIn = function onMouseIn() {
|
|
@@ -52607,6 +52612,7 @@ var Sidebar = function Sidebar(_a) {
|
|
|
52607
52612
|
}, title)), !hideCloseButton && /*#__PURE__*/React__default.createElement(Box, {
|
|
52608
52613
|
marginLeft: "x2"
|
|
52609
52614
|
}, /*#__PURE__*/React__default.createElement(IconicButton, {
|
|
52615
|
+
type: "button",
|
|
52610
52616
|
ref: closeButton,
|
|
52611
52617
|
icon: "close",
|
|
52612
52618
|
onClick: onClose,
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SpaceProps } from "styled-system";
|
|
3
|
-
declare
|
|
4
|
-
className?: string;
|
|
3
|
+
declare type IconicButtonProps = React.HTMLProps<HTMLButtonElement> & SpaceProps & {
|
|
5
4
|
color?: string;
|
|
6
5
|
labelHidden?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
onClick?: (...args: any[]) => any;
|
|
9
6
|
icon?: any;
|
|
10
7
|
iconSize?: string;
|
|
11
8
|
fontSize?: string;
|
|
12
9
|
tooltip?: string;
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
};
|
|
11
|
+
declare const IconicButton: React.ForwardRefExoticComponent<Pick<IconicButtonProps, "sizes" | "cite" | "data" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "tooltip" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "start" | "icon" | "size" | "m" | "margin" | "mt" | "marginTop" | "mr" | "marginRight" | "mb" | "marginBottom" | "ml" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "padding" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "px" | "paddingX" | "py" | "paddingY" | "step" | "labelHidden" | "iconSize" | "fontSize" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "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" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "width" | "wmode" | "wrap"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
12
|
export declare const iconNames: string[];
|
|
16
13
|
export default IconicButton;
|