@algolia/satellite 1.0.0-beta.178 → 1.0.0-beta.179
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 +1 -1
- package/cjs/AutoComplete/AutoComplete.js +2 -2
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +1 -1
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.js +2 -2
- package/cjs/Banners/Alert/Alert.js +7 -7
- package/cjs/Banners/Promote/Promote.js +2 -2
- package/cjs/Banners/SystemNotification/SystemNotification.d.ts +13 -0
- package/cjs/Banners/{BigBertha/BigBertha.js → SystemNotification/SystemNotification.js} +9 -8
- package/cjs/Banners/SystemNotification/index.d.ts +2 -0
- package/cjs/Banners/{BigBertha → SystemNotification}/index.js +5 -5
- package/cjs/Banners/index.d.ts +1 -1
- package/cjs/Banners/index.js +4 -4
- package/cjs/Card/components/CardTitle.d.ts +3 -2
- package/cjs/Card/components/CardTitle.js +4 -2
- package/cjs/Checkbox/Checkbox.js +2 -2
- package/cjs/DatePicker/DatePicker.tailwind.js +1 -1
- package/cjs/DatePicker/components/Display.js +2 -2
- package/cjs/DatePicker/components/NavBar.js +3 -3
- package/cjs/Dropdown/DropdownButton.js +2 -2
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +3 -3
- package/cjs/Dropdown/components/DropdownLinkItem.js +2 -2
- package/cjs/Dropzone/Dropzone.js +5 -5
- package/cjs/Field/Field.js +3 -3
- package/cjs/Icons/index.d.ts +1 -1
- package/cjs/Icons/index.js +312 -306
- package/cjs/Input/Input.js +7 -7
- package/cjs/KeyboardKey/KeyboardKey.js +6 -6
- package/cjs/Link/ButtonLink.js +2 -2
- package/cjs/Link/Link.js +2 -2
- package/cjs/MenuButton/components/DefaultTrigger.js +2 -2
- package/cjs/MenuButton/components/collapsible/CollapsibleItem.js +2 -2
- package/cjs/MenuButton/components/items/LinkItem.js +2 -2
- package/cjs/MenuButton/components/items/RadioItem.js +2 -2
- package/cjs/Modal/Modal.js +2 -2
- package/cjs/Pagination/CompactPagination/CompactPagination.js +5 -5
- package/cjs/Pagination/Pagination/Pagination.js +3 -3
- package/cjs/Popover/Popover.js +2 -2
- package/cjs/RadioGroup/RadioButton.d.ts +1 -1
- package/cjs/Sidebar/SidebarButtonLink.js +2 -2
- package/cjs/Sidebar/SidebarLink.js +2 -2
- package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +2 -2
- package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +1 -1
- package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +2 -2
- package/cjs/Tables/DataTable/components/HeaderCell.js +4 -4
- package/cjs/Tag/Tag.js +3 -3
- package/cjs/Toast/Toast.js +3 -3
- package/cjs/styles/helpers/icons.js +2 -2
- package/cjs/utils/isCssPropertySupported.d.ts +1 -1
- package/esm/AutoComplete/AutoComplete.js +2 -2
- package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +1 -1
- package/esm/AutoComplete/components/AutoCompleteEmptyState.js +2 -2
- package/esm/Banners/Alert/Alert.js +7 -7
- package/esm/Banners/Promote/Promote.js +2 -2
- package/esm/Banners/SystemNotification/SystemNotification.d.ts +13 -0
- package/esm/Banners/{BigBertha/BigBertha.js → SystemNotification/SystemNotification.js} +8 -7
- package/esm/Banners/SystemNotification/index.d.ts +2 -0
- package/esm/Banners/SystemNotification/index.js +2 -0
- package/esm/Banners/index.d.ts +1 -1
- package/esm/Banners/index.js +1 -1
- package/esm/Card/components/CardTitle.d.ts +3 -2
- package/esm/Card/components/CardTitle.js +4 -2
- package/esm/Checkbox/Checkbox.js +2 -2
- package/esm/DatePicker/DatePicker.tailwind.js +1 -1
- package/esm/DatePicker/components/Display.js +2 -2
- package/esm/DatePicker/components/NavBar.js +3 -3
- package/esm/Dropdown/DropdownButton.js +2 -2
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +3 -3
- package/esm/Dropdown/components/DropdownLinkItem.js +2 -2
- package/esm/Dropzone/Dropzone.js +5 -5
- package/esm/Field/Field.js +3 -3
- package/esm/Icons/index.d.ts +1 -1
- package/esm/Icons/index.js +1 -1
- package/esm/Input/Input.js +7 -7
- package/esm/KeyboardKey/KeyboardKey.js +6 -6
- package/esm/Link/ButtonLink.js +2 -2
- package/esm/Link/Link.js +2 -2
- package/esm/MenuButton/components/DefaultTrigger.js +2 -2
- package/esm/MenuButton/components/collapsible/CollapsibleItem.js +2 -2
- package/esm/MenuButton/components/items/LinkItem.js +2 -2
- package/esm/MenuButton/components/items/RadioItem.js +2 -2
- package/esm/Modal/Modal.js +2 -2
- package/esm/Pagination/CompactPagination/CompactPagination.js +5 -5
- package/esm/Pagination/Pagination/Pagination.js +3 -3
- package/esm/Popover/Popover.js +2 -2
- package/esm/RadioGroup/RadioButton.d.ts +1 -1
- package/esm/Sidebar/SidebarButtonLink.js +2 -2
- package/esm/Sidebar/SidebarLink.js +2 -2
- package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +2 -2
- package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +1 -1
- package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +2 -2
- package/esm/Tables/DataTable/components/HeaderCell.js +4 -4
- package/esm/Tag/Tag.js +3 -3
- package/esm/Toast/Toast.js +3 -3
- package/esm/styles/helpers/icons.js +3 -3
- package/esm/utils/isCssPropertySupported.d.ts +1 -1
- package/package.json +3 -3
- package/satellite.min.css +1 -1
- package/cjs/Banners/BigBertha/BigBertha.d.ts +0 -13
- package/cjs/Banners/BigBertha/index.d.ts +0 -2
- package/esm/Banners/BigBertha/BigBertha.d.ts +0 -13
- package/esm/Banners/BigBertha/index.d.ts +0 -2
- package/esm/Banners/BigBertha/index.js +0 -2
@@ -3,7 +3,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
4
4
|
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
5
5
|
import { useState } from "react";
|
6
|
-
import {
|
6
|
+
import { ChevronDownIcon, ChevronRightIcon } from "../../../Icons";
|
7
7
|
import stl from "../../../styles/helpers/satellitePrefixer";
|
8
8
|
import { uniqueId } from "../../../utils";
|
9
9
|
import { useCollapsibleItemsGroup } from "./CollapsibleItemsGroupContext";
|
@@ -25,7 +25,7 @@ export var CollapsibleItem = function CollapsibleItem(_ref) {
|
|
25
25
|
internalName = _useState2[0];
|
26
26
|
var itemName = name !== null && name !== void 0 ? name : internalName;
|
27
27
|
var isExpanded = typeof expanded === "boolean" ? expanded : expandedItems.includes(itemName);
|
28
|
-
var OpenIndicator = isExpanded ?
|
28
|
+
var OpenIndicator = isExpanded ? ChevronDownIcon : ChevronRightIcon;
|
29
29
|
return /*#__PURE__*/_jsxs("div", {
|
30
30
|
className: stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["flex flex-col"]))),
|
31
31
|
children: [/*#__PURE__*/_jsxs(DropdownMenu.Item, {
|
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
8
8
|
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
9
9
|
import cx from "clsx";
|
10
10
|
import { useMemo } from "react";
|
11
|
-
import {
|
11
|
+
import { ExternalLinkIcon } from "../../../Icons";
|
12
12
|
import { useSatelliteContext } from "../../../Satellite";
|
13
13
|
import stl from "../../../styles/helpers/satellitePrefixer";
|
14
14
|
import parseURL from "../../../utils/parseUrl";
|
@@ -51,7 +51,7 @@ export var LinkItem = function LinkItem(props) {
|
|
51
51
|
}), /*#__PURE__*/_jsx("span", {
|
52
52
|
className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["w-full truncate"]))),
|
53
53
|
children: children
|
54
|
-
}), isExternalLink && /*#__PURE__*/_jsx(
|
54
|
+
}), isExternalLink && /*#__PURE__*/_jsx(ExternalLinkIcon, {
|
55
55
|
className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["ml-1 shrink-0"]))),
|
56
56
|
size: "1em"
|
57
57
|
})]
|
@@ -7,7 +7,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
9
9
|
import cx from "clsx";
|
10
|
-
import {
|
10
|
+
import { CheckIcon } from "../../../Icons";
|
11
11
|
import stl from "../../../styles/helpers/satellitePrefixer";
|
12
12
|
import useMenuItemProps from "../../useMenuItemProps";
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -30,7 +30,7 @@ export var RadioItem = function RadioItem(props) {
|
|
30
30
|
children: children
|
31
31
|
}), /*#__PURE__*/_jsx(DropdownMenu.ItemIndicator, {
|
32
32
|
asChild: true,
|
33
|
-
children: /*#__PURE__*/_jsx(
|
33
|
+
children: /*#__PURE__*/_jsx(CheckIcon, {
|
34
34
|
className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["absolute right-0 text-accent-600 h-5"])))
|
35
35
|
})
|
36
36
|
})]
|
package/esm/Modal/Modal.js
CHANGED
@@ -6,9 +6,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
6
6
|
import * as Dialog from "@radix-ui/react-dialog";
|
7
7
|
import cx from "clsx";
|
8
8
|
import { Fragment } from "react";
|
9
|
-
import { X } from "react-feather";
|
10
9
|
import { IconButton } from "../Button";
|
11
10
|
import Card from "../Card";
|
11
|
+
import { XIcon } from "../Icons";
|
12
12
|
import { useCreatePortal, useLocale } from "../Satellite";
|
13
13
|
import stl from "../styles/helpers/satellitePrefixer";
|
14
14
|
import { prefersReducedMotion } from "../utils/prefersReducedMotion";
|
@@ -121,7 +121,7 @@ export var Modal = function Modal(_ref) {
|
|
121
121
|
children: /*#__PURE__*/_jsx(Dialog.Close, {
|
122
122
|
asChild: true,
|
123
123
|
children: /*#__PURE__*/_jsx(IconButton, {
|
124
|
-
icon:
|
124
|
+
icon: XIcon,
|
125
125
|
title: locale.dismissText,
|
126
126
|
variant: "subtle",
|
127
127
|
showTooltip: false,
|
@@ -3,8 +3,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
var _templateObject, _templateObject2;
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
-
import { ArrowLeft, ArrowRight, ChevronsLeft, ChevronsRight } from "react-feather";
|
7
6
|
import { IconButton } from "../../Button";
|
7
|
+
import { ArrowLeftIcon, ArrowRightIcon, ChevronsLeftIcon, ChevronsRightIcon } from "../../Icons";
|
8
8
|
import { useLocale } from "../../Satellite";
|
9
9
|
import stl from "../../styles/helpers/satellitePrefixer";
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -46,14 +46,14 @@ export var CompactPagination = function CompactPagination(props) {
|
|
46
46
|
return /*#__PURE__*/_jsxs("div", {
|
47
47
|
className: stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["flex items-center space-x-2"]))),
|
48
48
|
children: [props.showGoToFirstPage && /*#__PURE__*/_jsx(IconButton, {
|
49
|
-
icon:
|
49
|
+
icon: ChevronsLeftIcon,
|
50
50
|
title: locale.goToFirstPage,
|
51
51
|
onClick: function onClick() {
|
52
52
|
return props.onChange(1);
|
53
53
|
},
|
54
54
|
disabled: isFirstPage
|
55
55
|
}), /*#__PURE__*/_jsx(IconButton, {
|
56
|
-
icon:
|
56
|
+
icon: ArrowLeftIcon,
|
57
57
|
title: locale.goToPreviousPage,
|
58
58
|
onClick: function onClick() {
|
59
59
|
return props.onChange(props.currentPage - 1);
|
@@ -63,14 +63,14 @@ export var CompactPagination = function CompactPagination(props) {
|
|
63
63
|
className: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["inline-block text-center tabular-nums px-2"]))),
|
64
64
|
children: label
|
65
65
|
}), /*#__PURE__*/_jsx(IconButton, {
|
66
|
-
icon:
|
66
|
+
icon: ArrowRightIcon,
|
67
67
|
title: locale.goToNextPage,
|
68
68
|
onClick: function onClick() {
|
69
69
|
return props.onChange(props.currentPage + 1);
|
70
70
|
},
|
71
71
|
disabled: isLastPage
|
72
72
|
}), isDeterminateCompactPaginationProps(props) && props.showGoToLastPage && /*#__PURE__*/_jsx(IconButton, {
|
73
|
-
icon:
|
73
|
+
icon: ChevronsRightIcon,
|
74
74
|
title: locale.goToLastPage,
|
75
75
|
onClick: function onClick() {
|
76
76
|
return props.onChange(props.nbPages);
|
@@ -3,8 +3,8 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
3
3
|
var _templateObject;
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
-
import { ArrowLeft, ArrowRight } from "react-feather";
|
7
6
|
import Button, { ButtonGroup } from "../../Button";
|
7
|
+
import { ArrowLeftIcon, ArrowRightIcon } from "../../Icons";
|
8
8
|
import { useLocale } from "../../Satellite";
|
9
9
|
import stl from "../../styles/helpers/satellitePrefixer";
|
10
10
|
import range from "../../utils/range";
|
@@ -79,7 +79,7 @@ export var Pagination = function Pagination(_ref2) {
|
|
79
79
|
onClick: function onClick() {
|
80
80
|
return onChange(currentPage - 1);
|
81
81
|
},
|
82
|
-
children: /*#__PURE__*/_jsx(
|
82
|
+
children: /*#__PURE__*/_jsx(ArrowLeftIcon, {
|
83
83
|
size: "1em"
|
84
84
|
})
|
85
85
|
}), /*#__PURE__*/_jsx(Group, {
|
@@ -103,7 +103,7 @@ export var Pagination = function Pagination(_ref2) {
|
|
103
103
|
onClick: function onClick() {
|
104
104
|
return onChange(currentPage + 1);
|
105
105
|
},
|
106
|
-
children: /*#__PURE__*/_jsx(
|
106
|
+
children: /*#__PURE__*/_jsx(ArrowRightIcon, {
|
107
107
|
size: "1em"
|
108
108
|
})
|
109
109
|
})]
|
package/esm/Popover/Popover.js
CHANGED
@@ -9,8 +9,8 @@ import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
9
9
|
import cx from "clsx";
|
10
10
|
import { useMemo, useRef } from "react";
|
11
11
|
import { Fragment } from "react";
|
12
|
-
import { X } from "react-feather";
|
13
12
|
import { IconButton } from "../Button";
|
13
|
+
import { XIcon } from "../Icons";
|
14
14
|
import { useCreatePortal, useLocale } from "../Satellite";
|
15
15
|
import stl from "../styles/helpers/satellitePrefixer";
|
16
16
|
import { uniqueId } from "../utils";
|
@@ -118,7 +118,7 @@ export var Popover = function Popover(_ref) {
|
|
118
118
|
className: stl(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["absolute top-2 right-2"]))),
|
119
119
|
asChild: true,
|
120
120
|
children: /*#__PURE__*/_jsx(IconButton, {
|
121
|
-
icon:
|
121
|
+
icon: XIcon,
|
122
122
|
title: locale.dismissText,
|
123
123
|
variant: "subtle",
|
124
124
|
showTooltip: false
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import type { HTMLAttributes, InputHTMLAttributes } from "react";
|
2
2
|
export declare type RadioButtonProps = HTMLAttributes<HTMLInputElement> & Pick<InputHTMLAttributes<HTMLInputElement>, "value" | "name" | "checked" | "defaultChecked" | "onChange" | "required" | "autoFocus" | "disabled">;
|
3
|
-
export declare const RadioButton: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLInputElement> & Pick<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultChecked" | "onChange" | "
|
3
|
+
export declare const RadioButton: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLInputElement> & Pick<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultChecked" | "onChange" | "name" | "autoFocus" | "disabled" | "checked" | "required"> & import("react").RefAttributes<HTMLInputElement>>;
|
4
4
|
export default RadioButton;
|
@@ -5,7 +5,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
import { useState } from "react";
|
8
|
-
import {
|
8
|
+
import { ExternalLinkIcon } from "../Icons";
|
9
9
|
import stl from "../styles/helpers/satellitePrefixer";
|
10
10
|
import { TooltipWrapper } from "../Tooltip";
|
11
11
|
import useLinkProps from "../utils/useLinkProps";
|
@@ -69,7 +69,7 @@ export var SidebarButtonLink = function SidebarButtonLink(props) {
|
|
69
69
|
}), /*#__PURE__*/_jsx("span", {
|
70
70
|
className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n truncate\n ", "\n ", "\n ", "\n "])), collapsed && "sr-only", showColors ? "text-accent-600" : "typo-subdued", isActive && "font-bold"),
|
71
71
|
children: children
|
72
|
-
}), isExternalLink && !collapsed && /*#__PURE__*/_jsx(
|
72
|
+
}), isExternalLink && !collapsed && /*#__PURE__*/_jsx(ExternalLinkIcon, {
|
73
73
|
className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["", " !ml-1 shrink-0"])), showColors ? "text-accent-600" : "typo-subdued"),
|
74
74
|
size: "1em"
|
75
75
|
})]
|
@@ -4,7 +4,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
6
|
import cx from "clsx";
|
7
|
-
import {
|
7
|
+
import { ExternalLinkIcon } from "../Icons";
|
8
8
|
import stl from "../styles/helpers/satellitePrefixer";
|
9
9
|
import useLinkProps from "../utils/useLinkProps";
|
10
10
|
import { useSidebarContext } from "./SidebarContext";
|
@@ -35,7 +35,7 @@ export var SidebarLink = function SidebarLink(props) {
|
|
35
35
|
children: [/*#__PURE__*/_jsx("span", {
|
36
36
|
className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["truncate"]))),
|
37
37
|
children: children
|
38
|
-
}), isExternalLink && /*#__PURE__*/_jsx(
|
38
|
+
}), isExternalLink && /*#__PURE__*/_jsx(ExternalLinkIcon, {
|
39
39
|
className: stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["shrink-0 ml-1 ", ""])), disabled ? "text-grey-300" : "text-grey-500 group-focus:text-accent-600 group-hover:text-accent-600"),
|
40
40
|
size: "1em"
|
41
41
|
})]
|
@@ -3,7 +3,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
3
3
|
var _templateObject, _templateObject2, _templateObject3;
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
-
import {
|
6
|
+
import { ExternalLinkIcon } from "../../Icons";
|
7
7
|
import stl from "../../styles/helpers/satellitePrefixer";
|
8
8
|
import useLinkProps from "../../utils/useLinkProps";
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -22,7 +22,7 @@ export var SidebarGroupLink = function SidebarGroupLink(props) {
|
|
22
22
|
children: [/*#__PURE__*/_jsx("span", {
|
23
23
|
className: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["truncate"]))),
|
24
24
|
children: label
|
25
|
-
}), isExternalLink && /*#__PURE__*/_jsx(
|
25
|
+
}), isExternalLink && /*#__PURE__*/_jsx(ExternalLinkIcon, {
|
26
26
|
className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["ml-1 shrink-0"]))),
|
27
27
|
size: "1em"
|
28
28
|
})]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ReactNode, VFC } from "react";
|
2
|
-
import type
|
2
|
+
import { type IconComponentType } from "../../Icons";
|
3
3
|
import type { SidebarLinksGroupLink } from "./types";
|
4
4
|
declare type SidebarLinksGroupBaseProps = {
|
5
5
|
id?: string;
|
@@ -6,8 +6,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
import uniqueId from "lodash/uniqueId";
|
8
8
|
import { useEffect, useMemo, useState } from "react";
|
9
|
-
import { ChevronRight } from "react-feather";
|
10
9
|
import usePrevious from "react-use/lib/usePrevious";
|
10
|
+
import { ChevronRightIcon } from "../../Icons";
|
11
11
|
import stl from "../../styles/helpers/satellitePrefixer";
|
12
12
|
import { useSidebarContext } from "../SidebarContext";
|
13
13
|
import { ActiveLinkIndicator } from "./ActiveLinkIndicator";
|
@@ -64,7 +64,7 @@ export var SidebarLinksGroup = function SidebarLinksGroup(props) {
|
|
64
64
|
}), /*#__PURE__*/_jsx("span", {
|
65
65
|
className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["truncate display-subheading uppercase text-grey-800 group-focus:text-accent-500 group-hover:text-accent-500 mr-2"]))),
|
66
66
|
children: props.title
|
67
|
-
}), /*#__PURE__*/_jsx(
|
67
|
+
}), /*#__PURE__*/_jsx(ChevronRightIcon, {
|
68
68
|
className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["shrink-0 text-grey-500 motion-safe:transition-all motion-safe:duration-150 ease-in-out ", ""])), isOpen && "rotate-90"),
|
69
69
|
size: "1rem"
|
70
70
|
})]
|
@@ -6,7 +6,7 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
6
6
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import cx from "clsx";
|
9
|
-
import {
|
9
|
+
import { ChevronDownIcon, ChevronUpIcon } from "../../../Icons";
|
10
10
|
import stl from "../../../styles/helpers/satellitePrefixer";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
12
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -39,11 +39,11 @@ export var HeaderCell = function HeaderCell(_ref) {
|
|
39
39
|
className: className,
|
40
40
|
children: /*#__PURE__*/_jsxs(InternalCellComponent, _objectSpread(_objectSpread({}, sortButtonProps), {}, {
|
41
41
|
className: cx(stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["group/cell px-4 py-[14px] inline-flex items-center focus:outline-none focus:text-accent-600"]))), sortButtonProps.className),
|
42
|
-
children: [children, sort ? sortingDirection === "desc" ? /*#__PURE__*/_jsx(
|
42
|
+
children: [children, sort ? sortingDirection === "desc" ? /*#__PURE__*/_jsx(ChevronDownIcon, {
|
43
43
|
className: iconClassName
|
44
|
-
}) : sortingDirection === "asc" ? /*#__PURE__*/_jsx(
|
44
|
+
}) : sortingDirection === "asc" ? /*#__PURE__*/_jsx(ChevronUpIcon, {
|
45
45
|
className: iconClassName
|
46
|
-
}) : /*#__PURE__*/_jsx(
|
46
|
+
}) : /*#__PURE__*/_jsx(ChevronDownIcon, {
|
47
47
|
className: cx(iconClassName, stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["text-grey-300 invisible group-hover/cell:visible group-focus/cell:visible"]))))
|
48
48
|
}) : null]
|
49
49
|
}))
|
package/esm/Tag/Tag.js
CHANGED
@@ -7,8 +7,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import cx from "clsx";
|
9
9
|
import { forwardRef } from "react";
|
10
|
-
import { Plus, X } from "react-feather";
|
11
10
|
import { useIsInsideAutoComplete } from "../AutoComplete";
|
11
|
+
import { PlusIcon, XIcon } from "../Icons";
|
12
12
|
import { useLocale } from "../Satellite";
|
13
13
|
import stl from "../styles/helpers/satellitePrefixer";
|
14
14
|
import { TooltipWrapper } from "../Tooltip";
|
@@ -91,7 +91,7 @@ export var Tag = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
91
91
|
type: "button",
|
92
92
|
onClick: handleAdd,
|
93
93
|
"aria-label": typeof locale.addButton === "function" ? locale.addButton(title) : locale.addButton,
|
94
|
-
children: [/*#__PURE__*/_jsx(
|
94
|
+
children: [/*#__PURE__*/_jsx(PlusIcon, {
|
95
95
|
size: "1em"
|
96
96
|
}), content]
|
97
97
|
}))
|
@@ -105,7 +105,7 @@ export var Tag = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
105
105
|
type: "button",
|
106
106
|
onClick: handleRemove,
|
107
107
|
"aria-label": typeof locale.removeButton === "function" ? locale.removeButton(title) : locale.removeButton,
|
108
|
-
children: /*#__PURE__*/_jsx(
|
108
|
+
children: /*#__PURE__*/_jsx(XIcon, {
|
109
109
|
size: "1em"
|
110
110
|
})
|
111
111
|
}))
|
package/esm/Toast/Toast.js
CHANGED
@@ -7,9 +7,9 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import * as ToastPrimitive from "@radix-ui/react-toast";
|
9
9
|
import cx from "clsx";
|
10
|
-
import { Check, X } from "react-feather";
|
11
10
|
import { IconButton } from "../Button";
|
12
11
|
import { Card } from "../Card";
|
12
|
+
import { CheckIcon, XIcon } from "../Icons";
|
13
13
|
import ProgressSpinner from "../ProgressSpinner";
|
14
14
|
import { useLocale } from "../Satellite";
|
15
15
|
import stl from "../styles/helpers/satellitePrefixer";
|
@@ -39,7 +39,7 @@ export var Toast = function Toast(_ref) {
|
|
39
39
|
var onDismiss = _ref.onDismiss,
|
40
40
|
title = _ref.title,
|
41
41
|
_ref$icon = _ref.icon,
|
42
|
-
Icon = _ref$icon === void 0 ?
|
42
|
+
Icon = _ref$icon === void 0 ? CheckIcon : _ref$icon,
|
43
43
|
_ref$loading = _ref.loading,
|
44
44
|
loading = _ref$loading === void 0 ? false : _ref$loading,
|
45
45
|
_ref$variant = _ref.variant,
|
@@ -85,7 +85,7 @@ export var Toast = function Toast(_ref) {
|
|
85
85
|
onDismiss === null || onDismiss === void 0 || onDismiss();
|
86
86
|
},
|
87
87
|
children: /*#__PURE__*/_jsx(IconButton, {
|
88
|
-
icon:
|
88
|
+
icon: XIcon,
|
89
89
|
title: locale.dismissText,
|
90
90
|
variant: "subtle",
|
91
91
|
size: "small"
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import _Icon from "react-feather";
|
2
1
|
import _require4 from "react-dom/server";
|
3
2
|
import _require2 from "react";
|
3
|
+
import _icons from "lucide-react";
|
4
|
+
var icons = _icons;
|
4
5
|
var _require = _require2,
|
5
6
|
createElement = _require.createElement;
|
6
7
|
var _require3 = _require4,
|
7
8
|
renderToStaticMarkup = _require3.renderToStaticMarkup;
|
8
|
-
var Icon = _Icon;
|
9
9
|
|
10
10
|
/**
|
11
11
|
* Render inline SVG for a Feather icon
|
@@ -13,7 +13,7 @@ var Icon = _Icon;
|
|
13
13
|
*/
|
14
14
|
var toSVG = function toSVG(iconName) {
|
15
15
|
var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
16
|
-
return renderToStaticMarkup(createElement(
|
16
|
+
return renderToStaticMarkup(createElement(icons[iconName], props, null));
|
17
17
|
};
|
18
18
|
|
19
19
|
/**
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const isCssPropertySupported: <P extends number | typeof Symbol.iterator | "filter" | "fill" | "font" | "clipPath" | "marker" | "mask" | "translate" | "color" | "grid" | "all" | "
|
1
|
+
declare const isCssPropertySupported: <P extends number | typeof Symbol.iterator | "filter" | "fill" | "font" | "clipPath" | "marker" | "mask" | "translate" | "color" | "grid" | "all" | "width" | "height" | "alignmentBaseline" | "baselineShift" | "clip" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "cursor" | "direction" | "display" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "offset" | "opacity" | "order" | "overflow" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textDecoration" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "top" | "left" | "right" | "bottom" | "content" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "clear" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "counterIncrement" | "counterReset" | "counterSet" | "cssFloat" | "cssText" | "emptyCells" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFeatureSettings" | "fontKerning" | "fontOpticalSizing" | "fontSynthesis" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "gap" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hyphens" | "imageOrientation" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "lineBreak" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetRotate" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowAnchor" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "position" | "quotes" | "resize" | "rowGap" | "rubyPosition" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollbarGutter" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textOrientation" | "textOverflow" | "textShadow" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transformBox" | "transformOrigin" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "userSelect" | "verticalAlign" | "webkitAlignContent" | "webkitAlignItems" | "webkitAlignSelf" | "webkitAnimation" | "webkitAnimationDelay" | "webkitAnimationDirection" | "webkitAnimationDuration" | "webkitAnimationFillMode" | "webkitAnimationIterationCount" | "webkitAnimationName" | "webkitAnimationPlayState" | "webkitAnimationTimingFunction" | "webkitAppearance" | "webkitBackfaceVisibility" | "webkitBackgroundClip" | "webkitBackgroundOrigin" | "webkitBackgroundSize" | "webkitBorderBottomLeftRadius" | "webkitBorderBottomRightRadius" | "webkitBorderRadius" | "webkitBorderTopLeftRadius" | "webkitBorderTopRightRadius" | "webkitBoxAlign" | "webkitBoxFlex" | "webkitBoxOrdinalGroup" | "webkitBoxOrient" | "webkitBoxPack" | "webkitBoxShadow" | "webkitBoxSizing" | "webkitFilter" | "webkitFlex" | "webkitFlexBasis" | "webkitFlexDirection" | "webkitFlexFlow" | "webkitFlexGrow" | "webkitFlexShrink" | "webkitFlexWrap" | "webkitJustifyContent" | "webkitLineClamp" | "webkitMask" | "webkitMaskBoxImage" | "webkitMaskBoxImageOutset" | "webkitMaskBoxImageRepeat" | "webkitMaskBoxImageSlice" | "webkitMaskBoxImageSource" | "webkitMaskBoxImageWidth" | "webkitMaskClip" | "webkitMaskComposite" | "webkitMaskImage" | "webkitMaskOrigin" | "webkitMaskPosition" | "webkitMaskRepeat" | "webkitMaskSize" | "webkitOrder" | "webkitPerspective" | "webkitPerspectiveOrigin" | "webkitTextFillColor" | "webkitTextStroke" | "webkitTextStrokeColor" | "webkitTextStrokeWidth" | "webkitTransform" | "webkitTransformOrigin" | "webkitTransformStyle" | "webkitTransition" | "webkitTransitionDelay" | "webkitTransitionDuration" | "webkitTransitionProperty" | "webkitTransitionTimingFunction" | "webkitUserSelect" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordWrap" | "zIndex" | "getPropertyPriority" | "getPropertyValue" | "item" | "removeProperty" | "setProperty">(prop: P, value: CSSStyleDeclaration[P]) => boolean;
|
2
2
|
export default isCssPropertySupported;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@algolia/satellite",
|
3
|
-
"version": "1.0.0-beta.
|
3
|
+
"version": "1.0.0-beta.179",
|
4
4
|
"description": "Algolia design system React components",
|
5
5
|
"sideEffects": false,
|
6
6
|
"scripts": {
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"quality": "run-s quality:test quality:types quality:lint",
|
23
23
|
"quality:lint": "eslint --rulesdir ./.eslint_rules/ 'src/**/*.{ts,tsx}'",
|
24
24
|
"quality:types": "tsc",
|
25
|
-
"quality:test": "jest --config jest.config.js",
|
25
|
+
"quality:test": "jest --config jest.config.js --runInBand",
|
26
26
|
"quality:accessibility": "yarn build:storybook && run-p -r serve:storybook quality:test-storybook",
|
27
27
|
"quality:test-storybook": "wait-on tcp:6060 && test-storybook --url http://localhost:6060 --no-stories-json --maxWorkers=2",
|
28
28
|
"postquality:test-storybook": "node ./scripts/combine-reports.js",
|
@@ -88,9 +88,9 @@
|
|
88
88
|
"diacritics": "^1.3.0",
|
89
89
|
"downshift": "^8",
|
90
90
|
"lodash": "^4.17.21",
|
91
|
+
"lucide-react": "^0.312.0",
|
91
92
|
"react-day-picker": "^8.0.7",
|
92
93
|
"react-dropzone": "^11.5.1",
|
93
|
-
"react-feather": "^2.0.10",
|
94
94
|
"react-popper": "^2.2.5",
|
95
95
|
"react-transition-group": "^4.4.5",
|
96
96
|
"react-use": "^15.3.8",
|