@equinor/amplify-component-lib 14.0.0 → 14.1.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.
Files changed (67) hide show
  1. package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
  2. package/dist/atoms/hooks/useSelect.d.ts +3 -3
  3. package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +2 -2
  4. package/dist/deprecated/IconToggleButton.d.ts +2 -2
  5. package/dist/index.d.ts +3 -2
  6. package/dist/index.js +1 -1
  7. package/dist/molecules/Chip/Chip.d.ts +1 -1
  8. package/dist/molecules/DatePicker/DatePicker.d.ts +3 -3
  9. package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
  10. package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
  11. package/dist/molecules/ListItem/ListItem.d.ts +2 -2
  12. package/dist/molecules/OptionDrawer/OptionDrawer.d.ts +2 -2
  13. package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
  14. package/dist/molecules/RichTextEditor/MenuBar/MenuBar.d.ts +7 -7
  15. package/dist/molecules/RichTextEditor/RichTextEditor.d.ts +6 -1
  16. package/dist/molecules/RichTextEditor/RichTextEditor.js +1 -1
  17. package/dist/molecules/RichTextEditor/RichTextEditor.styles.d.ts +1 -0
  18. package/dist/molecules/RichTextEditor/RichTextEditor.styles.js +45 -25
  19. package/dist/molecules/RichTextEditor/index.d.ts +7 -7
  20. package/dist/molecules/Search/Search.d.ts +2 -2
  21. package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
  22. package/dist/molecules/Select/Select.styles.d.ts +4 -4
  23. package/dist/molecules/SelectionControls/Checkbox/Checkbox.d.ts +2 -2
  24. package/dist/molecules/Skeleton/SkeletonBase/SkeletonBase.d.ts +2 -2
  25. package/dist/molecules/Tabs/Tabs.d.ts +2 -2
  26. package/dist/molecules/index.d.ts +2 -2
  27. package/dist/molecules/index.js +1 -1
  28. package/dist/organisms/Comments/AddComment.js +13 -0
  29. package/dist/organisms/Comments/Comment.d.ts +40 -0
  30. package/dist/organisms/Comments/Comment.js +32 -0
  31. package/dist/organisms/Comments/Comments.d.ts +33 -0
  32. package/dist/organisms/Comments/Comments.js +15 -0
  33. package/dist/organisms/Comments/DeleteConfirmation.js +1 -0
  34. package/dist/organisms/Comments/VerticalDivider.js +16 -0
  35. package/dist/organisms/Comments/mentions/MentionList.js +1 -0
  36. package/dist/organisms/Comments/mentions/MentionList.styles.js +22 -0
  37. package/dist/organisms/Comments/mentions/suggestions.js +1 -0
  38. package/dist/organisms/Comments/mentions/utils.js +1 -0
  39. package/dist/organisms/Comments/utils.js +1 -0
  40. package/dist/organisms/Filter/Filter.d.ts +2 -2
  41. package/dist/organisms/Filter/QuickFilter.d.ts +2 -2
  42. package/dist/organisms/Filter/SortMenu.d.ts +2 -2
  43. package/dist/organisms/ReleaseNote/ReleaseNote.d.ts +3 -3
  44. package/dist/organisms/SideBar/SideBar.d.ts +2 -2
  45. package/dist/organisms/SideSheet/SideSheet.types.d.ts +2 -2
  46. package/dist/organisms/Status/Description.d.ts +2 -2
  47. package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
  48. package/dist/organisms/Status/Title.d.ts +2 -2
  49. package/dist/organisms/Status/collections/BadRequest.d.ts +2 -2
  50. package/dist/organisms/Status/collections/GenericError.d.ts +2 -2
  51. package/dist/organisms/Status/collections/MissingPermissions.d.ts +2 -2
  52. package/dist/organisms/Status/collections/PageNotFound.d.ts +2 -2
  53. package/dist/organisms/Status/collections/ServerError.d.ts +2 -2
  54. package/dist/organisms/Template/Template.d.ts +3 -3
  55. package/dist/organisms/ToggleGroup/ToggleGroup.d.ts +2 -2
  56. package/dist/organisms/ToggleGroup/ToggleGroupOption.d.ts +2 -2
  57. package/dist/organisms/TopBar/Actions.d.ts +2 -2
  58. package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +3 -2
  59. package/dist/organisms/TopBar/FieldMenu/FieldMenu.js +1 -1
  60. package/dist/organisms/TopBar/FieldMenu/FieldMenu.styles.js +23 -9
  61. package/dist/organisms/TopBar/Guidelines/Colorbox.d.ts +4 -4
  62. package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
  63. package/dist/organisms/TopBar/TopBar.d.ts +1 -0
  64. package/dist/organisms/TopBar/TopBar.js +1 -1
  65. package/dist/organisms/index.d.ts +1 -0
  66. package/dist/organisms/index.js +1 -1
  67. package/package.json +3 -1
@@ -1,6 +1,6 @@
1
- import * as react239 from "react";
1
+ import * as react245 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, react239.Dispatch<react239.SetStateAction<T>>, () => void];
4
+ declare const useLocalStorage: <T>(key: string, defaultState: T, keepAliveMs?: number) => readonly [T, react245.Dispatch<react245.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 react237 from "react";
3
+ import * as react247 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: react237.RefObject<HTMLInputElement | null>;
20
- itemRefs: react237.RefObject<(HTMLButtonElement | null)[]>;
19
+ searchRef: react247.RefObject<HTMLInputElement | null>;
20
+ itemRefs: react247.RefObject<(HTMLButtonElement | null)[]>;
21
21
  selectedValues: T[];
22
22
  open: boolean;
23
23
  tryingToRemoveItem: T | undefined;
@@ -1,4 +1,4 @@
1
- import * as react4 from "react";
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: react4.ForwardRefExoticComponent<ExpandingIconButtonProps & react4.RefAttributes<HTMLDivElement>>;
15
+ declare const ExpandingIconButton: react1.ForwardRefExoticComponent<ExpandingIconButtonProps & react1.RefAttributes<HTMLDivElement>>;
16
16
  //#endregion
17
17
  export { ExpandingIconButton };
@@ -1,4 +1,4 @@
1
- import * as react2 from "react";
1
+ import * as react0 from "react";
2
2
  import { TooltipProps } from "@equinor/eds-core-react";
3
3
  import { IconData } from "@equinor/eds-icons";
4
4
 
@@ -22,6 +22,6 @@ interface IconToggleButtonProps {
22
22
  /**
23
23
  * @deprecated Being deprecated from amplify-component-lib move into app if you want the implementation
24
24
  */
25
- declare const IconToggleButton: react2.ForwardRefExoticComponent<IconToggleButtonProps & react2.RefAttributes<HTMLButtonElement>>;
25
+ declare const IconToggleButton: react0.ForwardRefExoticComponent<IconToggleButtonProps & react0.RefAttributes<HTMLButtonElement>>;
26
26
  //#endregion
27
27
  export { IconToggleButton };
package/dist/index.d.ts CHANGED
@@ -106,7 +106,7 @@ import { Checkbox, CheckboxProps } from "./molecules/SelectionControls/Checkbox/
106
106
  import { Radio, RadioProps } from "./molecules/SelectionControls/Radio/Radio.js";
107
107
  import { Switch, SwitchProps } from "./molecules/SelectionControls/Switch/Switch.js";
108
108
  import { Waves } from "./molecules/Waves/Waves.js";
109
- import { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, CircularProgress, CircularProgressProps, Divider, DividerProps, DotProgress, DotProgressProps, EDSDialog, EDSDialogProps, Icon, IconProps, LinearProgress, LinearProgressProps, Menu, MenuProps, SearchProps, Typography, TypographyProps } from "./molecules/index.js";
109
+ import { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, CircularProgress, CircularProgressProps, Divider, DividerProps, DotProgress, DotProgressProps, EDSDialog, EDSDialogProps, Icon, IconProps, LinearProgress, LinearProgressProps, Menu, MenuProps, Popover, PopoverActions, PopoverActionsProps, PopoverContent, PopoverContentProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, SearchProps, Typography, TypographyProps } from "./molecules/index.js";
110
110
  import { DataGrid } from "./organisms/DataGrid/DataGrid.js";
111
111
  import { FieldSelector, FieldSelectorProps } from "./organisms/FieldSelector/FieldSelector.js";
112
112
  import { Filter, FilterType } from "./organisms/Filter/index.js";
@@ -131,8 +131,9 @@ import { ReleaseNote, ReleaseNoteProps } from "./organisms/ReleaseNote/ReleaseNo
131
131
  import { ToggleGroup } from "./organisms/ToggleGroup/index.js";
132
132
  import { Faq } from "./organisms/Faq/Faq.js";
133
133
  import { ReleaseNotesPage } from "./organisms/ReleaseNotesPage/ReleaseNotesPage.js";
134
+ import { Comments, CommentsProps } from "./organisms/Comments/Comments.js";
134
135
  import { Card, CardProps, DataGridProps } from "./organisms/index.js";
135
136
  import { ExpandingIconButton } from "./deprecated/ExpandingIconButton/ExpandingIconButton.js";
136
137
  import { IconToggleButton } from "./deprecated/IconToggleButton.js";
137
138
  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, 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, Tooltip, TooltipProps, 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 };
139
+ 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, Comments, CommentsProps, 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, PageNotFound, PageTitle, PersistentComboBox, PersistentComboBoxProps, Popover, PopoverActions, PopoverActionsProps, PopoverContent, PopoverContentProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, 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, Tooltip, TooltipProps, 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{Button as _e}from"./molecules/Button/Button.js";import{IconButton as ve}from"./molecules/Button/IconButton/IconButton.js";import{Toast as ye}from"./molecules/Toast/Toast.js";import{ToastProvider as be,useToasts as xe}from"./providers/ToastProvider/ToastProvider.js";import{Confetti as Se}from"./molecules/Confetti/Confetti.js";import{ConfettiProvider as Ce,useConfetti as we}from"./providers/ConfettiProvider/ConfettiProvider.js";import{ErrorType as Te}from"./atoms/enums/Errors.js";import{SpacingsMode as Ee}from"./atoms/enums/SpacingsMode.js";import{amplify_failure as De,amplify_lwd as Oe,amplify_success as ke,amplify_wellbore as Ae,amplify_wireline as je,amplify_wireline_cased_hole as Me,amplify_wireline_open_hole as Ne}from"./atoms/icons/drilling.js";import{amplify_calculator as Pe,amplify_overlay as Fe,amplify_sidebyside as Ie}from"./atoms/icons/map.js";import{amplify_aml as Le,amplify_arrow_up_down as Re,amplify_branch as ze,amplify_drag_handle as Be,amplify_info_small as Ve,amplify_merged as He,amplify_overview as Ue,amplify_resources as We,amplify_sharepoint as Ge,amplify_shield_person as Ke,amplify_small_portal as qe,amplify_snail as Je,amplify_sort_small as Ye,amplify_tutorials as Xe}from"./atoms/icons/other.js";import{amplify_h1 as Ze,amplify_h2 as Qe,amplify_h3 as $e,amplify_h4 as et,amplify_table_add_column_left as tt,amplify_table_add_column_right as nt,amplify_table_add_row_above as rt,amplify_table_add_row_below as it,amplify_table_column_heading as at,amplify_table_merge_cells as ot,amplify_table_remove_column as st,amplify_table_remove_row as ct,amplify_table_row_heading as lt,amplify_table_split_cell as ut}from"./atoms/icons/wysiwyg.js";import{style as dt}from"./atoms/index.js";import{ReleaseNotesProvider as ft,useReleaseNotes as pt}from"./providers/ReleaseNotesProvider.js";import{TutorialHighlightingProvider as mt}from"./providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js";import{LoadingProvider as ht}from"./providers/LoadingProvider.js";import{SkeletonBase as gt,skeletonBaseloading as _t}from"./molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{TextField as vt}from"./molecules/TextField/TextField.js";import{Checkbox as yt}from"./molecules/SelectionControls/Checkbox/Checkbox.js";import{Radio as bt}from"./molecules/SelectionControls/Radio/Radio.js";import{AnimatedCheckmark as xt}from"./molecules/AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as St}from"./molecules/ApplicationIcon/ApplicationIcon.js";import{Badge as Ct}from"./molecules/Badge/Badge.js";import{Banner as wt}from"./molecules/Banner/Banner.js";import{Chip as Tt}from"./molecules/Chip/Chip.js";import{DatePicker as Et}from"./molecules/DatePicker/DatePicker.js";import{DateRangePicker as Dt}from"./molecules/DateRangePicker/DateRangePicker.js";import{Dialog as Ot}from"./molecules/Dialog/Dialog.js";import{EquinorLogo as kt}from"./molecules/EquinorLogo/EquinorLogo.js";import{FileProgress as At}from"./molecules/FileProgress/FileProgress.js";import{FileUploadArea as jt}from"./molecules/FileUploadArea/FileUploadArea.js";import{IconCellColors as Mt,IconCellStates as Nt,IconCellVariants as Pt}from"./molecules/IconCell/IconCell.types.js";import{IconCell as Ft}from"./molecules/IconCell/IconCell.js";import{InfoElement as It}from"./molecules/InfoElement/InfoElement.js";import{InformationalNotice as Lt}from"./molecules/InformationalNotice/InformationalNotice.js";import{Tooltip as Rt}from"./molecules/Tooltip/Tooltip.js";import{ProfileAvatar as zt}from"./molecules/ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as Bt}from"./molecules/RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as Vt,TextTable as Ht}from"./molecules/RichTextEditor/MenuBar/Table/TableBar.js";import{AmplifyBar as Ut,EditorMenu as Wt,EditorText as Gt}from"./molecules/RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as Kt}from"./molecules/RichTextEditor/RichTextEditor.js";import{RichText as qt}from"./molecules/RichTextEditor/index.js";import{Tabs as Jt}from"./molecules/Tabs/Tabs.js";import{Search as Yt}from"./molecules/Search/Search.js";import{SkeletonGradient as Xt}from"./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as Zt}from"./molecules/Stepper/Stepper.js";import{OptionDrawer as Qt}from"./molecules/OptionDrawer/OptionDrawer.js";import{ComboBoxChip as $t}from"./molecules/Select/Select.styles.js";import{ComboBox as en}from"./molecules/Select/ComboBox/ComboBox.js";import{PersistentComboBox as tn}from"./molecules/Select/PersistentComboBox/PersistentComboBox.js";import{SingleSelect as nn}from"./molecules/Select/SingleSelect/SingleSelect.js";import{Tag as rn}from"./molecules/Tag/Tag.js";import{TableHeader as an}from"./molecules/TableHeader/TableHeader.js";import{FeedBackIcon as on}from"./molecules/FeedBackIcon/FeedBackIcon.js";import{ListItem as sn}from"./molecules/ListItem/ListItem.js";import{Switch as cn}from"./molecules/SelectionControls/Switch/Switch.js";import{Waves as ln}from"./molecules/Waves/Waves.js";import{Accordion as un,Breadcrumbs as dn,CircularProgress as fn,Divider as pn,DotProgress as mn,EDSDialog as hn,Icon as gn,LinearProgress as _n,Menu as vn,Typography as yn}from"./molecules/index.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{un as Accordion,Ut as AmplifyBar,ne as AmplifyKit,xt as AnimatedCheckmark,Nn as ApiResponseError,St as ApplicationIcon,K as AuthProvider,On as BadRequest,Ct as Badge,wt as Banner,dn as Breadcrumbs,_e as Button,Bn as Card,yt as Checkbox,Tt as Chip,fn as CircularProgress,en as ComboBox,$t as ComboBoxChip,Se as Confetti,Ce as ConfettiProvider,w as DEFAULT_FEATURES,xn as DataGrid,Et as DatePicker,Dt as DateRangePicker,Ot as Dialog,pn as Divider,mn as DotProgress,hn as EDSDialog,Wt as EditorMenu,Gt as EditorText,R as Empty,e as EnvironmentType,kt as EquinorLogo,Te as ErrorType,Vn as ExpandingIconButton,Rn as Faq,on as FeedBackIcon,Cn as FieldSelector,At as FileProgress,jt as FileUploadArea,wn as Filter,l as FullPageSpinner,kn as GenericError,E as IMG_WITH_ALT,D as IMG_WITH_SRC_AND_ALT,gn as Icon,ve as IconButton,Ft as IconCell,Mt as IconCellColors,Nt as IconCellStates,Pt as IconCellVariants,Hn as IconToggleButton,It as InfoElement,Lt as InformationalNotice,_n as LinearProgress,sn as ListItem,ht as LoadingProvider,vn as Menu,G as MissingAccessToApp,An as MissingPermissions,Un as OldStepper,Qt as OptionDrawer,jn as PageNotFound,In as PageTitle,tn as PersistentComboBox,zt as ProfileAvatar,bt as Radio,En as ReleaseNote,zn as ReleaseNotesPage,ft as ReleaseNotesProvider,qt as RichText,Bt as RichTextDisplay,Kt as RichTextEditor,T as RichTextEditorFeatures,Yt as Search,Mn as ServerError,Tn as SideBar,J as SideBarProvider,Pn as SideSheet,nn as SingleSelect,gt as SkeletonBase,Xt as SkeletonGradient,X as SnackbarProvider,Ee as SpacingsMode,W as Status,Zt as Stepper,ue as StepperProvider,bn as SurveyProvider,cn as Switch,an as TableHeader,Vt as TableMenuBar,Fn as TableOfContents,$ as TableOfContentsProvider,Jt as Tabs,rn as Tag,Sn as Template,vt as TextField,Ht as TextTable,fe as Theme,pe as ThemeProvider,ye as Toast,be as ToastProvider,Ln as ToggleGroup,Rt as Tooltip,Dn as TopBar,mt as TutorialHighlightingProvider,yn as Typography,ln as Waves,Le as amplify_aml,Re as amplify_arrow_up_down,ze as amplify_branch,Pe as amplify_calculator,Be as amplify_drag_handle,De as amplify_failure,Ze as amplify_h1,Qe as amplify_h2,$e as amplify_h3,et as amplify_h4,Ve as amplify_info_small,Oe as amplify_lwd,He as amplify_merged,Fe as amplify_overlay,Ue as amplify_overview,We as amplify_resources,Ge as amplify_sharepoint,Ke as amplify_shield_person,Ie as amplify_sidebyside,qe as amplify_small_portal,Je as amplify_snail,Ye as amplify_sort_small,ke as amplify_success,tt as amplify_table_add_column_left,nt as amplify_table_add_column_right,rt as amplify_table_add_row_above,it as amplify_table_add_row_below,at as amplify_table_column_heading,ot as amplify_table_merge_cells,st as amplify_table_remove_column,ct as amplify_table_remove_row,lt as amplify_table_row_heading,ut as amplify_table_split_cell,Xe as amplify_tutorials,Ae as amplify_wellbore,je as amplify_wireline,Me as amplify_wireline_cased_hole,Ne 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,dt as style,c as typography,re as useAmplifyKit,q as useAuth,we 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,pt as useReleaseNotes,se as useSelect,Y as useSideBar,Z as useSnackbar,ce as useStatusNavigation,de as useStepper,ee as useTableOfContents,me as useThemeProvider,xe 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{Button as _e}from"./molecules/Button/Button.js";import{IconButton as ve}from"./molecules/Button/IconButton/IconButton.js";import{Toast as ye}from"./molecules/Toast/Toast.js";import{ToastProvider as be,useToasts as xe}from"./providers/ToastProvider/ToastProvider.js";import{Confetti as Se}from"./molecules/Confetti/Confetti.js";import{ConfettiProvider as Ce,useConfetti as we}from"./providers/ConfettiProvider/ConfettiProvider.js";import{ErrorType as Te}from"./atoms/enums/Errors.js";import{SpacingsMode as Ee}from"./atoms/enums/SpacingsMode.js";import{amplify_failure as De,amplify_lwd as Oe,amplify_success as ke,amplify_wellbore as Ae,amplify_wireline as je,amplify_wireline_cased_hole as Me,amplify_wireline_open_hole as Ne}from"./atoms/icons/drilling.js";import{amplify_calculator as Pe,amplify_overlay as Fe,amplify_sidebyside as Ie}from"./atoms/icons/map.js";import{amplify_aml as Le,amplify_arrow_up_down as Re,amplify_branch as ze,amplify_drag_handle as Be,amplify_info_small as Ve,amplify_merged as He,amplify_overview as Ue,amplify_resources as We,amplify_sharepoint as Ge,amplify_shield_person as Ke,amplify_small_portal as qe,amplify_snail as Je,amplify_sort_small as Ye,amplify_tutorials as Xe}from"./atoms/icons/other.js";import{amplify_h1 as Ze,amplify_h2 as Qe,amplify_h3 as $e,amplify_h4 as et,amplify_table_add_column_left as tt,amplify_table_add_column_right as nt,amplify_table_add_row_above as rt,amplify_table_add_row_below as it,amplify_table_column_heading as at,amplify_table_merge_cells as ot,amplify_table_remove_column as st,amplify_table_remove_row as ct,amplify_table_row_heading as lt,amplify_table_split_cell as ut}from"./atoms/icons/wysiwyg.js";import{style as dt}from"./atoms/index.js";import{ReleaseNotesProvider as ft,useReleaseNotes as pt}from"./providers/ReleaseNotesProvider.js";import{TutorialHighlightingProvider as mt}from"./providers/TutorialHighlightingProvider/TutorialHighlightingProvider.js";import{LoadingProvider as ht}from"./providers/LoadingProvider.js";import{SkeletonBase as gt,skeletonBaseloading as _t}from"./molecules/Skeleton/SkeletonBase/SkeletonBase.js";import{TextField as vt}from"./molecules/TextField/TextField.js";import{Checkbox as yt}from"./molecules/SelectionControls/Checkbox/Checkbox.js";import{Radio as bt}from"./molecules/SelectionControls/Radio/Radio.js";import{AnimatedCheckmark as xt}from"./molecules/AnimatedCheckmark/AnimatedCheckmark.js";import{ApplicationIcon as St}from"./molecules/ApplicationIcon/ApplicationIcon.js";import{Badge as Ct}from"./molecules/Badge/Badge.js";import{Banner as wt}from"./molecules/Banner/Banner.js";import{Chip as Tt}from"./molecules/Chip/Chip.js";import{DatePicker as Et}from"./molecules/DatePicker/DatePicker.js";import{DateRangePicker as Dt}from"./molecules/DateRangePicker/DateRangePicker.js";import{Dialog as Ot}from"./molecules/Dialog/Dialog.js";import{EquinorLogo as kt}from"./molecules/EquinorLogo/EquinorLogo.js";import{FileProgress as At}from"./molecules/FileProgress/FileProgress.js";import{FileUploadArea as jt}from"./molecules/FileUploadArea/FileUploadArea.js";import{IconCellColors as Mt,IconCellStates as Nt,IconCellVariants as Pt}from"./molecules/IconCell/IconCell.types.js";import{IconCell as Ft}from"./molecules/IconCell/IconCell.js";import{InfoElement as It}from"./molecules/InfoElement/InfoElement.js";import{InformationalNotice as Lt}from"./molecules/InformationalNotice/InformationalNotice.js";import{Tooltip as Rt}from"./molecules/Tooltip/Tooltip.js";import{ProfileAvatar as zt}from"./molecules/ProfileAvatar/ProfileAvatar.js";import{RichTextDisplay as Bt}from"./molecules/RichTextDisplay/RichTextDisplay.js";import{TableMenuBar as Vt,TextTable as Ht}from"./molecules/RichTextEditor/MenuBar/Table/TableBar.js";import{AmplifyBar as Ut,EditorMenu as Wt,EditorText as Gt}from"./molecules/RichTextEditor/MenuBar/MenuBar.js";import{RichTextEditor as Kt}from"./molecules/RichTextEditor/RichTextEditor.js";import{RichText as qt}from"./molecules/RichTextEditor/index.js";import{Tabs as Jt}from"./molecules/Tabs/Tabs.js";import{Search as Yt}from"./molecules/Search/Search.js";import{SkeletonGradient as Xt}from"./molecules/Skeleton/SkeletonGradient/SkeletonGradient.js";import{Stepper as Zt}from"./molecules/Stepper/Stepper.js";import{OptionDrawer as Qt}from"./molecules/OptionDrawer/OptionDrawer.js";import{ComboBoxChip as $t}from"./molecules/Select/Select.styles.js";import{ComboBox as en}from"./molecules/Select/ComboBox/ComboBox.js";import{PersistentComboBox as tn}from"./molecules/Select/PersistentComboBox/PersistentComboBox.js";import{SingleSelect as nn}from"./molecules/Select/SingleSelect/SingleSelect.js";import{Tag as rn}from"./molecules/Tag/Tag.js";import{TableHeader as an}from"./molecules/TableHeader/TableHeader.js";import{FeedBackIcon as on}from"./molecules/FeedBackIcon/FeedBackIcon.js";import{ListItem as sn}from"./molecules/ListItem/ListItem.js";import{Switch as cn}from"./molecules/SelectionControls/Switch/Switch.js";import{Waves as ln}from"./molecules/Waves/Waves.js";import{Accordion as un,Breadcrumbs as dn,CircularProgress as fn,Divider as pn,DotProgress as mn,EDSDialog as hn,Icon as gn,LinearProgress as _n,Menu as vn,Popover as yn,PopoverActions as bn,PopoverContent as xn,PopoverHeader as Sn,PopoverTitle as Cn,Typography as wn}from"./molecules/index.js";import{SurveyProvider as Tn}from"./providers/SurveyProvider/SurveyProvider.js";import{DataGrid as En}from"./organisms/DataGrid/DataGrid.js";import{Template as Dn}from"./organisms/Template/Template.js";import{FieldSelector as On}from"./organisms/FieldSelector/FieldSelector.js";import{Filter as kn}from"./organisms/Filter/index.js";import{SideBar as An}from"./organisms/SideBar/index.js";import{ReleaseNote as jn}from"./organisms/ReleaseNote/ReleaseNote.js";import{TopBar as Mn}from"./organisms/TopBar/index.js";import{BadRequest as Nn}from"./organisms/Status/collections/BadRequest.js";import{GenericError as Pn}from"./organisms/Status/collections/GenericError.js";import{MissingPermissions as Fn}from"./organisms/Status/collections/MissingPermissions.js";import{PageNotFound as In}from"./organisms/Status/collections/PageNotFound.js";import{ServerError as Ln}from"./organisms/Status/collections/ServerError.js";import{ApiResponseError as Rn}from"./organisms/Status/collections/ApiResponseError.js";import{SideSheet as zn}from"./organisms/SideSheet/SideSheet.js";import{TableOfContents as Bn}from"./organisms/TableOfContents/TableOfContents.js";import{PageTitle as Vn}from"./organisms/PageTitle/PageTitle.js";import{ToggleGroup as Hn}from"./organisms/ToggleGroup/index.js";import{Faq as Un}from"./organisms/Faq/Faq.js";import{ReleaseNotesPage as Wn}from"./organisms/ReleaseNotesPage/ReleaseNotesPage.js";import{Comments as Gn}from"./organisms/Comments/Comments.js";import{Card as Kn}from"./organisms/index.js";import{ExpandingIconButton as qn}from"./deprecated/ExpandingIconButton/ExpandingIconButton.js";import Jn from"./deprecated/IconToggleButton.js";import{OldStepper as Yn}from"./deprecated/OldStepper/OldStepper.js";export{un as Accordion,Ut as AmplifyBar,ne as AmplifyKit,xt as AnimatedCheckmark,Rn as ApiResponseError,St as ApplicationIcon,K as AuthProvider,Nn as BadRequest,Ct as Badge,wt as Banner,dn as Breadcrumbs,_e as Button,Kn as Card,yt as Checkbox,Tt as Chip,fn as CircularProgress,en as ComboBox,$t as ComboBoxChip,Gn as Comments,Se as Confetti,Ce as ConfettiProvider,w as DEFAULT_FEATURES,En as DataGrid,Et as DatePicker,Dt as DateRangePicker,Ot as Dialog,pn as Divider,mn as DotProgress,hn as EDSDialog,Wt as EditorMenu,Gt as EditorText,R as Empty,e as EnvironmentType,kt as EquinorLogo,Te as ErrorType,qn as ExpandingIconButton,Un as Faq,on as FeedBackIcon,On as FieldSelector,At as FileProgress,jt as FileUploadArea,kn as Filter,l as FullPageSpinner,Pn as GenericError,E as IMG_WITH_ALT,D as IMG_WITH_SRC_AND_ALT,gn as Icon,ve as IconButton,Ft as IconCell,Mt as IconCellColors,Nt as IconCellStates,Pt as IconCellVariants,Jn as IconToggleButton,It as InfoElement,Lt as InformationalNotice,_n as LinearProgress,sn as ListItem,ht as LoadingProvider,vn as Menu,G as MissingAccessToApp,Fn as MissingPermissions,Yn as OldStepper,Qt as OptionDrawer,In as PageNotFound,Vn as PageTitle,tn as PersistentComboBox,yn as Popover,bn as PopoverActions,xn as PopoverContent,Sn as PopoverHeader,Cn as PopoverTitle,zt as ProfileAvatar,bt as Radio,jn as ReleaseNote,Wn as ReleaseNotesPage,ft as ReleaseNotesProvider,qt as RichText,Bt as RichTextDisplay,Kt as RichTextEditor,T as RichTextEditorFeatures,Yt as Search,Ln as ServerError,An as SideBar,J as SideBarProvider,zn as SideSheet,nn as SingleSelect,gt as SkeletonBase,Xt as SkeletonGradient,X as SnackbarProvider,Ee as SpacingsMode,W as Status,Zt as Stepper,ue as StepperProvider,Tn as SurveyProvider,cn as Switch,an as TableHeader,Vt as TableMenuBar,Bn as TableOfContents,$ as TableOfContentsProvider,Jt as Tabs,rn as Tag,Dn as Template,vt as TextField,Ht as TextTable,fe as Theme,pe as ThemeProvider,ye as Toast,be as ToastProvider,Hn as ToggleGroup,Rt as Tooltip,Mn as TopBar,mt as TutorialHighlightingProvider,wn as Typography,ln as Waves,Le as amplify_aml,Re as amplify_arrow_up_down,ze as amplify_branch,Pe as amplify_calculator,Be as amplify_drag_handle,De as amplify_failure,Ze as amplify_h1,Qe as amplify_h2,$e as amplify_h3,et as amplify_h4,Ve as amplify_info_small,Oe as amplify_lwd,He as amplify_merged,Fe as amplify_overlay,Ue as amplify_overview,We as amplify_resources,Ge as amplify_sharepoint,Ke as amplify_shield_person,Ie as amplify_sidebyside,qe as amplify_small_portal,Je as amplify_snail,Ye as amplify_sort_small,ke as amplify_success,tt as amplify_table_add_column_left,nt as amplify_table_add_column_right,rt as amplify_table_add_row_above,it as amplify_table_add_row_below,at as amplify_table_column_heading,ot as amplify_table_merge_cells,st as amplify_table_remove_column,ct as amplify_table_remove_row,lt as amplify_table_row_heading,ut as amplify_table_split_cell,Xe as amplify_tutorials,Ae as amplify_wellbore,je as amplify_wireline,Me as amplify_wireline_cased_hole,Ne 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,dt as style,c as typography,re as useAmplifyKit,q as useAuth,we 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,pt as useReleaseNotes,se as useSelect,Y as useSideBar,Z as useSnackbar,ce as useStatusNavigation,de as useStepper,ee as useTableOfContents,me as useThemeProvider,xe as useToasts,S as utmProjection};
@@ -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: react6.ForwardRefExoticComponent<ChipProps & react6.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
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 react14 from "react";
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: react14.ForwardRefExoticComponent<Omit<DatePickerProps, "defaultValue" | "variant"> & {
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
- } & react14.RefAttributes<HTMLDivElement>>;
17
+ } & react8.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 react8 from "react";
2
+ import * as react10 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: react8.ForwardRefExoticComponent<Omit<DateRangePickerProps, "variant"> & {
11
+ declare const DateRangePicker$1: react10.ForwardRefExoticComponent<Omit<DateRangePickerProps, "variant"> & {
12
12
  variant?: Variants;
13
13
  meta?: string;
14
14
  loading?: boolean;
15
- } & react8.RefAttributes<HTMLDivElement>>;
15
+ } & react10.RefAttributes<HTMLDivElement>>;
16
16
  //#endregion
