@algolia/satellite 1.0.0-beta.150 → 1.0.0-beta.154

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.
Files changed (87) hide show
  1. package/README.md +1 -1
  2. package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +6 -0
  3. package/cjs/AutoComplete/AutoComplete.d.ts +0 -1
  4. package/cjs/AutoComplete/AutoComplete.js +7 -11
  5. package/cjs/AutoComplete/components/AutoCompleteEmptyState.js +1 -1
  6. package/cjs/AutoComplete/types.d.ts +0 -1
  7. package/cjs/Avatars/UserAvatar.d.ts +4 -1
  8. package/cjs/Badge/Badge.js +3 -2
  9. package/cjs/Banners/Alert/Alert.d.ts +4 -0
  10. package/cjs/Banners/Alert/Alert.js +1 -1
  11. package/cjs/Banners/Promote/Promote.js +3 -3
  12. package/cjs/Card/Card.d.ts +1 -1
  13. package/cjs/Card/components/CardHeader.d.ts +5 -3
  14. package/cjs/Card/components/CardHeader.js +4 -2
  15. package/cjs/Checkbox/Checkbox.js +2 -1
  16. package/cjs/EmptyState/EmptyState.js +4 -4
  17. package/cjs/EmptyState/types.d.ts +1 -1
  18. package/cjs/Field/Field.js +1 -1
  19. package/cjs/Flag/Flag.js +2 -1
  20. package/cjs/Flag/types.d.ts +6 -1
  21. package/cjs/FlexGrid/FlexGrid.d.ts +34 -0
  22. package/cjs/Input/Input.d.ts +1 -1
  23. package/cjs/Input/Input.js +2 -2
  24. package/cjs/Modal/Modal.d.ts +8 -1
  25. package/cjs/Modal/Modal.js +1 -1
  26. package/cjs/Pagination/CompactPagination/CompactPagination.js +1 -1
  27. package/cjs/RangeSlider/RangeSlider.d.ts +22 -6
  28. package/cjs/RangeSlider/RangeSlider.js +69 -78
  29. package/cjs/Sidebar/SidebarButtonLink.js +8 -3
  30. package/cjs/Sidebar/SidebarHeading.js +1 -1
  31. package/cjs/Sidebar/SidebarLink.js +10 -5
  32. package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +9 -4
  33. package/cjs/Tables/Table/Table.js +1 -1
  34. package/cjs/Tabs/ContentTabs.js +2 -2
  35. package/cjs/Tabs/components/LinkTab.js +1 -1
  36. package/cjs/Tooltip/OverflowTooltipWrapper.js +1 -1
  37. package/cjs/Tooltip/TooltipWrapper.d.ts +1 -1
  38. package/cjs/styles/helpers/makePurgeCssExtractor.js +1 -1
  39. package/cjs/styles/tailwind.config.js +1 -1
  40. package/cjs/utils/index.d.ts +0 -1
  41. package/cjs/utils/isCssPropertySupported.d.ts +1 -1
  42. package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +6 -0
  43. package/esm/AutoComplete/AutoComplete.d.ts +0 -1
  44. package/esm/AutoComplete/AutoComplete.js +7 -11
  45. package/esm/AutoComplete/components/AutoCompleteEmptyState.js +1 -1
  46. package/esm/AutoComplete/types.d.ts +0 -1
  47. package/esm/Avatars/UserAvatar.d.ts +4 -1
  48. package/esm/Badge/Badge.js +3 -2
  49. package/esm/Banners/Alert/Alert.d.ts +4 -0
  50. package/esm/Banners/Alert/Alert.js +1 -1
  51. package/esm/Banners/Promote/Promote.js +3 -3
  52. package/esm/Card/Card.d.ts +1 -1
  53. package/esm/Card/components/CardHeader.d.ts +5 -3
  54. package/esm/Card/components/CardHeader.js +4 -2
  55. package/esm/Checkbox/Checkbox.js +2 -1
  56. package/esm/EmptyState/EmptyState.js +4 -4
  57. package/esm/EmptyState/types.d.ts +1 -1
  58. package/esm/Field/Field.js +1 -1
  59. package/esm/Flag/Flag.js +2 -1
  60. package/esm/Flag/types.d.ts +6 -1
  61. package/esm/FlexGrid/FlexGrid.d.ts +34 -0
  62. package/esm/Input/Input.d.ts +1 -1
  63. package/esm/Input/Input.js +2 -2
  64. package/esm/Modal/Modal.d.ts +8 -1
  65. package/esm/Modal/Modal.js +1 -1
  66. package/esm/Pagination/CompactPagination/CompactPagination.js +1 -1
  67. package/esm/RangeSlider/RangeSlider.d.ts +22 -6
  68. package/esm/RangeSlider/RangeSlider.js +69 -78
  69. package/esm/Sidebar/SidebarButtonLink.js +8 -3
  70. package/esm/Sidebar/SidebarHeading.js +1 -1
  71. package/esm/Sidebar/SidebarLink.js +10 -5
  72. package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +10 -4
  73. package/esm/Tables/Table/Table.js +1 -1
  74. package/esm/Tabs/ContentTabs.js +2 -2
  75. package/esm/Tabs/components/LinkTab.js +1 -1
  76. package/esm/Tooltip/OverflowTooltipWrapper.js +1 -1
  77. package/esm/Tooltip/TooltipWrapper.d.ts +1 -1
  78. package/esm/styles/helpers/makePurgeCssExtractor.js +1 -1
  79. package/esm/styles/tailwind.config.js +1 -1
  80. package/esm/utils/index.d.ts +0 -1
  81. package/esm/utils/isCssPropertySupported.d.ts +1 -1
  82. package/package.json +9 -8
  83. package/satellite.min.css +1 -1
  84. package/cjs/RangeSlider/RangeSlider.tailwind.d.ts +0 -5
  85. package/cjs/RangeSlider/RangeSlider.tailwind.js +0 -73
  86. package/esm/RangeSlider/RangeSlider.tailwind.d.ts +0 -5
  87. package/esm/RangeSlider/RangeSlider.tailwind.js +0 -73
