@apolitical/component-library 8.7.25 → 9.0.0-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.
Files changed (32) hide show
  1. package/accessibility/visually-hidden/visually-hidden.d.ts +1 -1
  2. package/discussion/components/thread/thread.d.ts +1 -1
  3. package/discussion/feeds/replies-feed/components/add-reply-form/add-reply-form.d.ts +1 -1
  4. package/discussion/feeds/replies-feed/components/load-more-replies-button/load-more-replies-button.d.ts +1 -1
  5. package/discussion/feeds/replies-feed/components/reply-item/reply-item.d.ts +1 -1
  6. package/form/components/form/components/fields/input/input.d.ts +1 -1
  7. package/form/components/form/form.types.d.ts +2 -2
  8. package/form/components/rich-text-editor/hooks/use-positioned-element/use-positioned-element.d.ts +1 -1
  9. package/form/types/signup-form/signup-form.helpers.get-fields.d.ts +2 -7
  10. package/general/buttons/button-wrapper/button-wrapper.d.ts +1 -1
  11. package/general/link/link.d.ts +1 -1
  12. package/general/tooltip/tooltip.d.ts +2 -2
  13. package/helpers/intl.d.ts +1 -1
  14. package/helpers/pass-props-to-children.d.ts +1 -1
  15. package/hooks/use-auto-resize/use-auto-resize.d.ts +2 -2
  16. package/index.js +133 -138
  17. package/index.mjs +12669 -13010
  18. package/layout/page-layout/page-layout.d.ts +1 -1
  19. package/modals/components/modal/modal.d.ts +2 -2
  20. package/modals/components/overlay/overlay.d.ts +1 -1
  21. package/navigation/more-menu/more-menu.d.ts +2 -2
  22. package/navigation/tabs/tabs.d.ts +1 -1
  23. package/package.json +4 -4
  24. package/sections/edit-section/edit-section.d.ts +1 -1
  25. package/sections/full-width-section/full-width-section.d.ts +1 -1
  26. package/style.css +1 -1
  27. package/text/helper-text-box/helper-text-box.d.ts +1 -1
  28. package/text/highlighted-text-box/highlighted-text-box.d.ts +1 -1
  29. package/text/icon-bulleted-list/icon-bulleted-list.d.ts +1 -1
  30. package/text/markdown-text/components/div/div.d.ts +1 -1
  31. package/text/markdown-text/components/empty-component/empty-component.d.ts +1 -3
  32. package/text/markdown-text/components/link/link.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { type JSX } from 'react';
2
2
  import { type IAriaLive } from '../../types';
3
3
  export type HelperTextBoxTypes = 'default' | 'warning' | 'error' | 'success';
4
4
  export interface IHelperTextBoxProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { type JSX } from 'react';
2
2
  import { type IAriaLive } from '../../types';
3
3
  export interface IHighlightedTextBoxProps {
4
4
  /** The style of box being rendered */
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { type JSX } from 'react';
2
2
  interface Props {
3
3
  element?: 'ul' | 'ol' | 'dl';
4
4
  /** The layout of the list; `dls` cannot have a horizontal layout */
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  declare const _default: ({ children, ...props }: {
3
3
  children: React.ReactNode | string;
4
4
  class?: string | undefined;
5
- }) => string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
5
+ }) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
6
6
  export default _default;
@@ -1,5 +1,3 @@
1
1
  import React from 'react';
2
- declare const _default: () => React.ExoticComponent<{
3
- children?: React.ReactNode;
4
- }>;
2
+ declare const _default: () => React.ExoticComponent<React.FragmentProps>;
5
3
  export default _default;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const _default: ({ children, ...props }: {
3
3
  children: React.ReactNode;
4
4
  href?: string | undefined;
5
- target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
5
+ target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
6
6
  className?: string | undefined;
7
7
  }) => import("react/jsx-runtime").JSX.Element;
8
8
  export default _default;