17
17
  export { DateRangePicker$1 as DateRangePicker, DateRangePickerProps$1 as DateRangePickerProps };
@@ -1,11 +1,11 @@
1
1
  import { SizeIconProps } from "../../atoms/types/Icon.js";
2
- import * as react10 from "react";
2
+ import * as react14 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: react10.ForwardRefExoticComponent<EquinorLogoProps & react10.RefAttributes<SVGSVGElement>>;
9
+ declare const EquinorLogo: react14.ForwardRefExoticComponent<EquinorLogoProps & react14.RefAttributes<SVGSVGElement>>;
10
10
  //#endregion
11
11
  export { EquinorLogo, EquinorLogoProps };
@@ -1,4 +1,4 @@
1
- import * as react174 from "react";
1
+ import * as react172 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: react174.ForwardRefExoticComponent<ListItemProps & react174.RefAttributes<HTMLButtonElement>>;
18
+ declare const ListItem: react172.ForwardRefExoticComponent<ListItemProps & react172.RefAttributes<HTMLButtonElement>>;
19
19
  //#endregion
20
20
  export { ListItem, ListItemProps };
@@ -1,4 +1,4 @@
1
- import * as react47 from "react";
1
+ import * as react52 from "react";
2
2
  import { ChangeEvent, MouseEvent } from "react";
