Comparing version 153.9.2 to 153.10.0
import { ComponentProps } from 'react'; | ||
import Box from '../Box'; | ||
type Gap = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; | ||
declare const applyModuleDensityStyle: (size: 'sm' | 'md' | 'lg') => { | ||
declare const applyModuleDensityStyle: (size: "sm" | "md" | "lg") => { | ||
gap: Gap; | ||
padding: Gap; | ||
rounding: ComponentProps<typeof Box>['rounding']; | ||
rounding: ComponentProps<typeof Box>["rounding"]; | ||
titleGap: Gap; | ||
@@ -9,0 +9,0 @@ summaryListGap: Gap; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type LinkData = { | ||
@@ -3,0 +2,0 @@ accessibilityLabel: string; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type UnionRefs = HTMLDivElement | HTMLAnchorElement; | ||
@@ -3,0 +2,0 @@ type Props = { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import icons from './icons/index'; | ||
@@ -3,0 +2,0 @@ type Props = { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import icons from './icons/index'; | ||
@@ -3,0 +2,0 @@ type ButtonProps = { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { SkinColor } from './ButtonToggle/ColorPicker'; | ||
@@ -3,0 +2,0 @@ import icons from './icons/index'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
export type ComboBoxItemType = { | ||
@@ -3,0 +2,0 @@ label: string; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type Experiment = { | ||
@@ -3,0 +2,0 @@ anyEnabled: boolean; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type DropdownContextType = { | ||
@@ -3,0 +2,0 @@ id: string; |
@@ -52,5 +52,5 @@ import icons from './icons/index'; | ||
declare namespace Icon { | ||
var icons: readonly ("shrink" | "circle" | "filter" | "color" | "replace" | "search" | "link" | "code" | "menu" | "select" | "table" | "template" | "animate" | "text" | "key" | "security" | "alert" | "timer" | "location" | "pen" | "cancel" | "pause" | "play" | "remove" | "3d" | "3d-move" | "360" | "accessibility" | "ad" | "ad-group" | "add" | "add-circle" | "add-layout" | "add-pin" | "add-section" | "ads-overview" | "ads-stats" | "align-bottom" | "align-bottom-center" | "align-bottom-left" | "align-bottom-right" | "align-middle" | "align-top" | "align-top-center" | "align-top-left" | "align-top-right" | "alphabetical" | "android-share" | "angled-pin" | "api" | "apple" | "apps" | "arrow-back" | "arrow-circle-back" | "arrow-circle-down" | "arrow-circle-forward" | "arrow-circle-up" | "arrow-counter-clockwise" | "arrow-double-back" | "arrow-double-forward" | "arrow-down" | "arrow-end" | "arrow-forward" | "arrow-left-curved" | "arrow-nested" | "arrow-start" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "arrows-vertical" | "aspect-ratio" | "audio-bars" | "audio-mix" | "audio-playing" | "bell" | "bell-fill" | "board" | "board-sticker-large" | "board-sticker-small" | "border" | "border-shadow" | "briefcase" | "business-hierarchy" | "calendar" | "calendar-check" | "camera" | "camera-flip" | "camera-roll" | "canonical-pin" | "captions" | "captions-outline" | "check" | "check-circle" | "chevron-up-circle" | "circle-ellipsis" | "circle-information-fill" | "clear" | "clips" | "clock" | "clock-checked" | "cloud-server" | "code-check" | "cog" | "collage" | "collapse" | "color-palette" | "color-picker" | "color-solid" | "color-split" | "compass" | "compose" | "contrast" | "conversion-tag" | "copy-to-clipboard" | "credit-card" | "crop" | "cutout" | "dash" | "data-source" | "design" | "desktop" | "diagnostics" | "directional-arrow-left" | "directional-arrow-right" | "download" | "drag-drop" | "draw" | "dropbox" | "duplicate" | "edit" | "ellipsis" | "envelope" | "erase-auto" | "erase" | "etsy" | "expand" | "eye" | "eye-hide" | "face-happy" | "face-neutral" | "face-sad" | "face-smiley" | "face-smiley-outline" | "face-tryon" | "facebook" | "fade" | "file-box" | "file-unknown" | "fill-opaque" | "fill-transparent" | "flag" | "flame" | "flash" | "flash-automatic" | "flash-slash" | "flashlight" | "flip-horizontal" | "flip-vertical" | "folder" | "forward" | "gauge" | "ghost" | "gif" | "gif-visual" | "globe" | "globe-checked" | "gmail" | "graph-bar" | "graph-pie" | "hand" | "hand-pointing" | "handle" | "heart" | "heart-broken" | "heart-health" | "heart-outline" | "highlights" | "history" | "home" | "home-fill" | "idea-pin" | "image-portrait" | "impressum" | "info-circle" | "information" | "insights-audience" | "insights-conversion" | "instagram" | "invoice" | "knoop" | "lab-flask" | "lasso-magic" | "layout" | "lightbulb" | "lightning-bolt-circle" | "lips" | "lock" | "logo-large" | "logo-small" | "logout" | "magic-pen" | "magic-wand" | "manage-access" | "margins-large" | "margins-medium" | "margins-small" | "maximize" | "megaphone" | "messenger" | "microphone" | "minimize" | "mobile" | "moon" | "move-pin" | "music-off" | "music-on" | "mute" | "mute-fill" | "orientation-landscape" | "orientation-portrait" | "outlook" | "overlay-text" | "overlay-text-outline" | "overview" | "paper-clip" | "paper-lines-plus" | "pen-auto" | "people" | "performance-plus" | "person" | "person-add" | "person-fill" | "person-magnifying-glass" | "phone" | "pin" | "pin-hide" | "pinterest" | "protect" | "question-mark" | "record-limit" | "record-limit-5" | "record-limit-15" | "record-limit-10" | "record-limit-30" | "record-limit-60" | "redo" | "refresh" | "reorder-images" | "report" | "rewind" | "rotate" | "saturation" | "save-outline" | "saved" | "scale" | "scissors" | "search-by-image" | "search-fill" | "send" | "shadows" | "shapes" | "share" | "shopping-bag" | "shuffles" | "skintone" | "slide" | "smiley" | "sort-ascending" | "sort-descending" | "sound" | "sound-fill" | "sound-slash" | "sound-slash-fill" | "sparkle" | "speech" | "speech-ellipsis" | "speech-ellipsis-fill" | "speech-exclamation-point" | "speech-heart" | "speech-outline" | "speed" | "speed-.3x" | "speed-.5x" | "speed-1x" | "speed-2x" | "speed-3x" | "spread" | "star" | "star-half" | "star-outline" | "sticker" | "sticker-image" | "sun" | "swap" | "switch-account" | "tag" | "target" | "terms" | "text-align-center" | "text-align-left" | "text-align-right" | "text-all-caps" | "text-extra-small" | "text-large" | "text-line-height" | "text-medium" | "text-sentence-case" | "text-size" | "text-small" | "text-spacing" | "text-sticker" | "thumbs-down" | "thumbs-up" | "timer-3" | "timer-10" | "trash-can" | "trending" | "undo" | "unlock" | "upload-feed" | "video-advance-10-seconds" | "video-camera" | "video-rewind-10-seconds" | "view-type-default" | "view-type-dense" | "view-type-list" | "view-type-space" | "visit" | "warmth" | "wave" | "whatsapp" | "wifi-no" | "workflow-status-all" | "workflow-status-canceled" | "workflow-status-halted" | "workflow-status-in-progress" | "workflow-status-ok" | "workflow-status-problem" | "workflow-status-queued" | "workflow-status-unstarted" | "workflow-status-warning" | "x" | "yahoo" | "youtube")[]; | ||
var icons: readonly ("shrink" | "circle" | "filter" | "replace" | "search" | "link" | "color" | "code" | "menu" | "select" | "table" | "template" | "animate" | "text" | "key" | "security" | "alert" | "timer" | "location" | "pen" | "cancel" | "pause" | "play" | "remove" | "3d" | "3d-move" | "360" | "accessibility" | "ad" | "ad-group" | "add" | "add-circle" | "add-layout" | "add-pin" | "add-section" | "ads-overview" | "ads-stats" | "align-bottom" | "align-bottom-center" | "align-bottom-left" | "align-bottom-right" | "align-middle" | "align-top" | "align-top-center" | "align-top-left" | "align-top-right" | "alphabetical" | "android-share" | "angled-pin" | "api" | "apple" | "apps" | "arrow-back" | "arrow-circle-back" | "arrow-circle-down" | "arrow-circle-forward" | "arrow-circle-up" | "arrow-counter-clockwise" | "arrow-double-back" | "arrow-double-forward" | "arrow-down" | "arrow-end" | "arrow-forward" | "arrow-left-curved" | "arrow-nested" | "arrow-start" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "arrows-vertical" | "aspect-ratio" | "audio-bars" | "audio-mix" | "audio-playing" | "bell" | "bell-fill" | "board" | "board-sticker-large" | "board-sticker-small" | "border" | "border-shadow" | "briefcase" | "business-hierarchy" | "calendar" | "calendar-check" | "camera" | "camera-flip" | "camera-roll" | "canonical-pin" | "captions" | "captions-outline" | "check" | "check-circle" | "chevron-up-circle" | "circle-ellipsis" | "circle-information-fill" | "clear" | "clips" | "clock" | "clock-checked" | "cloud-server" | "code-check" | "cog" | "collage" | "collapse" | "color-palette" | "color-picker" | "color-solid" | "color-split" | "compass" | "compose" | "contrast" | "conversion-tag" | "copy-to-clipboard" | "credit-card" | "crop" | "cutout" | "dash" | "data-source" | "design" | "desktop" | "diagnostics" | "directional-arrow-left" | "directional-arrow-right" | "download" | "drag-drop" | "draw" | "dropbox" | "duplicate" | "edit" | "ellipsis" | "envelope" | "erase-auto" | "erase" | "etsy" | "expand" | "eye" | "eye-hide" | "face-happy" | "face-neutral" | "face-sad" | "face-smiley" | "face-smiley-outline" | "face-tryon" | "facebook" | "fade" | "file-box" | "file-unknown" | "fill-opaque" | "fill-transparent" | "flag" | "flame" | "flash" | "flash-automatic" | "flash-slash" | "flashlight" | "flip-horizontal" | "flip-vertical" | "folder" | "forward" | "gauge" | "ghost" | "gif" | "gif-visual" | "globe" | "globe-checked" | "gmail" | "graph-bar" | "graph-pie" | "hand" | "hand-pointing" | "handle" | "heart" | "heart-broken" | "heart-health" | "heart-outline" | "highlights" | "history" | "home" | "home-fill" | "idea-pin" | "image-portrait" | "impressum" | "info-circle" | "information" | "insights-audience" | "insights-conversion" | "instagram" | "invoice" | "knoop" | "lab-flask" | "lasso-magic" | "layout" | "lightbulb" | "lightning-bolt-circle" | "lips" | "lock" | "logo-large" | "logo-small" | "logout" | "magic-pen" | "magic-wand" | "manage-access" | "margins-large" | "margins-medium" | "margins-small" | "maximize" | "megaphone" | "messenger" | "microphone" | "minimize" | "mobile" | "moon" | "move-pin" | "music-off" | "music-on" | "mute" | "mute-fill" | "orientation-landscape" | "orientation-portrait" | "outlook" | "overlay-text" | "overlay-text-outline" | "overview" | "paper-clip" | "paper-lines-plus" | "pen-auto" | "people" | "performance-plus" | "person" | "person-add" | "person-fill" | "person-magnifying-glass" | "phone" | "pin" | "pin-hide" | "pinterest" | "protect" | "question-mark" | "record-limit" | "record-limit-5" | "record-limit-15" | "record-limit-10" | "record-limit-30" | "record-limit-60" | "redo" | "refresh" | "reorder-images" | "report" | "rewind" | "rotate" | "saturation" | "save-outline" | "saved" | "scale" | "scissors" | "search-by-image" | "search-fill" | "send" | "shadows" | "shapes" | "share" | "shopping-bag" | "shuffles" | "skintone" | "slide" | "smiley" | "sort-ascending" | "sort-descending" | "sound" | "sound-fill" | "sound-slash" | "sound-slash-fill" | "sparkle" | "speech" | "speech-ellipsis" | "speech-ellipsis-fill" | "speech-exclamation-point" | "speech-heart" | "speech-outline" | "speed" | "speed-.3x" | "speed-.5x" | "speed-1x" | "speed-2x" | "speed-3x" | "spread" | "star" | "star-half" | "star-outline" | "sticker" | "sticker-image" | "sun" | "swap" | "switch-account" | "tag" | "target" | "terms" | "text-align-center" | "text-align-left" | "text-align-right" | "text-all-caps" | "text-extra-small" | "text-large" | "text-line-height" | "text-medium" | "text-sentence-case" | "text-size" | "text-small" | "text-spacing" | "text-sticker" | "thumbs-down" | "thumbs-up" | "timer-3" | "timer-10" | "trash-can" | "trending" | "undo" | "unlock" | "upload-feed" | "video-advance-10-seconds" | "video-camera" | "video-rewind-10-seconds" | "view-type-default" | "view-type-dense" | "view-type-list" | "view-type-space" | "visit" | "warmth" | "wave" | "whatsapp" | "wifi-no" | "workflow-status-all" | "workflow-status-canceled" | "workflow-status-halted" | "workflow-status-in-progress" | "workflow-status-ok" | "workflow-status-problem" | "workflow-status-queued" | "workflow-status-unstarted" | "workflow-status-warning" | "x" | "yahoo" | "youtube")[]; | ||
var displayName: string; | ||
} | ||
export default Icon; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import icons from './icons/index'; | ||
@@ -3,0 +2,0 @@ import { Indexable } from './zIndex'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import icons from './icons/index'; | ||
@@ -3,0 +2,0 @@ import { Indexable } from './zIndex'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import icons from './icons/index'; | ||
@@ -3,0 +2,0 @@ import { Indexable } from './zIndex'; |
import { ReactNode } from 'react'; | ||
declare const getChildrenToArray: ({ children, filterLevel, }: { | ||
children: ReactNode; | ||
filterLevel: 'List' | 'ListItem'; | ||
filterLevel: "List" | "ListItem"; | ||
}) => ReadonlyArray<any>; | ||
export default getChildrenToArray; |
@@ -7,7 +7,7 @@ import { Align, Layout } from 'gestalt/src//Masonry/types'; | ||
}>({ align, columnWidth, gutter, layout, minCols, rawItemCount, width, measurementCache, _twoColItems, ...otherProps }: { | ||
columnWidth?: number | undefined; | ||
gutter?: number | undefined; | ||
columnWidth?: number; | ||
gutter?: number; | ||
align: Align; | ||
layout: Layout; | ||
minCols?: number | undefined; | ||
minCols?: number; | ||
rawItemCount: number; | ||
@@ -17,6 +17,6 @@ width?: number | null | undefined; | ||
measurementCache: Cache<T, number>; | ||
_twoColItems?: boolean | undefined; | ||
whitespaceThreshold?: number | undefined; | ||
logWhitespace?: ((arg1: number) => void) | undefined; | ||
}) => (items: readonly T[]) => ReadonlyArray<Position>; | ||
_twoColItems?: boolean; | ||
whitespaceThreshold?: number; | ||
logWhitespace?: (arg1: number) => void; | ||
}) => ((items: ReadonlyArray<T>) => ReadonlyArray<Position>); | ||
export default defaultLayout; |
@@ -6,12 +6,12 @@ import { Cache } from './Cache'; | ||
}>({ width, idealColumnWidth, gutter, minCols, measurementCache, _twoColItems, ...otherProps }: { | ||
idealColumnWidth?: number | undefined; | ||
gutter?: number | undefined; | ||
minCols?: number | undefined; | ||
idealColumnWidth?: number; | ||
gutter?: number; | ||
minCols?: number; | ||
width?: number | null | undefined; | ||
positionCache: Cache<T, Position>; | ||
measurementCache: Cache<T, number>; | ||
_twoColItems?: boolean | undefined; | ||
whitespaceThreshold?: number | undefined; | ||
logWhitespace?: ((arg1: number) => void) | undefined; | ||
}) => (items: readonly T[]) => ReadonlyArray<Position>; | ||
_twoColItems?: boolean; | ||
whitespaceThreshold?: number; | ||
logWhitespace?: (arg1: number) => void; | ||
}) => ((items: ReadonlyArray<T>) => ReadonlyArray<Position>); | ||
export default fullWidthLayout; |
@@ -17,12 +17,12 @@ import { Cache } from './Cache'; | ||
}>({ items, gutter, columnWidth, columnCount, centerOffset, logWhitespace, measurementCache, positionCache, whitespaceThreshold, }: { | ||
items: readonly T[]; | ||
gutter?: number | undefined; | ||
columnWidth?: number | undefined; | ||
columnCount?: number | undefined; | ||
centerOffset?: number | undefined; | ||
items: ReadonlyArray<T>; | ||
gutter?: number; | ||
columnWidth?: number; | ||
columnCount?: number; | ||
centerOffset?: number; | ||
positionCache: Cache<T, Position>; | ||
measurementCache: Cache<T, number>; | ||
whitespaceThreshold?: number | undefined; | ||
logWhitespace?: ((arg1: number) => void) | undefined; | ||
whitespaceThreshold?: number; | ||
logWhitespace?: (arg1: number) => void; | ||
}) => ReadonlyArray<Position>; | ||
export default multiColumnLayout; |
@@ -5,7 +5,7 @@ import { Cache } from './Cache'; | ||
cache: Cache<T, number>; | ||
columnWidth?: number | undefined; | ||
gutter?: number | undefined; | ||
columnWidth?: number; | ||
gutter?: number; | ||
width?: number | null | undefined; | ||
minCols?: number | undefined; | ||
}) => (items: readonly T[]) => ReadonlyArray<Position>; | ||
minCols?: number; | ||
}) => ((items: ReadonlyArray<T>) => ReadonlyArray<Position>); | ||
export default uniformRowLayout; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type Props = { | ||
@@ -3,0 +2,0 @@ anchor: HTMLElement | null | undefined; |
@@ -44,17 +44,17 @@ import { ReactNode } from 'react'; | ||
text: string; | ||
type?: "darkWash" | "lightWash" | "error" | "success" | "warning" | "info" | "recommendation" | "neutral" | undefined; | ||
} | undefined; | ||
checked?: boolean | undefined; | ||
disabled?: boolean | undefined; | ||
type?: "info" | "error" | "warning" | "success" | "neutral" | "recommendation" | "darkWash" | "lightWash"; | ||
}; | ||
checked?: boolean; | ||
disabled?: boolean; | ||
id: string; | ||
image?: ReactNode; | ||
label?: string | undefined; | ||
name?: string | undefined; | ||
label?: string; | ||
name?: string; | ||
onChange: (arg1: { | ||
event: import("react").ChangeEvent<HTMLInputElement>; | ||
event: React.ChangeEvent<HTMLInputElement>; | ||
checked: boolean; | ||
}) => void; | ||
ref?: HTMLInputElement | undefined; | ||
size?: "sm" | "md" | undefined; | ||
helperText?: string | undefined; | ||
ref?: HTMLInputElement; | ||
size?: "sm" | "md"; | ||
helperText?: string; | ||
value: string; | ||
@@ -61,0 +61,0 @@ }, "ref"> & import("react").RefAttributes<HTMLInputElement>>; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type RadioGroupContextType = { | ||
@@ -3,0 +2,0 @@ parentName: string; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type UnionRefs = HTMLDivElement | HTMLAnchorElement; | ||
@@ -3,0 +2,0 @@ type Props = { |
@@ -64,26 +64,26 @@ import { ReactNode } from 'react'; | ||
var NestedItem: import("react").ForwardRefExoticComponent<Omit<{ | ||
active?: "section" | "page" | undefined; | ||
active?: "page" | "section"; | ||
counter?: { | ||
number: string; | ||
accessibilityLabel: string; | ||
} | undefined; | ||
}; | ||
href: string; | ||
label: string; | ||
onClick?: ((arg1: { | ||
event: import("react").KeyboardEvent<HTMLAnchorElement> | import("react").MouseEvent<HTMLAnchorElement, MouseEvent>; | ||
onClick?: (arg1: { | ||
event: React.MouseEvent<HTMLAnchorElement> | React.KeyboardEvent<HTMLAnchorElement>; | ||
dangerouslyDisableOnNavigation: () => void; | ||
}) => void) | undefined; | ||
}) => void; | ||
primaryAction?: { | ||
icon?: "edit" | "ellipsis" | "trash-can" | undefined; | ||
onClick?: ((arg1: { | ||
event: import("react").KeyboardEvent<HTMLDivElement> | import("react").MouseEvent<HTMLDivElement, MouseEvent>; | ||
}) => void) | undefined; | ||
icon?: "ellipsis" | "edit" | "trash-can"; | ||
onClick?: (arg1: { | ||
event: React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>; | ||
}) => void; | ||
tooltip: { | ||
accessibilityLabel?: string | undefined; | ||
accessibilityLabel?: string; | ||
text: string; | ||
zIndex?: import("./zIndex").Indexable | undefined; | ||
zIndex?: import("./zIndex").Indexable; | ||
}; | ||
dropdownItems?: readonly import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[] | undefined; | ||
} | undefined; | ||
ref?: HTMLLIElement | undefined; | ||
dropdownItems?: ReadonlyArray<import("react").ReactElement>; | ||
}; | ||
ref?: HTMLLIElement; | ||
}, "ref"> & import("react").RefAttributes<HTMLLIElement>>; | ||
@@ -90,0 +90,0 @@ var Group: typeof SideNavigationGroup; |
import { ReactNode } from 'react'; | ||
import { ReactChildArray } from '../utils/flattenChildren'; | ||
/** @deprecated */ | ||
declare const getChildrenToArray: ({ children, filterLevel, }: { | ||
children: ReactNode; | ||
filterLevel: 'main' | 'nested'; | ||
}) => (string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal)[]; | ||
filterLevel: "main" | "nested"; | ||
}) => ReactChildArray; | ||
export default getChildrenToArray; |
@@ -12,3 +12,3 @@ type InlineStyle = { | ||
export declare const concat: (styles: ReadonlyArray<Style>) => Style; | ||
export declare const mapClassName: (fn: (x: string) => string) => (arg1: Style) => Style; | ||
export declare const mapClassName: (fn: (x: string) => string) => ((arg1: Style) => Style); | ||
export type ToPropsOutput = { | ||
@@ -15,0 +15,0 @@ className: string | null | undefined; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type Props = { | ||
@@ -3,0 +2,0 @@ /** |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type Props = { | ||
@@ -3,0 +2,0 @@ /** |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { Indexable } from './zIndex'; | ||
@@ -3,0 +2,0 @@ type DataVisualizationColors = '01' | '02' | '03' | '04' | '05' | '06' | '07' | '08' | '09' | '10' | '11' | '12'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { Indexable } from './zIndex'; | ||
@@ -3,0 +2,0 @@ type TooltipProps = { |
import { Style } from './style'; | ||
export type Functor<T> = (n: T) => Style; | ||
export declare const toggle: (...classNames: ReadonlyArray<string>) => (val?: boolean) => Style; | ||
export declare const toggle: (...classNames: ReadonlyArray<string>) => ((val?: boolean) => Style); | ||
export declare const mapping: (map: { | ||
[key: string]: string; | ||
}) => (val: string) => Style; | ||
export declare const range: (scale: string) => (n: number) => Style; | ||
export declare const rangeWithZero: (scale: string) => (n: number) => Style; | ||
}) => ((val: string) => Style); | ||
export declare const range: (scale: string) => ((n: number) => Style); | ||
export declare const rangeWithZero: (scale: string) => ((n: number) => Style); | ||
export declare function bind<T>(fn: Functor<T>, scope: { | ||
readonly [key: string]: string; | ||
}): (val: T) => Style; | ||
export declare const union: <T>(...fns: readonly Functor<T>[]) => (val: T) => Style; | ||
export declare const union: <T>(...fns: ReadonlyArray<Functor<T>>) => ((val: T) => Style); |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type TapTargetHTMLElement = HTMLDivElement; | ||
@@ -3,0 +2,0 @@ export declare const keyPressShouldTriggerTap: (event: React.KeyboardEvent<HTMLDivElement> | React.KeyboardEvent<HTMLAnchorElement>) => boolean; |
@@ -1,3 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { render } from '@testing-library/react'; | ||
export default function renderWithExperiment(experiment: string, children: React.ReactNode): ReturnType<typeof render>; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
type Props = { | ||
@@ -3,0 +2,0 @@ captionsButton: 'enabled' | 'disabled' | null; |
{ | ||
"name": "gestalt", | ||
"version": "153.9.2", | ||
"version": "153.10.0", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "homepage": "https://gestalt.pinterest.systems/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8994771
81981