@cleen/ui 0.1.13 → 0.1.15

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/index.d.ts CHANGED
@@ -2373,6 +2373,7 @@ interface RadioButtonGroupProps {
2373
2373
  value?: string | number;
2374
2374
  onChange?: (value: string | number) => void;
2375
2375
  radioPosition?: 'left' | 'right';
2376
+ direction?: 'vertical' | 'horizontal';
2376
2377
  classNames?: {
2377
2378
  container?: string;
2378
2379
  label?: string;
@@ -2414,7 +2415,7 @@ interface RadioButtonGroupProps {
2414
2415
  * - Flip radio indicator position with `radioPosition` (`left` | `right`).
2415
2416
  * - Accepts `classNames` and `styles` for keys: `container`, `label`, `radios`, `radioContainer`, `radioActive`, `radioOuterCheckBox`, `radioLabelsContainer`, `radioTitle`, `radiotPostTitle`, `radioSubTitle`, `infoLabels`.
2416
2417
  */
2417
- declare const RadioButtonGroup: ({ radios, label, className, classNames, style, styles, name, radioPosition, defaultActiveId, value, infoLabels, onChange, }: RadioButtonGroupProps) => react_jsx_runtime.JSX.Element;
2418
+ declare const RadioButtonGroup: ({ radios, label, className, classNames, style, styles, name, direction, radioPosition, defaultActiveId, value, infoLabels, onChange, }: RadioButtonGroupProps) => react_jsx_runtime.JSX.Element;
2418
2419
 
2419
2420
  interface RangeSliderProps {
2420
2421
  key?: string | number;
@@ -2635,10 +2636,18 @@ interface SidebarProps {
2635
2636
  closeOnBlur?: boolean;
2636
2637
  /** Additional CSS classes for the sidebar container */
2637
2638
  className?: string;
2638
- /** Additional CSS classes for the navigation section */
2639
- navigationClassName?: string;
2640
- /** Additional CSS classes for the drawer */
2641
- drawerClassName?: string;
2639
+ /** Additional CSS classes for the sections inside the component */
2640
+ classNames?: {
2641
+ navigation?: string;
2642
+ drawer?: string;
2643
+ };
2644
+ /** Additional inline styles for the sidebar container */
2645
+ style?: CSSProperties;
2646
+ /** Additional inline styles for the sections inside the component */
2647
+ styles?: {
2648
+ navigation?: CSSProperties;
2649
+ drawer?: CSSProperties;
2650
+ };
2642
2651
  /** Custom render function for sidebar items */
2643
2652
  renderSidebarItem?: (item: SidebarItemConfig, isActive: boolean, onClick: (item: SidebarItemConfig) => void) => ReactNode;
2644
2653
  }
@@ -2670,7 +2679,7 @@ interface SidebarProps {
2670
2679
  * />
2671
2680
  * ```
2672
2681
  */
2673
- declare function Sidebar({ navigationItems, bottomNavigationItems, drawerContent, logo, onLogoClick, userAvatar, userInfo, drawerFooter, drawerWidth, defaultActiveId, activeId: controlledActiveId, onActiveChange, closeOnOutsideClick, closeOnBlur, className, navigationClassName, drawerClassName, renderSidebarItem, }: SidebarProps): react_jsx_runtime.JSX.Element;
2682
+ declare function Sidebar({ navigationItems, bottomNavigationItems, drawerContent, logo, onLogoClick, userAvatar, userInfo, drawerFooter, drawerWidth, defaultActiveId, activeId: controlledActiveId, onActiveChange, closeOnOutsideClick, closeOnBlur, className, classNames, style, styles, renderSidebarItem, }: SidebarProps): react_jsx_runtime.JSX.Element;
2674
2683
 
2675
2684
  /**
2676
2685
  * SidebarItem - A single navigation item in the sidebar