@escapenavigator/hooks 1.10.104 → 1.10.106

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.d.ts CHANGED
@@ -1,3 +1,3 @@
1
+ export * from './players-and-variation-picker';
1
2
  export * from './use-localstore-state';
2
3
  export * from './use-players-and-variation-picker';
3
- export * from './players-and-variation-picker';
package/dist/index.js CHANGED
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./players-and-variation-picker"), exports);
17
18
  __exportStar(require("./use-localstore-state"), exports);
18
19
  __exportStar(require("./use-players-and-variation-picker"), exports);
19
- __exportStar(require("./players-and-variation-picker"), exports);
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { ProfileCurrencyEnum } from '@escapenavigator/types/dist/profile/enum/profile-currency';
2
+ import React from 'react';
3
3
  import { usePlayersAndVariationPicker } from '../use-players-and-variation-picker';
4
4
  import { PickerSlotDetails, PickerSlotInfo, PickerSlotVariation, PickerVariationChange } from '../use-players-and-variation-picker/types';
5
5
  type LoadSlotDetailsApi = Parameters<typeof usePlayersAndVariationPicker>[0]['loadSlotDetails'];
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /* eslint-disable complexity */
3
+ /* eslint-disable no-underscore-dangle */
4
+ /* eslint-disable @typescript-eslint/naming-convention */
2
5
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
6
  if (k2 === undefined) k2 = k;
