@baseline-ui/core 0.54.0 → 0.54.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/Acknowledgements.md +1498 -2699
- package/dist/index.d.mts +16 -4
- package/dist/index.d.ts +16 -4
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +7 -7
- package/sbom.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { Time, CalendarDateTime, ZonedDateTime, CalendarDate, CalendarIdentifier
|
|
|
4
4
|
import { NumberFormatOptions } from '@internationalized/number';
|
|
5
5
|
import { LocalizedStrings } from '@internationalized/message';
|
|
6
6
|
import { Theme, Sprinkles } from '@baseline-ui/tokens';
|
|
7
|
-
import { PanelProps as PanelProps$1, PanelImperativeHandle,
|
|
7
|
+
import { PanelProps as PanelProps$1, PanelImperativeHandle, SeparatorProps as SeparatorProps$2 } from 'react-resizable-panels';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
9
|
export { MotionGlobalConfig } from 'motion/react';
|
|
10
10
|
|
|
@@ -7601,9 +7601,15 @@ interface AlertDialogProps extends StylingProps, AriaLabelingProps {
|
|
|
7601
7601
|
onPrimaryAction?: () => void;
|
|
7602
7602
|
/**
|
|
7603
7603
|
* The function that is called when the user cancels the dialog. This is
|
|
7604
|
-
* called when the user clicks the cancel button
|
|
7604
|
+
* called when the user clicks the cancel button. Also called when the close
|
|
7605
|
+
* button (X) is clicked, unless `onClose` is provided.
|
|
7605
7606
|
*/
|
|
7606
7607
|
onCancel?: () => void;
|
|
7608
|
+
/**
|
|
7609
|
+
* Called when the user clicks the close button (X). If not provided, falls
|
|
7610
|
+
* back to `onCancel`.
|
|
7611
|
+
*/
|
|
7612
|
+
onClose?: () => void;
|
|
7607
7613
|
/** The button that should be focused when the dialog is opened. */
|
|
7608
7614
|
autoFocusButton?: "primary" | "cancel";
|
|
7609
7615
|
/** Whether the primary action button should be disabled. */
|
|
@@ -7620,6 +7626,12 @@ interface AlertDialogProps extends StylingProps, AriaLabelingProps {
|
|
|
7620
7626
|
icon?: React__default.FC<IconProps>;
|
|
7621
7627
|
/** The color of the icon. This is the color that is used to fill the icon. */
|
|
7622
7628
|
iconColor?: string;
|
|
7629
|
+
/** The class name for the content area below the title. */
|
|
7630
|
+
contentClassName?: string;
|
|
7631
|
+
/** The class name for the close button. */
|
|
7632
|
+
closeButtonClassName?: string;
|
|
7633
|
+
/** The class name for the button group wrapper. */
|
|
7634
|
+
buttonsClassName?: string;
|
|
7623
7635
|
/**
|
|
7624
7636
|
* Whether the close button should be displayed in the top end corner of the
|
|
7625
7637
|
* dialog. If this is `true`, a close button will be displayed. If this is
|
|
@@ -8232,7 +8244,7 @@ interface PanelProps extends StylingProps {
|
|
|
8232
8244
|
* using `PanelGroup` with `autoSaveId`. Must remain stable across page
|
|
8233
8245
|
* loads.
|
|
8234
8246
|
*/
|
|
8235
|
-
id?:
|
|
8247
|
+
id?: string;
|
|
8236
8248
|
/**
|
|
8237
8249
|
* Panel collapses to this size
|
|
8238
8250
|
*
|
|
@@ -8266,7 +8278,7 @@ interface PanelGroupProps extends StylingProps {
|
|
|
8266
8278
|
/** Content comprising `Panel` and `PanelResizeHandle` */
|
|
8267
8279
|
children: ReactNode;
|
|
8268
8280
|
/** Orientation of the layout */
|
|
8269
|
-
direction
|
|
8281
|
+
direction?: "horizontal" | "vertical";
|
|
8270
8282
|
/**
|
|
8271
8283
|
* Called with a map of panel id to size (percentage) when group layout
|
|
8272
8284
|
* changes
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Time, CalendarDateTime, ZonedDateTime, CalendarDate, CalendarIdentifier
|
|
|
4
4
|
import { NumberFormatOptions } from '@internationalized/number';
|
|
5
5
|
import { LocalizedStrings } from '@internationalized/message';
|
|
6
6
|
import { Theme, Sprinkles } from '@baseline-ui/tokens';
|
|
7
|
-
import { PanelProps as PanelProps$1, PanelImperativeHandle,
|
|
7
|
+
import { PanelProps as PanelProps$1, PanelImperativeHandle, SeparatorProps as SeparatorProps$2 } from 'react-resizable-panels';
|
|
8
8
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
9
|
export { MotionGlobalConfig } from 'motion/react';
|
|
10
10
|
|
|
@@ -7601,9 +7601,15 @@ interface AlertDialogProps extends StylingProps, AriaLabelingProps {
|
|
|
7601
7601
|
onPrimaryAction?: () => void;
|
|
7602
7602
|
/**
|
|
7603
7603
|
* The function that is called when the user cancels the dialog. This is
|
|
7604
|
-
* called when the user clicks the cancel button
|
|
7604
|
+
* called when the user clicks the cancel button. Also called when the close
|
|
7605
|
+
* button (X) is clicked, unless `onClose` is provided.
|
|
7605
7606
|
*/
|
|
7606
7607
|
onCancel?: () => void;
|
|
7608
|
+
/**
|
|
7609
|
+
* Called when the user clicks the close button (X). If not provided, falls
|
|
7610
|
+
* back to `onCancel`.
|
|
7611
|
+
*/
|
|
7612
|
+
onClose?: () => void;
|
|
7607
7613
|
/** The button that should be focused when the dialog is opened. */
|
|
7608
7614
|
autoFocusButton?: "primary" | "cancel";
|
|
7609
7615
|
/** Whether the primary action button should be disabled. */
|
|
@@ -7620,6 +7626,12 @@ interface AlertDialogProps extends StylingProps, AriaLabelingProps {
|
|
|
7620
7626
|
icon?: React__default.FC<IconProps>;
|
|
7621
7627
|
/** The color of the icon. This is the color that is used to fill the icon. */
|
|
7622
7628
|
iconColor?: string;
|
|
7629
|
+
/** The class name for the content area below the title. */
|
|
7630
|
+
contentClassName?: string;
|
|
7631
|
+
/** The class name for the close button. */
|
|
7632
|
+
closeButtonClassName?: string;
|
|
7633
|
+
/** The class name for the button group wrapper. */
|
|
7634
|
+
buttonsClassName?: string;
|
|
7623
7635
|
/**
|
|
7624
7636
|
* Whether the close button should be displayed in the top end corner of the
|
|
7625
7637
|
* dialog. If this is `true`, a close button will be displayed. If this is
|
|
@@ -8232,7 +8244,7 @@ interface PanelProps extends StylingProps {
|
|
|
8232
8244
|
* using `PanelGroup` with `autoSaveId`. Must remain stable across page
|
|
8233
8245
|
* loads.
|
|
8234
8246
|
*/
|
|
8235
|
-
id?:
|
|
8247
|
+
id?: string;
|
|
8236
8248
|
/**
|
|
8237
8249
|
* Panel collapses to this size
|
|
8238
8250
|
*
|
|
@@ -8266,7 +8278,7 @@ interface PanelGroupProps extends StylingProps {
|
|
|
8266
8278
|
/** Content comprising `Panel` and `PanelResizeHandle` */
|
|
8267
8279
|
children: ReactNode;
|
|
8268
8280
|
/** Orientation of the layout */
|
|
8269
|
-
direction
|
|
8281
|
+
direction?: "horizontal" | "vertical";
|
|
8270
8282
|
/**
|
|
8271
8283
|
* Called with a map of panel id to size (percentage) when group layout
|
|
8272
8284
|
* changes
|