@equinor/amplify-component-lib 10.2.0 → 10.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/hooks/useFaqsInApplication.d.ts +23 -1
- package/dist/atoms/hooks/useFaqsInApplication.js +1 -1
- package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
- package/dist/atoms/hooks/useSelect.d.ts +3 -3
- package/dist/atoms/index.d.ts +1 -0
- package/dist/atoms/index.js +1 -1
- package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
- package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.js +1 -1
- package/dist/deprecated/IconToggleButton.d.ts +2 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/molecules/Chip/Chip.d.ts +2 -2
- package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
- package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/dist/molecules/Dialog/Dialog.d.ts +2 -2
- package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
- 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 +5 -5
- package/dist/molecules/Search/Search.d.ts +2 -2
- package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
- package/dist/molecules/Select/Select.styles.d.ts +4 -4
- package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
- package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.js +3 -4
- package/dist/molecules/TableHeader/TableHeader.d.ts +32 -0
- package/dist/molecules/TableHeader/TableHeader.js +1 -0
- package/dist/molecules/TableHeader/TableHeader.styles.js +48 -0
- package/dist/molecules/TableHeader/TableHeader.utils.js +1 -0
- package/dist/molecules/Tabs/Tab.styles.js +1 -1
- package/dist/molecules/Toast/Toast.d.ts +30 -0
- package/dist/molecules/Toast/Toast.js +1 -0
- package/dist/molecules/Toast/Toast.styles.js +117 -0
- package/dist/molecules/Toast/Toast.utils.js +1 -0
- package/dist/molecules/Waves/Waves.styles.js +1 -1
- package/dist/molecules/index.d.ts +2 -0
- package/dist/molecules/index.js +1 -1
- package/dist/organisms/Faq/AppPageWrapper.js +8 -0
- package/dist/organisms/Faq/Category/Category.js +1 -9
- package/dist/organisms/Faq/Category/Category.styles.js +14 -0
- package/dist/organisms/Faq/Category/CategorySkeleton.js +17 -0
- package/dist/organisms/Faq/Category/Question/Question.js +1 -0
- package/dist/organisms/Faq/Category/Question/Question.styles.js +64 -0
- package/dist/organisms/Faq/Category/Subcategory.js +34 -0
- package/dist/organisms/Faq/Faq.d.ts +5 -1
- package/dist/organisms/Faq/Faq.js +20 -1
- package/dist/organisms/Faq/Faq.utils.js +1 -0
- package/dist/organisms/Faq/Search.js +5 -0
- package/dist/organisms/Filter/Filter.d.ts +2 -2
- package/dist/organisms/Filter/Filter.js +1 -1
- package/dist/organisms/Filter/Filter.styles.js +1 -1
- package/dist/organisms/Filter/SortMenu.d.ts +2 -2
- package/dist/organisms/ReleaseNote/ReleaseNote.d.ts +3 -3
- package/dist/organisms/ReleaseNote/ReleaseNote.js +1 -1
- 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/Illustration.js +1 -1
- 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/GenericError.d.ts +2 -2
- package/dist/organisms/Status/collections/MissingPermissions.d.ts +2 -2
- package/dist/organisms/Status/collections/PageNotFound.d.ts +2 -2
- package/dist/organisms/Status/collections/ServerError.d.ts +2 -2
- package/dist/organisms/TableOfContents/TableOfContents.styles.js +1 -3
- package/dist/organisms/TableOfContents/TableOfContentsItem.js +1 -1
- package/dist/organisms/Template/Template.d.ts +3 -3
- package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
- package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
- package/dist/organisms/TopBar/Actions.d.ts +2 -2
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +2 -3
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
- package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +1 -1
- 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/TopBar.d.ts +0 -2
- package/dist/organisms/TopBar/TopBar.js +1 -1
- package/dist/organisms/TopBar/TopBarInternalContextProvider.js +1 -0
- package/dist/providers/ToastProvider/ToastProvider.d.ts +15 -0
- package/dist/providers/ToastProvider/ToastProvider.js +8 -0
- package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +1 -1
- package/dist/providers/TutorialHighlightingProvider/TutorialPopover/TutorialPopover.js +1 -1
- package/dist/providers/TutorialHighlightingProvider/TutorialPopover/hooks/useTutorialPopoverPosition.js +1 -1
- package/dist/providers/TutorialHighlightingProvider/hooks/useReversedScrollY.js +1 -1
- package/package.json +11 -11
- package/dist/organisms/Faq/Category/Question.js +0 -22
- package/dist/organisms/Faq/CategorySkeleton.js +0 -29
- package/dist/organisms/Faq/Faq.styles.js +0 -8
- package/dist/organisms/Faq/Header.js +0 -14
|
@@ -2,6 +2,28 @@ import * as _equinor_subsurface_app_management0 from "@equinor/subsurface-app-ma
|
|
|
2
2
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/hooks/useFaqsInApplication.d.ts
|
|
5
|
-
declare function useFaqsInApplication(): _tanstack_react_query0.UseQueryResult<
|
|
5
|
+
declare function useFaqsInApplication(): _tanstack_react_query0.UseQueryResult<{
|
|
6
|
+
faqs: _equinor_subsurface_app_management0.FaqDto[];
|
|
7
|
+
subCategories: {
|
|
8
|
+
faqs: _equinor_subsurface_app_management0.FaqDto[];
|
|
9
|
+
id: number;
|
|
10
|
+
fkParentCategoryId: number;
|
|
11
|
+
categoryName: string;
|
|
12
|
+
orderBy?: number | null;
|
|
13
|
+
visible: boolean;
|
|
14
|
+
applicationId: string;
|
|
15
|
+
updatedDate?: string | null;
|
|
16
|
+
createdDate?: string | null;
|
|
17
|
+
subCategories?: Array<_equinor_subsurface_app_management0.FaqCategoriesWithFaqDto> | null;
|
|
18
|
+
}[];
|
|
19
|
+
id: number;
|
|
20
|
+
fkParentCategoryId: number;
|
|
21
|
+
categoryName: string;
|
|
22
|
+
orderBy?: number | null;
|
|
23
|
+
visible: boolean;
|
|
24
|
+
applicationId: string;
|
|
25
|
+
updatedDate?: string | null;
|
|
26
|
+
createdDate?: string | null;
|
|
27
|
+
}[], Error>;
|
|
6
28
|
//#endregion
|
|
7
29
|
export { useFaqsInApplication };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{environment as e}from"../utils/auth_environment.js";import{FaqService as t}from"@equinor/subsurface-app-management";import{useQuery as n}from"@tanstack/react-query";function r(){return n({queryKey:[`GET_FAQ_IN_APP`],queryFn:async()=>
|
|
1
|
+
import{environment as e}from"../utils/auth_environment.js";import{FaqService as t}from"@equinor/subsurface-app-management";import{useQuery as n}from"@tanstack/react-query";function r(e,t){return(e.orderBy??2**53-1)-(t.orderBy??2**53-1)}function i(){return n({queryKey:[`GET_FAQ_IN_APP`],queryFn:async()=>t.getCategoriesWithFaqsFromApplicationName(e.getAppName(import.meta.env.VITE_NAME)),select:e=>e.toSorted(r).map(e=>({...e,faqs:(e.faqs??[]).toSorted(r),subCategories:(e.subCategories??[]).toSorted(r).map(e=>({...e,faqs:(e.faqs??[]).toSorted(r)}))})),staleTime:1e3*60*5})}export{i as useFaqsInApplication};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react135 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, react135.Dispatch<react135.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 react137 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: react137.RefObject<HTMLInputElement | null>;
|
|
20
|
+
itemRefs: react137.RefObject<(HTMLButtonElement | null)[]>;
|
|
21
21
|
selectedValues: T[];
|
|
22
22
|
open: boolean;
|
|
23
23
|
tryingToRemoveItem: T | undefined;
|
package/dist/atoms/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { useReleaseNotes } from "../providers/ReleaseNotesProvider.js";
|
|
|
6
6
|
import { Theme } from "./enums/Theme.js";
|
|
7
7
|
import { useThemeProvider } from "../providers/ThemeProvider/ThemeProvider.js";
|
|
8
8
|
import { useStepper } from "../providers/StepperProvider.js";
|
|
9
|
+
import { useToasts } from "../providers/ToastProvider/ToastProvider.js";
|
|
9
10
|
import { useAmplifyKit } from "./hooks/useAmplifyKit.js";
|
|
10
11
|
import { useDebounce } from "./hooks/useDebounce.js";
|
|
11
12
|
import { useFakeProgress } from "./hooks/useFakeProgress.js";
|
package/dist/atoms/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EnvironmentType as e}from"./enums/Environment.js";import{auth as ee,environment as t}from"./utils/auth_environment.js";import{animation as te}from"./style/animation.js";import{colors as n}from"./style/colors.js";import{spacings as r}from"./style/spacings.js";import{elevation as i,shape as a,style_exports as o,typography as s}from"./style/index.js";import{formatLatLng as c,formatUtm as l}from"./utils/coordinate.js";import{formatDate as u,formatDateTime as d,formatRelativeDateTime as f,isBetweenDates as p}from"./utils/date.js";import{exportComponent as m}from"./utils/export.js";import{setupIcons as h}from"./utils/favicon.js";import{convertLatLngToUtm as g,convertUtmToLatLng as _,degrees2radians as v,distanceLatLng as y,utmProjection as b}from"./utils/map.js";import{defaultQueryOptions as x}from"./utils/reactquery.js";import{IMG_WITH_ALT as S,IMG_WITH_SRC_AND_ALT as C,cleanRichTextValue as w,extractImageUrls as T,getFeatures as E,getImagesFromRichText as D,imageToB64 as O}from"./utils/richtext.js";import{formatBytes as k,formatDataSize as A,formatKiloBytes as j}from"./utils/size.js";import{sortByDate as M,sortByWellboreName as N}from"./utils/sort.js";import{Empty as P,capitalize as F}from"./utils/string.js";import{isValidUrl as I}from"./utils/url.js";import{getHighlightElementBoundingBox as L,highlightTutorialElementID as R}from"./utils/tutorials.js";import{getVariantIcon as z}from"./utils/forms.js";import{useAuth as B}from"../providers/AuthProvider/AuthProvider.js";import{useSideBar as V}from"../providers/SideBarProvider.js";import{useSnackbar as H}from"../providers/SnackbarProvider/SnackbarProvider.js";import{useOnScreenMultiple as U}from"./hooks/useOnScreenMultiple.js";import{useTableOfContents as W}from"../providers/TableOfContentsProvider.js";import{useLocalStorage as G}from"./hooks/useLocalStorage.js";import{useAmplifyKit as K}from"./hooks/useAmplifyKit.js";import{useDebounce as q}from"./hooks/useDebounce.js";import{useFakeProgress as J}from"./hooks/useFakeProgress.js";import{usePrevious as Y}from"./hooks/usePrevious.js";import{useSelect as X}from"./hooks/useSelect.js";import{useStatusNavigation as Z}from"./hooks/useStatusNavigation.js";import{useNotification as Q}from"../organisms/TopBar/Notifications/NotificationProvider.js";import{useStepper as ne}from"../providers/StepperProvider.js";import{Theme as re}from"./enums/Theme.js";import{useThemeProvider as ie}from"../providers/ThemeProvider/ThemeProvider.js";import{usePrefetchRichTextImages as ae}from"./hooks/usePrefetchRichTextImages.js";import{useFaqsInApplication as oe}from"./hooks/useFaqsInApplication.js";import{
|
|
1
|
+
import{EnvironmentType as e}from"./enums/Environment.js";import{auth as ee,environment as t}from"./utils/auth_environment.js";import{animation as te}from"./style/animation.js";import{colors as n}from"./style/colors.js";import{spacings as r}from"./style/spacings.js";import{elevation as i,shape as a,style_exports as o,typography as s}from"./style/index.js";import{formatLatLng as c,formatUtm as l}from"./utils/coordinate.js";import{formatDate as u,formatDateTime as d,formatRelativeDateTime as f,isBetweenDates as p}from"./utils/date.js";import{exportComponent as m}from"./utils/export.js";import{setupIcons as h}from"./utils/favicon.js";import{convertLatLngToUtm as g,convertUtmToLatLng as _,degrees2radians as v,distanceLatLng as y,utmProjection as b}from"./utils/map.js";import{defaultQueryOptions as x}from"./utils/reactquery.js";import{IMG_WITH_ALT as S,IMG_WITH_SRC_AND_ALT as C,cleanRichTextValue as w,extractImageUrls as T,getFeatures as E,getImagesFromRichText as D,imageToB64 as O}from"./utils/richtext.js";import{formatBytes as k,formatDataSize as A,formatKiloBytes as j}from"./utils/size.js";import{sortByDate as M,sortByWellboreName as N}from"./utils/sort.js";import{Empty as P,capitalize as F}from"./utils/string.js";import{isValidUrl as I}from"./utils/url.js";import{getHighlightElementBoundingBox as L,highlightTutorialElementID as R}from"./utils/tutorials.js";import{getVariantIcon as z}from"./utils/forms.js";import{useAuth as B}from"../providers/AuthProvider/AuthProvider.js";import{useSideBar as V}from"../providers/SideBarProvider.js";import{useSnackbar as H}from"../providers/SnackbarProvider/SnackbarProvider.js";import{useOnScreenMultiple as U}from"./hooks/useOnScreenMultiple.js";import{useTableOfContents as W}from"../providers/TableOfContentsProvider.js";import{useLocalStorage as G}from"./hooks/useLocalStorage.js";import{useAmplifyKit as K}from"./hooks/useAmplifyKit.js";import{useDebounce as q}from"./hooks/useDebounce.js";import{useFakeProgress as J}from"./hooks/useFakeProgress.js";import{usePrevious as Y}from"./hooks/usePrevious.js";import{useSelect as X}from"./hooks/useSelect.js";import{useStatusNavigation as Z}from"./hooks/useStatusNavigation.js";import{useNotification as Q}from"../organisms/TopBar/Notifications/NotificationProvider.js";import{useStepper as ne}from"../providers/StepperProvider.js";import{Theme as re}from"./enums/Theme.js";import{useThemeProvider as ie}from"../providers/ThemeProvider/ThemeProvider.js";import{usePrefetchRichTextImages as ae}from"./hooks/usePrefetchRichTextImages.js";import{useFaqsInApplication as oe}from"./hooks/useFaqsInApplication.js";import{useToasts as se}from"../providers/ToastProvider/ToastProvider.js";import{ErrorType as ce}from"./enums/Errors.js";import{SpacingsMode as le}from"./enums/SpacingsMode.js";import{amplify_failure as ue,amplify_lwd as de,amplify_success as fe,amplify_wellbore as pe,amplify_wireline as me,amplify_wireline_cased_hole as he,amplify_wireline_open_hole as ge}from"./icons/drilling.js";import{amplify_calculator as _e,amplify_overlay as ve,amplify_sidebyside as ye}from"./icons/map.js";import{amplify_aml as be,amplify_arrow_up_down as xe,amplify_branch as Se,amplify_info_small as Ce,amplify_merged as we,amplify_overview as Te,amplify_resources as Ee,amplify_sharepoint as De,amplify_shield_person as Oe,amplify_small_portal as ke,amplify_snail as Ae,amplify_sort_small as je,amplify_tutorials as Me}from"./icons/other.js";import{amplify_h1 as Ne,amplify_h2 as Pe,amplify_h3 as Fe,amplify_h4 as Ie,amplify_table_add_column_left as Le,amplify_table_add_column_right as Re,amplify_table_add_row_above as ze,amplify_table_add_row_below as Be,amplify_table_column_heading as Ve,amplify_table_merge_cells as He,amplify_table_remove_column as Ue,amplify_table_remove_row as We,amplify_table_row_heading as Ge,amplify_table_split_cell as Ke}from"./icons/wysiwyg.js";import{useReleaseNotes as qe}from"../providers/ReleaseNotesProvider.js";const $=o;export{$ as style};
|
|
@@ -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{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{spacings as t}from"../../atoms/style/spacings.js";import{forwardRef as n}from"react";import{Icon as r,Typography as i}from"@equinor/eds-core-react";import a from"styled-components";import{jsx as o,jsxs as s}from"react/jsx-runtime";import{motion as c}from"
|
|
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{forwardRef as n}from"react";import{Icon as r,Typography as i}from"@equinor/eds-core-react";import a from"styled-components";import{jsx as o,jsxs as s}from"react/jsx-runtime";import{motion as c}from"motion/react";const{colors:l,shape:u}=e,d=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
height: 48px;
|
|
4
4
|
width: 48px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react3 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: react3.ForwardRefExoticComponent<IconToggleButtonProps & react3.RefAttributes<HTMLButtonElement>>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { IconToggleButton };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import { LoadingProvider } from "./providers/LoadingProvider.js";
|
|
|
8
8
|
import { Theme } from "./atoms/enums/Theme.js";
|
|
9
9
|
import { ThemeProvider, useThemeProvider } from "./providers/ThemeProvider/ThemeProvider.js";
|
|
10
10
|
import { StepperProvider, useStepper } from "./providers/StepperProvider.js";
|
|
11
|
+
import { Toast, ToastProps } from "./molecules/Toast/Toast.js";
|
|
12
|
+
import { ToastProvider, useToasts } from "./providers/ToastProvider/ToastProvider.js";
|
|
11
13
|
import { DEFAULT_FEATURES, EditorPanel, ImageExtensionFnProps, RichTextEditorFeatures } from "./molecules/RichTextEditor/RichTextEditor.types.js";
|
|
12
14
|
import { AmplifyKit } from "./molecules/RichTextEditor/custom-extensions/AmplifyKit.js";
|
|
13
15
|
import { useAmplifyKit } from "./atoms/hooks/useAmplifyKit.js";
|
|
@@ -88,6 +90,7 @@ import { OptionDrawerSelectItem } from "./molecules/OptionDrawer/OptionDrawer.ty
|
|
|
88
90
|
import { ComboBox, GroupedComboBoxProps, ListComboBoxProps } from "./molecules/Select/ComboBox/ComboBox.js";
|
|
89
91
|
import { ComboBoxChip } from "./molecules/Select/Select.styles.js";
|
|
90
92
|
import { GroupedSingleSelectProps, ListSingleSelectProps, SingleSelect } from "./molecules/Select/SingleSelect/SingleSelect.js";
|
|
93
|
+
import { TableHeader, TableHeaderProps } from "./molecules/TableHeader/TableHeader.js";
|
|
91
94
|
import { TextField, TextFieldProps } from "./molecules/TextField/TextField.js";
|
|
92
95
|
import { FeedBackIcon, FeedBackIconProps } from "./molecules/FeedBackIcon/FeedBackIcon.js";
|
|
93
96
|
import { ListItem, ListItemProps } from "./molecules/ListItem/ListItem.js";
|
|
@@ -122,4 +125,4 @@ import { Card, CardProps, DataGridProps } from "./organisms/index.js";
|
|
|
122
125
|
import { ExpandingIconButton } from "./deprecated/ExpandingIconButton/ExpandingIconButton.js";
|
|
123
126
|
import { IconToggleButton } from "./deprecated/IconToggleButton.js";
|
|
124
127
|
import { OldStepper } from "./deprecated/OldStepper/OldStepper.js";
|
|
125
|
-
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, 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, GroupedComboBoxProps, GroupedSingleSelectProps, GuidelineItem, GuidelineSections, IMG_WITH_ALT, IMG_WITH_SRC_AND_ALT, Icon, IconCell, IconCellColor, IconCellColorObject, IconCellColors, IconCellProps, IconCellState, IconCellStates, IconCellVariant, IconCellVariants, IconItem, IconProps, IconToggleButton, ImageExtensionFnProps, InfoElement, InfoElementProps, ItemType, LinearProgress, LinearProgressProps, ListComboBoxProps, ListItem, ListItemProps, ListSingleSelectProps, LoadingProvider, Menu, MenuProps, MissingAccessToApp, MissingPermissions, OldStepper, OptionDrawer, OptionDrawerProps, OptionDrawerSelectItem, OptionalTooltip, OptionalTooltipProps, PageNotFound, PageTitle, ProfileAvatar, ProfileAvatarProps, Radio, RadioProps, ReleaseNote, ReleaseNoteProps, ReleaseNotesPage, ReleaseNotesProvider, RichText, RichTextDisplay, RichTextDisplayProps, RichTextEditor, RichTextEditorFeatures, RichTextEditorProps, Search, SearchProps, SelectOption, SelectOptionRequired, ServerError, SettingsSection, SideBar, SideBarMenuItem, SideBarMenuItemWithItems, SideBarProvider, SingleSelect, SizeIconProps, SkeletonBase, SkeletonBaseProps, SkeletonGradient, SkeletonGradientProps, SnackbarProvider, SpacingsMode, Status, Stepper, StepperProps, StepperProvider, Switch, SwitchProps, Tab, TableMenuBar, TableOfContents, TableOfContentsItemType, TableOfContentsProps, TableOfContentsProvider, Tabs, TabsProps, Template, TemplateType, TextField, TextFieldProps, TextTable, Theme, ThemeProvider, 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, useDebounce, useFakeProgress, useFaqsInApplication, useLocalStorage, useNotification, useOnScreenMultiple, usePrefetchRichTextImages, usePrevious, useReleaseNotes, useSelect, useSideBar, useSnackbar, useStatusNavigation, useStepper, useTableOfContents, useThemeProvider, utmProjection };
|
|
128
|
+
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, 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, GroupedComboBoxProps, GroupedSingleSelectProps, GuidelineItem, GuidelineSections, IMG_WITH_ALT, IMG_WITH_SRC_AND_ALT, Icon, IconCell, IconCellColor, IconCellColorObject, IconCellColors, IconCellProps, IconCellState, IconCellStates, IconCellVariant, IconCellVariants, IconItem, IconProps, IconToggleButton, ImageExtensionFnProps, InfoElement, InfoElementProps, ItemType, LinearProgress, LinearProgressProps, ListComboBoxProps, ListItem, ListItemProps, ListSingleSelectProps, LoadingProvider, Menu, MenuProps, MissingAccessToApp, MissingPermissions, OldStepper, OptionDrawer, OptionDrawerProps, OptionDrawerSelectItem, OptionalTooltip, OptionalTooltipProps, PageNotFound, PageTitle, ProfileAvatar, ProfileAvatarProps, Radio, RadioProps, ReleaseNote, ReleaseNoteProps, ReleaseNotesPage, ReleaseNotesProvider, RichText, RichTextDisplay, RichTextDisplayProps, RichTextEditor, RichTextEditorFeatures, RichTextEditorProps, Search, SearchProps, SelectOption, SelectOptionRequired, ServerError, SettingsSection, SideBar, SideBarMenuItem, SideBarMenuItemWithItems, SideBarProvider, SingleSelect, SizeIconProps, SkeletonBase, SkeletonBaseProps, SkeletonGradient, SkeletonGradientProps, SnackbarProvider, SpacingsMode, Status, Stepper, StepperProps, StepperProvider, Switch, SwitchProps, Tab, TableHeader, TableHeaderProps, TableMenuBar, TableOfContents, TableOfContentsItemType, TableOfContentsProps, TableOfContentsProvider, Tabs, TabsProps, 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, 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{ErrorType as _e}from"./atoms/enums/Errors.js";import{SpacingsMode as ve}from"./atoms/enums/SpacingsMode.js";import{amplify_failure as ye,amplify_lwd as be,amplify_success as xe,amplify_wellbore as Se,amplify_wireline as Ce,amplify_wireline_cased_hole as we,amplify_wireline_open_hole as Te}from"./atoms/icons/drilling.js";import{amplify_calculator as Ee,amplify_overlay as De,amplify_sidebyside as Oe}from"./atoms/icons/map.js";import{amplify_aml as ke,amplify_arrow_up_down as Ae,amplify_branch as je,amplify_info_small as Me,amplify_merged as Ne,amplify_overview as Pe,amplify_resources as Fe,amplify_sharepoint as Ie,amplify_shield_person as Le,amplify_small_portal as Re,amplify_snail as ze,amplify_sort_small as Be,amplify_tutorials as Ve}from"./atoms/icons/other.js";import{amplify_h1 as He,amplify_h2 as Ue,amplify_h3 as We,amplify_h4 as Ge,amplify_table_add_column_left as Ke,amplify_table_add_column_right as qe,amplify_table_add_row_above as Je,amplify_table_add_row_below as Ye,amplify_table_column_heading as Xe,amplify_table_merge_cells as Ze,amplify_table_remove_column as Qe,amplify_table_remove_row as $e,amplify_table_row_heading as et,amplify_table_split_cell as tt}from"./atoms/icons/wysiwyg.js";import{style as nt}from"./atoms/index.js";import{ReleaseNotesProvider as rt,useReleaseNotes as it}from"./providers/ReleaseNotesProvider.js";import{TutorialHighlightingProvider as at}from"./providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js";import{LoadingProvider as ot}from"./providers/LoadingProvider.js";import{AnimatedCheckmark as st}from"./molecules/AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as ct}from"./molecules/ApplicationIcon/ApplicationIcon.js";import{Badge as lt}from"./molecules/Badge/Badge.js";import{Banner as ut}from"./molecules/Banner/Banner.js";import{Button as dt}from"./molecules/Button/Button.js";import{Chip as ft}from"./molecules/Chip/Chip.js";import{SkeletonBase as pt,skeletonBaseloading as mt}from"./molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{DatePicker as ht}from"./molecules/DatePicker/DatePicker.js";import{DateRangePicker as gt}from"./molecules/DateRangePicker/DateRangePicker.js";import{OptionalTooltip as _t}from"./molecules/OptionalTooltip/OptionalTooltip.js";import{Dialog as vt}from"./molecules/Dialog/Dialog.js";import{EquinorLogo as yt}from"./molecules/EquinorLogo/EquinorLogo.js";import{FileProgress as bt}from"./molecules/FileProgress/FileProgress.js";import{FileUploadArea as xt}from"./molecules/FileUploadArea/FileUploadArea.js";import{IconCellColors as St,IconCellStates as Ct,IconCellVariants as wt}from"./molecules/IconCell/IconCell.types.js";import{IconCell as Tt}from"./molecules/IconCell/IconCell.js";import{InfoElement as Et}from"./molecules/InfoElement/InfoElement.js";import{ProfileAvatar as Dt}from"./molecules/ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as Ot}from"./molecules/RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as kt,TextTable as At}from"./molecules/RichTextEditor/MenuBar/Table/TableBar.js";import{TextField as jt}from"./molecules/TextField/TextField.js";import{AmplifyBar as Mt,EditorMenu as Nt,EditorText as Pt}from"./molecules/RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as Ft}from"./molecules/RichTextEditor/RichTextEditor.js";import{RichText as It}from"./molecules/RichTextEditor/index.js";import{Tabs as Lt}from"./molecules/Tabs/Tabs.js";import{Search as Rt}from"./molecules/Search/Search.js";import{SkeletonGradient as zt}from"./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as Bt}from"./molecules/Stepper/Stepper.js";import{OptionDrawer as Vt}from"./molecules/OptionDrawer/OptionDrawer.js";import{ComboBoxChip as Ht}from"./molecules/Select/Select.styles.js";import{ComboBox as Ut}from"./molecules/Select/ComboBox/ComboBox.js";import{SingleSelect as Wt}from"./molecules/Select/SingleSelect/SingleSelect.js";import{FeedBackIcon as Gt}from"./molecules/FeedBackIcon/FeedBackIcon.js";import{ListItem as Kt}from"./molecules/ListItem/ListItem.js";import{Checkbox as qt}from"./molecules/SelectionControls/Checkbox/Checkbox.js";import{Radio as Jt}from"./molecules/SelectionControls/Radio/Radio.js";import{Switch as Yt}from"./molecules/SelectionControls/Switch/Switch.js";import{Waves as Xt}from"./molecules/Waves/Waves.js";import{Accordion as Zt,Breadcrumbs as Qt,CircularProgress as $t,Divider as en,DotProgress as tn,EDSDialog as nn,Icon as rn,LinearProgress as an,Menu as on,Typography as sn}from"./molecules/index.js";import{DataGrid as cn}from"./organisms/DataGrid/DataGrid.js";import{Template as ln}from"./organisms/Template/Template.js";import{FieldSelector as un}from"./organisms/FieldSelector/FieldSelector.js";import{Filter as dn}from"./organisms/Filter/index.js";import{SideBar as fn}from"./organisms/SideBar/index.js";import{ReleaseNote as pn}from"./organisms/ReleaseNote/ReleaseNote.js";import{TopBar as mn}from"./organisms/TopBar/index.js";import{BadRequest as hn}from"./organisms/Status/collections/BadRequest.js";import{GenericError as gn}from"./organisms/Status/collections/GenericError.js";import{MissingPermissions as _n}from"./organisms/Status/collections/MissingPermissions.js";import{PageNotFound as vn}from"./organisms/Status/collections/PageNotFound.js";import{ServerError as yn}from"./organisms/Status/collections/ServerError.js";import{ApiResponseError as bn}from"./organisms/Status/collections/ApiResponseError.js";import{TableOfContents as xn}from"./organisms/TableOfContents/TableOfContents.js";import{PageTitle as Sn}from"./organisms/PageTitle/PageTitle.js";import{ToggleGroup as Cn}from"./organisms/ToggleGroup/index.js";import{Faq as wn}from"./organisms/Faq/Faq.js";import{ReleaseNotesPage as Tn}from"./organisms/ReleaseNotesPage/ReleaseNotesPage.js";import{Card as En}from"./organisms/index.js";import{ExpandingIconButton as Dn}from"./deprecated/ExpandingIconButton/ExpandingIconButton.js";import On from"./deprecated/IconToggleButton.js";import{OldStepper as kn}from"./deprecated/OldStepper/OldStepper.js";export{Zt as Accordion,Mt as AmplifyBar,ne as AmplifyKit,st as AnimatedCheckmark,bn as ApiResponseError,ct as ApplicationIcon,K as AuthProvider,hn as BadRequest,lt as Badge,ut as Banner,Qt as Breadcrumbs,dt as Button,En as Card,qt as Checkbox,ft as Chip,$t as CircularProgress,Ut as ComboBox,Ht as ComboBoxChip,w as DEFAULT_FEATURES,cn as DataGrid,ht as DatePicker,gt as DateRangePicker,vt as Dialog,en as Divider,tn as DotProgress,nn as EDSDialog,Nt as EditorMenu,Pt as EditorText,R as Empty,e as EnvironmentType,yt as EquinorLogo,_e as ErrorType,Dn as ExpandingIconButton,wn as Faq,Gt as FeedBackIcon,un as FieldSelector,bt as FileProgress,xt as FileUploadArea,dn as Filter,l as FullPageSpinner,gn as GenericError,E as IMG_WITH_ALT,D as IMG_WITH_SRC_AND_ALT,rn as Icon,Tt as IconCell,St as IconCellColors,Ct as IconCellStates,wt as IconCellVariants,On as IconToggleButton,Et as InfoElement,an as LinearProgress,Kt as ListItem,ot as LoadingProvider,on as Menu,G as MissingAccessToApp,_n as MissingPermissions,kn as OldStepper,Vt as OptionDrawer,_t as OptionalTooltip,vn as PageNotFound,Sn as PageTitle,Dt as ProfileAvatar,Jt as Radio,pn as ReleaseNote,Tn as ReleaseNotesPage,rt as ReleaseNotesProvider,It as RichText,Ot as RichTextDisplay,Ft as RichTextEditor,T as RichTextEditorFeatures,Rt as Search,yn as ServerError,fn as SideBar,J as SideBarProvider,Wt as SingleSelect,pt as SkeletonBase,zt as SkeletonGradient,X as SnackbarProvider,ve as SpacingsMode,W as Status,Bt as Stepper,ue as StepperProvider,Yt as Switch,kt as TableMenuBar,xn as TableOfContents,$ as TableOfContentsProvider,Lt as Tabs,ln as Template,jt as TextField,At as TextTable,fe as Theme,pe as ThemeProvider,Cn as ToggleGroup,mn as TopBar,at as TutorialHighlightingProvider,sn as Typography,Xt as Waves,ke as amplify_aml,Ae as amplify_arrow_up_down,je as amplify_branch,Ee as amplify_calculator,ye as amplify_failure,He as amplify_h1,Ue as amplify_h2,We as amplify_h3,Ge as amplify_h4,Me as amplify_info_small,be as amplify_lwd,Ne as amplify_merged,De as amplify_overlay,Pe as amplify_overview,Fe as amplify_resources,Ie as amplify_sharepoint,Le as amplify_shield_person,Oe as amplify_sidebyside,Re as amplify_small_portal,ze as amplify_snail,Be as amplify_sort_small,xe as amplify_success,Ke as amplify_table_add_column_left,qe as amplify_table_add_column_right,Je as amplify_table_add_row_above,Ye as amplify_table_add_row_below,Xe as amplify_table_column_heading,Ze as amplify_table_merge_cells,Qe as amplify_table_remove_column,$e as amplify_table_remove_row,et as amplify_table_row_heading,tt as amplify_table_split_cell,Ve as amplify_tutorials,Se as amplify_wellbore,Ce as amplify_wireline,we as amplify_wireline_cased_hole,Te 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,mt as skeletonBaseloading,I as sortByDate,L as sortByWellboreName,a as spacings,nt as style,c as typography,re as useAmplifyKit,q as useAuth,ie as useDebounce,ae as useFakeProgress,ge as useFaqsInApplication,te as useLocalStorage,le as useNotification,Q as useOnScreenMultiple,he as usePrefetchRichTextImages,oe as usePrevious,it as useReleaseNotes,se as useSelect,Y as useSideBar,Z as useSnackbar,ce as useStatusNavigation,de as useStepper,ee as useTableOfContents,me as useThemeProvider,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{Button as _e}from"./molecules/Button/Button.js";import{Toast as ve}from"./molecules/Toast/Toast.js";import{ToastProvider as ye,useToasts as be}from"./providers/ToastProvider/ToastProvider.js";import{ErrorType as xe}from"./atoms/enums/Errors.js";import{SpacingsMode as Se}from"./atoms/enums/SpacingsMode.js";import{amplify_failure as Ce,amplify_lwd as we,amplify_success as Te,amplify_wellbore as Ee,amplify_wireline as De,amplify_wireline_cased_hole as Oe,amplify_wireline_open_hole as ke}from"./atoms/icons/drilling.js";import{amplify_calculator as Ae,amplify_overlay as je,amplify_sidebyside as Me}from"./atoms/icons/map.js";import{amplify_aml as Ne,amplify_arrow_up_down as Pe,amplify_branch as Fe,amplify_info_small as Ie,amplify_merged as Le,amplify_overview as Re,amplify_resources as ze,amplify_sharepoint as Be,amplify_shield_person as Ve,amplify_small_portal as He,amplify_snail as Ue,amplify_sort_small as We,amplify_tutorials as Ge}from"./atoms/icons/other.js";import{amplify_h1 as Ke,amplify_h2 as qe,amplify_h3 as Je,amplify_h4 as Ye,amplify_table_add_column_left as Xe,amplify_table_add_column_right as Ze,amplify_table_add_row_above as Qe,amplify_table_add_row_below as $e,amplify_table_column_heading as et,amplify_table_merge_cells as tt,amplify_table_remove_column as nt,amplify_table_remove_row as rt,amplify_table_row_heading as it,amplify_table_split_cell as at}from"./atoms/icons/wysiwyg.js";import{style as ot}from"./atoms/index.js";import{ReleaseNotesProvider as st,useReleaseNotes as ct}from"./providers/ReleaseNotesProvider.js";import{TutorialHighlightingProvider as lt}from"./providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js";import{LoadingProvider as ut}from"./providers/LoadingProvider.js";import{AnimatedCheckmark as dt}from"./molecules/AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as ft}from"./molecules/ApplicationIcon/ApplicationIcon.js";import{Badge as pt}from"./molecules/Badge/Badge.js";import{Banner as mt}from"./molecules/Banner/Banner.js";import{Chip as ht}from"./molecules/Chip/Chip.js";import{SkeletonBase as gt,skeletonBaseloading as _t}from"./molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{DatePicker as vt}from"./molecules/DatePicker/DatePicker.js";import{DateRangePicker as yt}from"./molecules/DateRangePicker/DateRangePicker.js";import{OptionalTooltip as bt}from"./molecules/OptionalTooltip/OptionalTooltip.js";import{Dialog as xt}from"./molecules/Dialog/Dialog.js";import{EquinorLogo as St}from"./molecules/EquinorLogo/EquinorLogo.js";import{FileProgress as Ct}from"./molecules/FileProgress/FileProgress.js";import{FileUploadArea as wt}from"./molecules/FileUploadArea/FileUploadArea.js";import{IconCellColors as Tt,IconCellStates as Et,IconCellVariants as Dt}from"./molecules/IconCell/IconCell.types.js";import{IconCell as Ot}from"./molecules/IconCell/IconCell.js";import{InfoElement as kt}from"./molecules/InfoElement/InfoElement.js";import{ProfileAvatar as At}from"./molecules/ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as jt}from"./molecules/RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as Mt,TextTable as Nt}from"./molecules/RichTextEditor/MenuBar/Table/TableBar.js";import{TextField as Pt}from"./molecules/TextField/TextField.js";import{AmplifyBar as Ft,EditorMenu as It,EditorText as Lt}from"./molecules/RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as Rt}from"./molecules/RichTextEditor/RichTextEditor.js";import{RichText as zt}from"./molecules/RichTextEditor/index.js";import{Tabs as Bt}from"./molecules/Tabs/Tabs.js";import{Search as Vt}from"./molecules/Search/Search.js";import{SkeletonGradient as Ht}from"./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as Ut}from"./molecules/Stepper/Stepper.js";import{OptionDrawer as Wt}from"./molecules/OptionDrawer/OptionDrawer.js";import{ComboBoxChip as Gt}from"./molecules/Select/Select.styles.js";import{ComboBox as Kt}from"./molecules/Select/ComboBox/ComboBox.js";import{SingleSelect as qt}from"./molecules/Select/SingleSelect/SingleSelect.js";import{TableHeader as Jt}from"./molecules/TableHeader/TableHeader.js";import{FeedBackIcon as Yt}from"./molecules/FeedBackIcon/FeedBackIcon.js";import{ListItem as Xt}from"./molecules/ListItem/ListItem.js";import{Checkbox as Zt}from"./molecules/SelectionControls/Checkbox/Checkbox.js";import{Radio as Qt}from"./molecules/SelectionControls/Radio/Radio.js";import{Switch as $t}from"./molecules/SelectionControls/Switch/Switch.js";import{Waves as en}from"./molecules/Waves/Waves.js";import{Accordion as tn,Breadcrumbs as nn,CircularProgress as rn,Divider as an,DotProgress as on,EDSDialog as sn,Icon as cn,LinearProgress as ln,Menu as un,Typography as dn}from"./molecules/index.js";import{DataGrid as fn}from"./organisms/DataGrid/DataGrid.js";import{Template as pn}from"./organisms/Template/Template.js";import{FieldSelector as mn}from"./organisms/FieldSelector/FieldSelector.js";import{Filter as hn}from"./organisms/Filter/index.js";import{SideBar as gn}from"./organisms/SideBar/index.js";import{ReleaseNote as _n}from"./organisms/ReleaseNote/ReleaseNote.js";import{TopBar as vn}from"./organisms/TopBar/index.js";import{BadRequest as yn}from"./organisms/Status/collections/BadRequest.js";import{GenericError as bn}from"./organisms/Status/collections/GenericError.js";import{MissingPermissions as xn}from"./organisms/Status/collections/MissingPermissions.js";import{PageNotFound as Sn}from"./organisms/Status/collections/PageNotFound.js";import{ServerError as Cn}from"./organisms/Status/collections/ServerError.js";import{ApiResponseError as wn}from"./organisms/Status/collections/ApiResponseError.js";import{TableOfContents as Tn}from"./organisms/TableOfContents/TableOfContents.js";import{PageTitle as En}from"./organisms/PageTitle/PageTitle.js";import{ToggleGroup as Dn}from"./organisms/ToggleGroup/index.js";import{Faq as On}from"./organisms/Faq/Faq.js";import{ReleaseNotesPage as kn}from"./organisms/ReleaseNotesPage/ReleaseNotesPage.js";import{Card as An}from"./organisms/index.js";import{ExpandingIconButton as jn}from"./deprecated/ExpandingIconButton/ExpandingIconButton.js";import Mn from"./deprecated/IconToggleButton.js";import{OldStepper as Nn}from"./deprecated/OldStepper/OldStepper.js";export{tn as Accordion,Ft as AmplifyBar,ne as AmplifyKit,dt as AnimatedCheckmark,wn as ApiResponseError,ft as ApplicationIcon,K as AuthProvider,yn as BadRequest,pt as Badge,mt as Banner,nn as Breadcrumbs,_e as Button,An as Card,Zt as Checkbox,ht as Chip,rn as CircularProgress,Kt as ComboBox,Gt as ComboBoxChip,w as DEFAULT_FEATURES,fn as DataGrid,vt as DatePicker,yt as DateRangePicker,xt as Dialog,an as Divider,on as DotProgress,sn as EDSDialog,It as EditorMenu,Lt as EditorText,R as Empty,e as EnvironmentType,St as EquinorLogo,xe as ErrorType,jn as ExpandingIconButton,On as Faq,Yt as FeedBackIcon,mn as FieldSelector,Ct as FileProgress,wt as FileUploadArea,hn as Filter,l as FullPageSpinner,bn as GenericError,E as IMG_WITH_ALT,D as IMG_WITH_SRC_AND_ALT,cn as Icon,Ot as IconCell,Tt as IconCellColors,Et as IconCellStates,Dt as IconCellVariants,Mn as IconToggleButton,kt as InfoElement,ln as LinearProgress,Xt as ListItem,ut as LoadingProvider,un as Menu,G as MissingAccessToApp,xn as MissingPermissions,Nn as OldStepper,Wt as OptionDrawer,bt as OptionalTooltip,Sn as PageNotFound,En as PageTitle,At as ProfileAvatar,Qt as Radio,_n as ReleaseNote,kn as ReleaseNotesPage,st as ReleaseNotesProvider,zt as RichText,jt as RichTextDisplay,Rt as RichTextEditor,T as RichTextEditorFeatures,Vt as Search,Cn as ServerError,gn as SideBar,J as SideBarProvider,qt as SingleSelect,gt as SkeletonBase,Ht as SkeletonGradient,X as SnackbarProvider,Se as SpacingsMode,W as Status,Ut as Stepper,ue as StepperProvider,$t as Switch,Jt as TableHeader,Mt as TableMenuBar,Tn as TableOfContents,$ as TableOfContentsProvider,Bt as Tabs,pn as Template,Pt as TextField,Nt as TextTable,fe as Theme,pe as ThemeProvider,ve as Toast,ye as ToastProvider,Dn as ToggleGroup,vn as TopBar,lt as TutorialHighlightingProvider,dn as Typography,en as Waves,Ne as amplify_aml,Pe as amplify_arrow_up_down,Fe as amplify_branch,Ae as amplify_calculator,Ce as amplify_failure,Ke as amplify_h1,qe as amplify_h2,Je as amplify_h3,Ye as amplify_h4,Ie as amplify_info_small,we as amplify_lwd,Le as amplify_merged,je as amplify_overlay,Re as amplify_overview,ze as amplify_resources,Be as amplify_sharepoint,Ve as amplify_shield_person,Me as amplify_sidebyside,He as amplify_small_portal,Ue as amplify_snail,We as amplify_sort_small,Te as amplify_success,Xe as amplify_table_add_column_left,Ze as amplify_table_add_column_right,Qe as amplify_table_add_row_above,$e as amplify_table_add_row_below,et as amplify_table_column_heading,tt as amplify_table_merge_cells,nt as amplify_table_remove_column,rt as amplify_table_remove_row,it as amplify_table_row_heading,at as amplify_table_split_cell,Ge as amplify_tutorials,Ee as amplify_wellbore,De as amplify_wireline,Oe as amplify_wireline_cased_hole,ke 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,_t as skeletonBaseloading,I as sortByDate,L as sortByWellboreName,a as spacings,ot as style,c as typography,re as useAmplifyKit,q as useAuth,ie as useDebounce,ae as useFakeProgress,ge as useFaqsInApplication,te as useLocalStorage,le as useNotification,Q as useOnScreenMultiple,he as usePrefetchRichTextImages,oe as usePrevious,ct as useReleaseNotes,se as useSelect,Y as useSideBar,Z as useSnackbar,ce as useStatusNavigation,de as useStepper,ee as useTableOfContents,me as useThemeProvider,be as useToasts,S as utmProjection};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react7 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: react7.ForwardRefExoticComponent<ChipProps & react7.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
|
|
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 react5 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: react5.ForwardRefExoticComponent<Omit<DatePickerProps, "defaultValue" | "variant"> & {
|
|
13
13
|
variant?: Variants;
|
|
14
14
|
defaultValue?: Date | undefined;
|
|
15
15
|
meta?: string;
|
|
16
16
|
loading?: boolean;
|
|
17
|
-
} &
|
|
17
|
+
} & react5.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { DatePicker$1 as DatePicker, DatePickerProps$1 as DatePickerProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Variants } from "../../atoms/types/variants.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react11 from "react";
|
|
3
3
|
import { DateRangePickerProps } from "@equinor/eds-core-react";
|
|
4
4
|
|
|
5
5
|
//#region src/molecules/DateRangePicker/DateRangePicker.d.ts
|
|
@@ -8,10 +8,10 @@ type DateRangePickerProps$1 = Omit<DateRangePickerProps, 'variant'> & {
|
|
|
8
8
|
meta?: string;
|
|
9
9
|
loading?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const DateRangePicker$1:
|
|
11
|
+
declare const DateRangePicker$1: react11.ForwardRefExoticComponent<Omit<DateRangePickerProps, "variant"> & {
|
|
12
12
|
variant?: Variants;
|
|
13
13
|
meta?: string;
|
|
14
14
|
loading?: boolean;
|
|
15
|
-
} &
|
|
15
|
+
} & react11.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DateRangePicker$1 as DateRangePicker, DateRangePickerProps$1 as DateRangePickerProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react9 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ButtonProps, DialogProps } from "@equinor/eds-core-react";
|
|
4
4
|
import { IconData } from "@equinor/eds-icons";
|
|
@@ -51,6 +51,6 @@ interface DialogProps$1 extends Omit<DialogProps, 'title'> {
|
|
|
51
51
|
* @param additionalInfo - Defaults to empty, and won't show the additional info button
|
|
52
52
|
* Also inherits props from EDS dialog
|
|
53
53
|
*/
|
|
54
|
-
declare const Dialog$1:
|
|
54
|
+
declare const Dialog$1: react9.ForwardRefExoticComponent<DialogProps$1 & react9.RefAttributes<HTMLDivElement>>;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { Dialog$1 as Dialog, DialogAction, DialogProps$1 as DialogProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SizeIconProps } from "../../atoms/types/Icon.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react13 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/EquinorLogo/EquinorLogo.d.ts
|
|
5
5
|
interface EquinorLogoProps extends Partial<SizeIconProps> {
|
|
6
6
|
large?: boolean;
|
|
7
7
|
color?: 'red' | 'white' | 'black';
|
|
8
8
|
}
|
|
9
|
-
declare const EquinorLogo:
|
|
9
|
+
declare const EquinorLogo: react13.ForwardRefExoticComponent<EquinorLogoProps & react13.RefAttributes<SVGSVGElement>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { EquinorLogo, EquinorLogoProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconCellColor, IconCellState, IconCellVariant, IconCellVariants } from "./IconCell.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react15 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: react15.ForwardRefExoticComponent<IconCellProps & react15.RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { IconCell, IconCellProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react90 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: react90.ForwardRefExoticComponent<ListItemProps & react90.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_runtime0 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_runtime0.JSX.Element;
|
|
47
47
|
displayName: string;
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react25 from "react";
|
|
2
2
|
import { TooltipProps } from "@equinor/eds-core-react";
|
|
3
3
|
import * as _floating_ui_utils0 from "@floating-ui/utils";
|
|
4
4
|
|
|
@@ -6,14 +6,14 @@ import * as _floating_ui_utils0 from "@floating-ui/utils";
|
|
|
6
6
|
type OptionalTooltipProps = {
|
|
7
7
|
textTransform?: string;
|
|
8
8
|
} & TooltipProps;
|
|
9
|
-
declare const OptionalTooltip:
|
|
9
|
+
declare const OptionalTooltip: react25.ForwardRefExoticComponent<{
|
|
10
10
|
textTransform?: string;
|
|
11
11
|
} & {
|
|
12
12
|
placement?: _floating_ui_utils0.Placement;
|
|
13
|
-
title?:
|
|
13
|
+
title?: react25.ReactNode;
|
|
14
14
|
children: React.ReactElement & React.RefAttributes<HTMLElement>;
|
|
15
15
|
enterDelay?: number;
|
|
16
16
|
portalContainer?: HTMLElement;
|
|
17
|
-
} & Omit<
|
|
17
|
+
} & Omit<react25.HTMLAttributes<HTMLDivElement>, "title"> & react25.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { OptionalTooltip, OptionalTooltipProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react29 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/molecules/ProfileAvatar/ProfileAvatar.d.ts
|
|
4
4
|
interface ProfileAvatarProps {
|
|
@@ -7,6 +7,6 @@ interface ProfileAvatarProps {
|
|
|
7
7
|
size?: 'small' | 'small-medium' | 'medium' | 'large' | 'x-large' | number;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const ProfileAvatar:
|
|
10
|
+
declare const ProfileAvatar: react29.ForwardRefExoticComponent<ProfileAvatarProps & react29.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ProfileAvatar, ProfileAvatarProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EditorPanel, ImageExtensionFnProps, RichTextEditorFeatures } from "../RichTextEditor.types.js";
|
|
2
2
|
import { MenuButtonProps } from "./MenuButton.js";
|
|
3
3
|
import { AddImageProps } from "./AddImageButton.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react31 from "react";
|
|
5
5
|
import { FC } from "react";
|
|
6
6
|
import * as styled_components0 from "styled-components";
|
|
7
7
|
import { Editor } from "@tiptap/react";
|
|
@@ -14,10 +14,10 @@ interface MenuBarProps extends Pick<ImageExtensionFnProps, 'onImageUpload'> {
|
|
|
14
14
|
}
|
|
15
15
|
declare const AmplifyBar: FC<MenuBarProps>;
|
|
16
16
|
declare const EditorMenu: {
|
|
17
|
-
Bar: styled_components_dist_types3.IStyledComponentBase<"web", styled_components0.FastOmit<
|
|
18
|
-
Bars: styled_components_dist_types3.IStyledComponentBase<"web", styled_components0.FastOmit<
|
|
19
|
-
Button:
|
|
20
|
-
Section: styled_components_dist_types3.IStyledComponentBase<"web", styled_components0.FastOmit<
|
|
17
|
+
Bar: styled_components_dist_types3.IStyledComponentBase<"web", styled_components0.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
18
|
+
Bars: styled_components_dist_types3.IStyledComponentBase<"web", styled_components0.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
19
|
+
Button: react31.ForwardRefExoticComponent<Omit<MenuButtonProps, "ref"> & react31.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
Section: styled_components_dist_types3.IStyledComponentBase<"web", styled_components0.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
21
21
|
AddImageButton: FC<AddImageProps>;
|
|
22
22
|
};
|
|
23
23
|
declare const EditorText: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react39 from "react";
|
|
2
2
|
import { SearchProps } from "@equinor/eds-core-react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/Search/Search.d.ts
|
|
5
|
-
declare const Search$1:
|
|
5
|
+
declare const Search$1: react39.ForwardRefExoticComponent<SearchProps & react39.RefAttributes<HTMLInputElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Search$1 as Search };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, MultiSelectCommon, SelectOptionRequired } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/Select/ComboBox/ComboBox.d.ts
|
|
5
5
|
type ListComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T> & MultiSelectCommon<T> & ListSelectProps<T>;
|
|
@@ -18,6 +18,6 @@ type GroupedComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T>
|
|
|
18
18
|
* @param showSelectedAsText - If values should be shown as "5/10 Selected", defaults to false
|
|
19
19
|
* @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
|
|
20
20
|
*/
|
|
21
|
-
declare function ComboBox<T extends SelectOptionRequired>(props: ListComboBoxProps<T> | GroupedComboBoxProps<T>):
|
|
21
|
+
declare function ComboBox<T extends SelectOptionRequired>(props: ListComboBoxProps<T> | GroupedComboBoxProps<T>): react_jsx_runtime1.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ComboBox, GroupedComboBoxProps, ListComboBoxProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseChipProps, ClickableChipProps, DeletableChipProps } from "../Chip/Chip.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react43 from "react";
|
|
3
3
|
import "@equinor/eds-core-react";
|
|
4
4
|
import "styled-components";
|
|
5
5
|
import * as styled_components_dist_types8 from "styled-components/dist/types";
|
|
@@ -11,12 +11,12 @@ interface ComboBoxChipProps {
|
|
|
11
11
|
$lightBackground?: boolean;
|
|
12
12
|
className: string;
|
|
13
13
|
}
|
|
14
|
-
declare const ComboBoxChip: styled_components_dist_types8.IStyledComponentBase<"web", styled_components_dist_types8.Substitute<((Omit<
|
|
14
|
+
declare const ComboBoxChip: styled_components_dist_types8.IStyledComponentBase<"web", styled_components_dist_types8.Substitute<((Omit<react43.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
|
|
15
15
|
onClick?: undefined;
|
|
16
16
|
onDelete?: undefined;
|
|
17
|
-
}) | ClickableChipProps | DeletableChipProps)) &
|
|
17
|
+
}) | ClickableChipProps | DeletableChipProps)) & react43.RefAttributes<HTMLDivElement | HTMLButtonElement>) & styled_components_dist_types8.BaseObject, ComboBoxChipProps>> & string & Omit<react43.ForwardRefExoticComponent<(Omit<react43.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
|
|
18
18
|
onClick?: undefined;
|
|
19
19
|
onDelete?: undefined;
|
|
20
|
-
}) | ClickableChipProps | DeletableChipProps)) &
|
|
20
|
+
}) | ClickableChipProps | DeletableChipProps)) & react43.RefAttributes<HTMLDivElement | HTMLButtonElement>>, keyof react43.Component<any, {}, any>>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ComboBoxChip };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, SelectOptionRequired, SingleSelectCommon } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/Select/SingleSelect/SingleSelect.d.ts
|
|
5
5
|
type ListSingleSelectProps<T extends SelectOptionRequired> = CommonSelectProps<T> & SingleSelectCommon<T> & ListSelectProps<T>;
|
|
@@ -16,6 +16,6 @@ type GroupedSingleSelectProps<T extends SelectOptionRequired> = CommonSelectProp
|
|
|
16
16
|
* @param onSearchFilter - Custom filter function for search, default is "item.label.match(new RegExp(searchValue, 'i'))"
|
|
17
17
|
* @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
|
|
18
18
|
*/
|
|
19
|
-
declare function SingleSelect<T extends SelectOptionRequired>(props: ListSingleSelectProps<T> | GroupedSingleSelectProps<T>):
|
|
19
|
+
declare function SingleSelect<T extends SelectOptionRequired>(props: ListSingleSelectProps<T> | GroupedSingleSelectProps<T>): react_jsx_runtime2.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { GroupedSingleSelectProps, ListSingleSelectProps, SingleSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react41 from "react";
|
|
2
2
|
import * as styled_components_dist_types6 from "styled-components/dist/types";
|
|
3
3
|
import * as styled_components_dist_models_Keyframes0 from "styled-components/dist/models/Keyframes";
|
|
4
4
|
|
|
@@ -7,6 +7,6 @@ declare const skeletonBaseloading: styled_components_dist_models_Keyframes0.defa
|
|
|
7
7
|
interface SkeletonBaseProps {
|
|
8
8
|
$offset?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const SkeletonBase: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<
|
|
10
|
+
declare const SkeletonBase: styled_components_dist_types6.IStyledComponentBase<"web", styled_components_dist_types6.Substitute<react41.DetailedHTMLProps<react41.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SkeletonBaseProps>> & string;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SkeletonBase, SkeletonBaseProps, skeletonBaseloading };
|
|
@@ -23,8 +23,7 @@ import{COLORS as e}from"../Skeleton.styles.js";import t,{css as n,keyframes as r
|
|
|
23
23
|
top: 0;
|
|
24
24
|
transform: translateX(-100%);
|
|
25
25
|
z-index: 1;
|
|
26
|
-
${e=>e
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
26
|
+
${({$offset:e})=>e?n`
|
|
27
|
+
animation-delay: ${e}ms;
|
|
28
|
+
`:``}
|
|
30
29
|
`;export{a as SkeletonBase,i as skeletonBaseloading};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Variants } from "../../atoms/types/variants.js";
|
|
2
|
+
import { FC, MouseEventHandler } from "react";
|
|
3
|
+
import { IconData } from "@equinor/eds-icons";
|
|
4
|
+
|
|
5
|
+
//#region src/molecules/TableHeader/TableHeader.d.ts
|
|
6
|
+
interface TableHeaderProps {
|
|
7
|
+
as?: 'th' | 'div';
|
|
8
|
+
variant?: Extract<Variants, 'error' | 'warning'>;
|
|
9
|
+
onClick?: MouseEventHandler;
|
|
10
|
+
leadingIcon?: IconData;
|
|
11
|
+
trailingAction?: {
|
|
12
|
+
icon: IconData;
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
};
|
|
15
|
+
sorting?: {
|
|
16
|
+
isSorting?: 'asc' | 'desc';
|
|
17
|
+
onSortClick?: MouseEventHandler;
|
|
18
|
+
};
|
|
19
|
+
children: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @param as - HTML element to render as
|
|
23
|
+
* @param variant - Form variant (error, warning)
|
|
24
|
+
* @param onClick - Click handler for the cell
|
|
25
|
+
* @param leadingIcon - Icon to display before the text, only has defaults when a variant has been set
|
|
26
|
+
* @param trailingAction - Button with icon after text, but before sort icon
|
|
27
|
+
* @param sorting - If the sorting should be enabled, { isSorting, onSortClick } where isSorting determines if the sort icon is shown and onSortClick is the click handler for sorting
|
|
28
|
+
* @param children - Text content of the header cell
|
|
29
|
+
*/
|
|
30
|
+
declare const TableHeader: FC<TableHeaderProps>;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { TableHeader, TableHeaderProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Button as e}from"../Button/Button.js";import{SpacingsMode as t}from"../../atoms/enums/SpacingsMode.js";import{getActionIconColor as n,getLeadingIcon as r,getLeadingIconColor as i,getSortingIcon as a,getTextColor as o}from"./TableHeader.utils.js";import{ActionsWrapper as s,Container as c,Wrapper as l}from"./TableHeader.styles.js";import{Icon as u,Typography as d}from"@equinor/eds-core-react";import{jsx as f,jsxs as p}from"react/jsx-runtime";const m=({as:m=`th`,variant:h,onClick:g,sorting:_,leadingIcon:v,trailingAction:y,children:b})=>{let x=r({variant:h,leadingIcon:v});return f(l,{as:m,children:p(c,{$hasOnClick:!!g,$hasOnSort:!!_,$variant:h,onClick:e=>{g?g(e):_?.onSortClick?.(e)},children:[x&&f(u,{data:x,color:i({variant:h,onClick:g})}),f(d,{variant:`cell_header`,group:`table`,color:o({variant:h,onClick:g}),children:b}),(!!y||!!_)&&p(s,{children:[y&&f(e,{"data-spacings-mode":t.COMPACT,variant:`ghost_icon`,onClick:y.onClick,children:f(u,{data:y.icon,color:n({variant:h})})}),_?.isSorting&&f(e,{className:`sort-button`,onClick:g?_.onSortClick:void 0,"data-spacings-mode":t.COMPACT,variant:`ghost_icon`,children:f(u,{data:a(_.isSorting),color:n({variant:h})})})]})]})})};export{m as TableHeader};
|