@equinor/amplify-component-lib 13.2.5-beta.0 → 13.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/hooks/useLocalStorage.d.ts +2 -2
- package/dist/atoms/hooks/useLocalStorage.js +1 -1
- package/dist/atoms/hooks/useSelect.d.ts +3 -3
- package/dist/atoms/index.d.ts +1 -1
- package/dist/atoms/index.js +1 -1
- package/dist/atoms/style/index.d.ts +1 -1
- package/dist/atoms/style/index.js +1 -1
- package/dist/atoms/utils/auth_environment.d.ts +0 -1
- package/dist/atoms/utils/auth_environment.js +1 -1
- package/dist/deprecated/ExpandingIconButton/ExpandingIconButton.d.ts +1 -1
- package/dist/deprecated/IconToggleButton.d.ts +1 -1
- package/dist/deprecated/OldStepper/OldStepLine.js +1 -1
- package/dist/deprecated/OldStepper/OldStepper.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/molecules/AnimatedCheckmark/AnimatedCheckmark.d.ts +1 -1
- package/dist/molecules/ApplicationIcon/ApplicationIcon.d.ts +1 -1
- package/dist/molecules/Badge/Badge.d.ts +1 -1
- package/dist/molecules/Button/Button.js +1 -1
- package/dist/molecules/Button/IconButton/IconButton.js +1 -1
- package/dist/molecules/Chip/Chip.d.ts +3 -3
- package/dist/molecules/Chip/Chip.styles.js +1 -1
- package/dist/molecules/Confetti/Confetti.types.d.ts +1 -1
- package/dist/molecules/Confetti/utils/seasonalColors.js +1 -1
- package/dist/molecules/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/dist/molecules/EquinorLogo/EquinorLogo.d.ts +2 -2
- package/dist/molecules/FileProgress/CompactFileProgress.js +1 -1
- package/dist/molecules/FileProgress/FileProgress.types.d.ts +1 -1
- package/dist/molecules/IconCell/IconCell.d.ts +1 -1
- package/dist/molecules/IconCell/IconCell.styles.js +3 -3
- package/dist/molecules/IconCell/IconCell.utils.js +1 -1
- package/dist/molecules/OptionDrawer/OptionDrawer.d.ts +1 -1
- package/dist/molecules/ProfileAvatar/ProfileAvatar.d.ts +2 -2
- package/dist/molecules/ProfileAvatar/ProfileAvatar.js +1 -1
- package/dist/molecules/RichTextEditor/custom-extensions/AmplifyKit.js +1 -1
- package/dist/molecules/RichTextEditor/index.d.ts +6 -6
- package/dist/molecules/RichTextEditor/index.js +1 -1
- package/dist/molecules/Select/ComboBox/ComboBox.d.ts +2 -2
- package/dist/molecules/Select/PersistentComboBox/PersistentComboBox.d.ts +2 -2
- package/dist/molecules/Select/Select.styles.d.ts +5 -5
- package/dist/molecules/Select/Select.styles.js +1 -1
- package/dist/molecules/Select/Select.types.d.ts +1 -1
- package/dist/molecules/Select/SelectMenuItem.utils.js +1 -1
- package/dist/molecules/Select/SingleSelect/SingleSelect.d.ts +2 -2
- package/dist/molecules/SelectionControls/Radio/Radio.d.ts +2 -2
- package/dist/molecules/SelectionControls/Switch/Switch.d.ts +2 -2
- package/dist/molecules/Stepper/Step/Step.js +1 -1
- package/dist/molecules/Stepper/StepLine.js +1 -1
- package/dist/molecules/Stepper/Stepper.js +1 -1
- package/dist/molecules/Waves/Waves.d.ts +1 -1
- package/dist/molecules/index.d.ts +1 -1
- package/dist/molecules/index.js +1 -1
- package/dist/organisms/Faq/Faq.d.ts +1 -1
- package/dist/organisms/Faq/Faq.utils.js +1 -1
- package/dist/organisms/FieldSelector/ChangingField.js +1 -1
- package/dist/organisms/Filter/AutoCompleteText.js +1 -1
- package/dist/organisms/Filter/Filter.d.ts +2 -2
- package/dist/organisms/Filter/Filter.types.d.ts +1 -1
- package/dist/organisms/Filter/QuickFilter.d.ts +2 -2
- package/dist/organisms/Filter/SortMenu.d.ts +2 -2
- package/dist/organisms/ReleaseNote/ReleaseNote.d.ts +3 -3
- package/dist/organisms/SideBar/MenuItem/CollapsableMenuItem.js +4 -1
- package/dist/organisms/SideBar/MenuItem/MenuItem.d.ts +1 -1
- package/dist/organisms/SideBar/SideBar.d.ts +2 -2
- package/dist/organisms/SideBar/index.d.ts +1 -1
- package/dist/organisms/Status/Action.d.ts +2 -2
- package/dist/organisms/Status/Description.d.ts +2 -2
- package/dist/organisms/Status/MissingAccesses.d.ts +2 -2
- package/dist/organisms/Status/Title.d.ts +2 -2
- package/dist/organisms/Status/collections/BadRequest.d.ts +2 -2
- package/dist/organisms/Status/collections/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/Status/index.d.ts +1 -1
- package/dist/organisms/Template/Template.d.ts +3 -3
- package/dist/organisms/ToggleGroup/ToggleGroupOption.js +1 -1
- package/dist/organisms/TopBar/Account/Account.d.ts +1 -1
- package/dist/organisms/TopBar/Account/AccountButton.js +1 -1
- package/dist/organisms/TopBar/Actions.d.ts +2 -2
- package/dist/organisms/TopBar/FieldMenu/FieldMenu.d.ts +3 -3
- package/dist/organisms/TopBar/Guidelines/Guidelines.d.ts +1 -1
- package/dist/organisms/TopBar/Notifications/NotificationProvider.d.ts +2 -2
- package/dist/organisms/TopBar/Notifications/NotificationsTemplate/Notifications.types.d.ts +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/Feedback.utils.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/LockedInputTooltip.js +2 -2
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/Severity.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/ImageFile.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/FeedbackForm/UploadFile/UploadFile.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -1
- package/dist/organisms/TopBar/Resources/Feedback/ResponsePage/Success.js +1 -1
- package/dist/organisms/TopBar/Resources/Resources.d.ts +1 -1
- package/dist/organisms/TopBar/Tutorials/TutorialItem.js +1 -1
- package/dist/organisms/TopBar/index.d.ts +1 -1
- package/dist/organisms/index.d.ts +1 -1
- package/dist/organisms/index.js +1 -1
- package/dist/providers/AuthProvider/AuthProvider.d.ts +3 -15
- package/dist/providers/AuthProvider/AuthProvider.js +1 -1
- package/dist/providers/AuthProvider/AuthProviderInner.js +1 -1
- package/dist/providers/LoadingProvider.js +1 -1
- package/dist/providers/SnackbarProvider/SnackbarProvider.d.ts +1 -1
- package/dist/providers/StepperProvider.d.ts +1 -1
- package/dist/providers/StepperProvider.js +1 -1
- package/dist/providers/TableOfContentsProvider.d.ts +1 -1
- package/dist/providers/TutorialHighlightingProvider/TutorialHighlightingProviderInner.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react231 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, react231.Dispatch<react231.SetStateAction<T>>, () => void];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { useLocalStorage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useCallback as e,useEffect as t,useRef as n,useState as r}from"react";import{debounce as i}from"lodash";const a=`-last-updated`,o=(e,t,n)=>{let r=localStorage.getItem(e),i=localStorage.getItem(e+a);return r&&(!n||i&&Number(i)+n>new Date().getTime())?JSON.parse(r):t},s=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))},c=(c,l,u)=>{let d=n(!0),[f,p]=r(o(c,l,u)),m=e(()=>{p(l),localStorage.removeItem(c),localStorage.removeItem(c+a)},[p,l,c]),h=e(i((e,t)=>{s(e,t),s(e+a,new Date().getTime())},1e3),[]);return t(()=>{if(d.current){d.current=!1;return}f==null?m():h(c,f)},[f,m,h,c]),[f,p,m]};export{
|
|
1
|
+
import{useCallback as e,useEffect as t,useRef as n,useState as r}from"react";import{debounce as i}from"lodash";const a=`-last-updated`,o=(e,t,n)=>{let r=localStorage.getItem(e),i=localStorage.getItem(e+a);return r&&(!n||i&&Number(i)+n>new Date().getTime())?JSON.parse(r):t},s=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))},c=(c,l,u)=>{let d=n(!0),[f,p]=r(o(c,l,u)),m=e(()=>{p(l),localStorage.removeItem(c),localStorage.removeItem(c+a)},[p,l,c]),h=e(i((e,t)=>{s(e,t),s(e+a,new Date().getTime())},1e3),[]);return t(()=>{if(d.current){d.current=!1;return}f==null?m():h(c,f)},[f,m,h,c]),[f,p,m]};export{c as 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 react233 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: react233.RefObject<HTMLInputElement | null>;
|
|
20
|
+
itemRefs: react233.RefObject<(HTMLButtonElement | null)[]>;
|
|
21
21
|
selectedValues: T[];
|
|
22
22
|
open: boolean;
|
|
23
23
|
tryingToRemoveItem: T | undefined;
|
package/dist/atoms/index.d.ts
CHANGED
|
@@ -56,4 +56,4 @@ import { getVariantIcon } from "./utils/forms.js";
|
|
|
56
56
|
*/
|
|
57
57
|
declare const style: typeof index_d_exports;
|
|
58
58
|
//#endregion
|
|
59
|
-
export {
|
|
59
|
+
export { style };
|
package/dist/atoms/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"./enums/Environment.js";import"./utils/auth_environment.js";import"./style/animation.js";import"./style/colors.js";import"./style/spacings.js";import{style_exports as e}from"./style/index.js";import"./utils/coordinate.js";import"./utils/date.js";import"./utils/export.js";import"./utils/favicon.js";import"./utils/map.js";import"./utils/reactquery.js";import"./utils/richtext.js";import"./utils/size.js";import"./utils/sort.js";import"./utils/string.js";import"./utils/url.js";import"./utils/tutorials.js";import"./utils/forms.js";import"../providers/AuthProvider/AuthProvider.js";import"../providers/SideBarProvider.js";import"../providers/SnackbarProvider/SnackbarProvider.js";import"./hooks/useOnScreenMultiple.js";import"../providers/TableOfContentsProvider.js";import"./hooks/useLocalStorage.js";import"./hooks/useAmplifyKit.js";import"./hooks/useDebounce.js";import"./hooks/useFakeProgress.js";import"./hooks/usePrevious.js";import"./hooks/useSelect.js";import"./hooks/useStatusNavigation.js";import"../organisms/TopBar/Notifications/NotificationProvider.js";import"../providers/StepperProvider.js";import"./enums/Theme.js";import"../providers/ThemeProvider/ThemeProvider.js";import"./hooks/usePrefetchRichTextImages.js";import"./hooks/useFaqsInApplication.js";import"./enums/Errors.js";import"./enums/SpacingsMode.js";import"./icons/wysiwyg.js";import"../providers/ToastProvider/ToastProvider.js";import"../providers/ConfettiProvider/ConfettiProvider.js";import"./icons/drilling.js";import"./icons/map.js";import"./icons/other.js";import"../providers/ReleaseNotesProvider.js";const t=e;export{t as style};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__exportAll as e}from"../../_virtual/_rolldown/runtime.js";import{tokens as t}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{animation as n}from"./animation.js";import{colors as r}from"./colors.js";import{spacings as i}from"./spacings.js";var a=e({animation:()=>n,colors:()=>r,elevation:()=>s,shape:()=>o,spacings:()=>i,typography:()=>c});const{shape:o,elevation:s,typography:c}=t;export{
|
|
1
|
+
import{__exportAll as e}from"../../_virtual/_rolldown/runtime.js";import{tokens as t}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import{animation as n}from"./animation.js";import{colors as r}from"./colors.js";import{spacings as i}from"./spacings.js";var a=e({animation:()=>n,colors:()=>r,elevation:()=>s,shape:()=>o,spacings:()=>i,typography:()=>c});const{shape:o,elevation:s,typography:c}=t;export{s as elevation,o as shape,a as style_exports,c as typography};
|
|
@@ -35,7 +35,6 @@ declare const auth: {
|
|
|
35
35
|
getToken: () => Promise<string>;
|
|
36
36
|
isReaderOnly: (roles: string[] | undefined) => boolean;
|
|
37
37
|
isInIframe: () => boolean;
|
|
38
|
-
getSidFromMessage: (data: unknown) => string | undefined;
|
|
39
38
|
};
|
|
40
39
|
declare const environment: {
|
|
41
40
|
getConfig: (param: keyof EnvVariables) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../enums/Environment.js";import{PublicClientApplication as e}from"@azure/msal-browser";const t=[`IS_MOCK`,`ALLOWED_PARENT_DOMAINS`,`SERVICE_NOW_CONFIGURATION_ITEM`,`API_CLIENT_ID`],n=e=>{if(!window._env_)return``;if(window._env_[e]===void 0&&!t.includes(e))throw Error(`Missing required environment variable: `+e);return window._env_[e]},r=e=>e||n(`NAME`),i=e=>e||n(`CLIENT_ID`),a=e=>e||n(`API_URL`),o=e=>e||n(`API_SCOPE`),s=e=>e||n(`API_CLIENT_ID`),c=e=>e||n(`ENVIRONMENT_NAME`),l=e=>e||n(`SERVICE_NOW_CONFIGURATION_ITEM`),u=e=>e===void 0?!1:e===`true`,d=e=>e===void 0?[`admin`]:JSON.parse(e),f=e=>(
|
|
1
|
+
import"../enums/Environment.js";import{PublicClientApplication as e}from"@azure/msal-browser";const t=[`IS_MOCK`,`ALLOWED_PARENT_DOMAINS`,`SERVICE_NOW_CONFIGURATION_ITEM`,`API_CLIENT_ID`],n=e=>{if(!window._env_)return``;if(window._env_[e]===void 0&&!t.includes(e))throw Error(`Missing required environment variable: `+e);return window._env_[e]},r=e=>e||n(`NAME`),i=e=>e||n(`CLIENT_ID`),a=e=>e||n(`API_URL`),o=e=>e||n(`API_SCOPE`),s=e=>e||n(`API_CLIENT_ID`),c=e=>e||n(`ENVIRONMENT_NAME`),l=e=>e||n(`SERVICE_NOW_CONFIGURATION_ITEM`),u=e=>e===void 0?!1:e===`true`,d=e=>e===void 0?[`admin`]:JSON.parse(e),f=e=>e?e.split(`;`):n(`ALLOWED_PARENT_DOMAINS`)?.split(`;`)||[],p=e=>{if(e!==void 0)return`https://avatars.githubusercontent.com/u/97165289`};function m(){let e=import.meta.env.VITE_ENVIRONMENT_NAME;return e||=n(`ENVIRONMENT_NAME`),e===`production`?`https://jsembark.equinor.com`:`https://client-amplify-portal-${e===`localhost`?`development`:e}.radix.equinor.com`}const h=m(),g={PHOTO:`https://graph.microsoft.com/v1.0/me/photos/96x96/$value`},_=(e,t)=>fetch(e,{headers:{Authorization:`Bearer ${t}`}}),v={OPENID:`openid`,PROFILE:`profile`,USER_READ:`User.Read`},y={scopes:[v.OPENID,v.PROFILE,v.USER_READ]},b={scopes:[v.USER_READ]},x=e=>({scopes:[e]}),S=()=>window.self!==window.top,C=new e({auth:{clientId:i(import.meta.env.VITE_CLIENT_ID),authority:`https://login.microsoftonline.com/StatoilSRM.onmicrosoft.com/`,redirectUri:window.location.origin},cache:{cacheLocation:`localStorage`}}),w=f(import.meta.env.ALLOWED_PARENT_DOMAINS);window.addEventListener(`message`,async e=>{if(w.includes(e.origin)){let t=e.data;if(t){await C.initialize();try{await C.ssoSilent({sid:t}),console.log(`postMessage successfully logged in user!`)}catch(e){console.error(`Something went wrong with postMessage`),console.error(e)}}}});const T={fetchMsGraph:_,GRAPH_SCOPES:v,GRAPH_REQUESTS_LOGIN:y,GRAPH_REQUESTS_PHOTO:b,GRAPH_REQUESTS_BACKEND:x,GRAPH_ENDPOINTS:g,msalApp:C,getToken:async()=>{if(u(import.meta.env.VITE_IS_MOCK))return``;let e=C.getActiveAccount(),t=C.getAllAccounts();return!e&&t.length===0?``:(await C.acquireTokenSilent(x(o(import.meta.env.VITE_API_SCOPE)))).accessToken},isReaderOnly:e=>e?!e.some(e=>e.includes(`WRITE`)):!0,isInIframe:S},E={getConfig:n,getAppName:r,getClientId:i,getApiUrl:a,getApiScope:o,getApiClientId:s,getEnvironmentName:c,getIsMock:u,getMockUserPhoto:p,getMockRoles:d,getServiceNowConfigurationItem:l,PORTAL_URL_WITHOUT_LOCALHOST:h};export{T as auth,E as environment};
|
|
@@ -14,4 +14,4 @@ interface ExpandingIconButtonProps {
|
|
|
14
14
|
*/
|
|
15
15
|
declare const ExpandingIconButton: react1.ForwardRefExoticComponent<ExpandingIconButtonProps & react1.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
//#endregion
|
|
17
|
-
export { ExpandingIconButton
|
|
17
|
+
export { ExpandingIconButton };
|
|
@@ -23,4 +23,4 @@ interface IconToggleButtonProps {
|
|
|
23
23
|
*/
|
|
24
24
|
declare const IconToggleButton: react0.ForwardRefExoticComponent<IconToggleButtonProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
25
25
|
//#endregion
|
|
26
|
-
export {
|
|
26
|
+
export { IconToggleButton };
|
|
@@ -4,4 +4,4 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
4
4
|
background: ${e=>e.$background};
|
|
5
5
|
border: none;
|
|
6
6
|
margin: 0;
|
|
7
|
-
`,o=({done:e})=>{
|
|
7
|
+
`,o=({done:e})=>r(a,{$background:t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e])});export{o as default};
|
package/dist/index.d.ts
CHANGED
|
@@ -133,6 +133,6 @@ import { Faq } from "./organisms/Faq/Faq.js";
|
|
|
133
133
|
import { ReleaseNotesPage } from "./organisms/ReleaseNotesPage/ReleaseNotesPage.js";
|
|
134
134
|
import { Card, CardProps, DataGridProps } from "./organisms/index.js";
|
|
135
135
|
import { ExpandingIconButton } from "./deprecated/ExpandingIconButton/ExpandingIconButton.js";
|
|
136
|
-
import IconToggleButton from "./deprecated/IconToggleButton.js";
|
|
136
|
+
import { IconToggleButton } from "./deprecated/IconToggleButton.js";
|
|
137
137
|
import { OldStepper } from "./deprecated/OldStepper/OldStepper.js";
|
|
138
138
|
export { Accordion, AccordionHeaderActionsProps, AccordionHeaderProps, AccordionHeaderTitleProps, AccordionItemProps, AccordionPanelProps, AccordionProps, AmplifyBar, AmplifyKit, AnimatedCheckmark, ApiResponseError, AppIconProps, ApplicationIcon, ApplicationIconProps, AuthProvider, BadRequest, Badge, BadgeProps, Banner, BannerProps, BaseChipProps, BasicSideBarMenuItem, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, CircularProgress, CircularProgressProps, ComboBox, ComboBoxChip, ComboBoxProps, Confetti, ConfettiBoomProps, ConfettiProps, ConfettiProvider, ConfettiShowerProps, ContentProps, DEFAULT_FEATURES, DataGrid, DataGridProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Dialog, DialogAction, DialogProps, Divider, DividerProps, DotProgress, DotProgressProps, EDSDialog, EDSDialogProps, EditorMenu, EditorPanel, EditorText, ElementItem, Empty, EnvironmentType, EquinorLogo, EquinorLogoProps, ErrorContentType, ErrorType, ExpandingIconButton, Faq, FeaturesProps, FeedBackIcon, FeedBackIconProps, Field, FieldSelector, FieldSelectorProps, FileProgress, FileProgressProps, FileProgressPropsExtension, FileUploadArea, FileUploadAreaProps, Filter, FilterType, FullPageSpinner, FullPageSpinnerProps, GenericError, GuidelineItem, GuidelineSections, IMG_WITH_ALT, IMG_WITH_SRC_AND_ALT, Icon, IconButton, IconButtonProps, IconCell, IconCellColor, IconCellColorObject, IconCellColors, IconCellProps, IconCellState, IconCellStates, IconCellVariant, IconCellVariants, IconItem, IconProps, IconToggleButton, ImageExtensionFnProps, InfoElement, InfoElementProps, InformationalNotice, InformationalNoticeProps, ItemType, LinearProgress, LinearProgressProps, ListItem, ListItemProps, LoadingProvider, Menu, MenuProps, MissingAccessToApp, MissingPermissions, OldStepper, OptionDrawer, OptionDrawerProps, OptionDrawerSelectItem, OptionalTooltip, OptionalTooltipProps, PageNotFound, PageTitle, PersistentComboBox, PersistentComboBoxProps, ProfileAvatar, ProfileAvatarProps, Radio, RadioProps, ReleaseNote, ReleaseNoteProps, ReleaseNotesPage, ReleaseNotesProvider, RichText, RichTextDisplay, RichTextDisplayProps, RichTextEditor, RichTextEditorFeatures, RichTextEditorProps, Search, SearchProps, SelectOption, SelectOptionRequired, ServerError, SettingsSection, SideBar, SideBarMenuItem, SideBarMenuItemWithItems, SideBarProvider, SideSheet, SideSheetProps, SingleSelect, SingleSelectProps, SizeIconProps, SkeletonBase, SkeletonBaseProps, SkeletonGradient, SkeletonGradientProps, SnackbarProvider, SpacingsMode, Status, Stepper, StepperProps, StepperProvider, SurveyProvider, Switch, SwitchProps, Tab, TableHeader, TableHeaderProps, TableMenuBar, TableOfContents, TableOfContentsItemType, TableOfContentsProps, TableOfContentsProvider, Tabs, TabsProps, Tag, TagProps, Template, TemplateType, TextField, TextFieldProps, TextTable, Theme, ThemeProvider, Toast, ToastProps, ToastProvider, ToggleGroup, TopBar, TutorialHighlight, TutorialHighlightingProvider, Typography, TypographyProps, Waves, amplify_aml, amplify_arrow_up_down, amplify_branch, amplify_calculator, amplify_drag_handle, amplify_failure, amplify_h1, amplify_h2, amplify_h3, amplify_h4, amplify_info_small, amplify_lwd, amplify_merged, amplify_overlay, amplify_overview, amplify_resources, amplify_sharepoint, amplify_shield_person, amplify_sidebyside, amplify_small_portal, amplify_snail, amplify_sort_small, amplify_success, amplify_table_add_column_left, amplify_table_add_column_right, amplify_table_add_row_above, amplify_table_add_row_below, amplify_table_column_heading, amplify_table_merge_cells, amplify_table_remove_column, amplify_table_remove_row, amplify_table_row_heading, amplify_table_split_cell, amplify_tutorials, amplify_wellbore, amplify_wireline, amplify_wireline_cased_hole, amplify_wireline_open_hole, animation, auth, capitalize, cleanRichTextValue, colors, convertLatLngToUtm, convertUtmToLatLng, defaultQueryOptions, degrees2radians, distanceLatLng, elevation, environment, exportComponent, extractImageUrls, formatBytes, formatDataSize, formatDate, formatDateTime, formatKiloBytes, formatLatLng, formatRelativeDateTime, formatUtm, getFeatures, getHighlightElementBoundingBox, getImagesFromRichText, getVariantIcon, highlightTutorialElementID, imageToB64, isBetweenDates, isValidUrl, setupIcons, shape, skeletonBaseloading, sortByDate, sortByWellboreName, spacings, style, typography, useAmplifyKit, useAuth, useConfetti, useDebounce, useFakeProgress, useFaqsInApplication, useLocalStorage, useNotification, useOnScreenMultiple, usePrefetchRichTextImages, usePrevious, useReleaseNotes, useSelect, useSideBar, useSnackbar, useStatusNavigation, useStepper, useTableOfContents, useThemeProvider, useToasts, utmProjection };
|
|
@@ -8,4 +8,4 @@ interface ApplicationIconProps extends Partial<AppIconProps> {
|
|
|
8
8
|
}
|
|
9
9
|
declare const ApplicationIcon: ForwardRefExoticComponent<ApplicationIconProps & RefAttributes<HTMLDivElement>>;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { ApplicationIcon, ApplicationIconProps
|
|
11
|
+
export { ApplicationIcon, ApplicationIconProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ButtonPrimitive as e,CenteredContent as t,HiddenContent as n,PaddedContent as r}from"./Button.styles.js";import{getLoadingColor as i}from"./Button.utils.js";import{TOKEN_MAPPINGS as a}from"./tokens/tokens.js";import{DotProgress as o}from"@equinor/eds-core-react";import{Fragment as s,jsx as c,jsxs as l}from"react/jsx-runtime";import{createLink as u}from"@tanstack/react-router";const d=({variant:u=`filled`,color:d=`primary`,leadingContent:f,trailingContent:p,fullWidth:m=!1,loading:h=!1,onClick:g,children:_,...v})=>{let y=a[d][u],b=[f,p].filter(Boolean).length;return c(e,{$tokens:y,$fullWidth:m,onClick:h?void 0:g,...v,children:h?l(s,{children:[!m&&c(n,{style:{marginLeft:b*12,marginRight:b*12},children:c(r,{children:_})}),c(t,{children:c(o,{color:i({color:d,variant:u})})})]}):l(s,{children:[f,c(r,{className:`central-content`,children:_}),p]})})},f=u(d);function p(e){if(e.linkOptions===void 0)return c(d,{...e,type:e.type??`button`});let{linkOptions:t,...n}=e,
|
|
1
|
+
import{ButtonPrimitive as e,CenteredContent as t,HiddenContent as n,PaddedContent as r}from"./Button.styles.js";import{getLoadingColor as i}from"./Button.utils.js";import{TOKEN_MAPPINGS as a}from"./tokens/tokens.js";import{DotProgress as o}from"@equinor/eds-core-react";import{Fragment as s,jsx as c,jsxs as l}from"react/jsx-runtime";import{createLink as u}from"@tanstack/react-router";const d=({variant:u=`filled`,color:d=`primary`,leadingContent:f,trailingContent:p,fullWidth:m=!1,loading:h=!1,onClick:g,children:_,...v})=>{let y=a[d][u],b=[f,p].filter(Boolean).length;return c(e,{$tokens:y,$fullWidth:m,onClick:h?void 0:g,...v,children:h?l(s,{children:[!m&&c(n,{style:{marginLeft:b*12,marginRight:b*12},children:c(r,{children:_})}),c(t,{children:c(o,{color:i({color:d,variant:u})})})]}):l(s,{children:[f,c(r,{className:`central-content`,children:_}),p]})})},f=u(d);function p(e){if(e.linkOptions===void 0)return c(d,{...e,type:e.type??`button`});let{linkOptions:t,...n}=e;return c(f,{...t,...n,as:`a`})}export{p as Button};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getLoadingColor as e}from"../Button.utils.js";import{TOKEN_MAPPINGS as t}from"../tokens/tokens.js";import{IconButtonWrapper as n,StyledCircularProgress as r}from"./IconButton.styles.js";import{Icon as i}from"@equinor/eds-core-react";import{Fragment as a,jsx as o}from"react/jsx-runtime";import{createLink as s}from"@tanstack/react-router";const c=({icon:s,variant:c=`filled`,color:l=`primary`,loading:u=!1,shape:d=`circular`,onClick:f,iconProps:p,...m})=>{let h=t[l][c];return o(n,{$shape:d,$tokens:h,onClick:u?void 0:f,...m,children:u?o(a,{children:o(r,{size:16,$isTertiary:e({color:l,variant:c})===`tertiary`,color:e({color:l,variant:c})})}):o(i,{data:s,...p})})},l=s(c);function u(e){if(e.linkOptions===void 0)return o(c,{...e,type:e.type??`button`});let{linkOptions:t,...n}=e,
|
|
1
|
+
import{getLoadingColor as e}from"../Button.utils.js";import{TOKEN_MAPPINGS as t}from"../tokens/tokens.js";import{IconButtonWrapper as n,StyledCircularProgress as r}from"./IconButton.styles.js";import{Icon as i}from"@equinor/eds-core-react";import{Fragment as a,jsx as o}from"react/jsx-runtime";import{createLink as s}from"@tanstack/react-router";const c=({icon:s,variant:c=`filled`,color:l=`primary`,loading:u=!1,shape:d=`circular`,onClick:f,iconProps:p,...m})=>{let h=t[l][c];return o(n,{$shape:d,$tokens:h,onClick:u?void 0:f,...m,children:u?o(a,{children:o(r,{size:16,$isTertiary:e({color:l,variant:c})===`tertiary`,color:e({color:l,variant:c})})}):o(i,{data:s,...p})})},l=s(c);function u(e){if(e.linkOptions===void 0)return o(c,{...e,type:e.type??`button`});let{linkOptions:t,...n}=e;return o(l,{...t,...n,as:`a`})}export{u as IconButton};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react22 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: react22.ForwardRefExoticComponent<ChipProps & react22.RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
|
29
29
|
//#endregion
|
|
30
|
-
export { BaseChipProps, Chip, ClickableChipProps, DeletableChipProps
|
|
30
|
+
export { BaseChipProps, Chip, ClickableChipProps, DeletableChipProps };
|
|
@@ -62,4 +62,4 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
62
62
|
background-color: ${e.variant===`white`?s.white.background:t.ui.background__light.rgba};
|
|
63
63
|
outline: 1px solid ${n.disabled.borderColor};
|
|
64
64
|
`}}
|
|
65
|
-
`;export{u as InteractiveChipStyle,d as ReadOnlyChipStyle
|
|
65
|
+
`;export{u as InteractiveChipStyle,d as ReadOnlyChipStyle};
|
|
@@ -18,4 +18,4 @@ type ConfettiShowerProps = {
|
|
|
18
18
|
type ConfettiProps = ConfettiBoomProps | ConfettiShowerProps;
|
|
19
19
|
type ParticleShape = 'circle' | 'square' | 'star' | 'spiral';
|
|
20
20
|
//#endregion
|
|
21
|
-
export { ConfettiBoomProps, ConfettiProps, ConfettiShowerProps
|
|
21
|
+
export { ConfettiBoomProps, ConfettiProps, ConfettiShowerProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getSeasonalEvent as e}from"./getSeasonalEvent.js";const t={christmas:{name:`Christmas`,colors:[`#C62828`,`#2E7D32`,`#FFFFFF`,`#FFD700`]},newYears:{name:`New Years`,colors:[`#000000`,`#FFFFFF`,`#FFD700`,`#C0C0C0`]},valentinesDay:{name:`Valentine's Day`,colors:[`#E91E63`,`#F44336`,`#FFFFFF`,`#FFCDD2`]},womensDay:{name:`International Women's Day`,colors:[`#7B1FA2`,`#BA68C8`,`#F8BBD0`,`#FFFFFF`]},easter:{name:`Easter`,colors:[`#FFEB3B`,`#A5D6A7`,`#90CAF9`,`#F48FB1`,`#CE93D8`]},norwegianConstitutionDay:{name:`Norwegian Constitution Day (17. mai)`,colors:[`#BA0C2F`,`#FFFFFF`,`#00205B`]},halloween:{name:`Halloween`,colors:[`#FF6F00`,`#000000`,`#6A1B9A`]},pride:{name:`Pride`,colors:[`#E40303`,`#FF8C00`,`#FFED00`,`#008026`,`#004DFF`,`#750787`]}};function n(n){let r=e(n);return r?t[r].colors:null}export{
|
|
1
|
+
import{getSeasonalEvent as e}from"./getSeasonalEvent.js";const t={christmas:{name:`Christmas`,colors:[`#C62828`,`#2E7D32`,`#FFFFFF`,`#FFD700`]},newYears:{name:`New Years`,colors:[`#000000`,`#FFFFFF`,`#FFD700`,`#C0C0C0`]},valentinesDay:{name:`Valentine's Day`,colors:[`#E91E63`,`#F44336`,`#FFFFFF`,`#FFCDD2`]},womensDay:{name:`International Women's Day`,colors:[`#7B1FA2`,`#BA68C8`,`#F8BBD0`,`#FFFFFF`]},easter:{name:`Easter`,colors:[`#FFEB3B`,`#A5D6A7`,`#90CAF9`,`#F48FB1`,`#CE93D8`]},norwegianConstitutionDay:{name:`Norwegian Constitution Day (17. mai)`,colors:[`#BA0C2F`,`#FFFFFF`,`#00205B`]},halloween:{name:`Halloween`,colors:[`#FF6F00`,`#000000`,`#6A1B9A`]},pride:{name:`Pride`,colors:[`#E40303`,`#FF8C00`,`#FFED00`,`#008026`,`#004DFF`,`#750787`]}};function n(n){let r=e(n);return r?t[r].colors:null}export{n as getSeasonalColors};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Variants } from "../../atoms/types/variants.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react14 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: react14.ForwardRefExoticComponent<Omit<DateRangePickerProps, "variant"> & {
|
|
12
12
|
variant?: Variants;
|
|
13
13
|
meta?: string;
|
|
14
14
|
loading?: boolean;
|
|
15
|
-
} &
|
|
15
|
+
} & react14.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
|
|
2
|
+
import * as react20 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: react20.ForwardRefExoticComponent<EquinorLogoProps & react20.RefAttributes<SVGSVGElement>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { EquinorLogo, EquinorLogoProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{colors as e}from"../../atoms/style/colors.js";import{OptionalTooltip as t}from"../OptionalTooltip/OptionalTooltip.js";import{AdditionalText as n,CircularProgress as r,CloseButton as i,CompactFileProgressContainer as a,DoneWrapper as o,FileTooltip as s,LoadingWrapper as c,Rejection as l}from"./CompactFileProgress.styles.js";import{getFileIcon as u,isFileImage as d,readUploadedFileAsText as f}from"./FileProgress.utils.js";import{useEffect as p,useMemo as m,useState as h}from"react";import{Icon as g,Typography as _}from"@equinor/eds-core-react";import{jsx as v,jsxs as y}from"react/jsx-runtime";import{clear as b,error_outlined as x}from"@equinor/eds-icons";const S=({file:S,isError:C,shortErrorText:w,showCompleteState:T,fullErrorText:E,handleOnClick:D,isDeleting:O,...k})=>{let[A,j]=h(``);return p(()=>{C||(async e=>{
|
|
1
|
+
import{colors as e}from"../../atoms/style/colors.js";import{OptionalTooltip as t}from"../OptionalTooltip/OptionalTooltip.js";import{AdditionalText as n,CircularProgress as r,CloseButton as i,CompactFileProgressContainer as a,DoneWrapper as o,FileTooltip as s,LoadingWrapper as c,Rejection as l}from"./CompactFileProgress.styles.js";import{getFileIcon as u,isFileImage as d,readUploadedFileAsText as f}from"./FileProgress.utils.js";import{useEffect as p,useMemo as m,useState as h}from"react";import{Icon as g,Typography as _}from"@equinor/eds-core-react";import{jsx as v,jsxs as y}from"react/jsx-runtime";import{clear as b,error_outlined as x}from"@equinor/eds-icons";const S=({file:S,isError:C,shortErrorText:w,showCompleteState:T,fullErrorText:E,handleOnClick:D,isDeleting:O,...k})=>{let[A,j]=h(``);return p(()=>{C||(async e=>{j(await f(e))})(S)},[C,S]),y(a,{$isError:C,children:[v(s,{title:m(()=>C?E&&E.length>0?E:`An error has occurred with the file`:``,[E,C]),children:m(()=>C?y(l,{children:[v(g,{data:x,color:e.interactive.warning__text.rgba}),v(`div`,{children:w&&w.length>0?w:`Invalid file type`}),v(`svg`,{width:`88`,height:`88`,viewBox:`0 0 88 88`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:v(`rect`,{x:`1`,y:`1`,width:`86`,height:`86`,rx:`7`,stroke:e.interactive.warning__text.rgba,strokeWidth:`2`,strokeDasharray:`4 4`})})]}):T&&!O&&d(S.name)?v(o,{children:v(`img`,{src:A,alt:` ${S.name}`})}):T&&!O?v(o,{children:v(g,{data:u(S.name)})}):y(c,{children:[v(r,{variant:k.indeterminate||O?`indeterminate`:`determinate`,value:!k.isDone&&!k.indeterminate?k.progressPercent:void 0,size:24}),v(_,{variant:`meta`,children:`Uploading...`}),v(`svg`,{width:`88`,height:`88`,viewBox:`0 0 88 88`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:v(`rect`,{x:`1`,y:`1`,width:`86`,height:`86`,rx:`7`,stroke:e.ui.background__medium.rgba,strokeWidth:`2`,strokeDasharray:`4 4`})})]}),[C,T,O,w,A,S.name,k])}),v(t,{title:S.name,children:v(n,{group:`paragraph`,variant:`meta`,children:S.name})}),!O&&k.onDelete&&v(i,{"data-testid":`delete-file`,onClick:D,children:v(g,{color:e.text.static_icons__tertiary.rgba,data:b})})]})};export{S as default};
|
|
@@ -36,4 +36,4 @@ type CompactFileProgressBaseProps = FileProgressBase & {
|
|
|
36
36
|
};
|
|
37
37
|
type FileProgressProps = RegularFileProgressBaseProps | CompactFileProgressBaseProps;
|
|
38
38
|
//#endregion
|
|
39
|
-
export {
|
|
39
|
+
export { FileProgressProps };
|
|
@@ -51,4 +51,4 @@ type IconCellProps = ScribbledOutProps | RegularIconCellProps;
|
|
|
51
51
|
*/
|
|
52
52
|
declare const IconCell: react24.ForwardRefExoticComponent<IconCellProps & react24.RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
//#endregion
|
|
54
|
-
export { IconCell, IconCellProps
|
|
54
|
+
export { IconCell, IconCellProps };
|
|
@@ -63,12 +63,12 @@ import{animation as e}from"../../atoms/style/animation.js";import{colors as t}fr
|
|
|
63
63
|
`}
|
|
64
64
|
|
|
65
65
|
// Overlay for Label & HelperIconContainer
|
|
66
|
-
${({$backgroundColor:e,$variant:n,$state:a})
|
|
66
|
+
${({$backgroundColor:e,$variant:n,$state:a})=>`
|
|
67
67
|
${f}::before,
|
|
68
68
|
${m}::before {
|
|
69
|
-
${u(
|
|
69
|
+
${u(n===i.COLOURED?a===r.ERROR?c[r.ERROR]:a===r.WARNING?c[r.WARNING]:e:t.ui.background__default.rgba)}
|
|
70
70
|
}
|
|
71
|
-
`}
|
|
71
|
+
`}
|
|
72
72
|
|
|
73
73
|
// Disabled state
|
|
74
74
|
&:disabled {
|
|
@@ -5,4 +5,4 @@ import{colors as e}from"../../atoms/style/colors.js";import"../../atoms/enums/Th
|
|
|
5
5
|
${e.ui.background__default.rgba} 10px,
|
|
6
6
|
${e.ui.background__light_medium.rgba} 11px,
|
|
7
7
|
${e.ui.background__light_medium.rgba} 12px
|
|
8
|
-
)`:t===r.COLOURED?i===n.ERROR?l[n.ERROR]:i===n.WARNING?l[n.WARNING]:a:`transparent`;export{p as getBackground,d as getBorderBottom,s as getIconCellColor,f as getSelectedBorder,o as renderContent,l as stateBGColor
|
|
8
|
+
)`:t===r.COLOURED?i===n.ERROR?l[n.ERROR]:i===n.WARNING?l[n.WARNING]:a:`transparent`;export{p as getBackground,d as getBorderBottom,s as getIconCellColor,f as getSelectedBorder,o as renderContent,l as stateBGColor};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react41 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: react41.ForwardRefExoticComponent<ProfileAvatarProps & react41.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ProfileAvatar, ProfileAvatarProps };
|
|
@@ -23,4 +23,4 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
23
23
|
width: inherit;
|
|
24
24
|
height: inherit;
|
|
25
25
|
}
|
|
26
|
-
`,_=n(({url:e,name:t,size:n=`medium`,disabled:a=!1},o)=>{let l=r(()=>!t||t.trim().length===0?s(h,{data:c}):f(t),[t]),u=r(()=>{switch(n){case`small`:return 16;case`small-medium`:return 24;case`medium`:case void 0:return 32;case`large`:return 40;case`x-large`:return 48;default:return n}},[n]),d=r(()=>{switch(n){case`small`:return 6;case`small-medium`:return 10;case`medium`:case void 0:return 14;case`large`:return 16;case`x-large`:return 18;default:return n/2}},[n]),_=r(()=>{if(e)try{if(btoa(atob(e))===e)return`data:image/png;base64, ${e}`}catch{return e}return``},[e]);return _===``?s(m,{$background:p(t),$size:u,$fontSize:d,disabled:a,ref:o,children:s(`span`,{children:l})}):s(g,{$size:u,"data-testid":`avatar-wrapper`,children:s(i,{alt:`user-avatar-${t}`,src:_,disabled:a,ref:o})})});_.displayName=`ProfileAvatar`;export{_ as ProfileAvatar
|
|
26
|
+
`,_=n(({url:e,name:t,size:n=`medium`,disabled:a=!1},o)=>{let l=r(()=>!t||t.trim().length===0?s(h,{data:c}):f(t),[t]),u=r(()=>{switch(n){case`small`:return 16;case`small-medium`:return 24;case`medium`:case void 0:return 32;case`large`:return 40;case`x-large`:return 48;default:return n}},[n]),d=r(()=>{switch(n){case`small`:return 6;case`small-medium`:return 10;case`medium`:case void 0:return 14;case`large`:return 16;case`x-large`:return 18;default:return n/2}},[n]),_=r(()=>{if(e)try{if(btoa(atob(e))===e)return`data:image/png;base64, ${e}`}catch{return e}return``},[e]);return _===``?s(m,{$background:p(t),$size:u,$fontSize:d,disabled:a,ref:o,children:s(`span`,{children:l})}):s(g,{$size:u,"data-testid":`avatar-wrapper`,children:s(i,{alt:`user-avatar-${t}`,src:_,disabled:a,ref:o})})});_.displayName=`ProfileAvatar`;export{_ as ProfileAvatar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"./ExtendedHeaders.js";import t from"./ExtendedImage.js";import{mergeDefaults as n}from"./mergeDefaults.js";import{Extension as r}from"@tiptap/core";import{Bold as i}from"@tiptap/extension-bold";import{CodeBlockLowlight as a}from"@tiptap/extension-code-block-lowlight";import{Color as o}from"@tiptap/extension-color";import{Document as s}from"@tiptap/extension-document";import c from"@tiptap/extension-gapcursor";import{HardBreak as l}from"@tiptap/extension-hard-break";import{Highlight as u}from"@tiptap/extension-highlight";import{Italic as d}from"@tiptap/extension-italic";import{Link as f}from"@tiptap/extension-link";import{BulletList as p,ListItem as m,OrderedList as h}from"@tiptap/extension-list";import{Paragraph as g}from"@tiptap/extension-paragraph";import{Table as _,TableCell as v,TableHeader as y,TableRow as b}from"@tiptap/extension-table";import{Text as x}from"@tiptap/extension-text";import{TextAlign as S}from"@tiptap/extension-text-align";import{TextStyle as C}from"@tiptap/extension-text-style";import{Typography as w}from"@tiptap/extension-typography";import{Dropcursor as T,Placeholder as E,UndoRedo as D}from"@tiptap/extensions";import{common as O,createLowlight as k}from"lowlight";const A=k(O),j=[{name:`bold`,extension:i},{name:`bulletList`,extension:p},{name:`document`,extension:s},{name:`hardBreak`,extension:l},{name:`undoRedo`,extension:D},{name:`italic`,extension:d},{name:`listItem`,extension:m},{name:`orderedList`,extension:h},{name:`paragraph`,extension:g},{name:`text`,extension:x},{name:`codeBlockLowlight`,extension:a},{name:`color`,extension:o},{name:`dropCursor`,extension:T},{name:`gapCursor`,extension:c},{name:`highlight`,extension:u},{name:`link`,extension:f},{name:`placeholder`,extension:E},{name:`table`,extension:_},{name:`tableCell`,extension:v},{name:`tableHeader`,extension:y},{name:`tableRow`,extension:b},{name:`typography`,extension:w},{name:`textStyle`,extension:C},{name:`textAlign`,extension:S},{name:`image`,extension:t},{name:`heading`,extension:e}],M=r.create({name:`AmplifyKit`,addExtensions(){let e=n({options:this.options,defaults:{codeBlockLowlight:{lowlight:A},highlight:{multicolor:!0},table:{resizable:!0},image:{allowBase64:!0},placeholder:{placeholder:`Add text and content here...`},textAlign:{types:[`heading`,`paragraph`,`img`]}}});return j.filter(t=>e[t.name]!==!1).map(t=>{let n=e[t.name];return n?t.extension.configure(n):t.extension})}});export{M as AmplifyKit
|
|
1
|
+
import e from"./ExtendedHeaders.js";import t from"./ExtendedImage.js";import{mergeDefaults as n}from"./mergeDefaults.js";import{Extension as r}from"@tiptap/core";import{Bold as i}from"@tiptap/extension-bold";import{CodeBlockLowlight as a}from"@tiptap/extension-code-block-lowlight";import{Color as o}from"@tiptap/extension-color";import{Document as s}from"@tiptap/extension-document";import c from"@tiptap/extension-gapcursor";import{HardBreak as l}from"@tiptap/extension-hard-break";import{Highlight as u}from"@tiptap/extension-highlight";import{Italic as d}from"@tiptap/extension-italic";import{Link as f}from"@tiptap/extension-link";import{BulletList as p,ListItem as m,OrderedList as h}from"@tiptap/extension-list";import{Paragraph as g}from"@tiptap/extension-paragraph";import{Table as _,TableCell as v,TableHeader as y,TableRow as b}from"@tiptap/extension-table";import{Text as x}from"@tiptap/extension-text";import{TextAlign as S}from"@tiptap/extension-text-align";import{TextStyle as C}from"@tiptap/extension-text-style";import{Typography as w}from"@tiptap/extension-typography";import{Dropcursor as T,Placeholder as E,UndoRedo as D}from"@tiptap/extensions";import{common as O,createLowlight as k}from"lowlight";const A=k(O),j=[{name:`bold`,extension:i},{name:`bulletList`,extension:p},{name:`document`,extension:s},{name:`hardBreak`,extension:l},{name:`undoRedo`,extension:D},{name:`italic`,extension:d},{name:`listItem`,extension:m},{name:`orderedList`,extension:h},{name:`paragraph`,extension:g},{name:`text`,extension:x},{name:`codeBlockLowlight`,extension:a},{name:`color`,extension:o},{name:`dropCursor`,extension:T},{name:`gapCursor`,extension:c},{name:`highlight`,extension:u},{name:`link`,extension:f},{name:`placeholder`,extension:E},{name:`table`,extension:_},{name:`tableCell`,extension:v},{name:`tableHeader`,extension:y},{name:`tableRow`,extension:b},{name:`typography`,extension:w},{name:`textStyle`,extension:C},{name:`textAlign`,extension:S},{name:`image`,extension:t},{name:`heading`,extension:e}],M=r.create({name:`AmplifyKit`,addExtensions(){let e=n({options:this.options,defaults:{codeBlockLowlight:{lowlight:A},highlight:{multicolor:!0},table:{resizable:!0},image:{allowBase64:!0},placeholder:{placeholder:`Add text and content here...`},textAlign:{types:[`heading`,`paragraph`,`img`]}}});return j.filter(t=>e[t.name]!==!1).map(t=>{let n=e[t.name];return n?t.extension.configure(n):t.extension})}});export{M as AmplifyKit};
|
|
@@ -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
|
|
5
|
+
import * as react30 from "react";
|
|
6
6
|
import * as styled_components3 from "styled-components";
|
|
7
7
|
import * as _tiptap_react0 from "@tiptap/react";
|
|
8
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_types0.IStyledComponentBase<"web", styled_components3.FastOmit<styled_components3.FastOmit<
|
|
13
|
-
Provider:
|
|
14
|
-
Content: styled_components_dist_types0.IStyledComponentBase<"web", styled_components3.FastOmit<styled_components3.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> &
|
|
15
|
-
Bar:
|
|
12
|
+
Styling: styled_components_dist_types0.IStyledComponentBase<"web", styled_components3.FastOmit<styled_components3.FastOmit<react30.DetailedHTMLProps<react30.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never> & Partial<Pick<styled_components3.FastOmit<react30.DetailedHTMLProps<react30.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof EditorStylingProps> & EditorStylingProps, never>>> & string;
|
|
13
|
+
Provider: react30.FC<EditorProviderProps>;
|
|
14
|
+
Content: styled_components_dist_types0.IStyledComponentBase<"web", styled_components3.FastOmit<styled_components3.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react30.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never> & Partial<Pick<styled_components3.FastOmit<Omit<_tiptap_react0.EditorContentProps, "ref"> & react30.RefAttributes<HTMLDivElement>, keyof RichTextContentProps> & RichTextContentProps, never>>> & string & Omit<react30.NamedExoticComponent<Omit<_tiptap_react0.EditorContentProps, "ref"> & react30.RefAttributes<HTMLDivElement>>, keyof react30.Component<any, {}, any>>;
|
|
15
|
+
Bar: react30.FC<MenuBarProps>;
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
18
|
-
export { RichText
|
|
18
|
+
export { RichText };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EditorContent as e,EditorStyling as t}from"./RichTextEditor.styles.js";import{AmplifyBar as n}from"./MenuBar/MenuBar.js";import{EditorProvider as r}from"./EditorProvider.js";import
|
|
1
|
+
import{EditorContent as e,EditorStyling as t}from"./RichTextEditor.styles.js";import{AmplifyBar as n}from"./MenuBar/MenuBar.js";import{EditorProvider as r}from"./EditorProvider.js";import"./RichTextEditor.js";const i={Styling:t,Provider:r,Content:e,Bar:n};export{i as RichText};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, MultiSelectCommon, SelectOptionRequired } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react66 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>):
|
|
20
|
+
declare function ComboBox<T extends SelectOptionRequired>(props: ComboBoxProps<T>): react66.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ComboBox, ComboBoxProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, MultiSelectCommon, PersistentSelectProps, SelectOptionRequired } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react65 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/Select/PersistentComboBox/PersistentComboBox.d.ts
|
|
5
5
|
type PersistentComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps<T> & MultiSelectCommon<T> & PersistentSelectProps & (GroupedSelectProps<T> | ListSelectProps<T>);
|
|
@@ -18,6 +18,6 @@ type PersistentComboBoxProps<T extends SelectOptionRequired> = CommonSelectProps
|
|
|
18
18
|
* @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
|
|
19
19
|
* @param maxHeight - Max height of the persistent wrapper below the search field, optional
|
|
20
20
|
*/
|
|
21
|
-
declare function PersistentComboBox<T extends SelectOptionRequired>(props: PersistentComboBoxProps<T>):
|
|
21
|
+
declare function PersistentComboBox<T extends SelectOptionRequired>(props: PersistentComboBoxProps<T>): react65.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { PersistentComboBox, PersistentComboBoxProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseChipProps, ClickableChipProps, DeletableChipProps } from "../Chip/Chip.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react68 from "react";
|
|
3
3
|
import "@equinor/eds-core-react";
|
|
4
4
|
import * as styled_components15 from "styled-components";
|
|
5
5
|
import * as styled_components_dist_types6 from "styled-components/dist/types";
|
|
@@ -11,15 +11,15 @@ interface ComboBoxChipProps {
|
|
|
11
11
|
$lightBackground?: boolean;
|
|
12
12
|
className: string;
|
|
13
13
|
}
|
|
14
|
-
declare const ComboBoxChip: styled_components_dist_types6.IStyledComponentBase<"web", styled_components15.FastOmit<styled_components15.FastOmit<((Omit<
|
|
14
|
+
declare const ComboBoxChip: styled_components_dist_types6.IStyledComponentBase<"web", styled_components15.FastOmit<styled_components15.FastOmit<((Omit<react68.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
|
|
15
15
|
onClick?: undefined;
|
|
16
16
|
onDelete?: undefined;
|
|
17
|
-
}) | ClickableChipProps | DeletableChipProps)) &
|
|
17
|
+
}) | ClickableChipProps | DeletableChipProps)) & react68.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types6.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never> & Partial<Pick<styled_components15.FastOmit<((Omit<react68.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
|
|
18
18
|
onClick?: undefined;
|
|
19
19
|
onDelete?: undefined;
|
|
20
|
-
}) | ClickableChipProps | DeletableChipProps)) &
|
|
20
|
+
}) | ClickableChipProps | DeletableChipProps)) & react68.RefAttributes<HTMLButtonElement | HTMLDivElement>) & styled_components_dist_types6.BaseObject, keyof ComboBoxChipProps> & ComboBoxChipProps, never>>> & string & Omit<react68.ForwardRefExoticComponent<(Omit<react68.HTMLAttributes<HTMLButtonElement | HTMLDivElement>, "onClick"> & ((BaseChipProps & {
|
|
21
21
|
onClick?: undefined;
|
|
22
22
|
onDelete?: undefined;
|
|
23
|
-
}) | ClickableChipProps | DeletableChipProps)) &
|
|
23
|
+
}) | ClickableChipProps | DeletableChipProps)) & react68.RefAttributes<HTMLButtonElement | HTMLDivElement>>, keyof react68.Component<any, {}, any>>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { ComboBoxChip };
|
|
@@ -284,4 +284,4 @@ import{animation as e}from"../../atoms/style/animation.js";import{VARIANT_COLORS
|
|
|
284
284
|
${N}
|
|
285
285
|
`,F=u.div`
|
|
286
286
|
${N}
|
|
287
|
-
`;export{
|
|
287
|
+
`;export{F as ChevronPlaceholder,_ as ClearButton,v as ComboBoxChip,h as Container,b as GroupTitle,m as HelperWrapper,p as LabelWrapper,E as MenuItemSpacer,M as MenuItemWrapper,A as NoItemsFoundText,k as NoTagFoundText,S as PersistentComboBoxWrapper,y as PersistentGroupsWrapper,T as PersistentListItem,w as PersistentListScrollArea,C as PersistentStickyWrapper,D as PlaceholderText,g as Section,P as SmallButton,j as StyledMenu,x as StyledMenuItem,O as ValueText,f as Wrapper};
|
|
@@ -100,4 +100,4 @@ type CommonSelectProps<T extends SelectOptionRequired> = {
|
|
|
100
100
|
'data-testid'?: string;
|
|
101
101
|
} & CustomMenuItemComponentProps<T>;
|
|
102
102
|
//#endregion
|
|
103
|
-
export { CommonSelectProps,
|
|
103
|
+
export { CommonSelectProps, GroupedSelectProps, ListSelectProps, MenuModeSelectProps, MultiSelectCommon, PersistentModeSelectProps, PersistentSelectProps, SelectOption, SelectOptionRequired, SingleSelectCommon };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{flattenOptions as e}from"./Select.utils.js";import{checkbox as t,checkbox_indeterminate as n,checkbox_outline as r}from"@equinor/eds-icons";const i={selected:t,indeterminate:n,none:r};function a(e,t){
|
|
1
|
+
import{flattenOptions as e}from"./Select.utils.js";import{checkbox as t,checkbox_indeterminate as n,checkbox_outline as r}from"@equinor/eds-icons";const i={selected:t,indeterminate:n,none:r};function a(e,t){return i[o(e,t)]}function o(t,n){let r=n.some(e=>e.value===t.value),i=n.map(({value:e})=>e),a=e([t])?.map(({value:e})=>e);return r?`selected`:a.some(e=>i.includes(e))?`indeterminate`:`none`}export{a as getParentIcon,o as getParentState};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonSelectProps, GroupedSelectProps, ListSelectProps, SelectOptionRequired, SingleSelectCommon } from "../Select.types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react67 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/Select/SingleSelect/SingleSelect.d.ts
|
|
5
5
|
type SingleSelectProps<T extends SelectOptionRequired> = CommonSelectProps<T> & SingleSelectCommon<T> & (ListSelectProps<T> | GroupedSelectProps<T>);
|
|
@@ -15,6 +15,6 @@ type SingleSelectProps<T extends SelectOptionRequired> = CommonSelectProps<T> &
|
|
|
15
15
|
* @param onSearchFilter - Custom filter function for search, default is "item.label.match(new RegExp(searchValue, 'i'))"
|
|
16
16
|
* @param customMenuItemComponent - Custom component to use for rendering menu item, defaults to a checkbox with label
|
|
17
17
|
*/
|
|
18
|
-
declare function SingleSelect<T extends SelectOptionRequired>(props: SingleSelectProps<T>):
|
|
18
|
+
declare function SingleSelect<T extends SelectOptionRequired>(props: SingleSelectProps<T>): react67.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { SingleSelect, SingleSelectProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react178 from "react";
|
|
2
2
|
import { RadioProps } from "@equinor/eds-core-react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/SelectionControls/Radio/Radio.d.ts
|
|
@@ -7,6 +7,6 @@ interface RadioProps$1 extends RadioProps {
|
|
|
7
7
|
outlined?: boolean;
|
|
8
8
|
error?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const Radio$1:
|
|
10
|
+
declare const Radio$1: react178.ForwardRefExoticComponent<RadioProps$1 & react178.RefAttributes<HTMLInputElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Radio$1 as Radio, RadioProps$1 as RadioProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react180 from "react";
|
|
2
2
|
import { SwitchProps } from "@equinor/eds-core-react";
|
|
3
3
|
|
|
4
4
|
//#region src/molecules/SelectionControls/Switch/Switch.d.ts
|
|
5
5
|
interface SwitchProps$1 extends SwitchProps {
|
|
6
6
|
outlined?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const Switch$1:
|
|
8
|
+
declare const Switch$1: react180.ForwardRefExoticComponent<SwitchProps$1 & react180.RefAttributes<HTMLInputElement>>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Switch$1 as Switch, SwitchProps$1 as SwitchProps };
|
|
@@ -12,4 +12,4 @@ import{colors as e}from"../../../atoms/style/colors.js";import{spacings as t}fro
|
|
|
12
12
|
cursor: pointer;
|
|
13
13
|
}
|
|
14
14
|
`:``}
|
|
15
|
-
`,d=({index:t,onlyShowCurrentStepLabel:o=!1,children:s,allowJumpingAhead:d=!1})=>{let{currentStep:f,setCurrentStep:p,isStepAtIndexDisabled:m}=n(),h=m(t),g=i(()=>t<f?`body_short`:`body_short_bold`,[f,t,d]),_=i(()=>h||t>f&&!d?e.interactive.disabled__text.rgba:e.text.static_icons__default.rgba,[f,t,h,d]),v=i(()=>h?!1:!!(t<f||d&&t>f),[t,f,h,d]);return l(u,{"data-testid":`step`,$clickable:v,onClick:()=>{v&&p(t)},onKeyDown:e=>{v&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(t))},$disabled:h,"aria-disabled":!v,role:`button`,tabIndex:v?0:-1,children:[c(r,{index:t,disabled:h,allowJumpingAhead:d}),(!o||f===t)&&c(a,{variant:g,color:_,children:s})]})};export{d as
|
|
15
|
+
`,d=({index:t,onlyShowCurrentStepLabel:o=!1,children:s,allowJumpingAhead:d=!1})=>{let{currentStep:f,setCurrentStep:p,isStepAtIndexDisabled:m}=n(),h=m(t),g=i(()=>t<f?`body_short`:`body_short_bold`,[f,t,d]),_=i(()=>h||t>f&&!d?e.interactive.disabled__text.rgba:e.text.static_icons__default.rgba,[f,t,h,d]),v=i(()=>h?!1:!!(t<f||d&&t>f),[t,f,h,d]);return l(u,{"data-testid":`step`,$clickable:v,onClick:()=>{v&&p(t)},onKeyDown:e=>{v&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),p(t))},$disabled:h,"aria-disabled":!v,role:`button`,tabIndex:v?0:-1,children:[c(r,{index:t,disabled:h,allowJumpingAhead:d}),(!o||f===t)&&c(a,{variant:g,color:_,children:s})]})};export{d as default};
|
|
@@ -4,4 +4,4 @@ import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/ind
|
|
|
4
4
|
background: ${e=>e.$background};
|
|
5
5
|
border: none;
|
|
6
6
|
margin: 0;
|
|
7
|
-
`,o=({done:e})=>{
|
|
7
|
+
`,o=({done:e})=>r(a,{$background:t(()=>e?i.interactive.primary__resting.rgba:i.interactive.disabled__text.rgba,[e])});export{o as StepLine};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{spacings as e}from"../../atoms/style/spacings.js";import{useStepper as t}from"../../providers/StepperProvider.js";import
|
|
1
|
+
import{spacings as e}from"../../atoms/style/spacings.js";import{useStepper as t}from"../../providers/StepperProvider.js";import n from"./Step/Step.js";import{StepLine as r}from"./StepLine.js";import{SubTitle as i}from"./SubTitle/SubTitle.js";import{useMemo as a}from"react";import o,{css as s}from"styled-components";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e.xx_large};
|