diff --git a/documentation-site/components/map-marker-sizing-table.js b/documentation-site/components/map-marker-sizing-table.js index 0c4ba17a4e..a1768929a7 100644 --- a/documentation-site/components/map-marker-sizing-table.js +++ b/documentation-site/components/map-marker-sizing-table.js @@ -7,8 +7,7 @@ LICENSE file in the root directory of this source tree. // @flow import * as React from 'react'; import { Table } from 'baseui/table-semantic'; -import { PINHEAD_SIZES_SHAPES, FLOATING_MARKER_SIZES } from 'baseui/map-marker'; -import { PINHEAD_DIMENSIONS } from '../../src/map-marker/constants'; +import { PINHEAD_SIZES_SHAPES, FLOATING_MARKER_SIZES, PINHEAD_DIMENSIONS } from 'baseui/map-marker'; import { InlineCode } from './markdown-elements'; export const FixedMarkerSizingTable = () => { diff --git a/package.json b/package.json index e520f85397..d8e4efdec6 100644 --- a/package.json +++ b/package.json @@ -109,9 +109,6 @@ "@types/react-dom": "^16.8.4", "@types/react-virtualized": "^9.21.3", "@types/react-window": "^1.8.1", - "@types/styletron-engine-atomic": "^1.1.1", - "@types/styletron-react": "^5.0.3", - "@types/styletron-standard": "^2.0.2", "@types/webpack": "^4.41.32", "@typescript-eslint/eslint-plugin": "^5.26.0", "@typescript-eslint/parser": "^5.26.0", @@ -193,9 +190,9 @@ "semver": "^6.2.0", "shx": "^0.3.2", "static-server": "^2.2.1", - "styletron-engine-atomic": "^1.4.3", - "styletron-react": "^5.2.4", - "styletron-standard": "^3.0.3", + "styletron-engine-atomic": "^1.5.0-beta.1", + "styletron-react": "^6.1.0-beta.1", + "styletron-standard": "^3.1.0-beta.1", "tar": "^5.0.0", "tsconfig-paths": "^3.9.0", "typescript": "^4.7.2", diff --git a/src/accordion/index.d.ts b/src/accordion/index.d.ts index 2411db47fb..909f9b53b8 100644 --- a/src/accordion/index.d.ts +++ b/src/accordion/index.d.ts @@ -123,10 +123,10 @@ export class StatefulPanelContainer extends React.Component< ): void; } -export declare const StyledRoot: StyletronComponent; -export declare const StyledPanelContainer: StyletronComponent; -export declare const StyledHeader: StyletronComponent; -export declare const StyledContent: StyletronComponent; -export declare const StyledContentAnimationContainer: StyletronComponent; -export declare const StyledToggleIcon: StyletronComponent; -export declare const StyledToggleIconGroup: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledPanelContainer: StyletronComponent; +export declare const StyledHeader: StyletronComponent; +export declare const StyledContent: StyletronComponent; +export declare const StyledContentAnimationContainer: StyletronComponent; +export declare const StyledToggleIcon: StyletronComponent; +export declare const StyledToggleIconGroup: StyletronComponent; diff --git a/src/avatar/index.d.ts b/src/avatar/index.d.ts index 9003bc9c7e..7c2eaaf467 100644 --- a/src/avatar/index.d.ts +++ b/src/avatar/index.d.ts @@ -22,6 +22,6 @@ export interface AvatarProps { export declare const Avatar: React.FC; -export declare const StyledAvatar: StyletronComponent; -export declare const StyledInitials: StyletronComponent; -export declare const StyledRoot: StyletronComponent; +export declare const StyledAvatar: StyletronComponent; +export declare const StyledInitials: StyletronComponent; +export declare const StyledRoot: StyletronComponent; diff --git a/src/badge/index.d.ts b/src/badge/index.d.ts index 92186e1e07..96fbce8fc1 100644 --- a/src/badge/index.d.ts +++ b/src/badge/index.d.ts @@ -2,25 +2,25 @@ import * as React from 'react'; import { StyletronComponent } from 'styletron-react'; import { Override } from '../overrides'; -export interface HIERARCHY { +export declare const HIERARCHY: { primary: 'primary'; secondary: 'secondary'; -} +}; -export interface SHAPE { +export declare const SHAPE: { pill: 'pill'; rectangle: 'rectangle'; -} +}; -export interface COLOR { +export declare const COLOR: { accent: 'accent'; primary: 'primary'; positive: 'positive'; negative: 'negative'; warning: 'warning'; -} +}; -export interface PLACEMENT { +export declare const PLACEMENT: { topLeft: 'topLeft'; topRight: 'topRight'; bottomRight: 'bottomRight'; @@ -35,12 +35,12 @@ export interface PLACEMENT { rightTopEdge: 'rightTopEdge'; rightBottomEdge: 'rightBottomEdge'; leftBottomEdge: 'leftBottomEdge'; -} +}; -export type HierarchyT = HIERARCHY[keyof HIERARCHY]; -export type ShapeT = SHAPE[keyof SHAPE]; -export type ColorT = COLOR[keyof COLOR]; -export type PlacementT = PLACEMENT[keyof PLACEMENT]; +export type HierarchyT = typeof HIERARCHY[keyof typeof HIERARCHY]; +export type ShapeT = typeof SHAPE[keyof typeof SHAPE]; +export type ColorT = typeof COLOR[keyof typeof COLOR]; +export type PlacementT = typeof PLACEMENT[keyof typeof PLACEMENT]; export type BadgeOverridesT = { Root?: Override; @@ -81,17 +81,12 @@ export type HintDotPropsT = { children?: React.ReactNode; }; -export const StyledRoot: StyletronComponent; -export const StyledPositioner: StyletronComponent; -export const StyledBadge: StyletronComponent; -export const StyledNotificationCircle: StyletronComponent; -export const StyledHintDot: StyletronComponent; - -export const Badge: React.FC; -export const NotificationCircle: React.FC; -export const HintDot: React.FC; +export declare const StyledRoot: StyletronComponent; +export declare const StyledPositioner: StyletronComponent; +export declare const StyledBadge: StyletronComponent; +export declare const StyledNotificationCircle: StyletronComponent; +export declare const StyledHintDot: StyletronComponent; -export const HIERARCHY: HIERARCHY; -export const SHAPE: SHAPE; -export const COLOR: COLOR; -export const PLACEMENT: PLACEMENT; +export declare const Badge: React.FC; +export declare const NotificationCircle: React.FC; +export declare const HintDot: React.FC; diff --git a/src/banner/index.d.ts b/src/banner/index.d.ts index cf7259caab..22b9121812 100644 --- a/src/banner/index.d.ts +++ b/src/banner/index.d.ts @@ -2,46 +2,46 @@ import * as React from 'react'; import { StyletronComponent } from 'styletron-react'; import { Override } from '../overrides'; -export interface ACTION_POSITION { +export declare const ACTION_POSITION: { below: 'below'; trailing: 'trailing'; -} +}; -export interface ARTWORK_TYPE { +export declare const ARTWORK_TYPE: { badge: 'badge'; icon: 'icon'; -} +}; -export interface HIERARCHY { +export declare const HIERARCHY: { high: 'high'; low: 'low'; -} +}; -export interface KIND { +export declare const KIND: { info: 'info'; negative: 'negative'; positive: 'positive'; warning: 'warning'; -} +}; export interface ActionContentT { label: string; icon?: (iconProps: { size: string }) => React.ReactNode; onClick: (event: React.MouseEvent) => any; - position?: ACTION_POSITION[keyof ACTION_POSITION]; + position?: typeof ACTION_POSITION[keyof typeof ACTION_POSITION]; } export interface ArtworkContentT { icon: (iconProps: { size: string }) => React.ReactNode; - type?: ARTWORK_TYPE[keyof ARTWORK_TYPE]; + type?: typeof ARTWORK_TYPE[keyof typeof ARTWORK_TYPE]; } export interface PropsT { action?: ActionContentT; artwork?: ArtworkContentT; children: React.ReactNode; - hierarchy?: HIERARCHY[keyof HIERARCHY]; - kind?: KIND[keyof KIND]; + hierarchy?: typeof HIERARCHY[keyof typeof HIERARCHY]; + kind?: typeof KIND[keyof typeof KIND]; overrides?: { BelowContent?: Override; LeadingContent?: Override; @@ -57,19 +57,14 @@ export interface PropsT { title?: React.ReactNode; } -export const StyledBelowContent: StyletronComponent; -export const StyledLeadingContent: StyletronComponent; -export const StyledMessage: StyletronComponent; -export const StyledMessageContent: StyletronComponent; -export const StyledRoot: StyletronComponent; -export const StyledTitle: StyletronComponent; -export const StyledTrailingContent: StyletronComponent; -export const StyledTrailingButtonContainer: StyletronComponent; -export const StyledTrailingIconButton: StyletronComponent; - -export const ACTION_POSITION: ACTION_POSITION; -export const ARTWORK_TYPE: ARTWORK_TYPE; -export const HIERARCHY: HIERARCHY; -export const KIND: KIND; +export declare const StyledBelowContent: StyletronComponent; +export declare const StyledLeadingContent: StyletronComponent; +export declare const StyledMessage: StyletronComponent; +export declare const StyledMessageContent: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledTitle: StyletronComponent; +export declare const StyledTrailingContent: StyletronComponent; +export declare const StyledTrailingButtonContainer: StyletronComponent; +export declare const StyledTrailingIconButton: StyletronComponent; -export const Banner: React.FC; +export declare const Banner: React.FC; diff --git a/src/breadcrumbs/index.d.ts b/src/breadcrumbs/index.d.ts index e51196db06..a37df61e01 100644 --- a/src/breadcrumbs/index.d.ts +++ b/src/breadcrumbs/index.d.ts @@ -20,5 +20,5 @@ export interface BreadcrumbsProps { export declare const Breadcrumbs: React.FC; -export declare const StyledRoot: StyletronComponent; -export declare const StyledSeparator: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledSeparator: StyletronComponent; diff --git a/src/button-group/index.d.ts b/src/button-group/index.d.ts index e67b49437e..e4d00c88fd 100644 --- a/src/button-group/index.d.ts +++ b/src/button-group/index.d.ts @@ -14,7 +14,7 @@ export declare const STATE_CHANGE_TYPE: { change: 'change'; }; -export declare const StyledRoot: StyletronComponent; +export declare const StyledRoot: StyletronComponent; export interface ButtonGroupOverrides { Root?: Override; diff --git a/src/button/index.d.ts b/src/button/index.d.ts index 33fb2190c1..071b691750 100644 --- a/src/button/index.d.ts +++ b/src/button/index.d.ts @@ -56,10 +56,10 @@ export interface ButtonProps { type?: 'submit' | 'reset' | 'button'; } -export declare const StyledBaseButton: StyletronComponent; -export declare const StyledStartEnhancer: StyletronComponent; -export declare const StyledEndEnhancer: StyletronComponent; -export declare const StyledLoadingSpinner: StyletronComponent; -export declare const StyledLoadingSpinnerContainer: StyletronComponent; +export declare const StyledBaseButton: StyletronComponent; +export declare const StyledStartEnhancer: StyletronComponent; +export declare const StyledEndEnhancer: StyletronComponent; +export declare const StyledLoadingSpinner: StyletronComponent; +export declare const StyledLoadingSpinnerContainer: StyletronComponent; -export declare const Button: StyletronComponent; +export declare const Button: StyletronComponent; diff --git a/src/card/index.d.ts b/src/card/index.d.ts index 832e48d4d6..13f572a05b 100644 --- a/src/card/index.d.ts +++ b/src/card/index.d.ts @@ -25,11 +25,11 @@ export interface CardProps { export declare const Card: React.FC; export type hasThumbnail = (props: { readonly thumbnail?: string }) => boolean; -export declare const StyledAction: StyletronComponent; -export declare const StyledBody: StyletronComponent; -export declare const StyledContents: StyletronComponent; -export declare const StyledHeaderImage: StyletronComponent; -export declare const StyledThumbnail: StyletronComponent; -export declare const StyledTitle: StyletronComponent; -export declare const StyledRoot: StyletronComponent; -export declare const StyledWrapper: StyletronComponent; +export declare const StyledAction: StyletronComponent; +export declare const StyledBody: StyletronComponent; +export declare const StyledContents: StyletronComponent; +export declare const StyledHeaderImage: StyletronComponent; +export declare const StyledThumbnail: StyletronComponent; +export declare const StyledTitle: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledWrapper: StyletronComponent; diff --git a/src/checkbox/index.d.ts b/src/checkbox/index.d.ts index 070155f5e9..a684d0cc70 100644 --- a/src/checkbox/index.d.ts +++ b/src/checkbox/index.d.ts @@ -23,13 +23,13 @@ type initialState = { isIndeterminate?: boolean; }; -export declare const StyledRoot: StyletronComponent; -export declare const StyledCheckmark: StyletronComponent; -export declare const StyledLabel: StyletronComponent; -export declare const StyledInput: StyletronComponent; -export declare const StyledToggle: StyletronComponent; -export declare const StyledToggleInner: StyletronComponent; -export declare const StyledToggleTrack: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledCheckmark: StyletronComponent; +export declare const StyledLabel: StyletronComponent; +export declare const StyledInput: StyletronComponent; +export declare const StyledToggle: StyletronComponent; +export declare const StyledToggleInner: StyletronComponent; +export declare const StyledToggleTrack: StyletronComponent; export type StateReducer = ( stateType: string, diff --git a/src/dnd-list/index.d.ts b/src/dnd-list/index.d.ts index cd84094926..b035a48441 100644 --- a/src/dnd-list/index.d.ts +++ b/src/dnd-list/index.d.ts @@ -69,12 +69,12 @@ export interface ListProps { export class List extends React.Component {} -export declare const StyledRoot: StyletronComponent; -export declare const StyledList: StyletronComponent; -export declare const StyledItem: StyletronComponent; -export declare const StyledDragHandle: StyletronComponent; -export declare const StyledCloseHandle: StyletronComponent; -export declare const StyledLabel: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledList: StyletronComponent; +export declare const StyledItem: StyletronComponent; +export declare const StyledDragHandle: StyletronComponent; +export declare const StyledCloseHandle: StyletronComponent; +export declare const StyledLabel: StyletronComponent; export declare const arrayMove: typeof arrayMoveT; export declare const arrayRemove: typeof arrayRemoveT; diff --git a/src/drawer/index.d.ts b/src/drawer/index.d.ts index 15685f6f55..4779c5615f 100644 --- a/src/drawer/index.d.ts +++ b/src/drawer/index.d.ts @@ -84,8 +84,8 @@ export class Drawer extends React.Component { renderDrawer(): React.ReactNode; } -export declare const StyledRoot: StyletronComponent; -export declare const StyledBackdrop: StyletronComponent; -export declare const StyledDrawerContainer: StyletronComponent; -export declare const StyledDrawerBody: StyletronComponent; -export declare const StyledClose: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledBackdrop: StyletronComponent; +export declare const StyledDrawerContainer: StyletronComponent; +export declare const StyledDrawerBody: StyletronComponent; +export declare const StyledClose: StyletronComponent; diff --git a/src/file-uploader/index.d.ts b/src/file-uploader/index.d.ts index bcd4788bf9..00adc415a9 100644 --- a/src/file-uploader/index.d.ts +++ b/src/file-uploader/index.d.ts @@ -69,8 +69,8 @@ export interface FileUploaderProps { } export declare const FileUploader: React.FC; -export declare const StyledRoot: StyletronComponent; -export declare const StyledFileDragAndDrop: StyletronComponent; -export declare const StyledContentMessage: StyletronComponent; -export declare const StyledErrorMessage: StyletronComponent; -export declare const StyledHiddenInput: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledFileDragAndDrop: StyletronComponent; +export declare const StyledContentMessage: StyletronComponent; +export declare const StyledErrorMessage: StyletronComponent; +export declare const StyledHiddenInput: StyletronComponent; diff --git a/src/form-control/index.d.ts b/src/form-control/index.d.ts index 6312293701..c3e7723fd5 100644 --- a/src/form-control/index.d.ts +++ b/src/form-control/index.d.ts @@ -2,9 +2,9 @@ import * as React from 'react'; import { StyletronComponent } from 'styletron-react'; import { Override } from '../overrides'; -export declare const StyledLabel: StyletronComponent; -export declare const StyledCaption: StyletronComponent; -export declare const StyledControlContainer: StyletronComponent; +export declare const StyledLabel: StyletronComponent; +export declare const StyledCaption: StyletronComponent; +export declare const StyledControlContainer: StyletronComponent; export interface FormControlOverrides { Label?: Override; diff --git a/src/header-navigation/index.d.ts b/src/header-navigation/index.d.ts index 1ae0d6c862..6413086e07 100644 --- a/src/header-navigation/index.d.ts +++ b/src/header-navigation/index.d.ts @@ -19,6 +19,6 @@ export interface HeaderNavigationProps { export class HeaderNavigation extends React.Component {} -export declare const StyledRoot: StyletronComponent; -export declare const StyledNavigationItem: StyletronComponent; -export declare const StyledNavigationList: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledNavigationItem: StyletronComponent; +export declare const StyledNavigationList: StyletronComponent; diff --git a/src/helper/index.d.ts b/src/helper/index.d.ts index 52474d30db..51f05a139b 100644 --- a/src/helper/index.d.ts +++ b/src/helper/index.d.ts @@ -22,8 +22,8 @@ export type HelperStepsPropsT = { export { ACCESSIBILITY_TYPE, PLACEMENT, TRIGGER_TYPE }; -export declare const StyledArrow: StyletronComponent; -export declare const StyledBody: StyletronComponent; +export declare const StyledArrow: StyletronComponent; +export declare const StyledBody: StyletronComponent; export declare const Unstable_Helper: React.FC; export declare const Unstable_StatefulHelper: React.FC; diff --git a/src/icon/index.d.ts b/src/icon/index.d.ts index e9bf367a63..39932fdd22 100644 --- a/src/icon/index.d.ts +++ b/src/icon/index.d.ts @@ -21,7 +21,7 @@ export interface IconProps { export declare const Icon: React.FC; -export declare const StyledSvg: StyletronComponent; +export declare const StyledSvg: StyletronComponent; export declare const Alert: React.FC; export declare const ArrowDown: React.FC; diff --git a/src/input/index.d.ts b/src/input/index.d.ts index 9376d86f06..a6928c6372 100644 --- a/src/input/index.d.ts +++ b/src/input/index.d.ts @@ -154,9 +154,9 @@ export type StatefulInputProps = InputProps & StatefulContainerProps & { childre export declare const StatefulInput: React.FC; export declare const StatefulContainer: React.FC; -export declare const StyledRoot: StyletronComponent; -export declare const StyledInputEnhancer: StyletronComponent; -export declare const StyledStartEnhancer: StyletronComponent; -export declare const StyledEndEnhancer: StyletronComponent; -export declare const StyledInputContainer: StyletronComponent; -export declare const StyledInput: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledInputEnhancer: StyletronComponent; +export declare const StyledStartEnhancer: StyletronComponent; +export declare const StyledEndEnhancer: StyletronComponent; +export declare const StyledInputContainer: StyletronComponent; +export declare const StyledInput: StyletronComponent; diff --git a/src/layout-grid/index.d.ts b/src/layout-grid/index.d.ts index 2c7d6d751b..420b84a4a3 100644 --- a/src/layout-grid/index.d.ts +++ b/src/layout-grid/index.d.ts @@ -94,5 +94,5 @@ export type StyledCellProps = { export declare const Grid: React.FunctionComponent; export declare const Cell: React.FunctionComponent; -export declare const StyledGrid: StyletronComponent; -export declare const StyledCell: StyletronComponent; +export declare const StyledGrid: StyletronComponent; +export declare const StyledCell: StyletronComponent; diff --git a/src/link/index.d.ts b/src/link/index.d.ts index 07803e079f..0c2af053db 100644 --- a/src/link/index.d.ts +++ b/src/link/index.d.ts @@ -10,4 +10,4 @@ export interface LinkProps target?: '_self' | '_blank' | '_parent' | '_top'; } -export declare const StyledLink: StyletronComponent; +export declare const StyledLink: StyletronComponent; diff --git a/src/list/index.d.ts b/src/list/index.d.ts index 2d0c0f0673..e26f2f63a5 100644 --- a/src/list/index.d.ts +++ b/src/list/index.d.ts @@ -73,10 +73,10 @@ export declare const ListItem: React.ForwardRefExoticComponent< export declare const ListItemLabel: React.FC; export declare const MenuAdapter: React.FC; -export declare const StyledRoot: StyletronComponent<{}>; -export declare const StyledContent: StyletronComponent; -export declare const StyledEndEnhancerContainer: StyletronComponent<{}>; -export declare const StyledArtworkContainer: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledContent: StyletronComponent; +export declare const StyledEndEnhancerContainer: StyletronComponent; +export declare const StyledArtworkContainer: StyletronComponent; export interface HeadingPropsT { heading: React.ReactNode; @@ -99,10 +99,13 @@ export declare const ListHeading: React.ForwardRefExoticComponent< HeadingPropsT & React.RefAttributes >; -export declare const StyledHeadingRoot: StyletronComponent<{}>; -export declare const StyledHeadingContent: StyletronComponent<{}>; -export declare const StyledHeadingContentRow: StyletronComponent<{}>; -export declare const StyledHeadingMainHeading: StyletronComponent; -export declare const StyledHeadingSubHeading: StyletronComponent; -export declare const StyledHeadingEndEnhancerContainer: StyletronComponent; -export declare const StyledHeadingEndEnhancerDescriptionContainer: StyletronComponent<{}>; +export declare const StyledHeadingRoot: StyletronComponent; +export declare const StyledHeadingContent: StyletronComponent; +export declare const StyledHeadingContentRow: StyletronComponent; +export declare const StyledHeadingMainHeading: StyletronComponent; +export declare const StyledHeadingSubHeading: StyletronComponent; +export declare const StyledHeadingEndEnhancerContainer: StyletronComponent< + any, + StyledHeadingEndEnhancerContainerPropsT +>; +export declare const StyledHeadingEndEnhancerDescriptionContainer: StyletronComponent; diff --git a/src/map-marker/index.js b/src/map-marker/index.js index 905b182190..8d8c6c2b4b 100644 --- a/src/map-marker/index.js +++ b/src/map-marker/index.js @@ -17,6 +17,7 @@ export { BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND, + PINHEAD_DIMENSIONS, } from './constants.js'; export type * from './types.js'; diff --git a/src/menu/index.d.ts b/src/menu/index.d.ts index 727a39a5df..a60b5a1959 100644 --- a/src/menu/index.d.ts +++ b/src/menu/index.d.ts @@ -200,13 +200,13 @@ export class NestedMenus extends React.Component): boolean; } -export declare const StyledEmptyState: StyletronComponent; -export declare const StyledList: StyletronComponent; -export declare const StyledListItem: StyletronComponent; -export declare const StyledListItemProfile: StyletronComponent; -export declare const StyledProfileImgContainer: StyletronComponent; -export declare const StyledProfileImg: StyletronComponent; -export declare const StyledProfileLabelsContainer: StyletronComponent; -export declare const StyledProfileTitle: StyletronComponent; -export declare const StyledProfileSubtitle: StyletronComponent; -export declare const StyledProfileBody: StyletronComponent; +export declare const StyledEmptyState: StyletronComponent; +export declare const StyledList: StyletronComponent; +export declare const StyledListItem: StyletronComponent; +export declare const StyledListItemProfile: StyletronComponent; +export declare const StyledProfileImgContainer: StyletronComponent; +export declare const StyledProfileImg: StyletronComponent; +export declare const StyledProfileLabelsContainer: StyletronComponent; +export declare const StyledProfileTitle: StyletronComponent; +export declare const StyledProfileSubtitle: StyletronComponent; +export declare const StyledProfileBody: StyletronComponent; diff --git a/src/modal/index.d.ts b/src/modal/index.d.ts index dee103fc31..530a094d7f 100644 --- a/src/modal/index.d.ts +++ b/src/modal/index.d.ts @@ -85,10 +85,10 @@ export class ModalButton extends React.Component {} -export declare const StyledRoot: StyletronComponent; -export declare const StyledDialog: StyletronComponent; -export declare const StyledDialogContainer: StyletronComponent; -export declare const StyledClose: StyletronComponent; -export declare const ModalHeader: StyletronComponent; -export declare const ModalBody: StyletronComponent; -export declare const ModalFooter: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledDialog: StyletronComponent; +export declare const StyledDialogContainer: StyletronComponent; +export declare const StyledClose: StyletronComponent; +export declare const ModalHeader: StyletronComponent; +export declare const ModalBody: StyletronComponent; +export declare const ModalFooter: StyletronComponent; diff --git a/src/pagination/index.d.ts b/src/pagination/index.d.ts index 3b8112354c..3c69d5cc66 100644 --- a/src/pagination/index.d.ts +++ b/src/pagination/index.d.ts @@ -87,6 +87,6 @@ export class StatefulContainer extends React.Component; -export declare const StyledMaxLabel: StyletronComponent; -export declare const StyledDropdownContainer: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledMaxLabel: StyletronComponent; +export declare const StyledDropdownContainer: StyletronComponent; diff --git a/src/payment-card/index.d.ts b/src/payment-card/index.d.ts index 4aa0ad2a54..b8dd733523 100644 --- a/src/payment-card/index.d.ts +++ b/src/payment-card/index.d.ts @@ -25,4 +25,4 @@ export type StatefulPaymentCardProps = InputProps & export declare const StatefulPaymentCard: React.FC; export class PaymentCard extends React.Component {} -export declare const StyledIconWrapper: StyletronComponent; +export declare const StyledIconWrapper: StyletronComponent; diff --git a/src/phone-input/index.d.ts b/src/phone-input/index.d.ts index bf819c167b..f1394af1a4 100644 --- a/src/phone-input/index.d.ts +++ b/src/phone-input/index.d.ts @@ -426,15 +426,15 @@ export interface FlagProps { } export declare const Flag: React.FC; -export declare const StyledFlag: StyletronComponent; -export declare const StyledRoot: StyletronComponent; -export declare const StyledDialCode: StyletronComponent; -export declare const StyledCountrySelectContainer: StyletronComponent; -export declare const StyledCountrySelectDropdownContainer: StyletronComponent; -export declare const StyledCountrySelectDropdownListItem: StyletronComponent; -export declare const StyledCountrySelectDropdownFlagColumn: StyletronComponent; -export declare const StyledCountrySelectDropdownNameColumn: StyletronComponent; -export declare const StyledCountrySelectDropdownDialcodeColumn: StyletronComponent; +export declare const StyledFlag: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledDialCode: StyletronComponent; +export declare const StyledCountrySelectContainer: StyletronComponent; +export declare const StyledCountrySelectDropdownContainer: StyletronComponent; +export declare const StyledCountrySelectDropdownListItem: StyletronComponent; +export declare const StyledCountrySelectDropdownFlagColumn: StyletronComponent; +export declare const StyledCountrySelectDropdownNameColumn: StyletronComponent; +export declare const StyledCountrySelectDropdownDialcodeColumn: StyletronComponent; export declare const DEFAULT_MAX_DROPDOWN_WIDTH: '400px'; export declare const DEFAULT_MAX_DROPDOWN_HEIGHT: '400px'; diff --git a/src/popover/index.d.ts b/src/popover/index.d.ts index e304ebca28..76bf08a3e4 100644 --- a/src/popover/index.d.ts +++ b/src/popover/index.d.ts @@ -177,10 +177,10 @@ export class Popover extends React.Component renderPopover(): React.ReactNode; } -export declare const StyledArrow: StyletronComponent; -export declare const StyledBody: StyletronComponent; -export declare const StyledInner: StyletronComponent; -export declare const StyledPadding: StyletronComponent; +export declare const StyledArrow: StyletronComponent; +export declare const StyledBody: StyletronComponent; +export declare const StyledInner: StyletronComponent; +export declare const StyledPadding: StyletronComponent; export declare const POPOVER_MARGIN: 8; export declare const ARROW_SIZE: 6; diff --git a/src/progress-bar/index.d.ts b/src/progress-bar/index.d.ts index 9bfe6cc8cf..8003b272ec 100644 --- a/src/progress-bar/index.d.ts +++ b/src/progress-bar/index.d.ts @@ -49,9 +49,9 @@ export interface ProgressBarRoundedProps { } export declare const ProgressBarRounded: React.FC; -export declare const StyledRoot: StyletronComponent; -export declare const StyledBarContainer: StyletronComponent; -export declare const StyledBar: StyletronComponent; -export declare const StyledBarProgress: StyletronComponent; -export declare const StyledInfiniteBar: StyletronComponent; -export declare const StyledLabel: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledBarContainer: StyletronComponent; +export declare const StyledBar: StyletronComponent; +export declare const StyledBarProgress: StyletronComponent; +export declare const StyledInfiniteBar: StyletronComponent; +export declare const StyledLabel: StyletronComponent; diff --git a/src/progress-steps/index.d.ts b/src/progress-steps/index.d.ts index 35ca5a666d..52be444118 100644 --- a/src/progress-steps/index.d.ts +++ b/src/progress-steps/index.d.ts @@ -58,14 +58,14 @@ export interface StyleProps { $isCompleted?: boolean; $disabled?: boolean; } -export declare const StyledProgressSteps: StyletronComponent; -export declare const StyledStep: StyletronComponent; -export declare const StyledIcon: StyletronComponent; -export declare const StyledInnerIcon: StyletronComponent; -export declare const StyledContent: StyletronComponent; -export declare const StyledContentTitle: StyletronComponent; -export declare const StyledContentTail: StyletronComponent; -export declare const StyledContentDescription: StyletronComponent; -export declare const StyledNumberStep: StyletronComponent; -export declare const StyledNumberIcon: StyletronComponent; -export declare const StyledNumberContentTail: StyletronComponent; +export declare const StyledProgressSteps: StyletronComponent; +export declare const StyledStep: StyletronComponent; +export declare const StyledIcon: StyletronComponent; +export declare const StyledInnerIcon: StyletronComponent; +export declare const StyledContent: StyletronComponent; +export declare const StyledContentTitle: StyletronComponent; +export declare const StyledContentTail: StyletronComponent; +export declare const StyledContentDescription: StyletronComponent; +export declare const StyledNumberStep: StyletronComponent; +export declare const StyledNumberIcon: StyletronComponent; +export declare const StyledNumberContentTail: StyletronComponent; diff --git a/src/radio/index.d.ts b/src/radio/index.d.ts index 5a70ad5579..9c252b0c94 100644 --- a/src/radio/index.d.ts +++ b/src/radio/index.d.ts @@ -125,10 +125,10 @@ export class Radio extends React.Component { onBlur(event: React.FocusEvent): void; } -export declare const StyledRoot: StyletronComponent; -export declare const StyledLabel: StyletronComponent; -export declare const StyledInput: StyletronComponent; -export declare const StyledDescription: StyletronComponent; -export declare const StyledRadioMarkInner: StyletronComponent; -export declare const StyledRadioMarkOuter: StyletronComponent; -export declare const StyledRadioGroupRoot: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledLabel: StyletronComponent; +export declare const StyledInput: StyletronComponent; +export declare const StyledDescription: StyletronComponent; +export declare const StyledRadioMarkInner: StyletronComponent; +export declare const StyledRadioMarkOuter: StyletronComponent; +export declare const StyledRadioGroupRoot: StyletronComponent; diff --git a/src/rating/index.d.ts b/src/rating/index.d.ts index 9325d1aa84..20119d85e3 100644 --- a/src/rating/index.d.ts +++ b/src/rating/index.d.ts @@ -48,6 +48,6 @@ export interface StyledRatingItemProps { $isSelected: boolean; $index: number; } -export declare const StyledRoot: StyletronComponent; -export declare const StyledStar: StyletronComponent; -export declare const StyledEmoticon: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledStar: StyletronComponent; +export declare const StyledEmoticon: StyletronComponent; diff --git a/src/select/index.d.ts b/src/select/index.d.ts index 874480b0b7..844bc6e36d 100644 --- a/src/select/index.d.ts +++ b/src/select/index.d.ts @@ -308,19 +308,19 @@ export class StatefulSelectContainer extends React.Component; -export declare const StyledControlContainer: StyletronComponent; -export declare const StyledValueContainer: StyletronComponent; -export declare const StyledPlaceholder: StyletronComponent; -export declare const StyledSingleValue: StyletronComponent; -export declare const StyledInputContainer: StyletronComponent; -export declare const StyledInput: StyletronComponent; -export declare const StyledInputSizer: StyletronComponent; -export declare const StyledIconsContainer: StyletronComponent; -export declare const StyledSelectArrow: StyletronComponent; -export declare const StyledClearIcon: StyletronComponent; -export declare const StyledSearchIconContainer: StyletronComponent; -export declare const StyledDropdownContainer: StyletronComponent; -export declare const StyledDropdown: StyletronComponent; -export declare const StyledDropdownListItem: StyletronComponent; -export declare const StyledOptionContent: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledControlContainer: StyletronComponent; +export declare const StyledValueContainer: StyletronComponent; +export declare const StyledPlaceholder: StyletronComponent; +export declare const StyledSingleValue: StyletronComponent; +export declare const StyledInputContainer: StyletronComponent; +export declare const StyledInput: StyletronComponent; +export declare const StyledInputSizer: StyletronComponent; +export declare const StyledIconsContainer: StyletronComponent; +export declare const StyledSelectArrow: StyletronComponent; +export declare const StyledClearIcon: StyletronComponent; +export declare const StyledSearchIconContainer: StyletronComponent; +export declare const StyledDropdownContainer: StyletronComponent; +export declare const StyledDropdown: StyletronComponent; +export declare const StyledDropdownListItem: StyletronComponent; +export declare const StyledOptionContent: StyletronComponent; diff --git a/src/side-navigation/index.d.ts b/src/side-navigation/index.d.ts index 04731d0c5e..1177382349 100644 --- a/src/side-navigation/index.d.ts +++ b/src/side-navigation/index.d.ts @@ -53,8 +53,8 @@ export class NavItem extends React.Component { handleKeyDown(event: React.KeyboardEvent): void; } -export declare const StyledRoot: StyletronComponent; -export declare const StyledNavItemContainer: StyletronComponent; -export declare const StyledNavLink: StyletronComponent; -export declare const StyledNavItem: StyletronComponent; -export declare const StyledSubNavContainer: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledNavItemContainer: StyletronComponent; +export declare const StyledNavLink: StyletronComponent; +export declare const StyledNavItem: StyletronComponent; +export declare const StyledSubNavContainer: StyletronComponent; diff --git a/src/slider/index.d.ts b/src/slider/index.d.ts index dff9fd69b4..294529e75c 100644 --- a/src/slider/index.d.ts +++ b/src/slider/index.d.ts @@ -82,11 +82,11 @@ export class StatefulContainer extends React.Component; -export declare const StyledTrack: StyletronComponent; -export declare const StyledInnerTrack: StyletronComponent; -export declare const StyledThumb: StyletronComponent; -export declare const StyledInnerThumb: StyletronComponent; -export declare const StyledTick: StyletronComponent; -export declare const StyledTickBar: StyletronComponent; -export declare const StyledMark: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledTrack: StyletronComponent; +export declare const StyledInnerTrack: StyletronComponent; +export declare const StyledThumb: StyletronComponent; +export declare const StyledInnerThumb: StyletronComponent; +export declare const StyledTick: StyletronComponent; +export declare const StyledTickBar: StyletronComponent; +export declare const StyledMark: StyletronComponent; diff --git a/src/spinner/index.d.ts b/src/spinner/index.d.ts index d01563ce9f..474219a32d 100644 --- a/src/spinner/index.d.ts +++ b/src/spinner/index.d.ts @@ -14,4 +14,4 @@ export interface SpinnerProps { $size?: number | string | SIZE | Sizing; } -export declare const Spinner: StyletronComponent; +export declare const Spinner: StyletronComponent; diff --git a/src/styles/index.d.ts b/src/styles/index.d.ts index 524489b14a..27965b71de 100644 --- a/src/styles/index.d.ts +++ b/src/styles/index.d.ts @@ -37,10 +37,10 @@ export interface Theme { type UseStyletronFn = () => [(arg: StyleObject) => string, Theme]; export function createThemedUseStyletron(): UseStyletronFn; export declare const useStyletron: UseStyletronFn; -export function withWrapper, P extends object>( +export function withWrapper, P extends object>( component: C, wrapper: (component: C) => React.ComponentType

