@baseline-ui/core 0.31.0 → 0.31.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/index.d.mts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +74 -74
- package/dist/index.mjs +8 -8
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -385,7 +385,7 @@ interface SliderProps extends Omit<AriaSliderProps<number> & SliderStateOptions<
|
|
|
385
385
|
*/
|
|
386
386
|
includeNumberInput?: boolean;
|
|
387
387
|
}
|
|
388
|
-
interface IconSliderProps extends Pick<SliderProps, "value" | "minValue" | "maxValue" | "onChange" | "defaultValue" | "includeNumberInput" | "step" | "numberFormatOptions">, StylingProps, IconComponentProps {
|
|
388
|
+
interface IconSliderProps extends Pick<SliderProps, "value" | "minValue" | "maxValue" | "onChange" | "defaultValue" | "includeNumberInput" | "step" | "numberFormatOptions" | "isDisabled">, StylingProps, IconComponentProps {
|
|
389
389
|
/**
|
|
390
390
|
* A function to format the value of the slider.
|
|
391
391
|
*
|
|
@@ -2546,6 +2546,8 @@ interface ActionGroupProps extends StylingProps, Omit<AriaActionGroupProps<ListI
|
|
|
2546
2546
|
isSelected?: boolean;
|
|
2547
2547
|
isDisabled?: boolean;
|
|
2548
2548
|
}) => React__default.ReactNode;
|
|
2549
|
+
/** The icon visible at the start of the group. */
|
|
2550
|
+
icon?: React__default.FC<IconProps>;
|
|
2549
2551
|
}
|
|
2550
2552
|
|
|
2551
2553
|
declare const ActionGroup: React__default.ForwardRefExoticComponent<ActionGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
@@ -2729,6 +2731,11 @@ interface PanelProps extends StylingProps {
|
|
|
2729
2731
|
minSize?: PanelProps$1["minSize"];
|
|
2730
2732
|
/** Called with current panel size on resize */
|
|
2731
2733
|
onResize?: PanelProps$1["onResize"];
|
|
2734
|
+
/**
|
|
2735
|
+
* Provide a value in case of conditional rendering to ensure panels are
|
|
2736
|
+
* correctly added back
|
|
2737
|
+
*/
|
|
2738
|
+
order?: PanelProps$1["order"];
|
|
2732
2739
|
}
|
|
2733
2740
|
interface PanelGroupProps extends StylingProps {
|
|
2734
2741
|
/** Content comprising `Panel` and `PanelResizeHandle` */
|
|
@@ -2737,6 +2744,11 @@ interface PanelGroupProps extends StylingProps {
|
|
|
2737
2744
|
direction: PanelGroupProps$1["direction"];
|
|
2738
2745
|
/** Called with current panel sizes when group layout changes */
|
|
2739
2746
|
onLayout?: PanelGroupProps$1["onLayout"];
|
|
2747
|
+
/**
|
|
2748
|
+
* When passed, automatically persists layouts, should be unique amongst other
|
|
2749
|
+
* `PanelGroup`
|
|
2750
|
+
*/
|
|
2751
|
+
autoSaveId?: PanelGroupProps$1["autoSaveId"];
|
|
2740
2752
|
}
|
|
2741
2753
|
interface PanelResizeHandleProps extends StylingProps {
|
|
2742
2754
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -385,7 +385,7 @@ interface SliderProps extends Omit<AriaSliderProps<number> & SliderStateOptions<
|
|
|
385
385
|
*/
|
|
386
386
|
includeNumberInput?: boolean;
|
|
387
387
|
}
|
|
388
|
-
interface IconSliderProps extends Pick<SliderProps, "value" | "minValue" | "maxValue" | "onChange" | "defaultValue" | "includeNumberInput" | "step" | "numberFormatOptions">, StylingProps, IconComponentProps {
|
|
388
|
+
interface IconSliderProps extends Pick<SliderProps, "value" | "minValue" | "maxValue" | "onChange" | "defaultValue" | "includeNumberInput" | "step" | "numberFormatOptions" | "isDisabled">, StylingProps, IconComponentProps {
|
|
389
389
|
/**
|
|
390
390
|
* A function to format the value of the slider.
|
|
391
391
|
*
|
|
@@ -2546,6 +2546,8 @@ interface ActionGroupProps extends StylingProps, Omit<AriaActionGroupProps<ListI
|
|
|
2546
2546
|
isSelected?: boolean;
|
|
2547
2547
|
isDisabled?: boolean;
|
|
2548
2548
|
}) => React__default.ReactNode;
|
|
2549
|
+
/** The icon visible at the start of the group. */
|
|
2550
|
+
icon?: React__default.FC<IconProps>;
|
|
2549
2551
|
}
|
|
2550
2552
|
|
|
2551
2553
|
declare const ActionGroup: React__default.ForwardRefExoticComponent<ActionGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
@@ -2729,6 +2731,11 @@ interface PanelProps extends StylingProps {
|
|
|
2729
2731
|
minSize?: PanelProps$1["minSize"];
|
|
2730
2732
|
/** Called with current panel size on resize */
|
|
2731
2733
|
onResize?: PanelProps$1["onResize"];
|
|
2734
|
+
/**
|
|
2735
|
+
* Provide a value in case of conditional rendering to ensure panels are
|
|
2736
|
+
* correctly added back
|
|
2737
|
+
*/
|
|
2738
|
+
order?: PanelProps$1["order"];
|
|
2732
2739
|
}
|
|
2733
2740
|
interface PanelGroupProps extends StylingProps {
|
|
2734
2741
|
/** Content comprising `Panel` and `PanelResizeHandle` */
|
|
@@ -2737,6 +2744,11 @@ interface PanelGroupProps extends StylingProps {
|
|
|
2737
2744
|
direction: PanelGroupProps$1["direction"];
|
|
2738
2745
|
/** Called with current panel sizes when group layout changes */
|
|
2739
2746
|
onLayout?: PanelGroupProps$1["onLayout"];
|
|
2747
|
+
/**
|
|
2748
|
+
* When passed, automatically persists layouts, should be unique amongst other
|
|
2749
|
+
* `PanelGroup`
|
|
2750
|
+
*/
|
|
2751
|
+
autoSaveId?: PanelGroupProps$1["autoSaveId"];
|
|
2740
2752
|
}
|
|
2741
2753
|
interface PanelResizeHandleProps extends StylingProps {
|
|
2742
2754
|
/**
|