@registrucentras/rc-ses-react-components 2.6.0 → 2.7.2

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
@@ -15,7 +15,7 @@ request'ų taisyklės ir versijų leidyba.
15
15
 
16
16
  ## Prerekvizitai
17
17
 
18
- 1. Įsitikinkite, kad turite įdiegtą **Node.js 22.x** versiją. Tokia pati Node.js versija šiuo metu naudojama ir CI aplinkoje;
18
+ 1. Įsitikinkite, kad turite įdiegtą **Node.js 24.x** (LTS) versiją. Tokia pati Node.js versija šiuo metu naudojama ir CI aplinkoje;
19
19
  2. Jei to dar nepadarėte, lokaliai klonuokite `rc-ses-react-components` projektą:
20
20
  ```bash
21
21
  git clone git@github.com:registrucentras/rc-ses-react-components.git
@@ -107,6 +107,10 @@ export declare const ExpandChevronsIcon: {
107
107
  ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
108
108
  displayName: string;
109
109
  };
110
+ export declare const FunnelIcon: {
111
+ ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
112
+ displayName: string;
113
+ };
110
114
  export declare const InfoFillIcon: {
111
115
  ({ fillColor, size, weight, ...rest }: __DTS_DEFAULT_0__): import("react").JSX.Element;
112
116
  displayName: string;
@@ -7,11 +7,13 @@ export interface RcSesBottomSheetProps extends Omit<MuiDialogProps, 'children' |
7
7
  onBack?: () => void;
8
8
  primaryActionLabel?: string;
9
9
  onPrimaryAction?: () => void;
10
+ primaryActionDisabled?: boolean;
10
11
  secondaryActionLabel?: string;
11
12
  onSecondaryAction?: () => void;
13
+ secondaryActionDisabled?: boolean;
12
14
  disableBackdropClose?: boolean;
13
15
  size?: 'sm' | 'md';
14
16
  onClose?: (event: unknown, reason: 'backdropClick' | 'escapeKeyDown' | 'swipeDown') => void;
15
17
  }
16
- declare function RcSesBottomSheet({ title, children, showBack, onBack, primaryActionLabel, onPrimaryAction, secondaryActionLabel, onSecondaryAction, onClose, disableBackdropClose, size, open, 'aria-labelledby': ariaLabelledByProp, 'aria-describedby': ariaDescribedByProp, scroll, transitionDuration, ...props }: RcSesBottomSheetProps): import("react").JSX.Element;
18
+ declare function RcSesBottomSheet({ title, children, showBack, onBack, primaryActionLabel, onPrimaryAction, primaryActionDisabled, secondaryActionLabel, onSecondaryAction, secondaryActionDisabled, onClose, disableBackdropClose, size, open, 'aria-labelledby': ariaLabelledByProp, 'aria-describedby': ariaDescribedByProp, scroll, transitionDuration, ...props }: RcSesBottomSheetProps): import("react").JSX.Element;
17
19
  export default RcSesBottomSheet;
@@ -19,10 +19,14 @@ export interface RcSesDrawerProps {
19
19
  secondaryActionLabel?: string;
20
20
  /** Callback fired when secondary action button is clicked */
21
21
  onSecondaryAction?: () => void;
22
+ /** Whether the secondary action button is disabled */
23
+ secondaryActionDisabled?: boolean;
22
24
  /** Label for the primary (right) action button */
23
25
  primaryActionLabel?: string;
24
26
  /** Callback fired when primary action button is clicked */
25
27
  onPrimaryAction?: () => void;
28
+ /** Whether the primary action button is disabled */
29
+ primaryActionDisabled?: boolean;
26
30
  /** Test IDs for testing */
27
31
  testIds?: RcSesDrawerTestIds;
28
32
  /** Optional CSS class name */
@@ -4,6 +4,6 @@ import { RcSesDrawerProps, RcSesDrawerTestIds } from './Drawer.types';
4
4
  * Built on MUI Dialog for proper focus management, scroll locking, and DOM handling.
5
5
  * Composition: Header (title + close button), scrollable body, and optional footer.
6
6
  */
7
- declare const RcSesDrawer: ({ isOpen, onClose, title, children, secondaryActionLabel, onSecondaryAction, primaryActionLabel, onPrimaryAction, testIds, className, }: RcSesDrawerProps) => import("react").JSX.Element;
7
+ declare const RcSesDrawer: ({ isOpen, onClose, title, children, secondaryActionLabel, onSecondaryAction, secondaryActionDisabled, primaryActionLabel, onPrimaryAction, primaryActionDisabled, testIds, className, }: RcSesDrawerProps) => import("react").JSX.Element;
8
8
  export default RcSesDrawer;
9
9
  export type { RcSesDrawerProps, RcSesDrawerTestIds };