@@ -1,9 +1,10 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
3
- var _templateObject, _templateObject2, _templateObject3;
3
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
4
4
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
5
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
  import cx from "clsx";
7
+ import { ExternalLink } from "react-feather";
7
8
  import stl from "../styles/helpers/satellitePrefixer";
8
9
  import useLinkProps from "../utils/useLinkProps";
9
10
  import { useSidebarContext } from "./SidebarContext";
@@ -19,7 +20,8 @@ export var SidebarLink = function SidebarLink(props) {
19
20
  Icon = props.icon,
20
21
  children = props.children;
21
22
  var linkProps = useLinkProps(props);
22
- var isActive = !disabled && isLinkActive((_linkProps$href = linkProps.href) !== null && _linkProps$href !== void 0 ? _linkProps$href : "");
23
+ var isExternalLink = linkProps.target === "_blank";
24
+ var isActive = !disabled && !isExternalLink && isLinkActive((_linkProps$href = linkProps.href) !== null && _linkProps$href !== void 0 ? _linkProps$href : "");
23
25
  return /*#__PURE__*/_jsxs("a", _objectSpread(_objectSpread({}, linkProps), {}, {
24
26
  id: id,
25
27
  className: cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n flex items-center\n group hover:no-underline focus:outline-none\n ", "\n "])), disabled ? "cursor-not-allowed" : "cursor-pointer"), className),
@@ -28,9 +30,12 @@ export var SidebarLink = function SidebarLink(props) {
28
30
  className: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["shrink-0 mr-3 ", ""])), disabled ? "text-grey-300" : "text-grey-500"),
29
31
  width: "1rem",
30
32
  height: "1rem"
31
- }), /*#__PURE__*/_jsx("span", {
32
- className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex-1 truncate\n ", ""])), disabled ? "text-grey-300" : isActive ? "font-semibold text-accent-600" : "typo-subdued focus:text-accent-600 group-hover:text-accent-600"),
33
- children: children
33
+ }), /*#__PURE__*/_jsxs("span", {
34
+ className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex-1 inline-flex items-center truncate\n ", ""])), disabled ? "text-grey-300" : isActive ? "font-semibold text-accent-600" : "typo-subdued focus:text-accent-600 group-hover:text-accent-600"),
35
+ children: [children, isExternalLink && /*#__PURE__*/_jsx(ExternalLink, {
36
+ className: stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["", " ml-1 shrink-0"])), disabled ? "text-grey-300" : "text-grey-500"),
37
+ size: "1em"
38
+ })]
34
39
  })]
