@algolia/satellite 1.0.0-beta.119 → 1.0.0-beta.120
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/README.md +2 -2
- package/cjs/AutoComplete/AutoComplete.d.ts +2 -2
- package/cjs/AutoComplete/utils.js +1 -1
- package/cjs/Avatars/ApplicationAvatar.d.ts +1 -1
- package/cjs/Avatars/utils.js +1 -1
- package/cjs/Button/styles.js +1 -1
- package/cjs/Card/components/CardHeader.d.ts +2 -2
- package/cjs/Checkbox/Checkbox.d.ts +1 -1
- package/cjs/ClickAwayContainer/ClickAwayContainer.js +1 -1
- package/cjs/DatePicker/DatePicker/datePickerReducer.js +1 -1
- package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.js +1 -1
- package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +1 -1
- package/cjs/DatePicker/utils.d.ts +1 -1
- package/cjs/Dropdown/DropdownContext.js +1 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +0 -2
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +2 -2
- package/cjs/Dropdown/useDropdownItemProps.js +1 -1
- package/cjs/Field/useFieldState.js +1 -1
- package/cjs/Link/Link.d.ts +2 -2
- package/cjs/Pagination/CompactPagination/CompactPagination.js +1 -1
- package/cjs/RadioGroup/RadioButton.d.ts +1 -1
- package/cjs/RadioGroup/RadioGroup.js +1 -1
- package/cjs/RangeSlider/RangeSlider.d.ts +1 -1
- package/cjs/Satellite/SatelliteContext.js +1 -1
- package/cjs/Sidebar/SidebarContext.js +1 -1
- package/cjs/Switch/utils.js +1 -1
- package/cjs/Tabs/LinkTabs.js +1 -1
- package/cjs/Tag/Tag.d.ts +1 -1
- package/cjs/Toggle/Toggle.d.ts +1 -1
- package/cjs/Tooltip/OverflowTooltipWrapper.js +1 -1
- package/cjs/Tooltip/Tooltip.d.ts +1 -1
- package/cjs/index.js +8 -8
- package/cjs/styles/brandColors.d.ts +6 -6
- package/cjs/styles/colors.d.ts +9 -9
- package/cjs/styles/helpers/icons.d.ts +12 -0
- package/cjs/styles/helpers/makeTailwindPrefixer.d.ts +1 -1
- package/cjs/styles/tailwind.config.d.ts +24 -33
- package/cjs/styles/zIndexes.d.ts +7 -7
- package/cjs/utils/genericChangeHandler.js +1 -1
- package/cjs/utils/hashCode.js +1 -1
- package/cjs/utils/index.js +6 -6
- package/cjs/utils/isCssPropertySupported.d.ts +1 -1
- package/cjs/utils/isNil.js +1 -1
- package/cjs/utils/matchLocation.d.ts +1 -1
- package/cjs/utils/parseUrl.js +1 -1
- package/cjs/utils/pluralize.js +1 -1
- package/cjs/utils/range.js +1 -1
- package/cjs/utils/uniqBy.js +1 -1
- package/cjs/utils/uniqueId.js +1 -1
- package/cjs/utils/useLinkProps.d.ts +1 -1
- package/cjs/utils/useLinkProps.js +1 -1
- package/cjs/utils/useTriggerInputChange.d.ts +2 -1
- package/esm/AutoComplete/AutoComplete.d.ts +2 -2
- package/esm/Avatars/ApplicationAvatar.d.ts +1 -1
- package/esm/Card/components/CardHeader.d.ts +2 -2
- package/esm/Checkbox/Checkbox.d.ts +1 -1
- package/esm/DatePicker/utils.d.ts +1 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +0 -2
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +1 -1
- package/esm/Link/Link.d.ts +2 -2
- package/esm/RadioGroup/RadioButton.d.ts +1 -1
- package/esm/RangeSlider/RangeSlider.d.ts +1 -1
- package/esm/Tag/Tag.d.ts +1 -1
- package/esm/Toggle/Toggle.d.ts +1 -1
- package/esm/Tooltip/Tooltip.d.ts +1 -1
- package/esm/styles/brandColors.d.ts +6 -6
- package/esm/styles/colors.d.ts +9 -9
- package/esm/styles/helpers/icons.d.ts +12 -0
- package/esm/styles/helpers/makeTailwindPrefixer.d.ts +1 -1
- package/esm/styles/tailwind.config.d.ts +24 -33
- package/esm/styles/zIndexes.d.ts +7 -7
- package/esm/utils/isCssPropertySupported.d.ts +1 -1
- package/esm/utils/matchLocation.d.ts +1 -1
- package/esm/utils/useLinkProps.d.ts +1 -1
- package/esm/utils/useTriggerInputChange.d.ts +2 -1
- package/package.json +4 -4
- package/satellite.css +427 -157
- package/satellite.min.css +2 -2
package/README.md
CHANGED
@@ -113,9 +113,9 @@ const plugins = [
|
|
113
113
|
// Here, it will keep all the classnames starting with:
|
114
114
|
// - 'ais-*' to preserve the instant-search widgets style
|
115
115
|
// - 'DayPicker*' to preserve all the DatePicker styles (used in the DatePicker and DateRangePicker)
|
116
|
-
whitelistPatterns: [/^ais-/, /^DayPicker/]
|
116
|
+
whitelistPatterns: [/^ais-/, /^DayPicker/],
|
117
117
|
}),
|
118
|
-
cssnano({ preset: "default" })
|
118
|
+
cssnano({ preset: "default" }),
|
119
119
|
];
|
120
120
|
|
121
121
|
module.exports = { plugins };
|
@@ -31,7 +31,7 @@ export declare class AutoComplete<T extends Option> extends Component<AutoComple
|
|
31
31
|
options: never[];
|
32
32
|
separatorKeyCodes: never[];
|
33
33
|
separatorKeys: never[];
|
34
|
-
optionItemComponent:
|
34
|
+
optionItemComponent: import("./types").OptionItemComponentType;
|
35
35
|
noWrap: boolean;
|
36
36
|
};
|
37
37
|
state: State;
|
@@ -46,7 +46,7 @@ export declare class AutoComplete<T extends Option> extends Component<AutoComple
|
|
46
46
|
updateInputWidth: () => void;
|
47
47
|
handleKeyDown: (state: ControllerStateAndHelpers<Option>) => (evt: React.KeyboardEvent<any>) => void;
|
48
48
|
handleChange: (option: Option) => void;
|
49
|
-
handleShowAllResults: (evt: React.MouseEvent<HTMLButtonElement
|
49
|
+
handleShowAllResults: (evt: React.MouseEvent<HTMLButtonElement>) => void;
|
50
50
|
removeValue: (removedOption: Option) => void;
|
51
51
|
renderInput: (results: Option[], autocompleteHelpers: ControllerStateAndHelpers<Option>, fieldState: FieldState) => JSX.Element;
|
52
52
|
renderMenu: (results: Option[], autocompleteHelpers: ControllerStateAndHelpers<Option>) => JSX.Element;
|
@@ -3,8 +3,8 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
+
exports.defaultCreateFromInputValue = exports.caseInsensitiveCreateFromInputValue = void 0;
|
6
7
|
exports.isAutoCompleteMultiProps = isAutoCompleteMultiProps;
|
7
|
-
exports.caseInsensitiveCreateFromInputValue = exports.defaultCreateFromInputValue = void 0;
|
8
8
|
|
9
9
|
function isAutoCompleteMultiProps(props) {
|
10
10
|
return Boolean(props.multiple);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { ApplicationAvatarSize, MinimalApplication } from "./types";
|
3
|
-
interface ApplicationAvatarProps {
|
3
|
+
export interface ApplicationAvatarProps {
|
4
4
|
/** A minimal application object containing `applicationID` and `name`. */
|
5
5
|
application: MinimalApplication;
|
6
6
|
/** @default "medium" */
|
package/cjs/Avatars/utils.js
CHANGED
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports.
|
8
|
+
exports.pickApplicationColors = exports.getUserInitials = exports.getUserBackgroundClassName = exports.getApplicationInitials = exports.getApplicationIdInitial = void 0;
|
9
9
|
|
10
10
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11
11
|
|
package/cjs/Button/styles.js
CHANGED
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports.getIconColorClassName = exports.BUTTON_VARIANT_CLASSNAMES = exports.
|
8
|
+
exports.getIconColorClassName = exports.BUTTON_VARIANT_CLASSNAMES = exports.BUTTON_SIZE_CLASSNAMES = exports.BUTTON_LOADER_ICON_SIZES = void 0;
|
9
9
|
|
10
10
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11
11
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
export declare type CardHeaderProps = JSX.IntrinsicElements["div"];
|
3
|
-
export declare const CardHeader: ({ className, ...props }:
|
3
|
+
export declare const CardHeader: ({ className, ...props }: CardHeaderProps) => JSX.Element;
|
4
4
|
export default CardHeader;
|
@@ -20,5 +20,5 @@ export declare type CheckboxProps = CheckboxInputProps & CheckboxCustomProps;
|
|
20
20
|
* - A checkbox control has two primary states: selected and unselected. If required, there's an additional visual state for indeterminate (usually for a parent checkbox, when some children checkboxes are selected, but not all of them)
|
21
21
|
* - Checkboxes require the use of a button to apply the settings once they are selected
|
22
22
|
*/
|
23
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<
|
23
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLInputElement>, "onChange"> & Pick<React.InputHTMLAttributes<HTMLInputElement>, "required" | "disabled" | "defaultChecked" | "onChange" | "autoFocus" | "checked"> & CheckboxCustomProps & React.RefAttributes<HTMLInputElement>>;
|
24
24
|
export default Checkbox;
|
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
8
8
|
value: true
|
9
9
|
});
|
10
|
-
exports["default"] = exports.
|
10
|
+
exports.useClickAwayContext = exports["default"] = exports.ClickAwayContext = exports.ClickAwayContainer = void 0;
|
11
11
|
|
12
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
13
13
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports.
|
8
|
+
exports.initDatePickerReducer = exports.datePickerReducer = exports.DatePickerActionTypes = void 0;
|
9
9
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
11
11
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports.
|
8
|
+
exports.initDateRangePickerReducer = exports.dateRangePickerReducer = exports.DateRangePickerActionTypes = void 0;
|
9
9
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
11
11
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.isPartialTimeRange = exports.
|
6
|
+
exports.isPartialTimeRange = exports.isEmptyTimeRange = exports.isCompleteTimeRange = void 0;
|
7
7
|
|
8
8
|
var isEmptyTimeRange = function isEmptyTimeRange(range) {
|
9
9
|
return Boolean(range && !(range.start || range.end));
|
@@ -1 +1 @@
|
|
1
|
-
export declare const formatDate: (date:
|
1
|
+
export declare const formatDate: (date: Date | number) => string;
|
@@ -5,7 +5,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports["default"] = exports.
|
8
|
+
exports.useDropdownContext = exports["default"] = exports.DropdownContext = void 0;
|
9
9
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
11
11
|
|
@@ -1,6 +1,4 @@
|
|
1
1
|
import React, { FC } from "react";
|
2
|
-
export declare type DropdownCollapsibleValue = undefined | string | string[];
|
3
|
-
export declare type DropdownCollapsiblePropsOnChange = (name: string, value: DropdownCollapsibleValue) => void;
|
4
2
|
export interface DropdownCollapsibleItemProps {
|
5
3
|
title: React.ReactNode;
|
6
4
|
name?: string;
|
@@ -21,7 +21,7 @@ var _utils = require("../../../utils");
|
|
21
21
|
|
22
22
|
var _satellitePrefixer = _interopRequireDefault(require("../../../styles/helpers/satellitePrefixer"));
|
23
23
|
|
24
|
-
var
|
24
|
+
var _DropdownCollapsibleItemsGroupContext = require("./DropdownCollapsibleItemsGroupContext");
|
25
25
|
|
26
26
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
27
27
|
|
@@ -36,7 +36,7 @@ var DropdownCollapsibleItem = function DropdownCollapsibleItem(_ref) {
|
|
36
36
|
_onClick = _ref.onClick,
|
37
37
|
children = _ref.children;
|
38
38
|
|
39
|
-
var _useDropdownCollapsib = (0,
|
39
|
+
var _useDropdownCollapsib = (0, _DropdownCollapsibleItemsGroupContext.useDropdownCollapsibleItemsGroup)(),
|
40
40
|
expandedItems = _useDropdownCollapsib.expandedItems,
|
41
41
|
onItemClick = _useDropdownCollapsib.onItemClick;
|
42
42
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports["default"] =
|
8
|
+
exports.useDropdownItemProps = exports["default"] = void 0;
|
9
9
|
|
10
10
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11
11
|
|
@@ -5,7 +5,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports["default"] =
|
8
|
+
exports.useFieldState = exports["default"] = void 0;
|
9
9
|
|
10
10
|
var _react = require("react");
|
11
11
|
|
package/cjs/Link/Link.d.ts
CHANGED
@@ -5,7 +5,7 @@ export declare type LinkProps = {
|
|
5
5
|
endIcon?: IconComponentType;
|
6
6
|
} & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
7
7
|
export declare const Link: React.ForwardRefExoticComponent<{
|
8
|
-
startIcon?:
|
9
|
-
endIcon?:
|
8
|
+
startIcon?: IconComponentType | undefined;
|
9
|
+
endIcon?: IconComponentType | undefined;
|
10
10
|
} & React.AnchorHTMLAttributes<HTMLAnchorElement> & React.RefAttributes<HTMLAnchorElement>>;
|
11
11
|
export default Link;
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports
|
8
|
+
exports.isIndeterminateCompactPaginationProps = exports.isDeterminateCompactPaginationProps = exports["default"] = exports.CompactPagination = void 0;
|
9
9
|
|
10
10
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11
11
|
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export declare type RadioButtonProps = React.HTMLAttributes<HTMLInputElement> & Pick<React.InputHTMLAttributes<HTMLInputElement>, "value" | "name" | "checked" | "defaultChecked" | "onChange" | "required" | "autoFocus" | "disabled">;
|
3
|
-
export declare const RadioButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLInputElement> & Pick<React.InputHTMLAttributes<HTMLInputElement>, "required" | "disabled" | "
|
3
|
+
export declare const RadioButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLInputElement> & Pick<React.InputHTMLAttributes<HTMLInputElement>, "required" | "disabled" | "defaultChecked" | "onChange" | "name" | "autoFocus" | "value" | "checked"> & React.RefAttributes<HTMLInputElement>>;
|
4
4
|
export default RadioButton;
|
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
8
8
|
value: true
|
9
9
|
});
|
10
|
-
exports["default"] = exports.
|
10
|
+
exports["default"] = exports.RadioGroupItem = exports.RadioGroup = void 0;
|
11
11
|
|
12
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
13
13
|
|
@@ -14,5 +14,5 @@ export interface RangeSliderProps extends Omit<React.DetailedHTMLProps<React.Inp
|
|
14
14
|
* - Provide min and max value whenever possible
|
15
15
|
* - Provide text input for better accessibility
|
16
16
|
*/
|
17
|
-
export declare const RangeSlider: React.ForwardRefExoticComponent<Pick<RangeSliderProps, "max" | "required" | "disabled" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "pattern" | "color" | "size" | "multiple" | "className" | "
|
17
|
+
export declare const RangeSlider: React.ForwardRefExoticComponent<Pick<RangeSliderProps, "max" | "required" | "disabled" | "hidden" | "dir" | "form" | "slot" | "style" | "title" | "pattern" | "color" | "size" | "multiple" | "key" | "list" | "step" | "className" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "name" | "height" | "min" | "width" | "crossOrigin" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "accept" | "alt" | "autoComplete" | "capture" | "maxLength" | "minLength" | "readOnly" | "src" | "track1Color" | "track2Color"> & React.RefAttributes<HTMLInputElement>>;
|
18
18
|
export default RangeSlider;
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports["default"] = exports.
|
8
|
+
exports.useSatelliteContext = exports["default"] = exports.SatelliteContext = void 0;
|
9
9
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
11
11
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports["default"] = exports.
|
6
|
+
exports.useSidebarContext = exports["default"] = exports.SidebarContext = exports.SIDEBAR_CONTEXT_DEFAULT = void 0;
|
7
7
|
|
8
8
|
var _react = require("react");
|
9
9
|
|
package/cjs/Switch/utils.js
CHANGED
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports.buildAnimationProps = exports.
|
8
|
+
exports.buildAnimationProps = exports.buildAnimationKeyValue = exports.buildAnimationKeySelector = exports.SWITCH_ANIMATION_KEY = void 0;
|
9
9
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
11
11
|
|
package/cjs/Tabs/LinkTabs.js
CHANGED
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports["default"] = exports.LinkTabs =
|
8
|
+
exports.defaultUrlMatcher = exports["default"] = exports.LinkTabs = void 0;
|
9
9
|
|
10
10
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
11
11
|
|
package/cjs/Tag/Tag.d.ts
CHANGED
@@ -26,5 +26,5 @@ export interface TagProps extends React.DetailedHTMLProps<React.HTMLAttributes<H
|
|
26
26
|
* - When writing tags, avoid line-wrapping
|
27
27
|
* - Define the max width of text within a tag. Once the text reaches the max, truncate with ellipses
|
28
28
|
*/
|
29
|
-
export declare const Tag: React.ForwardRefExoticComponent<Pick<TagProps, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "children" | "className" | "id" | "lang" | "
|
29
|
+
export declare const Tag: React.ForwardRefExoticComponent<Pick<TagProps, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "children" | "key" | "variant" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onDelete"> & React.RefAttributes<HTMLSpanElement>>;
|
30
30
|
export default Tag;
|
package/cjs/Toggle/Toggle.d.ts
CHANGED
@@ -6,5 +6,5 @@ export declare type ToggleProps = Omit<React.HTMLAttributes<HTMLInputElement>, "
|
|
6
6
|
* - Toggles should not require a Save button to apply the changes
|
7
7
|
* - If a Save button is needed, try using Radio groups or Checkboxes instead
|
8
8
|
*/
|
9
|
-
export declare const Toggle: React.ForwardRefExoticComponent<
|
9
|
+
export declare const Toggle: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLInputElement>, "children" | "onChange"> & Pick<React.InputHTMLAttributes<HTMLInputElement>, "required" | "disabled" | "defaultChecked" | "onChange" | "autoFocus" | "checked"> & React.RefAttributes<HTMLInputElement>>;
|
10
10
|
export default Toggle;
|
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
8
8
|
value: true
|
9
9
|
});
|
10
|
-
exports["default"] = exports.OverflowTooltipWrapper =
|
10
|
+
exports.isOverflowing = exports["default"] = exports.OverflowTooltipWrapper = void 0;
|
11
11
|
|
12
12
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
13
13
|
|
package/cjs/Tooltip/Tooltip.d.ts
CHANGED
@@ -20,5 +20,5 @@ export interface TooltipProps extends React.DetailedHTMLProps<React.HTMLAttribut
|
|
20
20
|
* - Not contain any links or buttons
|
21
21
|
* - Be used sparingly. If you're building something that requires a lot of tooltips, work on clarifying the design and the language in the experience
|
22
22
|
*/
|
23
|
-
export declare const Tooltip: React.ForwardRefExoticComponent<Pick<TooltipProps, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "children" | "className" | "id" | "lang" | "
|
23
|
+
export declare const Tooltip: React.ForwardRefExoticComponent<Pick<TooltipProps, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "children" | "key" | "variant" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
|
24
24
|
export default Tooltip;
|
package/cjs/index.js
CHANGED
@@ -11,22 +11,16 @@ var _exportNames = {
|
|
11
11
|
stl: true,
|
12
12
|
makePurgeCssExtractor: true
|
13
13
|
};
|
14
|
-
Object.defineProperty(exports, "colors", {
|
15
|
-
enumerable: true,
|
16
|
-
get: function get() {
|
17
|
-
return _colors["default"];
|
18
|
-
}
|
19
|
-
});
|
20
14
|
Object.defineProperty(exports, "brandColors", {
|
21
15
|
enumerable: true,
|
22
16
|
get: function get() {
|
23
17
|
return _brandColors["default"];
|
24
18
|
}
|
25
19
|
});
|
26
|
-
Object.defineProperty(exports, "
|
20
|
+
Object.defineProperty(exports, "colors", {
|
27
21
|
enumerable: true,
|
28
22
|
get: function get() {
|
29
|
-
return
|
23
|
+
return _colors["default"];
|
30
24
|
}
|
31
25
|
});
|
32
26
|
Object.defineProperty(exports, "makePurgeCssExtractor", {
|
@@ -35,6 +29,12 @@ Object.defineProperty(exports, "makePurgeCssExtractor", {
|
|
35
29
|
return _makePurgeCssExtractor["default"];
|
36
30
|
}
|
37
31
|
});
|
32
|
+
Object.defineProperty(exports, "stl", {
|
33
|
+
enumerable: true,
|
34
|
+
get: function get() {
|
35
|
+
return _satellitePrefixer["default"];
|
36
|
+
}
|
37
|
+
});
|
38
38
|
|
39
39
|
var _types = require("./types");
|
40
40
|
|
@@ -1,39 +1,39 @@
|
|
1
|
-
export
|
1
|
+
export const neptune: {
|
2
2
|
1: string;
|
3
3
|
2: string;
|
4
4
|
3: string;
|
5
5
|
4: string;
|
6
6
|
5: string;
|
7
7
|
};
|
8
|
-
export
|
8
|
+
export const mercury: {
|
9
9
|
1: string;
|
10
10
|
2: string;
|
11
11
|
3: string;
|
12
12
|
4: string;
|
13
13
|
5: string;
|
14
14
|
};
|
15
|
-
export
|
15
|
+
export const jupiter: {
|
16
16
|
1: string;
|
17
17
|
2: string;
|
18
18
|
3: string;
|
19
19
|
4: string;
|
20
20
|
5: string;
|
21
21
|
};
|
22
|
-
export
|
22
|
+
export const saturn: {
|
23
23
|
1: string;
|
24
24
|
2: string;
|
25
25
|
3: string;
|
26
26
|
4: string;
|
27
27
|
5: string;
|
28
28
|
};
|
29
|
-
export
|
29
|
+
export const mars: {
|
30
30
|
1: string;
|
31
31
|
2: string;
|
32
32
|
3: string;
|
33
33
|
4: string;
|
34
34
|
5: string;
|
35
35
|
};
|
36
|
-
export
|
36
|
+
export const venus: {
|
37
37
|
1: string;
|
38
38
|
2: string;
|
39
39
|
3: string;
|
package/cjs/styles/colors.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
1
|
+
export const black: string;
|
2
|
+
export const white: string;
|
3
|
+
export const grey: {
|
4
4
|
950: string;
|
5
5
|
900: string;
|
6
6
|
800: string;
|
@@ -13,7 +13,7 @@ export declare const grey: {
|
|
13
13
|
100: string;
|
14
14
|
50: string;
|
15
15
|
};
|
16
|
-
export
|
16
|
+
export const pink: {
|
17
17
|
900: string;
|
18
18
|
800: string;
|
19
19
|
700: string;
|
@@ -24,7 +24,7 @@ export declare const pink: {
|
|
24
24
|
200: string;
|
25
25
|
100: string;
|
26
26
|
};
|
27
|
-
export
|
27
|
+
export const nebula: {
|
28
28
|
900: string;
|
29
29
|
800: string;
|
30
30
|
700: string;
|
@@ -35,7 +35,7 @@ export declare const nebula: {
|
|
35
35
|
200: string;
|
36
36
|
100: string;
|
37
37
|
};
|
38
|
-
export
|
38
|
+
export const blue: {
|
39
39
|
900: string;
|
40
40
|
800: string;
|
41
41
|
700: string;
|
@@ -46,7 +46,7 @@ export declare const blue: {
|
|
46
46
|
200: string;
|
47
47
|
100: string;
|
48
48
|
};
|
49
|
-
export
|
49
|
+
export const green: {
|
50
50
|
900: string;
|
51
51
|
800: string;
|
52
52
|
700: string;
|
@@ -57,7 +57,7 @@ export declare const green: {
|
|
57
57
|
200: string;
|
58
58
|
100: string;
|
59
59
|
};
|
60
|
-
export
|
60
|
+
export const orange: {
|
61
61
|
900: string;
|
62
62
|
800: string;
|
63
63
|
700: string;
|
@@ -68,7 +68,7 @@ export declare const orange: {
|
|
68
68
|
200: string;
|
69
69
|
100: string;
|
70
70
|
};
|
71
|
-
export
|
71
|
+
export const red: {
|
72
72
|
900: string;
|
73
73
|
800: string;
|
74
74
|
700: string;
|
@@ -1,3 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Return url encoded image background
|
3
|
+
* @param {string} color
|
4
|
+
*/
|
1
5
|
export function selectIconBG(color: string): string;
|
6
|
+
/**
|
7
|
+
* Return Feather icon as SVG background-image value
|
8
|
+
* @param {string} color
|
9
|
+
*/
|
2
10
|
export function toBG(iconName: any, props?: {}): string;
|
11
|
+
/**
|
12
|
+
* Render inline SVG for a Feather icon
|
13
|
+
* @param {string} color
|
14
|
+
*/
|
3
15
|
export function toSVG(iconName: any, props?: {}): string;
|