3
3
 
4
4
  //#region src/molecules/OptionDrawer/OptionDrawer.d.ts
@@ -43,7 +43,7 @@ declare const OptionDrawer: {
43
43
  openAll,
44
44
  showIntermediateParent,
45
45
  parentHasNestedItems
46
- }: OptionDrawerProps<T>): react47.JSX.Element;
46
+ }: OptionDrawerProps<T>): react52.JSX.Element;
47
47
  displayName: string;
48
48
  };
49
49
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react32 from "react";
1
+ import * as react18 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: react32.ForwardRefExoticComponent<ProfileAvatarProps & react32.RefAttributes<HTMLDivElement>>;
10
+ declare const ProfileAvatar: react18.ForwardRefExoticComponent<ProfileAvatarProps & react18.RefAttributes<HTMLDivElement>>;
11
11
  //#endregion
12
12
  export { ProfileAvatar, ProfileAvatarProps };
@@ -1,11 +1,11 @@
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 react18 from "react";
4
+ import * as react31 from "react";
5
5
  import { FC } from "react";
6
- import * as styled_components0 from "styled-components";
6
+ import * as styled_components5 from "styled-components";
7
7
  import { Editor } from "@tiptap/react";
8
- import * as styled_components_dist_types0 from "styled-components/dist/types";
8
+ import * as styled_components_dist_types1 from "styled-components/dist/types";
9
9
 