-): StyletronComponent & P>; +): StyletronComponent; export function styled< P extends object, @@ -49,30 +49,26 @@ export function styled< >( component: C, styledFn: StyleObject | ((props: { $theme: T } & P) => StyleObject) -): StyletronComponent< - Pick, Exclude, { className: string }>> & P ->; -export function withStyle, P extends object, T = Theme>( +): StyletronComponent; +export function withStyle, P extends object, T = Theme>( component: C, styledFn: StyleObject | ((props: { $theme: T } & P) => StyleObject) -): StyletronComponent & P>; +): StyletronComponent; export interface StyledFn extends StyletronStyledFn { , P extends object>( component: C, style: (props: { $theme: T } & P) => StyleObject - ): StyletronComponent< - Pick, Exclude, { className: string }>> & P - >; + ): StyletronComponent; } export function createThemedStyled(): StyledFn; export interface WithStyleFn extends StyletronWithStyleFn { - , P extends object, T1 = T>( + , P extends object, T1 = T>( component: C, style: (props: P & { $theme: T1 }) => StyleObject - ): StyletronComponent & P>; + ): StyletronComponent; } export function createThemedWithStyle(): WithStyleFn; diff --git a/src/table-grid/index.d.ts b/src/table-grid/index.d.ts index d08e552925..66a6d52e2f 100644 --- a/src/table-grid/index.d.ts +++ b/src/table-grid/index.d.ts @@ -1,7 +1,7 @@ import { StyletronComponent } from 'styletron-react'; import { SORT_DIRECTION, SortableHeadCell } from '../table/'; -export declare const StyledTable: StyletronComponent; -export declare const StyledHeadCell: StyletronComponent; -export declare const StyledBodyCell: StyletronComponent; +export declare const StyledTable: StyletronComponent; +export declare const StyledHeadCell: StyletronComponent; +export declare const StyledBodyCell: StyletronComponent; export { SORT_DIRECTION, SortableHeadCell }; diff --git a/src/table-semantic/index.d.ts b/src/table-semantic/index.d.ts index aca552bf9d..274b30d3fd 100644 --- a/src/table-semantic/index.d.ts +++ b/src/table-semantic/index.d.ts @@ -81,17 +81,17 @@ export interface TableBuilderColumnProps { } export class TableBuilderColumn extends React.Component> {} -export declare const StyledRoot: StyletronComponent; -export declare const StyledTable: StyletronComponent; -export declare const StyledTableHead: StyletronComponent; -export declare const StyledTableHeadRow: StyletronComponent; -export declare const StyledTableHeadCell: StyletronComponent; -export declare const StyledTableHeadCellSortable: StyletronComponent; -export declare const StyledTableBody: StyletronComponent; -export declare const StyledTableBodyRow: StyletronComponent; -export declare const StyledTableBodyCell: StyletronComponent; -export declare const StyledTableLoadingMessage: StyletronComponent; -export declare const StyledTableEmptyMessage: StyletronComponent; -export declare const StyledSortAscIcon: StyletronComponent; -export declare const StyledSortDescIcon: StyletronComponent; -export declare const StyledSortNoneIcon: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledTable: StyletronComponent; +export declare const StyledTableHead: StyletronComponent; +export declare const StyledTableHeadRow: StyletronComponent; +export declare const StyledTableHeadCell: StyletronComponent; +export declare const StyledTableHeadCellSortable: StyletronComponent; +export declare const StyledTableBody: StyletronComponent; +export declare const StyledTableBodyRow: StyletronComponent; +export declare const StyledTableBodyCell: StyletronComponent; +export declare const StyledTableLoadingMessage: StyletronComponent; +export declare const StyledTableEmptyMessage: StyletronComponent; +export declare const StyledSortAscIcon: StyletronComponent; +export declare const StyledSortDescIcon: StyletronComponent; +export declare const StyledSortNoneIcon: StyletronComponent; diff --git a/src/table/index.d.ts b/src/table/index.d.ts index fb7640581b..0a5ea65828 100644 --- a/src/table/index.d.ts +++ b/src/table/index.d.ts @@ -54,15 +54,15 @@ export interface FilterProps { } export declare const Filter: React.FC; -export declare const StyledTable: StyletronComponent; -export declare const StyledFilterButton: StyletronComponent; -export declare const StyledFilterContent: StyletronComponent; -export declare const StyledFilterHeading: StyletronComponent; -export declare const StyledFilterFooter: StyletronComponent; -export declare const StyledHead: StyletronComponent; -export declare const StyledHeadCell: StyletronComponent; -export declare const StyledBody: StyletronComponent; -export declare const StyledRow: StyletronComponent; -export declare const StyledCell: StyletronComponent; -export declare const StyledAction: StyletronComponent; -export declare const StyledSortableLabel: StyletronComponent; +export declare const StyledTable: StyletronComponent; +export declare const StyledFilterButton: StyletronComponent; +export declare const StyledFilterContent: StyletronComponent; +export declare const StyledFilterHeading: StyletronComponent; +export declare const StyledFilterFooter: StyletronComponent; +export declare const StyledHead: StyletronComponent; +export declare const StyledHeadCell: StyletronComponent; +export declare const StyledBody: StyletronComponent; +export declare const StyledRow: StyletronComponent; +export declare const StyledCell: StyletronComponent; +export declare const StyledAction: StyletronComponent; +export declare const StyledSortableLabel: StyletronComponent; diff --git a/src/tabs-motion/index.d.ts b/src/tabs-motion/index.d.ts index a0cce0d1f6..5bd7c8926e 100644 --- a/src/tabs-motion/index.d.ts +++ b/src/tabs-motion/index.d.ts @@ -30,13 +30,13 @@ export declare const isRTL: (direction: string) => boolean; // styled-components -export declare const StyledRoot: StyletronComponent; -export declare const StyledTabList: StyletronComponent; -export declare const StyledTab: StyletronComponent; -export declare const StyledArtworkContainer: StyletronComponent; -export declare const StyledTabBorder: StyletronComponent; -export declare const StyledTabHighlight: StyletronComponent; -export declare const StyledTabPanel: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledTabList: StyletronComponent; +export declare const StyledTab: StyletronComponent; +export declare const StyledArtworkContainer: StyletronComponent; +export declare const StyledTabBorder: StyletronComponent; +export declare const StyledTabHighlight: StyletronComponent; +export declare const StyledTabPanel: StyletronComponent; // tabs diff --git a/src/tabs/index.d.ts b/src/tabs/index.d.ts index 9410037a89..5c2d761d4d 100644 --- a/src/tabs/index.d.ts +++ b/src/tabs/index.d.ts @@ -85,7 +85,7 @@ export class Tab extends React.Component { getSharedProps(): SharedProps; } -export declare const StyledRoot: StyletronComponent; -export declare const StyledTab: StyletronComponent; -export declare const StyledTabBar: StyletronComponent; -export declare const StyledTabContent: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledTab: StyletronComponent; +export declare const StyledTabBar: StyletronComponent; +export declare const StyledTabContent: StyletronComponent; diff --git a/src/tag/index.d.ts b/src/tag/index.d.ts index d37a20d86f..5855ec7187 100644 --- a/src/tag/index.d.ts +++ b/src/tag/index.d.ts @@ -65,6 +65,6 @@ export class Tag extends React.Component { handleActionKeyDown(event: KeyboardEvent): void; } -export declare const StyledRoot: StyletronComponent; -export declare const StyledAction: StyletronComponent; -export declare const StyledText: StyletronComponent; +export declare const StyledRoot: StyletronComponent; +export declare const StyledAction: StyletronComponent; +export declare const StyledText: StyletronComponent; diff --git a/src/textarea/index.d.ts b/src/textarea/index.d.ts index 6d53af05bb..72c32f86ab 100644 --- a/src/textarea/index.d.ts +++ b/src/textarea/index.d.ts @@ -33,7 +33,7 @@ export declare const StatefulTextarea: React.FC; export { StatefulContainer }; -export declare const StyledTextareaContainer: StyletronComponent; -export declare const StyledTextarea: StyletronComponent; +export declare const StyledTextareaContainer: StyletronComponent; +export declare const StyledTextarea: StyletronComponent; export { STATE_CHANGE_TYPE }; diff --git a/src/toast/index.d.ts b/src/toast/index.d.ts index 4f0bfa3aef..fda23b5deb 100644 --- a/src/toast/index.d.ts +++ b/src/toast/index.d.ts @@ -118,6 +118,6 @@ export class Toast extends React.Component { getSharedProps(): Readonly; } -export declare const Root: StyletronComponent; -export declare const Body: StyletronComponent; -export declare const CloseIconSvg: StyletronComponent; +export declare const Root: StyletronComponent; +export declare const Body: StyletronComponent; +export declare const CloseIconSvg: StyletronComponent; diff --git a/src/tooltip/index.d.ts b/src/tooltip/index.d.ts index 520f6a7d8d..65ac5093c6 100644 --- a/src/tooltip/index.d.ts +++ b/src/tooltip/index.d.ts @@ -21,6 +21,6 @@ export { ACCESSIBILITY_TYPE, PLACEMENT, TRIGGER_TYPE }; export type TooltipProps = PopoverProps; export class Tooltip extends React.Component {} -export declare const StyledArrow: StyletronComponent; -export declare const StyledBody: StyletronComponent; -export declare const StyledInner: StyletronComponent; +export declare const StyledArrow: StyletronComponent; +export declare const StyledBody: StyletronComponent; +export declare const StyledInner: StyletronComponent; diff --git a/src/tree-view/index.d.ts b/src/tree-view/index.d.ts index 2bddb58191..e7a83a61fe 100644 --- a/src/tree-view/index.d.ts +++ b/src/tree-view/index.d.ts @@ -62,10 +62,10 @@ export declare const StatefulTreeView: React.FC; export declare const TreeLabel: React.FC; -export declare const StyledTreeItemList: StyletronComponent; -export declare const StyledTreeItem: StyletronComponent; -export declare const StyledItemContent: StyletronComponent; -export declare const StyledIconContainer: StyletronComponent; +export declare const StyledTreeItemList: StyletronComponent; +export declare const StyledTreeItem: StyletronComponent; +export declare const StyledItemContent: StyletronComponent; +export declare const StyledIconContainer: StyletronComponent; type TGetId = (node: TreeNode) => string | number; type toggleIsExpandedT = (data: TreeNode[], toggledNode: TreeNode, getId?: TGetId) => TreeNode[]; diff --git a/yarn.lock b/yarn.lock index 58645df95d..4e032aebc8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4335,28 +4335,6 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff" integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== -"@types/styletron-engine-atomic@^1.1.1": - version "1.1.1" - resolved "https://registry.npmjs.org/@types/styletron-engine-atomic/-/styletron-engine-atomic-1.1.1.tgz#032dabd5ccea1b8601521ad38616a7a9f0af5404" - integrity sha512-Jthl51uLiVZHkY0HRBGtDOjjtI4H0nYaERZtzzdDgnJSa+PqQG55ScMQPmSAu6ikzYWp6+jJbbtuIX+TqVfFeg== - dependencies: - "@types/styletron-standard" "*" - -"@types/styletron-react@^5.0.3": - version "5.0.3" - resolved "https://registry.npmjs.org/@types/styletron-react/-/styletron-react-5.0.3.tgz#54d6e9acefb692355b35132b9f5276cc5cac00f6" - integrity sha512-mNM8WrFrCYWXNxudjdMMeHZmGdXLfVF/fQmj1Qnz7E99niL2d7IcQubbx731FX3YEVGoF9Au1J6uBkPoEzqypw== - dependencies: - "@types/react" "*" - "@types/styletron-standard" "*" - -"@types/styletron-standard@*", "@types/styletron-standard@^2.0.2": - version "2.0.2" - resolved "https://registry.npmjs.org/@types/styletron-standard/-/styletron-standard-2.0.2.tgz#1e4f1977555e0b4612af0f5f420e8c777640b124" - integrity sha512-ZpPB8k2Yhskq/oggg2wjWeP/bBxRDfwIzRrHbdksVOQXfHOLf4rRqs2tlWLK/NRJvWU3E3MlXeNcoVSZjuAPiQ== - dependencies: - csstype "^3.0.2" - "@types/tapable@^1": version "1.0.8" resolved "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.8.tgz#b94a4391c85666c7b73299fd3ad79d4faa435310" @@ -8202,10 +8180,10 @@ csstype@^2.5.7: resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.6.tgz#c34f8226a94bbb10c32cc0d714afdf942291fc41" integrity sha512-RpFbQGUE74iyPgvr46U9t1xoQBM8T4BL8SxrN66Le2xYAPSaDJJKeztV3awugusb3g3G9iL8StmkBBXhcbbXhg== -csstype@^3.0.2: - version "3.0.10" - resolved "https://registry.npmjs.org/csstype/-/csstype-3.0.10.tgz#2ad3a7bed70f35b965707c092e5f30b327c290e5" - integrity sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA== +csstype@^3.0.0: + version "3.1.0" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2" + integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA== currently-unhandled@^0.4.1: version "0.4.1" @@ -18573,28 +18551,29 @@ styled-jsx@3.3.2: stylis "3.5.4" stylis-rule-sheet "0.0.10" -styletron-engine-atomic@^1.4.3: - version "1.4.4" - resolved "https://registry.yarnpkg.com/styletron-engine-atomic/-/styletron-engine-atomic-1.4.4.tgz#4522b17a11654672d93489b7bce2220dd2842924" - integrity sha512-GMNB7xmmFuP67JLfRYC52MZepP7cp+hveHX6eTvQfS/4zDXLudvPT8Skr6wFOdAqMLSlCHwzjEp8En2Ebg32uA== +styletron-engine-atomic@^1.5.0-beta.1: + version "1.5.0-beta.1" + resolved "https://registry.npmjs.org/styletron-engine-atomic/-/styletron-engine-atomic-1.5.0-beta.1.tgz#dcf8845193b5cf49158ad5fc5c040d65da3ff12f" + integrity sha512-wpGK9uTjfnnCYm9pJOBEvPP14qqrylBUgDo3MOFgMAL4jSmDlxEcVu0G2qR0hdKu7ri0PiLu4x6ZSHPoWApMHA== dependencies: inline-style-prefixer "^5.1.0" - styletron-standard "^3.0.4" + styletron-standard "^3.1.0-beta.1" -styletron-react@^5.2.4: - version "5.2.7" - resolved "https://registry.yarnpkg.com/styletron-react/-/styletron-react-5.2.7.tgz#7aa283a0b06787024f96289480c60bafed5048cf" - integrity sha512-PUUf7MAv9aaO8oT0B4ryPreeLi3BT1kQ7WIDNhkkpLkvCzk+pOvmtaZJJZRIxWPimj8756rLZqpF7/2ssF9KhQ== +styletron-react@^6.1.0-beta.1: + version "6.1.0-beta.1" + resolved "https://registry.npmjs.org/styletron-react/-/styletron-react-6.1.0-beta.1.tgz#8e8bb4f83b507e364982922f9842c554f026567b" + integrity sha512-x9Zx2GyDEWF9eJyqjt4dUUbvRH+q65xoaBss04jYfCxzGXpV1HnxFlX7a77VWpnnzj+yCm5ArFqI1Ntl3RzjQA== dependencies: prop-types "^15.6.0" - styletron-standard "^3.0.4" + styletron-standard "^3.1.0-beta.1" -styletron-standard@^3.0.3, styletron-standard@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/styletron-standard/-/styletron-standard-3.0.4.tgz#2b286752f464e4c9824faaee466013aa8f13cf6b" - integrity sha512-AozOYUEtB5m0s+6ieLCObqYsBitLJmag3IoD/yg0Y9X32AYKwtGO4emx9cljD25k2S/R1XmLPgThOU+orjXTKg== +styletron-standard@^3.1.0-beta.1: + version "3.1.0-beta.1" + resolved "https://registry.npmjs.org/styletron-standard/-/styletron-standard-3.1.0-beta.1.tgz#0dc57728ad0d718f033bd3198bb29ef52fdec9d6" + integrity sha512-xaYLAhxH+LjhpkMTNjUzPKRoes+Luqq74adwT1fy01O8P7c1gHqTNOJBSjLrA8KUEgiF7dkZVzHOTnpNkeKDqg== dependencies: "@rtsao/csstype" "2.6.5-forked.0" + csstype "^3.0.0" inline-style-prefixer "^5.1.0" stylis-rule-sheet@0.0.10: