@apolitical/component-library 6.6.16 → 6.6.17

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.
@@ -1,2 +1,2 @@
1
- export { default as Overlay, type IOverlayProps } from './overlay';
1
+ export { default as Overlay } 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
- export interface IOverlayProps {
3
+ interface Props {
4
4
  /** ID of the overlay */
5
5
  id?: string;
6
6
  /** If the overlay is showing or not */
@@ -36,5 +36,5 @@ export interface IOverlayProps {
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, }: IOverlayProps) => import("react/jsx-runtime").JSX.Element;
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;
40
40
  export default Overlay;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ButtonPropsType } from '../../../../general';
3
3
  export interface ActionBarButtonProps extends ButtonPropsType {
4
+ /** Text to show on mobile */
5
+ shortText?: string;
4
6
  }
5
7
  declare const ActionBarButton: React.FC<ActionBarButtonProps>;
6
8
  export default ActionBarButton;
@@ -27,6 +27,10 @@ interface Props {
27
27
  className?: string;
28
28
  /** The language to use */
29
29
  locale?: string;
30
+ gtm?: {
31
+ type?: string;
32
+ context?: string;
33
+ };
30
34
  }
31
- declare const Filters: ({ options, defaultOptions, allOption, allowMultiple, onChange, preventNoOptionSelected, className, }: Props) => import("react/jsx-runtime").JSX.Element;
35
+ declare const Filters: ({ options, defaultOptions, allOption, allowMultiple, onChange, preventNoOptionSelected, className, gtm, }: Props) => import("react/jsx-runtime").JSX.Element;
32
36
  export default Filters;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "6.6.16",
3
+ "version": "6.6.17",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {