@apolitical/component-library 6.6.18-ac.0 → 6.6.19-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -2564,7 +2564,7 @@ const Uh = {
2564
2564
  forceBlock: !0
2565
2565
  };
2566
2566
  let l = Uh[i];
2567
- return n.overrides && (l = { ...l, ...n.overrides }), console.log({ children: r, overrideProps: l }), re.createElement(e, {
2567
+ return n.overrides && (l = { ...l, ...n.overrides }), re.createElement(e, {
2568
2568
  className: V("markdown-text", t, {
2569
2569
  "highlight-titles": s
2570
2570
  }),
@@ -29119,7 +29119,7 @@ const bA = ({
29119
29119
  t && /* @__PURE__ */ c.jsx(
29120
29120
  je,
29121
29121
  {
29122
- variant: "secondary",
29122
+ variant: t.variant || "secondary",
29123
29123
  size: "medium",
29124
29124
  href: t.link,
29125
29125
  className: "gtm-trackable",
@@ -1,2 +1,2 @@
1
- export { default as Overlay } from './overlay';
1
+ export { default as Overlay, type IOverlayProps } from './overlay';
2
2
  export { addAriaProps } from './overlay.helpers';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonPropsType } from '../../../general';
3
- interface Props {
3
+ export interface IOverlayProps {
4
4
  /** ID of the overlay */
5
5
  id?: string;
6
6
  /** If the overlay is showing or not */
@@ -36,5 +36,5 @@ interface Props {
36
36
  /** Language to use */
37
37
  locale?: string;
38
38
  }
39
- declare const Overlay: ({ id, isOpen, showDivider, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext, }: Props) => import("react/jsx-runtime").JSX.Element;
39
+ declare const Overlay: ({ id, isOpen, showDivider, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext, }: IOverlayProps) => import("react/jsx-runtime").JSX.Element;
40
40
  export default Overlay;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "6.6.18-ac.0",
3
+ "version": "6.6.19-beta.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {