@skyscanner/backpack-web 42.6.0-dev-v24170567962.1 → 42.6.0-dev-v24171492044.1

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.
Files changed (24) hide show
  1. package/bpk-component-checkbox/src/BpkCheckboxV2/BpkCheckboxV2Control.js +1 -1
  2. package/bpk-component-checkbox/src/BpkCheckboxV2/BpkCheckboxV2HiddenInput.js +1 -1
  3. package/bpk-component-checkbox/src/BpkCheckboxV2/BpkCheckboxV2Label.js +1 -1
  4. package/bpk-component-checkbox/src/BpkCheckboxV2/BpkCheckboxV2Root.js +1 -1
  5. package/bpk-component-checkbox-card/src/BpkCheckboxCard.js +1 -1
  6. package/bpk-component-checkbox-card/src/BpkCheckboxCardRoot.js +1 -1
  7. package/bpk-component-layout/src/BpkBox.js +1 -1
  8. package/bpk-component-layout/src/BpkFlex.js +1 -1
  9. package/bpk-component-layout/src/BpkGrid.js +1 -1
  10. package/bpk-component-layout/src/BpkGridItem.js +1 -1
  11. package/bpk-component-layout/src/BpkProvider.js +2 -2
  12. package/bpk-component-layout/src/BpkStack.js +1 -1
  13. package/bpk-component-layout/src/theme.js +1 -1
  14. package/bpk-component-layout/src/types.d.ts +1 -4
  15. package/bpk-component-modal/src/BpkModalV3/BpkModalV3CloseTrigger/BpkModalV3CloseTrigger.js +1 -1
  16. package/bpk-component-modal/src/BpkModalV3/BpkModalV3Content/BpkModalV3Content.js +1 -1
  17. package/bpk-component-modal/src/BpkModalV3/BpkModalV3Description/BpkModalV3Description.js +1 -1
  18. package/bpk-component-modal/src/BpkModalV3/BpkModalV3Portal/BpkModalV3Portal.js +1 -1
  19. package/bpk-component-modal/src/BpkModalV3/BpkModalV3Root/BpkModalV3Root.js +1 -1
  20. package/bpk-component-modal/src/BpkModalV3/BpkModalV3Scrim/BpkModalV3Scrim.js +1 -1
  21. package/bpk-component-modal/src/BpkModalV3/BpkModalV3Title/BpkModalV3Title.js +1 -1
  22. package/bpk-component-modal/src/BpkModalV3/BpkModalV3Trigger/BpkModalV3Trigger.js +1 -1
  23. package/bpk-component-segmented-control/src/BpkSegmentedControlV2/BpkSegmentedControlV2.js +1 -2
  24. package/package.json +1 -2
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Checkbox } from '@ark-ui/react/checkbox';
19
+ import { Checkbox } from '@ark-ui/react';
20
20
  import { cssModules } from "../../../bpk-react-utils";
21
21
  import STYLES from "./BpkCheckboxV2.module.css";
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Checkbox } from '@ark-ui/react/checkbox';
19
+ import { Checkbox } from '@ark-ui/react';
20
20
 
21
21
  // Renders Ark's visually hidden native <input type="checkbox">.
22
22
  // Include when the checkbox is inside a <form> for native form submission.
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Checkbox } from '@ark-ui/react/checkbox';
19
+ import { Checkbox } from '@ark-ui/react';
20
20
  import { cssModules } from "../../../bpk-react-utils";
21
21
  import STYLES from "./BpkCheckboxV2.module.css";
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Checkbox } from '@ark-ui/react/checkbox';
19
+ import { Checkbox } from '@ark-ui/react';
20
20
  import { cssModules, getDataComponentAttribute } from "../../../bpk-react-utils";
21
21
  import STYLES from "./BpkCheckboxV2.module.css";
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { CheckboxHiddenInput } from '@ark-ui/react/checkbox';
19
+ import { CheckboxHiddenInput } from '@ark-ui/react';
20
20
  import { withButtonAlignment } from "../../bpk-component-icon";
