Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump css-loader from 6.10.0 to 7.1.2 #3629

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion @types/scss.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@

declare module '*.scss' {
declare const styles: { [className: string]: string };
export default styles;
export = styles;
}
2 changes: 1 addition & 1 deletion examples/bpk-component-aria-live/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import BpkSelect from '../../packages/bpk-component-select';
import BpkSwitch from '../../packages/bpk-component-switch';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-badge/BadgeLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import type { Node } from 'react';

import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './BpkBadgeLayout.module.scss';
import * as STYLES from './BpkBadgeLayout.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-banner-alert/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { cssModules } from '../../packages/bpk-react-utils';
import { AriaLiveDemo } from '../bpk-component-aria-live/examples';
import { action } from '../bpk-storybook-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-barchart/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { cssModules, withDefaultProps } from '../../packages/bpk-react-utils';

import { withSelectedState } from './hocs';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-bottom-sheet/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { action } from '../bpk-storybook-utils';

import type { BpkBottomSheetProps } from '../../packages/bpk-component-bottom-sheet';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-breakpoint/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import BpkBreakpoint, {
} from '../../packages/bpk-component-breakpoint';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-button/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
} from '../bpk-storybook-utils';

import STYLES from './BpkButtonStory.module.scss';
import * as STYLES from './BpkButtonStory.module.scss';

const AlignedSmallLongArrowRightIcon = withButtonAlignment(
withRtlSupport(SmallLongArrowRightIcon),
Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-button/examplesv1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
} from '../bpk-storybook-utils';

import STYLES from './BpkButtonStory.module.scss';
import * as STYLES from './BpkButtonStory.module.scss';

