@nimbus-ds/components 5.18.0-rc.3 → 5.18.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/CHANGELOG.md +7 -0
- package/dist/Accordion/index.js +1 -1
- package/dist/Alert/index.js +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/CHANGELOG.md +7 -0
- package/dist/Card/index.js +1 -1
- package/dist/Checkbox/index.js +1 -1
- package/dist/Chip/index.js +1 -1
- package/dist/FileUploader/index.js +1 -1
- package/dist/Icon/index.js +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/Input/index.d.ts +8 -3
- package/dist/Input/index.js +1 -1
- package/dist/Label/index.js +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/List/index.js +1 -1
- package/dist/Modal/index.d.ts +0 -22
- package/dist/Modal/index.js +1 -1
- package/dist/MultiSelect/index.js +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollPane/index.js +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Sidebar/index.d.ts +0 -20
- package/dist/Sidebar/index.js +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/Tag/index.js +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/Textarea/index.js +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/Title/index.js +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/Toggle/index.js +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +8 -45
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1775,9 +1775,6 @@ export interface ModalSprinkle {
|
|
|
1775
1775
|
declare const modal: {
|
|
1776
1776
|
classnames: {
|
|
1777
1777
|
overlay: string;
|
|
1778
|
-
overlayScoped: string;
|
|
1779
|
-
frame: string;
|
|
1780
|
-
frameScoped: string;
|
|
1781
1778
|
container: string;
|
|
1782
1779
|
container__close: string;
|
|
1783
1780
|
container__footer: string;
|
|
@@ -2135,9 +2132,7 @@ declare const sidebar: {
|
|
|
2135
2132
|
};
|
|
2136
2133
|
classnames: {
|
|
2137
2134
|
overlay: string;
|
|
2138
|
-
overlayScoped: string;
|
|
2139
2135
|
container: string;
|
|
2140
|
-
containerScoped: string;
|
|
2141
2136
|
container__header: string;
|
|
2142
2137
|
container__body: string;
|
|
2143
2138
|
container__footer: string;
|
|
@@ -2417,9 +2412,9 @@ export interface IconButtonProperties extends IconButtonSprinkle {
|
|
|
2417
2412
|
}
|
|
2418
2413
|
export type IconButtonProps = IconButtonProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
|
|
2419
2414
|
export declare const IconButton: React.FC<IconButtonProps> & IconButtonComponents;
|
|
2420
|
-
export type InputPasswordProperties = Pick<InputBaseProps, "appearance" | "disabled">;
|
|
2415
|
+
export type InputPasswordProperties = Pick<InputBaseProps, "appearance" | "disabled" | "aiGenerated">;
|
|
2421
2416
|
declare const InputPassword: React.ForwardRefExoticComponent<InputPasswordProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
2422
|
-
export type InputSearchProperties = Pick<InputBaseProps, "appearance" | "disabled">;
|
|
2417
|
+
export type InputSearchProperties = Pick<InputBaseProps, "appearance" | "disabled" | "aiGenerated">;
|
|
2423
2418
|
declare const InputSearch: React.ForwardRefExoticComponent<InputSearchProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
2424
2419
|
export type InputSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
|
|
2425
2420
|
export type InputSkeletonProps = InputSkeletonProperties;
|
|
@@ -2434,7 +2429,12 @@ export interface InputProperties {
|
|
|
2434
2429
|
* Change the visual style of the input.
|
|
2435
2430
|
* @default neutral
|
|
2436
2431
|
*/
|
|
2437
|
-
appearance?: "neutral" | "success" | "warning" | "danger";
|
|
2432
|
+
appearance?: "neutral" | "success" | "warning" | "danger" | "ai-generative";
|
|
2433
|
+
/**
|
|
2434
|
+
* Highlights the field to indicate its value was generated by AI.
|
|
2435
|
+
* Applies AI gradient border, white background and an AI focus ring.
|
|
2436
|
+
*/
|
|
2437
|
+
aiGenerated?: boolean;
|
|
2438
2438
|
/**
|
|
2439
2439
|
* Disables the input, disallowing user interaction.
|
|
2440
2440
|
*/
|
|
@@ -3348,25 +3348,6 @@ export interface ModalProperties extends ModalSprinkle {
|
|
|
3348
3348
|
* Id to be embedded in the portal element
|
|
3349
3349
|
*/
|
|
3350
3350
|
portalId?: string;
|
|
3351
|
-
/**
|
|
3352
|
-
* Root element where the portal should be mounted. When provided and not null,
|
|
3353
|
-
* the portal renders inside this element; when null/undefined, the default root is used.
|
|
3354
|
-
*/
|
|
3355
|
-
container?: HTMLElement | null;
|
|
3356
|
-
/**
|
|
3357
|
-
* Controls whether clicking/pressing outside should close the modal.
|
|
3358
|
-
* - boolean: enable/disable dismissal on outside press
|
|
3359
|
-
* - function: receive the DOM event and return true to allow closing, false to ignore
|
|
3360
|
-
*
|
|
3361
|
-
* Defaults to true.
|
|
3362
|
-
*/
|
|
3363
|
-
closeOnOutsidePress?: boolean | ((event: PointerEvent | MouseEvent) => boolean);
|
|
3364
|
-
/**
|
|
3365
|
-
* The attribute name to ignore when checking for outside clicks. Useful to
|
|
3366
|
-
* mark regions (e.g., a chat) that should not close the modal when clicked.
|
|
3367
|
-
* @default "data-nimbus-outside-press-ignore"
|
|
3368
|
-
*/
|
|
3369
|
-
ignoreAttributeName?: string;
|
|
3370
3351
|
/**
|
|
3371
3352
|
* The padding properties are used to generate space around an modal's content area.
|
|
3372
3353
|
* @default base
|
|
@@ -3571,24 +3552,6 @@ export interface SidebarProperties extends SidebarSprinkle {
|
|
|
3571
3552
|
* @default true
|
|
3572
3553
|
*/
|
|
3573
3554
|
needRemoveScroll?: boolean;
|
|
3574
|
-
/**
|
|
3575
|
-
* Root element where the portal should be mounted. When provided and not null,
|
|
3576
|
-
* the portal renders inside this element; when null/undefined, the default root is used.
|
|
3577
|
-
*/
|
|
3578
|
-
container?: HTMLElement | null;
|
|
3579
|
-
/**
|
|
3580
|
-
* Controls whether clicking/pressing outside should close the sidebar.
|
|
3581
|
-
* - boolean: enable/disable dismissal on outside press
|
|
3582
|
-
* - function: receive the DOM event and return true to allow closing, false to ignore
|
|
3583
|
-
*
|
|
3584
|
-
* Defaults to true for backward compatibility.
|
|
3585
|
-
*/
|
|
3586
|
-
closeOnOutsidePress?: boolean | ((event: PointerEvent | MouseEvent) => boolean);
|
|
3587
|
-
/**
|
|
3588
|
-
* The attribute name to ignore when checking for outside clicks.
|
|
3589
|
-
* @default "data-ignore-outside-click"
|
|
3590
|
-
*/
|
|
3591
|
-
ignoreAttributeName?: string;
|
|
3592
3555
|
}
|
|
3593
3556
|
export type SidebarProps = SidebarProperties & HTMLAttributes<HTMLDivElement>;
|
|
3594
3557
|
export declare const Sidebar: React.FC<SidebarProps> & SidebarComponents;
|