21
21
  import TickCircleIcon from "../../bpk-component-icon/sm/tick-circle";
22
22
  import { BpkSpinner, SPINNER_TYPES } from "../../bpk-component-spinner";
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { useMemo } from 'react';
20
- import { CheckboxRoot } from '@ark-ui/react/checkbox';
20
+ import { CheckboxRoot } from '@ark-ui/react';
21
21
  import { withButtonAlignment } from "../../bpk-component-icon";
22
22
  import TickCircleIcon from "../../bpk-component-icon/sm/tick-circle";
23
23
  import { cssModules } from "../../bpk-react-utils";
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { forwardRef } from 'react';
20
- import { Box } from '@chakra-ui/react/box';
20
+ import { Box } from '@chakra-ui/react';
21
21
  import { cssModules, getDataComponentAttribute } from "../../bpk-react-utils";
22
22
  import { processBpkComponentProps } from "./tokenUtils";
23
23
  import STYLES from "./BpkLayout.module.css";
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { forwardRef } from 'react';
20
- import { Flex } from '@chakra-ui/react/flex';
20
+ import { Flex } from '@chakra-ui/react';
21
21
  import { cssModules, getDataComponentAttribute } from "../../bpk-react-utils";
22
22
  import { processBpkComponentProps } from "./tokenUtils";
23
23
  import STYLES from "./BpkLayout.module.css";
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { forwardRef } from 'react';
20
- import { Grid } from '@chakra-ui/react/grid';
20
+ import { Grid } from '@chakra-ui/react';
21
21
  import { cssModules, getDataComponentAttribute } from "../../bpk-react-utils";
22
22
  import { processBpkComponentProps } from "./tokenUtils";
23
23
  import STYLES from "./BpkLayout.module.css";
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { forwardRef } from 'react';
20
- import { GridItem } from '@chakra-ui/react/grid';
20
+ import { GridItem } from '@chakra-ui/react';
21
21
  import { cssModules, getDataComponentAttribute } from "../../bpk-react-utils";
22
22
  import { processBpkComponentProps } from "./tokenUtils";
23
23
  import STYLES from "./BpkLayout.module.css";
@@ -17,8 +17,8 @@
17
17
  */
18
18
 
19
19
  import { useEffect, useState } from 'react';
