@oaknational/oak-components 2.34.0 → 2.36.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/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 & SpacingStyleProps;
2833
2848
  /**
2834
2849
  * An accordion component that can be used to show/hide content
2835
2850
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-components",
3
- "version": "2.34.0",
3
+ "version": "2.36.0",
4
4
  "licence": "MIT",
5
5
  "packageManager": "pnpm@11.2.0",
6
6
  "description": "Shared components for Oak applications",