35
40
  }));
36
41
  };
@@ -1,21 +1,27 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
3
- var _templateObject;
3
+ var _templateObject, _templateObject2;
4
4
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
5
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
+ import { ExternalLink } from "react-feather";
6
7
  import stl from "../../styles/helpers/satellitePrefixer";
7
8
  import useLinkProps from "../../utils/useLinkProps";
8
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
11
  export var SidebarGroupLink = function SidebarGroupLink(props) {
10
12
  var label = props.label,
11
13
  active = props.active,
12
14
  id = props.id,
13
15
  disabled = props.disabled;
14
16
  var linkProps = useLinkProps(props);
15
- return /*#__PURE__*/_jsx("a", _objectSpread(_objectSpread({}, linkProps), {}, {
17
+ var isExternalLink = linkProps.target === "_blank";
18
+ return /*#__PURE__*/_jsxs("a", _objectSpread(_objectSpread({}, linkProps), {}, {
16
19
  id: id,
17
- className: stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n block hover:no-underline focus:outline-none leading-md\n ", "\n ", ""])), disabled ? "cursor-not-allowed" : "cursor-pointer", disabled ? "text-grey-300" : active ? "font-semibold text-accent-600" : "typo-subdued hover:text-accent-600 focus:text-accent-600"),
20
+ className: stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n inline-flex items-center hover:no-underline focus:outline-none leading-md\n ", "\n ", ""])), disabled ? "cursor-not-allowed" : "cursor-pointer", disabled ? "text-grey-300" : active ? "font-semibold text-accent-600" : "typo-subdued hover:text-accent-600 focus:text-accent-600"),
18
21
  "aria-current": active,
19
- children: label
22
+ children: [label, isExternalLink && /*#__PURE__*/_jsx(ExternalLink, {
23
+ className: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["ml-1 shrink-0"]))),
24
+ size: "1em"
25
+ })]
20
26
  }));
21
27
  };
@@ -45,7 +45,7 @@ export var Table = function Table(_ref) {
45
45
  children: /*#__PURE__*/_jsx("table", _objectSpread(_objectSpread({}, props), {}, {
46
46
  className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["table ", " ", ""])), hasActions && "table-with-actions", highlight && "table-with-highlight")
47
47
  }))
48
- }), footer && /*#__PURE__*/_jsx(TableFooter, {
48
+ }), !!footer && /*#__PURE__*/_jsx(TableFooter, {
49
49
  size: smallFooter ? "small" : "default",
50
50
  children: footer
51
51
  })]
@@ -33,10 +33,10 @@ export var ContentTabs = function ContentTabs(_ref) {
33
33
  value: String(index),
34
34
  disabled: disabled,
35
35
  className: cx(ACTIVE_UNDERLINE_VARIANT_CLASSNAMES[variant], stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["tab pb-3 text-base leading-sm"]))), className),
36
- children: [label, value && /*#__PURE__*/_jsx(Badge, {
36
+ children: [label, !!value && /*#__PURE__*/_jsx(Badge, {
37
37
  size: "small",
38
38
  variant: variant,
39
- className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["ml-2 text-grey-600"]))),
39
+ className: stl(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["ml-2"]))),
40
40
  children: value
41
41
  })]
42
42
  }, index);
@@ -67,7 +67,7 @@ export var LinkTab = function LinkTab(_ref3) {
67
67
  previousElement === null || previousElement === void 0 ? void 0 : previousElement.focus();
68
68
  }
69
69
  },