const AlignedSmallLongArrowRightIcon = withButtonAlignment(
withRtlSupport(SmallLongArrowRightIcon),
Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-card/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import BpkCard, {
import BpkText, { TEXT_STYLES } from '../../packages/bpk-component-text';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-chip-group/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import type {
ChipItem,
SingleSelectProps} from '../../packages/bpk-component-chip-group';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-chip/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import BpkText, { TEXT_STYLES } from '../../packages/bpk-component-text';
import { cssModules } from '../../packages/bpk-react-utils';
import { AriaLiveDemo } from '../bpk-component-aria-live/examples';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-datepicker/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import BpkInput, { withOpenEvents } from '../../packages/bpk-component-input';
import { cssModules } from '../../packages/bpk-react-utils';
import { action } from '../bpk-storybook-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-dialog/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import TrashIcon from '../../packages/bpk-component-icon/lg/trash';
import BpkText, { TEXT_STYLES } from '../../packages/bpk-component-text';
import { cssModules, withDefaultProps } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-drawer/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import BpkDrawer from '../../packages/bpk-component-drawer';
import BpkText, { TEXT_STYLES } from '../../packages/bpk-component-text';
import { cssModules, withDefaultProps } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-fieldset/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import { cssModules } from '../../packages/bpk-react-utils';
import { action } from '../bpk-storybook-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down Expand Up @@ -138,7 +138,7 @@
}

onChange = (
e: SyntheticInputEvent<HTMLElement>,

Check warning on line 141 in examples/bpk-component-fieldset/examples.js

View workflow job for this annotation

GitHub Actions / Build / Build

'SyntheticInputEvent' is not defined
{ newValue }: { newValue: string },
) => {
this.setState({
Expand Down Expand Up @@ -195,7 +195,7 @@
}

type FieldsetProps = {
...$Exact<BpkFieldsetProps>,

Check warning on line 198 in examples/bpk-component-fieldset/examples.js

View workflow job for this annotation

GitHub Actions / Build / Build

'$Exact' is not defined
validStates: Array<mixed>,
};

Expand Down Expand Up @@ -229,7 +229,7 @@
};
}

onChange = (e: SyntheticInputEvent<HTMLElement>) => {

Check warning on line 232 in examples/bpk-component-fieldset/examples.js

View workflow job for this annotation

GitHub Actions / Build / Build

'SyntheticInputEvent' is not defined
this.setState({
value: e.target.value,
checked: e.target.checked,
Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-flare/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
import BpkText, { TEXT_STYLES } from '../../packages/bpk-component-text';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-form-validation/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import BpkSelect from '../../packages/bpk-component-select';
import BpkTextarea from '../../packages/bpk-component-textarea';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-graphic-promotion/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import BpkGraphicPromo, {
} from '../../packages/bpk-component-graphic-promotion';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const contentId = 'graphic-promo-content';
const getClassName = cssModules(STYLES);
Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-horizontal-nav/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import BpkText from '../../packages/bpk-component-text';
import { cssModules } from '../../packages/bpk-react-utils';
import { BpkDarkExampleWrapper } from '../bpk-storybook-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-infinite-scroll/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
import { cssModules } from '../../packages/bpk-react-utils';
import { action } from '../bpk-storybook-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-info-banner/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import { AriaLiveDemo } from '../bpk-component-aria-live/examples';
import { action } from '../bpk-storybook-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down Expand Up @@ -197,7 +197,7 @@
<BpkInfoBannerExpandableState
message="Success alert"
type={ALERT_TYPES.SUCCESS}
action={{title: "Sample Action", callback: () => alert('Hello from action')}}

Check warning on line 200 in examples/bpk-component-info-banner/examples.js

View workflow job for this annotation

GitHub Actions / Build / Build

Unexpected alert
toggleButtonLabel="View more"
>
{longMessage}
Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-input/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import BpkLabel from '../../packages/bpk-component-label';
import { cssModules } from '../../packages/bpk-react-utils';
import { action } from '../bpk-storybook-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-loading-button/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
BpkDarkExampleWrapper,
} from '../bpk-storybook-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-mobile-scroll-container/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import BpkMobileScrollContainer from '../../packages/bpk-component-mobile-scroll-container';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-modal-v2/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { cssModules, withDefaultProps } from '../../packages/bpk-react-utils';

import type { Props as BpkModalProps } from '../../packages/bpk-component-modal/src/BpkModalV2/BpkModal';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-modal/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { BpkNavigationBarButtonLink } from '../../packages/bpk-component-navigat
import BpkText, { TEXT_STYLES } from '../../packages/bpk-component-text';
import { cssModules, withDefaultProps } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const ArrowIconWithRtl = withAlignment(
withRtlSupport(ArrowIcon),
Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-navigation-bar/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { action } from '../bpk-storybook-utils';

import AirlineLogo from './AirlineLogo';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassNames = cssModules(STYLES);
const ArrowIconWithRtl = withRtlSupport(ArrowIcon);
Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-navigation-tab-group/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { cssModules } from '../../packages/bpk-react-utils';

import type { BpkNavigationTabGroupProps } from '../../packages/bpk-component-navigation-tab-group';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassNames = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-nudger/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {
BpkDarkExampleWrapper,
} from '../bpk-storybook-utils';

import STYLES from './BpkNudgerStory.module.scss';
import * as STYLES from './BpkNudgerStory.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-overlay/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import BpkOverlay, {
import BpkText, { TEXT_STYLES } from '../../packages/bpk-component-text';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const IMAGE_SRC =
'https://content.skyscnr.com/m/1c8c6338a92a7a94/original/matt-hardy-6ArTTluciuA-unsplash.jpg';
Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-page-indicator/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import BpkPageIndicator, {
} from '../../packages/bpk-component-page-indicator';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-popover/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import BpkPopover from '../../packages/bpk-component-popover';
import BpkText, { TEXT_STYLES } from '../../packages/bpk-component-text';
import { cssModules, withDefaultProps } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-progress/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import BpkButton from '../../packages/bpk-component-button';
import BpkProgress from '../../packages/bpk-component-progress';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-rating/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import BpkRating, {
import BpkStarRating from '../../packages/bpk-component-star-rating';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-section-header/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import BpkSectionHeader, {
} from '../../packages/bpk-component-section-header';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-skeleton/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import BpkSkeleton, {
} from '../../packages/bpk-component-skeleton';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-spinner/SpinnerLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Children } from 'react';
import { SPINNER_TYPES } from '../../packages/bpk-component-spinner';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './SpinnerLayout.module.scss';
import * as STYLES from './SpinnerLayout.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-component-ticket/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import ArrowRightIcon from '../../packages/bpk-component-icon/sm/long-arrow-righ
import BpkTicket from '../../packages/bpk-component-ticket';
import { cssModules } from '../../packages/bpk-react-utils';

import STYLES from './examples.module.scss';
import * as STYLES from './examples.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-scrim-utils/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { BpkButtonV2 } from '../../packages/bpk-component-button';
import { cssModules } from '../../packages/bpk-react-utils';
import { withScrimmedPortal } from '../../packages/bpk-scrim-utils';

import STYLES from './examples.scss';
import * as STYLES from './examples.scss';

const getClassName = cssModules(STYLES);

Expand Down
2 changes: 1 addition & 1 deletion examples/bpk-storybook-utils/src/BpkDarkExampleWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { cssModules } from '../../../packages/bpk-react-utils';

import STYLES from './BpkDarkExampleWrapper.module.scss';
import * as STYLES from './BpkDarkExampleWrapper.module.scss';

const getClassName = cssModules(STYLES);

Expand Down
Loading
Loading