@kentico/xperience-admin-base 31.8.4 → 31.9.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
@@ -551,6 +551,25 @@ declare type FormItems<TValues extends FormValues = FormValues> = Array<FormComp
551
551
  */
552
552
  declare type FormValues = Record<string, FormFieldValue>;
553
553
 
554
+ /**
555
+ * Narrows the `any` that Froala declares for the dropdown passed to its `refreshOnShow` callback.
556
+ *
557
+ * The `JQuery` interface in `admin-components` models the same thing, but it cannot be reused here.
558
+ * That type is internal, and API Extractor strips everything re-exported through `entry.internal`
559
+ * out of `dist/entry.d.ts` - which is what the declaration build resolves this package against.
560
+ * Sharing it would mean putting it back on the published API surface.
561
+ */
562
+ export declare interface FroalaDropDown {
563
+ /**
564
+ * Finds the descendants of the dropdown matching the given selector.
565
+ */
566
+ readonly find: (selector: string) => FroalaDropDown;
567
+ /**
568
+ * Sets the given attribute on the element.
569
+ */
570
+ readonly attr: (attributeName: string, value: string) => void;
571
+ }
572
+
554
573
  /** Configurator enables custom Froala Typescript plugins to use global Froala configuration methods, which would be unavailable due to different module context. */
555
574
  declare interface FroalaEditorConfigurator {
556
575
  readonly defineIcon: (iconName: string, parameters: Partial<DefineIconParameters>) => void;