@algolia/satellite 1.0.0-beta.119 → 1.0.0-beta.123

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 (179) hide show
  1. package/README.md +2 -2
  2. package/cjs/AutoComplete/AutoComplete.d.ts +6 -2
  3. package/cjs/AutoComplete/AutoComplete.js +10 -5
  4. package/cjs/AutoComplete/types.d.ts +5 -0
  5. package/cjs/AutoComplete/utils.js +1 -1
  6. package/cjs/Avatars/ApplicationAvatar.d.ts +1 -1
  7. package/cjs/Avatars/utils.js +1 -1
  8. package/cjs/Button/styles.d.ts +1 -1
  9. package/cjs/Button/styles.js +1 -1
  10. package/cjs/Card/components/CardHeader.d.ts +2 -2
  11. package/cjs/Checkbox/Checkbox.d.ts +1 -1
  12. package/cjs/Checkbox/Checkbox.js +1 -0
  13. package/cjs/ClickAwayContainer/ClickAwayContainer.js +1 -1
  14. package/cjs/DatePicker/DatePicker/datePickerReducer.js +1 -1
  15. package/cjs/DatePicker/DatePicker.tailwind.js +7 -2
  16. package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.js +1 -1
  17. package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +1 -1
  18. package/cjs/DatePicker/utils.d.ts +1 -1
  19. package/cjs/Dropdown/DropdownButton.d.ts +1 -1
  20. package/cjs/Dropdown/DropdownContext.js +1 -1
  21. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +0 -2
  22. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +2 -2
  23. package/cjs/Dropdown/useDropdownItemProps.js +1 -1
  24. package/cjs/Field/useFieldState.js +1 -1
  25. package/cjs/Link/Link.d.ts +2 -2
  26. package/cjs/Pagination/CompactPagination/CompactPagination.js +1 -1
  27. package/cjs/Pagination/DotPagination/DotPagination.d.ts +2 -1
  28. package/cjs/Pagination/DotPagination/DotPagination.js +4 -2
  29. package/cjs/Pagination/Pagination/Pagination.js +3 -0
  30. package/cjs/ProgressSpinner/ProgressSpinner.js +1 -1
  31. package/cjs/RadioGroup/RadioButton.d.ts +1 -1
  32. package/cjs/RadioGroup/RadioGroup.js +1 -1
  33. package/cjs/RangeSlider/RangeSlider.d.ts +1 -1
  34. package/cjs/Satellite/SatelliteContext.js +1 -1
  35. package/cjs/Sidebar/SidebarContext.js +1 -1
  36. package/cjs/Switch/utils.js +1 -1
  37. package/cjs/Tables/DataTable/DataTable.d.ts +41 -0
  38. package/cjs/Tables/DataTable/DataTable.js +280 -0
  39. package/cjs/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
  40. package/cjs/Tables/DataTable/DataTable.tailwind.js +23 -0
  41. package/cjs/Tables/DataTable/components/Body.d.ts +14 -0
  42. package/cjs/Tables/DataTable/components/Body.js +125 -0
  43. package/cjs/Tables/DataTable/components/Footer.d.ts +8 -0
  44. package/cjs/Tables/DataTable/components/Footer.js +81 -0
  45. package/cjs/Tables/DataTable/components/Header.d.ts +10 -0
  46. package/cjs/Tables/DataTable/components/Header.js +44 -0
  47. package/cjs/Tables/DataTable/components/HeaderCell.d.ts +11 -0
  48. package/cjs/Tables/DataTable/components/HeaderCell.js +61 -0
  49. package/cjs/Tables/DataTable/components/Loader.d.ts +6 -0
  50. package/cjs/Tables/DataTable/components/Loader.js +63 -0
  51. package/cjs/Tables/DataTable/components/index.d.ts +5 -0
  52. package/cjs/Tables/DataTable/components/index.js +70 -0
  53. package/cjs/Tables/DataTable/index.d.ts +3 -0
  54. package/cjs/Tables/DataTable/index.js +46 -0
  55. package/cjs/Tables/DataTable/types.d.ts +49 -0
  56. package/cjs/Tables/DataTable/types.js +5 -0
  57. package/cjs/Tables/DataTable/utils.d.ts +4 -0
  58. package/cjs/Tables/DataTable/utils.js +32 -0
  59. package/cjs/{Table → Tables/Table}/Table.d.ts +1 -1
  60. package/cjs/{Table → Tables/Table}/Table.js +8 -6
  61. package/cjs/Tables/Table/Table.tailwind.d.ts +5 -0
  62. package/cjs/{Table → Tables/Table}/Table.tailwind.js +6 -20
  63. package/cjs/Tables/Table/components/Footer.d.ts +8 -0
  64. package/cjs/Tables/Table/components/Footer.js +35 -0
  65. package/cjs/Tables/Table/index.d.ts +2 -0
  66. package/cjs/{Table → Tables/Table}/index.js +7 -5
  67. package/cjs/Tables/index.d.ts +3 -0
  68. package/cjs/Tables/index.js +46 -0
  69. package/cjs/Tabs/LinkTabs.js +1 -1
  70. package/cjs/Tag/Tag.d.ts +1 -1
  71. package/cjs/Toggle/Toggle.d.ts +1 -1
  72. package/cjs/Tooltip/OverflowTooltipWrapper.js +1 -1
  73. package/cjs/Tooltip/Tooltip.d.ts +1 -1
  74. package/cjs/index.d.ts +1 -1
  75. package/cjs/index.js +12 -12
  76. package/cjs/styles/brandColors.d.ts +6 -6
  77. package/cjs/styles/colors.d.ts +9 -9
  78. package/cjs/styles/helpers/icons.d.ts +12 -0
  79. package/cjs/styles/helpers/makeTailwindPrefixer.d.ts +1 -1
  80. package/cjs/styles/tailwind.config.d.ts +24 -33
  81. package/cjs/styles/tailwind.config.js +1 -1
  82. package/cjs/styles/zIndexes.d.ts +7 -7
  83. package/cjs/utils/genericChangeHandler.js +1 -1
  84. package/cjs/utils/hashCode.js +1 -1
  85. package/cjs/utils/index.d.ts +1 -0
  86. package/cjs/utils/index.js +15 -7
  87. package/cjs/utils/isCssPropertySupported.d.ts +1 -1
  88. package/cjs/utils/isNil.js +1 -1
  89. package/cjs/utils/matchLocation.d.ts +1 -1
  90. package/cjs/utils/parseUrl.js +1 -1
  91. package/cjs/utils/pluralize.js +1 -1
  92. package/cjs/utils/range.js +1 -1
  93. package/cjs/utils/toSentenceCase.d.ts +3 -0
  94. package/cjs/utils/toSentenceCase.js +21 -0
  95. package/cjs/utils/uniqBy.js +1 -1
  96. package/cjs/utils/uniqueId.js +1 -1
  97. package/cjs/utils/useLinkProps.d.ts +1 -1
  98. package/cjs/utils/useLinkProps.js +1 -1
  99. package/cjs/utils/useTriggerInputChange.d.ts +2 -1
  100. package/esm/AutoComplete/AutoComplete.d.ts +6 -2
  101. package/esm/AutoComplete/AutoComplete.js +10 -5
  102. package/esm/AutoComplete/types.d.ts +5 -0
  103. package/esm/Avatars/ApplicationAvatar.d.ts +1 -1
  104. package/esm/Button/styles.d.ts +1 -1
  105. package/esm/Card/components/CardHeader.d.ts +2 -2
  106. package/esm/Checkbox/Checkbox.d.ts +1 -1
  107. package/esm/Checkbox/Checkbox.js +1 -0
  108. package/esm/DatePicker/DatePicker.tailwind.js +7 -2
  109. package/esm/DatePicker/utils.d.ts +1 -1
  110. package/esm/Dropdown/DropdownButton.d.ts +1 -1
  111. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +0 -2
  112. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +1 -1
  113. package/esm/Link/Link.d.ts +2 -2
  114. package/esm/Pagination/DotPagination/DotPagination.d.ts +2 -1
  115. package/esm/Pagination/DotPagination/DotPagination.js +4 -2
  116. package/esm/Pagination/Pagination/Pagination.js +3 -0
  117. package/esm/ProgressSpinner/ProgressSpinner.js +1 -1
  118. package/esm/RadioGroup/RadioButton.d.ts +1 -1
  119. package/esm/RangeSlider/RangeSlider.d.ts +1 -1
  120. package/esm/Tables/DataTable/DataTable.d.ts +41 -0
  121. package/esm/Tables/DataTable/DataTable.js +248 -0
  122. package/esm/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
  123. package/esm/Tables/DataTable/DataTable.tailwind.js +21 -0
  124. package/esm/Tables/DataTable/components/Body.d.ts +14 -0
  125. package/esm/Tables/DataTable/components/Body.js +106 -0
  126. package/esm/Tables/DataTable/components/Footer.d.ts +8 -0
  127. package/esm/Tables/DataTable/components/Footer.js +60 -0
  128. package/esm/Tables/DataTable/components/Header.d.ts +10 -0
  129. package/esm/Tables/DataTable/components/Header.js +29 -0
  130. package/esm/Tables/DataTable/components/HeaderCell.d.ts +11 -0
  131. package/esm/Tables/DataTable/components/HeaderCell.js +42 -0
  132. package/esm/Tables/DataTable/components/Loader.d.ts +6 -0
  133. package/esm/Tables/DataTable/components/Loader.js +40 -0
  134. package/esm/Tables/DataTable/components/index.d.ts +5 -0
  135. package/esm/Tables/DataTable/components/index.js +5 -0
  136. package/esm/Tables/DataTable/index.d.ts +3 -0
  137. package/esm/Tables/DataTable/index.js +3 -0
  138. package/esm/Tables/DataTable/types.d.ts +49 -0
  139. package/esm/Tables/DataTable/types.js +1 -0
  140. package/esm/Tables/DataTable/utils.d.ts +4 -0
  141. package/esm/Tables/DataTable/utils.js +14 -0
  142. package/esm/{Table → Tables/Table}/Table.d.ts +1 -1
  143. package/esm/{Table → Tables/Table}/Table.js +7 -6
  144. package/esm/Tables/Table/Table.tailwind.d.ts +5 -0
  145. package/esm/{Table → Tables/Table}/Table.tailwind.js +6 -20
  146. package/esm/Tables/Table/components/Footer.d.ts +8 -0
  147. package/esm/Tables/Table/components/Footer.js +20 -0
  148. package/esm/Tables/Table/index.d.ts +2 -0
  149. package/esm/Tables/Table/index.js +2 -0
  150. package/esm/Tables/index.d.ts +3 -0
  151. package/esm/Tables/index.js +3 -0
  152. package/esm/Tag/Tag.d.ts +1 -1
  153. package/esm/Toggle/Toggle.d.ts +1 -1
  154. package/esm/Tooltip/Tooltip.d.ts +1 -1
  155. package/esm/index.d.ts +1 -1
  156. package/esm/index.js +1 -1
  157. package/esm/styles/brandColors.d.ts +6 -6
  158. package/esm/styles/colors.d.ts +9 -9
  159. package/esm/styles/helpers/icons.d.ts +12 -0
  160. package/esm/styles/helpers/makeTailwindPrefixer.d.ts +1 -1
  161. package/esm/styles/tailwind.config.d.ts +24 -33
  162. package/esm/styles/tailwind.config.js +1 -1
  163. package/esm/styles/zIndexes.d.ts +7 -7
  164. package/esm/utils/index.d.ts +1 -0
  165. package/esm/utils/index.js +2 -1
  166. package/esm/utils/isCssPropertySupported.d.ts +1 -1
  167. package/esm/utils/matchLocation.d.ts +1 -1
  168. package/esm/utils/toSentenceCase.d.ts +3 -0
  169. package/esm/utils/toSentenceCase.js +9 -0
  170. package/esm/utils/useLinkProps.d.ts +1 -1
  171. package/esm/utils/useTriggerInputChange.d.ts +2 -1
  172. package/package.json +4 -4
  173. package/satellite.css +445 -175
  174. package/satellite.min.css +2 -2
  175. package/cjs/Table/Table.tailwind.d.ts +0 -5
  176. package/cjs/Table/index.d.ts +0 -3
  177. package/esm/Table/Table.tailwind.d.ts +0 -5
  178. package/esm/Table/index.d.ts +0 -3
  179. package/esm/Table/index.js +0 -3
@@ -3,4 +3,5 @@ export { pluralize } from "./pluralize";
3
3
  export { range } from "./range";
4
4
  export { uniqBy } from "./uniqBy";
5
5
  export { uniqueId } from "./uniqueId";
6
- export { isNil } from "./isNil";
6
+ export { isNil } from "./isNil";
7
+ export { toSentenceCase } from "./toSentenceCase";
@@ -1,2 +1,2 @@
1
- declare const isCssPropertySupported: <P extends number | "left" | "right" | "bottom" | "top" | "font" | "clipPath" | "filter" | "marker" | "mask" | "resize" | "color" | "clip" | "content" | "flex" | "grid" | "fill" | "stroke" | "zoom" | "clear" | "border" | "padding" | "height" | "width" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "cursor" | "direction" | "display" | "dominantBaseline" | "enableBackground" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "imageRendering" | "kerning" | "letterSpacing" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "opacity" | "order" | "overflow" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "shapeRendering" | "stopColor" | "stopOpacity" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textDecoration" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "translate" | "position" | "alignContent" | "alignItems" | "alignSelf" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "counterIncrement" | "counterReset" | "cssFloat" | "cssText" | "emptyCells" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFeatureSettings" | "fontKerning" | "fontSynthesis" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "gap" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hyphens" | "imageOrientation" | "imeMode" | "inlineSize" | "justifyContent" | "justifyItems" | "justifySelf" | "layoutGrid" | "layoutGridChar" | "layoutGridLine" | "layoutGridMode" | "layoutGridType" | "lineBreak" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maskComposite" | "maskImage" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "msContentZoomChaining" | "msContentZoomLimit" | "msContentZoomLimitMax" | "msContentZoomLimitMin" | "msContentZoomSnap" | "msContentZoomSnapPoints" | "msContentZoomSnapType" | "msContentZooming" | "msFlowFrom" | "msFlowInto" | "msFontFeatureSettings" | "msGridColumn" | "msGridColumnAlign" | "msGridColumnSpan" | "msGridColumns" | "msGridRow" | "msGridRowAlign" | "msGridRowSpan" | "msGridRows" | "msHighContrastAdjust" | "msHyphenateLimitChars" | "msHyphenateLimitLines" | "msHyphenateLimitZone" | "msHyphens" | "msImeAlign" | "msOverflowStyle" | "msScrollChaining" | "msScrollLimit" | "msScrollLimitXMax" | "msScrollLimitXMin" | "msScrollLimitYMax" | "msScrollLimitYMin" | "msScrollRails" | "msScrollSnapPointsX" | "msScrollSnapPointsY" | "msScrollSnapType" | "msScrollSnapX" | "msScrollSnapY" | "msScrollTranslation" | "msTextCombineHorizontal" | "msTextSizeAdjust" | "msTouchAction" | "msTouchSelect" | "msUserSelect" | "msWrapFlow" | "msWrapMargin" | "msWrapThrough" | "objectFit" | "objectPosition" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowAnchor" | "overflowWrap" | "overflowX" | "overflowY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "penAction" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "quotes" | "rowGap" | "rubyAlign" | "rubyOverhang" | "rubyPosition" | "scrollBehavior" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textKashida" | "textKashidaSpace" | "textOrientation" | "textOverflow" | "textShadow" | "textTransform" | "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" | "webkitBorderImage" | "webkitBorderRadius" | "webkitBorderTopLeftRadius" | "webkitBorderTopRightRadius" | "webkitBoxAlign" | "webkitBoxDirection" | "webkitBoxFlex" | "webkitBoxOrdinalGroup" | "webkitBoxOrient" | "webkitBoxPack" | "webkitBoxShadow" | "webkitBoxSizing" | "webkitColumnBreakAfter" | "webkitColumnBreakBefore" | "webkitColumnBreakInside" | "webkitColumnCount" | "webkitColumnGap" | "webkitColumnRule" | "webkitColumnRuleColor" | "webkitColumnRuleStyle" | "webkitColumnRuleWidth" | "webkitColumnSpan" | "webkitColumnWidth" | "webkitColumns" | "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" | "webkitTapHighlightColor" | "webkitTextFillColor" | "webkitTextSizeAdjust" | "webkitTextStroke" | "webkitTextStrokeColor" | "webkitTextStrokeWidth" | "webkitTransform" | "webkitTransformOrigin" | "webkitTransformStyle" | "webkitTransition" | "webkitTransitionDelay" | "webkitTransitionDuration" | "webkitTransitionProperty" | "webkitTransitionTimingFunction" | "webkitUserModify" | "webkitUserSelect" | "webkitWritingMode" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordWrap" | "zIndex" | "getPropertyPriority" | "getPropertyValue" | "item" | "removeProperty" | "setProperty">(prop: P, value: CSSStyleDeclaration[P]) => boolean;
1
+ declare const isCssPropertySupported: <P extends number | "all" | "left" | "right" | "bottom" | "top" | "font" | "clipPath" | "filter" | "marker" | "mask" | "resize" | "fill" | "color" | "clip" | "content" | "flex" | "grid" | "stroke" | "zoom" | "clear" | "border" | "padding" | "translate" | "position" | "height" | "width" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "cursor" | "direction" | "display" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "glyphOrientationVertical" | "imageRendering" | "letterSpacing" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "opacity" | "order" | "overflow" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "shapeRendering" | "stopColor" | "stopOpacity" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "textDecoration" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "alignContent" | "alignItems" | "alignSelf" | "animation" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "counterIncrement" | "counterReset" | "cssFloat" | "cssText" | "emptyCells" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFeatureSettings" | "fontKerning" | "fontSynthesis" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "gap" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hyphens" | "imageOrientation" | "inlineSize" | "justifyContent" | "justifyItems" | "justifySelf" | "lineBreak" | "lineHeight" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maskComposite" | "maskImage" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "objectFit" | "objectPosition" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowAnchor" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "quotes" | "rowGap" | "rubyAlign" | "rubyPosition" | "scrollBehavior" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textShadow" | "textTransform" | "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" | "webkitTapHighlightColor" | "webkitTextFillColor" | "webkitTextSizeAdjust" | "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;
@@ -1,3 +1,3 @@
1
1
  export declare type LocationSubset = Pick<Location, "pathname">;