70
- children: [tab.label, tab.value && /*#__PURE__*/_jsx(Badge, {
70
+ children: [tab.label, !!tab.value && /*#__PURE__*/_jsx(Badge, {
71
71
  size: "small",
72
72
  variant: variant,
73
73
  className: stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["ml-2 text-grey-600"]))),
@@ -74,7 +74,7 @@ export var OverflowTooltipWrapper = function OverflowTooltipWrapper(_ref) {
74
74
  onMouseEnter: onMouseEnter,
75
75
  onMouseLeave: onMouseLeave,
76
76
  children: children
77
- }), tooltipText && createPortal( /*#__PURE__*/_jsxs("div", _objectSpread(_objectSpread({}, attributes.popper), {}, {
77
+ }), !!tooltipText && createPortal( /*#__PURE__*/_jsxs("div", _objectSpread(_objectSpread({}, attributes.popper), {}, {
78
78
  style: styles.popper,
79
79
  className: cx(stl(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["tooltip-wrapper-popper"]))), tooltipClassName),
80
80
  ref: setPopperEl,
@@ -11,7 +11,7 @@ export interface TooltipWrapperProps extends TooltipWrapperBaseProps {
11
11
  delay?: number;
12
12
  /**
13
13
  * Controls how long the tooltip should stay displayed when leaving the wrapped element (in ms)
14
- * @default 100
14
+ * @default 500
15
15
  * */
16
16
  hideDelay?: number;
17
17
  /**
@@ -9,7 +9,7 @@ var prefixTailwindClassName = _prefixTailwindClassName;
9
9
  * Regexp lifted and modified from https://tailwindcss.com/docs/optimizing-for-production#writing-purgeable-html because
10
10
  * it does not handle cases like foo\\n
11
11
  */
12
- var TAILWIND_REGEXP = /[^<>"'`\s\\]*[^<>"'`\s:\\]/g;
12
+ var TAILWIND_REGEXP = /[^<"'`\s\\]*[^<"'`\s:\\]/g;
13
13
 
14
14
  /**
15
15
  * Creates a PurgeCSS extractor
@@ -141,5 +141,5 @@ export default {
141
141
  }
142
142
  }
143
143
  },
144
- plugins: [require("./base.tailwind"), require("../utilities/utilities.tailwind"), require("../Typography/Typography.tailwind"), require("../FlexGrid/FlexGrid.tailwind"), require("../AutoComplete/AutoComplete.tailwind"), require("../Button/Button.tailwind"), require("../Card/Card.tailwind"), require("../Checkbox/Checkbox.tailwind"), require("../EmptyState/EmptyState.tailwind"), require("../Flag/Flag.tailwind"), require("../HelpUnderline/HelpUnderline.tailwind"), require("../Input/Input.tailwind"), require("../InstantSearch/InstantSearch.tailwind"), require("../KeyboardKey/KeyboardKey.tailwind"), require("../Medallion/Medallion.tailwind"), require("../Modal/Modal.tailwind"), require("../ProgressBar/ProgressBar.tailwind"), require("../ProgressSpinner/ProgressSpinner.tailwind"), require("../RadioGroup/RadioButton.tailwind"), require("../RangeSlider/RangeSlider.tailwind"), require("../ScrollIndicator/ScrollIndicator.tailwind"), require("../Select/Select.tailwind"), require("../Switch/Switch.tailwind"), require("../Tabs/Tabs.tailwind"), require("../Tables/DataTable/DataTable.tailwind"), require("../Tables/Table/Table.tailwind"), require("../Tag/Tag.tailwind"), require("../TextArea/TextArea.tailwind"), require("../Toggle/Toggle.tailwind"), require("../Tooltip/Tooltip.tailwind"), require("../UserContent/UserContent.tailwind"), require("../DatePicker/DatePicker.tailwind")]
144
+ plugins: [require("./base.tailwind"), require("../utilities/utilities.tailwind"), require("../Typography/Typography.tailwind"), require("../FlexGrid/FlexGrid.tailwind"), require("../AutoComplete/AutoComplete.tailwind"), require("../Button/Button.tailwind"), require("../Card/Card.tailwind"), require("../Checkbox/Checkbox.tailwind"), require("../EmptyState/EmptyState.tailwind"), require("../Flag/Flag.tailwind"), require("../HelpUnderline/HelpUnderline.tailwind"), require("../Input/Input.tailwind"), require("../InstantSearch/InstantSearch.tailwind"), require("../KeyboardKey/KeyboardKey.tailwind"), require("../Medallion/Medallion.tailwind"), require("../Modal/Modal.tailwind"), require("../ProgressBar/ProgressBar.tailwind"), require("../ProgressSpinner/ProgressSpinner.tailwind"), require("../RadioGroup/RadioButton.tailwind"), require("../ScrollIndicator/ScrollIndicator.tailwind"), require("../Select/Select.tailwind"), require("../Switch/Switch.tailwind"), require("../Tabs/Tabs.tailwind"), require("../Tables/DataTable/DataTable.tailwind"), require("../Tables/Table/Table.tailwind"), require("../Tag/Tag.tailwind"), require("../TextArea/TextArea.tailwind"), require("../Toggle/Toggle.tailwind"), require("../Tooltip/Tooltip.tailwind"), require("../UserContent/UserContent.tailwind"), require("../DatePicker/DatePicker.tailwind")]
145
145
  };
@@ -5,4 +5,3 @@ export { uniqBy } from "./uniqBy";
5
5
  export { uniqueId } from "./uniqueId";
6
6
  export { isNil } from "./isNil";
7
7
  export { toSentenceCase } from "./toSentenceCase";
8
- export declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
@@ -1,2 +1,2 @@
1
- declare const isCssPropertySupported: <P extends number | "filter" | "fill" | "animationName" | "all" | "offset" | "height" | "width" | "left" | "top" | "item" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignmentBaseline" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationPlayState" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "baselineShift" | "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" | "bottom" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "clear" | "clip" | "clipPath" | "clipRule" | "color" | "colorInterpolation" | "colorInterpolationFilters" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "content" | "counterIncrement" | "counterReset" | "counterSet" | "cssFloat" | "cssText" | "cursor" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fillOpacity" | "fillRule" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontOpticalSizing" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hyphens" | "imageOrientation" | "imageRendering" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetRotate" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "rubyPosition" | "scale" | "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" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textAnchor" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "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" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "getPropertyPriority" | "getPropertyValue" | "removeProperty" | "setProperty">(prop: P, value: CSSStyleDeclaration[P]) => boolean;
1
+ declare const isCssPropertySupported: <P extends number | "filter" | "fill" | "animationName" | "all" | "offset" | "height" | "width" | "left" | "top" | "item" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignmentBaseline" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationPlayState" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "baselineShift" | "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" | "bottom" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "clear" | "clip" | "clipPath" | "clipRule" | "color" | "colorInterpolation" | "colorInterpolationFilters" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "content" | "counterIncrement" | "counterReset" | "counterSet" | "cssFloat" | "cssText" | "cursor" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fillOpacity" | "fillRule" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontOpticalSizing" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hyphens" | "imageOrientation" | "imageRendering" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetRotate" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "rubyPosition" | "scale" | "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" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textAnchor" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transition" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "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" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "getPropertyPriority" | "getPropertyValue" | "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.150",
3
+ "version": "1.0.0-beta.154",
4
4
  "description": "Algolia design system React components",
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",
@@ -18,7 +18,7 @@
18
18
  "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path ./",
19
19
  "dev": "start-storybook -p 6060",
20
20
  "quality": "run-s quality:test quality:types quality:lint",
21
- "quality:lint": "eslint 'src/**/*.{ts,tsx}'",
21
+ "quality:lint": "eslint --rulesdir ./.eslint_rules/ 'src/**/*.{ts,tsx}'",
22
22
  "quality:types": "tsc",
23
23
  "quality:test": "jest --config jest.config.js",
24
24
  "quality:accessibility": "run-p -r dev quality:test-storybook",
@@ -66,21 +66,22 @@
66
66
  "react-instantsearch-dom": "^6.1.0"
67
67
  },
68
68
  "dependencies": {
69
- "@babel/runtime": "^7.17.7",
69
+ "@babel/runtime": "^7.21.0",
70
70
  "@popperjs/core": "^2.4.4",
71
- "@radix-ui/react-tabs": "^1.0.1",
71
+ "@radix-ui/react-slider": "^1.1.0",
72
+ "@radix-ui/react-tabs": "^1.0.2",
72
73
  "clsx": "^1.2.1",
73
74
  "color": "^4.2.3",
74
- "date-fns": "2.22.1",
75
+ "date-fns": "^2.29.3",
75
76
  "diacritics": "^1.3.0",
76
77
  "downshift": "^2.0.10",
77
- "lodash": "^4.17.15",
78
+ "lodash": "^4.17.21",
78
79
  "react-day-picker": "^8.0.7",
79
80
  "react-dropzone": "^11.5.1",
80
81
  "react-popper": "^2.2.5",
81
- "react-transition-group": "4.4.2",
82
+ "react-transition-group": "^4.4.5",
82
83
  "react-use": "^15.3.8",
83
- "tailwindcss": "^3.2.2"
84
+ "tailwindcss": "^3.2.6"
84
85
  },
85
86
  "main": "./cjs/index.js",
86
87
  "module": "./esm/index.js",