@apolitical/component-library 5.0.2-jc.0 → 5.0.3

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,6 +1,6 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { BaseProps } from '../../../../../../../form/components/rich-text-editor/rich-text-editor.types';
3
- declare const Option: ({ id, active, hasDivider, callback, className, children, ...props }: React.PropsWithChildren<{
3
+ declare const Option: ({ id, active, hasDivider, callback, className, children, "aria-pressed": ariaPressed, ...props }: React.PropsWithChildren<{
4
4
  /** The id of the option */
5
5
  id: string;
6
6
  /** Whether the option is active */
@@ -11,5 +11,7 @@ declare const Option: ({ id, active, hasDivider, callback, className, children,
11
11
  callback: () => void;
12
12
  /** Additional classes */
13
13
  className?: string | undefined;
14
+ /** Optional aria-pressed; this will always be added if it's not set. If it's set to null, we won't add it to the button */
15
+ 'aria-pressed'?: boolean | null | undefined;
14
16
  } & BaseProps>) => import("react/jsx-runtime").JSX.Element;
15
17
  export default Option;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export interface ILinkProps {
2
+ interface Props {
3
3
  /** URL for link */
4
4
  href?: string | undefined;
5
5
  /** Content to rendered */
@@ -33,5 +33,5 @@ export interface ILinkProps {
33
33
  /** Data attributes for the link */
34
34
  'data-before'?: string;
35
35
  }
36
- declare const Link: ({ href, children, fallbackElement, className, onClick, gtmContext, gtmType, ...props }: ILinkProps) => import("react/jsx-runtime").JSX.Element;
36
+ declare const Link: ({ href, children, fallbackElement, className, onClick, gtmContext, gtmType, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
37
37
  export default Link;
@@ -1,2 +1 @@
1
1
  export { default as Tooltip } from './tooltip';
2
- export * from './tooltip-linkset.hook';
package/helpers/intl.d.ts CHANGED
@@ -154,7 +154,7 @@ export declare const checkIntlPathExists: (path: string, language?: {
154
154
  discussion_form_explainer_question: string;
155
155
  discussion_likes: string;
156
156
  discussion_likes_short: string;
157
- discussion_likes_showAll: string;
157
+ discussion_likes_more: string;
158
158
  discussion_likes_like: string;
159
159
  discussion_likes_unlike: string;
160
160
  discussion_likes_show: string;