2
- declare const matchLocation: (href: string, location: Pick<Location, "pathname">) => boolean;
2
+ declare const matchLocation: (href: string, location: LocationSubset) => boolean;
3
3
  export default matchLocation;
@@ -0,0 +1,3 @@
1
+ /** Converts PascalCase and camelCase to Sentence case */
2
+ export declare const toSentenceCase: (str: string) => string;
3
+ export default toSentenceCase;
@@ -0,0 +1,9 @@
1
+ import capitalize from "lodash/capitalize";
2
+ /** Converts PascalCase and camelCase to Sentence case */
3
+
4
+ export var toSentenceCase = function toSentenceCase(str) {
5
+ var firstChar = str.charAt(0);
6
+ var remainingChars = str.slice(1).replace(/\s/g, "").replace(/([A-Z]+)/g, "$1").replace(/([A-Z][a-z])/g, " $1").trim();
7
+ return capitalize("".concat(firstChar).concat(remainingChars));
8
+ };
9
+ export default toSentenceCase;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  export declare type UseLinkProps = Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target" | "rel">;
3
- export declare const useLinkProps: (props: Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "href" | "onClick" | "rel">) => Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "href" | "onClick" | "rel">;
3
+ export declare const useLinkProps: (props: UseLinkProps) => UseLinkProps;
4
4
  export default useLinkProps;
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
+ declare type InputValue = JSX.IntrinsicElements["input"]["value"];
2
3
  /**
3
4
  * Trigger a native input change event.
4
5
  * See https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js
5
6
  */
