@kentico/xperience-admin-components 26.0.3 → 26.1.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/dist/entry.d.ts CHANGED
@@ -1507,6 +1507,16 @@ export declare enum FunnelOrientation {
1507
1507
  declare interface GeneratedIconProps {
1508
1508
  }
1509
1509
 
1510
+ /**
1511
+ * Function which formats input string into correct format for dataTestId
1512
+ * @param input Input string to be transformed into dataTestId format
1513
+ * @param fallback Fallback string to be used if input is undefined or empty
1514
+ * @returns String in a correct format for dataTestId
1515
+ */
1516
+ export declare function getDataTestId(input: string): string;
1517
+
1518
+ export declare function getDataTestId(input: string | undefined, fallback: string): string;
1519
+
1510
1520
  export declare enum Gradients {
1511
1521
  VeryLightWarmGrey = "var(--gradient-very-light-warm-grey)",
1512
1522
  Medium = "var(--gradient-medium)",
@@ -3004,7 +3014,7 @@ export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & Rea
3004
3014
  /**
3005
3015
  * Switch on/off state indicator
3006
3016
  */
3007
- export declare interface SwitchProps {
3017
+ export declare interface SwitchProps extends UITestProps {
3008
3018
  /**
3009
3019
  * Switch on/off state (required).
3010
3020
  */