@apolitical/component-library 3.5.21 → 3.5.22-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/accessibility/visually-hidden/visually-hidden.d.ts +4 -0
- package/general/buttons/button/button.d.ts +6 -0
- package/general/link/link.d.ts +2 -0
- package/index.js +19 -19
- package/index.mjs +1035 -1017
- package/layout/page-layout/components/header/header.helpers.d.ts +2 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/base/_accessibility.scss +7 -0
- package/styles/mixins/_accessibility.scss +6 -0
- package/styles/variables/colors/theme/_navigation.scss +1 -0
- package/text/hide-show-text-box/hide-show-text-box.d.ts +3 -1
|
@@ -29,6 +29,7 @@ $navigation: (
|
|
|
29
29
|
navigation-menu_link_bg: get-map($c, 'white'),
|
|
30
30
|
navigation-menu_link_hover_bg: get-map($c, 'n50'),
|
|
31
31
|
navigation-menu_link_active_bg: get-map($c, 'b100'),
|
|
32
|
+
navigation-menu_link_active_box-shadow: get-map($c, 'b300'),
|
|
32
33
|
navigation-menu_profile-picture_border: get-map($c, 'n700'),
|
|
33
34
|
share-links: get-map($c, 'n800'),
|
|
34
35
|
share-links_muted: get-map($c, 'n600'),
|
|
@@ -3,6 +3,8 @@ import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
|
3
3
|
interface Props {
|
|
4
4
|
/** The language for the box text */
|
|
5
5
|
locale?: string;
|
|
6
|
+
/** An optional id for the box */
|
|
7
|
+
id?: string;
|
|
6
8
|
/** Additional classes to add to the box */
|
|
7
9
|
className?: string;
|
|
8
10
|
/** The text to show when the section is collapsed */
|
|
@@ -14,5 +16,5 @@ interface Props {
|
|
|
14
16
|
markdownOptions?: MarkdownToJSX.Options;
|
|
15
17
|
children?: React.ReactNode;
|
|
16
18
|
}
|
|
17
|
-
declare const HideShowTextBox: ({ className, show, hide, text, markdownOptions, children, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
declare const HideShowTextBox: ({ id, className, show, hide, text, markdownOptions, children, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
18
20
|
export default HideShowTextBox;
|