Latest updates from IceHrmPro
This commit is contained in:
1 parent
60c92d7935
commit
7453a58aad
18012 files changed
+2089245
-10173
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
import * as React from 'react';
|
||||
import { IconDefinition } from '@ant-design/icons-svg/lib/types';
|
||||
import { IconBaseProps } from './Icon';
|
||||
import { getTwoToneColor, TwoToneColor, setTwoToneColor } from './twoTonePrimaryColor';
|
||||
export interface AntdIconProps extends IconBaseProps {
|
||||
twoToneColor?: TwoToneColor;
|
||||
}
|
||||
export interface IconComponentProps extends AntdIconProps {
|
||||
icon: IconDefinition;
|
||||
}
|
||||
interface IconBaseComponent<Props> extends React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLSpanElement>> {
|
||||
getTwoToneColor: typeof getTwoToneColor;
|
||||
setTwoToneColor: typeof setTwoToneColor;
|
||||
}
|
||||
declare const Icon: IconBaseComponent<IconComponentProps>;
|
||||
export default Icon;
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
import * as React from 'react';
|
||||
export interface IconBaseProps extends React.HTMLProps<HTMLSpanElement> {
|
||||
spin?: boolean;
|
||||
rotate?: number;
|
||||
}
|
||||
export interface CustomIconComponentProps {
|
||||
width: string | number;
|
||||
height: string | number;
|
||||
fill: string;
|
||||
viewBox?: string;
|
||||
className?: string;
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
export interface IconComponentProps extends IconBaseProps {
|
||||
viewBox?: string;
|
||||
component?: React.ComponentType<CustomIconComponentProps | React.SVGProps<SVGSVGElement>>;
|
||||
ariaLabel?: React.AriaAttributes['aria-label'];
|
||||
}
|
||||
declare const Icon: React.ForwardRefExoticComponent<Pick<IconComponentProps, "aria-label" | "viewBox" | "component" | "ariaLabel" | "spin" | "rotate" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "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-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" | "oLine truncated
|
||||
export default Icon;
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
import * as React from 'react';
|
||||
import { IconDefinition } from '@ant-design/icons-svg/lib/types';
|
||||
export interface IconProps {
|
||||
icon: IconDefinition;
|
||||
className?: string;
|
||||
onClick?: React.MouseEventHandler<SVGSVGElement>;
|
||||
style?: React.CSSProperties;
|
||||
primaryColor?: string;
|
||||
secondaryColor?: string;
|
||||
focusable?: string;
|
||||
}
|
||||
export interface TwoToneColorPaletteSetter {
|
||||
primaryColor: string;
|
||||
secondaryColor?: string;
|
||||
}
|
||||
export interface TwoToneColorPalette extends TwoToneColorPaletteSetter {
|
||||
calculated?: boolean;
|
||||
}
|
||||
declare function setTwoToneColors({ primaryColor, secondaryColor, }: TwoToneColorPaletteSetter): void;
|
||||
declare function getTwoToneColors(): TwoToneColorPalette;
|
||||
interface IconBaseComponent<P> extends React.FC<P> {
|
||||
getTwoToneColors: typeof getTwoToneColors;
|
||||
setTwoToneColors: typeof setTwoToneColors;
|
||||
}
|
||||
declare const IconBase: IconBaseComponent<IconProps>;
|
||||
export default IconBase;
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import * as React from 'react';
|
||||
import { IconBaseProps } from './Icon';
|
||||
export interface CustomIconOptions {
|
||||
scriptUrl?: string;
|
||||
extraCommonProps?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
}
|
||||
export interface IconFontProps extends IconBaseProps {
|
||||
type: string;
|
||||
}
|
||||
export default function create(options?: CustomIconOptions): React.SFC<IconFontProps>;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
export declare type TwoToneColor = string | [string, string];
|
||||
export declare function setTwoToneColor(twoToneColor: TwoToneColor): void;
|
||||
export declare function getTwoToneColor(): TwoToneColor;
|
||||
Reference in new issue
Block a user