@deque/cauldron-react 4.5.0-canary.f4c1c3dd → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cauldron.css +0 -1
- package/lib/components/Accordion/Accordion.d.ts +42 -0
- package/lib/components/Accordion/index.d.ts +3 -0
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +5 -9
- package/lib/components/Breadcrumb/BreadcrumbLink.d.ts +1 -1
- 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 +10 -8
- package/lib/components/Icon/types.d.ts +1 -1
- package/lib/components/OptionsMenu/OptionsMenu.d.ts +1 -0
- package/lib/components/ProgressBar/index.d.ts +6 -12
- 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 +1 -0
- package/lib/index.js +351 -277
- 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 +13 -12
package/lib/cauldron.css
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ExpandCollapsePanelProps } from '../ExpandCollapsePanel';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
export interface AccordionTriggerProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
5
|
+
children: React.ReactElement;
|
|
6
|
+
heading?: React.ReactElement | {
|
|
7
|
+
level: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
declare const AccordionTrigger: {
|
|
11
|
+
({ children, ...triggerProps }: AccordionTriggerProps): JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
propTypes: {
|
|
14
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
|
+
heading: PropTypes.Requireable<string | undefined>;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
interface AccordionContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
19
|
+
children: React.ReactNode | React.ReactNode[];
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
declare const AccordionContent: {
|
|
23
|
+
({ children, className, ...otherProps }: AccordionContentProps): JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
propTypes: {
|
|
26
|
+
children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
27
|
+
className: PropTypes.Requireable<string>;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
interface AccordionProps extends ExpandCollapsePanelProps {
|
|
31
|
+
children: React.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
declare const Accordion: {
|
|
34
|
+
({ children }: AccordionProps): JSX.Element | null;
|
|
35
|
+
displayName: string;
|
|
36
|
+
propTypes: {
|
|
37
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
38
|
+
className: PropTypes.Requireable<string>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default Accordion;
|
|
42
|
+
export { Accordion, AccordionTrigger, AccordionContent };
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface BreadcrumbLinkProps extends React.
|
|
2
|
+
interface BreadcrumbLinkProps extends Omit<React.LinkHTMLAttributes<HTMLLinkElement>, 'as'> {
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
}
|
|
5
5
|
declare const BreadcrumbLink: React.ForwardRefExoticComponent<BreadcrumbLinkProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -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;
|
|
@@ -10,17 +10,19 @@ export interface PanelTriggerProps extends React.ButtonHTMLAttributes<HTMLButton
|
|
|
10
10
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
11
|
iconExpanded?: IconType;
|
|
12
12
|
iconCollapsed?: IconType;
|
|
13
|
+
heading?: React.ReactElement | {
|
|
14
|
+
level: string | undefined;
|
|
15
|
+
};
|
|
13
16
|
}
|
|
14
|
-
declare
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
declare const _default: React.MemoExoticComponent<{
|
|
18
|
+
({ children, className, open, fullWidth, onClick, iconExpanded, iconCollapsed, heading, ...otherProps }: PanelTriggerProps): JSX.Element;
|
|
19
|
+
propTypes: {
|
|
17
20
|
children: PropTypes.Requireable<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
18
21
|
open: PropTypes.Requireable<boolean>;
|
|
19
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
className: PropTypes.Requireable<string>;
|
|
21
22
|
iconExpanded: PropTypes.Requireable<string>;
|
|
22
23
|
iconCollapsed: PropTypes.Requireable<string>;
|
|
24
|
+
heading: PropTypes.Requireable<number>;
|
|
23
25
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
displayName: string;
|
|
27
|
+
}>;
|
|
26
28
|
export default _default;
|
|
@@ -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[];
|
|
@@ -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;
|
|
@@ -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" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "open" | "error" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "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" | "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" | "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
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export { default as Workspace } from './components/Workspace';
|
|
5
5
|
export { default as Main } from './components/Main';
|
|
6
|
+
export { default as Accordion, AccordionTrigger, AccordionContent } from './components/Accordion';
|
|
6
7
|
export { default as Layout } from './components/Layout';
|
|
7
8
|
export { default as Icon, IconType, iconTypes } from './components/Icon';
|
|
8
9
|
export { default as Offscreen } from './components/Offscreen';
|