@nulogy/components 16.0.1 → 16.0.3
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/main.js +46 -59
- package/dist/main.js.map +1 -1
- package/dist/main.module.js +46 -59
- package/dist/main.module.js.map +1 -1
- package/dist/src/Alert/Alert.story.d.ts +1 -1
- package/dist/src/Alert/Alert.story.js +11 -0
- package/dist/src/AppTag/stories/AppTag.story.d.ts +2 -2
- package/dist/src/AppTag/stories/AppTag.story.js +6 -4
- package/dist/src/AppTag/stories/AppTag.usecases.story.d.ts +13 -10
- package/dist/src/AppTag/stories/AppTag.usecases.story.js +71 -51
- package/dist/src/AsyncSelect/AsyncSelect.story.d.ts +17 -13
- package/dist/src/AsyncSelect/AsyncSelect.story.js +46 -23
- package/dist/src/BottomSheet/BottomSheet.parts.d.ts +2 -2
- package/dist/src/BottomSheet/BottomSheet.styled.d.ts +10 -6
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.d.ts +8 -1
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.js +22 -3
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.d.ts +9 -2
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.js +27 -12
- package/dist/src/BottomSheet/stories/BottomSheet.story.d.ts +7 -1
- package/dist/src/BottomSheet/stories/BottomSheet.story.js +20 -3
- package/dist/src/Box/Box.d.ts +12 -13
- package/dist/src/Box/Box.story.d.ts +22 -44
- package/dist/src/Box/Box.story.js +30 -30
- package/dist/src/BrandedNavBar/DesktopMenu.d.ts +3 -1
- package/dist/src/BrandedNavBar/NavBar.js +2 -2
- package/dist/src/BrandedNavBar/NavBar.story.d.ts +16 -28
- package/dist/src/BrandedNavBar/NavBar.story.js +41 -35
- package/dist/src/BrandedNavBar/SmallNavBar.story.d.ts +1 -1
- package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +4 -8
- package/dist/src/Breadcrumbs/Breadcrumbs.story.js +4 -4
- package/dist/src/Button/Button.story.d.ts +14 -28
- package/dist/src/Button/Button.story.js +14 -14
- package/dist/src/Button/ControlIcon.story.js +1 -1
- package/dist/src/Button/DangerButton.d.ts +3 -1
- package/dist/src/Button/IconicButton.story.d.ts +23 -45
- package/dist/src/Button/IconicButton.story.js +27 -25
- package/dist/src/Button/PrimaryButton.d.ts +3 -1
- package/dist/src/Button/QuietButton.d.ts +3 -1
- package/dist/src/ButtonGroup/ButtonGroup.story.d.ts +13 -23
- package/dist/src/ButtonGroup/ButtonGroup.story.js +10 -10
- package/dist/src/Card/Card.story.d.ts +3 -5
- package/dist/src/Card/Card.story.js +9 -7
- package/dist/src/Checkbox/Checkbox.story.d.ts +18 -34
- package/dist/src/Checkbox/Checkbox.story.js +28 -24
- package/dist/src/Checkbox/CheckboxGroup.story.d.ts +10 -20
- package/dist/src/Checkbox/CheckboxGroup.story.js +10 -10
- package/dist/src/DatePickers/stories/DatePicker.story.d.ts +9 -2
- package/dist/src/DatePickers/stories/DatePicker.story.js +43 -2
- package/dist/src/DatePickers/stories/MonthPicker.story.d.ts +8 -1
- package/dist/src/DatePickers/stories/MonthPicker.story.js +21 -2
- package/dist/src/DatePickers/stories/WeekPicker.story.d.ts +32 -4
- package/dist/src/DatePickers/stories/WeekPicker.story.js +57 -8
- package/dist/src/DateRange/DateRange.story.d.ts +16 -2
- package/dist/src/DateRange/DateRange.story.js +41 -3
- package/dist/src/DateRange/EndTime.d.ts +5 -7
- package/dist/src/DateRange/StartTime.d.ts +5 -7
- package/dist/src/DescriptionList/stories/DescriptionList.column.story.d.ts +1 -1
- package/dist/src/DescriptionList/stories/DescriptionList.column.story.js +10 -8
- package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.d.ts +1 -1
- package/dist/src/DescriptionList/stories/DescriptionList.layout.story.d.ts +1 -1
- package/dist/src/DescriptionList/stories/DescriptionList.layout.story.js +12 -10
- package/dist/src/DescriptionList/stories/DescriptionList.playground.story.d.ts +1 -1
- package/dist/src/DescriptionList/stories/DescriptionList.story.d.ts +1 -0
- package/dist/src/DescriptionList/stories/DescriptionList.story.js +3 -0
- package/dist/src/DescriptionList/stories/fixtures.d.ts +2 -2
- package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +32 -32
- package/dist/src/DropdownMenu/DropdownMenu.story.js +58 -16
- package/dist/src/DropdownMenu/DropdownMenuContainer.d.ts +1 -1
- package/dist/src/DropdownMenu/DropdownText.d.ts +1 -1
- package/dist/src/FieldLabel/FieldLabel.story.d.ts +2 -4
- package/dist/src/FieldLabel/FieldLabel.story.js +2 -2
- package/dist/src/FieldLabel/HelpText.d.ts +1 -1
- package/dist/src/Flex/Flex.story.d.ts +34 -68
- package/dist/src/Flex/Flex.story.js +36 -36
- package/dist/src/Form/Form.story.d.ts +8 -16
- package/dist/src/Form/Form.story.js +8 -8
- package/dist/src/Icon/Icon.d.ts +6 -2
- package/dist/src/Icon/Icon.story.d.ts +12 -24
- package/dist/src/Icon/Icon.story.js +15 -15
- package/dist/src/Input/Input.story.d.ts +16 -32
- package/dist/src/Input/Input.story.js +23 -23
- package/dist/src/Layout/Page.applicationFrame.story.d.ts +1 -1
- package/dist/src/Layout/Page.story.d.ts +1 -1
- package/dist/src/Layout/Sidebar.story.d.ts +1 -1
- package/dist/src/Link/Link.story.d.ts +16 -32
- package/dist/src/Link/Link.story.js +16 -17
- package/dist/src/List/List.story.d.ts +8 -16
- package/dist/src/List/List.story.js +8 -8
- package/dist/src/LoadingAnimation/LoadingAnimation.story.d.ts +4 -8
- package/dist/src/LoadingAnimation/LoadingAnimation.story.js +4 -4
- package/dist/src/MaybeTooltip/MaybeTooltip.story.d.ts +1 -1
- package/dist/src/Modal/Modal.d.ts +5 -3
- package/dist/src/Modal/Modal.js +2 -2
- package/dist/src/Modal/Modal.story.d.ts +2 -24
- package/dist/src/Modal/ModalCloseButton.d.ts +4 -2
- package/dist/src/Modal/ModalContent.d.ts +1 -1
- package/dist/src/Navigation/components/AppSwitcher/parts/Item.d.ts +3 -1
- package/dist/src/Navigation/components/AppSwitcher/parts/index.d.ts +15 -7
- package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.d.ts +5 -1
- package/dist/src/Navigation/components/MenuSubItem/parts/styled.d.ts +17 -5
- package/dist/src/Navigation/components/MobileNav/parts/styled.d.ts +10 -4
- package/dist/src/Navigation/components/UserMenu/UserMenu.d.ts +5 -1
- package/dist/src/Navigation/components/UserMenu/parts/styled.d.ts +6 -2
- package/dist/src/Navigation/components/shared/NavigationMenuContent.d.ts +5 -1
- package/dist/src/Navigation/components/shared/NavigationMenuItem.d.ts +3 -1
- package/dist/src/Navigation/components/shared/components.d.ts +35 -9
- package/dist/src/Navigation/stories/Navigation.appSwitcher.story.d.ts +8 -1
- package/dist/src/Navigation/stories/Navigation.appSwitcher.story.js +19 -1
- package/dist/src/Navigation/stories/Navigation.logos.story.d.ts +2 -4
- package/dist/src/Navigation/stories/Navigation.logos.story.js +4 -4
- package/dist/src/Navigation/stories/Navigation.story.d.ts +7 -1
- package/dist/src/Navigation/stories/Navigation.story.js +145 -136
- package/dist/src/Navigation/stories/Navigation.userMenu.story.d.ts +8 -1
- package/dist/src/Navigation/stories/Navigation.userMenu.story.js +22 -1
- package/dist/src/Overlay/Overlay.story.d.ts +2 -4
- package/dist/src/Overlay/Overlay.story.js +2 -2
- package/dist/src/Pagination/Pagination.story.d.ts +14 -13
- package/dist/src/Pagination/Pagination.story.js +32 -11
- package/dist/src/Radio/Radio.story.d.ts +13 -15
- package/dist/src/Radio/Radio.story.js +44 -1
- package/dist/src/Radio/RadioGroup.story.d.ts +29 -21
- package/dist/src/Radio/RadioGroup.story.js +67 -14
- package/dist/src/RangeContainer/RangeContainer.story.d.ts +2 -4
- package/dist/src/RangeContainer/RangeContainer.story.js +2 -2
- package/dist/src/Select/Select.story.d.ts +37 -65
- package/dist/src/Select/Select.story.js +93 -49
- package/dist/src/StatusIndicator/StatusIndicator.story.d.ts +4 -8
- package/dist/src/StatusIndicator/StatusIndicator.story.js +4 -4
- package/dist/src/Summary/Summary.d.ts +1 -2
- package/dist/src/Summary/Summary.js +2 -2
- package/dist/src/Summary/SummaryContext.d.ts +3 -1
- package/dist/src/Summary/SummaryContext.js +2 -2
- package/dist/src/Summary/SummaryItem.d.ts +1 -1
- package/dist/src/Summary/SummaryItem.js +2 -2
- package/dist/src/Switcher/Switcher.d.ts +2 -2
- package/dist/src/Switcher/Switcher.js +2 -2
- package/dist/src/Switcher/Switcher.story.d.ts +8 -1
- package/dist/src/Switcher/Switcher.story.js +13 -1
- package/dist/src/Table/stories/BaseTable.story.d.ts +1 -1
- package/dist/src/Table/stories/BaseTable.story.js +1 -1
- package/dist/src/Table/stories/CustomContent.story.js +1 -1
- package/dist/src/Table/stories/Density.story.d.ts +4 -8
- package/dist/src/Table/stories/Density.story.js +4 -4
- package/dist/src/Table/stories/SortingColumnHeader.story.d.ts +1 -1
- package/dist/src/Table/stories/SortingColumnHeader.story.js +1 -1
- package/dist/src/Table/stories/Table.story.d.ts +1 -1
- package/dist/src/Table/stories/Table.story.js +37 -1
- package/dist/src/Table/stories/TableWithCustomSorting.story.d.ts +2 -4
- package/dist/src/Table/stories/TableWithCustomSorting.story.js +2 -2
- package/dist/src/Table/stories/TableWithExpandableRows.story.d.ts +4 -8
- package/dist/src/Table/stories/TableWithExpandableRows.story.js +5 -5
- package/dist/src/Table/stories/TableWithFiltering.story.d.ts +8 -8
- package/dist/src/Table/stories/TableWithFiltering.story.js +15 -4
- package/dist/src/Table/stories/TableWithSelectableRows.story.d.ts +8 -8
- package/dist/src/Table/stories/TableWithSelectableRows.story.js +22 -5
- package/dist/src/Table/stories/TableWithServerSidePagination.story.d.ts +2 -4
- package/dist/src/Table/stories/TableWithServerSidePagination.story.js +2 -2
- package/dist/src/Tabs/TabScrollIndicator.d.ts +1 -1
- package/dist/src/Tabs/TabScrollIndicator.js +2 -2
- package/dist/src/Tabs/Tabs.story.d.ts +33 -33
- package/dist/src/Tabs/Tabs.story.js +52 -16
- package/dist/src/Textarea/Textarea.story.js +1 -1
- package/dist/src/TimePicker/TimePicker.d.ts +1 -1
- package/dist/src/TimePicker/TimePicker.js +2 -0
- package/dist/src/TimePicker/TimePicker.story.d.ts +24 -40
- package/dist/src/TimePicker/TimePicker.story.js +40 -27
- package/dist/src/TimePicker/TimePickerInput.d.ts +3 -1
- package/dist/src/TimeRange/TimeRange.d.ts +3 -2
- package/dist/src/TimeRange/TimeRange.story.d.ts +14 -20
- package/dist/src/TimeRange/TimeRange.story.js +34 -20
- package/dist/src/Toast/Toast.story.d.ts +24 -25
- package/dist/src/Toast/Toast.story.js +170 -142
- package/dist/src/ToastContainer/ToastContainer.story.d.ts +8 -1
- package/dist/src/ToastContainer/ToastContainer.story.js +13 -1
- package/dist/src/ToastContainer/ToastFunction.js +2 -2
- package/dist/src/Toggle/Toggle.story.d.ts +25 -15
- package/dist/src/Toggle/Toggle.story.js +77 -43
- package/dist/src/Toggle/ToggleButton.js +2 -2
- package/dist/src/Tooltip/Tooltip.story.d.ts +1 -1
- package/dist/src/Tooltip/Tooltip.story.js +16 -0
- package/dist/src/TopBar/TopBar.styled.d.ts +16 -15
- package/dist/src/TopBar/components/BackLink.d.ts +3 -1
- package/dist/src/TopBar/components/MenuItemLink.d.ts +3 -1
- package/dist/src/TopBar/stories/TopBar.backButton.story.js +1 -1
- package/dist/src/TopBar/stories/TopBar.menu.story.js +1 -1
- package/dist/src/TopBar/stories/TopBar.story.d.ts +7 -1
- package/dist/src/TopBar/stories/TopBar.story.js +18 -1
- package/dist/src/TruncatedText/TruncatedText.story.d.ts +29 -34
- package/dist/src/TruncatedText/TruncatedText.story.js +46 -19
- package/dist/src/Type/Headings.d.ts +4 -4
- package/dist/src/Type/Text.story.d.ts +10 -20
- package/dist/src/Type/Text.story.js +10 -10
- package/dist/src/Validation/InlineValidation.story.d.ts +6 -12
- package/dist/src/Validation/InlineValidation.story.js +6 -6
- package/dist/src/VisualTests/Select.story.d.ts +12 -24
- package/dist/src/VisualTests/Select.story.js +19 -19
- package/dist/src/pages/ErrorPage.story.d.ts +3 -5
- package/dist/src/pages/ErrorPage.story.js +10 -10
- package/dist/src/pages/LoginPage.story.d.ts +8 -16
- package/dist/src/pages/LoginPage.story.js +8 -8
- package/dist/src/utils/story/dashed.d.ts +1 -3
- package/dist/src/utils/story/resizable.d.ts +4 -2
- package/dist/src/utils/ts/FocusManager.d.ts +1 -1
- package/dist/src/utils/ts/FocusManager.js +2 -2
- package/package.json +25 -34
|
@@ -3,38 +3,26 @@ declare const _default: {
|
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const WithADefaultValue: {
|
|
6
|
-
()
|
|
7
|
-
|
|
8
|
-
name: string;
|
|
9
|
-
};
|
|
6
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
name: string;
|
|
10
8
|
};
|
|
11
9
|
export declare const WithABlankValue: {
|
|
12
|
-
()
|
|
13
|
-
|
|
14
|
-
name: string;
|
|
15
|
-
};
|
|
10
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
name: string;
|
|
16
12
|
};
|
|
17
13
|
export declare const WithAnOptionSelected: {
|
|
18
|
-
()
|
|
19
|
-
|
|
20
|
-
name: string;
|
|
21
|
-
};
|
|
14
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
name: string;
|
|
22
16
|
};
|
|
23
17
|
export declare const WithWrappingText: {
|
|
24
|
-
()
|
|
25
|
-
|
|
26
|
-
name: string;
|
|
27
|
-
};
|
|
18
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
name: string;
|
|
28
20
|
};
|
|
29
21
|
export declare const TestMultiselectOverflow: {
|
|
30
|
-
()
|
|
31
|
-
|
|
32
|
-
name: string;
|
|
33
|
-
};
|
|
22
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
name: string;
|
|
34
24
|
};
|
|
35
25
|
export declare const WithANullValue: {
|
|
36
|
-
()
|
|
37
|
-
|
|
38
|
-
name: string;
|
|
39
|
-
};
|
|
26
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
name: string;
|
|
40
28
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { action } from "
|
|
2
|
+
import { action } from "storybook/actions";
|
|
3
3
|
import { Select } from "../index";
|
|
4
4
|
import { Box } from "../Box";
|
|
5
5
|
const options = [
|
|
@@ -33,33 +33,33 @@ const wrappingOptions = [
|
|
|
33
33
|
export default {
|
|
34
34
|
title: "VisualTests/Select",
|
|
35
35
|
};
|
|
36
|
-
export const WithADefaultValue =
|
|
37
|
-
|
|
36
|
+
export const WithADefaultValue = {
|
|
37
|
+
render: () => (_jsx(Select, { defaultValue: options[0].value, placeholder: "Please select inventory status", onChange: action("selection changed"), onBlur: action("blurred"), options: options, labelText: "Inventory status", onInputChange: action("typed input value changed") })),
|
|
38
38
|
name: "with a defaultValue",
|
|
39
39
|
};
|
|
40
|
-
export const WithABlankValue =
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
};
|
|
44
|
-
|
|
40
|
+
export const WithABlankValue = {
|
|
41
|
+
render: () => {
|
|
42
|
+
const optionsWithBlank = [{ value: null, label: "" }, ...options];
|
|
43
|
+
return (_jsx(Select, { placeholder: "Please select inventory status", onChange: action("selection changed"), onBlur: action("blurred"), options: optionsWithBlank, labelText: "Inventory status", onInputChange: action("typed input value changed") }));
|
|
44
|
+
},
|
|
45
45
|
name: "with a blank value",
|
|
46
46
|
};
|
|
47
|
-
export const WithAnOptionSelected =
|
|
48
|
-
|
|
47
|
+
export const WithAnOptionSelected = {
|
|
48
|
+
render: () => (_jsxs(_Fragment, { children: [_jsx(Select, { value: options[0].value, placeholder: "Please select inventory status", options: options, labelText: "Inventory status", onChange: action("selection changed"), onBlur: action("blurred"), onInputChange: action("typed input value changed") }), _jsx("br", {}), _jsx(Select, { value: options[0].value, placeholder: "Please select inventory status", options: options, labelText: "Inventory status", initialIsOpen: true, onChange: action("selection changed"), onBlur: action("blurred"), onInputChange: action("typed input value changed") })] })),
|
|
49
49
|
name: "with an option selected",
|
|
50
50
|
};
|
|
51
|
-
export const WithWrappingText =
|
|
52
|
-
|
|
51
|
+
export const WithWrappingText = {
|
|
52
|
+
render: () => (_jsx(Select, { initialIsOpen: true, value: options[0].value, placeholder: "Please select inventory status", options: wrappingOptions, labelText: "Inventory status", onChange: action("selection changed"), onBlur: action("blurred"), onInputChange: action("typed input value changed") })),
|
|
53
53
|
name: "With wrapping text",
|
|
54
54
|
};
|
|
55
|
-
export const TestMultiselectOverflow =
|
|
56
|
-
|
|
55
|
+
export const TestMultiselectOverflow = {
|
|
56
|
+
render: () => (_jsxs(_Fragment, { children: [_jsx(Select, { defaultValue: ["accepted", "assigned"], noOptionsMessage: () => "No options", placeholder: "Please select inventory status", options: options, labelText: "Inventory status", onChange: action("selection changed"), onBlur: action("blurred"), multiselect: true, onInputChange: action("typed input value changed") }), _jsx(Box, { width: "300px", children: _jsx(Select, { defaultValue: partnerCompanyName.map((item) => item.value), noOptionsMessage: () => "No options", placeholder: "Please select inventory status", options: partnerCompanyName, labelText: "PCN", onChange: action("selection changed"), onBlur: action("blurred"), multiselect: true, onInputChange: action("typed input value changed") }) }), _jsx(Box, { width: "400px", children: _jsx(Select, { defaultValue: options.map((item) => item.value), noOptionsMessage: () => "No options", placeholder: "Please select inventory status", options: options, labelText: "Inventory status", onChange: action("selection changed"), onBlur: action("blurred"), multiselect: true, onInputChange: action("typed input value changed") }) })] })),
|
|
57
57
|
name: "test multiselect overflow",
|
|
58
58
|
};
|
|
59
|
-
export const WithANullValue =
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
};
|
|
63
|
-
|
|
59
|
+
export const WithANullValue = {
|
|
60
|
+
render: () => {
|
|
61
|
+
const optionsWithBlank = [{ value: null, label: "Nullable" }, { value: null, label: "Other null" }, ...options];
|
|
62
|
+
return (_jsx(Select, { defaultValue: null, placeholder: "Please select inventory status", onChange: action("selection changed"), onBlur: action("blurred"), options: optionsWithBlank, labelText: "Inventory status", onInputChange: action("typed input value changed") }));
|
|
63
|
+
},
|
|
64
64
|
name: "with a null value",
|
|
65
65
|
};
|
|
@@ -3,7 +3,7 @@ declare const _default: {
|
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Static: {
|
|
6
|
-
()
|
|
6
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
parameters: {
|
|
8
8
|
chromatic: {
|
|
9
9
|
disable: boolean;
|
|
@@ -12,9 +12,7 @@ export declare const Static: {
|
|
|
12
12
|
};
|
|
13
13
|
export declare const Base: () => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export declare const WithALink: {
|
|
15
|
-
()
|
|
16
|
-
|
|
17
|
-
name: string;
|
|
18
|
-
};
|
|
15
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
name: string;
|
|
19
17
|
};
|
|
20
18
|
export declare const Maintenance: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,18 +7,18 @@ const ErrorPageAlertWidth = "432px";
|
|
|
7
7
|
export default {
|
|
8
8
|
title: "Pages/ErrorPage",
|
|
9
9
|
};
|
|
10
|
-
export const Static =
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
export const Static = {
|
|
11
|
+
render: () => (_jsxs(Text, { children: ["For non-React, static HTML error pages see the Nulogy error pages repository", " ", _jsx(Link, { href: "https://github.com/nulogy/error-pages", children: "on GitHub" }), " or preview them", " ", _jsx(Link, { href: "https://nulogy.github.io/error-pages/", children: "here" }), "."] })),
|
|
12
|
+
parameters: {
|
|
13
|
+
chromatic: { disable: true },
|
|
14
|
+
},
|
|
13
15
|
};
|
|
14
16
|
export const Base = () => (_jsx(Flex, { height: "100vh", flexDirection: "column", pt: "x3", pr: "x2", pb: "x2", pl: "x2", children: _jsx(Flex, { flexGrow: 1, maxWidth: ErrorPageWidth, m: "0 auto", children: _jsxs(Flex, { width: "100%", flexDirection: { extraSmall: "column", large: "row" }, alignItems: "center", children: [_jsx(Box, { mb: { extraSmall: "x5", small: "x4", large: 0 }, mt: { extraSmall: "x2", small: "80px", large: 0 }, mr: { extraSmall: 0, large: "x3" }, children: _jsx(Branding, { size: "large" }) }), _jsx(Box, { maxWidth: ErrorPageAlertWidth, children: _jsx(Alert, { type: "danger", title: "We're sorry, but something went wrong.", children: "We've been notified about this issue and we'll take a look at it shortly." }) })] }) }) }));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
/* eslint-enable jsx-a11y/anchor-is-valid */
|
|
21
|
-
WithALink.story = {
|
|
17
|
+
export const WithALink = {
|
|
18
|
+
render: () => {
|
|
19
|
+
const theme = useTheme();
|
|
20
|
+
return (_jsx(Flex, { height: "100vh", flexDirection: "column", pt: "x3", pr: "x2", pb: "x2", pl: "x2", children: _jsx(Flex, { flexGrow: 1, maxWidth: ErrorPageWidth, m: "0 auto", children: _jsxs(Flex, { width: "100%", flexDirection: { extraSmall: "column", large: "row" }, alignItems: "center", children: [_jsx(Box, { mb: { extraSmall: "x5", small: "x4", large: 0 }, mt: { extraSmall: "x2", small: "80px", large: `-${theme.space.x4}` }, mr: { extraSmall: 0, large: "x3" }, children: _jsx(Branding, { size: "large" }) }), _jsxs(Box, { maxWidth: ErrorPageAlertWidth, children: [_jsx(Alert, { type: "danger", title: "We're sorry, but something went wrong.", mb: "x2", children: "We've been notified about this issue and we'll take a look at it shortly." }), _jsx(Link, { href: "/", children: "Back to homepage" })] })] }) }) }));
|
|
21
|
+
},
|
|
22
22
|
name: "With a link",
|
|
23
23
|
};
|
|
24
24
|
export const Maintenance = () => (_jsx(Flex, { height: "100vh", flexDirection: "column", pt: "x3", pr: "x2", pb: "x2", pl: "x2", children: _jsx(Flex, { flexGrow: 1, maxWidth: ErrorPageWidth, m: "0 auto", children: _jsxs(Flex, { width: "100%", flexDirection: { extraSmall: "column", large: "row" }, alignItems: "center", children: [_jsx(Box, { mb: { extraSmall: "x5", small: "x4", large: 0 }, mt: { extraSmall: "x2", small: "80px", large: 0 }, mr: { extraSmall: 0, large: "x3" }, children: _jsx(Branding, { size: "large" }) }), _jsx(Box, { maxWidth: ErrorPageAlertWidth, children: _jsx(Alert, { children: "We are currently adding new features to Nulogy Quality Control. We should be online shortly." }) })] }) }) }));
|
|
@@ -4,26 +4,18 @@ declare const _default: {
|
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Base: () => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare const WithRememberMe: {
|
|
7
|
-
()
|
|
8
|
-
|
|
9
|
-
name: string;
|
|
10
|
-
};
|
|
7
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
name: string;
|
|
11
9
|
};
|
|
12
10
|
export declare const WithForgotPasswordLink: {
|
|
13
|
-
()
|
|
14
|
-
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
11
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
name: string;
|
|
17
13
|
};
|
|
18
14
|
export declare const WithError: {
|
|
19
|
-
()
|
|
20
|
-
|
|
21
|
-
name: string;
|
|
22
|
-
};
|
|
15
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
name: string;
|
|
23
17
|
};
|
|
24
18
|
export declare const WithErrorAndNoAdditionalText: {
|
|
25
|
-
()
|
|
26
|
-
|
|
27
|
-
name: string;
|
|
28
|
-
};
|
|
19
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
name: string;
|
|
29
21
|
};
|
|
@@ -4,19 +4,19 @@ export default {
|
|
|
4
4
|
title: "Pages/LoginPage",
|
|
5
5
|
};
|
|
6
6
|
export const Base = () => (_jsx(Flex, { minHeight: "100vh", justifyContent: "center", flexDirection: "column", alignItems: "center", bg: { extraSmall: "white", small: "whiteGrey" }, width: "100%", children: _jsx(Flex, { width: "100%", maxWidth: "384px", alignItems: "center", justifyContent: "center", flexGrow: 1, children: _jsxs(Flex, { height: { extraSmall: "100%", small: "auto" }, maxWidth: "384px", width: "100%", borderRadius: { extraSmall: null, small: "medium" }, boxShadow: { extraSmall: null, small: "small" }, px: { extraSmall: "x2", small: "x4" }, py: { extraSmall: "x3", small: "x5" }, bg: "white", my: "x2", flexDirection: "column", alignItems: "center", children: [_jsx(Box, { mb: "x2", width: "100%", children: _jsx(Branding, { withLine: true, size: "large", subtext: "Logo Subtext", alignment: "center" }) }), _jsx(Text, { color: "darkGrey", fontSize: "small", lineHeight: "smallTextBase", mb: "x4", children: "Additional Text" }), _jsxs(Form, { children: [_jsx(Input, { labelText: "Email" }), _jsx(Input, { type: "password", labelText: "Password" }), _jsx(PrimaryButton, { fullWidth: true, children: "Sign In" })] })] }) }) }));
|
|
7
|
-
export const WithRememberMe =
|
|
8
|
-
|
|
7
|
+
export const WithRememberMe = {
|
|
8
|
+
render: () => (_jsx(Flex, { minHeight: "100vh", justifyContent: "center", flexDirection: "column", alignItems: "center", bg: { extraSmall: "white", small: "whiteGrey" }, width: "100%", children: _jsx(Flex, { width: "100%", maxWidth: "384px", alignItems: "center", justifyContent: "center", flexGrow: 1, children: _jsxs(Flex, { height: { extraSmall: "100%", small: "auto" }, maxWidth: "384px", width: "100%", borderRadius: { extraSmall: null, small: "medium" }, boxShadow: { extraSmall: null, small: "small" }, px: { extraSmall: "x2", small: "x4" }, py: { extraSmall: "x3", small: "x5" }, bg: "white", my: "x2", flexDirection: "column", alignItems: "center", children: [_jsx(Box, { mb: "x2", width: "100%", children: _jsx(Branding, { withLine: true, size: "large", subtext: "Logo Subtext", alignment: "center" }) }), _jsx(Text, { color: "darkGrey", fontSize: "small", lineHeight: "smallTextBase", mb: "x4", children: "Additional Text" }), _jsxs("form", { style: { width: "100%" }, children: [_jsx(Input, { mb: "x3", labelText: "Email" }), _jsx(Input, { type: "password", labelText: "Password" }), _jsx(Checkbox, { mb: "x3", labelText: "Remember me" }), _jsx(PrimaryButton, { fullWidth: true, children: "Sign In" })] })] }) }) })),
|
|
9
9
|
name: "with remember me",
|
|
10
10
|
};
|
|
11
|
-
export const WithForgotPasswordLink =
|
|
12
|
-
|
|
11
|
+
export const WithForgotPasswordLink = {
|
|
12
|
+
render: () => (_jsx(Flex, { minHeight: "100vh", justifyContent: "center", flexDirection: "column", alignItems: "center", bg: { extraSmall: "white", small: "whiteGrey" }, width: "100%", children: _jsx(Flex, { width: "100%", maxWidth: "384px", alignItems: "center", justifyContent: "center", flexGrow: 1, children: _jsxs(Flex, { height: { extraSmall: "100%", small: "auto" }, maxWidth: "384px", width: "100%", borderRadius: { extraSmall: null, small: "medium" }, boxShadow: { extraSmall: null, small: "small" }, px: { extraSmall: "x2", small: "x4" }, py: { extraSmall: "x3", small: "x5" }, bg: "white", my: "x2", flexDirection: "column", alignItems: "center", children: [_jsx(Box, { mb: "x2", width: "100%", children: _jsx(Branding, { withLine: true, size: "large", subtext: "Logo Subtext", alignment: "center" }) }), _jsx(Text, { color: "darkGrey", fontSize: "small", lineHeight: "smallTextBase", mb: "x4", children: "Additional Text" }), _jsxs(Form, { style: { width: "100%" }, children: [_jsx(Input, { labelText: "Email" }), _jsx(Input, { type: "password", labelText: "Password" }), _jsx(PrimaryButton, { fullWidth: true, children: "Sign In" })] }), _jsx(Box, { py: "x1", mt: "x1", children: _jsx(Link, { href: "/", children: "Forgot your password?" }) })] }) }) })),
|
|
13
13
|
name: "with forgot password link",
|
|
14
14
|
};
|
|
15
|
-
export const WithError =
|
|
16
|
-
|
|
15
|
+
export const WithError = {
|
|
16
|
+
render: () => (_jsx(Flex, { minHeight: "100vh", justifyContent: "center", flexDirection: "column", alignItems: "center", bg: { extraSmall: "white", small: "whiteGrey" }, width: "100%", children: _jsx(Flex, { width: "100%", maxWidth: "384px", alignItems: "center", justifyContent: "center", flexGrow: 1, children: _jsxs(Flex, { height: { extraSmall: "100%", small: "auto" }, maxWidth: "384px", width: "100%", borderRadius: { extraSmall: null, small: "medium" }, boxShadow: { extraSmall: null, small: "small" }, px: { extraSmall: "x2", small: "x4" }, py: { extraSmall: "x3", small: "x5" }, bg: "white", my: "x2", flexDirection: "column", alignItems: "center", children: [_jsx(Box, { mb: "x2", width: "100%", children: _jsx(Branding, { withLine: true, size: "large", subtext: "Logo Subtext", alignment: "center" }) }), _jsx(Text, { fontSize: "small", lineHeight: "smallTextBase", mb: "x4", children: "Additional Text" }), _jsx(Alert, { mb: "x4", width: "100%", type: "danger", children: "text" }), _jsxs(Form, { style: { width: "100%" }, children: [_jsx(Input, { labelText: "Email" }), _jsx(Input, { type: "password", labelText: "Password" }), _jsx(PrimaryButton, { fullWidth: true, children: "Sign In" })] })] }) }) })),
|
|
17
17
|
name: "with error",
|
|
18
18
|
};
|
|
19
|
-
export const WithErrorAndNoAdditionalText =
|
|
20
|
-
|
|
19
|
+
export const WithErrorAndNoAdditionalText = {
|
|
20
|
+
render: () => (_jsx(Flex, { minHeight: "100vh", justifyContent: "center", flexDirection: "column", alignItems: "center", bg: { extraSmall: "white", small: "whiteGrey" }, width: "100%", children: _jsx(Flex, { width: "100%", maxWidth: "384px", alignItems: "center", justifyContent: "center", flexGrow: 1, children: _jsxs(Flex, { height: { extraSmall: "100%", small: "auto" }, maxWidth: "384px", width: "100%", borderRadius: { extraSmall: null, small: "medium" }, boxShadow: { extraSmall: null, small: "small" }, px: { extraSmall: "x2", small: "x4" }, py: { extraSmall: "x3", small: "x5" }, bg: "white", my: "x2", flexDirection: "column", alignItems: "center", children: [_jsx(Box, { mb: "x4", width: "100%", children: _jsx(Branding, { withLine: true, size: "large", subtext: "Logo Subtext", alignment: "center" }) }), _jsx(Alert, { mb: "x4", width: "100%", type: "danger", children: "text" }), _jsxs(Form, { children: [_jsx(Input, { labelText: "Email" }), _jsx(Input, { type: "password", labelText: "Password" }), _jsx(PrimaryButton, { fullWidth: true, children: "Sign In" })] })] }) }) })),
|
|
21
21
|
name: "with error and no additional text",
|
|
22
22
|
};
|
|
@@ -4,6 +4,4 @@ import { ComponentType } from "react";
|
|
|
4
4
|
* to highlight its boundaries. To be used in Storybook exclusively.
|
|
5
5
|
* Do not export for production.
|
|
6
6
|
*/
|
|
7
|
-
export declare const dashed: <P extends Record<string, unknown>>(component: ComponentType<P>) => import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(import("react").PropsWithoutRef<P> & import("react").RefAttributes<import("react").Component<P, any, any>>) | (import("react").PropsWithRef<P & {
|
|
8
|
-
children?: import("react").ReactNode | undefined;
|
|
9
|
-
}> & import("styled-components/dist/types").BaseObject), import("styled-components/dist/types").BaseObject>> & (string & (Omit<import("react").ComponentClass<P, any>, keyof import("react").Component<any, {}, any>> | Omit<import("react").FunctionComponent<P>, keyof import("react").Component<any, {}, any>>));
|
|
7
|
+
export declare const dashed: <P extends Record<string, unknown>>(component: ComponentType<P>) => import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(import("react").PropsWithoutRef<P> & import("react").RefAttributes<import("react").Component<P, any, any>>) | (import("react").PropsWithRef<P> & import("styled-components/dist/types").BaseObject), import("styled-components/dist/types").BaseObject>> & (string & (Omit<import("react").ComponentClass<P, any>, keyof import("react").Component<any, {}, any>> | Omit<import("react").FunctionComponent<P>, keyof import("react").Component<any, {}, any>>));
|
|
@@ -6,14 +6,16 @@ interface ResizableProps {
|
|
|
6
6
|
showContainerOutline?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const Resizable: ({ children, containerWidth, onResize, showContainerOutline, }: ResizableProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const WidthText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "textTransform" |
|
|
9
|
+
export declare const WidthText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "textTransform" | keyof React.HTMLAttributes<HTMLParagraphElement> | "disabled" | "inline" | "compact" | keyof import("../..").StyledProps> & React.HTMLAttributes<HTMLParagraphElement> & {
|
|
10
10
|
variant?: import("../../NDSProvider/ComponentVariantContext").ComponentVariant;
|
|
11
11
|
inline?: boolean;
|
|
12
12
|
compact?: boolean;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
textTransform?: "none" | "inherit" | "initial" | "-moz-initial" | "revert" | "unset" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase" | undefined;
|
|
15
15
|
fontSize?: string;
|
|
16
|
-
} & import("../..").StyledProps & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement>,
|
|
16
|
+
} & import("../..").StyledProps & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement>, "ref"> & {
|
|
17
|
+
ref?: React.Ref<HTMLElement | SVGElement>;
|
|
18
|
+
}, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "textTransform" | keyof React.HTMLAttributes<HTMLParagraphElement> | "disabled" | "inline" | "compact" | keyof import("../..").StyledProps> & React.HTMLAttributes<HTMLParagraphElement> & {
|
|
17
19
|
variant?: import("../../NDSProvider/ComponentVariantContext").ComponentVariant;
|
|
18
20
|
inline?: boolean;
|
|
19
21
|
compact?: boolean;
|
|
@@ -13,5 +13,5 @@ type FocusManagerProps = {
|
|
|
13
13
|
defaultFocusedIndex: number | null;
|
|
14
14
|
children: (handlers: ChildrenHandlers) => ReactNode;
|
|
15
15
|
};
|
|
16
|
-
declare
|
|
16
|
+
declare function FocusManager({ children, refs, defaultFocusedIndex }: FocusManagerProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export default FocusManager;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useRef, useState } from "react";
|
|
3
|
-
|
|
3
|
+
function FocusManager({ children, refs = undefined, defaultFocusedIndex }) {
|
|
4
4
|
const [focusedIndex, setFocusedIndex] = useState(defaultFocusedIndex ?? 0);
|
|
5
5
|
const prevFocusedIndex = useRef(focusedIndex);
|
|
6
6
|
const focusPrevious = () => {
|
|
@@ -37,5 +37,5 @@ const FocusManager = ({ children, refs = undefined, defaultFocusedIndex, }) => {
|
|
|
37
37
|
setFocusedIndex,
|
|
38
38
|
handleArrowNavigation,
|
|
39
39
|
}) }));
|
|
40
|
-
}
|
|
40
|
+
}
|
|
41
41
|
export default FocusManager;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulogy/components",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Component library for the Nulogy Design System - http://nulogy.design",
|
|
6
6
|
"private": false,
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"ci": "pnpm && pnpm build && pnpm build:verify && pnpm test && pnpm run check",
|
|
12
|
-
"start-server": "pnpm build:storybook && pnpm http-server -p 9999 ./storybook-static",
|
|
13
12
|
"start": "concurrently \"pnpm build:watch\" \"pnpm start:storybook\"",
|
|
14
|
-
"start:cypress": "start-server-and-test start 9999 'cypress open'",
|
|
15
13
|
"start:storybook": "storybook dev -p 9999",
|
|
16
14
|
"clean:storybook": "rm -rf node_modules/.cache/storybook && rm -rf ./storybook-static",
|
|
17
15
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && vite build",
|
|
@@ -20,16 +18,17 @@
|
|
|
20
18
|
"build:storybook": "storybook build --stats-json",
|
|
21
19
|
"warn:prepush": "echo \"Make sure you also run all the other CI steps before pushing by running 'pnpm ci'\"",
|
|
22
20
|
"check": "pnpm warn:prepush && pnpm check:types && pnpm check:lint && pnpm check:format",
|
|
23
|
-
"check:types": "tsc
|
|
21
|
+
"check:types": "tsc",
|
|
24
22
|
"check:lint": "eslint '**/*.{js,ts,jsx,tsx}'",
|
|
25
23
|
"check:format": "prettier -c .",
|
|
26
24
|
"fix": "pnpm fix:lint && pnpm fix:format",
|
|
27
25
|
"fix:lint": "pnpm check:lint --fix",
|
|
28
26
|
"fix:format": "prettier -w .",
|
|
29
|
-
"test": "pnpm test:components && pnpm
|
|
27
|
+
"test": "pnpm test:components && pnpm test:storybook",
|
|
30
28
|
"test:components": "vitest run",
|
|
31
29
|
"test:components:watch": "vitest",
|
|
32
|
-
"test:
|
|
30
|
+
"test:storybook": "vitest run --config vitest.storybook.config.ts",
|
|
31
|
+
"test:storybook:watch": "vitest --config vitest.storybook.config.ts",
|
|
33
32
|
"test:visual": "npx chromatic --project-token $CHROMATIC_TOKEN --exit-zero-on-changes",
|
|
34
33
|
"prepare": "husky"
|
|
35
34
|
},
|
|
@@ -66,7 +65,7 @@
|
|
|
66
65
|
"react": ">=16.10.2 <19.0.0",
|
|
67
66
|
"react-dom": ">=16.10.2 <19.0.0",
|
|
68
67
|
"styled-components": "^6.0.0",
|
|
69
|
-
"typescript": "4.9.5"
|
|
68
|
+
"typescript": ">=4.9.5"
|
|
70
69
|
},
|
|
71
70
|
"devDependencies": {
|
|
72
71
|
"@apollo/client": "^3.11.8",
|
|
@@ -78,58 +77,50 @@
|
|
|
78
77
|
"@semantic-release/github": "^8.0.7",
|
|
79
78
|
"@semantic-release/npm": "^9.0.0",
|
|
80
79
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
81
|
-
"@storybook/addon-a11y": "
|
|
82
|
-
"@storybook/addon-
|
|
83
|
-
"@storybook/addon-
|
|
84
|
-
"@storybook/
|
|
85
|
-
"@
|
|
86
|
-
"@storybook/addon-viewport": "~8.6.15",
|
|
87
|
-
"@storybook/react": "~8.6.15",
|
|
88
|
-
"@storybook/react-vite": "~8.6.15",
|
|
89
|
-
"@storybook/theming": "~8.6.14",
|
|
90
|
-
"@testing-library/react": "^12.1.5",
|
|
80
|
+
"@storybook/addon-a11y": "10.2.14",
|
|
81
|
+
"@storybook/addon-docs": "10.2.14",
|
|
82
|
+
"@storybook/addon-vitest": "10.2.14",
|
|
83
|
+
"@storybook/react-vite": "10.2.14",
|
|
84
|
+
"@testing-library/react": "^16.0.0",
|
|
91
85
|
"@types/css-mediaquery": "^0.1.4",
|
|
92
86
|
"@types/deep-equal": "^1.0.4",
|
|
93
87
|
"@types/node": "^24.10.4",
|
|
94
|
-
"@types/react": "^
|
|
95
|
-
"@types/react-dom": "^
|
|
96
|
-
"@types/react-router-dom": "5.3.0",
|
|
88
|
+
"@types/react": "^18.0.0",
|
|
89
|
+
"@types/react-dom": "^18.0.0",
|
|
97
90
|
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
98
91
|
"@typescript-eslint/parser": "^8.0.0",
|
|
99
92
|
"@vitejs/plugin-react": "^5.0.0",
|
|
93
|
+
"@vitest/browser": "^4.0.18",
|
|
94
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
100
95
|
"chromatic": "^13.3.4",
|
|
101
96
|
"concurrently": "^9.2.0",
|
|
102
97
|
"css-mediaquery": "^0.1.2",
|
|
103
|
-
"cypress": "^13.17.0",
|
|
104
|
-
"cypress-enter-plugin": "^1.0.1",
|
|
105
|
-
"cypress-plugin-tab": "^1.0.1",
|
|
106
|
-
"cypress-real-events": "^1.14.0",
|
|
107
98
|
"eslint": "^9.0.0",
|
|
108
99
|
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
109
100
|
"eslint-plugin-prettier": "^5.2.0",
|
|
110
101
|
"eslint-plugin-react": "^7.37.0",
|
|
111
102
|
"eslint-plugin-react-hooks": "^7.0.0",
|
|
103
|
+
"eslint-plugin-storybook": "10.2.14",
|
|
112
104
|
"globals": "^15.0.0",
|
|
113
|
-
"graphql": "
|
|
114
|
-
"http-server": "^14.0.0",
|
|
105
|
+
"graphql": "16.13.0",
|
|
115
106
|
"husky": "^9.1.7",
|
|
116
107
|
"jsdom": "^27.2.0",
|
|
117
108
|
"mockdate": "^3.0.5",
|
|
109
|
+
"playwright": "^1.58.2",
|
|
118
110
|
"prettier": "^3.4.2",
|
|
119
111
|
"re-resizable": "^6.10.3",
|
|
120
|
-
"react": "
|
|
112
|
+
"react": "18.3.1",
|
|
121
113
|
"react-color": "^2.18.1",
|
|
122
|
-
"react-dom": "
|
|
123
|
-
"react-router-dom": "^
|
|
114
|
+
"react-dom": "18.3.1",
|
|
115
|
+
"react-router-dom": "^6.0.0",
|
|
124
116
|
"semantic-release": "^24.2.5",
|
|
125
|
-
"
|
|
126
|
-
"storybook": "8.6.15",
|
|
117
|
+
"storybook": "10.2.14",
|
|
127
118
|
"styled-components": "^6.1.19",
|
|
128
119
|
"svg-sprite-loader": "^6.0.11",
|
|
129
120
|
"typescript": "^5.9.3",
|
|
130
121
|
"typescript-eslint": "^8.49.0",
|
|
131
122
|
"vite": "^7.0.0",
|
|
132
|
-
"vitest": "^4.0.
|
|
123
|
+
"vitest": "^4.0.18"
|
|
133
124
|
},
|
|
134
125
|
"dependencies": {
|
|
135
126
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
@@ -162,8 +153,8 @@
|
|
|
162
153
|
},
|
|
163
154
|
"resolutions": {
|
|
164
155
|
"@emotion/serialize": "1.1.3",
|
|
165
|
-
"@types/react": "^
|
|
166
|
-
"@types/react-dom": "^
|
|
156
|
+
"@types/react": "^18.0.0",
|
|
157
|
+
"@types/react-dom": "^18.0.0",
|
|
167
158
|
"csstype": "^3.2.3"
|
|
168
159
|
}
|
|
169
160
|
}
|