@deque/cauldron-react 4.5.0-canary.b2ef84aa → 4.5.0-canary.ed401288
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/lib/components/Breadcrumb/Breadcrumb.d.ts +5 -9
- package/lib/components/Button/index.d.ts +1 -1
- package/lib/components/Code/index.d.ts +2 -2
- package/lib/components/Dialog/index.d.ts +1 -1
- package/lib/components/ExpandCollapsePanel/PanelTrigger.d.ts +1 -1
- package/lib/components/Icon/types.d.ts +1 -1
- package/lib/components/OptionsMenu/OptionsMenu.d.ts +1 -0
- package/lib/components/Pagination/Pagination.d.ts +20 -0
- package/lib/components/Pagination/index.d.ts +2 -19
- package/lib/components/Pagination/usePagination.d.ts +24 -0
- package/lib/components/ProgressBar/index.d.ts +6 -12
- package/lib/components/RadioCardGroup/index.d.ts +38 -0
- package/lib/components/Select/index.d.ts +1 -1
- package/lib/components/SideBar/SideBarItem.d.ts +1 -1
- package/lib/components/Toast/index.d.ts +1 -0
- package/lib/components/Tooltip/index.d.ts +1 -1
- package/lib/components/TopBar/TopBarTrigger.d.ts +1 -1
- package/lib/components/TwoColumnPanel/ColumnLeft.d.ts +3 -5
- package/lib/components/TwoColumnPanel/ColumnRight.d.ts +3 -5
- package/lib/filter-solid.js +24 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +290 -169
- package/lib/play.js +25 -0
- package/lib/recycle-square.js +24 -0
- package/lib/utils/remove-ids/index.d.ts +1 -1
- package/package.json +12 -11
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
separator?: string | undefined;
|
|
8
|
-
} & React.HTMLAttributes<HTMLElement> & {
|
|
9
|
-
'aria-labelledby': string;
|
|
10
|
-
} & React.RefAttributes<HTMLElement>)>;
|
|
2
|
+
import { Cauldron } from '../../types';
|
|
3
|
+
declare type BreadcrumbProps = {
|
|
4
|
+
separator?: string;
|
|
5
|
+
} & React.HTMLAttributes<HTMLElement> & Cauldron.LabelProps;
|
|
6
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
|
|
11
7
|
export default Breadcrumb;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ButtonHTMLAttributes, Ref } from 'react';
|
|
2
2
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
3
|
buttonRef?: Ref<HTMLButtonElement>;
|
|
4
|
-
variant?: 'primary' | 'secondary' | 'error' | 'link';
|
|
4
|
+
variant?: 'primary' | 'secondary' | 'error' | 'link' | 'tag';
|
|
5
5
|
thin?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SyntaxHighlighterProps } from 'react-syntax-highlighter';
|
|
3
3
|
interface Props extends SyntaxHighlighterProps {
|
|
4
|
-
children:
|
|
4
|
+
children: string;
|
|
5
5
|
language?: 'javascript' | 'css' | 'html' | 'yaml';
|
|
6
6
|
className?: string;
|
|
7
7
|
tabIndex?: number;
|
|
8
8
|
}
|
|
9
|
-
declare const Code: React.ComponentType<Props
|
|
9
|
+
declare const Code: React.ComponentType<React.PropsWithChildren<Props>>;
|
|
10
10
|
export default Code;
|
|
@@ -42,7 +42,7 @@ export default class Dialog extends React.Component<DialogProps, DialogState> {
|
|
|
42
42
|
componentDidMount(): void;
|
|
43
43
|
componentDidUpdate(prevProps: DialogProps): void;
|
|
44
44
|
private attachIsolator;
|
|
45
|
-
render():
|
|
45
|
+
render(): JSX.Element | null;
|
|
46
46
|
close(): void;
|
|
47
47
|
handleClickOutside(): void;
|
|
48
48
|
focusHeading(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { IconType } from '../Icon';
|
|
4
|
-
export interface PanelTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
export interface PanelTriggerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
|
|
5
5
|
children?: ((props: {
|
|
6
6
|
open: boolean;
|
|
7
7
|
}) => React.ReactNode) | React.ReactNode;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* GENERATED CODE. DO NOT EDIT DIRECTLY!
|
|
3
3
|
*/
|
|
4
4
|
/** IconType represents each valid icon type. */
|
|
5
|
-
export declare type IconType = 'add-user' | 'arrow-circle-up' | 'arrow-circle-down' | 'arrow-circle-left' | 'arrow-circle-right' | 'arrow-up' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrows-alt' | 'bolt' | 'caution' | 'check-circle' | 'check-shield' | 'check-solid' | 'check' | 'checkbox-checked' | 'checkbox-unchecked' | 'chevron-double-up' | 'chevron-double-down' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'close' | 'code' | 'copy' | 'download' | 'dropper' | 'exchange' | 'external-link' | 'eye' | 'filter' | 'flag' | 'gears' | 'grid' | 'hamburger-menu' | 'highlight' | 'info-circle-alt' | 'info-circle' | 'info-square' | 'kabob' | 'list' | 'lock' | 'magnifying-glass' | 'menu' | 'minus' | 'new-releases' | 'new' | 'no' | 'pencil' | 'plus' | 'question-circle' | 'radio-checked' | 'radio-unchecked' | 'recycle' | 'resend' | 'robot' | 'run-again' | 'save' | 'share' | 'sort-triangle' | 'sort' | 'star' | 'sun' | 'tag' | 'target' | 'trash' | 'triangle-up' | 'triangle-down' | 'triangle-left' | 'triangle-right' | 'upload';
|
|
5
|
+
export declare type IconType = 'add-user' | 'arrow-circle-up' | 'arrow-circle-down' | 'arrow-circle-left' | 'arrow-circle-right' | 'arrow-up' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrows-alt' | 'bolt' | 'caution' | 'check-circle' | 'check-shield' | 'check-solid' | 'check' | 'checkbox-checked' | 'checkbox-unchecked' | 'chevron-double-up' | 'chevron-double-down' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'close' | 'code' | 'copy' | 'download' | 'dropper' | 'exchange' | 'external-link' | 'eye' | 'filter-solid' | 'filter' | 'flag' | 'gears' | 'grid' | 'hamburger-menu' | 'highlight' | 'info-circle-alt' | 'info-circle' | 'info-square' | 'kabob' | 'list' | 'lock' | 'magnifying-glass' | 'menu' | 'minus' | 'new-releases' | 'new' | 'no' | 'pencil' | 'play' | 'plus' | 'question-circle' | 'radio-checked' | 'radio-unchecked' | 'recycle-square' | 'recycle' | 'resend' | 'robot' | 'run-again' | 'save' | 'share' | 'sort-triangle' | 'sort' | 'star' | 'sun' | 'tag' | 'target' | 'trash' | 'triangle-up' | 'triangle-down' | 'triangle-left' | 'triangle-right' | 'upload';
|
|
6
6
|
/** iconTypes holds each valid icon type. */
|
|
7
7
|
export declare const iconTypes: string[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Placement } from '@popperjs/core';
|
|
3
|
+
interface Props extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
totalItems: number;
|
|
5
|
+
itemsPerPage?: number;
|
|
6
|
+
currentPage?: number;
|
|
7
|
+
statusLabel?: React.ReactNode;
|
|
8
|
+
firstPageLabel?: string;
|
|
9
|
+
previousPageLabel?: string;
|
|
10
|
+
nextPageLabel?: string;
|
|
11
|
+
lastPageLabel?: string;
|
|
12
|
+
onNextPageClick?: () => void;
|
|
13
|
+
onPreviousPageClick?: () => void;
|
|
14
|
+
onFirstPageClick?: () => void;
|
|
15
|
+
onLastPageClick?: () => void;
|
|
16
|
+
tooltipPlacement?: Placement;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const Pagination: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export default Pagination;
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
interface Props extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
totalItems: number;
|
|
5
|
-
itemsPerPage?: number;
|
|
6
|
-
currentPage?: number;
|
|
7
|
-
statusLabel?: React.ReactNode;
|
|
8
|
-
firstPageLabel?: string;
|
|
9
|
-
previousPageLabel?: string;
|
|
10
|
-
nextPageLabel?: string;
|
|
11
|
-
lastPageLabel?: string;
|
|
12
|
-
onNextPageClick?: () => void;
|
|
13
|
-
onPreviousPageClick?: () => void;
|
|
14
|
-
onFirstPageClick?: () => void;
|
|
15
|
-
onLastPageClick?: () => void;
|
|
16
|
-
tooltipPlacement?: Placement;
|
|
17
|
-
className?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const Pagination: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import Pagination from './Pagination';
|
|
2
|
+
export { usePagination } from './usePagination';
|
|
20
3
|
export default Pagination;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface Options {
|
|
2
|
+
totalItems: number;
|
|
3
|
+
initialPageSize?: number;
|
|
4
|
+
initialPage?: number;
|
|
5
|
+
}
|
|
6
|
+
interface PaginationResults {
|
|
7
|
+
totalItems: number;
|
|
8
|
+
currentPage: number;
|
|
9
|
+
itemsPerPage: number;
|
|
10
|
+
onNextPageClick: () => void;
|
|
11
|
+
onPreviousPageClick: () => void;
|
|
12
|
+
onFirstPageClick: () => void;
|
|
13
|
+
onLastPageClick: () => void;
|
|
14
|
+
}
|
|
15
|
+
interface PageStatus {
|
|
16
|
+
currentPage: number;
|
|
17
|
+
pageStart: number;
|
|
18
|
+
pageEnd: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const usePagination: ({ totalItems, initialPageSize, initialPage }: Options) => {
|
|
21
|
+
pagination: PaginationResults;
|
|
22
|
+
pageStatus: PageStatus;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
+
import { Cauldron } from '../../types';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
declare
|
|
3
|
+
declare type ProgressBarProps = {
|
|
3
4
|
progress: number;
|
|
4
|
-
progressMax?: number
|
|
5
|
-
progressMin?: number
|
|
6
|
-
} &
|
|
7
|
-
|
|
8
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>) | ({
|
|
9
|
-
progress: number;
|
|
10
|
-
progressMax?: number | undefined;
|
|
11
|
-
progressMin?: number | undefined;
|
|
12
|
-
} & {
|
|
13
|
-
'aria-labelledby': string;
|
|
14
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>)>;
|
|
5
|
+
progressMax?: number;
|
|
6
|
+
progressMin?: number;
|
|
7
|
+
} & Cauldron.LabelProps & React.HTMLAttributes<HTMLDivElement>;
|
|
8
|
+
declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
9
|
export default ProgressBar;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { IconType } from '../Icon';
|
|
4
|
+
export interface RadioItem extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
5
|
+
label: React.ReactNode;
|
|
6
|
+
cardImg: JSX.Element;
|
|
7
|
+
cardIcon: IconType;
|
|
8
|
+
value?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface RadioCardGroupProps {
|
|
11
|
+
name?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
radios: RadioItem[];
|
|
14
|
+
defaultValue?: string;
|
|
15
|
+
value?: any;
|
|
16
|
+
onChange: (radio: RadioItem, input: HTMLElement) => void;
|
|
17
|
+
}
|
|
18
|
+
declare const RadioCardGroup: {
|
|
19
|
+
({ name, radios, defaultValue, value, onChange, className, ...other }: RadioCardGroupProps): JSX.Element;
|
|
20
|
+
propTypes: {
|
|
21
|
+
name: PropTypes.Requireable<string>;
|
|
22
|
+
radios: PropTypes.Validator<(PropTypes.InferProps<{
|
|
23
|
+
value: PropTypes.Validator<string>;
|
|
24
|
+
id: PropTypes.Validator<string>;
|
|
25
|
+
label: PropTypes.Validator<string>;
|
|
26
|
+
cardImg: PropTypes.Validator<PropTypes.ReactElementLike>;
|
|
27
|
+
cardIcon: PropTypes.Validator<string>;
|
|
28
|
+
}> | null | undefined)[]>;
|
|
29
|
+
hasLabel: (props: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
}, propName: string, componentName: string) => Error | undefined;
|
|
32
|
+
className: PropTypes.Requireable<string>;
|
|
33
|
+
defaultValue: PropTypes.Requireable<string>;
|
|
34
|
+
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
35
|
+
};
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
38
|
+
export default RadioCardGroup;
|
|
@@ -15,5 +15,5 @@ export interface SelectProps extends Omit<React.HTMLProps<HTMLSelectElement>, 'c
|
|
|
15
15
|
defaultValue?: any;
|
|
16
16
|
onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
17
17
|
}
|
|
18
|
-
declare const Select: React.ForwardRefExoticComponent<Pick<SelectProps, "
|
|
18
|
+
declare const Select: React.ForwardRefExoticComponent<Pick<SelectProps, "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" | "form" | "list" | "step" | "cite" | "data" | "label" | "span" | "summary" | "pattern" | "type" | "key" | "download" | "target" | "name" | "error" | "disabled" | "open" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "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" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "useMap" | "value" | "width" | "wmode" | "wrap" | "options" | "requiredText"> & React.RefAttributes<HTMLSelectElement>>;
|
|
19
19
|
export default Select;
|
|
@@ -3,5 +3,5 @@ export interface SideBarItemProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
autoClickLink?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const SideBarItem: React.ComponentType<SideBarItemProps
|
|
6
|
+
declare const SideBarItem: React.ComponentType<React.PropsWithChildren<SideBarItemProps>>;
|
|
7
7
|
export default SideBarItem;
|
|
@@ -11,7 +11,7 @@ export interface TooltipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
11
11
|
portal?: React.RefObject<HTMLElement> | HTMLElement;
|
|
12
12
|
hideElementOnHidden?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare function Tooltip({ id: propId, placement: initialPlacement, children, portal, target, association, variant, show: initialShow, hideElementOnHidden, className, ...props }: TooltipProps):
|
|
14
|
+
declare function Tooltip({ id: propId, placement: initialPlacement, children, portal, target, association, variant, show: initialShow, hideElementOnHidden, className, ...props }: TooltipProps): JSX.Element;
|
|
15
15
|
declare namespace Tooltip {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
var propTypes: {
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
interface TopBarTriggerProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare const TopBarTrigger: React.ComponentType<TopBarTriggerProps
|
|
5
|
+
declare const TopBarTrigger: React.ComponentType<React.PropsWithChildren<TopBarTriggerProps>>;
|
|
6
6
|
export default TopBarTrigger;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
'aria-labelledby': string;
|
|
6
|
-
} & React.RefAttributes<HTMLDivElement>)>;
|
|
2
|
+
import { Cauldron } from '../../types';
|
|
3
|
+
declare type ColumnLeftProps = React.HTMLAttributes<HTMLDivElement> & Cauldron.LabelProps;
|
|
4
|
+
declare const ColumnLeft: React.ForwardRefExoticComponent<ColumnLeftProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
5
|
export default ColumnLeft;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
'aria-labelledby': string;
|
|
6
|
-
} & React.RefAttributes<HTMLDivElement>)>;
|
|
2
|
+
import { Cauldron } from '../../types';
|
|
3
|
+
declare type ColumnRightProps = React.HTMLAttributes<HTMLDivElement> & Cauldron.LabelProps;
|
|
4
|
+
declare const ColumnRight: React.ForwardRefExoticComponent<ColumnRightProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
5
|
export default ColumnRight;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var React__default = _interopDefault(React);
|
|
7
|
+
|
|
8
|
+
var _path;
|
|
9
|
+
|
|
10
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
+
|
|
12
|
+
const SvgFilterSolid = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
|
+
overflow: "visible",
|
|
14
|
+
preserveAspectRatio: "none",
|
|
15
|
+
viewBox: "0 0 24 24",
|
|
16
|
+
height: 24,
|
|
17
|
+
width: 24
|
|
18
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M18.65 4.67H5.34a.616.616 0 0 0-.62.41c-.12.24-.06.55.16.73L10 10.94V16c0 .18.07.35.2.47l2.67 2.67c.12.13.29.2.47.2.09 0 .18-.02.26-.05.26-.1.42-.35.4-.63v-7.72l5.13-5.13c.21-.18.28-.48.15-.73a.628.628 0 0 0-.63-.41z",
|
|
20
|
+
vectorEffect: "non-scaling-stroke",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
})));
|
|
23
|
+
|
|
24
|
+
exports.default = SvgFilterSolid;
|
package/lib/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export { default as Loader } from './components/Loader';
|
|
|
25
25
|
export { default as OptionsMenu, OptionsMenuList, OptionsMenuItem, OptionsMenuTrigger, OptionsMenuWrapper } from './components/OptionsMenu';
|
|
26
26
|
export { default as Select, SelectOption, SelectProps } from './components/Select';
|
|
27
27
|
export { default as RadioGroup } from './components/RadioGroup';
|
|
28
|
+
export { default as RadioCardGroup } from './components/RadioCardGroup';
|
|
28
29
|
export { default as Checkbox } from './components/Checkbox';
|
|
29
30
|
export { default as Tooltip, TooltipHead, TooltipContent } from './components/Tooltip';
|
|
30
31
|
export { default as TooltipTabstop } from './components/TooltipTabstop';
|
|
@@ -45,7 +46,7 @@ export { default as Panel } from './components/Panel';
|
|
|
45
46
|
export { default as IssuePanel } from './components/IssuePanel';
|
|
46
47
|
export { default as ProgressBar } from './components/ProgressBar';
|
|
47
48
|
export { Address, AddressLine, AddressCityStateZip } from './components/Address';
|
|
48
|
-
export { default as Pagination } from './components/Pagination';
|
|
49
|
+
export { default as Pagination, usePagination } from './components/Pagination';
|
|
49
50
|
export { default as FieldWrap } from './components/FieldWrap';
|
|
50
51
|
export { default as Breadcrumb, BreadcrumbItem, BreadcrumbLink } from './components/Breadcrumb';
|
|
51
52
|
export { default as TwoColumnPanel, ColumnHeader, ColumnGroupHeader, ColumnLeft, ColumnRight, ColumnList } from './components/TwoColumnPanel';
|