@algolia/satellite 1.0.0-beta.116 → 1.0.0-beta.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +1 -1
- package/cjs/AutoComplete/AutoComplete.d.ts +2 -2
- package/cjs/AutoComplete/AutoComplete.tailwind.js +1 -1
- package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +1 -1
- package/cjs/AutoComplete/utils.js +1 -1
- package/cjs/Avatars/ApplicationAvatar.d.ts +1 -1
- package/cjs/Avatars/UserAvatar.d.ts +1 -1
- package/cjs/Avatars/UserAvatar.js +2 -1
- package/cjs/Avatars/utils.js +1 -1
- package/cjs/Button/styles.js +1 -1
- package/cjs/Card/Card.tailwind.js +2 -1
- package/cjs/Card/components/CardHeader.d.ts +2 -2
- package/cjs/Checkbox/Checkbox.d.ts +1 -1
- package/cjs/ClickAwayContainer/ClickAwayContainer.js +1 -1
- package/cjs/DatePicker/DatePicker/datePickerReducer.js +1 -1
- package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.js +1 -1
- package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +1 -1
- package/cjs/DatePicker/utils.d.ts +1 -1
- package/cjs/Dropdown/Dropdown.d.ts +2 -2
- package/cjs/Dropdown/Dropdown.js +1 -1
- package/cjs/Dropdown/DropdownContext.js +1 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +0 -2
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +3 -3
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +1 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +1 -1
- package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +1 -1
- package/cjs/Dropdown/useDropdownItemProps.js +2 -2
- package/cjs/Field/useFieldState.js +1 -1
- package/cjs/Link/Link.d.ts +2 -2
- package/cjs/Modal/Modal.d.ts +1 -1
- package/cjs/Modal/Modal.js +10 -7
- package/cjs/Modal/Modal.tailwind.js +0 -5
- package/cjs/Modal/components/ModalSection.d.ts +10 -0
- package/cjs/Modal/components/ModalSection.js +32 -0
- package/cjs/Modal/index.d.ts +2 -0
- package/cjs/Modal/index.js +28 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +21 -0
- package/cjs/Pagination/CompactPagination/CompactPagination.js +78 -0
- package/cjs/Pagination/CompactPagination/index.d.ts +2 -0
- package/cjs/Pagination/CompactPagination/index.js +32 -0
- package/cjs/Pagination/DotPagination/DotPagination.d.ts +9 -0
- package/cjs/Pagination/DotPagination/DotPagination.js +40 -0
- package/cjs/Pagination/DotPagination/index.d.ts +2 -0
- package/cjs/Pagination/DotPagination/index.js +32 -0
- package/cjs/Pagination/{Pagination.d.ts → Pagination/Pagination.d.ts} +1 -1
- package/cjs/Pagination/{Pagination.js → Pagination/Pagination.js} +3 -3
- package/cjs/Pagination/Pagination/index.d.ts +2 -0
- package/cjs/Pagination/Pagination/index.js +32 -0
- package/cjs/Pagination/index.d.ts +2 -0
- package/cjs/Pagination/index.js +28 -0
- package/cjs/RadioGroup/RadioButton.d.ts +1 -1
- package/cjs/RadioGroup/RadioGroup.js +1 -1
- package/cjs/RangeSlider/RangeSlider.d.ts +1 -1
- package/cjs/Satellite/SatelliteContext.js +1 -1
- package/cjs/Sidebar/SidebarContext.js +1 -1
- package/cjs/Switch/utils.js +1 -1
- package/cjs/Tabs/LinkTabs.js +1 -1
- package/cjs/Tag/Tag.d.ts +1 -1
- package/cjs/Toggle/Toggle.d.ts +1 -1
- package/cjs/Tooltip/OverflowTooltipWrapper.js +1 -1
- package/cjs/Tooltip/Tooltip.d.ts +1 -1
- package/cjs/index.js +8 -8
- package/cjs/styles/brandColors.d.ts +6 -6
- package/cjs/styles/colors.d.ts +9 -9
- package/cjs/styles/helpers/icons.d.ts +12 -0
- package/cjs/styles/helpers/makeTailwindPrefixer.d.ts +1 -1
- package/cjs/styles/tailwind.config.d.ts +24 -33
- package/cjs/styles/zIndexes.d.ts +7 -7
- package/cjs/utils/genericChangeHandler.js +1 -1
- package/cjs/utils/hashCode.js +1 -1
- package/cjs/utils/index.js +6 -6
- package/cjs/utils/isCssPropertySupported.d.ts +1 -1
- package/cjs/utils/isNil.js +1 -1
- package/cjs/utils/matchLocation.d.ts +1 -1
- package/cjs/utils/parseUrl.js +1 -1
- package/cjs/utils/pluralize.js +1 -1
- package/cjs/utils/range.js +1 -1
- package/cjs/utils/uniqBy.js +1 -1
- package/cjs/utils/uniqueId.js +1 -1
- package/cjs/utils/useLinkProps.d.ts +1 -1
- package/cjs/utils/useLinkProps.js +1 -1
- package/cjs/utils/useTriggerInputChange.d.ts +2 -1
- package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +1 -1
- package/esm/AutoComplete/AutoComplete.d.ts +2 -2
- package/esm/AutoComplete/AutoComplete.tailwind.js +1 -1
- package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +1 -1
- package/esm/Avatars/ApplicationAvatar.d.ts +1 -1
- package/esm/Avatars/UserAvatar.d.ts +1 -1
- package/esm/Avatars/UserAvatar.js +1 -2
- package/esm/Card/Card.tailwind.js +2 -1
- package/esm/Card/components/CardHeader.d.ts +2 -2
- package/esm/Checkbox/Checkbox.d.ts +1 -1
- package/esm/DatePicker/utils.d.ts +1 -1
- package/esm/Dropdown/Dropdown.d.ts +2 -2
- package/esm/Dropdown/Dropdown.js +1 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +0 -2
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +2 -2
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +1 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +1 -1
- package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +1 -1
- package/esm/Dropdown/useDropdownItemProps.js +1 -1
- package/esm/Link/Link.d.ts +2 -2
- package/esm/Modal/Modal.d.ts +1 -1
- package/esm/Modal/Modal.js +10 -7
- package/esm/Modal/Modal.tailwind.js +0 -5
- package/esm/Modal/components/ModalSection.d.ts +10 -0
- package/esm/Modal/components/ModalSection.js +17 -0
- package/esm/Modal/index.d.ts +2 -0
- package/esm/Modal/index.js +2 -0
- package/esm/Pagination/CompactPagination/CompactPagination.d.ts +21 -0
- package/esm/Pagination/CompactPagination/CompactPagination.js +56 -0
- package/esm/Pagination/CompactPagination/index.d.ts +2 -0
- package/esm/Pagination/CompactPagination/index.js +2 -0
- package/esm/Pagination/DotPagination/DotPagination.d.ts +9 -0
- package/esm/Pagination/DotPagination/DotPagination.js +26 -0
- package/esm/Pagination/DotPagination/index.d.ts +2 -0
- package/esm/Pagination/DotPagination/index.js +2 -0
- package/esm/Pagination/{Pagination.d.ts → Pagination/Pagination.d.ts} +1 -1
- package/esm/Pagination/{Pagination.js → Pagination/Pagination.js} +3 -3
- package/esm/Pagination/Pagination/index.d.ts +2 -0
- package/esm/Pagination/Pagination/index.js +2 -0
- package/esm/Pagination/index.d.ts +2 -0
- package/esm/Pagination/index.js +2 -0
- package/esm/RadioGroup/RadioButton.d.ts +1 -1
- package/esm/RangeSlider/RangeSlider.d.ts +1 -1
- package/esm/Tag/Tag.d.ts +1 -1
- package/esm/Toggle/Toggle.d.ts +1 -1
- package/esm/Tooltip/Tooltip.d.ts +1 -1
- package/esm/styles/brandColors.d.ts +6 -6
- package/esm/styles/colors.d.ts +9 -9
- package/esm/styles/helpers/icons.d.ts +12 -0
- package/esm/styles/helpers/makeTailwindPrefixer.d.ts +1 -1
- package/esm/styles/tailwind.config.d.ts +24 -33
- package/esm/styles/zIndexes.d.ts +7 -7
- package/esm/utils/isCssPropertySupported.d.ts +1 -1
- package/esm/utils/matchLocation.d.ts +1 -1
- package/esm/utils/useLinkProps.d.ts +1 -1
- package/esm/utils/useTriggerInputChange.d.ts +2 -1
- package/package.json +4 -4
- package/satellite.css +429 -162
- package/satellite.min.css +2 -2
@@ -1,28 +1,20 @@
|
|
1
1
|
export const prefix: "stl-";
|
2
2
|
export namespace purge {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
3
|
+
const mode: string;
|
4
|
+
const layers: string[];
|
5
|
+
const enabled: boolean;
|
6
|
+
const content: string[];
|
7
|
+
namespace options {
|
8
|
+
const defaultExtractor: (content: string) => string[];
|
9
9
|
}
|
10
10
|
}
|
11
|
-
|
12
|
-
sidebar: number;
|
13
|
-
fullPageLayout: number;
|
14
|
-
modalOverlay: number;
|
15
|
-
modal: number;
|
16
|
-
dropdown: number;
|
17
|
-
notification: number;
|
18
|
-
tooltip: number;
|
19
|
-
};
|
11
|
+
import zIndexes = require("./zIndexes");
|
20
12
|
export declare namespace theme {
|
21
|
-
|
22
|
-
|
23
|
-
|
13
|
+
namespace fontFamily {
|
14
|
+
const sans: string[];
|
15
|
+
const mono: string[];
|
24
16
|
}
|
25
|
-
|
17
|
+
const fontSize: {
|
26
18
|
sm: string;
|
27
19
|
mobile: string;
|
28
20
|
base: string;
|
@@ -32,7 +24,7 @@ export declare namespace theme {
|
|
32
24
|
"2xl": string;
|
33
25
|
"3xl": string;
|
34
26
|
};
|
35
|
-
|
27
|
+
const lineHeight: {
|
36
28
|
inherit: string;
|
37
29
|
sm: string;
|
38
30
|
base: string;
|
@@ -43,18 +35,18 @@ export declare namespace theme {
|
|
43
35
|
"3xl": string;
|
44
36
|
none: string;
|
45
37
|
};
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
38
|
+
namespace borderRadius {
|
39
|
+
const none: string;
|
40
|
+
const DEFAULT: string;
|
41
|
+
const full: string;
|
50
42
|
}
|
51
|
-
|
43
|
+
const borderWidth: {
|
52
44
|
DEFAULT: string;
|
53
45
|
0: string;
|
54
46
|
2: string;
|
55
47
|
3: string;
|
56
48
|
};
|
57
|
-
|
49
|
+
function boxShadow(theme: any): {
|
58
50
|
none: string;
|
59
51
|
z100: string;
|
60
52
|
z200: string;
|
@@ -62,7 +54,7 @@ export declare namespace theme {
|
|
62
54
|
z400: string;
|
63
55
|
z500: string;
|
64
56
|
};
|
65
|
-
|
57
|
+
const opacity: {
|
66
58
|
0: string;
|
67
59
|
10: string;
|
68
60
|
20: string;
|
@@ -75,7 +67,7 @@ export declare namespace theme {
|
|
75
67
|
90: string;
|
76
68
|
100: string;
|
77
69
|
};
|
78
|
-
|
70
|
+
const colors: {
|
79
71
|
accent: {
|
80
72
|
900: string;
|
81
73
|
800: string;
|
@@ -177,7 +169,7 @@ export declare namespace theme {
|
|
177
169
|
100: string;
|
178
170
|
};
|
179
171
|
};
|
180
|
-
|
172
|
+
namespace extend {
|
181
173
|
export const spacing: {
|
182
174
|
"2px": string;
|
183
175
|
128: string;
|
@@ -189,11 +181,11 @@ export declare namespace theme {
|
|
189
181
|
export function minHeight(theme: any): any;
|
190
182
|
export { zIndexes as zIndex };
|
191
183
|
export namespace cursor {
|
192
|
-
|
193
|
-
|
184
|
+
const grab: string;
|
185
|
+
const help: string;
|
194
186
|
}
|
195
187
|
}
|
196
|
-
|
188
|
+
const typography: {
|
197
189
|
desktop: import("../tailwind-types").TailwindFunction;
|
198
190
|
mobile: import("../tailwind-types").TailwindFunction;
|
199
191
|
};
|
@@ -204,4 +196,3 @@ export declare namespace variants {
|
|
204
196
|
export const visibility: string[];
|
205
197
|
}
|
206
198
|
export declare const plugins: import("../tailwind-types").TailwindPlugin[];
|
207
|
-
export {};
|
package/esm/styles/zIndexes.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
7
|
-
export
|
1
|
+
export const sidebar: number;
|
2
|
+
export const fullPageLayout: number;
|
3
|
+
export const modalOverlay: number;
|
4
|
+
export const modal: number;
|
5
|
+
export const dropdown: number;
|
6
|
+
export const notification: number;
|
7
|
+
export const tooltip: number;
|
@@ -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" | "
|
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:
|
2
|
+
declare const matchLocation: (href: string, location: LocationSubset) => boolean;
|
3
3
|
export default matchLocation;
|
@@ -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:
|
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:
|
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.
|
3
|
+
"version": "1.0.0-beta.120",
|
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": ">=
|
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.
|
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.
|
78
|
+
"tailwindcss": "^2.2.19"
|
79
79
|
},
|
80
80
|
"main": "./cjs/index.js",
|
81
81
|
"module": "./esm/index.js",
|