@oaknational/oak-components 2.34.0 → 2.35.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/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +16 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2829,7 +2829,22 @@ type OakAccordionProps = {
|
|
|
2829
2829
|
* The id of the accordion
|
|
2830
2830
|
*/
|
|
2831
2831
|
id: string;
|
|
2832
|
-
|
|
2832
|
+
/**
|
|
2833
|
+
* Which side the chevron icon appears on
|
|
2834
|
+
* @default "left"
|
|
2835
|
+
*/
|
|
2836
|
+
chevronPosition?: "left" | "right";
|
|
2837
|
+
/**
|
|
2838
|
+
* The background color when the accordion is open
|
|
2839
|
+
* @default "bg-neutral"
|
|
2840
|
+
*/
|
|
2841
|
+
openBackground?: OakUiRoleToken;
|
|
2842
|
+
/**
|
|
2843
|
+
* The color of the header text and chevron icon. When set, the icon is
|
|
2844
|
+
* automatically tinted to match via CSS filter so a single prop keeps both in sync.
|
|
2845
|
+
*/
|
|
2846
|
+
$color?: OakUiRoleToken;
|
|
2847
|
+
} & BorderStyleProps & FlexStyleProps;
|
|
2833
2848
|
/**
|
|
2834
2849
|
* An accordion component that can be used to show/hide content
|
|
2835
2850
|
*/
|