@plasmicapp/react-web 0.2.245 → 0.2.247

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/all.d.ts CHANGED
@@ -11518,6 +11518,12 @@ interface ColorType<P> extends PropTypeBaseDefault<P, string> {
11518
11518
  */
11519
11519
  keepCssVar?: boolean;
11520
11520
  }
11521
+ interface DateStringType<P> extends PropTypeBaseDefault<P, string> {
11522
+ type: "dateString";
11523
+ }
11524
+ interface DateRangeStringsType<P> extends PropTypeBaseDefault<P, [string, string]> {
11525
+ type: "dateRangeStrings";
11526
+ }
11521
11527
  interface ClassType<P> extends PropTypeBase<P> {
11522
11528
  type: "class";
11523
11529
  /**
@@ -11775,8 +11781,8 @@ interface RichCustomType<P> extends PropTypeBaseDefault<P, any> {
11775
11781
  }
11776
11782
  type CustomType<P> = RichCustomType<P> | CustomControl<P>;
11777
11783
  type PrimitiveType<P = any> = Extract<StringType<P> | BooleanType<P> | NumberType<P> | JSONLikeType<P>, string>;
11778
- type PropType$1<P> = StringType<P> | BooleanType<P> | GraphQLType<P> | NumberType<P> | JSONLikeType<P> | DataSourceType<P> | DataPickerType<P> | ExprEditorType<P> | FormValidationRulesType<P> | EventHandlerType<P> | ChoiceType<P> | CustomType<P> | ImageUrlType<P> | SlotType<P>;
11779
- type StringCompatType<P> = StringType<P> | ChoiceType<P> | JSONLikeType<P> | ImageUrlType<P> | CustomType<P> | DataPickerType<P>;
11784
+ type PropType$1<P> = StringType<P> | BooleanType<P> | GraphQLType<P> | NumberType<P> | JSONLikeType<P> | DataSourceType<P> | DataPickerType<P> | ExprEditorType<P> | FormValidationRulesType<P> | EventHandlerType<P> | ChoiceType<P> | CustomType<P> | ImageUrlType<P> | SlotType<P> | DateStringType<P> | DateRangeStringsType<P>;
11785
+ type StringCompatType<P> = DateStringType<P> | StringType<P> | ChoiceType<P> | JSONLikeType<P> | ImageUrlType<P> | CustomType<P> | DataPickerType<P>;
11780
11786
  type BoolCompatType<P> = BooleanType<P> | CustomType<P> | DataPickerType<P>;
11781
11787
  type NumberCompatType<P> = NumberType<P> | CustomType<P> | DataPickerType<P>;
11782
11788
  type RestrictPropType$1<T, P> = T extends string ? StringCompatType<P> : T extends boolean ? BoolCompatType<P> : T extends number ? NumberCompatType<P> : PropType$1<P>;
@@ -13238,8 +13244,8 @@ declare function useSelectOption<P extends BaseSelectOptionProps, C extends AnyP
13238
13244
  interface BaseSelectOptionGroupProps extends SectionLikeProps, StyleProps {
13239
13245
  }
13240
13246
  interface SelectOptionGroupConfig<C extends AnyPlasmicClass> {
13241
- noTitleVariant: PlasmicClassVariants<C>;
13242
- isFirstVariant: PlasmicClassVariants<C>;
13247
+ noTitleVariant: VariantDef<PlasmicClassVariants<C>>;
13248
+ isFirstVariant: VariantDef<PlasmicClassVariants<C>>;
13243
13249
  optionsSlot: keyof PlasmicClassArgs<C>;
13244
13250
  titleSlot: keyof PlasmicClassArgs<C>;
13245
13251
  root: keyof PlasmicClassOverrides<C>;
@@ -13583,7 +13589,6 @@ interface TriggeredOverlayConfig<C extends AnyPlasmicClass> {
13583
13589
  isPlacedRightVariant?: VariantDef<PlasmicClassVariants<C>>;
13584
13590
  contentSlot: keyof PlasmicClassArgs<C>;
13585
13591
  root: keyof PlasmicClassOverrides<C>;
13586
- contentContainer: keyof PlasmicClassOverrides<C>;
13587
13592
  }
13588
13593
  type TriggeredOverlayRef = React$1.Ref<HTMLElement>;
13589
13594
  declare function useTriggeredOverlay<P extends BaseTriggeredOverlayProps, C extends AnyPlasmicClass>(plasmicClass: C, props: P, config: TriggeredOverlayConfig<C>, outerRef?: TriggeredOverlayRef, isDismissable?: boolean): {