@nimbus-ds/components 5.18.0-rc.2 → 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 +13 -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 +13 -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 -6
- 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 -7
- 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 -16
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1775,7 +1775,6 @@ export interface ModalSprinkle {
|
|
|
1775
1775
|
declare const modal: {
|
|
1776
1776
|
classnames: {
|
|
1777
1777
|
overlay: string;
|
|
1778
|
-
overlayScoped: string;
|
|
1779
1778
|
container: string;
|
|
1780
1779
|
container__close: string;
|
|
1781
1780
|
container__footer: string;
|
|
@@ -2133,9 +2132,7 @@ declare const sidebar: {
|
|
|
2133
2132
|
};
|
|
2134
2133
|
classnames: {
|
|
2135
2134
|
overlay: string;
|
|
2136
|
-
overlayScoped: string;
|
|
2137
2135
|
container: string;
|
|
2138
|
-
containerScoped: string;
|
|
2139
2136
|
container__header: string;
|
|
2140
2137
|
container__body: string;
|
|
2141
2138
|
container__footer: string;
|
|
@@ -2415,9 +2412,9 @@ export interface IconButtonProperties extends IconButtonSprinkle {
|
|
|
2415
2412
|
}
|
|
2416
2413
|
export type IconButtonProps = IconButtonProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
|
|
2417
2414
|
export declare const IconButton: React.FC<IconButtonProps> & IconButtonComponents;
|
|
2418
|
-
export type InputPasswordProperties = Pick<InputBaseProps, "appearance" | "disabled">;
|
|
2415
|
+
export type InputPasswordProperties = Pick<InputBaseProps, "appearance" | "disabled" | "aiGenerated">;
|
|
2419
2416
|
declare const InputPassword: React.ForwardRefExoticComponent<InputPasswordProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
2420
|
-
export type InputSearchProperties = Pick<InputBaseProps, "appearance" | "disabled">;
|
|
2417
|
+
export type InputSearchProperties = Pick<InputBaseProps, "appearance" | "disabled" | "aiGenerated">;
|
|
2421
2418
|
declare const InputSearch: React.ForwardRefExoticComponent<InputSearchProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
2422
2419
|
export type InputSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
|
|
2423
2420
|
export type InputSkeletonProps = InputSkeletonProperties;
|
|
@@ -2432,7 +2429,12 @@ export interface InputProperties {
|
|
|
2432
2429
|
* Change the visual style of the input.
|
|
2433
2430
|
* @default neutral
|
|
2434
2431
|
*/
|
|
2435
|
-
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;
|
|
2436
2438
|
/**
|
|
2437
2439
|
* Disables the input, disallowing user interaction.
|
|
2438
2440
|
*/
|
|
@@ -3346,11 +3348,6 @@ export interface ModalProperties extends ModalSprinkle {
|
|
|
3346
3348
|
* Id to be embedded in the portal element
|
|
3347
3349
|
*/
|
|
3348
3350
|
portalId?: string;
|
|
3349
|
-
/**
|
|
3350
|
-
* Root element where the portal should be mounted. When provided and not null,
|
|
3351
|
-
* the portal renders inside this element; when null/undefined, the default root is used.
|
|
3352
|
-
*/
|
|
3353
|
-
container?: HTMLElement | null;
|
|
3354
3351
|
/**
|
|
3355
3352
|
* The padding properties are used to generate space around an modal's content area.
|
|
3356
3353
|
* @default base
|
|
@@ -3555,11 +3552,6 @@ export interface SidebarProperties extends SidebarSprinkle {
|
|
|
3555
3552
|
* @default true
|
|
3556
3553
|
*/
|
|
3557
3554
|
needRemoveScroll?: boolean;
|
|
3558
|
-
/**
|
|
3559
|
-
* Root element where the portal should be mounted. When provided and not null,
|
|
3560
|
-
* the portal renders inside this element; when null/undefined, the default root is used.
|
|
3561
|
-
*/
|
|
3562
|
-
container?: HTMLElement | null;
|
|
3563
3555
|
}
|
|
3564
3556
|
export type SidebarProps = SidebarProperties & HTMLAttributes<HTMLDivElement>;
|
|
3565
3557
|
export declare const Sidebar: React.FC<SidebarProps> & SidebarComponents;
|