@apolitical/component-library 5.0.2 → 5.0.4-jc.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/form/components/rich-text-editor/components/toolbar/components/option/option.d.ts +3 -1
- package/general/buttons/button/button.d.ts +1 -0
- package/index.js +28 -28
- package/index.mjs +1709 -1700
- package/package.json +1 -1
- package/sections/full-width-section/full-width-section.d.ts +2 -0
- package/style.css +1 -1
- package/styles/variables/colors/_colors.scss +2 -0
- package/styles/variables/colors/theme/_base.scss +1 -1
- package/styles/variables/colors/theme/_layout.scss +1 -1
|
@@ -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;
|