@nimbus-ds/components 5.17.2 → 5.18.0-rc.1
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/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/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.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 +6 -0
- 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 +7 -0
- 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 +13 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1775,6 +1775,7 @@ export interface ModalSprinkle {
|
|
|
1775
1775
|
declare const modal: {
|
|
1776
1776
|
classnames: {
|
|
1777
1777
|
overlay: string;
|
|
1778
|
+
overlayScoped: string;
|
|
1778
1779
|
container: string;
|
|
1779
1780
|
container__close: string;
|
|
1780
1781
|
container__footer: string;
|
|
@@ -2132,7 +2133,9 @@ declare const sidebar: {
|
|
|
2132
2133
|
};
|
|
2133
2134
|
classnames: {
|
|
2134
2135
|
overlay: string;
|
|
2136
|
+
overlayScoped: string;
|
|
2135
2137
|
container: string;
|
|
2138
|
+
containerScoped: string;
|
|
2136
2139
|
container__header: string;
|
|
2137
2140
|
container__body: string;
|
|
2138
2141
|
container__footer: string;
|
|
@@ -3343,6 +3346,11 @@ export interface ModalProperties extends ModalSprinkle {
|
|
|
3343
3346
|
* Id to be embedded in the portal element
|
|
3344
3347
|
*/
|
|
3345
3348
|
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;
|
|
3346
3354
|
/**
|
|
3347
3355
|
* The padding properties are used to generate space around an modal's content area.
|
|
3348
3356
|
* @default base
|
|
@@ -3547,6 +3555,11 @@ export interface SidebarProperties extends SidebarSprinkle {
|
|
|
3547
3555
|
* @default true
|
|
3548
3556
|
*/
|
|
3549
3557
|
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;
|
|
3550
3563
|
}
|
|
3551
3564
|
export type SidebarProps = SidebarProperties & HTMLAttributes<HTMLDivElement>;
|
|
3552
3565
|
export declare const Sidebar: React.FC<SidebarProps> & SidebarComponents;
|