6
- declare const useTriggerInputChange: (inputRef: import("react").MutableRefObject<HTMLInputElement | null>) => (value: string | number | string[] | undefined) => void;
7
+ declare const useTriggerInputChange: (inputRef: React.MutableRefObject<HTMLInputElement | null>) => (value: InputValue) => void;
7
8
  export default useTriggerInputChange;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/satellite",
3
- "version": "1.0.0-beta.119",
3
+ "version": "1.0.0-beta.123",
4
4
  "description": "Algolia design system React components",
5
5
  "scripts": {
6
6
  "clean": "del dist",
@@ -53,7 +53,7 @@
53
53
  "outputDirectory": "./.reports/junit"
54
54
  },
55
55
  "engines": {
56
- "node": ">=12.13.1"
56
+ "node": ">=16"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "react": "^16.8.0",
@@ -62,7 +62,7 @@
62
62
  "react-instantsearch-dom": "^6.1.0"
63
63
  },
64
64
  "dependencies": {
65
- "@babel/runtime": "^7.14.6",
65
+ "@babel/runtime": "^7.16.3",
66
66
  "@popperjs/core": "^2.4.4",
67
67
  "@reach/tabs": "^0.16.1",
68
68
  "classnames": "^2.3.1",
@@ -75,7 +75,7 @@
75
75
  "react-popper": "^2.2.5",
76
76
  "react-transition-group": "4.4.2",
77
77
  "react-use": "^15.3.8",
78
- "tailwindcss": "^2.2.4"
78
+ "tailwindcss": "^2.2.19"
79
79
  },
80
80
  "main": "./cjs/index.js",
81
81
  "module": "./esm/index.js",