@lumx/react 4.10.0-next.2 → 4.11.0-next.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/index.d.ts +13 -9
- package/index.js +265 -176
- package/index.js.map +1 -1
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Kind as Kind$1, HorizontalAlignment as HorizontalAlignment$1, Theme as Theme$1,
|
|
1
|
+
import { Kind as Kind$1, HorizontalAlignment as HorizontalAlignment$1, Theme as Theme$1, Orientation as Orientation$1, Alignment as Alignment$1, Size as Size$1, AspectRatio as AspectRatio$1, Emphasis as Emphasis$1 } from '@lumx/core/js/constants';
|
|
2
2
|
export * from '@lumx/core/js/constants';
|
|
3
3
|
import * as _lumx_core_js_types from '@lumx/core/js/types';
|
|
4
4
|
import { GenericProps as GenericProps$1, HasTheme as HasTheme$1, ValueOf as ValueOf$1, PropsToOverride, HasAriaDisabled as HasAriaDisabled$1, HasRequiredLinkHref as HasRequiredLinkHref$1, HasClassName as HasClassName$1, HasCloseMode as HasCloseMode$1, JSXElement as JSXElement$1, CommonRef as CommonRef$1, Falsy, HeadingElement as HeadingElement$1, HasAriaLabelOrLabelledBy as HasAriaLabelOrLabelledBy$1 } from '@lumx/core/js/types';
|
|
@@ -2279,22 +2279,26 @@ interface DatePickerFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'
|
|
|
2279
2279
|
*/
|
|
2280
2280
|
declare const DatePickerField: Comp<DatePickerFieldProps, HTMLDivElement>;
|
|
2281
2281
|
|
|
2282
|
-
|
|
2283
|
-
* Defines the props of the component.
|
|
2284
|
-
*/
|
|
2285
|
-
interface DialogProps extends GenericProps$1, HasCloseMode$1 {
|
|
2282
|
+
interface BaseDialogProps {
|
|
2286
2283
|
/** Footer content. */
|
|
2287
|
-
footer?:
|
|
2284
|
+
footer?: JSXElement;
|
|
2288
2285
|
/** Whether the divider between the dialog content and the footer is always displayed (instead of showing it on scroll). */
|
|
2289
2286
|
forceFooterDivider?: boolean;
|
|
2290
2287
|
/** Header content. */
|
|
2291
|
-
header?:
|
|
2292
|
-
/** Whether the divider between the dialog content and the
|
|
2288
|
+
header?: JSXElement;
|
|
2289
|
+
/** Whether the divider between the dialog content and the header is always displayed (instead of showing it on scroll). */
|
|
2293
2290
|
forceHeaderDivider?: boolean;
|
|
2294
2291
|
/** Whether the indefinite progress indicator over the dialog content is displayed or not. */
|
|
2295
2292
|
isLoading?: boolean;
|
|
2296
2293
|
/** Whether the component is open or not. */
|
|
2297
2294
|
isOpen?: boolean;
|
|
2295
|
+
}
|
|
2296
|
+
type DialogSizes = Extract<Size, 'tiny' | 'regular' | 'big' | 'huge'>;
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* Defines the props of the component.
|
|
2300
|
+
*/
|
|
2301
|
+
interface DialogProps extends GenericProps$1, HasCloseMode$1, BaseDialogProps {
|
|
2298
2302
|
/** Reference to the parent element that triggered modal opening (will get back focus on close). */
|
|
2299
2303
|
parentElement?: RefObject<HTMLElement>;
|
|
2300
2304
|
/** Reference to the dialog content element. */
|
|
@@ -2322,7 +2326,7 @@ interface DialogProps extends GenericProps$1, HasCloseMode$1 {
|
|
|
2322
2326
|
/** Children */
|
|
2323
2327
|
children?: React__default.ReactNode;
|
|
2324
2328
|
}
|
|
2325
|
-
|
|
2329
|
+
|
|
2326
2330
|
/**
|
|
2327
2331
|
* Dialog component.
|
|
2328
2332
|
*
|