@dxc-technology/halstack-react 0.0.0-9559292 → 0.0.0-955a751

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 (3) hide show
  1. package/dist/index.js +208 -218
  2. package/dist/index.mjs +210 -220
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1455,7 +1455,7 @@ var defaultTranslatedComponentLabels = {
1455
1455
  logoAlternativeText: "Logo"
1456
1456
  },
1457
1457
  applicationLayout: {
1458
- visibilityToggleTitle: "Toggle visibility sidenav"
1458
+ visibilityToggleTitle: "Toggle sidenav visibility"
1459
1459
  },
1460
1460
  alert: {
1461
1461
  infoTitleText: "information",
@@ -7874,7 +7874,7 @@ var Chip_default = DxcChip;
7874
7874
 
7875
7875
  // src/layout/ApplicationLayout.tsx
7876
7876
  var import_react35 = require("react");
7877
- var import_styled_components41 = __toESM(require("styled-components"));
7877
+ var import_styled_components42 = __toESM(require("styled-components"));
7878
7878
 
7879
7879
  // src/footer/Footer.tsx
7880
7880
  var import_react31 = require("react");
@@ -8233,15 +8233,126 @@ var Footer_default = DxcFooter;
8233
8233
 
8234
8234
  // src/header/Header.tsx
8235
8235
  var import_react32 = require("react");
8236
+ var import_styled_components39 = __toESM(require("styled-components"));
8237
+
8238
+ // src/tooltip/Tooltip.tsx
8239
+ var Tooltip = __toESM(require("@radix-ui/react-tooltip"));
8236
8240
  var import_styled_components38 = __toESM(require("styled-components"));
8237
8241
  var import_jsx_runtime41 = require("react/jsx-runtime");
8238
- var Dropdown = (props) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HeaderDropdown, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Dropdown_default, { ...props }) });
8242
+ var triangleIcon = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
8243
+ "svg",
8244
+ {
8245
+ width: "12",
8246
+ height: "6",
8247
+ viewBox: "0 0 12 6",
8248
+ xmlns: "http://www.w3.org/2000/svg",
8249
+ preserveAspectRatio: "none",
8250
+ display: "block",
8251
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
8252
+ "path",
8253
+ {
8254
+ d: "M0.351562 0L5.30131 4.94975C5.69184 5.34027 6.325 5.34027 6.71552 4.94975L11.6653 0H6.00842H0.351562Z",
8255
+ fill: coreTokens_default.color_grey_800
8256
+ }
8257
+ )
8258
+ }
8259
+ );
8260
+ var DxcTooltip = ({ position = "bottom", label, children }) => label ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Tooltip.Provider, { delayDuration: 300, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Tooltip.Root, { children: [
8261
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Tooltip.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TooltipTriggerContainer, { children }) }),
8262
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(StyledTooltipContent, { side: position, sideOffset: 8, children: [
8263
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TooltipContainer, { children: label }),
8264
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Tooltip.Arrow, { asChild: true, "aria-hidden": true, children: triangleIcon })
8265
+ ] }) })
8266
+ ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children });
8267
+ var TooltipTriggerContainer = import_styled_components38.default.div`
8268
+ display: inline-flex;
8269
+ position: relative;
8270
+ `;
8271
+ var StyledTooltipContent = (0, import_styled_components38.default)(Tooltip.Content)`
8272
+ z-index: 2147483647;
8273
+
8274
+ animation-duration: 0.2s;
8275
+ animation-timing-function: ease-out;
8276
+
8277
+ /* Additional optimization to prevent blurry text in certain browsers */
8278
+ -webkit-font-smoothing: antialiased;
8279
+ transform: translateZ(0) scale(1, 1);
8280
+
8281
+ &[data-side="top"] {
8282
+ animation-name: slideUp;
8283
+ }
8284
+ &[data-side="bottom"] {
8285
+ animation-name: slideDown;
8286
+ }
8287
+ &[data-side="left"] {
8288
+ animation-name: slideLeft;
8289
+ }
8290
+ &[data-side="right"] {
8291
+ animation-name: slideRight;
8292
+ }
8293
+ @keyframes slideDown {
8294
+ from {
8295
+ opacity: 0;
8296
+ transform: translateY(-10px);
8297
+ }
8298
+ to {
8299
+ opacity: 1;
8300
+ transform: translateY(0);
8301
+ }
8302
+ }
8303
+ @keyframes slideUp {
8304
+ from {
8305
+ opacity: 0;
8306
+ transform: translateY(10px);
8307
+ }
8308
+ to {
8309
+ opacity: 1;
8310
+ transform: translateY(0);
8311
+ }
8312
+ }
8313
+ @keyframes slideLeft {
8314
+ from {
8315
+ opacity: 0;
8316
+ transform: translateX(10px);
8317
+ }
8318
+ to {
8319
+ opacity: 1;
8320
+ transform: translateX(0);
8321
+ }
8322
+ }
8323
+ @keyframes slideRight {
8324
+ from {
8325
+ opacity: 0;
8326
+ transform: translateX(-10px);
8327
+ }
8328
+ to {
8329
+ opacity: 1;
8330
+ transform: translateX(0);
8331
+ }
8332
+ }
8333
+ `;
8334
+ var TooltipContainer = import_styled_components38.default.div`
8335
+ box-sizing: border-box;
8336
+ padding: 8px 12px;
8337
+ border-radius: 4px;
8338
+ font-size: ${coreTokens_default.type_scale_01};
8339
+ font-family: ${coreTokens_default.type_sans};
8340
+ max-width: 242px;
8341
+ color: ${coreTokens_default.color_white};
8342
+ background-color: ${coreTokens_default.color_grey_800};
8343
+ border-color: ${coreTokens_default.color_grey_800};
8344
+ `;
8345
+ var Tooltip_default = DxcTooltip;
8346
+
8347
+ // src/header/Header.tsx
8348
+ var import_jsx_runtime42 = require("react/jsx-runtime");
8349
+ var Dropdown = (props) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(HeaderDropdown, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Dropdown_default, { ...props }) });
8239
8350
  var getLogoElement = (themeInput, logoLabel) => {
8240
8351
  if (!themeInput)
8241
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "73", height: "40", viewBox: "0 0 73 40", children: [
8242
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: "DXC Logo" }),
8243
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("g", { transform: "translate(0)", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("g", { children: [
8244
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
8352
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "73", height: "40", viewBox: "0 0 73 40", children: [
8353
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("title", { children: "DXC Logo" }),
8354
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("g", { transform: "translate(0)", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("g", { children: [
8355
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
8245
8356
  "path",
8246
8357
  {
8247
8358
  d: "M91.613-28.177v2.514H90.231V-28.15l-2.415-3.82h1.616l1.5,2.532,1.526-2.532h1.571ZM83.9-25.555A3.15,3.15,0,0,1,80.6-28.8v-.018a3.231,3.231,0,0,1,3.294-3.262,3.442,3.442,0,0,1,2.469.865l-.87,1.054a2.311,2.311,0,0,0-1.643-.64,1.891,1.891,0,0,0-1.8,1.964v.018a1.886,1.886,0,0,0,1.9,2,2.2,2.2,0,0,0,1.3-.378v-.9H83.858v-1.2h2.729v2.738A4.071,4.071,0,0,1,83.9-25.555Zm-6.416-3.261a1.913,1.913,0,0,0-1.9-1.982A1.883,1.883,0,0,0,73.7-28.835v.018a1.913,1.913,0,0,0,1.9,1.982A1.883,1.883,0,0,0,77.486-28.8Zm-1.9,3.261a3.225,3.225,0,0,1-3.33-3.243v-.018A3.255,3.255,0,0,1,75.6-32.078a3.225,3.225,0,0,1,3.331,3.243v.018A3.255,3.255,0,0,1,75.583-25.555Zm-9.173-.108V-31.97h1.382v5.045h3.133v1.261Zm-3.433-3.153a1.913,1.913,0,0,0-1.9-1.982,1.883,1.883,0,0,0-1.886,1.964v.018a1.913,1.913,0,0,0,1.9,1.982A1.883,1.883,0,0,0,62.978-28.8Zm-1.9,3.261a3.225,3.225,0,0,1-3.33-3.243v-.018a3.255,3.255,0,0,1,3.348-3.262,3.225,3.225,0,0,1,3.331,3.243v.018A3.255,3.255,0,0,1,61.075-25.555Zm-6.508-.108-3.043-4.009v4.009H50.159V-31.97h1.275l2.944,3.883V-31.97h1.364v6.306Zm-8.246,0v-2.531h-2.55v2.531H42.389V-31.97h1.382v2.5h2.55v-2.5H47.7v6.306Zm-8.432.108A3.178,3.178,0,0,1,34.666-28.8v-.018a3.2,3.2,0,0,1,3.276-3.262,3.237,3.237,0,0,1,2.478.973l-.88,1.018a2.315,2.315,0,0,0-1.606-.712,1.866,1.866,0,0,0-1.822,1.964v.018a1.87,1.87,0,0,0,1.822,1.982,2.265,2.265,0,0,0,1.651-.739l.88.891A3.206,3.206,0,0,1,37.889-25.555Zm-9.805-.108V-31.97h4.739v1.235H29.458v1.279h2.962v1.234H29.458V-26.9h3.411v1.234ZM24.322-30.69v5.027H22.939V-30.69H21.028v-1.28h5.206v1.28H24.322",
@@ -8249,7 +8360,7 @@ var getLogoElement = (themeInput, logoLabel) => {
8249
8360
  fill: "#010101"
8250
8361
  }
8251
8362
  ),
8252
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
8363
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
8253
8364
  "path",
8254
8365
  {
8255
8366
  d: "M75.836-76.712a8.975,8.975,0,0,1,2.246-3.9,8.393,8.393,0,0,1,6.058-2.457h9.824v-5.67H84.139a14.611,14.611,0,0,0-10.232,4.221,14.509,14.509,0,0,0-3.076,4.536,11.913,11.913,0,0,0-.973,3.271Zm0,4.325a8.978,8.978,0,0,0,2.246,3.9,8.394,8.394,0,0,0,6.058,2.457h9.824v5.67H84.139A14.611,14.611,0,0,1,73.907-64.58a14.506,14.506,0,0,1-3.076-4.536,11.91,11.91,0,0,1-.973-3.271ZM57.522-69.832l-7.5,9.473H42.581L53.818-74.55,42.581-88.739H50.02l7.5,9.472,7.5-9.472h7.439L61.225-74.55l11.237,14.19H65.023Zm-12.336-6.88a11.935,11.935,0,0,0-.973-3.271,14.515,14.515,0,0,0-3.076-4.536A14.612,14.612,0,0,0,30.9-88.739H21.081v5.67H30.9a8.394,8.394,0,0,1,6.058,2.457,8.978,8.978,0,0,1,2.246,3.9Zm0,4.325a11.932,11.932,0,0,1-.973,3.271,14.511,14.511,0,0,1-3.076,4.536A14.611,14.611,0,0,1,30.9-60.359H21.081v-5.67H30.9a8.4,8.4,0,0,0,6.058-2.457,8.981,8.981,0,0,0,2.246-3.9h5.978",
@@ -8259,11 +8370,11 @@ var getLogoElement = (themeInput, logoLabel) => {
8259
8370
  )
8260
8371
  ] }) })
8261
8372
  ] });
8262
- else if (typeof themeInput === "string") return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(LogoImg2, { alt: logoLabel, src: themeInput });
8373
+ else if (typeof themeInput === "string") return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(LogoImg2, { alt: logoLabel, src: themeInput });
8263
8374
  else return themeInput;
8264
8375
  };
8265
- var Content4 = ({ isResponsive, responsiveContent, handleMenu, content }) => {
8266
- return isResponsive ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(MenuContent, { children: responsiveContent(handleMenu) }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ContentContainer, { children: content });
8376
+ var Content5 = ({ isResponsive, responsiveContent, handleMenu, content }) => {
8377
+ return isResponsive ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(MenuContent, { children: responsiveContent(handleMenu) }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ContentContainer, { children: content });
8267
8378
  };
8268
8379
  var DxcHeader = ({
8269
8380
  underlined = false,
@@ -8304,29 +8415,20 @@ var DxcHeader = ({
8304
8415
  (0, import_react32.useEffect)(() => {
8305
8416
  !isResponsive && setIsMenuVisible(false);
8306
8417
  }, [isResponsive]);
8307
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_styled_components38.ThemeProvider, { theme: colorsTheme.header, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(HeaderContainer2, { underlined, margin, ref, children: [
8308
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(LogoAnchor, { tabIndex: onClick ? tabIndex : -1, interactuable: onClick ? true : false, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(LogoContainer2, { children: headerLogo }) }),
8309
- isResponsive && responsiveContent && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Flex_default, { grow: 1, children: [
8310
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ChildContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(HamburgerTrigger, { tabIndex, onClick: handleMenu, "aria-label": "Show options", children: [
8311
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon_default, { icon: "menu" }),
8418
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_styled_components39.ThemeProvider, { theme: colorsTheme.header, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(HeaderContainer2, { underlined, margin, ref, children: [
8419
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(LogoAnchor, { tabIndex: onClick ? tabIndex : -1, interactuable: onClick ? true : false, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(LogoContainer2, { children: headerLogo }) }),
8420
+ isResponsive && responsiveContent && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Flex_default, { grow: 1, children: [
8421
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ChildContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(HamburgerTrigger, { tabIndex, onClick: handleMenu, "aria-label": "Show options", children: [
8422
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon_default, { icon: "menu" }),
8312
8423
  translatedLabels.header.hamburguerTitle
8313
8424
  ] }) }),
8314
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(ResponsiveMenu, { hasVisibility: isMenuVisible, children: [
8315
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Flex_default, { justifyContent: "space-between", alignItems: "center", children: [
8316
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ResponsiveLogoContainer, { children: headerResponsiveLogo }),
8317
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
8318
- CloseAction,
8319
- {
8320
- tabIndex,
8321
- onClick: handleMenu,
8322
- "aria-label": translatedLabels.header.closeIcon,
8323
- title: translatedLabels.header.closeIcon,
8324
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon_default, { icon: "close" })
8325
- }
8326
- )
8425
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(ResponsiveMenu, { hasVisibility: isMenuVisible, children: [
8426
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Flex_default, { justifyContent: "space-between", alignItems: "center", children: [
8427
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ResponsiveLogoContainer, { children: headerResponsiveLogo }),
8428
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Tooltip_default, { label: translatedLabels.header.closeIcon, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CloseAction, { tabIndex, onClick: handleMenu, "aria-label": translatedLabels.header.closeIcon, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon_default, { icon: "close" }) }) })
8327
8429
  ] }),
8328
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
8329
- Content4,
8430
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
8431
+ Content5,
8330
8432
  {
8331
8433
  isResponsive,
8332
8434
  responsiveContent,
@@ -8335,10 +8437,10 @@ var DxcHeader = ({
8335
8437
  }
8336
8438
  )
8337
8439
  ] }),
8338
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Overlay2, { onClick: handleMenu, hasVisibility: isMenuVisible })
8440
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Overlay2, { onClick: handleMenu, hasVisibility: isMenuVisible })
8339
8441
  ] }),
8340
- !isResponsive && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
8341
- Content4,
8442
+ !isResponsive && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
8443
+ Content5,
8342
8444
  {
8343
8445
  isResponsive,
8344
8446
  responsiveContent,
@@ -8349,7 +8451,7 @@ var DxcHeader = ({
8349
8451
  ] }) });
8350
8452
  };
8351
8453
  DxcHeader.Dropdown = Dropdown;
8352
- var HeaderDropdown = import_styled_components38.default.div`
8454
+ var HeaderDropdown = import_styled_components39.default.div`
8353
8455
  display: flex;
8354
8456
  button {
8355
8457
  background-color: transparent;
@@ -8358,7 +8460,7 @@ var HeaderDropdown = import_styled_components38.default.div`
8358
8460
  }
8359
8461
  }
8360
8462
  `;
8361
- var HeaderContainer2 = import_styled_components38.default.header`
8463
+ var HeaderContainer2 = import_styled_components39.default.header`
8362
8464
  box-sizing: border-box;
8363
8465
  display: flex;
8364
8466
  flex-direction: row;
@@ -8370,26 +8472,26 @@ var HeaderContainer2 = import_styled_components38.default.header`
8370
8472
  background-color: ${(props) => props.theme.backgroundColor};
8371
8473
  border-bottom: ${(props) => props.underlined && `${props.theme.underlinedThickness} ${props.theme.underlinedStyle} ${props.theme.underlinedColor}`};
8372
8474
  `;
8373
- var LogoAnchor = import_styled_components38.default.a`
8475
+ var LogoAnchor = import_styled_components39.default.a`
8374
8476
  ${(props) => props.interactuable ? "cursor: pointer" : "cursor: default; outline:none;"};
8375
8477
  `;
8376
- var LogoImg2 = import_styled_components38.default.img`
8478
+ var LogoImg2 = import_styled_components39.default.img`
8377
8479
  max-height: ${(props) => props.theme.logoHeight};
8378
8480
  width: ${(props) => props.theme.logoWidth};
8379
8481
  `;
8380
- var LogoContainer2 = import_styled_components38.default.div`
8482
+ var LogoContainer2 = import_styled_components39.default.div`
8381
8483
  max-height: ${(props) => props.theme.logoHeight};
8382
8484
  width: ${(props) => props.theme.logoWidth};
8383
8485
  vertical-align: middle;
8384
8486
  `;
8385
- var ChildContainer = import_styled_components38.default.div`
8487
+ var ChildContainer = import_styled_components39.default.div`
8386
8488
  display: flex;
8387
8489
  align-items: center;
8388
8490
  justify-content: flex-end;
8389
8491
  flex-grow: 1;
8390
8492
  width: calc(100% - 186px);
8391
8493
  `;
8392
- var ContentContainer = import_styled_components38.default.div`
8494
+ var ContentContainer = import_styled_components39.default.div`
8393
8495
  display: flex;
8394
8496
  align-items: center;
8395
8497
  flex-grow: 1;
@@ -8397,7 +8499,7 @@ var ContentContainer = import_styled_components38.default.div`
8397
8499
  width: calc(100% - 186px);
8398
8500
  color: ${(props) => props.theme.contentColor};
8399
8501
  `;
8400
- var HamburgerTrigger = import_styled_components38.default.button`
8502
+ var HamburgerTrigger = import_styled_components39.default.button`
8401
8503
  display: flex;
8402
8504
  flex-direction: column;
8403
8505
  justify-content: center;
@@ -8426,7 +8528,7 @@ var HamburgerTrigger = import_styled_components38.default.button`
8426
8528
  font-weight: ${(props) => props.theme.hamburguerFontWeight};
8427
8529
  color: ${(props) => props.theme.hamburguerFontColor};
8428
8530
  `;
8429
- var ResponsiveMenu = import_styled_components38.default.div`
8531
+ var ResponsiveMenu = import_styled_components39.default.div`
8430
8532
  display: flex;
8431
8533
  flex-direction: column;
8432
8534
  background-color: ${(props) => props.theme.menuBackgroundColor};
@@ -8452,12 +8554,12 @@ var ResponsiveMenu = import_styled_components38.default.div`
8452
8554
  transition-timing-function: ease-in-out;
8453
8555
  box-sizing: border-box;
8454
8556
  `;
8455
- var ResponsiveLogoContainer = import_styled_components38.default.div`
8557
+ var ResponsiveLogoContainer = import_styled_components39.default.div`
8456
8558
  max-height: ${(props) => props.theme.logoHeight};
8457
8559
  width: ${(props) => props.theme.logoWidth};
8458
8560
  display: flex;
8459
8561
  `;
8460
- var CloseAction = import_styled_components38.default.button`
8562
+ var CloseAction = import_styled_components39.default.button`
8461
8563
  display: flex;
8462
8564
  justify-content: center;
8463
8565
  align-content: center;
@@ -8477,14 +8579,14 @@ var CloseAction = import_styled_components38.default.button`
8477
8579
  width: 24px;
8478
8580
  }
8479
8581
  `;
8480
- var MenuContent = import_styled_components38.default.div`
8582
+ var MenuContent = import_styled_components39.default.div`
8481
8583
  display: flex;
8482
8584
  flex-direction: column;
8483
8585
  align-items: flex-start;
8484
8586
  height: 100%;
8485
8587
  color: ${(props) => props.theme.contentColor};
8486
8588
  `;
8487
- var Overlay2 = import_styled_components38.default.div`
8589
+ var Overlay2 = import_styled_components39.default.div`
8488
8590
  position: fixed;
8489
8591
  top: 0;
8490
8592
  left: 0;
@@ -8506,11 +8608,11 @@ var Header_default = DxcHeader;
8506
8608
 
8507
8609
  // src/sidenav/Sidenav.tsx
8508
8610
  var import_react34 = require("react");
8509
- var import_styled_components40 = __toESM(require("styled-components"));
8611
+ var import_styled_components41 = __toESM(require("styled-components"));
8510
8612
 
8511
8613
  // src/bleed/Bleed.tsx
8512
- var import_styled_components39 = __toESM(require("styled-components"));
8513
- var import_jsx_runtime42 = require("react/jsx-runtime");
8614
+ var import_styled_components40 = __toESM(require("styled-components"));
8615
+ var import_jsx_runtime43 = require("react/jsx-runtime");
8514
8616
  function Bleed({
8515
8617
  space,
8516
8618
  horizontal,
@@ -8521,7 +8623,7 @@ function Bleed({
8521
8623
  left,
8522
8624
  children
8523
8625
  }) {
8524
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
8626
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
8525
8627
  StyledBleed,
8526
8628
  {
8527
8629
  space,
@@ -8538,7 +8640,7 @@ function Bleed({
8538
8640
  function getSpacingValue(spacingName) {
8539
8641
  return spacingName ? spacingName : "0rem";
8540
8642
  }
8541
- var StyledBleed = import_styled_components39.default.div`
8643
+ var StyledBleed = import_styled_components40.default.div`
8542
8644
  ${({ space, horizontal, vertical, top, right, bottom, left }) => `
8543
8645
  margin: -${getSpacingValue(top || vertical || space)} -${getSpacingValue(
8544
8646
  right || horizontal || space
@@ -8556,40 +8658,40 @@ var useResponsiveSidenavVisibility = () => {
8556
8658
  };
8557
8659
 
8558
8660
  // src/sidenav/Sidenav.tsx
8559
- var import_jsx_runtime43 = require("react/jsx-runtime");
8661
+ var import_jsx_runtime44 = require("react/jsx-runtime");
8560
8662
  var DxcSidenav = ({ title, children }) => {
8561
8663
  const colorsTheme = useTheme_default();
8562
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_styled_components40.ThemeProvider, { theme: colorsTheme.sidenav, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(SidenavContainer, { children: [
8664
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_styled_components41.ThemeProvider, { theme: colorsTheme.sidenav, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(SidenavContainer, { children: [
8563
8665
  title,
8564
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Flex_default, { direction: "column", gap: "1rem", children })
8666
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Flex_default, { direction: "column", gap: "1rem", children })
8565
8667
  ] }) });
8566
8668
  };
8567
- var Title = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Bleed, { horizontal: "1rem", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SidenavTitle, { children }) });
8568
- var Section = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
8569
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Bleed, { horizontal: "1rem", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Flex_default, { direction: "column", children }) }),
8570
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Divider, {})
8669
+ var Title = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Bleed, { horizontal: "1rem", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SidenavTitle, { children }) });
8670
+ var Section = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
8671
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Bleed, { horizontal: "1rem", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Flex_default, { direction: "column", children }) }),
8672
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Divider, {})
8571
8673
  ] });
8572
8674
  var GroupContext = (0, import_react34.createContext)(null);
8573
8675
  var Group = ({ title, collapsable = false, icon, children }) => {
8574
8676
  const [collapsed, setCollapsed] = (0, import_react34.useState)(false);
8575
8677
  const [isSelected, changeIsSelected] = (0, import_react34.useState)(false);
8576
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(GroupContext.Provider, { value: changeIsSelected, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(SidenavGroup, { children: [
8577
- collapsable && title ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
8678
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(GroupContext.Provider, { value: changeIsSelected, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(SidenavGroup, { children: [
8679
+ collapsable && title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
8578
8680
  SidenavGroupTitleButton,
8579
8681
  {
8580
8682
  "aria-expanded": !collapsed,
8581
8683
  onClick: () => setCollapsed(!collapsed),
8582
8684
  selectedGroup: collapsed && isSelected,
8583
8685
  children: [
8584
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Flex_default, { alignItems: "center", gap: "0.5rem", children: [
8585
- typeof icon === "string" ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon_default, { icon }) : icon,
8686
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Flex_default, { alignItems: "center", gap: "0.5rem", children: [
8687
+ typeof icon === "string" ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon_default, { icon }) : icon,
8586
8688
  title
8587
8689
  ] }),
8588
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon_default, { icon: collapsed ? "expand_more" : "expand_less" })
8690
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon_default, { icon: collapsed ? "expand_more" : "expand_less" })
8589
8691
  ]
8590
8692
  }
8591
- ) : title && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(SidenavGroupTitle, { children: [
8592
- typeof icon === "string" ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon_default, { icon }) : icon,
8693
+ ) : title && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(SidenavGroupTitle, { children: [
8694
+ typeof icon === "string" ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon_default, { icon }) : icon,
8593
8695
  title
8594
8696
  ] }),
8595
8697
  !collapsed && children
@@ -8606,7 +8708,7 @@ var Link = (0, import_react34.forwardRef)(
8606
8708
  (0, import_react34.useEffect)(() => {
8607
8709
  changeIsGroupSelected?.((isGroupSelected2) => !isGroupSelected2 ? selected : isGroupSelected2);
8608
8710
  }, [selected, changeIsGroupSelected]);
8609
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
8711
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
8610
8712
  SidenavLink,
8611
8713
  {
8612
8714
  selected,
@@ -8617,17 +8719,17 @@ var Link = (0, import_react34.forwardRef)(
8617
8719
  onClick: handleClick,
8618
8720
  ...otherProps,
8619
8721
  children: [
8620
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Flex_default, { alignItems: "center", gap: "0.5rem", children: [
8621
- typeof icon === "string" ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon_default, { icon }) : icon,
8722
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Flex_default, { alignItems: "center", gap: "0.5rem", children: [
8723
+ typeof icon === "string" ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon_default, { icon }) : icon,
8622
8724
  children
8623
8725
  ] }),
8624
- newWindow && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon_default, { icon: "open_in_new" })
8726
+ newWindow && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon_default, { icon: "open_in_new" })
8625
8727
  ]
8626
8728
  }
8627
8729
  );
8628
8730
  }
8629
8731
  );
8630
- var SidenavContainer = import_styled_components40.default.div`
8732
+ var SidenavContainer = import_styled_components41.default.div`
8631
8733
  box-sizing: border-box;
8632
8734
  display: flex;
8633
8735
  flex-direction: column;
@@ -8652,7 +8754,7 @@ var SidenavContainer = import_styled_components40.default.div`
8652
8754
  border-radius: 3px;
8653
8755
  }
8654
8756
  `;
8655
- var SidenavTitle = import_styled_components40.default.div`
8757
+ var SidenavTitle = import_styled_components41.default.div`
8656
8758
  display: flex;
8657
8759
  align-items: center;
8658
8760
  padding: 0.5rem 1.2rem;
@@ -8664,7 +8766,7 @@ var SidenavTitle = import_styled_components40.default.div`
8664
8766
  letter-spacing: ${(props) => props.theme.titleFontLetterSpacing};
8665
8767
  text-transform: ${(props) => props.theme.titleFontTextTransform};
8666
8768
  `;
8667
- var Divider = import_styled_components40.default.div`
8769
+ var Divider = import_styled_components41.default.div`
8668
8770
  width: 100%;
8669
8771
  height: 1px;
8670
8772
  background-color: ${coreTokens_default.color_grey_400};
@@ -8673,12 +8775,12 @@ var Divider = import_styled_components40.default.div`
8673
8775
  display: none;
8674
8776
  }
8675
8777
  `;
8676
- var SidenavGroup = import_styled_components40.default.div`
8778
+ var SidenavGroup = import_styled_components41.default.div`
8677
8779
  a {
8678
8780
  padding: 0.5rem 1.2rem 0.5rem 2.25rem;
8679
8781
  }
8680
8782
  `;
8681
- var SidenavGroupTitle = import_styled_components40.default.span`
8783
+ var SidenavGroupTitle = import_styled_components41.default.span`
8682
8784
  box-sizing: border-box;
8683
8785
  display: flex;
8684
8786
  align-items: center;
@@ -8696,7 +8798,7 @@ var SidenavGroupTitle = import_styled_components40.default.span`
8696
8798
  width: 16px;
8697
8799
  }
8698
8800
  `;
8699
- var SidenavGroupTitleButton = import_styled_components40.default.button`
8801
+ var SidenavGroupTitleButton = import_styled_components41.default.button`
8700
8802
  all: unset;
8701
8803
  box-sizing: border-box;
8702
8804
  display: flex;
@@ -8731,7 +8833,7 @@ var SidenavGroupTitleButton = import_styled_components40.default.button`
8731
8833
  width: 16px;
8732
8834
  }
8733
8835
  `;
8734
- var SidenavLink = import_styled_components40.default.a`
8836
+ var SidenavLink = import_styled_components41.default.a`
8735
8837
  display: flex;
8736
8838
  align-items: center;
8737
8839
  justify-content: space-between;
@@ -8777,9 +8879,9 @@ DxcSidenav.Title = Title;
8777
8879
  var Sidenav_default = DxcSidenav;
8778
8880
 
8779
8881
  // src/layout/Icons.tsx
8780
- var import_jsx_runtime44 = require("react/jsx-runtime");
8882
+ var import_jsx_runtime45 = require("react/jsx-runtime");
8781
8883
  var layoutIcons = {
8782
- facebookLogo: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8884
+ facebookLogo: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8783
8885
  "svg",
8784
8886
  {
8785
8887
  version: "1.1",
@@ -8789,7 +8891,7 @@ var layoutIcons = {
8789
8891
  height: "438.536px",
8790
8892
  viewBox: "0 0 438.536 438.536",
8791
8893
  fill: "#FFFFFF",
8792
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8894
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8793
8895
  "path",
8794
8896
  {
8795
8897
  d: "M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123\n C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126\n h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225\n C438.532,59.576,430.49,40.204,414.41,24.123z M373.155,225.548h-49.963V406.84h-74.802V225.548H210.99V163.02h37.401v-37.402\n c0-26.838,6.283-47.107,18.843-60.813c12.559-13.706,33.304-20.555,62.242-20.555h49.963v62.526h-31.401\n c-10.663,0-17.467,1.853-20.417,5.568c-2.949,3.711-4.428,10.23-4.428,19.558v31.119h56.534L373.155,225.548z"
@@ -8797,9 +8899,9 @@ var layoutIcons = {
8797
8899
  ) })
8798
8900
  }
8799
8901
  ),
8800
- xLogo: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("svg", { width: "256", height: "256", viewBox: "0 0 256 256", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
8801
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("rect", { width: "256", height: "256", rx: "40", fill: "white" }),
8802
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8902
+ xLogo: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("svg", { width: "256", height: "256", viewBox: "0 0 256 256", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
8903
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("rect", { width: "256", height: "256", rx: "40", fill: "white" }),
8904
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8803
8905
  "path",
8804
8906
  {
8805
8907
  d: "M140.192 118.205L187.848 64H176.556L135.158 111.056L102.117 64H64L113.975 135.163L64 192H75.2914L118.982 142.296L153.883 192H192L140.192 118.205ZM124.722 135.787L119.65 128.697L79.3634 72.3294H96.7094L129.232 117.837L134.282 124.927L176.551 184.076H159.205L124.722 135.787Z",
@@ -8807,7 +8909,7 @@ var layoutIcons = {
8807
8909
  }
8808
8910
  )
8809
8911
  ] }),
8810
- linkedinLogo: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8912
+ linkedinLogo: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8811
8913
  "svg",
8812
8914
  {
8813
8915
  version: "1.1",
@@ -8817,7 +8919,7 @@ var layoutIcons = {
8817
8919
  height: "438.536px",
8818
8920
  viewBox: "0 0 438.536 438.536",
8819
8921
  fill: "#FFFFFF",
8820
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8922
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8821
8923
  "path",
8822
8924
  {
8823
8925
  d: "M414.41,24.123C398.333,8.042,378.963,0,356.315,0H82.228C59.58,0,40.21,8.042,24.126,24.123\n C8.045,40.207,0.003,59.576,0.003,82.225v274.084c0,22.647,8.042,42.018,24.123,58.102c16.084,16.084,35.454,24.126,58.102,24.126\n h274.084c22.648,0,42.018-8.042,58.095-24.126c16.084-16.084,24.126-35.454,24.126-58.102V82.225\n C438.532,59.576,430.49,40.204,414.41,24.123z M133.618,367.157H67.666V169.016h65.952V367.157z M127.626,132.332\n c-6.851,6.567-15.893,9.851-27.124,9.851h-0.288c-10.848,0-19.648-3.284-26.407-9.851c-6.76-6.567-10.138-14.703-10.138-24.41\n c0-9.897,3.476-18.083,10.421-24.556c6.95-6.471,15.942-9.708,26.98-9.708c11.039,0,19.89,3.237,26.553,9.708\n c6.661,6.473,10.088,14.659,10.277,24.556C137.899,117.625,134.477,125.761,127.626,132.332z M370.873,367.157h-65.952v-105.92\n c0-29.879-11.036-44.823-33.116-44.823c-8.374,0-15.42,2.331-21.128,6.995c-5.715,4.661-9.996,10.324-12.847,16.991\n c-1.335,3.422-1.999,8.75-1.999,15.981v110.775h-65.952c0.571-119.529,0.571-185.579,0-198.142h65.952v27.974\n c13.867-21.681,33.558-32.544,59.101-32.544c22.84,0,41.21,7.52,55.104,22.554c13.895,15.037,20.841,37.214,20.841,66.519v113.64\n H370.873z"
@@ -8829,11 +8931,11 @@ var layoutIcons = {
8829
8931
  var Icons_default2 = layoutIcons;
8830
8932
 
8831
8933
  // src/layout/ApplicationLayout.tsx
8832
- var import_jsx_runtime45 = require("react/jsx-runtime");
8934
+ var import_jsx_runtime46 = require("react/jsx-runtime");
8833
8935
  var year = (/* @__PURE__ */ new Date()).getFullYear();
8834
- var Main = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, { children });
8835
- var defaultHeader = () => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Header_default, { underlined: true });
8836
- var defaultFooter = () => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8936
+ var Main = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, { children });
8937
+ var defaultHeader = () => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Header_default, { underlined: true });
8938
+ var defaultFooter = () => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
8837
8939
  Footer_default,
8838
8940
  {
8839
8941
  copyright: `\xA9 DXC Technology ${year}\u200B\u200B\u200B\u200B. All rights reserved.`,
@@ -8902,30 +9004,29 @@ var DxcApplicationLayout = ({
8902
9004
  (0, import_react35.useEffect)(() => {
8903
9005
  !isResponsive && setIsSidenavVisibleResponsive(false);
8904
9006
  }, [isResponsive]);
8905
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
9007
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
8906
9008
  ApplicationLayoutContainer,
8907
9009
  {
8908
9010
  hasSidenav: sidenav ? true : false,
8909
9011
  isSidenavVisible: isSidenavVisibleResponsive,
8910
9012
  ref,
8911
9013
  children: [
8912
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(HeaderContainer3, { children: headerContent }),
8913
- sidenav && isResponsive && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(VisibilityToggle, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
9014
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(HeaderContainer3, { children: headerContent }),
9015
+ sidenav && isResponsive && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(VisibilityToggle, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Tooltip_default, { label: translatedLabels.applicationLayout.visibilityToggleTitle, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
8914
9016
  HamburgerTrigger2,
8915
9017
  {
8916
9018
  onClick: handleSidenavVisibility,
8917
9019
  "aria-label": visibilityToggleLabel ? void 0 : translatedLabels.applicationLayout.visibilityToggleTitle,
8918
- title: translatedLabels.applicationLayout.visibilityToggleTitle,
8919
9020
  children: [
8920
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon_default, { icon: "Menu" }),
9021
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Icon_default, { icon: "Menu" }),
8921
9022
  visibilityToggleLabel
8922
9023
  ]
8923
9024
  }
8924
- ) }),
8925
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(BodyContainer, { children: [
8926
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SidenavContextProvider, { value: setIsSidenavVisibleResponsive, children: sidenav && (isResponsive ? isSidenavVisibleResponsive : true) && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SidenavContainer2, { children: sidenav }) }),
8927
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(MainContainer2, { children: [
8928
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(MainContentContainer, { children: main }),
9025
+ ) }) }),
9026
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(BodyContainer, { children: [
9027
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SidenavContextProvider, { value: setIsSidenavVisibleResponsive, children: sidenav && (isResponsive ? isSidenavVisibleResponsive : true) && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SidenavContainer2, { children: sidenav }) }),
9028
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(MainContainer2, { children: [
9029
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(MainContentContainer, { children: main }),
8929
9030
  footerContent
8930
9031
  ] })
8931
9032
  ] })
@@ -8933,7 +9034,7 @@ var DxcApplicationLayout = ({
8933
9034
  }
8934
9035
  );
8935
9036
  };
8936
- var ApplicationLayoutContainer = import_styled_components41.default.div`
9037
+ var ApplicationLayoutContainer = import_styled_components42.default.div`
8937
9038
  position: absolute;
8938
9039
  top: 64px;
8939
9040
  bottom: 0;
@@ -8947,14 +9048,14 @@ var ApplicationLayoutContainer = import_styled_components41.default.div`
8947
9048
  ${(props) => props.isSidenavVisible && "overflow: hidden;"}
8948
9049
  }
8949
9050
  `;
8950
- var HeaderContainer3 = import_styled_components41.default.div`
9051
+ var HeaderContainer3 = import_styled_components42.default.div`
8951
9052
  position: fixed;
8952
9053
  top: 0;
8953
9054
  left: 0;
8954
9055
  right: 0;
8955
9056
  z-index: 3;
8956
9057
  `;
8957
- var VisibilityToggle = import_styled_components41.default.div`
9058
+ var VisibilityToggle = import_styled_components42.default.div`
8958
9059
  position: fixed;
8959
9060
  top: 64px;
8960
9061
  left: 0;
@@ -8968,7 +9069,7 @@ var VisibilityToggle = import_styled_components41.default.div`
8968
9069
  user-select: none;
8969
9070
  z-index: 2;
8970
9071
  `;
8971
- var HamburgerTrigger2 = import_styled_components41.default.button`
9072
+ var HamburgerTrigger2 = import_styled_components42.default.button`
8972
9073
  display: flex;
8973
9074
  flex-wrap: wrap;
8974
9075
  gap: 10px;
@@ -8997,12 +9098,12 @@ var HamburgerTrigger2 = import_styled_components41.default.button`
8997
9098
  font-size: 20px;
8998
9099
  }
8999
9100
  `;
9000
- var BodyContainer = import_styled_components41.default.div`
9101
+ var BodyContainer = import_styled_components42.default.div`
9001
9102
  display: flex;
9002
9103
  flex-direction: row;
9003
9104
  flex: 1;
9004
9105
  `;
9005
- var SidenavContainer2 = import_styled_components41.default.div`
9106
+ var SidenavContainer2 = import_styled_components42.default.div`
9006
9107
  position: sticky;
9007
9108
  top: 64px;
9008
9109
  display: flex;
@@ -9015,12 +9116,12 @@ var SidenavContainer2 = import_styled_components41.default.div`
9015
9116
  height: 100%;
9016
9117
  }
9017
9118
  `;
9018
- var MainContainer2 = import_styled_components41.default.div`
9119
+ var MainContainer2 = import_styled_components42.default.div`
9019
9120
  display: flex;
9020
9121
  flex-direction: column;
9021
9122
  width: 100%;
9022
9123
  `;
9023
- var MainContentContainer = import_styled_components41.default.main`
9124
+ var MainContentContainer = import_styled_components42.default.main`
9024
9125
  flex: 1;
9025
9126
  background-color: #fff;
9026
9127
  `;
@@ -9034,117 +9135,6 @@ var ApplicationLayout_default = DxcApplicationLayout;
9034
9135
  // src/toggle-group/ToggleGroup.tsx
9035
9136
  var import_react36 = require("react");
9036
9137
  var import_styled_components43 = __toESM(require("styled-components"));
9037
-
9038
- // src/tooltip/Tooltip.tsx
9039
- var Tooltip = __toESM(require("@radix-ui/react-tooltip"));
9040
- var import_styled_components42 = __toESM(require("styled-components"));
9041
- var import_jsx_runtime46 = require("react/jsx-runtime");
9042
- var triangleIcon = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
9043
- "svg",
9044
- {
9045
- width: "12",
9046
- height: "6",
9047
- viewBox: "0 0 12 6",
9048
- xmlns: "http://www.w3.org/2000/svg",
9049
- preserveAspectRatio: "none",
9050
- display: "block",
9051
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
9052
- "path",
9053
- {
9054
- d: "M0.351562 0L5.30131 4.94975C5.69184 5.34027 6.325 5.34027 6.71552 4.94975L11.6653 0H6.00842H0.351562Z",
9055
- fill: coreTokens_default.color_grey_800
9056
- }
9057
- )
9058
- }
9059
- );
9060
- var DxcTooltip = ({ position = "bottom", label, children }) => label ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Tooltip.Provider, { delayDuration: 300, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Tooltip.Root, { children: [
9061
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Tooltip.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(TooltipTriggerContainer, { children }) }),
9062
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(StyledTooltipContent, { side: position, sideOffset: 8, children: [
9063
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(TooltipContainer, { children: label }),
9064
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Tooltip.Arrow, { asChild: true, "aria-hidden": true, children: triangleIcon })
9065
- ] }) })
9066
- ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, { children });
9067
- var TooltipTriggerContainer = import_styled_components42.default.div`
9068
- display: inline-flex;
9069
- position: relative;
9070
- `;
9071
- var StyledTooltipContent = (0, import_styled_components42.default)(Tooltip.Content)`
9072
- z-index: 2147483647;
9073
-
9074
- animation-duration: 0.2s;
9075
- animation-timing-function: ease-out;
9076
-
9077
- /* Additional optimization to prevent blurry text in certain browsers */
9078
- -webkit-font-smoothing: antialiased;
9079
- transform: translateZ(0) scale(1, 1);
9080
-
9081
- &[data-side="top"] {
9082
- animation-name: slideUp;
9083
- }
9084
- &[data-side="bottom"] {
9085
- animation-name: slideDown;
9086
- }
9087
- &[data-side="left"] {
9088
- animation-name: slideLeft;
9089
- }
9090
- &[data-side="right"] {
9091
- animation-name: slideRight;
9092
- }
9093
- @keyframes slideDown {
9094
- from {
9095
- opacity: 0;
9096
- transform: translateY(-10px);
9097
- }
9098
- to {
9099
- opacity: 1;
9100
- transform: translateY(0);
9101
- }
9102
- }
9103
- @keyframes slideUp {
9104
- from {
9105
- opacity: 0;
9106
- transform: translateY(10px);
9107
- }
9108
- to {
9109
- opacity: 1;
9110
- transform: translateY(0);
9111
- }
9112
- }
9113
- @keyframes slideLeft {
9114
- from {
9115
- opacity: 0;
9116
- transform: translateX(10px);
9117
- }
9118
- to {
9119
- opacity: 1;
9120
- transform: translateX(0);
9121
- }
9122
- }
9123
- @keyframes slideRight {
9124
- from {
9125
- opacity: 0;
9126
- transform: translateX(-10px);
9127
- }
9128
- to {
9129
- opacity: 1;
9130
- transform: translateX(0);
9131
- }
9132
- }
9133
- `;
9134
- var TooltipContainer = import_styled_components42.default.div`
9135
- box-sizing: border-box;
9136
- padding: 8px 12px;
9137
- border-radius: 4px;
9138
- font-size: ${coreTokens_default.type_scale_01};
9139
- font-family: ${coreTokens_default.type_sans};
9140
- max-width: 242px;
9141
- color: ${coreTokens_default.color_white};
9142
- background-color: ${coreTokens_default.color_grey_800};
9143
- border-color: ${coreTokens_default.color_grey_800};
9144
- `;
9145
- var Tooltip_default = DxcTooltip;
9146
-
9147
- // src/toggle-group/ToggleGroup.tsx
9148
9138
  var import_jsx_runtime47 = require("react/jsx-runtime");
9149
9139
  var DxcToggleGroup = ({
9150
9140
  label,