@kentico/xperience-admin-components 28.2.3 → 28.3.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/entry.d.ts CHANGED
@@ -2143,6 +2143,7 @@ export declare const KXIcons: {
2143
2143
  'xp-lock-unlocked': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2144
2144
  'xp-lock': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2145
2145
  'xp-loop': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2146
+ 'xp-magic-edit': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2146
2147
  'xp-magnifier-minus': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2147
2148
  'xp-magnifier-plus': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2148
2149
  'xp-magnifier': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
@@ -3241,10 +3242,16 @@ export declare interface SpinnerProps extends Omit<IconProps, 'name'> {
3241
3242
  }
3242
3243
 
3243
3244
  export declare const SplitButton: {
3244
- ({ size, color, disabled, inProgress, icon, open, onToggle, children, onClick, title, ...props }: SplitButtonProps): JSX.Element;
3245
+ ({ size, color, disabled, disabledState, inProgress, icon, open, onToggle, children, onClick, title, ...props }: SplitButtonProps): JSX.Element;
3245
3246
  displayName: string;
3246
3247
  };
3247
3248
 
3249
+ export declare enum SplitButtonDisabledState {
3250
+ NONE = "NONE",
3251
+ ALL = "ALL",
3252
+ PARTIAL = "PARTIAL"
3253
+ }
3254
+
3248
3255
  export declare interface SplitButtonProps extends Omit<BaseButtonProps, 'renderComponent' | 'trailingIcon' | 'active' | 'badge' | 'fillContainer' | 'destructive' | 'borderless' | 'className'> {
3249
3256
  readonly color: ButtonColor.Primary | ButtonColor.Secondary;
3250
3257
  readonly size: ButtonSize.S | ButtonSize.M | ButtonSize.L;
@@ -3253,6 +3260,11 @@ export declare interface SplitButtonProps extends Omit<BaseButtonProps, 'renderC
3253
3260
  readonly onClick: () => void;
3254
3261
  readonly children: React.ReactNode;
3255
3262
  readonly title?: string;
3263
+ /**
3264
+ * @deprecated Property is deprecated and will be removed in the next version. Use disabledState instead.
3265
+ */
3266
+ readonly disabled?: boolean;
3267
+ readonly disabledState?: SplitButtonDisabledState;
3256
3268
  }
3257
3269
 
3258
3270
  export declare const Stack: React_2.ForwardRefExoticComponent<StackProps & React_2.RefAttributes<HTMLDivElement>>;