@alphakits/ui 2.3.0 → 2.4.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/dist/__internal/utils/index.d.ts +1 -1
- package/dist/__internal/utils/index.js +4 -4
- package/dist/amount-input/component.js +41 -41
- package/dist/avatar/component.js +2 -18
- package/dist/badge/component.d.ts +1 -1
- package/dist/base-card/component.js +1 -7
- package/dist/bottom-sheet/component.d.ts +1 -1
- package/dist/bottom-sheet/component.js +9 -13
- package/dist/box/component.d.ts +2 -2
- package/dist/box/component.js +4 -4
- package/dist/button/component.js +9 -9
- package/dist/button-arrow/component.js +6 -1
- package/dist/calendar/component.d.ts +1 -2
- package/dist/calendar/component.js +77 -74
- package/dist/calendar/components/days-table/component.js +46 -43
- package/dist/calendar/components/header/{/321/201omponent.js → component.js} +3 -12
- package/dist/calendar/components/header/index.d.ts +1 -1
- package/dist/calendar/components/header/index.js +1 -1
- package/dist/calendar/components/months-table/{/321/201omponent.js → component.js} +7 -7
- package/dist/calendar/components/months-table/index.d.ts +1 -1
- package/dist/calendar/components/months-table/index.js +1 -1
- package/dist/calendar/components/select-button/{/321/201omponent.d.ts → component.d.ts} +3 -3
- package/dist/calendar/components/select-button/{/321/201omponent.js → component.js} +5 -11
- package/dist/calendar/components/select-button/index.d.ts +1 -1
- package/dist/calendar/components/select-button/index.js +1 -1
- package/dist/calendar/components/years-table/{/321/201omponent.js → component.js} +14 -14
- package/dist/calendar/components/years-table/index.d.ts +1 -1
- package/dist/calendar/components/years-table/index.js +1 -1
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/index.js +4 -4
- package/dist/calendar/use-calendar.js +51 -47
- package/dist/calendar/utils.js +7 -9
- package/dist/calendar-input/component.js +22 -22
- package/dist/card/component.js +2 -18
- package/dist/cell/base/component.js +31 -31
- package/dist/cell/pure/component.js +2 -2
- package/dist/checkbox/component.js +11 -11
- package/dist/checkbox-group/component.js +23 -24
- package/dist/checkbox-lists/component.d.ts +1 -2
- package/dist/checkbox-lists/component.js +59 -61
- package/dist/collapsable-row/addons.d.ts +3 -4
- package/dist/collapsable-row/addons.js +6 -9
- package/dist/collapsable-row/component.d.ts +1 -1
- package/dist/collapsable-row/component.js +7 -7
- package/dist/collapse/component.js +45 -54
- package/dist/copy-button/component.d.ts +1 -2
- package/dist/copy-button/component.js +1 -5
- package/dist/date/component.js +1 -1
- package/dist/date-switcher/component.d.ts +1 -2
- package/dist/date-switcher/component.js +8 -8
- package/dist/decorated-item/component.js +10 -20
- package/dist/dot/component.js +1 -4
- package/dist/empty-page/component.js +1 -9
- package/dist/filter-tag/component.d.ts +1 -1
- package/dist/flex/component.d.ts +2 -2
- package/dist/footer/component.js +57 -53
- package/dist/form/component.d.ts +1 -2
- package/dist/form/component.js +2 -12
- package/dist/form/templates/base-form/index.d.ts +3 -3
- package/dist/form/templates/base-form/index.js +26 -26
- package/dist/form/templates/filters-form/index.d.ts +1 -1
- package/dist/form/templates/filters-form/index.js +20 -23
- package/dist/form/templates/rest-form/form.d.ts +1 -2
- package/dist/form/templates/rest-form/form.js +51 -56
- package/dist/form/templates/rest-form/index.d.ts +3 -3
- package/dist/form/templates/rest-form/index.js +16 -27
- package/dist/form/utils/get-default-values.js +3 -6
- package/dist/form/utils/remove-undefined-from-object.js +1 -3
- package/dist/form-control/component.js +1 -1
- package/dist/formik/index.d.ts +2 -2
- package/dist/header-search/component.js +1 -6
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +10 -10
- package/dist/hooks/use-get-one/index.js +16 -16
- package/dist/icon-button/component.d.ts +3 -3
- package/dist/icon-button/component.js +2 -8
- package/dist/image/component.js +52 -30
- package/dist/image/image-base.js +1 -7
- package/dist/image/use-image-render-component.d.ts +1 -1
- package/dist/image/use-image-render-component.js +11 -14
- package/dist/image-gallery/component.js +40 -45
- package/dist/image-uploader/component.js +56 -53
- package/dist/index.js +41 -41
- package/dist/info-block-wrapper/component.d.ts +1 -1
- package/dist/input/component.js +1 -1
- package/dist/input-autocomplete/autocomplete-field/index.d.ts +1 -2
- package/dist/input-autocomplete/autocomplete-field/index.js +6 -6
- package/dist/input-autocomplete/component.d.ts +26 -26
- package/dist/input-ghost/component.d.ts +1 -1
- package/dist/link/component.d.ts +2 -2
- package/dist/link/component.js +1 -1
- package/dist/loader/component.js +6 -5
- package/dist/masked-input/component.js +7 -16
- package/dist/menu/component.js +12 -17
- package/dist/menu/components/content-header/index.js +1 -9
- package/dist/menu/components/menu-avatar/index.js +1 -6
- package/dist/menu/components/menu-button/index.js +1 -10
- package/dist/menu/components/menu-buttons-list/index.d.ts +1 -1
- package/dist/menu/components/menu-buttons-list/index.js +1 -7
- package/dist/menu/hooks/use-menu.js +12 -12
- package/dist/message/component.js +33 -14
- package/dist/modal/components/modals/modal.d.ts +1 -2
- package/dist/modal/components/modals/modal.js +30 -33
- package/dist/modal/context.js +12 -9
- package/dist/modal/hooks/use-modal.d.ts +1 -1
- package/dist/mq/component.js +1 -6
- package/dist/notification/component.js +14 -12
- package/dist/page-container/component.js +1 -6
- package/dist/page-loading/component.d.ts +1 -2
- package/dist/page-with-controls/component.js +4 -7
- package/dist/picker-button/common/labeled-button/index.js +18 -12
- package/dist/picker-button/component.js +5 -5
- package/dist/picker-button/field/{Component.d.ts → component.d.ts} +1 -2
- package/dist/picker-button/field/index.d.ts +1 -1
- package/dist/picker-button/field/index.js +1 -1
- package/dist/picker-button/index.d.ts +1 -1
- package/dist/picker-button/index.js +4 -4
- package/dist/popover/component.d.ts +2 -2
- package/dist/popover/component.js +69 -63
- package/dist/radio/component.js +7 -7
- package/dist/radio-groups/component.d.ts +1 -2
- package/dist/radio-groups/component.js +9 -7
- package/dist/select/component.d.ts +8 -9
- package/dist/select/component.js +1 -9
- package/dist/select/components/arrow/component.d.ts +1 -2
- package/dist/select/components/base-select/component.js +97 -90
- package/dist/select/components/checkmark/component.d.ts +1 -2
- package/dist/select/components/field/component.d.ts +1 -2
- package/dist/select/components/field/component.js +8 -5
- package/dist/select/components/native-select/component.js +4 -11
- package/dist/select/components/optgroup/component.d.ts +1 -2
- package/dist/select/components/optgroup/component.js +4 -4
- package/dist/select/components/option/component.js +1 -1
- package/dist/select/components/options-list/component.d.ts +1 -2
- package/dist/select/components/options-list/component.js +25 -23
- package/dist/select/components/select-search/index.d.ts +1 -1
- package/dist/select/components/select-search/index.js +28 -26
- package/dist/select/components/virtual-options-list/component.d.ts +1 -2
- package/dist/select/components/virtual-options-list/component.js +52 -45
- package/dist/select/index.js +4 -4
- package/dist/select/presets/index.d.ts +1 -1
- package/dist/select/presets/index.js +4 -4
- package/dist/select/presets/use-lazy-loading/index.d.ts +3 -4
- package/dist/select/presets/use-lazy-loading/index.js +45 -43
- package/dist/select/presets/use-select-with-loading/hook.d.ts +1 -2
- package/dist/select/presets/use-select-with-loading/hook.js +8 -1
- package/dist/select/utils.js +32 -32
- package/dist/sidepanel/component.js +21 -15
- package/dist/sidepanel-header/component.js +17 -16
- package/dist/skeleton/component.js +4 -4
- package/dist/space/component.d.ts +2 -2
- package/dist/space/component.js +42 -45
- package/dist/space/{Item.d.ts → item.d.ts} +2 -2
- package/dist/spinner/component.js +6 -5
- package/dist/stack/index.d.ts +1 -1
- package/dist/stack/index.js +5 -5
- package/dist/stepped-progress-bar/components/step-bar.js +3 -3
- package/dist/stepped-progress-bar/index.d.ts +2 -2
- package/dist/stepped-progress-bar/index.js +37 -22
- package/dist/sticker/component.js +1 -17
- package/dist/suffix-input/component.js +13 -13
- package/dist/switch/component.js +7 -7
- package/dist/table/components/cells/index.d.ts +1 -2
- package/dist/table/components/empty-list/index.d.ts +1 -2
- package/dist/table/components/error/index.d.ts +2 -3
- package/dist/table/components/error/index.js +1 -1
- package/dist/table/components/loading/index.d.ts +1 -1
- package/dist/table/components/loading/index.js +18 -12
- package/dist/table/components/pagination/index.js +56 -53
- package/dist/table/components/table-header/index.js +59 -56
- package/dist/table/hooks/use-table-data.js +63 -60
- package/dist/table/table.d.ts +1 -1
- package/dist/table/table.js +73 -73
- package/dist/table/types.d.ts +3 -3
- package/dist/table/utils/get-query-from-url.js +1 -8
- package/dist/table/utils/get-tags.d.ts +1 -1
- package/dist/table/utils/get-tags.js +9 -12
- package/dist/table/utils/index.d.ts +1 -1
- package/dist/table/utils/index.js +4 -4
- package/dist/table/utils/parse-query-params.js +5 -1
- package/dist/table/utils/prepare-rows.d.ts +1 -2
- package/dist/table/utils/prepare-rows.js +4 -3
- package/dist/table/utils/query-adapter.d.ts +1 -1
- package/dist/table/utils/query-adapter.js +5 -5
- package/dist/table/utils/remove-query-param.js +3 -1
- package/dist/table/utils/reset-query-param.js +16 -9
- package/dist/table-status/component.js +5 -1
- package/dist/textarea/component.js +36 -28
- package/dist/theme-provider/component.js +33 -29
- package/dist/toast/component.d.ts +7 -8
- package/dist/toast/component.js +65 -63
- package/dist/toast-notifier/component.js +13 -13
- package/dist/toast-notifier/use-timer.d.ts +1 -1
- package/dist/toast-notifier/use-timer.js +5 -5
- package/dist/toast-plate/component.d.ts +3 -3
- package/dist/toast-plate/component.js +7 -7
- package/dist/tooltip/component.js +35 -35
- package/dist/tooltip/node-resolver.js +7 -7
- package/dist/typings/api.d.ts +3 -5
- package/dist/typography/colors.d.ts +1 -1
- package/dist/typography/title/component.d.ts +3 -3
- package/dist/typography/title/index.d.ts +1 -1
- package/dist/typography/title/index.js +3 -3
- package/dist/utils/date/index.js +12 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +14 -14
- package/dist/utils/split-amount/util.js +4 -4
- package/dist/with-suffix/component.d.ts +13 -13
- package/dist/with-suffix/component.js +8 -8
- package/package.json +9 -34
- /package/dist/__internal/utils/{getDataTestId.d.ts → get-data-test-id.d.ts} +0 -0
- /package/dist/__internal/utils/{getDataTestId.js → get-data-test-id.js} +0 -0
- /package/dist/calendar/components/header/{/321/201omponent.d.ts" → component.d.ts} +0 -0
- /package/dist/calendar/components/months-table/{/321/201omponent.d.ts" → component.d.ts} +0 -0
- /package/dist/calendar/components/years-table/{/321/201omponent.d.ts" → component.d.ts} +0 -0
- /package/dist/picker-button/field/{Component.js → component.js} +0 -0
- /package/dist/space/{Item.js → item.js} +0 -0
package/dist/utils/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { add as r, addDays as t, addMonths as s, addYears as o, eachDayOfInterval as f, eachMonthOfInterval as n, eachYearOfInterval as i, endOfDay as O, endOfISOWeek as m, endOfWeek as h, endOfYear as d, format as p, isAfter as S, isBefore as y, isEqual as M, isLastDayOfMonth as l, isSameDay as D, isSameMonth as u, isSameYear as x, isThisMonth as I, isThisYear as c, isToday as A, isWithinInterval as T, lastDayOfMonth as Y, max as k, min as W, parse as b, parseISO as R, startOfDay as v, startOfISOWeek as _, startOfMonth as w, startOfWeek as E, startOfYear as N, subDays as P, subMonths as g, subWeeks as q, subYears as z, weekDaysShort as B } from "./date/index.js";
|
|
2
2
|
import { debounce as J } from "./debounce.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR as U, THINSP as j, formatAmount as C } from "./format-amount/util.js";
|
|
4
|
+
import { formatDate as G, locales as K } from "./format-date/index.js";
|
|
5
|
+
import { safeStringify as V } from "./safe-stringify.js";
|
|
6
|
+
import { showError as Z, showSuccess as $ } from "./show-toast/index.js";
|
|
7
|
+
import { splitAmount as ae } from "./split-amount/util.js";
|
|
8
8
|
import { capitalize as te } from "./string.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
U as AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,
|
|
11
|
+
j as THINSP,
|
|
12
12
|
r as add,
|
|
13
13
|
t as addDays,
|
|
14
14
|
s as addMonths,
|
|
@@ -23,8 +23,8 @@ export {
|
|
|
23
23
|
h as endOfWeek,
|
|
24
24
|
d as endOfYear,
|
|
25
25
|
p as format,
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
C as formatAmount,
|
|
27
|
+
G as formatDate,
|
|
28
28
|
S as isAfter,
|
|
29
29
|
y as isBefore,
|
|
30
30
|
M as isEqual,
|
|
@@ -37,15 +37,15 @@ export {
|
|
|
37
37
|
A as isToday,
|
|
38
38
|
T as isWithinInterval,
|
|
39
39
|
Y as lastDayOfMonth,
|
|
40
|
-
|
|
40
|
+
K as locales,
|
|
41
41
|
k as max,
|
|
42
42
|
W as min,
|
|
43
43
|
b as parse,
|
|
44
44
|
R as parseISO,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
V as safeStringify,
|
|
46
|
+
Z as showError,
|
|
47
|
+
$ as showSuccess,
|
|
48
|
+
ae as splitAmount,
|
|
49
49
|
v as startOfDay,
|
|
50
50
|
_ as startOfISOWeek,
|
|
51
51
|
w as startOfMonth,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
return e.length <
|
|
1
|
+
const g = (e, t = 3, n, p = 4) => {
|
|
2
|
+
const r = `\\B(?=(\\d{${t}})+(?!\\d))`;
|
|
3
|
+
return e.length < p ? e : e.replace(new RegExp(r, "g"), n);
|
|
4
4
|
};
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
g as splitAmount
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC, ReactNode, RefAttributes } from 'react';
|
|
2
2
|
import { InputProps } from '../input';
|
|
3
3
|
export type WithSuffixProps = InputProps & {
|
|
4
4
|
suffix?: ReactNode;
|
|
5
5
|
suffixContainerClassName?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInputElement>>) =>
|
|
7
|
+
export declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInputElement>>) => import('react').ForwardRefExoticComponent<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "value" | "type" | "size"> & {
|
|
8
8
|
value?: string | undefined;
|
|
9
9
|
defaultValue?: string | undefined;
|
|
10
10
|
block?: boolean | undefined;
|
|
@@ -14,12 +14,12 @@ export declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInput
|
|
|
14
14
|
error?: string | boolean | undefined;
|
|
15
15
|
success?: boolean | undefined;
|
|
16
16
|
hint?: string | undefined;
|
|
17
|
-
label?:
|
|
17
|
+
label?: ReactNode;
|
|
18
18
|
type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
|
|
19
|
-
wrapperRef?:
|
|
20
|
-
leftAddons?:
|
|
21
|
-
rightAddons?:
|
|
22
|
-
bottomAddons?:
|
|
19
|
+
wrapperRef?: import('react').Ref<HTMLDivElement> | undefined;
|
|
20
|
+
leftAddons?: ReactNode;
|
|
21
|
+
rightAddons?: ReactNode;
|
|
22
|
+
bottomAddons?: ReactNode;
|
|
23
23
|
className?: string | undefined;
|
|
24
24
|
fieldClassName?: string | undefined;
|
|
25
25
|
inputClassName?: string | undefined;
|
|
@@ -27,15 +27,15 @@ export declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInput
|
|
|
27
27
|
addonsClassName?: string | undefined;
|
|
28
28
|
focusedClassName?: string | undefined;
|
|
29
29
|
filledClassName?: string | undefined;
|
|
30
|
-
onChange?: ((event:
|
|
30
|
+
onChange?: ((event: import('react').ChangeEvent<HTMLInputElement, Element>, payload: {
|
|
31
31
|
value: string;
|
|
32
32
|
}) => void) | undefined;
|
|
33
|
-
onClear?: ((event:
|
|
34
|
-
onClick?: ((event:
|
|
35
|
-
onMouseDown?: ((event:
|
|
36
|
-
onMouseUp?: ((event:
|
|
33
|
+
onClear?: ((event: import('react').MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
|
|
34
|
+
onClick?: ((event: import('react').MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
35
|
+
onMouseDown?: ((event: import('react').MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
36
|
+
onMouseUp?: ((event: import('react').MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
37
37
|
dataTestId?: string | undefined;
|
|
38
38
|
} & {
|
|
39
39
|
suffix?: ReactNode;
|
|
40
40
|
suffixContainerClassName?: string | undefined;
|
|
41
|
-
} &
|
|
41
|
+
} & RefAttributes<HTMLInputElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import l from "classnames";
|
|
3
|
+
import { forwardRef as k, useRef as B, useState as E, useCallback as c, Fragment as F } from "react";
|
|
3
4
|
import I from "react-merge-refs";
|
|
4
|
-
import c from "classnames";
|
|
5
5
|
import { Portal as q } from "../portal/component.js";
|
|
6
6
|
import e from "./index.module.css.js";
|
|
7
7
|
const J = (v) => k(
|
|
@@ -18,17 +18,17 @@ const J = (v) => k(
|
|
|
18
18
|
suffixContainerClassName: V,
|
|
19
19
|
...b
|
|
20
20
|
}, g) => {
|
|
21
|
-
const t = f === void 0, d = B(null), [C, p] = E(N || ""), j =
|
|
21
|
+
const t = f === void 0, d = B(null), [C, p] = E(N || ""), j = c(
|
|
22
22
|
(o, h) => {
|
|
23
23
|
s && s(o, h), t && p(h.value);
|
|
24
24
|
},
|
|
25
25
|
[s, t]
|
|
26
|
-
), w =
|
|
26
|
+
), w = c(
|
|
27
27
|
(o) => {
|
|
28
28
|
t && p(""), n && n(o);
|
|
29
29
|
},
|
|
30
30
|
[n, t]
|
|
31
|
-
), P =
|
|
31
|
+
), P = c(
|
|
32
32
|
// TODO: Изменить сигнатуру getPortalContainer в Portal
|
|
33
33
|
() => d.current.parentElement,
|
|
34
34
|
[]
|
|
@@ -44,19 +44,19 @@ const J = (v) => k(
|
|
|
44
44
|
onChange: j,
|
|
45
45
|
onClear: w,
|
|
46
46
|
placeholder: R,
|
|
47
|
-
className:
|
|
47
|
+
className: l(S, {
|
|
48
48
|
[e.suffixVisible]: !!a,
|
|
49
49
|
[e.hasSuffix]: i
|
|
50
50
|
}),
|
|
51
51
|
...b
|
|
52
52
|
}
|
|
53
53
|
),
|
|
54
|
-
/* @__PURE__ */ r(q, { getPortalContainer: P, children: /* @__PURE__ */ x("div", { className:
|
|
54
|
+
/* @__PURE__ */ r(q, { getPortalContainer: P, children: /* @__PURE__ */ x("div", { className: l(e.suffixContainer, V), children: [
|
|
55
55
|
/* @__PURE__ */ r("span", { className: e.spacer, children: a }),
|
|
56
56
|
i && /* @__PURE__ */ r(
|
|
57
57
|
"div",
|
|
58
58
|
{
|
|
59
|
-
className:
|
|
59
|
+
className: l(e.suffix, {
|
|
60
60
|
[e.disabled]: m,
|
|
61
61
|
[e.readOnly]: u
|
|
62
62
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alphakits/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006 --ci",
|
|
27
27
|
"build-storybook": "NODE_OPTIONS=--openssl-legacy-provider build-storybook -o storybook-static",
|
|
28
28
|
"lint:css": "stylelint ./src/**/*.css",
|
|
29
|
-
"lint:scripts": "
|
|
29
|
+
"lint:scripts": "biome lint",
|
|
30
30
|
"lint": "yarn lint:css && yarn lint:scripts",
|
|
31
|
-
"format": "
|
|
32
|
-
"fix": "
|
|
31
|
+
"format": "biome format --write",
|
|
32
|
+
"fix": "biome check --write",
|
|
33
33
|
"semantic-release": "semantic-release"
|
|
34
34
|
},
|
|
35
35
|
"browserslist": [
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"@babel/preset-env": "^7.29.3",
|
|
69
69
|
"@babel/preset-react": "^7.28.5",
|
|
70
70
|
"@babel/preset-typescript": "^7.28.5",
|
|
71
|
+
"@biomejs/biome": "2.4.15",
|
|
71
72
|
"@commitlint/cli": "8.3.5",
|
|
72
73
|
"@commitlint/config-conventional": "8.3.4",
|
|
73
74
|
"@semantic-release/git": "^10.0.0",
|
|
@@ -100,27 +101,11 @@
|
|
|
100
101
|
"@types/react-transition-group": "^4.4.1",
|
|
101
102
|
"@types/react-window": "1.8.2",
|
|
102
103
|
"@types/uuid": "8.3.0",
|
|
103
|
-
"@typescript-eslint/eslint-plugin": "^4.4.0",
|
|
104
|
-
"@typescript-eslint/parser": "^4.4.0",
|
|
105
104
|
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
106
|
-
"alphakit-presets-lint": "1.0.0",
|
|
107
105
|
"babel-loader": "8.4.1",
|
|
108
106
|
"conventional-changelog-cli": "2.0.31",
|
|
109
107
|
"cssnano": "4.1.11",
|
|
110
108
|
"cz-conventional-changelog": "3.1.0",
|
|
111
|
-
"eslint": "^7.7.0",
|
|
112
|
-
"eslint-config-airbnb": "^18.2.0",
|
|
113
|
-
"eslint-config-airbnb-typescript": "^9.0.0",
|
|
114
|
-
"eslint-import-resolver-typescript": "^2.2.1",
|
|
115
|
-
"eslint-plugin-cypress": "2.11.1",
|
|
116
|
-
"eslint-plugin-dirnames": "^1.0.3",
|
|
117
|
-
"eslint-plugin-import": "^2.22.0",
|
|
118
|
-
"eslint-plugin-jsx-a11y": "^6.3.1",
|
|
119
|
-
"eslint-plugin-prettier": "^3.1.4",
|
|
120
|
-
"eslint-plugin-react": "^7.20.6",
|
|
121
|
-
"eslint-plugin-react-hooks": "^4.1.0",
|
|
122
|
-
"eslint-plugin-simple-import-sort": "^5.0.3",
|
|
123
|
-
"eslint-plugin-unicorn": "^32.0.1",
|
|
124
109
|
"formik": "2.2.9",
|
|
125
110
|
"glob": "^10.4.5",
|
|
126
111
|
"husky": "^4.2.5",
|
|
@@ -135,9 +120,6 @@
|
|
|
135
120
|
"postcss-loader": "4.3.0",
|
|
136
121
|
"postcss-mixins": "^11.0.3",
|
|
137
122
|
"postcss-preset-env": "^10.0.0",
|
|
138
|
-
"prettier": "^2.1.1",
|
|
139
|
-
"prettier-eslint": "^11.0.0",
|
|
140
|
-
"prettier-eslint-cli": "^5.0.0",
|
|
141
123
|
"react": "19.2.6",
|
|
142
124
|
"react-docgen-typescript-loader": "^3.7.1",
|
|
143
125
|
"react-dom": "19.2.6",
|
|
@@ -149,10 +131,6 @@
|
|
|
149
131
|
"vite": "^6.0.7",
|
|
150
132
|
"vite-plugin-dts": "^4.3.0"
|
|
151
133
|
},
|
|
152
|
-
"prettier": "./node_modules/alphakit-presets-lint/prettier.js",
|
|
153
|
-
"eslintConfig": {
|
|
154
|
-
"extends": "./node_modules/alphakit-presets-lint/eslint/index.js"
|
|
155
|
-
},
|
|
156
134
|
"peerDependencies": {
|
|
157
135
|
"@alphakits/icons": "1.25.0",
|
|
158
136
|
"formik": "2.2.9",
|
|
@@ -161,16 +139,13 @@
|
|
|
161
139
|
},
|
|
162
140
|
"lint-staged": {
|
|
163
141
|
"{src,config}/**/*.{js,jsx,ts,tsx}": [
|
|
164
|
-
"
|
|
165
|
-
|
|
142
|
+
"biome check --write --no-errors-on-unmatched"
|
|
143
|
+
],
|
|
144
|
+
"tools/**/*.{js,cjs}": [
|
|
145
|
+
"biome check --write --no-errors-on-unmatched"
|
|
166
146
|
],
|
|
167
147
|
"*.css": [
|
|
168
|
-
"prettier-eslint --write",
|
|
169
148
|
"stylelint"
|
|
170
149
|
]
|
|
171
|
-
},
|
|
172
|
-
"resolutions": {
|
|
173
|
-
"@typescript-eslint/eslint-plugin": "^4.4.0",
|
|
174
|
-
"@typescript-eslint/parser": "^4.4.0"
|
|
175
150
|
}
|
|
176
151
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|