10
10
  //#region src/molecules/RichTextEditor/MenuBar/MenuBar.d.ts
11
11
  interface MenuBarProps extends Pick<ImageExtensionFnProps, 'onImageUpload'> {
@@ -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_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react18.DetailedHTMLProps<react18.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react18.DetailedHTMLProps<react18.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
18
- Bars: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react18.DetailedHTMLProps<react18.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react18.DetailedHTMLProps<react18.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
19
- Button: react18.ForwardRefExoticComponent<Omit<MenuButtonProps, "ref"> & react18.RefAttributes<HTMLButtonElement>>;
20
- Section: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<react18.DetailedHTMLProps<react18.HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<react18.DetailedHTMLProps<react18.HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
17
+ Bar: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
18
+ Bars: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
19
+ Button: react31.ForwardRefExoticComponent<Omit<MenuButtonProps, "ref"> & react31.RefAttributes<HTMLButtonElement>>;
20
+ Section: styled_components_dist_types1.IStyledComponentBase<"web", styled_components5.FastOmit<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<react31.DetailedHTMLProps<react31.HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
21
21
  AddImageButton: FC<AddImageProps>;
22
22
  };
23
23
  declare const EditorText: {
@@ -1,6 +1,7 @@
1
1
  import { ImageExtensionFnProps, RichTextEditorFeatures } from "./RichTextEditor.types.js";
2
2
  import { Variants } from "../../atoms/types/variants.js";
3
- import { FC } from "react";
3
+ import { FC, ReactNode } from "react";
4
+ import { Extensions } from "@tiptap/react";
4
5
 
5
6
  //#region src/molecules/RichTextEditor/RichTextEditor.d.ts
6
7
  interface RichTextEditorProps extends ImageExtensionFnProps {
@@ -23,6 +24,8 @@ interface RichTextEditorProps extends ImageExtensionFnProps {
23
24
  label?: string;
24
25
  meta?: string;
25
26
  helperText?: string;
27
+ footer?: ReactNode;
28
+ extensions?: Extensions;
26
29
  }
27
30
  /**
28
31
  *
@@ -46,6 +49,8 @@ interface RichTextEditorProps extends ImageExtensionFnProps {
46
49
  * @param label - Label text at top left
47
50
  * @param meta - Meta text at top right
48
51
  * @param helperText - Helper text bottom left
52
+ * @param footer - Custom footer content to display on bottom of editor
53
+ * @param extensions - Extensions for the editor
49
54
  */
50
55
  declare const RichTextEditor: FC<RichTextEditorProps>;
51
56
  //#endregion
@@ -1 +1 @@
1
- import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t,colors as n}from"../../atoms/style/colors.js";import{getFeatures as r}from"../../atoms/utils/richtext.js";import{getVariantIcon as i}from"../../atoms/utils/forms.js";import{EditorContent as a,EditorStyling as o,HelperWrapper as s,LabelWrapper as c,Wrapper as l}from"./RichTextEditor.styles.js";import{AmplifyBar as u}from"./MenuBar/MenuBar.js";import{EditorProvider as d}from"./EditorProvider.js";import{Icon as f,Typography as p}from"@equinor/eds-core-react";import{jsx as m,jsxs as h}from"react/jsx-runtime";const g=({value:g,onChange:_,onImageUpload:v,onImageRead:y,onImageRemove:b,onRemovedImagesChange:x,placeholder:S,features:C,extendFeatures:w,removeFeatures:T,padding:E=`md`,maxHeight:D,minHeight:O,lightBackground:k,border:A=!0,highlighted:j=!1,variant:M,label:N,meta:P,helperText:F})=>{if(b&&x)throw Error(`onImageRemove and onRemovedImagesChange cannot be used together`);let I=r({features:C,extendFeatures:w,removeFeatures:T,onImageUpload:v}),L=i(M);return m(d,{content:g,onUpdate:_,features:I,placeholder:S,onImageUpload:v,onImageRead:y,onImageRemove:b,onRemovedImagesChange:x,children:r=>h(l,{style:{height:D===void 0?`100%`:void 0},children:[N&&h(c,{children:[m(p,{variant:`label`,group:`input`,children:N}),P&&m(p,{variant:`helper`,group:`input`,children:P})]}),h(o,{"data-testid":`richtext-editor`,$border:A,$padding:E,$lightBackground:k,$highlighted:j,$variant:M,children:[m(u,{editor:r,features:I,onImageUpload:v}),m(a,{editor:r,$maxHeight:D,$minHeight:O})]}),F&&h(s,{children:[L&&M?m(f,{data:L,size:16,color:e[M]}):null,m(p,{variant:`helper`,group:`input`,color:M?t[M]:n.text.static_icons__tertiary.rgba,children:F})]})]})})};export{g as RichTextEditor};
1
+ import{VARIANT_COLORS as e,VARIANT_HELPER_TEXT_COLORS as t,colors as n}from"../../atoms/style/colors.js";import{getFeatures as r}from"../../atoms/utils/richtext.js";import{getVariantIcon as i}from"../../atoms/utils/forms.js";import{EditorContent as a,EditorStyling as o,FieldWrapper as s,FooterContent as c,HelperWrapper as l,LabelWrapper as u,Wrapper as d}from"./RichTextEditor.styles.js";import{AmplifyBar as f}from"./MenuBar/MenuBar.js";import{EditorProvider as p}from"./EditorProvider.js";import{Icon as m,Typography as h}from"@equinor/eds-core-react";import{jsx as g,jsxs as _}from"react/jsx-runtime";const v=({value:v,onChange:y,onImageUpload:b,onImageRead:x,onImageRemove:S,onRemovedImagesChange:C,placeholder:w,features:T,extendFeatures:E,removeFeatures:D,padding:O=`md`,maxHeight:k,minHeight:A,lightBackground:j,border:M=!0,highlighted:N=!1,variant:P,label:F,meta:I,helperText:L,footer:R,extensions:z})=>{if(S&&C)throw Error(`onImageRemove and onRemovedImagesChange cannot be used together`);let B=r({features:T,extendFeatures:E,removeFeatures:D,onImageUpload:b}),V=i(P);return g(p,{content:v,onUpdate:y,features:B,placeholder:w,onImageUpload:b,onImageRead:x,onImageRemove:S,onRemovedImagesChange:C,extensions:z,children:r=>_(d,{style:{height:k===void 0?`100%`:void 0},children:[F&&_(u,{children:[g(h,{variant:`label`,group:`input`,children:F}),I&&g(h,{variant:`helper`,group:`input`,children:I})]}),_(o,{"data-testid":`richtext-editor`,$border:M,$padding:O,$lightBackground:j,$highlighted:N,$variant:P,$hasFooter:!!R,children:[g(f,{editor:r,features:B,onImageUpload:b}),_(s,{$hasFooter:!!R,$lightBackground:j,$highlighted:N,$variant:P,children:[g(a,{editor:r,$maxHeight:k,$minHeight:A}),R&&g(c,{$padding:O,children:R})]})]}),L&&_(l,{children:[V&&P?g(m,{data:V,size:16,color:e[P]}):null,g(h,{variant:`helper`,group:`input`,color:P?t[P]:n.text.static_icons__tertiary.rgba,children:L})]})]})})};export{v as RichTextEditor};
@@ -12,6 +12,7 @@ interface RichTextContentProps {
12
12
  interface EditorStylingProps {
13
13
  $lightBackground?: boolean;
14
14
  $highlighted?: boolean;
15
+ $hasFooter?: boolean;
15
16
  $padding?: 'sm' | 'md' | 'lg' | 'none';
16
17
  $border?: boolean;
17
18
  $variant?: Variants;
@@ -1,15 +1,20 @@
1
- import{VARIANT_COLORS as e,colors as t}from"../../atoms/style/colors.js";import{spacings as n}from"../../atoms/style/spacings.js";import{shape as r,typography as i}from"../../atoms/style/index.js";import a from"styled-components";import{EditorContent as o}from"@tiptap/react";const s=a(o)`
1
+ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{VARIANT_COLORS as t,colors as n}from"../../atoms/style/colors.js";import{spacings as r}from"../../atoms/style/spacings.js";import{shape as i,typography as a}from"../../atoms/style/index.js";import{typographyTemplate as o}from"../../node_modules/@equinor/eds-utils/dist/esm/utils/templates/index.js";import s,{css as c}from"styled-components";import{EditorContent as l}from"@tiptap/react";const u=e=>{switch(e){case`sm`:return r.small;case`md`:return r.medium;case`lg`:return r.large;default:return`0`}},d=({$highlighted:e,$variant:r})=>e?`inset 0 -2px ${n.dataviz.darkblue.darker}`:r?`inset 0 -2px ${t[r]}`:`inset 0 -1px ${n.ui.background__medium.rgba}`,f=s(l)`
2
2
  display: grid;
3
3
  grid-template-rows: 1fr;
4
4
  overflow-y: auto;
5
5
  min-height: ${e=>e.$minHeight||`auto`};
6
6
  max-height: ${e=>e.$maxHeight||`auto`};
7
- `,c=a.div`
7
+
8
+ span.mention[data-type='mention'] {
9
+ ${o(e.typography.paragraph.body_short_bold)};
10
+ color: ${n.interactive.primary__resting.rgba};
11
+ }
12
+ `,p=s.div`
8
13
  display: grid;
9
14
  grid-template-rows: auto 1fr;
10
- background: ${t.ui.background__default.rgba};
11
- border-radius: ${r.corners.borderRadius} ${r.corners.borderRadius} 0 0;
12
- border: ${e=>e.$border?`1px solid ${t.ui.background__medium.rgba}`:`none`};
15
+ background: ${n.ui.background__default.rgba};
16
+ border-radius: ${i.corners.borderRadius} ${i.corners.borderRadius} 0 0;
17
+ border: ${e=>e.$border?`1px solid ${n.ui.background__medium.rgba}`:`none`};
13
18
  border-bottom: none;
14
19
 
15
20
  &:has(div[contenteditable='true']) {
@@ -17,32 +22,32 @@ import{VARIANT_COLORS as e,colors as t}from"../../atoms/style/colors.js";import{
17
22
  }
18
23
 
19
24
  & [data-placeholder]::before {
20
- color: ${t.text.static_icons__tertiary.rgba} !important;
25
+ color: ${n.text.static_icons__tertiary.rgba} !important;
21
26
  }
22
27
 
23
28
  .tiptap {
24
29
  box-sizing: border-box;
25
30
  overflow-y: auto;
26
- background: ${e=>e.$lightBackground?`${t.ui.background__default.rgba}`:`${t.ui.background__light.rgba}`};
31
+ background: ${e=>e.$lightBackground?`${n.ui.background__default.rgba}`:`${n.ui.background__light.rgba}`};
27
32
 
28
33
  &[contenteditable='true'] {
29
- box-shadow: ${({$highlighted:n,$variant:r})=>n?`inset 0 -2px ${t.dataviz.darkblue.darker}`:r?`inset 0 -2px ${e[r]}`:`inset 0 -1px ${t.ui.background__medium.rgba}`};
34
+ box-shadow: ${e=>e.$hasFooter?`none`:d(e)};
30
35
  }
31
36
 
32
- padding: ${e=>{switch(e.$padding){case`sm`:return n.small;case`md`:return n.medium;case`lg`:return n.large;default:return 0}}};
37
+ padding: ${e=>u(e.$padding)};
33
38
 
34
39
  a {
35
- color: ${t.interactive.primary__resting.rgba};
40
+ color: ${n.interactive.primary__resting.rgba};
36
41
  }
37
42
  a:hover {
38
43
  cursor: pointer;
39
- color: ${t.interactive.primary__hover.rgba};
44
+ color: ${n.interactive.primary__hover.rgba};
40
45
  }
41
46
  p {
42
47
  font-size: 16px;
43
48
  font-family: 'Equinor', sans-serif;
44
- color: ${t.text.static_icons__default.rgba};
45
- line-height: ${i.paragraph.body_long.lineHeight};
49
+ color: ${n.text.static_icons__default.rgba};
50
+ line-height: ${a.paragraph.body_long.lineHeight};
46
51
  margin: 0;
47
52
  }
48
53
  ul,
@@ -91,7 +96,7 @@ import{VARIANT_COLORS as e,colors as t}from"../../atoms/style/colors.js";import{
91
96
  }
92
97
 
93
98
  th {
94
- background-color: ${({$lightBackground:e})=>e?`#f1f3f5`:t.ui.background__default.rgba};
99
+ background-color: ${({$lightBackground:e})=>e?`#f1f3f5`:n.ui.background__default.rgba};
95
100
  font-weight: bold;
96
101
  text-align: left;
97
102
  }
@@ -125,30 +130,45 @@ import{VARIANT_COLORS as e,colors as t}from"../../atoms/style/colors.js";import{
125
130
 
126
131
  &:focus-visible {
127
132
  outline: none;
128
- box-shadow: inset 0 -2px ${t.interactive.primary__resting.rgba};
133
+ box-shadow: ${e=>e.$hasFooter?`none`:`inset 0 -2px ${n.interactive.primary__resting.rgba}`};
129
134
  }
130
135
  }
131
136
 
132
137
  .tiptap p.is-editor-empty:first-child::before {
133
- color: ${t.text.static_icons__default.rgba};
138
+ color: ${n.text.static_icons__default.rgba};
134
139
  content: attr(data-placeholder);
135
140
  float: left;
136
141
  height: 0;
137
142
  pointer-events: none;
138
143
  }
139
- `,l=a.div`
144
+ `,m=s.div`
140
145
  display: flex;
141
146
  flex-direction: column;
142
- `,u=a.div`
147
+ `,h=s.div`
148
+ display: grid;
149
+ grid-template-rows: 1fr auto;
150
+ min-height: 0;
151
+ background: ${e=>e.$lightBackground?n.ui.background__default.rgba:n.ui.background__light.rgba};
152
+
153
+ ${e=>e.$hasFooter&&c`
154
+ box-shadow: ${d(e)};
155
+
156
+ &:focus-within {
157
+ box-shadow: inset 0 -2px ${n.interactive.primary__resting.rgba};
158
+ }
159
+ `}
160
+ `,g=s.div`
161
+ padding: ${e=>`${r.small} ${u(e.$padding)} ${r.small} ${u(e.$padding)}`};
162
+ `,_=s.div`
143
163
  display: flex;
144
164
  justify-content: space-between;
145
- padding: 0 ${n.small};
165
+ padding: 0 ${r.small};
146
166
  > p {
147
- color: ${t.text.static_icons__tertiary.rgba};
167
+ color: ${n.text.static_icons__tertiary.rgba};
148
168
  }
149
- `,d=a.div`
169
+ `,v=s.div`
150
170
  display: flex;
151
- gap: ${n.small};
152
- padding-left: ${n.small};
153
- margin-top: ${n.small};
154
- `;export{s as EditorContent,c as EditorStyling,d as HelperWrapper,u as LabelWrapper,l as Wrapper};
171
+ gap: ${r.small};
172
+ padding-left: ${r.small};
173
+ margin-top: ${r.small};
174
+ `;export{f as EditorContent,p as EditorStyling,h as FieldWrapper,g as FooterContent,v as HelperWrapper,_ as LabelWrapper,m as Wrapper};
@@ -2,17 +2,17 @@ import { EditorStylingProps, RichTextContentProps } from "./RichTextEditor.style
2
2
  import { EditorProviderProps } from "./EditorProvider.js";
3
3
  import { MenuBarProps } from "./MenuBar/MenuBar.js";
4
4
  import { RichTextEditor } from "./RichTextEditor.js";
5
- import * as react35 from "react";
6
- import * as styled_components2 from "styled-components";
5
+ import * as react20 from "react";
6
+ import * as styled_components0 from "styled-components";
7
7
  import * as _tiptap_react0 from "@tiptap/react";
8
- import * as styled_components_dist_types2 from "styled-components/dist/types";
8
+ import * as styled_components_dist_types0 from "styled-components/dist/types";
9
9
 
10
10
  //#region src/molecules/RichTextEditor/index.d.ts
11
11
  declare const RichText: {
12
- Styling: styled_components_dist_types2.IStyledComponentBase<"web", styled_components2.FastOmit<styled_components2.FastOmit<react35.DetailedHTMLProps<react35.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never> & Partial<Pick<styled_components2.FastOmit<react35.DetailedHTMLProps<react35.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never>>> & string;
13
- Provider: react35.FC<EditorProviderProps>;
14
- Content: styled_components_dist_types2.IStyledComponentBase<"web", styled_components2.FastOmit<styled_components2.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react35.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never> & Partial<Pick<styled_components2.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react35.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never>>> & string & Omit<react35.NamedExoticComponent<Omit<_tiptap_react0.EditorContentProps, "ref"> & react35.RefAttributes<HTMLDivElement>>, keyof react35.Component<any, {}, any>>;
15
- Bar: react35.FC<MenuBarProps>;
12
+ Styling: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<styled_components0.FastOmit<react20.DetailedHTMLProps<react20.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never> & Partial<Pick<styled_components0.FastOmit<react20.DetailedHTMLProps<react20.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never>>> & string;
13
+ Provider: react20.FC<EditorProviderProps>;
14
+ Content: styled_components_dist_types0.IStyledComponentBase<"web", styled_components0.FastOmit<styled_components0.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react20.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never> & Partial<Pick<styled_components0.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react20.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never>>> & string & Omit<react20.NamedExoticComponent<Omit<_tiptap_react0.EditorContentProps, "ref"> & react20.RefAttributes<HTMLDivElement>>, keyof react20.Component<any, {}, any>>;
15
+ Bar: react20.FC<MenuBarProps>;
16
16
  };
17
17
  //#endregion
18
18
  export { RichText };
@@ -1,10 +1,10 @@
1
- import * as react48 from "react";
1
+ import * as react46 from "react";
2
2
  import { SearchProps } from "@equinor/eds-core-react";
3
3
 
4
4
  //#region src/molecules/Search/Search.d.ts
5
5
  interface SearchProps$1 extends SearchProps {
6
6
  lightBackground?: boolean;
7
7
  }
8
- declare const Search$1: react48.ForwardRefExoticComponent<SearchProps$1 & react48.RefAttributes<HTMLInputElement>>;
8
+ declare const Search$1: react46.ForwardRefExoticComponent<SearchProps$1 & react46.RefAttributes<HTMLInputElement>>;
9
9
  //#endregion
10
10
  export { Search$1 as Search };
@@ -1,5 +1,5 @@
1
1
  import { CommonSelectProps, GroupedSelectProps, ListSelectProps, MultiSelectCommon, SelectOptionRequired } from "../Select.types.js";
2
- import * as react46 from "react";
2
+ import * as react53 from "react";
3
3
 
4
4
  //#region src/molecules/Select/ComboBox/ComboBox.d.ts
5
5
  type ComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T> & MultiSelectCommon<T> & (ListSelectProps<T> | GroupedSelectProps<T>);
@@ -17,6 +17,6 @@ type ComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T> & Mult
17
17
  * @param showSelectedAsText - If values should be shown as "5/10 Selected", defaults to false
18
18
  * @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
19
19
  */
20
- declare function ComboBox<T extends SelectOptionRequired>(props: ComboBoxProps<T>): react46.JSX.Element;
20
+ declare function ComboBox<T extends SelectOptionRequired>(props: ComboBoxProps<T>): react53.JSX.Element;
21
21
  //#endregion
22
22
  export { ComboBox, ComboBoxProps };
@@ -11,15 +11,15 @@ interface ComboBoxChipProps {
11
11
  $lightBackground?: boolean;
12
12
  className: string;
13
13
  }
14
- declare const ComboBoxChip: styled_components_dist_types5.IStyledComponentBase<"web", styled_components11.FastOmit<styled_components11.FastOmit<((Omit<react55.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
14
+ declare const ComboBoxChip: styled_components_dist_types5.IStyledComponentBase<"web", styled_components11.FastOmit<styled_components11.FastOmit<((Omit<react55.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
15
15
  onClick?: undefined;
16
16
  onDelete?: undefined;
17
- }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLDivElement | HTMLButtonElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never> & Partial<Pick<styled_components11.FastOmit<((Omit<react55.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
17
+ }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never> & Partial<Pick<styled_components11.FastOmit<((Omit<react55.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
18
18
  onClick?: undefined;
19
19
  onDelete?: undefined;
20
- }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLDivElement | HTMLButtonElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never>>> & string & Omit<react55.ForwardRefExoticComponent<(Omit<react55.HTMLAttributes<HTMLDivElement | HTMLButtonElement>, "onClick"> & ((BaseChipProps & {
20
+ }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types5.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never>>> & string & Omit<react55.ForwardRefExoticComponent<(Omit<react55.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
21
21
  onClick?: undefined;
22
22
  onDelete?: undefined;
23
- }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLDivElement | HTMLButtonElement>>, keyof react55.Component<any, {}, any>>;
23
+ }) | ClickableChipProps | DeletableChipProps)) & react55.RefAttributes<HTMLButtonElement | HTMLDivElement>>, keyof react55.Component<any, {}, any>>;
24
24
  //#endregion
25
25
  export { ComboBoxChip };