4
7
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -15,24 +18,40 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
18
  }) : function(o, v) {
16
19
  o["default"] = v;
17
20
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __importDefault = (this && this.__importDefault) || function (mod) {
39
+ return (mod && mod.__esModule) ? mod : { "default": mod };
24
40
  };
25
41
  Object.defineProperty(exports, "__esModule", { value: true });
26
42
  exports.PlayersAndVariationPicker = void 0;
27
- /* eslint-disable complexity */
28
- /* eslint-disable no-underscore-dangle */
29
- /* eslint-disable @typescript-eslint/naming-convention */
30
- const react_1 = __importStar(require("react"));
31
- const icons_1 = require("@alphakits/icons");
32
- const dist_1 = require("@alphakits/ui/dist");
43
+ const InfoMarkS_1 = __importDefault(require("@alphakits/icons/dist/InfoMarkS"));
44
+ const button_1 = require("@alphakits/ui/dist/button");
45
+ const flex_1 = require("@alphakits/ui/dist/flex");
46
+ const flex_columns_1 = require("@alphakits/ui/dist/flex-columns");
47
+ const skeleton_1 = require("@alphakits/ui/dist/skeleton");
48
+ const tag_1 = require("@alphakits/ui/dist/tag");
49
+ const toast_plate_1 = require("@alphakits/ui/dist/toast-plate");
50
+ const typography_1 = require("@alphakits/ui/dist/typography");
33
51
  const format_amount_1 = require("@escapenavigator/utils/dist/format-amount");
34
52
  const get_players_price_1 = require("@escapenavigator/utils/dist/get-players-price");
35
53
  const get_prices_1 = require("@escapenavigator/utils/dist/get-prices");
54
+ const react_1 = __importStar(require("react"));
36
55
  const use_players_and_variation_picker_1 = require("../use-players-and-variation-picker");
37
56
  /**
38
57
  * Single shared component that renders the "Variation + Players" picker used
@@ -44,8 +63,8 @@ const use_players_and_variation_picker_1 = require("../use-players-and-variation
44
63
  * places with subtle drift. This component is the single source of truth.
45
64
  */
46
65
  const PlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration, loadSlotDetails, onVariationChange, onVariationResolved, onDetailsLoaded, players = 0, child = 0, tariff: tariffOverride, currency, minPlayers, maxPlayersLimit, slotDiscount, error, t, onChange, onSave, orderId, }) => {
47
- var _a, _b;
48
- const { loading, options: pickerOptions, selectedOptionId, selectedVariation, buildVariationChange, selectVariation, details, } = (0, use_players_and_variation_picker_1.usePlayersAndVariationPicker)({
66
+ var _a, _b, _c;
67
+ const { options: pickerOptions, selectedOptionId, selectedVariation, buildVariationChange, selectVariation, details, } = (0, use_players_and_variation_picker_1.usePlayersAndVariationPicker)({
49
68
  slot,
50
69
  currentTariffId,
51
70
  currentDuration,
@@ -56,12 +75,18 @@ const PlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration, loa
56
75
  (0, react_1.useEffect)(() => {
57
76
  onDetailsLoaded === null || onDetailsLoaded === void 0 ? void 0 : onDetailsLoaded(details);
58
77
  // eslint-disable-next-line react-hooks/exhaustive-deps
59
- }, [details === null || details === void 0 ? void 0 : details.slotId, details === null || details === void 0 ? void 0 : details.isFlex, (_a = details === null || details === void 0 ? void 0 : details.variations) === null || _a === void 0 ? void 0 : _a.length]);
78
+ }, [details === null || details === void 0 ? void 0 : details.slotId, details === null || details === void 0 ? void 0 : details.isFlex, (_a = details === null || details === void 0 ? void 0 : details.variations) === null || _a === void 0 ? void 0 : _a.length, details, onDetailsLoaded]);
60
79
  const tariff = (0, react_1.useMemo)(() => (tariffOverride || (selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.tariff) || {}), [tariffOverride, selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.tariff]);
61
80
  (0, react_1.useEffect)(() => {
62
81
  onVariationResolved === null || onVariationResolved === void 0 ? void 0 : onVariationResolved(selectedVariation);
63
82
  // eslint-disable-next-line react-hooks/exhaustive-deps
64
- }, [selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.id, selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.tariffId, selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.duration]);
83
+ }, [
84
+ selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.id,
85
+ selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.tariffId,
86
+ selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.duration,
87
+ selectedVariation,
88
+ onVariationResolved,
89
+ ]);
65
90
  const [_players, setPlayers] = (0, react_1.useState)(players);
66
91
  const [_children, setChildren] = (0, react_1.useState)(child);
67
92
  (0, react_1.useEffect)(() => {
@@ -116,49 +141,59 @@ const PlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration, loa
116
141
  return;
117
142
  onVariationChange === null || onVariationChange === void 0 ? void 0 : onVariationChange(change);
118
143
  };
119
- if (loading && !details) {
120
- return (react_1.default.createElement(dist_1.FlexColumns, { columns: 1, gr: 16 },
121
- react_1.default.createElement(dist_1.Skeleton, { visible: true, animate: true },
144
+ // Show the loader whenever a slot is provided but enriched details are
145
+ // not yet available (initial render before fetch starts, in-flight fetch,
146
+ // or backend returned no details). This prevents the brief flash of an
147
+ // empty picker UI between "slot prop arrived" and "loading=true".
148
+ if (slot && !details) {
149
+ return (react_1.default.createElement(flex_columns_1.FlexColumns, { columns: 1, gr: 16 },
150
+ react_1.default.createElement(skeleton_1.Skeleton, { visible: true, animate: true },
122
151
  react_1.default.createElement("div", { style: { height: 80 } })),
123
- react_1.default.createElement(dist_1.Skeleton, { visible: true, animate: true },
152
+ react_1.default.createElement(skeleton_1.Skeleton, { visible: true, animate: true },
124
153
  react_1.default.createElement("div", { style: { height: 60 } }))));
125
154
  }
126
- return (react_1.default.createElement(dist_1.FlexColumns, { columns: 1, gr: 16 },
127
- showVariations && (react_1.default.createElement(dist_1.FlexColumns, { columns: 1, gr: 8 },
128
- react_1.default.createElement(dist_1.Typography.Text, { view: "title", color: "secondary" }, t('prices:variation')),
129
- react_1.default.createElement(dist_1.Flex, { gap: "xs", wrap: true, justify: "start" }, pickerOptions.map((option) => (react_1.default.createElement("div", { key: option.id, style: option.isFree
155
+ return (react_1.default.createElement(flex_columns_1.FlexColumns, { columns: 1, gr: 16 },
156
+ showVariations && (react_1.default.createElement(flex_columns_1.FlexColumns, { columns: 1, gr: 8 },
157
+ react_1.default.createElement(typography_1.Typography.Text, { view: 'title', color: 'secondary' }, t('prices:variation')),
158
+ react_1.default.createElement(flex_1.Flex, { gap: 'xs', wrap: true, justify: 'start' }, pickerOptions.map((option) => (react_1.default.createElement("div", { key: option.id, style: option.isFree
130
159
  ? undefined
131
160
  : { opacity: 0.4, pointerEvents: 'none' } },
132
- react_1.default.createElement(dist_1.Tag, { view: selectedOptionId === option.id
161
+ react_1.default.createElement(tag_1.Tag, { view: selectedOptionId === option.id
133
162
  ? 'primary-inverted'
134
163
  : 'primary', text: option.label, onClick: () => handleVariationClick(option.id, option.isFree) }))))),
135
- !!variationDescription && (react_1.default.createElement(dist_1.Typography.Text, { view: "caps", color: "secondary" }, variationDescription)))),
136
- react_1.default.createElement(dist_1.FlexColumns, { columns: 1, gr: 8 },
137
- react_1.default.createElement(dist_1.Typography.Text, { view: "title", color: "secondary" },
164
+ !!variationDescription && (react_1.default.createElement(typography_1.Typography.Text, { view: 'caps', color: 'secondary' }, variationDescription)))),
165
+ react_1.default.createElement(flex_columns_1.FlexColumns, { columns: 1, gr: 8 },
166
+ react_1.default.createElement(typography_1.Typography.Text, { view: 'title', color: 'secondary' },
138
167
  tariff.child ? t('prices:adults') : t('prices:choosePlayersAmount'),
139
168
  ' ',
140
- !!_players && tariff[_players] != null && (`(${(0, format_amount_1.formatAmount)(tariff[_players], currency)})`)),
141
- react_1.default.createElement(dist_1.Flex, { gap: "xs", wrap: true, justify: "start" }, playersOptions
169
+ !!_players &&
170
+ tariff[_players] != null &&
171
+ `(${(0, format_amount_1.formatAmount)(tariff[_players], currency)})`),
172
+ react_1.default.createElement(flex_1.Flex, { gap: 'xs', wrap: true, justify: 'start' }, playersOptions
142
173
  .filter((p) => p.key + (_children || 0) <= effectiveMax)
143
- .map((p) => (react_1.default.createElement(dist_1.Button, { key: `adult-${p.key}`, size: "xs", style: { width: 40, minWidth: 40 }, onClick: () => handleChangePlayers(p.key), view: _players === p.key ? 'primary' : 'outlined' }, p.key))))),
144
- !!childrenOptions.length && (react_1.default.createElement(dist_1.FlexColumns, { columns: 1, gr: 8 },
145
- react_1.default.createElement(dist_1.Typography.Text, { view: "title", color: "secondary" },
174
+ .map((p) => (react_1.default.createElement(button_1.Button, { key: `adult-${p.key}`, size: 'xs', style: { width: 40, minWidth: 40 }, onClick: () => handleChangePlayers(p.key), view: _players === p.key ? 'primary' : 'outlined' }, p.key))))),
175
+ !!childrenOptions.length && (react_1.default.createElement(flex_columns_1.FlexColumns, { columns: 1, gr: 8 },
176
+ react_1.default.createElement(typography_1.Typography.Text, { view: 'title', color: 'secondary' },
146
177
  t('prices:kids'),
147
178
  ' ',
148
- !!_children && tariff.child != null && (`(${(0, format_amount_1.formatAmount)(_children * tariff.child, currency)})`)),
149
- react_1.default.createElement(dist_1.Flex, { gap: "xs", wrap: true, justify: "start" }, childrenOptions
179
+ !!_children &&
180
+ tariff.child != null &&
181
+ `(${(0, format_amount_1.formatAmount)(_children * tariff.child, currency)})`),
182
+ !!((_c = selectedVariation === null || selectedVariation === void 0 ? void 0 : selectedVariation.childPriceDescription) === null || _c === void 0 ? void 0 : _c.trim()) && (react_1.default.createElement("div", { style: { whiteSpace: 'pre-line' } },
183
+ react_1.default.createElement(typography_1.Typography.Text, { view: 'caps', color: 'secondary' }, selectedVariation.childPriceDescription))),
184
+ react_1.default.createElement(flex_1.Flex, { gap: 'xs', wrap: true, justify: 'start' }, childrenOptions
150
185
  .filter((count) => _players + count <= effectiveMax)
151
186
  .map((count) => {
152
187
  const isActive = _children === count;
153
- return (react_1.default.createElement(dist_1.Button, { key: `child-${count}`, size: "xs", style: { width: 40, minWidth: 40 }, onClick: () => handleChangeChildren(isActive ? 0 : count), view: isActive ? 'primary' : 'outlined' }, count));
188
+ return (react_1.default.createElement(button_1.Button, { key: `child-${count}`, size: 'xs', style: { width: 40, minWidth: 40 }, onClick: () => handleChangeChildren(isActive ? 0 : count), view: isActive ? 'primary' : 'outlined' }, count));
154
189
  })))),
155
- !!totalHeads && (react_1.default.createElement(dist_1.Flex, { justify: "start", gap: "xs" },
156
- react_1.default.createElement(icons_1.InfoMarkS, { style: { fill: 'var(--color-text-secondary)' } }),
157
- react_1.default.createElement(dist_1.Typography.Text, { view: "caps", color: "secondary" }, t('prices:totalPriceDescription', {
190
+ !!totalHeads && (react_1.default.createElement(flex_1.Flex, { justify: 'start', gap: 'xs' },
191
+ react_1.default.createElement(InfoMarkS_1.default, { style: { fill: 'var(--color-text-secondary)' } }),
192
+ react_1.default.createElement(typography_1.Typography.Text, { view: 'caps', color: 'secondary' }, t('prices:totalPriceDescription', {
158
193
  teamPrice: (0, format_amount_1.formatAmount)(teamPrice, currency),
159
194
  personPrice: (0, format_amount_1.formatAmount)(personPrice, currency),
160
195
  })))),
161
- !!error && (react_1.default.createElement(dist_1.ToastPlate, { view: "negative" }, error || t('prices:playersError', { minPlayers, maxPlayers: effectiveMax }))),
162
- !!onSave && (react_1.default.createElement(dist_1.Button, { onClick: () => onSave({ players: _players, children: _children }), view: "primary", size: "xs" }, t('common:save')))));
196
+ !!error && (react_1.default.createElement(toast_plate_1.ToastPlate, { view: 'negative' }, error || t('prices:playersError', { minPlayers, maxPlayers: effectiveMax }))),
197
+ !!onSave && (react_1.default.createElement(button_1.Button, { onClick: () => onSave({ players: _players, children: _children }), view: 'primary', size: 'xs' }, t('common:save')))));
163
198
  };
164
199
  exports.PlayersAndVariationPicker = PlayersAndVariationPicker;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useLocalstoreState = void 0;
3
+ exports.useLocalstoreState = useLocalstoreState;
4
4
  const react_1 = require("react");
5
5
  function readFromLocalstore(token, defaultValue) {
6
6
  if (typeof window === 'undefined') {
@@ -52,4 +52,3 @@ function useLocalstoreState(token, defaultValue) {
52
52
  }, [token]);
53
53
  return [value, setStoredValue];
54
54
  }
55
- exports.useLocalstoreState = useLocalstoreState;
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ /* eslint-disable no-nested-ternary */
2
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
4
  if (k2 === undefined) k2 = k;
4
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -15,9 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
16
  };
16
17
  Object.defineProperty(exports, "__esModule", { value: true });
17
18
  exports.usePlayersAndVariationPicker = void 0;
18
- /* eslint-disable no-nested-ternary */
19
- const react_1 = require("react");
20
19
  const use_api_method_1 = require("@escapenavigator/services/dist/hooks/use-api-method");
20
+ const react_1 = require("react");
21
21
  __exportStar(require("./types"), exports);
22
22
  const variationKey = (variation) => { var _a; return (_a = variation.id) !== null && _a !== void 0 ? _a : `${variation.tariffId}-${variation.duration}`; };
23
23
  /**
@@ -48,7 +48,7 @@ const usePlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration,
48
48
  orderId,
49
49
  });
50
50
  // eslint-disable-next-line react-hooks/exhaustive-deps
51
- }, [slot === null || slot === void 0 ? void 0 : slot.id, slot === null || slot === void 0 ? void 0 : slot.questroomId, slot === null || slot === void 0 ? void 0 : slot.date, slot === null || slot === void 0 ? void 0 : slot.start, orderId]);
51
+ }, [slot === null || slot === void 0 ? void 0 : slot.id, slot === null || slot === void 0 ? void 0 : slot.questroomId, slot === null || slot === void 0 ? void 0 : slot.date, slot === null || slot === void 0 ? void 0 : slot.start, orderId, slot, fetch]);
52
52
  const variations = (0, react_1.useMemo)(() => (data === null || data === void 0 ? void 0 : data.variations) || [], [data === null || data === void 0 ? void 0 : data.variations]);
53
53
  const isFlex = !!(data === null || data === void 0 ? void 0 : data.isFlex);
54
54
  const findCurrentVariation = (rows) => {
@@ -58,8 +58,7 @@ const usePlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration,
58
58
  // Match by (tariffId, duration) when both are known; fall back to
59
59
  // duration-only or tariff-only when one is missing.
60
60
  if (currentTariffId != null && currentDuration != null) {
61
- const exact = rows.find((row) => row.tariffId === currentTariffId
62
- && row.duration === currentDuration);
61
+ const exact = rows.find((row) => row.tariffId === currentTariffId && row.duration === currentDuration);
63
62
  if (exact)
64
63
  return exact;
65
64
  }
@@ -84,7 +83,7 @@ const usePlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration,
84
83
  };
85
84
  const propsSelectedVariation = (0, react_1.useMemo)(() => findCurrentVariation(variations),
86
85
  // eslint-disable-next-line react-hooks/exhaustive-deps
87
- [variations, isFlex, currentTariffId, currentDuration]);
86
+ [variations, findCurrentVariation]);
88
87
  const propsSelectedOptionId = propsSelectedVariation
89
88
  ? variationKey(propsSelectedVariation)
90
89
  : undefined;
@@ -96,7 +95,7 @@ const usePlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration,
96
95
  const [clickedOptionId, setClickedOptionId] = (0, react_1.useState)(undefined);
97
96
  (0, react_1.useEffect)(() => {
98
97
  setClickedOptionId(undefined);
99
- }, [propsSelectedOptionId, data === null || data === void 0 ? void 0 : data.slotId]);
98
+ }, []);
100
99
  const selectedOptionId = clickedOptionId !== null && clickedOptionId !== void 0 ? clickedOptionId : propsSelectedOptionId;
101
100
  const selectedVariation = (0, react_1.useMemo)(() => {
102
101
  var _a;
@@ -111,15 +110,15 @@ const usePlayersAndVariationPicker = ({ slot, currentTariffId, currentDuration,
111
110
  const isCurrent = id === selectedOptionId;
112
111
  const label = isFlex
113
112
  ? `${variation.duration} ${t('common:минут')}`
114
- : (variation.isDefault
113
+ : variation.isDefault
115
114
  ? 'Default'
116
- : variation.title || `Tariff ${variation.tariffId}`);
115
+ : variation.title || `Tariff ${variation.tariffId}`;
117
116
  return {
118
117
  id,
119
118
  tariffId: variation.tariffId,
120
119
  duration: variation.duration,
121
120
  label,
122
- description: !isFlex ? (_a = variation.description) !== null && _a !== void 0 ? _a : null : null,
121
+ description: !isFlex ? ((_a = variation.description) !== null && _a !== void 0 ? _a : null) : null,
123
122
  isCurrent,
124
123
  isFree: !!variation.isFree,
125
124
  };
@@ -22,6 +22,7 @@ export type PickerSlotVariation = {
22
22
  tariff: {
23
23
  [k: string]: number;
24
24
  };
25
+ childPriceDescription?: string | null;
25
26
  minPlayers: number;
26
27
  maxPlayers: number;
27
28
  numSeatsAvailable: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/hooks",
3
- "version": "1.10.104",
3
+ "version": "1.10.106",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -14,10 +14,10 @@
14
14
  "test": "jest"
15
15
  },
16
16
  "dependencies": {
17
- "@escapenavigator/services": "^1.10.112",
18
- "@escapenavigator/types": "^1.10.103",
19
- "@escapenavigator/utils": "^1.10.107",
20
- "react": "^18.3.1"
17
+ "@escapenavigator/services": "^1.10.114",
18
+ "@escapenavigator/types": "^1.10.105",
19
+ "@escapenavigator/utils": "^1.10.109",
20
+ "react": "19.2.6"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@alphakits/icons": "*",
@@ -25,28 +25,10 @@
25
25
  "react-i18next": "*"
26
26
  },
27
27
  "devDependencies": {
28
- "@rollup/plugin-node-resolve": "^13.0.0",
29
- "@rollup/plugin-replace": "^2.4.2",
30
- "@rollup/plugin-typescript": "^8.2.1",
31
28
  "@types/jest": "^29.5.10",
32
- "@wessberg/rollup-plugin-ts": "^1.3.14",
33
- "alphakit-presets-lint": "^1.0.0",
34
- "babel-jest": "^26.6.3",
35
29
  "jest": "^29.7.0",
36
- "rollup-plugin-auto-external": "^2.0.0",
37
- "rollup-plugin-babel": "^4.4.0",
38
- "rollup-plugin-commonjs": "^10.1.0",
39
- "rollup-plugin-multi-input": "1.3.1",
40
- "rollup-plugin-node-resolve": "^5.2.0",
41
- "rollup-plugin-peer-deps-external": "^2.2.4",
42
- "rollup-plugin-terser": "^7.0.2",
43
30
  "ts-jest": "^29.1.1",
44
- "ts-loader": "^6.2.1",
45
- "typescript": "^4.5.4"
31
+ "typescript": "^5.6"
46
32
  },
47
- "perDependencies": {
48
- "react": "^18.3.1",
49
- "axios": "^0.21.1"
50
- },
51
- "gitHead": "0e41f6e541edd14685f9dd242e17207d1b8f6660"
33
+ "gitHead": "7817557aa218ca9409972a254082d278f9ae9575"
52
34
  }