20
- import { LocaleProvider } from '@ark-ui/react/locale';
21
- import { ChakraProvider, createSystem } from '@chakra-ui/react/styled-system';
20
+ import { LocaleProvider } from '@ark-ui/react';
21
+ import { ChakraProvider, createSystem } from '@chakra-ui/react';
22
22
  import { createBpkConfig } from "./theme";
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  /**
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { forwardRef } from 'react';
20
- import { Stack, VStack, HStack } from '@chakra-ui/react/stack';
20
+ import { Stack, VStack, HStack } from '@chakra-ui/react';
21
21
  import { cssModules, getDataComponentAttribute } from "../../bpk-react-utils";
22
22
  import { processBpkComponentProps } from "./tokenUtils";
23
23
  import STYLES from "./BpkLayout.module.css";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { defineConfig } from '@chakra-ui/react/styled-system';
19
+ import { defineConfig } from '@chakra-ui/react';
20
20
 
21
21
  // Named imports from Backpack foundations — only the tokens actually used.
22
22
  // This enables tree-shaking of the full foundations module.
@@ -2,10 +2,7 @@ import type { HTMLAttributes, ReactNode } from 'react';
2
2
  import type StackOptionKeys from './BpkStack.constant';
3
3
  import type { BpkCommonLayoutProps } from './commonProps';
4
4
  import type { BpkSpacingValue, BpkResponsiveValue, BpkBasisValue } from './tokens';
5
- import type { BoxProps } from '@chakra-ui/react/box';
6
- import type { FlexProps } from '@chakra-ui/react/flex';
7
- import type { GridProps, GridItemProps } from '@chakra-ui/react/grid';
8
- import type { StackProps } from '@chakra-ui/react/stack';
5
+ import type { BoxProps, FlexProps, GridProps, GridItemProps, StackProps } from '@chakra-ui/react';
9
6
  /**
10
7
  * Layout-level event props that should not be exposed on layout components.
11
8
  * onClick is handled via BpkCommonLayoutProps; onFocus/onBlur are reintroduced
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Dialog } from '@ark-ui/react/dialog';
19
+ import { Dialog } from '@ark-ui/react';
20
20
 
21
21
  // @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
22
22
  import BpkCloseButton from "../../../../bpk-component-close-button";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Dialog } from '@ark-ui/react/dialog';
19
+ import { Dialog } from '@ark-ui/react';
20
20
  import { cssModules, getDataComponentAttribute } from "../../../../bpk-react-utils";
21
21
  import { useModalType } from "../BpkModalV3Context";
22
22
  import STYLES from "./BpkModalV3Content.module.css";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Dialog } from '@ark-ui/react/dialog';
19
+ import { Dialog } from '@ark-ui/react';
20
20
  import { getDataComponentAttribute } from "../../../../bpk-react-utils";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const BpkModalV3Description = ({
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Portal } from '@ark-ui/react/portal';
19
+ import { Portal } from '@ark-ui/react';
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  const BpkModalV3Portal = ({
22
22
  children
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { useEffect, useState } from 'react';
20
- import { Dialog } from '@ark-ui/react/dialog';
20
+ import { Dialog } from '@ark-ui/react';
21
21
  import { durationBase } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
22
22
  import { getDataComponentAttribute, useBodyLock } from "../../../../bpk-react-utils";
23
23
  import { ModalTypeProvider } from "../BpkModalV3Context";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Dialog } from '@ark-ui/react/dialog';
19
+ import { Dialog } from '@ark-ui/react';
20
20
  import { cssModules, getDataComponentAttribute } from "../../../../bpk-react-utils";
21
21
  import { useModalType } from "../BpkModalV3Context";
22
22
  import STYLES from "./BpkModalV3Scrim.module.css";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Dialog } from '@ark-ui/react/dialog';
19
+ import { Dialog } from '@ark-ui/react';
20
20
  import { cssModules, getDataComponentAttribute } from "../../../../bpk-react-utils";
21
21
  import STYLES from "./BpkModalV3Title.module.css";
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- import { Dialog } from '@ark-ui/react/dialog';
19
+ import { Dialog } from '@ark-ui/react';
20
20
  import { getDataComponentAttribute } from "../../../../bpk-react-utils";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const BpkModalV3Trigger = ({
@@ -17,8 +17,7 @@
17
17
  */
18
18
 
19
19
  import { useRef } from 'react';
20
- import { useLocaleContext } from '@ark-ui/react/locale';
21
- import { SegmentGroup } from '@ark-ui/react/segment-group';
20
+ import { SegmentGroup, useLocaleContext } from '@ark-ui/react';
22
21
  import { cssModules, getDataComponentAttribute } from "../../../bpk-react-utils";
23
22
  import { SEGMENT_TYPES_V2 } from "./common-types";
24
23
  import STYLES from "./BpkSegmentedControlV2.module.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/backpack-web",
3
- "version": "42.6.0-dev-v24170567962.1",
3
+ "version": "42.6.0-dev-v24171492044.1",
4
4
  "description": "Backpack Design System web library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,6 @@
17
17
  "url": "https://github.com/Skyscanner/backpack/issues"
18
18
  },
19
19
  "homepage": "https://github.com/Skyscanner/backpack#readme",
20
- "sideEffects": false,
21
20
  "publishConfig": {
22
21
  "registry": "https://registry.npmjs.org/",
23
22
  "access": "public"