enjanga-components-library 1.0.42 β†’ 1.0.44

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/index.d.mts CHANGED
@@ -57,13 +57,15 @@ declare const BNN_roleOpt: readonly ["banner", "presentation", "none"];
57
57
  type BNN_roleOptPropsType = (typeof BNN_roleOpt)[number];
58
58
  interface BNN_propsType {
59
59
  id?: string;
60
+ style?: React.CSSProperties;
60
61
  className?: string;
61
62
  featuredText: FTX_propsType;
63
+ imgBgUrl?: string | null;
62
64
  isHuge?: boolean;
63
65
  role?: BNN_roleOptPropsType;
64
66
  }
65
67
 
66
- declare const Banner: ({ id, className, featuredText, isHuge, role, }: BNN_propsType) => react_jsx_runtime.JSX.Element;
68
+ declare const Banner: ({ id, style, className, featuredText, imgBgUrl, isHuge, role, }: BNN_propsType) => react_jsx_runtime.JSX.Element;
67
69
 
68
70
  interface CBNN_propsType {
69
71
  btnText: string;
package/dist/index.d.ts CHANGED
@@ -57,13 +57,15 @@ declare const BNN_roleOpt: readonly ["banner", "presentation", "none"];
57
57
  type BNN_roleOptPropsType = (typeof BNN_roleOpt)[number];
58
58
  interface BNN_propsType {
59
59
  id?: string;
60
+ style?: React.CSSProperties;
60
61
  className?: string;
61
62
  featuredText: FTX_propsType;
63
+ imgBgUrl?: string | null;
62
64
  isHuge?: boolean;
63
65
  role?: BNN_roleOptPropsType;
64
66
  }
65
67
 
66
- declare const Banner: ({ id, className, featuredText, isHuge, role, }: BNN_propsType) => react_jsx_runtime.JSX.Element;
68
+ declare const Banner: ({ id, style, className, featuredText, imgBgUrl, isHuge, role, }: BNN_propsType) => react_jsx_runtime.JSX.Element;
67
69
 
68
70
  interface CBNN_propsType {
69
71
  btnText: string;
package/dist/index.js CHANGED
@@ -1170,7 +1170,7 @@ var AppHeader = ({
1170
1170
  as: default2__default.default,
1171
1171
  href: brandRoute,
1172
1172
  passHref: true,
1173
- isActive: isHomeRoute,
1173
+ "aria-current": isHomeRoute ? "page" : void 0,
1174
1174
  className: isHomeRoute ? "cds--header__name--current" : "",
1175
1175
  children: brand
1176
1176
  }
@@ -2493,8 +2493,10 @@ var useContainerSize = (options) => {
2493
2493
  };
2494
2494
  var Banner = ({
2495
2495
  id,
2496
+ style,
2496
2497
  className,
2497
2498
  featuredText,
2499
+ imgBgUrl,
2498
2500
  isHuge = false,
2499
2501
  // * A banner is usually a page-level landmark (site-wide header, hero, jumbotron, etc.).
2500
2502
  // πŸ‘‰ Use role="banner" if it’s the primary page banner.
@@ -2511,6 +2513,7 @@ var Banner = ({
2511
2513
  {
2512
2514
  id,
2513
2515
  className: `${cssClasses} enj-Banner-${activeBreakpoint}`,
2516
+ style,
2514
2517
  ref: containerRef,
2515
2518
  role,
2516
2519
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "cds--css-grid", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "cds--sm:col-span-4 cds--md:col-span-6 cds--lg:col-span-10 cds--css-grid-column", children: /* @__PURE__ */ jsxRuntime.jsx(FeatureText_default, { ...featuredText }) }) })
package/dist/index.mjs CHANGED
@@ -1143,7 +1143,7 @@ var AppHeader = ({
1143
1143
  as: default2,
1144
1144
  href: brandRoute,
1145
1145
  passHref: true,
1146
- isActive: isHomeRoute,
1146
+ "aria-current": isHomeRoute ? "page" : void 0,
1147
1147
  className: isHomeRoute ? "cds--header__name--current" : "",
1148
1148
  children: brand
1149
1149
  }
@@ -2466,8 +2466,10 @@ var useContainerSize = (options) => {
2466
2466
  };
2467
2467
  var Banner = ({
2468
2468
  id,
2469
+ style,
2469
2470
  className,
2470
2471
  featuredText,
2472
+ imgBgUrl,
2471
2473
  isHuge = false,
2472
2474
  // * A banner is usually a page-level landmark (site-wide header, hero, jumbotron, etc.).
2473
2475
  // πŸ‘‰ Use role="banner" if it’s the primary page banner.
@@ -2484,6 +2486,7 @@ var Banner = ({
2484
2486
  {
2485
2487
  id,
2486
2488
  className: `${cssClasses} enj-Banner-${activeBreakpoint}`,
2489
+ style,
2487
2490
  ref: containerRef,
2488
2491
  role,
2489
2492
  children: /* @__PURE__ */ jsx("div", { className: "cds--css-grid", children: /* @__PURE__ */ jsx("div", { className: "cds--sm:col-span-4 cds--md:col-span-6 cds--lg:col-span-10 cds--css-grid-column", children: /* @__PURE__ */ jsx(FeatureText_default, { ...featuredText }) }) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enjanga-components-library",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "Reusable component library for Next.js 13+ projects with Carbon design system.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",