@equinor/amplify-component-lib 13.0.0 → 13.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
- package/dist/atoms/hooks/useSelect.d.ts +3 -3
- package/dist/atoms/icons/other.d.ts +2 -1
- package/dist/atoms/icons/other.js +1 -1
- package/dist/atoms/index.d.ts +1 -1
- package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
- package/dist/deprecated/IconToggleButton.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/molecules/Badge/Badge.d.ts +1 -1
- package/dist/molecules/Button/Button.d.ts +8 -10
- package/dist/molecules/Button/Button.js +1 -1
- package/dist/molecules/Button/Button.styles.js +35 -23
- package/dist/molecules/Button/IconButton/IconButton.d.ts +8 -7
- package/dist/molecules/Button/IconButton/IconButton.js +1 -1
- package/dist/molecules/Button/types.d.ts +2 -2
- package/dist/molecules/Chip/Chip.d.ts +2 -2
- package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
- package/dist/molecules/Dialog/Dialog.js +1 -1
- package/dist/molecules/Dialog/DialogAction.js +1 -1
- package/dist/molecules/FileUploadArea/FileUploadArea.js +1 -1
- package/dist/molecules/IconCell/IconCell.d.ts +2 -2
- package/dist/molecules/ListItem/ListItem.d.ts +2 -2
- package/dist/molecules/OptionDrawer/OptionDrawer.d.ts +2 -2
- package/dist/molecules/OptionalTooltip/OptionalTooltip.d.ts +4 -4
- package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
- package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +7 -7
- package/dist/molecules/RichTextEditor/index.d.ts +7 -7
- package/dist/molecules/Search/Search.d.ts +2 -2
- package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
- package/dist/molecules/Select/PersistentComboBox/PersistentComboBox.d.ts +2 -2
- package/dist/molecules/Select/Select.styles.d.ts +7 -7
- package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
- package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
- package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +4 -4
- package/dist/molecules/Tabs/Tabs.d.ts +2 -2
- package/dist/molecules/Tabs/Tabs.types.d.ts +7 -5
- package/dist/molecules/Tag/Tag.d.ts +2 -0
- package/dist/molecules/Tag/Tag.js +6 -3
- package/dist/molecules/Toast/Toast.js +1 -1
- package/dist/organisms/DataGrid/DataGrid.d.ts +2 -2
- package/dist/organisms/Filter/Filter.d.ts +2 -2
- package/dist/organisms/Filter/QuickFilter.d.ts +2 -2
- package/dist/organisms/Filter/SortMenu.d.ts +2 -2
- package/dist/organisms/ReleaseNote/ToggleExpanded.js +2 -2
- package/dist/organisms/SideBar/SideBar.d.ts +2 -2
- package/dist/organisms/Status/Action.d.ts +2 -2
- package/dist/organisms/Status/Description.d.ts +2 -2
- package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
- package/dist/organisms/Status/Title.d.ts +2 -2
- package/dist/organisms/Status/collections/BadRequest.d.ts +2 -2
- package/dist/organisms/Status/collections/ServerError.d.ts +2 -2
- package/dist/organisms/TableOfContents/TableOfContents.d.ts +10 -3
- package/dist/organisms/TableOfContents/TableOfContents.js +1 -1
- package/dist/organisms/TableOfContents/TableOfContents.styles.js +1 -0
- package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
- package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
- package/dist/organisms/TopBar/Account/Account.js +1 -1
- package/dist/organisms/TopBar/Account/ImpersonateMenu/DeleteUser/DeleteUser.js +1 -1
- package/dist/organisms/TopBar/Actions.d.ts +2 -2
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.const.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +5 -5
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Description.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +3 -3
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +4 -4
- package/dist/organisms/TopBar/Resources/Feedback/hooks/useCreateWorkItemWithAttachment.js +1 -0
- package/dist/organisms/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -1
- package/dist/organisms/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesDialog.js +1 -1
- package/dist/organisms/TopBar/Resources/Resources.js +3 -3
- package/dist/providers/TableOfContentsProvider.d.ts +1 -1
- package/package.json +1 -1
- package/dist/organisms/TableOfContents/TableOfContents.types.d.ts +0 -4
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.types.js +0 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +0 -4
- package/dist/organisms/TopBar/Resources/Feedback/hooks/useSlackFileUpload.js +0 -1
- package/dist/organisms/TopBar/Resources/Feedback/hooks/useSlackPostMessage.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react212 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/hooks/useLocalStorage.d.ts
|
|
4
|
-
declare const useLocalStorage: <T>(key: string, defaultState: T, keepAliveMs?: number) => readonly [T,
|
|
4
|
+
declare const useLocalStorage: <T>(key: string, defaultState: T, keepAliveMs?: number) => readonly [T, react212.Dispatch<react212.SetStateAction<T>>, () => void];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { useLocalStorage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectOption, SelectOptionRequired } from "../../molecules/Select/Select.types.js";
|
|
2
2
|
import { SelectComponentProps } from "../../molecules/Select/Select.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react209 from "react";
|
|
4
4
|
import { ChangeEvent, KeyboardEvent } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/hooks/useSelect.d.ts
|
|
@@ -16,8 +16,8 @@ declare const useSelect: <T extends SelectOptionRequired>(props: SelectComponent
|
|
|
16
16
|
handleOnOpen: () => void;
|
|
17
17
|
handleOnRemoveItem: (item: SelectOption<T>) => void;
|
|
18
18
|
search: string;
|
|
19
|
-
searchRef:
|
|
20
|
-
itemRefs:
|
|
19
|
+
searchRef: react209.RefObject<HTMLInputElement | null>;
|
|
20
|
+
itemRefs: react209.RefObject<(HTMLButtonElement | null)[]>;
|
|
21
21
|
selectedValues: T[];
|
|
22
22
|
open: boolean;
|
|
23
23
|
tryingToRemoveItem: T | undefined;
|
|
@@ -14,5 +14,6 @@ declare const amplify_shield_person: IconData;
|
|
|
14
14
|
declare const amplify_merged: IconData;
|
|
15
15
|
declare const amplify_branch: IconData;
|
|
16
16
|
declare const amplify_arrow_up_down: IconData;
|
|
17
|
+
declare const amplify_drag_handle: IconData;
|
|
17
18
|
//#endregion
|
|
18
|
-
export { amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_info_small, amplify_merged, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_tutorials };
|
|
19
|
+
export { amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_drag_handle, amplify_info_small, amplify_merged, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_tutorials };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={name:`aml`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:[`M12 8.78339L14.5238 10.393V12.8846L12.8571 13.9475L12.8571 14.6525L13.6667 15.1688L15.3333 14.1058L17.4609 15.4627L16.5391 16.9081L15.3333 16.1391L14.5238 16.6554V18.207L12 19.8166L9.47617 18.207V15.7154L11.1428 14.6525L11.1429 13.9475L10.3333 13.4312L8.66668 14.4942L6.53911 13.1373L7.4609 11.6919L8.66667 12.4609L9.47618 11.9447V10.393L12 8.78339ZM11.1905 11.9447L12 12.4609L12.8095 11.9447V11.3329L12 10.8166L11.1905 11.3329V11.9447ZM12 16.1391L11.1905 16.6554V17.2671L12 17.7834L12.8095 17.2671V16.6554L12 16.1391Z`,`M6 2H14L20 8V20C20 21.1 19.1 22 18 22H5.99C4.89 22 4 21.1 4 20L4.01 4C4.01 2.9 4.9 2 6 2ZM6 4V20H18V9H13V4H6Z`]},t={name:`snail`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M6.29749 11.9471C6.2948 9.93241 7.93578 8.29479 9.96793 8.29748C11.5242 8.29954 12.7828 9.55656 12.7849 11.0977C12.7864 12.2584 11.8431 13.2017 10.6691 13.2001C9.79977 13.1989 9.10039 12.4985 9.09926 11.6409C9.09846 11.0296 9.59721 10.5288 10.2191 10.5296L10.2209 9.23213C8.88694 9.23036 7.80002 10.3075 7.80179 11.6426C7.80386 13.2213 9.08874 14.4955 10.6674 14.4976C12.5534 14.5001 14.0849 12.9806 14.0823 11.096C14.0793 8.83371 12.2353 7.003 9.96964 7C7.22551 6.99637 4.99635 9.2103 5.00001 11.9488C5.00225 13.627 5.69408 15.003 6.81988 15.9494C6.87383 15.9948 6.92869 16.0391 6.98444 16.0823H5V17.3798H8.89361H11.064L11.7113 17.3807L11.7113 17.3798H14.0835C15.8488 17.3798 17.0578 16.6326 17.8249 15.6777C18.5716 14.7481 18.8841 13.6453 18.9468 12.8925L18.9991 12H17.6538V12.7848C17.6084 13.3295 17.3695 14.1728 16.8133 14.8651C16.4023 15.3768 15.8091 15.8198 14.9461 15.9983C15.0463 15.8947 15.1404 15.7876 15.2287 15.6777C15.9755 14.7481 16.2879 13.6453 16.3507 12.8925V12L15.0577 12V12.7848C15.0123 13.3295 14.7733 14.1728 14.2172 14.8651C13.6814 15.5321 12.8361 16.0823 11.4874 16.0823H11.0643C9.69666 16.0805 8.49915 15.6661 7.65481 14.9563C6.82108 14.2554 6.29922 13.2418 6.29749 11.9471Z`},n={name:`sharepoint`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M8.84647 16H4.66655C4.29842 16 4 15.7016 4 15.3335V8.66653C4 8.2984 4.29842 7.99998 4.66655 7.99998H6.89935C7.18444 5.32976 9.44458 3.25 12.1905 3.25C14.9532 3.25 17.2243 5.35539 17.4866 8.04926C19.4888 8.68036 20.9405 10.551 20.9405 12.762C20.9405 15.2708 19.0705 17.3428 16.6483 17.6603C16.2407 19.4305 14.6556 20.75 12.7619 20.75C10.5593 20.75 8.7738 18.9645 8.7738 16.7619C8.7738 16.5013 8.79878 16.2466 8.84647 16ZM15.9384 7.82184C15.59 6.07024 14.0444 4.75 12.1905 4.75C10.2742 4.75 8.68729 6.16053 8.41147 7.99998H11.3335C11.7016 7.99998 12 8.2984 12 8.66653V9.86164C12.8867 8.64079 14.3188 7.84163 15.9384 7.82184ZM12 14.3924V15.3335C12 15.7016 11.7016 16 11.3335 16H10.3926C10.3155 16.2402 10.2738 16.4962 10.2738 16.7619C10.2738 18.136 11.3878 19.25 12.7619 19.25C14.0866 19.25 15.17 18.2143 15.2458 16.909C15.2486 16.8604 15.25 16.8114 15.25 16.7619C15.25 15.3878 14.136 14.2738 12.7619 14.2738C12.5318 14.2738 12.3101 14.3048 12.1003 14.3625C12.0666 14.3718 12.0331 14.3818 12 14.3924ZM16.7004 16.1311C16.398 14.2283 14.7498 12.7738 12.7619 12.7738C12.6941 12.7738 12.6266 12.7755 12.5596 12.7789L12.5595 12.762C12.5595 10.8618 14.0999 9.32147 16 9.32147C16.2144 9.32147 16.4236 9.34098 16.626 9.37814C18.2272 9.67206 19.4405 11.0761 19.4405 12.762C19.4405 14.4221 18.2647 15.8076 16.7004 16.1311ZM6.46824 11.4918C6.56753 11.6612 6.70423 11.8057 6.86787 11.9142C7.08025 12.0538 7.306 12.1718 7.54178 12.2666C7.83816 12.3913 8.06255 12.4918 8.21493 12.568C8.347 12.6303 8.46766 12.7144 8.57189 12.8167C8.65569 12.8999 8.70239 13.0133 8.70141 13.1314C8.70519 13.3011 8.6153 13.459 8.4675 13.5424C8.25651 13.6527 8.01935 13.703 7.78178 13.688C7.52508 13.684 7.2703 13.6432 7.0252 13.5668C6.77927 13.4984 6.5472 13.3876 6.33948 13.2392V14.163C6.55679 14.2573 6.78493 14.3244 7.01872 14.3626C7.2956 14.4095 7.576 14.4325 7.85682 14.4312C8.16981 14.436 8.48156 14.3907 8.78026 14.2971C9.03421 14.2185 9.25943 14.067 9.42789 13.8613C9.59689 13.6376 9.68258 13.362 9.67017 13.0819C9.67915 12.8562 9.62647 12.6323 9.51779 12.4342C9.41179 12.2596 9.26581 12.1125 9.09188 12.0053C8.86221 11.8665 8.62107 11.7476 8.37111 11.6499C8.34481 11.6369 8.31755 11.6259 8.28959 11.6171C8.03562 11.5122 7.84514 11.4281 7.71815 11.3649C7.60403 11.3116 7.50072 11.2377 7.41339 11.147C7.33945 11.07 7.29844 10.9673 7.2991 10.8605C7.29944 10.6846 7.4042 10.5256 7.56577 10.4559C7.77503 10.3539 8.00623 10.3049 8.23892 10.3135C8.45957 10.313 8.67947 10.3394 8.89378 10.3919C9.09129 10.4383 9.28027 10.5154 9.45378 10.6205V9.74433C9.05445 9.61434 8.63536 9.55566 8.21568 9.57099C7.89655 9.56756 7.57902 9.61673 7.27586 9.71651C7.00986 9.8005 6.77193 9.9557 6.58786 10.1653C6.41269 10.3746 6.32062 10.641 6.32919 10.9139C6.32409 11.1153 6.37204 11.3146 6.46824 11.4918Z`},r={name:`tutorials`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M8 2H20C21.1 2 22 2.9 22 4V16C22 17.1 21.1 18 20 18H8C6.9 18 6 17.1 6 16V4C6 2.9 6.9 2 8 2ZM2 6H4V20H18V22H4C2.9 22 2 21.1 2 20V6ZM20 16H8V4H20V16ZM12 14.5V5.5L18 10L12 14.5Z`},i={name:`small_portal`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M6.49858 7.71843L16.9216 1.7597C17.3639 1.50707 17.9162 1.82349 17.9167 2.33013L17.9164 14.2666C17.9169 14.6203 17.7383 14.947 17.4296 15.1237L7.00638 21.082C6.56424 21.3348 6.00046 21.0184 6 20.5118V8.57533C5.99954 8.22164 6.18985 7.89493 6.49858 7.71843Z`},a={name:`sort_small`,prefix:`amplify`,height:`10`,width:`10`,svgPathData:`M 1.0039 6 H 6.3448 V 7.5 H 1.0039 V 6 Z M 1.0039 2.5 H 9.01 V 4 H 1.0039 V 2.5 Z`},o={name:`info`,prefix:`amplify`,height:`10`,width:`10`,svgPathData:`M 4.1013 0.5 L 5.9013 0.5 L 5.9013 2.3 H 4.1013 L 4.1013 0.5 Z M 4.1013 4.1001 H 5.9013 L 5.9013 9.5001 H 4.1013 L 4.1013 4.1001 Z`},s={name:`resources`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M11.5 20.3982V23.9982L12.93 23.3082C18.06 20.8382 21.5 15.8582 21.5 10.9082C21.5 5.6682 17.24 1.4082 12 1.4082C6.76 1.4082 2.5 5.6682 2.5 10.9082C2.5 15.9782 6.49 20.1382 11.5 20.3982ZM4.5 10.9082C4.5 6.7682 7.86 3.4082 12 3.4082C16.14 3.4082 19.5 6.7682 19.5 10.9082C19.5 14.6282 17.14 18.4082 13.5 20.7082V18.4082H12C7.86 18.4082 4.5 15.0482 4.5 10.9082ZM13 14.9082V16.9082H11V14.9082H13ZM12.7704 10.2299C11.9421 10.8648 11 11.5869 11 13.4082H13C13 12.3128 13.711 11.6915 14.4408 11.0537C15.21 10.3815 16 9.69112 16 8.4082C16 6.1982 14.21 4.4082 12 4.4082C9.79 4.4082 8 6.1982 8 8.4082H10C10 7.3082 10.9 6.4082 12 6.4082C13.1 6.4082 14 7.3082 14 8.4082C14 9.28742 13.4202 9.73181 12.7704 10.2299Z`},c={name:`overview`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M5 9L5 5L9 5L9 9L5 9ZM3 4C3 3.44772 3.44772 3 4 3L10 3C10.5523 3 11 3.44772 11 4L11 10C11 10.5523 10.5523 11 10 11L4 11C3.44772 11 3 10.5523 3 10L3 4ZM15 9L15 5L19 5L19 9L15 9ZM13 4C13 3.44772 13.4477 3 14 3L20 3C20.5523 3 21 3.44772 21 4L21 10C21 10.5523 20.5523 11 20 11L14 11C13.4477 11 13 10.5523 13 10L13 4ZM5 15L5 19L9 19L9 15L5 15ZM4 13C3.44772 13 3 13.4477 3 14L3 20C3 20.5523 3.44772 21 4 21L10 21C10.5523 21 11 20.5523 11 20L11 14C11 13.4477 10.5523 13 10 13L4 13ZM15 19L15 15L19 15L19 19L15 19ZM13 14C13 13.4477 13.4477 13 14 13L20 13C20.5523 13 21 13.4477 21 14L21 20C21 20.5523 20.5523 21 20 21L14 21C13.4477 21 13 20.5523 13 20L13 14Z`},l={name:`shield_person`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M9.5125 11.9875C10.1875 12.6625 11.0167 13 12 13C12.9833 13 13.8125 12.6625 14.4875 11.9875C15.1625 11.3125 15.5 10.4833 15.5 9.5C15.5 8.51667 15.1625 7.6875 14.4875 7.0125C13.8125 6.3375 12.9833 6 12 6C11.0167 6 10.1875 6.3375 9.5125 7.0125C8.8375 7.6875 8.5 8.51667 8.5 9.5C8.5 10.4833 8.8375 11.3125 9.5125 11.9875ZM13.075 10.575C12.7917 10.8583 12.4333 11 12 11C11.5667 11 11.2083 10.8583 10.925 10.575C10.6417 10.2917 10.5 9.93333 10.5 9.5C10.5 9.06667 10.6417 8.70833 10.925 8.425C11.2083 8.14167 11.5667 8 12 8C12.4333 8 12.7917 8.14167 13.075 8.425C13.3583 8.70833 13.5 9.06667 13.5 9.5C13.5 9.93333 13.3583 10.2917 13.075 10.575ZM6.2625 18.0125C7.77083 20.0875 9.68333 21.4167 12 22C14.3167 21.4167 16.2292 20.0875 17.7375 18.0125C19.2458 15.9375 20 13.6333 20 11.1V5L12 2L4 5V11.1C4 13.6333 4.75417 15.9375 6.2625 18.0125ZM6 6.375L12 4.125L18 6.375V11.1C18 12 17.875 12.875 17.625 13.725C17.375 14.575 17.0333 15.375 16.6 16.125C15.9 15.775 15.1667 15.5 14.4 15.3C13.6333 15.1 12.8333 15 12 15C11.1667 15 10.3667 15.1 9.6 15.3C8.83333 15.5 8.1 15.775 7.4 16.125C6.96667 15.375 6.625 14.575 6.375 13.725C6.125 12.875 6 12 6 11.1V6.375ZM10.25 17.2C10.8167 17.0667 11.4 17 12 17C12.6 17 13.1833 17.0667 13.75 17.2C14.3167 17.3333 14.8583 17.5167 15.375 17.75C14.8917 18.25 14.3667 18.6833 13.8 19.05C13.2333 19.4167 12.6333 19.7 12 19.9C11.3667 19.7 10.7667 19.4167 10.2 19.05C9.63333 18.6833 9.10833 18.25 8.625 17.75C9.14167 17.5167 9.68333 17.3333 10.25 17.2Z`},u={name:`merged`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M11.4286 11.4088H14.525C14.9643 10.4286 15.9714 9.69169 17.1429 9.69169C18.7214 9.69169 20 11.0046 20 12.5535C20 14.1669 18.7214 15.4476 17.1429 15.4476C15.9714 15.4476 14.9643 14.7428 14.525 13.6983H11.4286C10.1107 13.6983 8.95357 13.3048 8 12.5857V15.6873C9.01071 16.1273 9.71429 17.1361 9.71429 18.3094C9.71429 19.8906 8.43571 21.1713 6.85714 21.1713C5.27929 21.1713 4 19.8906 4 18.3094C4 17.1361 4.70536 16.1273 5.71429 15.6873V8.33947C4.70536 7.86727 4 6.89067 4 5.71731C4 4.13686 5.27929 2.85547 6.85714 2.85547C8.43571 2.85547 9.71429 4.13686 9.71429 5.71731C9.71429 6.88351 9.01786 7.88873 8.01429 8.3359C8.17857 10.078 9.64643 11.441 11.4286 11.441V11.4088ZM6.85714 6.54367C7.33036 6.54367 7.71429 6.1913 7.71429 5.68512C7.71429 5.24296 7.33036 4.82656 6.85714 4.82656C6.38393 4.82656 6 5.24296 6 5.68512C6 6.1913 6.38393 6.54367 6.85714 6.54367ZM6.85714 19.168C7.33036 19.168 7.71429 18.7852 7.71429 18.3094C7.71429 17.8336 7.33036 17.4509 6.85714 17.4509C6.38393 17.4509 6 17.8336 6 18.3094C6 18.7852 6.38393 19.168 6.85714 19.168ZM17.1429 11.695C16.6679 11.695 16.2857 12.11 16.2857 12.5535C16.2857 13.0615 16.6679 13.4121 17.1429 13.4121C17.6179 13.4121 18 13.0615 18 12.5535C18 12.11 17.6179 11.695 17.1429 11.695Z`},d={name:`branch`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M10 6.65625C10 7.74531 9.38437 8.65176 8.5 9.09004V12.0053C9.0875 11.6434 9.77188 11.4375 10.5 11.4375H13.5C14.6031 11.4375 15.5 10.4846 15.5 9.3125V9.09004C14.6156 8.65176 14 7.74531 14 6.65625C14 5.18934 15.1187 4 16.5 4C17.8813 4 19 5.18934 19 6.65625C19 7.74531 18.3844 8.65176 17.5 9.09004V9.3125C17.5 11.66 15.7094 13.5625 13.5 13.5625H10.5C9.39688 13.5625 8.5 14.5154 8.5 15.6875V15.91C9.38437 16.3184 10 17.2547 10 18.3438C10 19.8113 8.88125 21 7.5 21C6.11937 21 5 19.8113 5 18.3438C5 17.2547 5.61719 16.3184 6.5 15.91V9.09004C5.61719 8.65176 5 7.74531 5 6.65625C5 5.18934 6.11937 4 7.5 4C8.88125 4 10 5.18934 10 6.65625ZM7.5 7.45312C7.91406 7.45312 8.25 7.09619 8.25 6.65625C8.25 6.21631 7.91406 5.85938 7.5 5.85938C7.08594 5.85938 6.75 6.21631 6.75 6.65625C6.75 7.09619 7.08594 7.45312 7.5 7.45312ZM16.5 5.85938C16.0844 5.85938 15.75 6.21631 15.75 6.65625C15.75 7.09619 16.0844 7.45312 16.5 7.45312C16.9156 7.45312 17.25 7.09619 17.25 6.65625C17.25 6.21631 16.9156 5.85938 16.5 5.85938ZM7.5 19.1406C7.91406 19.1406 8.25 18.7854 8.25 18.3438C8.25 17.9021 7.91406 17.5469 7.5 17.5469C7.08594 17.5469 6.75 17.9021 6.75 18.3438C6.75 18.7854 7.08594 19.1406 7.5 19.1406Z`},f={name:`arrow_up_down`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M7.33203 7.56808L11.2431 3.66675L15.1543 7.56808H12.2209V7.57787V14.4223V14.4321H15.1543L11.2431 18.3334L7.33203 14.4321H10.2654V14.4223V7.57787V7.56808H7.33203Z`};export{e as amplify_aml,f as amplify_arrow_up_down,d as amplify_branch,o as amplify_info_small,u as amplify_merged,c as amplify_overview,s as amplify_resources,n as amplify_sharepoint,l as amplify_shield_person,i as amplify_small_portal,t as amplify_snail,a as amplify_sort_small,r as amplify_tutorials};
|
|
1
|
+
const e={name:`aml`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:[`M12 8.78339L14.5238 10.393V12.8846L12.8571 13.9475L12.8571 14.6525L13.6667 15.1688L15.3333 14.1058L17.4609 15.4627L16.5391 16.9081L15.3333 16.1391L14.5238 16.6554V18.207L12 19.8166L9.47617 18.207V15.7154L11.1428 14.6525L11.1429 13.9475L10.3333 13.4312L8.66668 14.4942L6.53911 13.1373L7.4609 11.6919L8.66667 12.4609L9.47618 11.9447V10.393L12 8.78339ZM11.1905 11.9447L12 12.4609L12.8095 11.9447V11.3329L12 10.8166L11.1905 11.3329V11.9447ZM12 16.1391L11.1905 16.6554V17.2671L12 17.7834L12.8095 17.2671V16.6554L12 16.1391Z`,`M6 2H14L20 8V20C20 21.1 19.1 22 18 22H5.99C4.89 22 4 21.1 4 20L4.01 4C4.01 2.9 4.9 2 6 2ZM6 4V20H18V9H13V4H6Z`]},t={name:`snail`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M6.29749 11.9471C6.2948 9.93241 7.93578 8.29479 9.96793 8.29748C11.5242 8.29954 12.7828 9.55656 12.7849 11.0977C12.7864 12.2584 11.8431 13.2017 10.6691 13.2001C9.79977 13.1989 9.10039 12.4985 9.09926 11.6409C9.09846 11.0296 9.59721 10.5288 10.2191 10.5296L10.2209 9.23213C8.88694 9.23036 7.80002 10.3075 7.80179 11.6426C7.80386 13.2213 9.08874 14.4955 10.6674 14.4976C12.5534 14.5001 14.0849 12.9806 14.0823 11.096C14.0793 8.83371 12.2353 7.003 9.96964 7C7.22551 6.99637 4.99635 9.2103 5.00001 11.9488C5.00225 13.627 5.69408 15.003 6.81988 15.9494C6.87383 15.9948 6.92869 16.0391 6.98444 16.0823H5V17.3798H8.89361H11.064L11.7113 17.3807L11.7113 17.3798H14.0835C15.8488 17.3798 17.0578 16.6326 17.8249 15.6777C18.5716 14.7481 18.8841 13.6453 18.9468 12.8925L18.9991 12H17.6538V12.7848C17.6084 13.3295 17.3695 14.1728 16.8133 14.8651C16.4023 15.3768 15.8091 15.8198 14.9461 15.9983C15.0463 15.8947 15.1404 15.7876 15.2287 15.6777C15.9755 14.7481 16.2879 13.6453 16.3507 12.8925V12L15.0577 12V12.7848C15.0123 13.3295 14.7733 14.1728 14.2172 14.8651C13.6814 15.5321 12.8361 16.0823 11.4874 16.0823H11.0643C9.69666 16.0805 8.49915 15.6661 7.65481 14.9563C6.82108 14.2554 6.29922 13.2418 6.29749 11.9471Z`},n={name:`sharepoint`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M8.84647 16H4.66655C4.29842 16 4 15.7016 4 15.3335V8.66653C4 8.2984 4.29842 7.99998 4.66655 7.99998H6.89935C7.18444 5.32976 9.44458 3.25 12.1905 3.25C14.9532 3.25 17.2243 5.35539 17.4866 8.04926C19.4888 8.68036 20.9405 10.551 20.9405 12.762C20.9405 15.2708 19.0705 17.3428 16.6483 17.6603C16.2407 19.4305 14.6556 20.75 12.7619 20.75C10.5593 20.75 8.7738 18.9645 8.7738 16.7619C8.7738 16.5013 8.79878 16.2466 8.84647 16ZM15.9384 7.82184C15.59 6.07024 14.0444 4.75 12.1905 4.75C10.2742 4.75 8.68729 6.16053 8.41147 7.99998H11.3335C11.7016 7.99998 12 8.2984 12 8.66653V9.86164C12.8867 8.64079 14.3188 7.84163 15.9384 7.82184ZM12 14.3924V15.3335C12 15.7016 11.7016 16 11.3335 16H10.3926C10.3155 16.2402 10.2738 16.4962 10.2738 16.7619C10.2738 18.136 11.3878 19.25 12.7619 19.25C14.0866 19.25 15.17 18.2143 15.2458 16.909C15.2486 16.8604 15.25 16.8114 15.25 16.7619C15.25 15.3878 14.136 14.2738 12.7619 14.2738C12.5318 14.2738 12.3101 14.3048 12.1003 14.3625C12.0666 14.3718 12.0331 14.3818 12 14.3924ZM16.7004 16.1311C16.398 14.2283 14.7498 12.7738 12.7619 12.7738C12.6941 12.7738 12.6266 12.7755 12.5596 12.7789L12.5595 12.762C12.5595 10.8618 14.0999 9.32147 16 9.32147C16.2144 9.32147 16.4236 9.34098 16.626 9.37814C18.2272 9.67206 19.4405 11.0761 19.4405 12.762C19.4405 14.4221 18.2647 15.8076 16.7004 16.1311ZM6.46824 11.4918C6.56753 11.6612 6.70423 11.8057 6.86787 11.9142C7.08025 12.0538 7.306 12.1718 7.54178 12.2666C7.83816 12.3913 8.06255 12.4918 8.21493 12.568C8.347 12.6303 8.46766 12.7144 8.57189 12.8167C8.65569 12.8999 8.70239 13.0133 8.70141 13.1314C8.70519 13.3011 8.6153 13.459 8.4675 13.5424C8.25651 13.6527 8.01935 13.703 7.78178 13.688C7.52508 13.684 7.2703 13.6432 7.0252 13.5668C6.77927 13.4984 6.5472 13.3876 6.33948 13.2392V14.163C6.55679 14.2573 6.78493 14.3244 7.01872 14.3626C7.2956 14.4095 7.576 14.4325 7.85682 14.4312C8.16981 14.436 8.48156 14.3907 8.78026 14.2971C9.03421 14.2185 9.25943 14.067 9.42789 13.8613C9.59689 13.6376 9.68258 13.362 9.67017 13.0819C9.67915 12.8562 9.62647 12.6323 9.51779 12.4342C9.41179 12.2596 9.26581 12.1125 9.09188 12.0053C8.86221 11.8665 8.62107 11.7476 8.37111 11.6499C8.34481 11.6369 8.31755 11.6259 8.28959 11.6171C8.03562 11.5122 7.84514 11.4281 7.71815 11.3649C7.60403 11.3116 7.50072 11.2377 7.41339 11.147C7.33945 11.07 7.29844 10.9673 7.2991 10.8605C7.29944 10.6846 7.4042 10.5256 7.56577 10.4559C7.77503 10.3539 8.00623 10.3049 8.23892 10.3135C8.45957 10.313 8.67947 10.3394 8.89378 10.3919C9.09129 10.4383 9.28027 10.5154 9.45378 10.6205V9.74433C9.05445 9.61434 8.63536 9.55566 8.21568 9.57099C7.89655 9.56756 7.57902 9.61673 7.27586 9.71651C7.00986 9.8005 6.77193 9.9557 6.58786 10.1653C6.41269 10.3746 6.32062 10.641 6.32919 10.9139C6.32409 11.1153 6.37204 11.3146 6.46824 11.4918Z`},r={name:`tutorials`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M8 2H20C21.1 2 22 2.9 22 4V16C22 17.1 21.1 18 20 18H8C6.9 18 6 17.1 6 16V4C6 2.9 6.9 2 8 2ZM2 6H4V20H18V22H4C2.9 22 2 21.1 2 20V6ZM20 16H8V4H20V16ZM12 14.5V5.5L18 10L12 14.5Z`},i={name:`small_portal`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M6.49858 7.71843L16.9216 1.7597C17.3639 1.50707 17.9162 1.82349 17.9167 2.33013L17.9164 14.2666C17.9169 14.6203 17.7383 14.947 17.4296 15.1237L7.00638 21.082C6.56424 21.3348 6.00046 21.0184 6 20.5118V8.57533C5.99954 8.22164 6.18985 7.89493 6.49858 7.71843Z`},a={name:`sort_small`,prefix:`amplify`,height:`10`,width:`10`,svgPathData:`M 1.0039 6 H 6.3448 V 7.5 H 1.0039 V 6 Z M 1.0039 2.5 H 9.01 V 4 H 1.0039 V 2.5 Z`},o={name:`info`,prefix:`amplify`,height:`10`,width:`10`,svgPathData:`M 4.1013 0.5 L 5.9013 0.5 L 5.9013 2.3 H 4.1013 L 4.1013 0.5 Z M 4.1013 4.1001 H 5.9013 L 5.9013 9.5001 H 4.1013 L 4.1013 4.1001 Z`},s={name:`resources`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M11.5 20.3982V23.9982L12.93 23.3082C18.06 20.8382 21.5 15.8582 21.5 10.9082C21.5 5.6682 17.24 1.4082 12 1.4082C6.76 1.4082 2.5 5.6682 2.5 10.9082C2.5 15.9782 6.49 20.1382 11.5 20.3982ZM4.5 10.9082C4.5 6.7682 7.86 3.4082 12 3.4082C16.14 3.4082 19.5 6.7682 19.5 10.9082C19.5 14.6282 17.14 18.4082 13.5 20.7082V18.4082H12C7.86 18.4082 4.5 15.0482 4.5 10.9082ZM13 14.9082V16.9082H11V14.9082H13ZM12.7704 10.2299C11.9421 10.8648 11 11.5869 11 13.4082H13C13 12.3128 13.711 11.6915 14.4408 11.0537C15.21 10.3815 16 9.69112 16 8.4082C16 6.1982 14.21 4.4082 12 4.4082C9.79 4.4082 8 6.1982 8 8.4082H10C10 7.3082 10.9 6.4082 12 6.4082C13.1 6.4082 14 7.3082 14 8.4082C14 9.28742 13.4202 9.73181 12.7704 10.2299Z`},c={name:`overview`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M5 9L5 5L9 5L9 9L5 9ZM3 4C3 3.44772 3.44772 3 4 3L10 3C10.5523 3 11 3.44772 11 4L11 10C11 10.5523 10.5523 11 10 11L4 11C3.44772 11 3 10.5523 3 10L3 4ZM15 9L15 5L19 5L19 9L15 9ZM13 4C13 3.44772 13.4477 3 14 3L20 3C20.5523 3 21 3.44772 21 4L21 10C21 10.5523 20.5523 11 20 11L14 11C13.4477 11 13 10.5523 13 10L13 4ZM5 15L5 19L9 19L9 15L5 15ZM4 13C3.44772 13 3 13.4477 3 14L3 20C3 20.5523 3.44772 21 4 21L10 21C10.5523 21 11 20.5523 11 20L11 14C11 13.4477 10.5523 13 10 13L4 13ZM15 19L15 15L19 15L19 19L15 19ZM13 14C13 13.4477 13.4477 13 14 13L20 13C20.5523 13 21 13.4477 21 14L21 20C21 20.5523 20.5523 21 20 21L14 21C13.4477 21 13 20.5523 13 20L13 14Z`},l={name:`shield_person`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M9.5125 11.9875C10.1875 12.6625 11.0167 13 12 13C12.9833 13 13.8125 12.6625 14.4875 11.9875C15.1625 11.3125 15.5 10.4833 15.5 9.5C15.5 8.51667 15.1625 7.6875 14.4875 7.0125C13.8125 6.3375 12.9833 6 12 6C11.0167 6 10.1875 6.3375 9.5125 7.0125C8.8375 7.6875 8.5 8.51667 8.5 9.5C8.5 10.4833 8.8375 11.3125 9.5125 11.9875ZM13.075 10.575C12.7917 10.8583 12.4333 11 12 11C11.5667 11 11.2083 10.8583 10.925 10.575C10.6417 10.2917 10.5 9.93333 10.5 9.5C10.5 9.06667 10.6417 8.70833 10.925 8.425C11.2083 8.14167 11.5667 8 12 8C12.4333 8 12.7917 8.14167 13.075 8.425C13.3583 8.70833 13.5 9.06667 13.5 9.5C13.5 9.93333 13.3583 10.2917 13.075 10.575ZM6.2625 18.0125C7.77083 20.0875 9.68333 21.4167 12 22C14.3167 21.4167 16.2292 20.0875 17.7375 18.0125C19.2458 15.9375 20 13.6333 20 11.1V5L12 2L4 5V11.1C4 13.6333 4.75417 15.9375 6.2625 18.0125ZM6 6.375L12 4.125L18 6.375V11.1C18 12 17.875 12.875 17.625 13.725C17.375 14.575 17.0333 15.375 16.6 16.125C15.9 15.775 15.1667 15.5 14.4 15.3C13.6333 15.1 12.8333 15 12 15C11.1667 15 10.3667 15.1 9.6 15.3C8.83333 15.5 8.1 15.775 7.4 16.125C6.96667 15.375 6.625 14.575 6.375 13.725C6.125 12.875 6 12 6 11.1V6.375ZM10.25 17.2C10.8167 17.0667 11.4 17 12 17C12.6 17 13.1833 17.0667 13.75 17.2C14.3167 17.3333 14.8583 17.5167 15.375 17.75C14.8917 18.25 14.3667 18.6833 13.8 19.05C13.2333 19.4167 12.6333 19.7 12 19.9C11.3667 19.7 10.7667 19.4167 10.2 19.05C9.63333 18.6833 9.10833 18.25 8.625 17.75C9.14167 17.5167 9.68333 17.3333 10.25 17.2Z`},u={name:`merged`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M11.4286 11.4088H14.525C14.9643 10.4286 15.9714 9.69169 17.1429 9.69169C18.7214 9.69169 20 11.0046 20 12.5535C20 14.1669 18.7214 15.4476 17.1429 15.4476C15.9714 15.4476 14.9643 14.7428 14.525 13.6983H11.4286C10.1107 13.6983 8.95357 13.3048 8 12.5857V15.6873C9.01071 16.1273 9.71429 17.1361 9.71429 18.3094C9.71429 19.8906 8.43571 21.1713 6.85714 21.1713C5.27929 21.1713 4 19.8906 4 18.3094C4 17.1361 4.70536 16.1273 5.71429 15.6873V8.33947C4.70536 7.86727 4 6.89067 4 5.71731C4 4.13686 5.27929 2.85547 6.85714 2.85547C8.43571 2.85547 9.71429 4.13686 9.71429 5.71731C9.71429 6.88351 9.01786 7.88873 8.01429 8.3359C8.17857 10.078 9.64643 11.441 11.4286 11.441V11.4088ZM6.85714 6.54367C7.33036 6.54367 7.71429 6.1913 7.71429 5.68512C7.71429 5.24296 7.33036 4.82656 6.85714 4.82656C6.38393 4.82656 6 5.24296 6 5.68512C6 6.1913 6.38393 6.54367 6.85714 6.54367ZM6.85714 19.168C7.33036 19.168 7.71429 18.7852 7.71429 18.3094C7.71429 17.8336 7.33036 17.4509 6.85714 17.4509C6.38393 17.4509 6 17.8336 6 18.3094C6 18.7852 6.38393 19.168 6.85714 19.168ZM17.1429 11.695C16.6679 11.695 16.2857 12.11 16.2857 12.5535C16.2857 13.0615 16.6679 13.4121 17.1429 13.4121C17.6179 13.4121 18 13.0615 18 12.5535C18 12.11 17.6179 11.695 17.1429 11.695Z`},d={name:`branch`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M10 6.65625C10 7.74531 9.38437 8.65176 8.5 9.09004V12.0053C9.0875 11.6434 9.77188 11.4375 10.5 11.4375H13.5C14.6031 11.4375 15.5 10.4846 15.5 9.3125V9.09004C14.6156 8.65176 14 7.74531 14 6.65625C14 5.18934 15.1187 4 16.5 4C17.8813 4 19 5.18934 19 6.65625C19 7.74531 18.3844 8.65176 17.5 9.09004V9.3125C17.5 11.66 15.7094 13.5625 13.5 13.5625H10.5C9.39688 13.5625 8.5 14.5154 8.5 15.6875V15.91C9.38437 16.3184 10 17.2547 10 18.3438C10 19.8113 8.88125 21 7.5 21C6.11937 21 5 19.8113 5 18.3438C5 17.2547 5.61719 16.3184 6.5 15.91V9.09004C5.61719 8.65176 5 7.74531 5 6.65625C5 5.18934 6.11937 4 7.5 4C8.88125 4 10 5.18934 10 6.65625ZM7.5 7.45312C7.91406 7.45312 8.25 7.09619 8.25 6.65625C8.25 6.21631 7.91406 5.85938 7.5 5.85938C7.08594 5.85938 6.75 6.21631 6.75 6.65625C6.75 7.09619 7.08594 7.45312 7.5 7.45312ZM16.5 5.85938C16.0844 5.85938 15.75 6.21631 15.75 6.65625C15.75 7.09619 16.0844 7.45312 16.5 7.45312C16.9156 7.45312 17.25 7.09619 17.25 6.65625C17.25 6.21631 16.9156 5.85938 16.5 5.85938ZM7.5 19.1406C7.91406 19.1406 8.25 18.7854 8.25 18.3438C8.25 17.9021 7.91406 17.5469 7.5 17.5469C7.08594 17.5469 6.75 17.9021 6.75 18.3438C6.75 18.7854 7.08594 19.1406 7.5 19.1406Z`},f={name:`arrow_up_down`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M7.33203 7.56808L11.2431 3.66675L15.1543 7.56808H12.2209V7.57787V14.4223V14.4321H15.1543L11.2431 18.3334L7.33203 14.4321H10.2654V14.4223V7.57787V7.56808H7.33203Z`},p={name:`drag_handle`,prefix:`amplify`,height:`24`,width:`24`,svgPathData:`M9 20C8.45 20 7.97917 19.8042 7.5875 19.4125C7.19583 19.0208 7 18.55 7 18C7 17.45 7.19583 16.9792 7.5875 16.5875C7.97917 16.1958 8.45 16 9 16C9.55 16 10.0208 16.1958 10.4125 16.5875C10.8042 16.9792 11 17.45 11 18C11 18.55 10.8042 19.0208 10.4125 19.4125C10.0208 19.8042 9.55 20 9 20ZM15 20C14.45 20 13.9792 19.8042 13.5875 19.4125C13.1958 19.0208 13 18.55 13 18C13 17.45 13.1958 16.9792 13.5875 16.5875C13.9792 16.1958 14.45 16 15 16C15.55 16 16.0208 16.1958 16.4125 16.5875C16.8042 16.9792 17 17.45 17 18C17 18.55 16.8042 19.0208 16.4125 19.4125C16.0208 19.8042 15.55 20 15 20ZM9 14C8.45 14 7.97917 13.8042 7.5875 13.4125C7.19583 13.0208 7 12.55 7 12C7 11.45 7.19583 10.9792 7.5875 10.5875C7.97917 10.1958 8.45 10 9 10C9.55 10 10.0208 10.1958 10.4125 10.5875C10.8042 10.9792 11 11.45 11 12C11 12.55 10.8042 13.0208 10.4125 13.4125C10.0208 13.8042 9.55 14 9 14ZM15 14C14.45 14 13.9792 13.8042 13.5875 13.4125C13.1958 13.0208 13 12.55 13 12C13 11.45 13.1958 10.9792 13.5875 10.5875C13.9792 10.1958 14.45 10 15 10C15.55 10 16.0208 10.1958 16.4125 10.5875C16.8042 10.9792 17 11.45 17 12C17 12.55 16.8042 13.0208 16.4125 13.4125C16.0208 13.8042 15.55 14 15 14ZM9 8C8.45 8 7.97917 7.80417 7.5875 7.4125C7.19583 7.02083 7 6.55 7 6C7 5.45 7.19583 4.97917 7.5875 4.5875C7.97917 4.19583 8.45 4 9 4C9.55 4 10.0208 4.19583 10.4125 4.5875C10.8042 4.97917 11 5.45 11 6C11 6.55 10.8042 7.02083 10.4125 7.4125C10.0208 7.80417 9.55 8 9 8ZM15 8C14.45 8 13.9792 7.80417 13.5875 7.4125C13.1958 7.02083 13 6.55 13 6C13 5.45 13.1958 4.97917 13.5875 4.5875C13.9792 4.19583 14.45 4 15 4C15.55 4 16.0208 4.19583 16.4125 4.5875C16.8042 4.97917 17 5.45 17 6C17 6.55 16.8042 7.02083 16.4125 7.4125C16.0208 7.80417 15.55 8 15 8Z`};export{e as amplify_aml,f as amplify_arrow_up_down,d as amplify_branch,p as amplify_drag_handle,o as amplify_info_small,u as amplify_merged,c as amplify_overview,s as amplify_resources,n as amplify_sharepoint,l as amplify_shield_person,i as amplify_small_portal,t as amplify_snail,a as amplify_sort_small,r as amplify_tutorials};
|
package/dist/atoms/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ import { EnvironmentType } from "./enums/Environment.js";
|
|
|
33
33
|
import { SpacingsMode } from "./enums/SpacingsMode.js";
|
|
34
34
|
import { amplify_failure, amplify_lwd, amplify_success, amplify_wellbore, amplify_wireline, amplify_wireline_cased_hole, amplify_wireline_open_hole } from "./icons/drilling.js";
|
|
35
35
|
import { amplify_calculator, amplify_overlay, amplify_sidebyside } from "./icons/map.js";
|
|
36
|
-
import { amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_info_small, amplify_merged, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_tutorials } from "./icons/other.js";
|
|
36
|
+
import { amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_drag_handle, amplify_info_small, amplify_merged, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_tutorials } from "./icons/other.js";
|
|
37
37
|
import { amplify_h1, amplify_h2, amplify_h3, amplify_h4, amplify_table_add_column_left, amplify_table_add_column_right, amplify_table_add_row_above, amplify_table_add_row_below, amplify_table_column_heading, amplify_table_merge_cells, amplify_table_remove_column, amplify_table_remove_row, amplify_table_row_heading, amplify_table_split_cell } from "./icons/wysiwyg.js";
|
|
38
38
|
import { auth, environment } from "./utils/auth_environment.js";
|
|
39
39
|
import { formatLatLng, formatUtm } from "./utils/coordinate.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react1 from "react";
|
|
2
2
|
import { IconData } from "@equinor/eds-icons";
|
|
3
3
|
|
|
4
4
|
//#region src/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts
|
|
@@ -12,6 +12,6 @@ interface ExpandingIconButtonProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated Being deprecated from amplify-component-lib move into app if you want the implementation
|
|
14
14
|
*/
|
|
15
|
-
declare const ExpandingIconButton:
|
|
15
|
+
declare const ExpandingIconButton: react1.ForwardRefExoticComponent<ExpandingIconButtonProps & react1.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ExpandingIconButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import { IconData } from "@equinor/eds-icons";
|
|
3
3
|
|
|
4
4
|
//#region src/deprecated/IconToggleButton.d.ts
|
|
@@ -21,6 +21,6 @@ interface IconToggleButtonProps {
|
|
|
21
21
|
/**
|
|
22
22
|
* @deprecated Being deprecated from amplify-component-lib move into app if you want the implementation
|
|
23
23
|
*/
|
|
24
|
-
declare const IconToggleButton:
|
|
24
|
+
declare const IconToggleButton: react0.ForwardRefExoticComponent<IconToggleButtonProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { IconToggleButton };
|
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ import { EnvironmentType } from "./atoms/enums/Environment.js";
|
|
|
41
41
|
import { SpacingsMode } from "./atoms/enums/SpacingsMode.js";
|
|
42
42
|
import { amplify_failure, amplify_lwd, amplify_success, amplify_wellbore, amplify_wireline, amplify_wireline_cased_hole, amplify_wireline_open_hole } from "./atoms/icons/drilling.js";
|
|
43
43
|
import { amplify_calculator, amplify_overlay, amplify_sidebyside } from "./atoms/icons/map.js";
|
|
44
|
-
import { amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_info_small, amplify_merged, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_tutorials } from "./atoms/icons/other.js";
|
|
44
|
+
import { amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_drag_handle, amplify_info_small, amplify_merged, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_tutorials } from "./atoms/icons/other.js";
|
|
45
45
|
import { amplify_h1, amplify_h2, amplify_h3, amplify_h4, amplify_table_add_column_left, amplify_table_add_column_right, amplify_table_add_row_above, amplify_table_add_row_below, amplify_table_column_heading, amplify_table_merge_cells, amplify_table_remove_column, amplify_table_remove_row, amplify_table_row_heading, amplify_table_split_cell } from "./atoms/icons/wysiwyg.js";
|
|
46
46
|
import { auth, environment } from "./atoms/utils/auth_environment.js";
|
|
47
47
|
import { formatLatLng, formatUtm } from "./atoms/utils/coordinate.js";
|
|
@@ -135,4 +135,4 @@ import { Card, CardProps, DataGridProps } from "./organisms/index.js";
|
|
|
135
135
|
import { ExpandingIconButton } from "./deprecated/ExpandingIconButton/ExpandingIconButton.js";
|
|
136
136
|
import { IconToggleButton } from "./deprecated/IconToggleButton.js";
|
|
137
137
|
import { OldStepper } from "./deprecated/OldStepper/OldStepper.js";
|
|
138
|
-
export { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, AmplifyBar, AmplifyKit, AnimatedCheckmark, ApiResponseError, AppIconProps, ApplicationIcon, ApplicationIconProps, AuthProvider, BadRequest, Badge, BadgeProps, Banner, BannerProps, BaseChipProps, BasicSideBarMenuItem, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, CircularProgress, CircularProgressProps, ComboBox, ComboBoxChip, ComboBoxProps, Confetti, ConfettiBoomProps, ConfettiProps, ConfettiProvider, ConfettiShowerProps, ContentProps, DEFAULT_FEATURES, DataGrid, DataGridProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Dialog, DialogAction, DialogProps, Divider, DividerProps, DotProgress, DotProgressProps, EDSDialog, EDSDialogProps, EditorMenu, EditorPanel, EditorText, ElementItem, Empty, EnvironmentType, EquinorLogo, EquinorLogoProps, ErrorContentType, ErrorType, ExpandingIconButton, Faq, FeaturesProps, FeedBackIcon, FeedBackIconProps, Field, FieldSelector, FieldSelectorProps, FileProgress, FileProgressProps, FileProgressPropsExtension, FileUploadArea, FileUploadAreaProps, Filter, FilterType, FullPageSpinner, FullPageSpinnerProps, GenericError, GuidelineItem, GuidelineSections, IMG_WITH_ALT, IMG_WITH_SRC_AND_ALT, Icon, IconButton, IconButtonProps, IconCell, IconCellColor, IconCellColorObject, IconCellColors, IconCellProps, IconCellState, IconCellStates, IconCellVariant, IconCellVariants, IconItem, IconProps, IconToggleButton, ImageExtensionFnProps, InfoElement, InfoElementProps, InformationalNotice, InformationalNoticeProps, ItemType, LinearProgress, LinearProgressProps, ListItem, ListItemProps, LoadingProvider, Menu, MenuProps, MissingAccessToApp, MissingPermissions, OldStepper, OptionDrawer, OptionDrawerProps, OptionDrawerSelectItem, OptionalTooltip, OptionalTooltipProps, PageNotFound, PageTitle, PersistentComboBox, PersistentComboBoxProps, ProfileAvatar, ProfileAvatarProps, Radio, RadioProps, ReleaseNote, ReleaseNoteProps, ReleaseNotesPage, ReleaseNotesProvider, RichText, RichTextDisplay, RichTextDisplayProps, RichTextEditor, RichTextEditorFeatures, RichTextEditorProps, Search, SearchProps, SelectOption, SelectOptionRequired, ServerError, SettingsSection, SideBar, SideBarMenuItem, SideBarMenuItemWithItems, SideBarProvider, SideSheet, SideSheetProps, SingleSelect, SingleSelectProps, SizeIconProps, SkeletonBase, SkeletonBaseProps, SkeletonGradient, SkeletonGradientProps, SnackbarProvider, SpacingsMode, Status, Stepper, StepperProps, StepperProvider, SurveyProvider, Switch, SwitchProps, Tab, TableHeader, TableHeaderProps, TableMenuBar, TableOfContents, TableOfContentsItemType, TableOfContentsProps, TableOfContentsProvider, Tabs, TabsProps, Tag, TagProps, Template, TemplateType, TextField, TextFieldProps, TextTable, Theme, ThemeProvider, Toast, ToastProps, ToastProvider, ToggleGroup, TopBar, TutorialHighlight, TutorialHighlightingProvider, Typography, TypographyProps, Waves, amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_calculator, amplify_failure, amplify_h1, amplify_h2, amplify_h3, amplify_h4, amplify_info_small, amplify_lwd, amplify_merged, amplify_overlay, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_sidebyside, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_success, amplify_table_add_column_left, amplify_table_add_column_right, amplify_table_add_row_above, amplify_table_add_row_below, amplify_table_column_heading, amplify_table_merge_cells, amplify_table_remove_column, amplify_table_remove_row, amplify_table_row_heading, amplify_table_split_cell, amplify_tutorials, amplify_wellbore, amplify_wireline, amplify_wireline_cased_hole, amplify_wireline_open_hole, animation, auth, capitalize, cleanRichTextValue, colors, convertLatLngToUtm, convertUtmToLatLng, defaultQueryOptions, degrees2radians, distanceLatLng, elevation, environment, exportComponent, extractImageUrls, formatBytes, formatDataSize, formatDate, formatDateTime, formatKiloBytes, formatLatLng, formatRelativeDateTime, formatUtm, getFeatures, getHighlightElementBoundingBox, getImagesFromRichText, getVariantIcon, highlightTutorialElementID, imageToB64, isBetweenDates, isValidUrl, setupIcons, shape, skeletonBaseloading, sortByDate, sortByWellboreName, spacings, style, typography, useAmplifyKit, useAuth, useConfetti, useDebounce, useFakeProgress, useFaqsInApplication, useLocalStorage, useNotification, useOnScreenMultiple, usePrefetchRichTextImages, usePrevious, useReleaseNotes, useSelect, useSideBar, useSnackbar, useStatusNavigation, useStepper, useTableOfContents, useThemeProvider, useToasts, utmProjection };
|
|
138
|
+
export { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, AmplifyBar, AmplifyKit, AnimatedCheckmark, ApiResponseError, AppIconProps, ApplicationIcon, ApplicationIconProps, AuthProvider, BadRequest, Badge, BadgeProps, Banner, BannerProps, BaseChipProps, BasicSideBarMenuItem, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, CircularProgress, CircularProgressProps, ComboBox, ComboBoxChip, ComboBoxProps, Confetti, ConfettiBoomProps, ConfettiProps, ConfettiProvider, ConfettiShowerProps, ContentProps, DEFAULT_FEATURES, DataGrid, DataGridProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Dialog, DialogAction, DialogProps, Divider, DividerProps, DotProgress, DotProgressProps, EDSDialog, EDSDialogProps, EditorMenu, EditorPanel, EditorText, ElementItem, Empty, EnvironmentType, EquinorLogo, EquinorLogoProps, ErrorContentType, ErrorType, ExpandingIconButton, Faq, FeaturesProps, FeedBackIcon, FeedBackIconProps, Field, FieldSelector, FieldSelectorProps, FileProgress, FileProgressProps, FileProgressPropsExtension, FileUploadArea, FileUploadAreaProps, Filter, FilterType, FullPageSpinner, FullPageSpinnerProps, GenericError, GuidelineItem, GuidelineSections, IMG_WITH_ALT, IMG_WITH_SRC_AND_ALT, Icon, IconButton, IconButtonProps, IconCell, IconCellColor, IconCellColorObject, IconCellColors, IconCellProps, IconCellState, IconCellStates, IconCellVariant, IconCellVariants, IconItem, IconProps, IconToggleButton, ImageExtensionFnProps, InfoElement, InfoElementProps, InformationalNotice, InformationalNoticeProps, ItemType, LinearProgress, LinearProgressProps, ListItem, ListItemProps, LoadingProvider, Menu, MenuProps, MissingAccessToApp, MissingPermissions, OldStepper, OptionDrawer, OptionDrawerProps, OptionDrawerSelectItem, OptionalTooltip, OptionalTooltipProps, PageNotFound, PageTitle, PersistentComboBox, PersistentComboBoxProps, ProfileAvatar, ProfileAvatarProps, Radio, RadioProps, ReleaseNote, ReleaseNoteProps, ReleaseNotesPage, ReleaseNotesProvider, RichText, RichTextDisplay, RichTextDisplayProps, RichTextEditor, RichTextEditorFeatures, RichTextEditorProps, Search, SearchProps, SelectOption, SelectOptionRequired, ServerError, SettingsSection, SideBar, SideBarMenuItem, SideBarMenuItemWithItems, SideBarProvider, SideSheet, SideSheetProps, SingleSelect, SingleSelectProps, SizeIconProps, SkeletonBase, SkeletonBaseProps, SkeletonGradient, SkeletonGradientProps, SnackbarProvider, SpacingsMode, Status, Stepper, StepperProps, StepperProvider, SurveyProvider, Switch, SwitchProps, Tab, TableHeader, TableHeaderProps, TableMenuBar, TableOfContents, TableOfContentsItemType, TableOfContentsProps, TableOfContentsProvider, Tabs, TabsProps, Tag, TagProps, Template, TemplateType, TextField, TextFieldProps, TextTable, Theme, ThemeProvider, Toast, ToastProps, ToastProvider, ToggleGroup, TopBar, TutorialHighlight, TutorialHighlightingProvider, Typography, TypographyProps, Waves, amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_calculator, amplify_drag_handle, amplify_failure, amplify_h1, amplify_h2, amplify_h3, amplify_h4, amplify_info_small, amplify_lwd, amplify_merged, amplify_overlay, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_sidebyside, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_success, amplify_table_add_column_left, amplify_table_add_column_right, amplify_table_add_row_above, amplify_table_add_row_below, amplify_table_column_heading, amplify_table_merge_cells, amplify_table_remove_column, amplify_table_remove_row, amplify_table_row_heading, amplify_table_split_cell, amplify_tutorials, amplify_wellbore, amplify_wireline, amplify_wireline_cased_hole, amplify_wireline_open_hole, animation, auth, capitalize, cleanRichTextValue, colors, convertLatLngToUtm, convertUtmToLatLng, defaultQueryOptions, degrees2radians, distanceLatLng, elevation, environment, exportComponent, extractImageUrls, formatBytes, formatDataSize, formatDate, formatDateTime, formatKiloBytes, formatLatLng, formatRelativeDateTime, formatUtm, getFeatures, getHighlightElementBoundingBox, getImagesFromRichText, getVariantIcon, highlightTutorialElementID, imageToB64, isBetweenDates, isValidUrl, setupIcons, shape, skeletonBaseloading, sortByDate, sortByWellboreName, spacings, style, typography, useAmplifyKit, useAuth, useConfetti, useDebounce, useFakeProgress, useFaqsInApplication, useLocalStorage, useNotification, useOnScreenMultiple, usePrefetchRichTextImages, usePrevious, useReleaseNotes, useSelect, useSideBar, useSnackbar, useStatusNavigation, useStepper, useTableOfContents, useThemeProvider, useToasts, utmProjection };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnvironmentType as e}from"./atoms/enums/Environment.js";import{auth as t,environment as n}from"./atoms/utils/auth_environment.js";import{animation as r}from"./atoms/style/animation.js";import{colors as i}from"./atoms/style/colors.js";import{spacings as a}from"./atoms/style/spacings.js";import{elevation as o,shape as s,typography as c}from"./atoms/style/index.js";import{FullPageSpinner as l}from"./molecules/FullPageSpinner/FullPageSpinner.js";import{formatLatLng as u,formatUtm as d}from"./atoms/utils/coordinate.js";import{formatDate as f,formatDateTime as p,formatRelativeDateTime as m,isBetweenDates as h}from"./atoms/utils/date.js";import{exportComponent as g}from"./atoms/utils/export.js";import{setupIcons as _}from"./atoms/utils/favicon.js";import{convertLatLngToUtm as v,convertUtmToLatLng as y,degrees2radians as b,distanceLatLng as x,utmProjection as S}from"./atoms/utils/map.js";import{defaultQueryOptions as C}from"./atoms/utils/reactquery.js";import{DEFAULT_FEATURES as w,RichTextEditorFeatures as T}from"./molecules/RichTextEditor/RichTextEditor.types.js";import{IMG_WITH_ALT as E,IMG_WITH_SRC_AND_ALT as D,cleanRichTextValue as O,extractImageUrls as k,getFeatures as A,getImagesFromRichText as j,imageToB64 as M}from"./atoms/utils/richtext.js";import{formatBytes as N,formatDataSize as P,formatKiloBytes as F}from"./atoms/utils/size.js";import{sortByDate as I,sortByWellboreName as L}from"./atoms/utils/sort.js";import{Empty as R,capitalize as z}from"./atoms/utils/string.js";import{isValidUrl as B}from"./atoms/utils/url.js";import{getHighlightElementBoundingBox as V,highlightTutorialElementID as H}from"./atoms/utils/tutorials.js";import{getVariantIcon as U}from"./atoms/utils/forms.js";import{Status as W}from"./organisms/Status/index.js";import{MissingAccessToApp as G}from"./organisms/Status/collections/MissingAccessToApp.js";import{AuthProvider as K,useAuth as q}from"./providers/AuthProvider/AuthProvider.js";import{SideBarProvider as J,useSideBar as Y}from"./providers/SideBarProvider.js";import{SnackbarProvider as X,useSnackbar as Z}from"./providers/SnackbarProvider/SnackbarProvider.js";import{useOnScreenMultiple as Q}from"./atoms/hooks/useOnScreenMultiple.js";import{TableOfContentsProvider as $,useTableOfContents as ee}from"./providers/TableOfContentsProvider.js";import{useLocalStorage as te}from"./atoms/hooks/useLocalStorage.js";import{AmplifyKit as ne}from"./molecules/RichTextEditor/custom-extensions/AmplifyKit.js";import{useAmplifyKit as re}from"./atoms/hooks/useAmplifyKit.js";import{useDebounce as ie}from"./atoms/hooks/useDebounce.js";import{useFakeProgress as ae}from"./atoms/hooks/useFakeProgress.js";import{usePrevious as oe}from"./atoms/hooks/usePrevious.js";import{useSelect as se}from"./atoms/hooks/useSelect.js";import{useStatusNavigation as ce}from"./atoms/hooks/useStatusNavigation.js";import{useNotification as le}from"./organisms/TopBar/Notifications/NotificationProvider.js";import{StepperProvider as ue,useStepper as de}from"./providers/StepperProvider.js";import{Theme as fe}from"./atoms/enums/Theme.js";import{ThemeProvider as pe,useThemeProvider as me}from"./providers/ThemeProvider/ThemeProvider.js";import{usePrefetchRichTextImages as he}from"./atoms/hooks/usePrefetchRichTextImages.js";import{useFaqsInApplication as ge}from"./atoms/hooks/useFaqsInApplication.js";import{AnimatedCheckmark as _e}from"./molecules/AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as ve}from"./molecules/ApplicationIcon/ApplicationIcon.js";import{Badge as ye}from"./molecules/Badge/Badge.js";import{Banner as be}from"./molecules/Banner/Banner.js";import{Button as xe}from"./molecules/Button/Button.js";import{IconButton as Se}from"./molecules/Button/IconButton/IconButton.js";import{Chip as Ce}from"./molecules/Chip/Chip.js";import{Confetti as we}from"./molecules/Confetti/Confetti.js";import{SkeletonBase as Te,skeletonBaseloading as Ee}from"./molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{DatePicker as De}from"./molecules/DatePicker/DatePicker.js";import{DateRangePicker as Oe}from"./molecules/DateRangePicker/DateRangePicker.js";import{OptionalTooltip as ke}from"./molecules/OptionalTooltip/OptionalTooltip.js";import{Dialog as Ae}from"./molecules/Dialog/Dialog.js";import{EquinorLogo as je}from"./molecules/EquinorLogo/EquinorLogo.js";import{FileProgress as Me}from"./molecules/FileProgress/FileProgress.js";import{FileUploadArea as Ne}from"./molecules/FileUploadArea/FileUploadArea.js";import{IconCellColors as Pe,IconCellStates as Fe,IconCellVariants as Ie}from"./molecules/IconCell/IconCell.types.js";import{ErrorType as Le}from"./atoms/enums/Errors.js";import{SpacingsMode as Re}from"./atoms/enums/SpacingsMode.js";import{IconCell as ze}from"./molecules/IconCell/IconCell.js";import{InfoElement as Be}from"./molecules/InfoElement/InfoElement.js";import{InformationalNotice as Ve}from"./molecules/InformationalNotice/InformationalNotice.js";import{ProfileAvatar as He}from"./molecules/ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as Ue}from"./molecules/RichTextDisplay/RichTextDisplay.js";import{amplify_h1 as We,amplify_h2 as Ge,amplify_h3 as Ke,amplify_h4 as qe,amplify_table_add_column_left as Je,amplify_table_add_column_right as Ye,amplify_table_add_row_above as Xe,amplify_table_add_row_below as Ze,amplify_table_column_heading as Qe,amplify_table_merge_cells as $e,amplify_table_remove_column as et,amplify_table_remove_row as tt,amplify_table_row_heading as nt,amplify_table_split_cell as rt}from"./atoms/icons/wysiwyg.js";import{TableMenuBar as it,TextTable as at}from"./molecules/RichTextEditor/MenuBar/Table/TableBar.js";import{TextField as ot}from"./molecules/TextField/TextField.js";import{AmplifyBar as st,EditorMenu as ct,EditorText as lt}from"./molecules/RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as ut}from"./molecules/RichTextEditor/RichTextEditor.js";import{RichText as dt}from"./molecules/RichTextEditor/index.js";import{Tabs as ft}from"./molecules/Tabs/Tabs.js";import{Search as pt}from"./molecules/Search/Search.js";import{SkeletonGradient as mt}from"./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as ht}from"./molecules/Stepper/Stepper.js";import{OptionDrawer as gt}from"./molecules/OptionDrawer/OptionDrawer.js";import{ComboBoxChip as _t}from"./molecules/Select/Select.styles.js";import{ComboBox as vt}from"./molecules/Select/ComboBox/ComboBox.js";import{PersistentComboBox as yt}from"./molecules/Select/PersistentComboBox/PersistentComboBox.js";import{SingleSelect as bt}from"./molecules/Select/SingleSelect/SingleSelect.js";import{Tag as xt}from"./molecules/Tag/Tag.js";import{TableHeader as St}from"./molecules/TableHeader/TableHeader.js";import{FeedBackIcon as Ct}from"./molecules/FeedBackIcon/FeedBackIcon.js";import{ListItem as wt}from"./molecules/ListItem/ListItem.js";import{Checkbox as Tt}from"./molecules/SelectionControls/Checkbox/Checkbox.js";import{Radio as Et}from"./molecules/SelectionControls/Radio/Radio.js";import{Switch as Dt}from"./molecules/SelectionControls/Switch/Switch.js";import{Waves as Ot}from"./molecules/Waves/Waves.js";import{Accordion as kt,Breadcrumbs as At,CircularProgress as jt,Divider as Mt,DotProgress as Nt,EDSDialog as Pt,Icon as Ft,LinearProgress as It,Menu as Lt,Typography as Rt}from"./molecules/index.js";import{Toast as zt}from"./molecules/Toast/Toast.js";import{ToastProvider as Bt,useToasts as Vt}from"./providers/ToastProvider/ToastProvider.js";import{ConfettiProvider as Ht,useConfetti as Ut}from"./providers/ConfettiProvider/ConfettiProvider.js";import{amplify_failure as Wt,amplify_lwd as Gt,amplify_success as Kt,amplify_wellbore as qt,amplify_wireline as Jt,amplify_wireline_cased_hole as Yt,amplify_wireline_open_hole as Xt}from"./atoms/icons/drilling.js";import{amplify_calculator as Zt,amplify_overlay as Qt,amplify_sidebyside as $t}from"./atoms/icons/map.js";import{amplify_aml as en,amplify_arrow_up_down as tn,amplify_branch as nn,amplify_info_small as rn,amplify_merged as an,amplify_overview as on,amplify_resources as sn,amplify_sharepoint as cn,amplify_shield_person as ln,amplify_small_portal as un,amplify_snail as dn,amplify_sort_small as fn,amplify_tutorials as pn}from"./atoms/icons/other.js";import{style as mn}from"./atoms/index.js";import{ReleaseNotesProvider as hn,useReleaseNotes as gn}from"./providers/ReleaseNotesProvider.js";import{TutorialHighlightingProvider as _n}from"./providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js";import{LoadingProvider as vn}from"./providers/LoadingProvider.js";import{SurveyProvider as yn}from"./providers/SurveyProvider/SurveyProvider.js";import{DataGrid as bn}from"./organisms/DataGrid/DataGrid.js";import{Template as xn}from"./organisms/Template/Template.js";import{FieldSelector as Sn}from"./organisms/FieldSelector/FieldSelector.js";import{Filter as Cn}from"./organisms/Filter/index.js";import{SideBar as wn}from"./organisms/SideBar/index.js";import{ReleaseNote as Tn}from"./organisms/ReleaseNote/ReleaseNote.js";import{TopBar as En}from"./organisms/TopBar/index.js";import{BadRequest as Dn}from"./organisms/Status/collections/BadRequest.js";import{GenericError as On}from"./organisms/Status/collections/GenericError.js";import{MissingPermissions as kn}from"./organisms/Status/collections/MissingPermissions.js";import{PageNotFound as An}from"./organisms/Status/collections/PageNotFound.js";import{ServerError as jn}from"./organisms/Status/collections/ServerError.js";import{ApiResponseError as Mn}from"./organisms/Status/collections/ApiResponseError.js";import{SideSheet as Nn}from"./organisms/SideSheet/SideSheet.js";import{TableOfContents as Pn}from"./organisms/TableOfContents/TableOfContents.js";import{PageTitle as Fn}from"./organisms/PageTitle/PageTitle.js";import{ToggleGroup as In}from"./organisms/ToggleGroup/index.js";import{Faq as Ln}from"./organisms/Faq/Faq.js";import{ReleaseNotesPage as Rn}from"./organisms/ReleaseNotesPage/ReleaseNotesPage.js";import{Card as zn}from"./organisms/index.js";import{ExpandingIconButton as Bn}from"./deprecated/ExpandingIconButton/ExpandingIconButton.js";import Vn from"./deprecated/IconToggleButton.js";import{OldStepper as Hn}from"./deprecated/OldStepper/OldStepper.js";export{kt as Accordion,st as AmplifyBar,ne as AmplifyKit,_e as AnimatedCheckmark,Mn as ApiResponseError,ve as ApplicationIcon,K as AuthProvider,Dn as BadRequest,ye as Badge,be as Banner,At as Breadcrumbs,xe as Button,zn as Card,Tt as Checkbox,Ce as Chip,jt as CircularProgress,vt as ComboBox,_t as ComboBoxChip,we as Confetti,Ht as ConfettiProvider,w as DEFAULT_FEATURES,bn as DataGrid,De as DatePicker,Oe as DateRangePicker,Ae as Dialog,Mt as Divider,Nt as DotProgress,Pt as EDSDialog,ct as EditorMenu,lt as EditorText,R as Empty,e as EnvironmentType,je as EquinorLogo,Le as ErrorType,Bn as ExpandingIconButton,Ln as Faq,Ct as FeedBackIcon,Sn as FieldSelector,Me as FileProgress,Ne as FileUploadArea,Cn as Filter,l as FullPageSpinner,On as GenericError,E as IMG_WITH_ALT,D as IMG_WITH_SRC_AND_ALT,Ft as Icon,Se as IconButton,ze as IconCell,Pe as IconCellColors,Fe as IconCellStates,Ie as IconCellVariants,Vn as IconToggleButton,Be as InfoElement,Ve as InformationalNotice,It as LinearProgress,wt as ListItem,vn as LoadingProvider,Lt as Menu,G as MissingAccessToApp,kn as MissingPermissions,Hn as OldStepper,gt as OptionDrawer,ke as OptionalTooltip,An as PageNotFound,Fn as PageTitle,yt as PersistentComboBox,He as ProfileAvatar,Et as Radio,Tn as ReleaseNote,Rn as ReleaseNotesPage,hn as ReleaseNotesProvider,dt as RichText,Ue as RichTextDisplay,ut as RichTextEditor,T as RichTextEditorFeatures,pt as Search,jn as ServerError,wn as SideBar,J as SideBarProvider,Nn as SideSheet,bt as SingleSelect,Te as SkeletonBase,mt as SkeletonGradient,X as SnackbarProvider,Re as SpacingsMode,W as Status,ht as Stepper,ue as StepperProvider,yn as SurveyProvider,Dt as Switch,St as TableHeader,it as TableMenuBar,Pn as TableOfContents,$ as TableOfContentsProvider,ft as Tabs,xt as Tag,xn as Template,ot as TextField,at as TextTable,fe as Theme,pe as ThemeProvider,zt as Toast,Bt as ToastProvider,In as ToggleGroup,En as TopBar,_n as TutorialHighlightingProvider,Rt as Typography,Ot as Waves,en as amplify_aml,tn as amplify_arrow_up_down,nn as amplify_branch,Zt as amplify_calculator,Wt as amplify_failure,We as amplify_h1,Ge as amplify_h2,Ke as amplify_h3,qe as amplify_h4,rn as amplify_info_small,Gt as amplify_lwd,an as amplify_merged,Qt as amplify_overlay,on as amplify_overview,sn as amplify_resources,cn as amplify_sharepoint,ln as amplify_shield_person,$t as amplify_sidebyside,un as amplify_small_portal,dn as amplify_snail,fn as amplify_sort_small,Kt as amplify_success,Je as amplify_table_add_column_left,Ye as amplify_table_add_column_right,Xe as amplify_table_add_row_above,Ze as amplify_table_add_row_below,Qe as amplify_table_column_heading,$e as amplify_table_merge_cells,et as amplify_table_remove_column,tt as amplify_table_remove_row,nt as amplify_table_row_heading,rt as amplify_table_split_cell,pn as amplify_tutorials,qt as amplify_wellbore,Jt as amplify_wireline,Yt as amplify_wireline_cased_hole,Xt as amplify_wireline_open_hole,r as animation,t as auth,z as capitalize,O as cleanRichTextValue,i as colors,v as convertLatLngToUtm,y as convertUtmToLatLng,C as defaultQueryOptions,b as degrees2radians,x as distanceLatLng,o as elevation,n as environment,g as exportComponent,k as extractImageUrls,N as formatBytes,P as formatDataSize,f as formatDate,p as formatDateTime,F as formatKiloBytes,u as formatLatLng,m as formatRelativeDateTime,d as formatUtm,A as getFeatures,V as getHighlightElementBoundingBox,j as getImagesFromRichText,U as getVariantIcon,H as highlightTutorialElementID,M as imageToB64,h as isBetweenDates,B as isValidUrl,_ as setupIcons,s as shape,Ee as skeletonBaseloading,I as sortByDate,L as sortByWellboreName,a as spacings,mn as style,c as typography,re as useAmplifyKit,q as useAuth,Ut as useConfetti,ie as useDebounce,ae as useFakeProgress,ge as useFaqsInApplication,te as useLocalStorage,le as useNotification,Q as useOnScreenMultiple,he as usePrefetchRichTextImages,oe as usePrevious,gn as useReleaseNotes,se as useSelect,Y as useSideBar,Z as useSnackbar,ce as useStatusNavigation,de as useStepper,ee as useTableOfContents,me as useThemeProvider,Vt as useToasts,S as utmProjection};
|
|
1
|
+
import{EnvironmentType as e}from"./atoms/enums/Environment.js";import{auth as t,environment as n}from"./atoms/utils/auth_environment.js";import{animation as r}from"./atoms/style/animation.js";import{colors as i}from"./atoms/style/colors.js";import{spacings as a}from"./atoms/style/spacings.js";import{elevation as o,shape as s,typography as c}from"./atoms/style/index.js";import{FullPageSpinner as l}from"./molecules/FullPageSpinner/FullPageSpinner.js";import{formatLatLng as u,formatUtm as d}from"./atoms/utils/coordinate.js";import{formatDate as f,formatDateTime as p,formatRelativeDateTime as m,isBetweenDates as h}from"./atoms/utils/date.js";import{exportComponent as g}from"./atoms/utils/export.js";import{setupIcons as _}from"./atoms/utils/favicon.js";import{convertLatLngToUtm as v,convertUtmToLatLng as y,degrees2radians as b,distanceLatLng as x,utmProjection as S}from"./atoms/utils/map.js";import{defaultQueryOptions as C}from"./atoms/utils/reactquery.js";import{DEFAULT_FEATURES as w,RichTextEditorFeatures as T}from"./molecules/RichTextEditor/RichTextEditor.types.js";import{IMG_WITH_ALT as E,IMG_WITH_SRC_AND_ALT as D,cleanRichTextValue as O,extractImageUrls as k,getFeatures as A,getImagesFromRichText as j,imageToB64 as M}from"./atoms/utils/richtext.js";import{formatBytes as N,formatDataSize as P,formatKiloBytes as F}from"./atoms/utils/size.js";import{sortByDate as I,sortByWellboreName as L}from"./atoms/utils/sort.js";import{Empty as R,capitalize as z}from"./atoms/utils/string.js";import{isValidUrl as B}from"./atoms/utils/url.js";import{getHighlightElementBoundingBox as V,highlightTutorialElementID as H}from"./atoms/utils/tutorials.js";import{getVariantIcon as U}from"./atoms/utils/forms.js";import{Status as W}from"./organisms/Status/index.js";import{MissingAccessToApp as G}from"./organisms/Status/collections/MissingAccessToApp.js";import{AuthProvider as K,useAuth as q}from"./providers/AuthProvider/AuthProvider.js";import{SideBarProvider as J,useSideBar as Y}from"./providers/SideBarProvider.js";import{SnackbarProvider as X,useSnackbar as Z}from"./providers/SnackbarProvider/SnackbarProvider.js";import{useOnScreenMultiple as Q}from"./atoms/hooks/useOnScreenMultiple.js";import{TableOfContentsProvider as $,useTableOfContents as ee}from"./providers/TableOfContentsProvider.js";import{useLocalStorage as te}from"./atoms/hooks/useLocalStorage.js";import{AmplifyKit as ne}from"./molecules/RichTextEditor/custom-extensions/AmplifyKit.js";import{useAmplifyKit as re}from"./atoms/hooks/useAmplifyKit.js";import{useDebounce as ie}from"./atoms/hooks/useDebounce.js";import{useFakeProgress as ae}from"./atoms/hooks/useFakeProgress.js";import{usePrevious as oe}from"./atoms/hooks/usePrevious.js";import{useSelect as se}from"./atoms/hooks/useSelect.js";import{useStatusNavigation as ce}from"./atoms/hooks/useStatusNavigation.js";import{useNotification as le}from"./organisms/TopBar/Notifications/NotificationProvider.js";import{StepperProvider as ue,useStepper as de}from"./providers/StepperProvider.js";import{Theme as fe}from"./atoms/enums/Theme.js";import{ThemeProvider as pe,useThemeProvider as me}from"./providers/ThemeProvider/ThemeProvider.js";import{usePrefetchRichTextImages as he}from"./atoms/hooks/usePrefetchRichTextImages.js";import{useFaqsInApplication as ge}from"./atoms/hooks/useFaqsInApplication.js";import{AnimatedCheckmark as _e}from"./molecules/AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as ve}from"./molecules/ApplicationIcon/ApplicationIcon.js";import{Badge as ye}from"./molecules/Badge/Badge.js";import{Banner as be}from"./molecules/Banner/Banner.js";import{Button as xe}from"./molecules/Button/Button.js";import{IconButton as Se}from"./molecules/Button/IconButton/IconButton.js";import{Chip as Ce}from"./molecules/Chip/Chip.js";import{Confetti as we}from"./molecules/Confetti/Confetti.js";import{SkeletonBase as Te,skeletonBaseloading as Ee}from"./molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{DatePicker as De}from"./molecules/DatePicker/DatePicker.js";import{DateRangePicker as Oe}from"./molecules/DateRangePicker/DateRangePicker.js";import{OptionalTooltip as ke}from"./molecules/OptionalTooltip/OptionalTooltip.js";import{Dialog as Ae}from"./molecules/Dialog/Dialog.js";import{EquinorLogo as je}from"./molecules/EquinorLogo/EquinorLogo.js";import{FileProgress as Me}from"./molecules/FileProgress/FileProgress.js";import{FileUploadArea as Ne}from"./molecules/FileUploadArea/FileUploadArea.js";import{IconCellColors as Pe,IconCellStates as Fe,IconCellVariants as Ie}from"./molecules/IconCell/IconCell.types.js";import{ErrorType as Le}from"./atoms/enums/Errors.js";import{SpacingsMode as Re}from"./atoms/enums/SpacingsMode.js";import{IconCell as ze}from"./molecules/IconCell/IconCell.js";import{InfoElement as Be}from"./molecules/InfoElement/InfoElement.js";import{InformationalNotice as Ve}from"./molecules/InformationalNotice/InformationalNotice.js";import{ProfileAvatar as He}from"./molecules/ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as Ue}from"./molecules/RichTextDisplay/RichTextDisplay.js";import{amplify_h1 as We,amplify_h2 as Ge,amplify_h3 as Ke,amplify_h4 as qe,amplify_table_add_column_left as Je,amplify_table_add_column_right as Ye,amplify_table_add_row_above as Xe,amplify_table_add_row_below as Ze,amplify_table_column_heading as Qe,amplify_table_merge_cells as $e,amplify_table_remove_column as et,amplify_table_remove_row as tt,amplify_table_row_heading as nt,amplify_table_split_cell as rt}from"./atoms/icons/wysiwyg.js";import{TableMenuBar as it,TextTable as at}from"./molecules/RichTextEditor/MenuBar/Table/TableBar.js";import{TextField as ot}from"./molecules/TextField/TextField.js";import{AmplifyBar as st,EditorMenu as ct,EditorText as lt}from"./molecules/RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as ut}from"./molecules/RichTextEditor/RichTextEditor.js";import{RichText as dt}from"./molecules/RichTextEditor/index.js";import{Tabs as ft}from"./molecules/Tabs/Tabs.js";import{Search as pt}from"./molecules/Search/Search.js";import{SkeletonGradient as mt}from"./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as ht}from"./molecules/Stepper/Stepper.js";import{OptionDrawer as gt}from"./molecules/OptionDrawer/OptionDrawer.js";import{ComboBoxChip as _t}from"./molecules/Select/Select.styles.js";import{ComboBox as vt}from"./molecules/Select/ComboBox/ComboBox.js";import{PersistentComboBox as yt}from"./molecules/Select/PersistentComboBox/PersistentComboBox.js";import{SingleSelect as bt}from"./molecules/Select/SingleSelect/SingleSelect.js";import{Tag as xt}from"./molecules/Tag/Tag.js";import{TableHeader as St}from"./molecules/TableHeader/TableHeader.js";import{FeedBackIcon as Ct}from"./molecules/FeedBackIcon/FeedBackIcon.js";import{ListItem as wt}from"./molecules/ListItem/ListItem.js";import{Checkbox as Tt}from"./molecules/SelectionControls/Checkbox/Checkbox.js";import{Radio as Et}from"./molecules/SelectionControls/Radio/Radio.js";import{Switch as Dt}from"./molecules/SelectionControls/Switch/Switch.js";import{Waves as Ot}from"./molecules/Waves/Waves.js";import{Accordion as kt,Breadcrumbs as At,CircularProgress as jt,Divider as Mt,DotProgress as Nt,EDSDialog as Pt,Icon as Ft,LinearProgress as It,Menu as Lt,Typography as Rt}from"./molecules/index.js";import{Toast as zt}from"./molecules/Toast/Toast.js";import{ToastProvider as Bt,useToasts as Vt}from"./providers/ToastProvider/ToastProvider.js";import{ConfettiProvider as Ht,useConfetti as Ut}from"./providers/ConfettiProvider/ConfettiProvider.js";import{amplify_failure as Wt,amplify_lwd as Gt,amplify_success as Kt,amplify_wellbore as qt,amplify_wireline as Jt,amplify_wireline_cased_hole as Yt,amplify_wireline_open_hole as Xt}from"./atoms/icons/drilling.js";import{amplify_calculator as Zt,amplify_overlay as Qt,amplify_sidebyside as $t}from"./atoms/icons/map.js";import{amplify_aml as en,amplify_arrow_up_down as tn,amplify_branch as nn,amplify_drag_handle as rn,amplify_info_small as an,amplify_merged as on,amplify_overview as sn,amplify_resources as cn,amplify_sharepoint as ln,amplify_shield_person as un,amplify_small_portal as dn,amplify_snail as fn,amplify_sort_small as pn,amplify_tutorials as mn}from"./atoms/icons/other.js";import{style as hn}from"./atoms/index.js";import{ReleaseNotesProvider as gn,useReleaseNotes as _n}from"./providers/ReleaseNotesProvider.js";import{TutorialHighlightingProvider as vn}from"./providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js";import{LoadingProvider as yn}from"./providers/LoadingProvider.js";import{SurveyProvider as bn}from"./providers/SurveyProvider/SurveyProvider.js";import{DataGrid as xn}from"./organisms/DataGrid/DataGrid.js";import{Template as Sn}from"./organisms/Template/Template.js";import{FieldSelector as Cn}from"./organisms/FieldSelector/FieldSelector.js";import{Filter as wn}from"./organisms/Filter/index.js";import{SideBar as Tn}from"./organisms/SideBar/index.js";import{ReleaseNote as En}from"./organisms/ReleaseNote/ReleaseNote.js";import{TopBar as Dn}from"./organisms/TopBar/index.js";import{BadRequest as On}from"./organisms/Status/collections/BadRequest.js";import{GenericError as kn}from"./organisms/Status/collections/GenericError.js";import{MissingPermissions as An}from"./organisms/Status/collections/MissingPermissions.js";import{PageNotFound as jn}from"./organisms/Status/collections/PageNotFound.js";import{ServerError as Mn}from"./organisms/Status/collections/ServerError.js";import{ApiResponseError as Nn}from"./organisms/Status/collections/ApiResponseError.js";import{SideSheet as Pn}from"./organisms/SideSheet/SideSheet.js";import{TableOfContents as Fn}from"./organisms/TableOfContents/TableOfContents.js";import{PageTitle as In}from"./organisms/PageTitle/PageTitle.js";import{ToggleGroup as Ln}from"./organisms/ToggleGroup/index.js";import{Faq as Rn}from"./organisms/Faq/Faq.js";import{ReleaseNotesPage as zn}from"./organisms/ReleaseNotesPage/ReleaseNotesPage.js";import{Card as Bn}from"./organisms/index.js";import{ExpandingIconButton as Vn}from"./deprecated/ExpandingIconButton/ExpandingIconButton.js";import Hn from"./deprecated/IconToggleButton.js";import{OldStepper as Un}from"./deprecated/OldStepper/OldStepper.js";export{kt as Accordion,st as AmplifyBar,ne as AmplifyKit,_e as AnimatedCheckmark,Nn as ApiResponseError,ve as ApplicationIcon,K as AuthProvider,On as BadRequest,ye as Badge,be as Banner,At as Breadcrumbs,xe as Button,Bn as Card,Tt as Checkbox,Ce as Chip,jt as CircularProgress,vt as ComboBox,_t as ComboBoxChip,we as Confetti,Ht as ConfettiProvider,w as DEFAULT_FEATURES,xn as DataGrid,De as DatePicker,Oe as DateRangePicker,Ae as Dialog,Mt as Divider,Nt as DotProgress,Pt as EDSDialog,ct as EditorMenu,lt as EditorText,R as Empty,e as EnvironmentType,je as EquinorLogo,Le as ErrorType,Vn as ExpandingIconButton,Rn as Faq,Ct as FeedBackIcon,Cn as FieldSelector,Me as FileProgress,Ne as FileUploadArea,wn as Filter,l as FullPageSpinner,kn as GenericError,E as IMG_WITH_ALT,D as IMG_WITH_SRC_AND_ALT,Ft as Icon,Se as IconButton,ze as IconCell,Pe as IconCellColors,Fe as IconCellStates,Ie as IconCellVariants,Hn as IconToggleButton,Be as InfoElement,Ve as InformationalNotice,It as LinearProgress,wt as ListItem,yn as LoadingProvider,Lt as Menu,G as MissingAccessToApp,An as MissingPermissions,Un as OldStepper,gt as OptionDrawer,ke as OptionalTooltip,jn as PageNotFound,In as PageTitle,yt as PersistentComboBox,He as ProfileAvatar,Et as Radio,En as ReleaseNote,zn as ReleaseNotesPage,gn as ReleaseNotesProvider,dt as RichText,Ue as RichTextDisplay,ut as RichTextEditor,T as RichTextEditorFeatures,pt as Search,Mn as ServerError,Tn as SideBar,J as SideBarProvider,Pn as SideSheet,bt as SingleSelect,Te as SkeletonBase,mt as SkeletonGradient,X as SnackbarProvider,Re as SpacingsMode,W as Status,ht as Stepper,ue as StepperProvider,bn as SurveyProvider,Dt as Switch,St as TableHeader,it as TableMenuBar,Fn as TableOfContents,$ as TableOfContentsProvider,ft as Tabs,xt as Tag,Sn as Template,ot as TextField,at as TextTable,fe as Theme,pe as ThemeProvider,zt as Toast,Bt as ToastProvider,Ln as ToggleGroup,Dn as TopBar,vn as TutorialHighlightingProvider,Rt as Typography,Ot as Waves,en as amplify_aml,tn as amplify_arrow_up_down,nn as amplify_branch,Zt as amplify_calculator,rn as amplify_drag_handle,Wt as amplify_failure,We as amplify_h1,Ge as amplify_h2,Ke as amplify_h3,qe as amplify_h4,an as amplify_info_small,Gt as amplify_lwd,on as amplify_merged,Qt as amplify_overlay,sn as amplify_overview,cn as amplify_resources,ln as amplify_sharepoint,un as amplify_shield_person,$t as amplify_sidebyside,dn as amplify_small_portal,fn as amplify_snail,pn as amplify_sort_small,Kt as amplify_success,Je as amplify_table_add_column_left,Ye as amplify_table_add_column_right,Xe as amplify_table_add_row_above,Ze as amplify_table_add_row_below,Qe as amplify_table_column_heading,$e as amplify_table_merge_cells,et as amplify_table_remove_column,tt as amplify_table_remove_row,nt as amplify_table_row_heading,rt as amplify_table_split_cell,mn as amplify_tutorials,qt as amplify_wellbore,Jt as amplify_wireline,Yt as amplify_wireline_cased_hole,Xt as amplify_wireline_open_hole,r as animation,t as auth,z as capitalize,O as cleanRichTextValue,i as colors,v as convertLatLngToUtm,y as convertUtmToLatLng,C as defaultQueryOptions,b as degrees2radians,x as distanceLatLng,o as elevation,n as environment,g as exportComponent,k as extractImageUrls,N as formatBytes,P as formatDataSize,f as formatDate,p as formatDateTime,F as formatKiloBytes,u as formatLatLng,m as formatRelativeDateTime,d as formatUtm,A as getFeatures,V as getHighlightElementBoundingBox,j as getImagesFromRichText,U as getVariantIcon,H as highlightTutorialElementID,M as imageToB64,h as isBetweenDates,B as isValidUrl,_ as setupIcons,s as shape,Ee as skeletonBaseloading,I as sortByDate,L as sortByWellboreName,a as spacings,hn as style,c as typography,re as useAmplifyKit,q as useAuth,Ut as useConfetti,ie as useDebounce,ae as useFakeProgress,ge as useFaqsInApplication,te as useLocalStorage,le as useNotification,Q as useOnScreenMultiple,he as usePrefetchRichTextImages,oe as usePrevious,_n as useReleaseNotes,se as useSelect,Y as useSideBar,Z as useSnackbar,ce as useStatusNavigation,de as useStepper,ee as useTableOfContents,me as useThemeProvider,Vt as useToasts,S as utmProjection};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { CommonButtonProps } from "./types.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { LinkComponent, LinkComponentProps } from "@tanstack/react-router";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
import { RegisteredRouter, ValidateLinkOptions } from "@tanstack/react-router";
|
|
5
4
|
|
|
6
5
|
//#region src/molecules/Button/Button.d.ts
|
|
7
6
|
type BaseButtonProps = {
|
|
8
|
-
label: string;
|
|
9
7
|
fullWidth?: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
leadingContent?: ReactNode;
|
|
9
|
+
trailingContent?: ReactNode;
|
|
12
10
|
} & CommonButtonProps;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
declare
|
|
11
|
+
interface ButtonProps<TRouter extends RegisteredRouter = RegisteredRouter, TOptions = unknown> extends BaseButtonProps {
|
|
12
|
+
linkOptions?: ValidateLinkOptions<TRouter, TOptions>;
|
|
13
|
+
}
|
|
14
|
+
declare function Button<TRouter extends RegisteredRouter, TOptions>(props: ButtonProps<TRouter, TOptions>): ReactNode;
|
|
17
15
|
//#endregion
|
|
18
16
|
export { Button, ButtonProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ButtonPrimitive as e,CenteredContent as t,HiddenContent as n,
|
|
1
|
+
import{ButtonPrimitive as e,CenteredContent as t,HiddenContent as n,PaddedContent as r}from"./Button.styles.js";import{getLoadingColor as i}from"./Button.utils.js";import{TOKEN_MAPPINGS as a}from"./tokens/tokens.js";import{DotProgress as o}from"@equinor/eds-core-react";import{Fragment as s,jsx as c,jsxs as l}from"react/jsx-runtime";import{createLink as u}from"@tanstack/react-router";const d=({variant:u=`filled`,color:d=`primary`,leadingContent:f,trailingContent:p,fullWidth:m=!1,loading:h=!1,onClick:g,children:_,...v})=>{let y=a[d][u],b=[f,p].filter(Boolean).length;return c(e,{$tokens:y,$fullWidth:m,onClick:h?void 0:g,...v,children:h?l(s,{children:[!m&&c(n,{style:{marginLeft:b*12,marginRight:b*12},children:c(r,{children:_})}),c(t,{children:c(o,{color:i({color:d,variant:u})})})]}):l(s,{children:[f,c(r,{className:`central-content`,children:_}),p]})})},f=u(d);function p(e){if(e.linkOptions===void 0)return c(d,{...e,type:e.type??`button`});let{linkOptions:t,...n}=e;return c(f,{...t,...n,as:`a`})}export{p as Button};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../atoms/style/spacings.js";import{shape as n}from"../../atoms/style/index.js";import{typographyTemplate as r}from"../../node_modules/@equinor/eds-utils/dist/esm/utils/templates/index.js";import{
|
|
2
|
-
display: inline-
|
|
1
|
+
import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../atoms/style/spacings.js";import{shape as n}from"../../atoms/style/index.js";import{typographyTemplate as r}from"../../node_modules/@equinor/eds-utils/dist/esm/utils/templates/index.js";import{css as i,styled as a}from"styled-components";const o=e=>`borderColor`in e?e.borderColor:e.backgroundColor,s=a.button`
|
|
2
|
+
display: inline-grid;
|
|
3
|
+
grid-auto-flow: column;
|
|
4
|
+
grid-template-columns: auto;
|
|
5
|
+
|
|
3
6
|
align-items: center;
|
|
4
7
|
justify-content: center;
|
|
5
8
|
height: ${n.button.minHeight};
|
|
@@ -10,7 +13,7 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
10
13
|
|
|
11
14
|
background: ${({$tokens:e})=>e.backgroundColor};
|
|
12
15
|
color: ${({$tokens:e})=>e.color};
|
|
13
|
-
border: 1px solid ${e=>
|
|
16
|
+
border: 1px solid ${e=>o(e.$tokens)};
|
|
14
17
|
|
|
15
18
|
box-sizing: border-box;
|
|
16
19
|
margin: 0;
|
|
@@ -20,19 +23,31 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
20
23
|
position: relative;
|
|
21
24
|
cursor: pointer;
|
|
22
25
|
|
|
23
|
-
> span {
|
|
24
|
-
padding: ${t.x_small};
|
|
25
|
-
text-align: center;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
26
|
svg {
|
|
29
27
|
justify-self: center;
|
|
30
|
-
${e=>e.$fullWidth&&a`
|
|
31
|
-
position: absolute;
|
|
32
|
-
margin: 0 ${t.small};
|
|
33
|
-
`}
|
|
34
28
|
}
|
|
35
29
|
|
|
30
|
+
${e=>e.$fullWidth&&i`
|
|
31
|
+
&:has(> :nth-child(2)) {
|
|
32
|
+
grid-template-columns: 1fr auto 1fr;
|
|
33
|
+
|
|
34
|
+
> :first-child:not(.central-content) {
|
|
35
|
+
grid-column: 1;
|
|
36
|
+
justify-self: start;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.central-content {
|
|
40
|
+
grid-column: 2;
|
|
41
|
+
justify-self: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
> :last-child:not(.central-content) {
|
|
45
|
+
grid-column: 3;
|
|
46
|
+
justify-self: end;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
`}
|
|
50
|
+
|
|
36
51
|
&::after {
|
|
37
52
|
position: absolute;
|
|
38
53
|
content: '';
|
|
@@ -41,13 +56,13 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
41
56
|
&:hover {
|
|
42
57
|
background: ${({$tokens:e})=>e.hover.backgroundColor};
|
|
43
58
|
color: ${({$tokens:e})=>e.hover.color};
|
|
44
|
-
border: 1px solid ${e=>
|
|
59
|
+
border: 1px solid ${e=>o(e.$tokens.hover)};
|
|
45
60
|
}
|
|
46
61
|
|
|
47
62
|
&:active {
|
|
48
63
|
background: ${({$tokens:e})=>e.pressed.backgroundColor};
|
|
49
64
|
color: ${({$tokens:e})=>e.pressed.color};
|
|
50
|
-
border: 1px solid ${e=>
|
|
65
|
+
border: 1px solid ${e=>o(e.$tokens.pressed)};
|
|
51
66
|
}
|
|
52
67
|
|
|
53
68
|
&:focus {
|
|
@@ -68,21 +83,18 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
68
83
|
cursor: not-allowed;
|
|
69
84
|
background: ${({$tokens:e})=>e.disabled.backgroundColor};
|
|
70
85
|
color: ${({$tokens:e})=>e.disabled.color};
|
|
71
|
-
border: 1px solid ${e=>
|
|
86
|
+
border: 1px solid ${e=>o(e.$tokens.disabled)};
|
|
72
87
|
}
|
|
73
|
-
`,
|
|
88
|
+
`,c=a.span`
|
|
89
|
+
padding: ${t.x_small};
|
|
90
|
+
`,l=a.span`
|
|
74
91
|
opacity: 0;
|
|
75
92
|
visibility: hidden;
|
|
76
|
-
`,u=
|
|
77
|
-
left: 0;
|
|
93
|
+
`,u=a.span`
|
|
78
94
|
position: absolute;
|
|
79
95
|
width: 100%;
|
|
80
96
|
height: 100%;
|
|
81
97
|
display: flex;
|
|
82
98
|
align-items: center;
|
|
83
99
|
justify-content: center;
|
|
84
|
-
|
|
85
|
-
left: 0;
|
|
86
|
-
`,f=o(i)`
|
|
87
|
-
right: 0;
|
|
88
|
-
`;export{c as ButtonPrimitive,u as CenteredContent,l as HiddenContent,d as LeftIcon,f as RightIcon,s as resolveBorderColor};
|
|
100
|
+
`;export{s as ButtonPrimitive,u as CenteredContent,l as HiddenContent,c as PaddedContent,o as resolveBorderColor};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { CommonButtonProps } from "../types.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
3
|
import { IconData } from "@equinor/eds-icons";
|
|
4
|
-
import {
|
|
4
|
+
import { RegisteredRouter, ValidateLinkOptions } from "@tanstack/react-router";
|
|
5
5
|
|
|
6
6
|
//#region src/molecules/Button/IconButton/IconButton.d.ts
|
|
7
7
|
type Shape = 'circular' | 'square';
|
|
8
8
|
type BaseIconButtonProps = {
|
|
9
9
|
icon: IconData;
|
|
10
10
|
shape?: Shape;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
children?: never;
|
|
12
|
+
} & Omit<CommonButtonProps, 'children'>;
|
|
13
|
+
interface IconButtonProps<TRouter extends RegisteredRouter = RegisteredRouter, TOptions = unknown> extends BaseIconButtonProps {
|
|
14
|
+
linkOptions?: ValidateLinkOptions<TRouter, TOptions>;
|
|
15
|
+
}
|
|
16
|
+
declare function IconButton<TRouter extends RegisteredRouter, TOptions>(props: IconButtonProps<TRouter, TOptions>): ReactNode;
|
|
16
17
|
//#endregion
|
|
17
18
|
export { IconButton, IconButtonProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getLoadingColor as e}from"../Button.utils.js";import{TOKEN_MAPPINGS as t}from"../tokens/tokens.js";import{IconButtonWrapper as n,StyledCircularProgress as r}from"./IconButton.styles.js";import{Icon as i}from"@equinor/eds-core-react";import{Fragment as a,jsx as o}from"react/jsx-runtime";import{createLink as s}from"@tanstack/react-router";const c=({icon:s,variant:c=`filled`,color:l=`primary`,loading:u=!1,shape:d=`circular`,onClick:f,...p})=>{let m=t[l][c];return o(n,{$shape:d,$tokens:m,onClick:u?void 0:f,...p,children:u?o(a,{children:o(r,{size:16,$isTertiary:e({color:l,variant:c})===`tertiary`,color:e({color:l,variant:c})})}):o(i,{data:s})})},l=s(c)
|
|
1
|
+
import{getLoadingColor as e}from"../Button.utils.js";import{TOKEN_MAPPINGS as t}from"../tokens/tokens.js";import{IconButtonWrapper as n,StyledCircularProgress as r}from"./IconButton.styles.js";import{Icon as i}from"@equinor/eds-core-react";import{Fragment as a,jsx as o}from"react/jsx-runtime";import{createLink as s}from"@tanstack/react-router";const c=({icon:s,variant:c=`filled`,color:l=`primary`,loading:u=!1,shape:d=`circular`,onClick:f,...p})=>{let m=t[l][c];return o(n,{$shape:d,$tokens:m,onClick:u?void 0:f,...p,children:u?o(a,{children:o(r,{size:16,$isTertiary:e({color:l,variant:c})===`tertiary`,color:e({color:l,variant:c})})}):o(i,{data:s})})},l=s(c);function u(e){if(e.linkOptions===void 0)return o(c,{...e,type:e.type??`button`});let{linkOptions:t,...n}=e;return o(l,{...t,...n,as:`a`})}export{u as IconButton};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, ElementType,
|
|
1
|
+
import { ButtonHTMLAttributes, ElementType, Ref } from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/molecules/Button/types.d.ts
|
|
4
4
|
type ButtonVariants = 'filled' | 'outlined' | 'ghost';
|
|
@@ -8,7 +8,7 @@ type CommonButtonProps = {
|
|
|
8
8
|
variant?: ButtonVariants;
|
|
9
9
|
loading?: boolean;
|
|
10
10
|
disabled?: boolean;
|
|
11
|
-
ref?:
|
|
11
|
+
ref?: Ref<HTMLButtonElement>;
|
|
12
12
|
as?: ElementType;
|
|
13
13
|
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
14
14
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react6 from "react";
|
|
2
2
|
import { HTMLAttributes, KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
3
3
|
import { IconData } from "@equinor/eds-icons";
|
|
4
4
|
|
|
@@ -25,6 +25,6 @@ type DeletableChipProps = BaseChipProps & InteractiveChipBase & {
|
|
|
25
25
|
onDelete: (event: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>) => void;
|
|
26
26
|
};
|
|
27
27
|
type ChipProps = Omit<HTMLAttributes<HTMLDivElement | HTMLButtonElement>, 'onClick'> & (ReadOnlyChipProps | ClickableChipProps | DeletableChipProps);
|
|
28
|
-
declare const Chip:
|
|
28
|
+
declare const Chip: react6.ForwardRefExoticComponent<ChipProps & react6.RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { BaseChipProps, Chip, ClickableChipProps, DeletableChipProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Variants } from "../../atoms/types/variants.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react8 from "react";
|
|
3
3
|
import { DatePickerProps } from "@equinor/eds-core-react";
|
|
4
4
|
|
|
5
5
|
//#region src/molecules/DatePicker/DatePicker.d.ts
|
|
@@ -9,11 +9,11 @@ type DatePickerProps$1 = Omit<DatePickerProps, 'variant' | 'defaultValue'> & {
|
|
|
9
9
|
meta?: string;
|
|
10
10
|
loading?: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const DatePicker$1:
|
|
12
|
+
declare const DatePicker$1: react8.ForwardRefExoticComponent<Omit<DatePickerProps, "defaultValue" | "variant"> & {
|
|
13
13
|
variant?: Variants;
|
|
14
14
|
defaultValue?: Date | undefined;
|
|
15
15
|
meta?: string;
|
|
16
16
|
loading?: boolean;
|
|
17
|
-
} &
|
|
17
|
+
} & react8.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { DatePicker$1 as DatePicker, DatePickerProps$1 as DatePickerProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{AdditionalInfoBanner as e,DialogActions as t,DialogContent as n,DialogElement as r,DialogTitle as i,InfoIconWrapper as a}from"./Dialog.styles.js";import{DialogAction as o}from"./DialogAction.js";import{forwardRef as s,useState as c}from"react";import{Button as l,Icon as u,Typography as d}from"@equinor/eds-core-react";import{jsx as f,jsxs as p}from"react/jsx-runtime";import{close as m,info_circle as h}from"@equinor/eds-icons";const g=s(({title:s,children:g,width:_,actions:v,withContentPadding:y,withBorders:b=!1,contentMaxHeight:x=`60vh`,hideClose:S,additionalInfo:C,...w},T)=>{let{horizontal:E=!0,vertical:D=!0}=y??{},[O,k]=c(!1),A=v?.filter(e=>e.position===`left`),j=v?.filter(e=>e.position===`center`),M=v?.filter(e=>e.position===void 0||e.position===`right`),N=typeof s==`string`?f(d,{variant:`h6`,children:s}):s,P=typeof g==`string`?f(d,{variant:`body_long`,children:g}):g;return p(r,{...w,ref:T,style:{width:_?typeof _==`string`?_:`${_}px`:void 0,...w.style},children:[p(i,{$withBorders:b,style:{width:_?`${_}px`:void 0},children:[f(`section`,{children:N}),p(`div`,{children:[C&&f(l,{variant:`ghost_icon`,onClick:()=>k(e=>!e),"data-testid":`dialog-info-button`,children:f(u,{data:h})}),!S&&f(l,{variant:`ghost_icon`,onClick:w.onClose,"data-testid":`dialog-close-button`,children:f(u,{data:m,"data-testid":`dialog-close-icon`,size:24})})]})]}),p(n,{$withContentPaddingX:E,$withContentPaddingY:D,style:{width:_?`${_}px`:void 0,maxHeight:x},children:[O&&C&&p(e,{children:[f(a,{children:f(u,{data:h,size:24})}),C]}),P]}),v&&v.length>0&&p(t,{
|
|
1
|
+
import{AdditionalInfoBanner as e,DialogActions as t,DialogContent as n,DialogElement as r,DialogTitle as i,InfoIconWrapper as a}from"./Dialog.styles.js";import{DialogAction as o}from"./DialogAction.js";import{forwardRef as s,useState as c}from"react";import{Button as l,Icon as u,Typography as d}from"@equinor/eds-core-react";import{jsx as f,jsxs as p}from"react/jsx-runtime";import{close as m,info_circle as h}from"@equinor/eds-icons";const g=s(({title:s,children:g,width:_,actions:v,withContentPadding:y,withBorders:b=!1,contentMaxHeight:x=`60vh`,hideClose:S,additionalInfo:C,...w},T)=>{let{horizontal:E=!0,vertical:D=!0}=y??{},[O,k]=c(!1),A=v?.filter(e=>e.position===`left`),j=v?.filter(e=>e.position===`center`),M=v?.filter(e=>e.position===void 0||e.position===`right`),N=typeof s==`string`?f(d,{variant:`h6`,children:s}):s,P=typeof g==`string`?f(d,{variant:`body_long`,children:g}):g;return p(r,{...w,ref:T,style:{width:_?typeof _==`string`?_:`${_}px`:void 0,...w.style},children:[p(i,{$withBorders:b,style:{width:_?`${_}px`:void 0},children:[f(`section`,{children:N}),p(`div`,{children:[C&&f(l,{variant:`ghost_icon`,onClick:()=>k(e=>!e),"data-testid":`dialog-info-button`,children:f(u,{data:h})}),!S&&f(l,{variant:`ghost_icon`,onClick:w.onClose,"data-testid":`dialog-close-button`,children:f(u,{data:m,"data-testid":`dialog-close-icon`,size:24})})]})]}),p(n,{$withContentPaddingX:E,$withContentPaddingY:D,style:{width:_?`${_}px`:void 0,maxHeight:x},children:[O&&C&&p(e,{children:[f(a,{children:f(u,{data:h,size:24})}),C]}),P]}),v&&v.length>0&&p(t,{"data-testid":`dialog-actions`,$withBorders:b,style:{width:_?`${_}px`:void 0},children:[A&&A.length>0&&f(`section`,{id:`dialog-actions-left`,children:A.map(e=>f(o,{...e},e.text))}),j&&j.length>0&&f(`section`,{id:`dialog-actions-center`,children:j.map(e=>f(o,{...e},e.text))}),M&&M.length>0&&f(`section`,{id:`dialog-actions-right`,children:M.map(e=>f(o,{...e},e.text))})]})]})});g.displayName=`Dialog`;export{g as Dialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Button as e}from"../Button/Button.js";import{OptionalTooltip as t}from"../OptionalTooltip/OptionalTooltip.js";import{
|
|
1
|
+
import{Button as e}from"../Button/Button.js";import{OptionalTooltip as t}from"../OptionalTooltip/OptionalTooltip.js";import{Icon as n}from"@equinor/eds-core-react";import{jsx as r}from"react/jsx-runtime";const i=({text:i,variant:a,color:o,onClick:s,icon:c,disabled:l,isLoading:u=!1})=>r(t,{title:typeof l==`string`?l:``,children:r(e,{variant:a,color:o,onClick:s,disabled:l!==void 0&&!!l,loading:u,leadingContent:c&&r(n,{data:c}),children:i})});export{i as DialogAction};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{colors as e}from"../../atoms/style/colors.js";import{Button as t}from"../Button/Button.js";import{OptionalTooltip as n}from"../OptionalTooltip/OptionalTooltip.js";import{DividerRow as r,MediumUploadWrapper as i,SmallUploadWrapper as a,UploadWrapper as o}from"./FileUploadArea.styles.js";import{FILE_UPLOAD_SCRIM_ID as s}from"./FileUploadArea.constants.js";import{UploadIllustration as c}from"./UploadIllustration.js";import{useEffect as l,useMemo as u,useState as d}from"react";import{Typography as
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";import{Button as t}from"../Button/Button.js";import{OptionalTooltip as n}from"../OptionalTooltip/OptionalTooltip.js";import{DividerRow as r,MediumUploadWrapper as i,SmallUploadWrapper as a,UploadWrapper as o}from"./FileUploadArea.styles.js";import{FILE_UPLOAD_SCRIM_ID as s}from"./FileUploadArea.constants.js";import{UploadIllustration as c}from"./UploadIllustration.js";import{useEffect as l,useMemo as u,useState as d}from"react";import{Icon as f,Typography as p}from"@equinor/eds-core-react";import{jsx as m,jsxs as h}from"react/jsx-runtime";import{folder as g}from"@equinor/eds-icons";import{useDropzone as _}from"react-dropzone";const v=({size:v=`large`,...y})=>{let{getRootProps:b,getInputProps:x,isDragActive:S}=_({...y}),[C,w]=d(!1);l(()=>{let e=e=>{e.preventDefault(),C||w(!0)},t=e=>{(e.clientX===0||e.clientY===0||e.clientX===window.innerWidth||e.clientY===window.innerHeight)&&w(!1)},n=()=>{w(!1)},r=()=>{w(!1)};return window.addEventListener(`dragover`,e),window.addEventListener(`dragleave`,t),window.addEventListener(`drop`,n),window.addEventListener(`dragend`,r),()=>{window.removeEventListener(`dragover`,e),window.removeEventListener(`dragleave`,t),window.removeEventListener(`drop`,n),window.removeEventListener(`dragend`,r)}},[C]),l(()=>{if(C){if(!document.getElementById(`file-upload-scrim`)){let t=document.createElement(`div`);t.id=s,t.style.position=`fixed`,t.style.top=`0`,t.style.left=`0`,t.style.width=`100%`,t.style.height=`100%`,t.style.backgroundColor=e.ui.background__scrim.rgba,t.style.zIndex=`9999`,t.style.pointerEvents=`none`,window.document.body.appendChild(t)}}else{let e=document.getElementById(s);e!==null&&e.remove()}},[C]);let T=u(()=>{if(y.accept)return Object.values(y.accept).join(`, `)},[y.accept]);return v==`small`?h(a,{...b(),style:{background:S?e.interactive.primary__hover_alt.rgba:void 0},children:[m(`input`,{"data-testid":`file-upload-area-input`,...x()}),m(c,{}),m(p,{variant:`meta`,children:`Upload file`}),y.accept&&m(n,{title:`Supported filetypes: ${T}`,children:h(p,{variant:`meta`,children:[`(`,T,`)`]})})]}):v==`medium`?h(i,{...b(),style:{background:S?e.interactive.primary__hover_alt.rgba:void 0},children:[m(`input`,{"data-testid":`file-upload-area-input`,...x()}),m(c,{}),h(`section`,{children:[m(p,{variant:`button`,group:`navigation`,children:`Drag files here`}),y.accept&&m(n,{title:`Supported filetypes: ${T}`,children:m(p,{group:`paragraph`,variant:`meta`,color:e.text.static_icons__tertiary.rgba,children:T})})]}),h(r,{children:[m(`hr`,{}),m(p,{variant:`meta`,children:`OR`}),m(`hr`,{})]}),m(t,{variant:`ghost`,onClick:b().onClick,leadingContent:m(f,{data:g}),children:`Browse files`})]}):h(o,{...b(),onClick:void 0,style:{background:S?e.interactive.primary__hover_alt.rgba:void 0},children:[m(`input`,{"data-testid":`file-upload-area-input`,...x()}),m(c,{}),h(`section`,{children:[m(p,{variant:`button`,group:`navigation`,children:`Drag files here to upload.`}),y.accept&&h(p,{group:`paragraph`,variant:`meta`,color:e.text.static_icons__tertiary.rgba,children:[`Supported filetypes: `,T]})]}),h(r,{children:[m(`hr`,{}),m(p,{variant:`button`,group:`navigation`,children:`OR`}),m(`hr`,{})]}),m(t,{variant:`ghost`,onClick:b().onClick,leadingContent:m(f,{data:g}),children:`Browse files`})]})};export{v as FileUploadArea};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconCellColor, IconCellState, IconCellVariant, IconCellVariants } from "./IconCell.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react16 from "react";
|
|
3
3
|
import { HTMLAttributes, MouseEventHandler, ReactNode } from "react";
|
|
4
4
|
import { IconData } from "@equinor/eds-icons";
|
|
5
5
|
|
|
@@ -49,6 +49,6 @@ type IconCellProps = ScribbledOutProps | RegularIconCellProps;
|
|
|
49
49
|
* @param {React.Ref<HTMLButtonElement>} ref - Ref forwarded to the inner button element.
|
|
50
50
|
* @returns {JSX.Element} The rendered IconCell.
|
|
51
51
|
*/
|
|
52
|
-
declare const IconCell:
|
|
52
|
+
declare const IconCell: react16.ForwardRefExoticComponent<IconCellProps & react16.RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { IconCell, IconCellProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react147 from "react";
|
|
2
2
|
import { FocusEventHandler, HTMLAttributes, MouseEventHandler, ReactNode } from "react";
|
|
3
3
|
import { IconData } from "@equinor/eds-icons";
|
|
4
4
|
|
|
@@ -15,6 +15,6 @@ interface ListItemProps extends HTMLAttributes<HTMLButtonElement> {
|
|
|
15
15
|
isChild?: boolean;
|
|
16
16
|
borderBottom?: boolean;
|
|
17
17
|
}
|
|
18
|
-
declare const ListItem:
|
|
18
|
+
declare const ListItem: react147.ForwardRefExoticComponent<ListItemProps & react147.RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ListItem, ListItemProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeEvent, MouseEvent } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/OptionDrawer/OptionDrawer.d.ts
|
|
5
5
|
interface ToggleEventProps<T> {
|
|
@@ -43,7 +43,7 @@ declare const OptionDrawer: {
|
|
|
43
43
|
openAll,
|
|
44
44
|
showIntermediateParent,
|
|
45
45
|
parentHasNestedItems
|
|
46
|
-
}: OptionDrawerProps<T>):
|
|
46
|
+
}: OptionDrawerProps<T>): react_jsx_runtime3.JSX.Element;
|
|
47
47
|
displayName: string;
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|