@spteck/react-controls-v2 2.6.3 → 2.6.5

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @spteck/react-controls-v2
2
2
 
3
- **v2.6.2** — A comprehensive, framework-agnostic React component library built on **Fluent UI 9**, designed for enterprise applications. Works seamlessly with **Vite**, **Next.js**, **Create React App**, and **SharePoint Framework (SPFx)**.
3
+ **v2.6.3** — A comprehensive, framework-agnostic React component library built on **Fluent UI 9**, designed for enterprise applications. Works seamlessly with **Vite**, **Next.js**, **Create React App**, and **SharePoint Framework (SPFx)**.
4
4
 
5
5
  > 🔗 **Live Showcase & Docs:** [reactcontrols.spteckapps.com](https://reactcontrols.spteckapps.com)
6
6
 
@@ -6,6 +6,10 @@ interface IHeroStyles {
6
6
  overlayRoot: string;
7
7
  overlayScrim: (opacity: number) => string;
8
8
  overlayContent: (position: HeroTextPosition) => string;
9
+ overlayTextGroup: string;
10
+ overlayTitle: string;
11
+ overlayDescription: string;
12
+ overlayCta: string;
9
13
  fullscreenRoot: string;
10
14
  splitRoot: string;
11
15
  featuredRoot: string;
@@ -30,6 +30,12 @@ export interface IButtonMenuProps {
30
30
  * - In `radio` and `item` modes, when omitted the button reflects the selected/last-clicked option.
31
31
  */
32
32
  buttonText?: string;
33
+ /**
34
+ * Icon rendered in the trigger button.
35
+ * When provided without `buttonText`, the button renders as icon-only (no visible label).
36
+ * The `label` prop is used as `aria-label` for accessibility in this mode.
37
+ */
38
+ icon?: React.ReactElement;
33
39
  styles?: React.CSSProperties | IButtonMenuStyles;
34
40
  theme?: Theme;
35
41
  options: IButtonMenuOption[];