@sonic-equipment/ui 0.0.100 → 0.0.101

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/dist/index.js CHANGED
@@ -1523,8 +1523,10 @@ function SpinnerState({ isDisabled, onChange, onManualInput, quantity, }) {
1523
1523
  function ManualInputState({ isDisabled, onCancel, onConfirm, quantity, }) {
1524
1524
  const [updatedQuantity, setQuantity] = useState(quantity);
1525
1525
  const onKeyUp = (e) => {
1526
- e.key === 'Enter' && onConfirm(ensureNumber(updatedQuantity));
1527
- e.key === 'Escape' && onCancel();
1526
+ if (e.key === 'Enter')
1527
+ onConfirm(ensureNumber(updatedQuantity));
1528
+ if (e.key === 'Escape')
1529
+ onCancel();
1528
1530
  };
1529
1531
  return (jsxs("div", { className: styles$11['manual-input-container'], children: [jsx("div", { className: styles$11['left-button-spacer'] }), jsx(NumberField, { autoFocus: true, autoGrow: true, defaultValue: quantity ? ensureNumber(quantity) : undefined, formatOptions: {
1530
1532
  maximumFractionDigits: 0,
@@ -7815,19 +7817,18 @@ async function fetchCountriesLanguages() {
7815
7817
  languages: body.languages?.languages || [],
7816
7818
  };
7817
7819
  }
7818
- async function updateLanguageById({ languageId, }) {
7820
+ async function updateLocale({ countryId, languageId, }) {
7819
7821
  const { body } = await request({
7820
7822
  body: JSON.stringify({
7821
- language: {
7822
- id: languageId,
7823
- },
7823
+ countryId,
7824
+ languageId,
7824
7825
  }),
7825
7826
  credentials: 'include',
7826
7827
  headers: {
7827
7828
  'Content-Type': 'application/json',
7828
7829
  },
7829
- method: 'PATCH',
7830
- url: `${config.SHOP_API_URL}/api/v1/sessions/current`,
7830
+ method: 'POST',
7831
+ url: `${config.SHOP_API_URL}/api/v1/locale`,
7831
7832
  });
7832
7833
  return body;
7833
7834
  }
@@ -7869,18 +7870,6 @@ function useFetchCountriesLanguages({ enabled = true, } = { enabled: true }) {
7869
7870
  });
7870
7871
  }
7871
7872
 
7872
- function useUpdateLanguageById() {
7873
- const queryClient = useQueryClient();
7874
- return useMutation({
7875
- mutationFn: async (languageId) => {
7876
- const session = await updateLanguageById({ languageId });
7877
- // Update the session query cache
7878
- queryClient.setQueryData(['session'], session);
7879
- return session;
7880
- },
7881
- });
7882
- }
7883
-
7884
7873
  function useCookie(name, options) {
7885
7874
  const cookieValue = Cookies.get()[name];
7886
7875
  const [stateValue, setStateValue] = useState(cookieValue);
@@ -7924,13 +7913,12 @@ const cookieOptions = {
7924
7913
  };
7925
7914
  function useCountriesLanguages({ defaultCountryCode, defaultLanguageCode, }) {
7926
7915
  const [sessionCountries, setSessionCountries] = useSessionStorage('countries-v1');
7927
- const [currentCountryId, setCurrentCountryId] = useCookie('CurrentCountryId', cookieOptions);
7928
- const [currentLanguageId, setCurrentLanguageId] = useCookie('CurrentLanguageId', cookieOptions);
7929
- const [contextLanguageCode, setContextLanguageCode] = useCookie('SetContextLanguageCode', cookieOptions);
7916
+ const [currentCountryId] = useCookie('CurrentCountryId', cookieOptions);
7917
+ const [currentLanguageId] = useCookie('CurrentLanguageId', cookieOptions);
7918
+ const [contextLanguageCode] = useCookie('SetContextLanguageCode', cookieOptions);
7930
7919
  const { data: apiCountries, error, isFetching, } = useFetchCountriesLanguages({
7931
7920
  enabled: !sessionCountries,
7932
7921
  });
7933
- const { mutate: updateLanguageById } = useUpdateLanguageById();
7934
7922
  const countries = sessionCountries ?? apiCountries;
7935
7923
  useEffect(() => {
7936
7924
  if (sessionCountries)
@@ -7938,11 +7926,8 @@ function useCountriesLanguages({ defaultCountryCode, defaultLanguageCode, }) {
7938
7926
  setSessionCountries(apiCountries);
7939
7927
  // eslint-disable-next-line react-hooks/exhaustive-deps
7940
7928
  }, [apiCountries]);
7941
- function updateCountryLanguage({ country, language, }) {
7942
- setCurrentCountryId(country.id);
7943
- setCurrentLanguageId(language.id);
7944
- setContextLanguageCode(language.languageCode);
7945
- updateLanguageById(language.id);
7929
+ async function updateCountryLanguage({ country, language, }) {
7930
+ await updateLocale({ countryId: country.id, languageId: language.id });
7946
7931
  }
7947
7932
  if (error)
7948
7933
  throw error;
@@ -7994,8 +7979,8 @@ function CountrySelector({ defaultCountryCode, defaultLanguageCode, onChange, sh
7994
7979
  }, [selectedCountry, selectedLanguage]);
7995
7980
  if (isFetching)
7996
7981
  return null;
7997
- return (jsxs(Fragment, { children: [jsx(CountrySelectorTrigger, { onClick: open, selectedCountry: selectedCountry, selectedLanguage: selectedLanguage, showCountry: showCountry }), jsx(CountrySelectorDialog, { countries: countries, isOpen: isOpen, onSubmit: args => {
7998
- updateCountryLanguage(args);
7982
+ return (jsxs(Fragment, { children: [jsx(CountrySelectorTrigger, { onClick: open, selectedCountry: selectedCountry, selectedLanguage: selectedLanguage, showCountry: showCountry }), jsx(CountrySelectorDialog, { countries: countries, isOpen: isOpen, onSubmit: async (args) => {
7983
+ await updateCountryLanguage(args);
7999
7984
  close();
8000
7985
  onChange?.(args);
8001
7986
  }, selectedCountry: selectedCountry || defaultCountry, selectedLanguage: selectedLanguage || defaultLanguage, showCountry: showCountry })] }));
@@ -10463,14 +10448,14 @@ function ProductHitCard({ autocomplete, hit, index, source, }) {
10463
10448
  queryId: hit.queryId,
10464
10449
  }), onClick: () => {
10465
10450
  close();
10466
- hit.queryId &&
10451
+ if (hit.queryId)
10467
10452
  sendProductClickFromSearchEvent({
10468
10453
  objectId: hit.objectId,
10469
10454
  position: hit.position || index + 1,
10470
10455
  queryId: hit.queryId,
10471
10456
  });
10472
10457
  }, onFavoriting: () => {
10473
- hit.queryId &&
10458
+ if (hit.queryId)
10474
10459
  sendAddToWishListFromSearchEvent({
10475
10460
  objectId: hit.objectId,
10476
10461
  position: hit.position || index + 1,
@@ -1,20 +1,6 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { AddToCartButton } from './add-to-cart-button';
3
- declare const meta: {
4
- argTypes: {
5
- isDisabled: {
6
- control: "boolean";
7
- };
8
- };
9
- args: {
10
- isDisabled: false;
11
- onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
12
- quantity: number;
13
- };
14
- component: typeof AddToCartButton;
15
- tags: string[];
16
- title: string;
17
- };
3
+ declare const meta: Meta<typeof AddToCartButton>;
18
4
  export default meta;
19
5
  type Story = StoryObj<typeof meta>;
20
6
  export declare const InitialState: Story;
@@ -1,17 +1,6 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { Button } from './button';
3
- declare const meta: {
4
- args: {
5
- onClick: import("@vitest/spy").Mock<(...args: any[]) => any>;
6
- size: "lg";
7
- };
8
- component: typeof Button;
9
- parameters: {
10
- layout: string;
11
- };
12
- tags: string[];
13
- title: string;
14
- };
3
+ declare const meta: Meta<typeof Button>;
15
4
  export default meta;
16
5
  type Story = StoryObj<typeof meta>;
17
6
  export declare const Solid: Story;
@@ -1,16 +1,6 @@
1
- import { StoryObj } from '@storybook/react';
1
+ import { Meta, StoryObj } from '@storybook/react';
2
2
  import { FavoriteButton } from './favorite-button';
3
- declare const meta: {
4
- args: {
5
- onPress: import("@vitest/spy").Mock<(...args: any[]) => any>;
6
- };
7
- component: typeof FavoriteButton;
8
- parameters: {
9
- layout: string;
10
- };
11
- tags: string[];
12
- title: string;
13
- };
3
+ declare const meta: Meta<typeof FavoriteButton>;
14
4
  export default meta;
15
5
  type Story = StoryObj<typeof meta>;
16
6
  export declare const InFavorites: Story;
@@ -1,16 +1,6 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { IconButton } from './icon-button';
3
- declare const meta: {
4
- args: {
5
- onClick: import("@vitest/spy").Mock<(...args: any[]) => any>;
6
- };
7
- component: typeof IconButton;
8
- parameters: {
9
- layout: string;
10
- };
11
- tags: string[];
12
- title: string;
13
- };
3
+ declare const meta: Meta<typeof IconButton>;
14
4
  export default meta;
15
5
  type Story = StoryObj<typeof meta>;
16
6
  export declare const Primary: Story;
@@ -1,16 +1,6 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { Link } from './link';
3
- declare const meta: {
4
- args: {
5
- onClick: import("@vitest/spy").Mock<(...args: any[]) => any>;
6
- };
7
- component: typeof Link;
8
- parameters: {
9
- layout: string;
10
- };
11
- tags: string[];
12
- title: string;
13
- };
3
+ declare const meta: Meta<typeof Link>;
14
4
  export default meta;
15
5
  type Story = StoryObj<typeof meta>;
16
6
  export declare const Default: Story;
@@ -1,16 +1,6 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
- import { ShowAll, ShowAllPropsControlled, ShowAllPropsUncontrolled } from './show-all';
3
- declare const meta: {
4
- args: {
5
- onToggle: import("@vitest/spy").Mock<(...args: any[]) => any>;
6
- };
7
- component: typeof ShowAll;
8
- parameters: {
9
- layout: string;
10
- };
11
- tags: string[];
12
- title: string;
13
- };
2
+ import { ShowAllPropsControlled, ShowAllPropsUncontrolled } from './show-all';
3
+ declare const meta: Meta<ShowAllPropsControlled>;
14
4
  export default meta;
15
5
  type Story = StoryObj<Meta<ShowAllPropsControlled>>;
16
6
  export declare const Text: Story;
@@ -13,7 +13,7 @@ interface UseCountriesLanguagesReturnTypeFetching {
13
13
  updateCountryLanguage(args: {
14
14
  country: Country;
15
15
  language: Language;
16
- }): void;
16
+ }): Promise<void>;
17
17
  }
18
18
  interface UseCountriesLanguagesReturnTypeSelected {
19
19
  countries: CountriesLanguages;
@@ -25,7 +25,7 @@ interface UseCountriesLanguagesReturnTypeSelected {
25
25
  updateCountryLanguage(args: {
26
26
  country: Country;
27
27
  language: Language;
28
- }): void;
28
+ }): Promise<void>;
29
29
  }
30
30
  interface UseCountriesLanguagesReturnType {
31
31
  countries: CountriesLanguages;
@@ -37,7 +37,7 @@ interface UseCountriesLanguagesReturnType {
37
37
  updateCountryLanguage(args: {
38
38
  country: Country;
39
39
  language: Language;
40
- }): void;
40
+ }): Promise<void>;
41
41
  }
42
42
  export declare function useCountriesLanguages({ defaultCountryCode, defaultLanguageCode, }: UseCountriesLanguagesArgs): UseCountriesLanguagesReturnType | UseCountriesLanguagesReturnTypeFetching | UseCountriesLanguagesReturnTypeSelected;
43
43
  export {};
@@ -1,16 +1,6 @@
1
- import type { StoryObj } from '@storybook/react';
2
- declare const meta: {
3
- args: {
4
- onClearAllFilters: import("@vitest/spy").Mock<(...args: any[]) => any>;
5
- onClearFilter: import("@vitest/spy").Mock<(...args: any[]) => any>;
6
- };
7
- component: ({ onClearAllFilters, onClearFilter, selectedFilterCategories, }: import("./active-filters").ActiveFiltersProps) => import("react/jsx-runtime").JSX.Element | null;
8
- parameters: {
9
- layout: string;
10
- };
11
- tags: string[];
12
- title: string;
13
- };
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { ActiveFilters } from './active-filters';
3
+ declare const meta: Meta<typeof ActiveFilters>;
14
4
  export default meta;
15
5
  type Story = StoryObj<typeof meta>;
16
6
  export declare const Default: Story;
@@ -1,19 +1,9 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { FilterOption, MultiSelect, MultiSelectProps } from './multi-select';
3
3
  type ColorFilterOption = FilterOption & {
4
4
  color: string;
5
5
  };
6
- declare const meta: {
7
- args: {
8
- onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
9
- };
10
- component: typeof MultiSelect;
11
- parameters: {
12
- layout: string;
13
- };
14
- tags: string[];
15
- title: string;
16
- };
6
+ declare const meta: Meta<typeof MultiSelect>;
17
7
  export default meta;
18
8
  type Story = StoryObj<typeof meta>;
19
9
  export declare const WithCheckboxes: Story;
@@ -1,18 +1,6 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { Pagination } from './pagination';
3
- declare const meta: {
4
- args: {
5
- currentPage: number;
6
- onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
7
- totalPages: number;
8
- };
9
- component: typeof Pagination;
10
- parameters: {
11
- layout: string;
12
- };
13
- tags: string[];
14
- title: string;
15
- };
3
+ declare const meta: Meta<typeof Pagination>;
16
4
  export default meta;
17
5
  type Story = StoryObj<typeof Pagination>;
18
6
  export declare const Default: Story;
@@ -1,16 +1,6 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { Checkbox } from './checkbox';
3
- declare const meta: {
4
- args: {
5
- onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
6
- };
7
- component: typeof Checkbox;
8
- parameters: {
9
- layout: string;
10
- };
11
- tags: string[];
12
- title: string;
13
- };
3
+ declare const meta: Meta<typeof Checkbox>;
14
4
  export default meta;
15
5
  type Story = StoryObj<typeof Checkbox>;
16
6
  export declare const Unchecked: Story;
@@ -1,16 +1,6 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { ColorCheckbox } from './color-checkbox';
3
- declare const meta: {
4
- args: {
5
- onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
6
- };
7
- component: typeof ColorCheckbox;
8
- parameters: {
9
- layout: string;
10
- };
11
- tags: string[];
12
- title: string;
13
- };
3
+ declare const meta: Meta<typeof ColorCheckbox>;
14
4
  export default meta;
15
5
  type Story = StoryObj<typeof ColorCheckbox>;
16
6
  export declare const Checked: Story;
@@ -1,4 +1,4 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
2
  import { Select } from './select';
3
3
  declare const options: {
4
4
  readonly new: "New";
@@ -7,17 +7,7 @@ declare const options: {
7
7
  readonly price_desc: "Price: High - Low";
8
8
  readonly recommended: "Recommended";
9
9
  };
10
- declare const meta: {
11
- args: {
12
- onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
13
- };
14
- component: typeof Select;
15
- parameters: {
16
- layout: string;
17
- };
18
- tags: string[];
19
- title: string;
20
- };
10
+ declare const meta: Meta<typeof Select>;
21
11
  export default meta;
22
12
  type Story = StoryObj<typeof Select>;
23
13
  export declare const WithLabel: Story;
@@ -0,0 +1,5 @@
1
+ import { SessionModel } from 'shared/api/storefront/model/shop.model';
2
+ export declare function useUpdateLocale(): import("@tanstack/react-query").UseMutationResult<SessionModel, Error, {
3
+ countryId: string;
4
+ languageId: string;
5
+ }, unknown>;
@@ -4,6 +4,7 @@ export declare function fetchCountriesLanguages(): Promise<{
4
4
  countries: CountryModel[];
5
5
  languages: LanguageModel[];
6
6
  }>;
7
- export declare function updateLanguageById({ languageId, }: {
7
+ export declare function updateLocale({ countryId, languageId, }: {
8
+ countryId: string;
8
9
  languageId: string;
9
10
  }): Promise<SessionModel>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "0.0.100",
3
+ "version": "0.0.101",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -15,7 +15,10 @@
15
15
  "default": "./dist/index.js"
16
16
  }
17
17
  },
18
- "files": ["dist", "README.md"],
18
+ "files": [
19
+ "dist",
20
+ "README.md"
21
+ ],
19
22
  "main": "dist/index.js",
20
23
  "types": "./dist/index.d.ts",
21
24
  "scripts": {
@@ -50,93 +53,93 @@
50
53
  "react-instantsearch-core": "^7"
51
54
  },
52
55
  "devDependencies": {
53
- "@chromatic-com/storybook": "^1.6.1",
54
- "@csstools/postcss-global-data": "^2.1.1",
55
- "@rollup/plugin-alias": "^5.1.0",
56
- "@rollup/plugin-commonjs": "^26.0.1",
57
- "@rollup/plugin-node-resolve": "^15.2.3",
58
- "@rollup/plugin-replace": "^5.0.7",
59
- "@rollup/plugin-typescript": "^11.1.6",
60
- "@storybook/addon-docs": "^8.2.2",
61
- "@storybook/addon-essentials": "^8.2.2",
62
- "@storybook/addon-interactions": "^8.2.2",
63
- "@storybook/addon-links": "^8.2.2",
64
- "@storybook/addon-viewport": "^8.2.2",
65
- "@storybook/blocks": "^8.2.2",
66
- "@storybook/preview-api": "^8.2.2",
67
- "@storybook/react": "^8.2.2",
68
- "@storybook/react-vite": "^8.2.2",
69
- "@storybook/test": "^8.2.2",
56
+ "@chromatic-com/storybook": "^3.2.2",
57
+ "@csstools/postcss-global-data": "^3.0.0",
58
+ "@rollup/plugin-alias": "^5.1.1",
59
+ "@rollup/plugin-commonjs": "^28.0.1",
60
+ "@rollup/plugin-node-resolve": "^15.3.0",
61
+ "@rollup/plugin-replace": "^6.0.1",
62
+ "@rollup/plugin-typescript": "^12.1.1",
63
+ "@storybook/addon-docs": "^8.4.2",
64
+ "@storybook/addon-essentials": "^8.4.2",
65
+ "@storybook/addon-interactions": "^8.4.2",
66
+ "@storybook/addon-links": "^8.4.2",
67
+ "@storybook/addon-viewport": "^8.4.2",
68
+ "@storybook/blocks": "^8.4.2",
69
+ "@storybook/preview-api": "^8.4.2",
70
+ "@storybook/react": "^8.4.2",
71
+ "@storybook/react-vite": "^8.4.2",
72
+ "@storybook/test": "^8.4.2",
70
73
  "@types/js-cookie": "^3.0.6",
71
- "@types/react": "^18.3.3",
72
- "@types/react-dom": "^18.3.0",
73
- "@typescript-eslint/eslint-plugin": "^7.16.0",
74
- "@typescript-eslint/parser": "^7.16.0",
75
- "@vitejs/plugin-react": "^4.3.1",
76
- "autoprefixer": "^10.4.19",
77
- "concurrently": "^8.2.2",
74
+ "@types/node": "^22.9.0",
75
+ "@types/react": "^18.3.12",
76
+ "@types/react-dom": "^18.3.1",
77
+ "@typescript-eslint/eslint-plugin": "^8.13.0",
78
+ "@typescript-eslint/parser": "^8.13.0",
79
+ "@vitejs/plugin-react": "^4.3.3",
80
+ "autoprefixer": "^10.4.20",
81
+ "concurrently": "^9.1.0",
78
82
  "eslint": "^8.57.0",
79
83
  "eslint-config-prettier": "^9.1.0",
80
- "eslint-import-resolver-typescript": "^3.6.1",
81
- "eslint-plugin-import": "^2.29.1",
84
+ "eslint-import-resolver-typescript": "^3.6.3",
85
+ "eslint-plugin-import": "^2.31.0",
82
86
  "eslint-plugin-mdx": "^3.1.5",
83
87
  "eslint-plugin-no-relative-import-paths": "^1.5.5",
84
- "eslint-plugin-prettier": "^5.1.3",
85
- "eslint-plugin-react": "7.34.4",
86
- "eslint-plugin-react-hooks": "^4.6.2",
88
+ "eslint-plugin-prettier": "^5.2.1",
89
+ "eslint-plugin-react": "7.37.2",
90
+ "eslint-plugin-react-hooks": "^5.0.0",
87
91
  "eslint-plugin-simple-import-sort": "^12.1.1",
88
92
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
89
93
  "eslint-plugin-sort-keys-fix": "^1.1.2",
90
- "eslint-plugin-storybook": "^0.8.0",
91
- "eslint-plugin-typescript-sort-keys": "^3.2.0",
92
- "eslint-plugin-unused-imports": "^3.2.0",
94
+ "eslint-plugin-storybook": "^0.11.0",
95
+ "eslint-plugin-typescript-sort-keys": "^3.3.0",
96
+ "eslint-plugin-unused-imports": "^4.1.4",
93
97
  "http-server": "^14.1.1",
94
- "husky": "^9.0.11",
95
- "instantsearch.js": "^4.73.1",
96
- "nodemon": "^3.1.4",
97
- "postcss": "^8.4.39",
98
- "postcss-custom-media": "^10.0.8",
98
+ "husky": "^9.1.6",
99
+ "instantsearch.js": "^4.75.4",
100
+ "nodemon": "^3.1.7",
101
+ "postcss": "^8.4.47",
102
+ "postcss-custom-media": "^11.0.5",
99
103
  "postcss-import": "^16.1.0",
100
- "postcss-nested": "^6.0.1",
104
+ "postcss-nested": "^7.0.2",
101
105
  "react": "^18.3.1",
102
106
  "react-dom": "^18.3.1",
103
107
  "rimraf": "^6.0.1",
104
- "rollup": "^4.18.1",
108
+ "rollup": "^4.24.4",
105
109
  "rollup-plugin-dts": "^6.1.1",
106
110
  "rollup-plugin-peer-deps-external": "^2.2.4",
107
111
  "rollup-plugin-postcss": "^4.0.2",
108
- "rollup-plugin-ts": "^3.4.5",
109
- "storybook": "^8.2.2",
110
- "stylelint": "^16.7.0",
112
+ "storybook": "^8.4.2",
113
+ "stylelint": "^16.10.0",
111
114
  "stylelint-config-css-modules": "^4.4.0",
112
115
  "stylelint-config-idiomatic-order": "^10.0.0",
113
116
  "stylelint-config-standard": "^36.0.1",
114
- "typescript": "^5.5.3",
115
- "vite": "^5.3.3",
116
- "vite-tsconfig-paths": "^4.3.2"
117
+ "typescript": "^5.6.3",
118
+ "vite": "^5.4.10",
119
+ "vite-tsconfig-paths": "^5.1.0"
117
120
  },
118
121
  "dependencies": {
119
- "@algolia/autocomplete-core": "^1.17.4",
120
- "@algolia/autocomplete-plugin-query-suggestions": "^1.17.4",
121
- "@algolia/autocomplete-plugin-recent-searches": "^1.17.4",
122
- "@algolia/autocomplete-preset-algolia": "^1.17.4",
122
+ "@algolia/autocomplete-core": "^1.17.7",
123
+ "@algolia/autocomplete-plugin-query-suggestions": "^1.17.7",
124
+ "@algolia/autocomplete-plugin-recent-searches": "^1.17.7",
125
+ "@algolia/autocomplete-preset-algolia": "^1.17.7",
123
126
  "@algolia/client-search": "^4.24.0",
124
- "@tanstack/react-query": "^5.51.1",
125
- "@tanstack/react-query-devtools": "^5.51.1",
126
- "@types/react-transition-group": "^4.4.10",
127
+ "@tanstack/react-query": "^5.59.20",
128
+ "@tanstack/react-query-devtools": "^5.59.20",
129
+ "@types/react-transition-group": "^4.4.11",
127
130
  "algoliasearch": "^4.24.0",
128
131
  "clsx": "^2.1.1",
129
132
  "fast-equals": "^5.0.1",
130
- "instantsearch.js": "^4.73.1",
133
+ "instantsearch.js": "^4.75.4",
131
134
  "js-cookie": "^3.0.5",
132
- "query-string": "^9.1.0",
133
- "react-aria": "^3.35.0",
134
- "react-aria-components": "^1.4.0",
135
- "react-instantsearch": "^7.12.1",
135
+ "query-string": "^9.1.1",
136
+ "react-aria": "^3.35.1",
137
+ "react-aria-components": "^1.4.1",
138
+ "react-instantsearch": "^7.13.7",
136
139
  "react-toastify": "^10.0.6",
137
140
  "react-transition-group": "^4.4.5",
138
- "search-insights": "2.15.0",
139
- "swiper": "^11.1.4"
141
+ "search-insights": "2.17.2",
142
+ "swiper": "^11.1.14"
140
143
  },
141
144
  "publishConfig": {
142
145
  "access": "public"
@@ -1,2 +0,0 @@
1
- import { SessionModel } from 'shared/api/storefront/model/shop.model';
2
- export declare function useUpdateLanguageById(): import("@tanstack/react-query").UseMutationResult<SessionModel, Error, string, unknown>;