@skyscanner/backpack-web 35.0.0-premajor.1 → 35.0.0
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/bpk-component-aria-live/src/BpkAriaLive.d.ts +1 -1
- package/bpk-component-badge/src/BpkBadge.d.ts +1 -1
- package/bpk-component-banner-alert/src/AnimateAndFade.d.ts +1 -1
- package/bpk-component-banner-alert/src/BpkBannerAlert.d.ts +1 -1
- package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.d.ts +1 -1
- package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.d.ts +1 -1
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.d.ts +1 -1
- package/bpk-component-banner-alert/src/withBannerAlertState.d.ts +3 -5
- package/bpk-component-boilerplate/src/BpkBoilerplate.d.ts +1 -1
- package/bpk-component-bottom-sheet/src/BpkBottomSheet.d.ts +1 -1
- package/bpk-component-button/BpkButtonDestructive.d.ts +1 -1
- package/bpk-component-button/BpkButtonFeatured.d.ts +1 -1
- package/bpk-component-button/BpkButtonLink.d.ts +1 -1
- package/bpk-component-button/BpkButtonLinkOnDark.d.ts +1 -1
- package/bpk-component-button/BpkButtonPrimary.d.ts +1 -1
- package/bpk-component-button/BpkButtonPrimaryOnDark.d.ts +1 -1
- package/bpk-component-button/BpkButtonPrimaryOnLight.d.ts +1 -1
- package/bpk-component-button/BpkButtonSecondary.d.ts +1 -1
- package/bpk-component-button/BpkButtonSecondaryOnDark.d.ts +1 -1
- package/bpk-component-button/src/BpkButton.d.ts +1 -1
- package/bpk-component-button/src/BpkButtonBase.d.ts +1 -1
- package/bpk-component-button/src/BpkButtonV2/BpkButton.d.ts +1 -1
- package/bpk-component-calendar/src/BpkCalendarContainer.d.ts +6 -10
- package/bpk-component-calendar/src/BpkCalendarDate.d.ts +1 -1
- package/bpk-component-calendar/src/BpkCalendarGrid.d.ts +2 -2
- package/bpk-component-calendar/src/BpkCalendarGridHeader.d.ts +1 -1
- package/bpk-component-calendar/src/BpkCalendarGridTransition.d.ts +2 -2
- package/bpk-component-calendar/src/BpkCalendarNav.d.ts +1 -1
- package/bpk-component-calendar/src/BpkCalendarWeek.d.ts +1 -1
- package/bpk-component-calendar/src/composeCalendar.d.ts +1 -1
- package/bpk-component-card/src/BpkCard.d.ts +1 -1
- package/bpk-component-card/src/BpkCardWrapper.d.ts +1 -1
- package/bpk-component-card/src/BpkDividedCard.d.ts +1 -1
- package/bpk-component-card-button/src/BpkSaveButton.d.ts +1 -1
- package/bpk-component-carousel/src/BpkCarousel.d.ts +1 -1
- package/bpk-component-carousel/src/BpkCarouselContainer.d.ts +1 -1
- package/{bpk-component-input/src/BpkClearButton.module.css → bpk-component-carousel/src/utils.test.js} +18 -6
- package/bpk-component-chip/src/BpkDismissibleChip.d.ts +1 -1
- package/bpk-component-chip/src/BpkDropdownChip.d.ts +1 -1
- package/bpk-component-chip/src/BpkIconChip.d.ts +1 -1
- package/bpk-component-chip/src/BpkSelectableChip.d.ts +1 -1
- package/bpk-component-chip-group/src/BpkMultiSelectChipGroup.d.ts +1 -1
- package/bpk-component-chip-group/src/BpkSingleSelectChipGroup.d.ts +1 -1
- package/bpk-component-chip-group/src/Nudger.d.ts +1 -1
- package/bpk-component-close-button/src/BpkCloseButton.d.ts +1 -1
- package/bpk-component-datatable/src/BpkDataTable.d.ts +1 -1
- package/bpk-component-datatable/src/BpkDataTableHeader.d.ts +1 -1
- package/bpk-component-datepicker/src/BpkDatepicker.d.ts +3 -5
- package/bpk-component-description-list/src/BpkDescriptionDetails.d.ts +1 -1
- package/bpk-component-description-list/src/BpkDescriptionList.d.ts +1 -1
- package/bpk-component-description-list/src/BpkDescriptionTerm.d.ts +1 -1
- package/bpk-component-dialog/src/BpkDialog.d.ts +1 -1
- package/bpk-component-dialog/src/BpkDialogInner.d.ts +7 -11
- package/bpk-component-floating-notification/src/BpkFloatingNotification.d.ts +1 -1
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.d.ts +1 -1
- package/bpk-component-icon/index.d.ts +2 -2
- package/bpk-component-icon/src/classNameModifierHOCFactory.d.ts +1 -1
- package/bpk-component-icon/src/withAlignment.d.ts +1 -1
- package/bpk-component-icon/src/withRtlSupport.d.ts +1 -1
- package/bpk-component-image/src/BpkBackgroundImage.d.ts +1 -1
- package/bpk-component-image/src/BpkImage.d.ts +1 -1
- package/bpk-component-image/src/withLazyLoading.d.ts +3 -5
- package/bpk-component-image/src/withLoadingBehavior.d.ts +3 -5
- package/bpk-component-info-banner/src/AnimateAndFade.d.ts +1 -1
- package/bpk-component-info-banner/src/BpkInfoBanner.d.ts +1 -1
- package/bpk-component-info-banner/src/BpkInfoBannerDismissable.d.ts +1 -1
- package/bpk-component-info-banner/src/BpkInfoBannerExpandable.d.ts +1 -1
- package/bpk-component-info-banner/src/BpkInfoBannerInner.d.ts +1 -1
- package/bpk-component-info-banner/src/withBannerAlertState.d.ts +3 -5
- package/bpk-component-input/src/BpkInput.d.ts +1 -1
- package/bpk-component-input/src/withOpenEvents.d.ts +2 -4
- package/bpk-component-inset-banner/src/BpkInsetBanner.d.ts +1 -1
- package/bpk-component-journey-arrow/src/BpkJourneyArrow.d.ts +1 -1
- package/bpk-component-loading-button/src/BpkLoadingButton.d.ts +1 -1
- package/bpk-component-map/src/BpkBasicMapMarker.d.ts +1 -1
- package/bpk-component-map/src/BpkPriceMarkerV2/BpkPriceMarker.d.ts +1 -1
- package/bpk-component-modal/src/BpkModal.d.ts +1 -1
- package/bpk-component-modal/src/BpkModalInner.d.ts +1 -1
- package/bpk-component-modal/src/BpkModalV2/BpkModal.d.ts +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBar.d.ts +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.d.ts +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.d.ts +1 -1
- package/bpk-component-nudger/src/BpkNudger.d.ts +1 -1
- package/bpk-component-overlay/src/BpkOverlay.d.ts +1 -1
- package/bpk-component-popover/src/BpkPopover.d.ts +1 -1
- package/bpk-component-rating/src/BpkRating.d.ts +1 -1
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.d.ts +1 -1
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange.d.ts +7 -11
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.d.ts +2 -4
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.d.ts +1 -1
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.d.ts +3 -3
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.d.ts +3 -3
- package/bpk-component-section-header/src/BpkSectionHeader.d.ts +1 -1
- package/bpk-component-segmented-control/src/BpkSegmentedControl.d.ts +1 -1
- package/bpk-component-skeleton/src/BpkBaseSkeleton.d.ts +1 -1
- package/bpk-component-skeleton/src/BpkSkeleton.d.ts +1 -1
- package/bpk-component-slider/src/BpkSlider.d.ts +1 -1
- package/bpk-component-snippet/src/BpkSnippet.d.ts +1 -1
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.d.ts +1 -1
- package/bpk-component-spinner/src/BpkLargeSpinner.d.ts +1 -1
- package/bpk-component-spinner/src/BpkSpinner.d.ts +1 -1
- package/bpk-component-split-input/src/BpkInputField.d.ts +1 -1
- package/bpk-component-split-input/src/BpkSplitInput.d.ts +2 -2
- package/bpk-component-split-input/src/BpkSplitInput.js +1 -9
- package/bpk-component-swap-button/src/BpkSwapButton.d.ts +1 -1
- package/bpk-component-switch/index.d.ts +5 -0
- package/bpk-component-switch/src/BpkSwitch.d.ts +8 -0
- package/bpk-component-switch/src/BpkSwitch.js +9 -22
- package/bpk-component-switch/src/BpkSwitch.module.css +1 -1
- package/bpk-component-switch/src/themeAttributes.d.ts +2 -0
- package/bpk-component-text/src/BpkText.d.ts +1 -1
- package/bpk-component-tooltip/src/BpkTooltip.d.ts +1 -1
- package/bpk-component-tooltip/src/BpkTooltipPortal.d.ts +1 -1
- package/bpk-react-utils/index.d.ts +3 -3
- package/bpk-react-utils/src/BpkDialogWrapper/BpkDialogWrapper.d.ts +1 -1
- package/bpk-react-utils/src/TransitionInitialMount.d.ts +1 -1
- package/bpk-react-utils/src/withDefaultProps.d.ts +1 -1
- package/bpk-scrim-utils/index.d.ts +7 -11
- package/bpk-scrim-utils/src/BpkScrim.d.ts +1 -1
- package/bpk-scrim-utils/src/withScrim.d.ts +7 -11
- package/bpk-scrim-utils/src/withScrimmedPortal.d.ts +1 -1
- package/bpk-theming/src/BpkThemeProvider.js +19 -30
- package/package.json +3 -3
- package/bpk-component-button/src/BpkButtonDestructive.module.css +0 -18
- package/bpk-component-button/src/BpkButtonFeatured.module.css +0 -18
- package/bpk-component-button/src/BpkButtonLink.module.css +0 -18
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.css +0 -18
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.css +0 -18
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.css +0 -18
- package/bpk-component-button/src/BpkButtonSecondary.module.css +0 -18
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.css +0 -18
- package/bpk-component-datepicker/src/BpkDatepicker.module.css +0 -18
- package/bpk-component-flare/src/__generated__/js/corner-radius.d.ts +0 -5
- package/bpk-component-flare/src/__generated__/js/pointer.d.ts +0 -5
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.css +0 -18
- package/bpk-stylesheets/test.css +0 -164
|
@@ -27,6 +27,6 @@ declare class BpkBackgroundImage extends Component<BpkBackgroundImageProps> {
|
|
|
27
27
|
onBackgroundImageLoad: () => void;
|
|
28
28
|
getAspectRatio: () => number;
|
|
29
29
|
startImageLoad: () => void;
|
|
30
|
-
render(): JSX.Element;
|
|
30
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
}
|
|
32
32
|
export default BpkBackgroundImage;
|
|
@@ -22,13 +22,11 @@ export default function withLazyLoading<P extends object>(WrappedComponent: Comp
|
|
|
22
22
|
checkInView: import("lodash").DebouncedFunc<() => void>;
|
|
23
23
|
supportsPassiveEvents: () => boolean;
|
|
24
24
|
isInViewPort: () => boolean;
|
|
25
|
-
render(): JSX.Element;
|
|
26
|
-
context:
|
|
25
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
context: unknown;
|
|
27
27
|
setState<K extends "inView">(state: WithLazyLoadingState | ((prevState: Readonly<WithLazyLoadingState>, props: Readonly<Omit<P, "inView"> & WithLazyLoadingProps>) => Pick<WithLazyLoadingState, K> | WithLazyLoadingState | null) | Pick<WithLazyLoadingState, K> | null, callback?: (() => void) | undefined): void;
|
|
28
28
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
29
|
-
readonly props: Readonly<Omit<P, "inView"> & WithLazyLoadingProps
|
|
30
|
-
children?: import("react").ReactNode | undefined;
|
|
31
|
-
}>;
|
|
29
|
+
readonly props: Readonly<Omit<P, "inView"> & WithLazyLoadingProps>;
|
|
32
30
|
state: Readonly<WithLazyLoadingState>;
|
|
33
31
|
refs: {
|
|
34
32
|
[key: string]: import("react").ReactInstance;
|
|
@@ -9,13 +9,11 @@ type State = {
|
|
|
9
9
|
export default function withLoadingBehavior<P extends object>(WrappedComponent: ComponentType<P>): {
|
|
10
10
|
new (props: Omit<P, keyof InjectedProps>): {
|
|
11
11
|
onLoad: () => void;
|
|
12
|
-
render(): JSX.Element;
|
|
13
|
-
context:
|
|
12
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
context: unknown;
|
|
14
14
|
setState<K extends "loading">(state: State | ((prevState: Readonly<State>, props: Readonly<Omit<P, keyof InjectedProps>>) => Pick<State, K> | State | null) | Pick<State, K> | null, callback?: (() => void) | undefined): void;
|
|
15
15
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
16
|
-
readonly props: Readonly<Omit<P, keyof InjectedProps
|
|
17
|
-
children?: import("react").ReactNode | undefined;
|
|
18
|
-
}>;
|
|
16
|
+
readonly props: Readonly<Omit<P, keyof InjectedProps>>;
|
|
19
17
|
state: Readonly<State>;
|
|
20
18
|
refs: {
|
|
21
19
|
[key: string]: import("react").ReactInstance;
|
|
@@ -27,6 +27,6 @@ declare class AnimateAndFade extends Component<Props, State> {
|
|
|
27
27
|
onAnimateHeightComplete: () => void;
|
|
28
28
|
onFadeComplete: () => void;
|
|
29
29
|
toggle: () => void;
|
|
30
|
-
render(): JSX.Element | null;
|
|
30
|
+
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
31
31
|
}
|
|
32
32
|
export default AnimateAndFade;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { CommonProps } from './common-types';
|
|
2
|
-
declare const BpkInfoBanner: ({ animateOnEnter, animateOnLeave, icon, show, ...rest }: CommonProps) => JSX.Element;
|
|
2
|
+
declare const BpkInfoBanner: ({ animateOnEnter, animateOnLeave, icon, show, ...rest }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BpkInfoBanner;
|
|
@@ -3,5 +3,5 @@ export type Props = CommonProps & {
|
|
|
3
3
|
dismissButtonLabel: string;
|
|
4
4
|
onDismiss?: OnDismissHandler;
|
|
5
5
|
};
|
|
6
|
-
declare const BpkInfoBannerDismissable: ({ onDismiss, ...rest }: Props) => JSX.Element;
|
|
6
|
+
declare const BpkInfoBannerDismissable: ({ onDismiss, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default BpkInfoBannerDismissable;
|
|
@@ -7,5 +7,5 @@ export type Props = CommonProps & {
|
|
|
7
7
|
onExpandToggle?: OnExpandToggleHandler;
|
|
8
8
|
action?: ExpandableBannerAction;
|
|
9
9
|
};
|
|
10
|
-
declare const BpkInfoBannerExpandable: ({ action, children, expanded, onExpandToggle, ...rest }: Props) => JSX.Element;
|
|
10
|
+
declare const BpkInfoBannerExpandable: ({ action, children, expanded, onExpandToggle, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default BpkInfoBannerExpandable;
|
|
@@ -15,5 +15,5 @@ type Props = CommonProps & {
|
|
|
15
15
|
dismissButtonLabel?: string;
|
|
16
16
|
onDismiss?: OnDismissHandler;
|
|
17
17
|
};
|
|
18
|
-
declare const BpkInfoBannerInner: ({ action, animateOnEnter, animateOnLeave, bannerClassName, children, configuration, dismissButtonLabel, expanded, icon, message, onDismiss, onExpandToggle, show, style, toggleButtonLabel, type, ...rest }: Props) => JSX.Element;
|
|
18
|
+
declare const BpkInfoBannerInner: ({ action, animateOnEnter, animateOnLeave, bannerClassName, children, configuration, dismissButtonLabel, expanded, icon, message, onDismiss, onExpandToggle, show, style, toggleButtonLabel, type, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export default BpkInfoBannerInner;
|
|
@@ -14,8 +14,8 @@ declare const withBannerAlertState: <P extends BpkInfoBannerProps>(WrappedCompon
|
|
|
14
14
|
onExpandToggle: () => void;
|
|
15
15
|
onDismiss: () => void;
|
|
16
16
|
onHide: () => void;
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
context:
|
|
17
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
context: unknown;
|
|
19
19
|
setState<K extends keyof {
|
|
20
20
|
expanded?: boolean;
|
|
21
21
|
show?: boolean;
|
|
@@ -36,9 +36,7 @@ declare const withBannerAlertState: <P extends BpkInfoBannerProps>(WrappedCompon
|
|
|
36
36
|
show?: boolean;
|
|
37
37
|
}, K> | null, callback?: (() => void) | undefined): void;
|
|
38
38
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
39
|
-
readonly props: Readonly<P & WithBannerAlertStateProps
|
|
40
|
-
children?: import("react").ReactNode | undefined;
|
|
41
|
-
}>;
|
|
39
|
+
readonly props: Readonly<P & WithBannerAlertStateProps>;
|
|
42
40
|
state: Readonly<{
|
|
43
41
|
expanded?: boolean;
|
|
44
42
|
show?: boolean;
|
|
@@ -34,12 +34,10 @@ declare const withOpenEvents: <P extends object>(WithOpenEventsInputComponent: C
|
|
|
34
34
|
handleFocus: () => void;
|
|
35
35
|
handleBlur: () => void;
|
|
36
36
|
render(): ReactElement;
|
|
37
|
-
context:
|
|
37
|
+
context: unknown;
|
|
38
38
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>) => Pick<{}, K> | {} | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
39
39
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
40
|
-
readonly props: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps
|
|
41
|
-
children?: import("react").ReactNode | undefined;
|
|
42
|
-
}>;
|
|
40
|
+
readonly props: Readonly<P & import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Omit<EventHandlers, "aria-readonly" | "readOnly"> & WithOpenEventsProps>;
|
|
43
41
|
state: Readonly<{}>;
|
|
44
42
|
refs: {
|
|
45
43
|
[key: string]: import("react").ReactInstance;
|
|
@@ -18,5 +18,5 @@ export type Props = {
|
|
|
18
18
|
title?: string;
|
|
19
19
|
variant?: (typeof VARIANT)[keyof typeof VARIANT];
|
|
20
20
|
};
|
|
21
|
-
declare const BpkInsetBanner: ({ accessibilityLabel, backgroundColor, body, callToAction, logo, subheadline, title, variant, }: Props) => JSX.Element;
|
|
21
|
+
declare const BpkInsetBanner: ({ accessibilityLabel, backgroundColor, body, callToAction, logo, subheadline, title, variant, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default BpkInsetBanner;
|
|
@@ -3,5 +3,5 @@ export type Props = {
|
|
|
3
3
|
stops?: number;
|
|
4
4
|
[rest: string]: any;
|
|
5
5
|
};
|
|
6
|
-
declare const BpkJourneyArrow: ({ stops, ...rest }: Props) => JSX.Element;
|
|
6
|
+
declare const BpkJourneyArrow: ({ stops, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default BpkJourneyArrow;
|
|
@@ -24,5 +24,5 @@ type LoadingProps = {
|
|
|
24
24
|
iconDisabled?: ReactElement<any>;
|
|
25
25
|
iconLoading?: ReactElement<any>;
|
|
26
26
|
} & ButtonProps;
|
|
27
|
-
declare const BpkLoadingButton: (props: LoadingProps) => JSX.Element;
|
|
27
|
+
declare const BpkLoadingButton: (props: LoadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
export default BpkLoadingButton;
|
|
@@ -6,7 +6,7 @@ type Props = {
|
|
|
6
6
|
position: LatLong;
|
|
7
7
|
};
|
|
8
8
|
declare const BpkBasicMapMarker: {
|
|
9
|
-
(props: Props): JSX.Element;
|
|
9
|
+
(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
propTypes: {
|
|
11
11
|
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
12
12
|
position: any;
|
|
@@ -20,5 +20,5 @@ export type Props = Partial<ModalDialogProps> & {
|
|
|
20
20
|
*/
|
|
21
21
|
getApplicationElement: () => HTMLElement | null;
|
|
22
22
|
};
|
|
23
|
-
declare const BpkModal: ({ accessoryView, className, closeLabel, closeOnEscPressed, closeOnScrimClick, closeText, contentClassName, dialogRef, fullScreen, fullScreenOnMobile, isIphone, isOpen, modalStyle, onClose, padded, renderTarget, showHeader, title, wide, ...rest }: Props) => JSX.Element;
|
|
23
|
+
declare const BpkModal: ({ accessoryView, className, closeLabel, closeOnEscPressed, closeOnScrimClick, closeText, contentClassName, dialogRef, fullScreen, fullScreenOnMobile, isIphone, isOpen, modalStyle, onClose, padded, renderTarget, showHeader, title, wide, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export default BpkModal;
|
|
@@ -26,5 +26,5 @@ export declare const MODAL_STYLING: {
|
|
|
26
26
|
surfaceContrast: string;
|
|
27
27
|
};
|
|
28
28
|
export type ModalStyle = (typeof MODAL_STYLING)[keyof typeof MODAL_STYLING];
|
|
29
|
-
declare const BpkModalInner: ({ accessoryView, children, className, closeLabel, closeText, contentClassName, dialogRef, fullScreen, fullScreenOnMobile, id, isIphone, modalStyle, onClose, padded, showHeader, title, wide, }: Props) => JSX.Element;
|
|
29
|
+
declare const BpkModalInner: ({ accessoryView, children, className, closeLabel, closeText, contentClassName, dialogRef, fullScreen, fullScreenOnMobile, id, isIphone, modalStyle, onClose, padded, showHeader, title, wide, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export default BpkModalInner;
|
|
@@ -17,5 +17,5 @@ export type Props = {
|
|
|
17
17
|
barStyle?: BarStyle;
|
|
18
18
|
[rest: string]: any;
|
|
19
19
|
};
|
|
20
|
-
declare const BpkNavigationBar: (props: Props) => JSX.Element;
|
|
20
|
+
declare const BpkNavigationBar: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export default BpkNavigationBar;
|
|
@@ -8,5 +8,5 @@ export interface Props extends ComponentProps<BpkButtonLink> {
|
|
|
8
8
|
barStyle?: BarStyle;
|
|
9
9
|
[rest: string]: any;
|
|
10
10
|
}
|
|
11
|
-
declare const BpkNavigationBarButtonLink: ({ barStyle, children, className, ...rest }: Props) => JSX.Element;
|
|
11
|
+
declare const BpkNavigationBarButtonLink: ({ barStyle, children, className, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default BpkNavigationBarButtonLink;
|
|
@@ -9,5 +9,5 @@ export type Props = {
|
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
[rest: string]: any;
|
|
11
11
|
};
|
|
12
|
-
declare const BpkNavigationBarIconButton: ({ barStyle, className, icon, ...rest }: Props) => JSX.Element;
|
|
12
|
+
declare const BpkNavigationBarIconButton: ({ barStyle, className, icon, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export default BpkNavigationBarIconButton;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type CommonProps } from './common-types';
|
|
2
|
-
declare const BpkNudger: ({ buttonType, className, decreaseButtonLabel, icon, id, increaseButtonLabel, inputClassName, max, min, name, onValueChange, step, subtitle, title, value, ...rest }: CommonProps) => JSX.Element;
|
|
2
|
+
declare const BpkNudger: ({ buttonType, className, decreaseButtonLabel, icon, id, increaseButtonLabel, inputClassName, max, min, name, onValueChange, step, subtitle, title, value, ...rest }: CommonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BpkNudger;
|
|
@@ -30,5 +30,5 @@ export type Props = BpkOverlayProps & ComponentProps<'div'> & {
|
|
|
30
30
|
overlayType?: OverlayType;
|
|
31
31
|
foregroundContent?: ReactNode;
|
|
32
32
|
};
|
|
33
|
-
declare const BpkOverlay: (props: Props) => JSX.Element;
|
|
33
|
+
declare const BpkOverlay: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
export default BpkOverlay;
|
|
@@ -33,5 +33,5 @@ export type Props = CloseButtonProps & {
|
|
|
33
33
|
onAction?: () => void;
|
|
34
34
|
renderTarget?: () => HTMLElement | HTMLElement | null;
|
|
35
35
|
};
|
|
36
|
-
declare const BpkPopover: ({ actionText, children, className, closeButtonIcon, closeButtonLabel, closeButtonProps, closeButtonText, id, isOpen, label, labelAsTitle, onAction, onClose, padded, placement, renderTarget, showArrow, target, ...rest }: Props) => JSX.Element;
|
|
36
|
+
declare const BpkPopover: ({ actionText, children, className, closeButtonIcon, closeButtonLabel, closeButtonProps, closeButtonText, id, isOpen, label, labelAsTitle, onAction, onClose, padded, placement, renderTarget, showArrow, target, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
export default BpkPopover;
|
|
@@ -13,7 +13,7 @@ type Props = {
|
|
|
13
13
|
value: string | number;
|
|
14
14
|
};
|
|
15
15
|
declare const BpkRating: {
|
|
16
|
-
(props: Props): JSX.Element;
|
|
16
|
+
(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
propTypes: {
|
|
18
18
|
ariaLabel: PropTypes.Validator<string>;
|
|
19
19
|
value: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
|
|
@@ -10,6 +10,6 @@ declare class BpkRtlToggle extends Component<Props, State> {
|
|
|
10
10
|
componentWillUnmount(): void;
|
|
11
11
|
handleKeyDown: (e: KeyboardEvent) => void;
|
|
12
12
|
toggleRtl: (e: InteractionEvents) => void;
|
|
13
|
-
render(): JSX.Element;
|
|
13
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
}
|
|
15
15
|
export default BpkRtlToggle;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
2
|
declare const updateOnDirectionChange: (EnhancedComponent: ComponentType<any> | string) => {
|
|
3
|
-
new (props: {}
|
|
3
|
+
new (props: {}): {
|
|
4
4
|
componentDidMount(): void;
|
|
5
5
|
componentWillUnmount(): void;
|
|
6
6
|
onDirectionChange: () => void;
|
|
7
|
-
render(): JSX.Element;
|
|
8
|
-
context:
|
|
7
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
context: unknown;
|
|
9
9
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => Pick<{}, K> | {} | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
10
10
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
11
|
-
readonly props: Readonly<{}
|
|
12
|
-
children?: import("react").ReactNode | undefined;
|
|
13
|
-
}>;
|
|
11
|
+
readonly props: Readonly<{}>;
|
|
14
12
|
state: Readonly<{}>;
|
|
15
13
|
refs: {
|
|
16
14
|
[key: string]: import("react").ReactInstance;
|
|
@@ -30,13 +28,11 @@ declare const updateOnDirectionChange: (EnhancedComponent: ComponentType<any> |
|
|
|
30
28
|
componentDidMount(): void;
|
|
31
29
|
componentWillUnmount(): void;
|
|
32
30
|
onDirectionChange: () => void;
|
|
33
|
-
render(): JSX.Element;
|
|
34
|
-
context:
|
|
31
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
context: unknown;
|
|
35
33
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => Pick<{}, K> | {} | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
34
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
37
|
-
readonly props: Readonly<{}
|
|
38
|
-
children?: import("react").ReactNode | undefined;
|
|
39
|
-
}>;
|
|
35
|
+
readonly props: Readonly<{}>;
|
|
40
36
|
state: Readonly<{}>;
|
|
41
37
|
refs: {
|
|
42
38
|
[key: string]: import("react").ReactInstance;
|
|
@@ -27,8 +27,8 @@ declare const _default: {
|
|
|
27
27
|
source: string;
|
|
28
28
|
}) => void;
|
|
29
29
|
handleDateKeyDown: (event: KeyboardEvent) => void;
|
|
30
|
-
render(): JSX.Element;
|
|
31
|
-
context:
|
|
30
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
context: unknown;
|
|
32
32
|
setState<K extends keyof {
|
|
33
33
|
preventKeyboardFocus: boolean;
|
|
34
34
|
focusedDate: Date;
|
|
@@ -65,8 +65,6 @@ declare const _default: {
|
|
|
65
65
|
maxDate: Date;
|
|
66
66
|
}> & {
|
|
67
67
|
[rest: string]: any;
|
|
68
|
-
}> & Readonly<{
|
|
69
|
-
children?: import("react").ReactNode | undefined;
|
|
70
68
|
}>;
|
|
71
69
|
state: Readonly<{
|
|
72
70
|
preventKeyboardFocus: boolean;
|
|
@@ -4,5 +4,5 @@ type Props = Partial<BpkCalendarDateProps> & {
|
|
|
4
4
|
isOutside?: boolean;
|
|
5
5
|
[rest: string]: any;
|
|
6
6
|
};
|
|
7
|
-
declare const BpkScrollableCalendarDate: ({ isOutside, ...rest }: Props) => JSX.Element | null;
|
|
7
|
+
declare const BpkScrollableCalendarDate: ({ isOutside, ...rest }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
export default BpkScrollableCalendarDate;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { ElementType } from 'react';
|
|
1
|
+
import type { ElementType, ReactNode } from 'react';
|
|
2
2
|
import type { BpkCalendarGridProps } from '../../bpk-component-calendar';
|
|
3
3
|
type Props = Partial<BpkCalendarGridProps> & {
|
|
4
4
|
DateComponent: ElementType;
|
|
5
5
|
month: Date;
|
|
6
6
|
formatDateFull: (date: Date) => Date | string;
|
|
7
7
|
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
8
|
-
formatMonth: (date: Date) =>
|
|
8
|
+
formatMonth: (date: Date) => ReactNode | string;
|
|
9
9
|
};
|
|
10
|
-
declare const BpkScrollableCalendarGrid: ({ className, formatMonth, ignoreOutsideDate, month, ...rest }: Props) => JSX.Element;
|
|
10
|
+
declare const BpkScrollableCalendarGrid: ({ className, formatMonth, ignoreOutsideDate, month, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default BpkScrollableCalendarGrid;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ElementType } from 'react';
|
|
1
|
+
import type { ElementType, ReactNode } from 'react';
|
|
2
2
|
import type { BpkCalendarGridProps, SelectionConfiguration } from '../../bpk-component-calendar';
|
|
3
3
|
type Props = Partial<BpkCalendarGridProps> & {
|
|
4
4
|
minDate: Date;
|
|
@@ -7,7 +7,7 @@ type Props = Partial<BpkCalendarGridProps> & {
|
|
|
7
7
|
formatDateFull: (date: Date) => Date | string;
|
|
8
8
|
month: Date;
|
|
9
9
|
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
10
|
-
formatMonth: (date: Date) =>
|
|
10
|
+
formatMonth: (date: Date) => ReactNode | string;
|
|
11
11
|
focusedDate?: Date | null;
|
|
12
12
|
selectionConfiguration?: SelectionConfiguration;
|
|
13
13
|
className?: string | null;
|
|
@@ -16,5 +16,5 @@ type Props = Partial<BpkCalendarGridProps> & {
|
|
|
16
16
|
*/
|
|
17
17
|
customRowHeight?: number;
|
|
18
18
|
};
|
|
19
|
-
declare const BpkScrollableCalendarGridList: (props: Props) => JSX.Element;
|
|
19
|
+
declare const BpkScrollableCalendarGridList: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export default BpkScrollableCalendarGridList;
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
button?: ReactNode;
|
|
11
11
|
type?: SectionType;
|
|
12
12
|
};
|
|
13
|
-
declare const BpkSectionHeader: ({ button, description, title, type, }: Props) => JSX.Element;
|
|
13
|
+
declare const BpkSectionHeader: ({ button, description, title, type, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default BpkSectionHeader;
|
|
@@ -13,5 +13,5 @@ export type Props = {
|
|
|
13
13
|
selectedIndex: number;
|
|
14
14
|
shadow?: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare const BpkSegmentedControl: ({ buttonContents, onItemClick, selectedIndex, shadow, type, }: Props) => JSX.Element;
|
|
16
|
+
declare const BpkSegmentedControl: ({ buttonContents, onItemClick, selectedIndex, shadow, type, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export default BpkSegmentedControl;
|
|
@@ -3,5 +3,5 @@ type Props = {
|
|
|
3
3
|
skeletonStyle: string;
|
|
4
4
|
styleObj?: CUSTOM_SIZE_TYPE;
|
|
5
5
|
};
|
|
6
|
-
declare const BpkBaseSkeleton: ({ skeletonStyle, styleObj, }: Props) => JSX.Element;
|
|
6
|
+
declare const BpkBaseSkeleton: ({ skeletonStyle, styleObj, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default BpkBaseSkeleton;
|
|
@@ -13,5 +13,5 @@ export type Props = {
|
|
|
13
13
|
}];
|
|
14
14
|
[rest: string]: any;
|
|
15
15
|
};
|
|
16
|
-
declare const BpkSlider: ({ ariaLabel, ariaValuetext, inputProps, max, min, minDistance, onAfterChange, onChange, step, value, ...rest }: Props) => JSX.Element;
|
|
16
|
+
declare const BpkSlider: ({ ariaLabel, ariaValuetext, inputProps, max, min, minDistance, onAfterChange, onChange, step, value, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export default BpkSlider;
|
|
@@ -44,5 +44,5 @@ export type Props = {
|
|
|
44
44
|
imageRadius?: boolean;
|
|
45
45
|
onClick?: (event: MouseEvent<HTMLButtonElement & HTMLAnchorElement>) => void;
|
|
46
46
|
};
|
|
47
|
-
declare const BpkSnippet: ({ altText, bodyStyle, bodyText, buttonStyle, buttonText, desktopLayout, headline, headlineStyle, imageOrientation, imageRadius, onClick, src, subheading, }: Props) => JSX.Element;
|
|
47
|
+
declare const BpkSnippet: ({ altText, bodyStyle, bodyText, buttonStyle, buttonText, desktopLayout, headline, headlineStyle, imageOrientation, imageRadius, onClick, src, subheading, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
48
48
|
export default BpkSnippet;
|
|
@@ -4,5 +4,5 @@ type Props = {
|
|
|
4
4
|
className?: string | null;
|
|
5
5
|
[rest: string]: any;
|
|
6
6
|
};
|
|
7
|
-
declare const BpkExtraLargeSpinner: ({ className, type, ...rest }: Props) => JSX.Element;
|
|
7
|
+
declare const BpkExtraLargeSpinner: ({ className, type, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default BpkExtraLargeSpinner;
|
|
@@ -5,5 +5,5 @@ type Props = {
|
|
|
5
5
|
alignToButton?: boolean;
|
|
6
6
|
[rest: string]: any;
|
|
7
7
|
};
|
|
8
|
-
declare const BpkLargeSpinner: ({ alignToButton, className, type, ...rest }: Props) => JSX.Element;
|
|
8
|
+
declare const BpkLargeSpinner: ({ alignToButton, className, type, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default BpkLargeSpinner;
|
|
@@ -5,5 +5,5 @@ type Props = {
|
|
|
5
5
|
alignToButton?: boolean;
|
|
6
6
|
[rest: string]: any;
|
|
7
7
|
};
|
|
8
|
-
declare const BpkSpinner: ({ alignToButton, className, type, ...rest }: Props) => JSX.Element;
|
|
8
|
+
declare const BpkSpinner: ({ alignToButton, className, type, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default BpkSpinner;
|
|
@@ -37,8 +37,8 @@ declare class BpkSplitInput extends Component<Props, State> {
|
|
|
37
37
|
handleOnKeyDown: (e: KeyboardEvent<HTMLInputElement>) => void;
|
|
38
38
|
handleOnChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
39
39
|
handleOnFocus: (e: FocusEvent<HTMLInputElement>, index: number) => void;
|
|
40
|
-
renderInputs: () => JSX.Element[];
|
|
41
|
-
render(): JSX.Element;
|
|
40
|
+
renderInputs: () => import("react/jsx-runtime").JSX.Element[];
|
|
41
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
}
|
|
43
43
|
export default BpkSplitInput;
|
|
44
44
|
export { INPUT_TYPES };
|
|
@@ -23,14 +23,6 @@ import InputField from "./BpkInputField";
|
|
|
23
23
|
import STYLES from "./BpkSplitInput.module.css";
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
26
|
-
|
|
27
|
-
// keyCode constants
|
|
28
|
-
const BACKSPACE = 8;
|
|
29
|
-
const LEFT_ARROW = 37;
|
|
30
|
-
const RIGHT_ARROW = 39;
|
|
31
|
-
const DELETE = 46;
|
|
32
|
-
const SPACEBAR = 32;
|
|
33
|
-
const ENTER = 13;
|
|
34
26
|
class BpkSplitInput extends Component {
|
|
35
27
|
static defaultProps = {
|
|
36
28
|
type: INPUT_TYPES.number,
|
|
@@ -42,7 +34,7 @@ class BpkSplitInput extends Component {
|
|
|
42
34
|
super(props);
|
|
43
35
|
this.state = {
|
|
44
36
|
focusedInput: 0,
|
|
45
|
-
inputValue:
|
|
37
|
+
inputValue: []
|
|
46
38
|
};
|
|
47
39
|
}
|
|
48
40
|
onInputChange = input => {
|
|
@@ -9,5 +9,5 @@ export type Props = {
|
|
|
9
9
|
ariaLabel: string;
|
|
10
10
|
swapButtonStyle?: SwapButtonStyle;
|
|
11
11
|
};
|
|
12
|
-
declare const BpkSwapButton: (props: Props) => JSX.Element;
|
|
12
|
+
declare const BpkSwapButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export default BpkSwapButton;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
ariaLabel: string;
|
|
3
|
+
className?: string | null;
|
|
4
|
+
small?: boolean;
|
|
5
|
+
[rest: string]: any;
|
|
6
|
+
};
|
|
7
|
+
declare const BpkSwitch: ({ ariaLabel, className, small, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default BpkSwitch;
|
|
@@ -14,43 +14,30 @@
|
|
|
14
14
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
|
-
*/
|
|
17
|
+
*/
|
|
18
|
+
|
|
18
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
19
20
|
import STYLES from "./BpkSwitch.module.css";
|
|
20
21
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
22
|
const getClassName = cssModules(STYLES);
|
|
22
|
-
const BpkSwitch =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} = props;
|
|
23
|
+
const BpkSwitch = ({
|
|
24
|
+
ariaLabel,
|
|
25
|
+
className = null,
|
|
26
|
+
small = false,
|
|
27
|
+
...rest
|
|
28
|
+
}) => {
|
|
29
29
|
const switchClassNames = getClassName('bpk-switch__switch', small && 'bpk-switch__switch--small');
|
|
30
30
|
return /*#__PURE__*/_jsxs("label", {
|
|
31
31
|
className: getClassName('bpk-switch', className),
|
|
32
32
|
children: [/*#__PURE__*/_jsx("input", {
|
|
33
33
|
type: "checkbox",
|
|
34
34
|
className: getClassName('bpk-switch__checkbox'),
|
|
35
|
-
"aria-label":
|
|
35
|
+
"aria-label": ariaLabel,
|
|
36
36
|
...rest
|
|
37
|
-
}), /*#__PURE__*/_jsx("span", {
|
|
38
|
-
"aria-hidden": true,
|
|
39
|
-
className: getClassName('bpk-switch__label'),
|
|
40
|
-
children: label
|
|
41
37
|
}), /*#__PURE__*/_jsx("span", {
|
|
42
38
|
"aria-hidden": true,
|
|
43
39
|
className: switchClassNames
|
|
44
40
|
})]
|
|
45
41
|
});
|
|
46
42
|
};
|
|
47
|
-
BpkSwitch.propTypes = {
|
|
48
|
-
label: PropTypes.node.isRequired,
|
|
49
|
-
className: PropTypes.string,
|
|
50
|
-
small: PropTypes.bool
|
|
51
|
-
};
|
|
52
|
-
BpkSwitch.defaultProps = {
|
|
53
|
-
className: null,
|
|
54
|
-
small: false
|
|
55
|
-
};
|
|
56
43
|
export default BpkSwitch;
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
.bpk-switch{position:relative;display:flex;align-items:center}.bpk-switch__checkbox{position:absolute;opacity:0}.bpk-switch__checkbox:checked~.bpk-switch__switch{background:#0062e3;background:var(--bpk-switch-checked-color, rgb(0, 98, 227))}.bpk-switch__checkbox:checked~.bpk-switch__switch::before{left:1.375rem}.bpk-
|
|
18
|
+
.bpk-switch{position:relative;display:flex;align-items:center}.bpk-switch__checkbox{position:absolute;opacity:0}.bpk-switch__checkbox:checked~.bpk-switch__switch{background:#0062e3;background:var(--bpk-switch-checked-color, rgb(0, 98, 227))}.bpk-switch__checkbox:checked~.bpk-switch__switch::before{left:1.375rem}.bpk-switch__switch{position:relative;float:right;display:block;min-width:3.25rem;height:2rem;transition:background 200ms linear;border-radius:1rem;background:rgba(0,0,0,.2);cursor:pointer}.bpk-switch__switch::before{position:absolute;top:.125rem;left:.125rem;content:"";display:block;width:1.75rem;height:1.75rem;transition:left 200ms ease-out;border-radius:50%;background:#fff;box-shadow:0px 1px 3px 0px rgba(37,32,31,.3)}.bpk-switch__switch--small{min-width:2.5rem;height:1.25rem}.bpk-switch__switch--small::before{width:1rem;height:1rem}
|
|
@@ -42,5 +42,5 @@ type Props = {
|
|
|
42
42
|
id?: string;
|
|
43
43
|
[rest: string]: any;
|
|
44
44
|
};
|
|
45
|
-
declare const BpkText: ({ children, className, tagName: TagName, textStyle, ...rest }: Props) => JSX.Element;
|
|
45
|
+
declare const BpkText: ({ children, className, tagName: TagName, textStyle, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
46
46
|
export default BpkText;
|