@builder.io/dev-tools 1.28.17-dev.202603031856.393f0415b → 1.28.18-dev.202603041237.ffcaf4abd

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/core/index.cjs CHANGED
@@ -656,7 +656,7 @@ __export(index_exports, {
656
656
  module.exports = __toCommonJS(index_exports);
657
657
 
658
658
  // packages/dev-tools/cli/version.ts
659
- var builderVersion = true ? "1.28.17-dev.202603031856.393f0415b" : "0.0.0";
659
+ var builderVersion = true ? "1.28.18-dev.202603041237.ffcaf4abd" : "0.0.0";
660
660
  var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
661
661
 
662
662
  // packages/dev-tools/common/fs.ts
package/core/index.mjs CHANGED
@@ -636,7 +636,7 @@ var require_dist = __commonJS({
636
636
  });
637
637
 
638
638
  // packages/dev-tools/cli/version.ts
639
- var builderVersion = true ? "1.28.17-dev.202603031856.393f0415b" : "0.0.0";
639
+ var builderVersion = true ? "1.28.18-dev.202603041237.ffcaf4abd" : "0.0.0";
640
640
  var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
641
641
 
642
642
  // packages/dev-tools/common/fs.ts
@@ -16,8 +16,8 @@ export namespace JSX {
16
16
  interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {
17
17
  children?: any;
18
18
  }
19
- interface IntrinsicClassAttributes<T>
20
- extends React.JSX.IntrinsicClassAttributes<T> {
19
+ interface IntrinsicClassAttributes<T> extends React.JSX
20
+ .IntrinsicClassAttributes<T> {
21
21
  children?: any;
22
22
  }
23
23
  interface IntrinsicElements extends React.JSX.IntrinsicElements {}
@@ -344,11 +344,13 @@ declare namespace React {
344
344
  >,
345
345
  > extends ReactElement<P, Exclude<T, number>> {}
346
346
 
347
- export interface FunctionComponentElement<P>
348
- extends ReactElement<P, FunctionComponent<P>> {
347
+ export interface FunctionComponentElement<P> extends ReactElement<
348
+ P,
349
+ FunctionComponent<P>
350
+ > {
349
351
  ref?:
350
352
  | ("ref" extends keyof P
351
- ? P extends { ref?: infer R | undefined }
353
+ ? P extends { ref?: (infer R) | undefined }
352
354
  ? R
353
355
  : never
354
356
  : never)
@@ -359,8 +361,10 @@ declare namespace React {
359
361
  P,
360
362
  T extends Component<P, ComponentState>,
361
363
  > = ComponentElement<P, T>;
362
- export interface ComponentElement<P, T extends Component<P, ComponentState>>
363
- extends ReactElement<P, ComponentClass<P>> {
364
+ export interface ComponentElement<
365
+ P,
366
+ T extends Component<P, ComponentState>,
367
+ > extends ReactElement<P, ComponentClass<P>> {
364
368
  ref?: LegacyRef<T> | undefined;
365
369
  }
366
370
 
@@ -381,8 +385,9 @@ declare namespace React {
381
385
  }
382
386
 
383
387
  // ReactHTML for ReactHTMLElement
384
- export interface ReactHTMLElement<T extends HTMLElement>
385
- extends DetailedReactHTMLElement<AllHTMLAttributes<T>, T> {}
388
+ export interface ReactHTMLElement<
389
+ T extends HTMLElement,
390
+ > extends DetailedReactHTMLElement<AllHTMLAttributes<T>, T> {}
386
391
 
387
392
  export interface DetailedReactHTMLElement<
388
393
  P extends HTMLAttributes<T>,
@@ -392,8 +397,10 @@ declare namespace React {
392
397
  }
393
398
 
394
399
  // ReactSVG for ReactSVGElement
395
- export interface ReactSVGElement
396
- extends DOMElement<SVGAttributes<SVGElement>, SVGElement> {
400
+ export interface ReactSVGElement extends DOMElement<
401
+ SVGAttributes<SVGElement>,
402
+ SVGElement
403
+ > {
397
404
  type: keyof ReactSVG;
398
405
  }
399
406
 
@@ -439,8 +446,9 @@ declare namespace React {
439
446
  ...children: ReactNode[]
440
447
  ) => DOMElement<P, T>;
441
448
 
442
- export interface HTMLFactory<T extends HTMLElement>
443
- extends DetailedHTMLFactory<AllHTMLAttributes<T>, T> {}
449
+ export interface HTMLFactory<
450
+ T extends HTMLElement,
451
+ > extends DetailedHTMLFactory<AllHTMLAttributes<T>, T> {}
444
452
 
445
453
  export interface DetailedHTMLFactory<
446
454
  P extends HTMLAttributes<T>,
@@ -452,8 +460,10 @@ declare namespace React {
452
460
  ): DetailedReactHTMLElement<P, T>;
453
461
  }
454
462
 
455
- interface SVGFactory
456
- extends DOMFactory<SVGAttributes<SVGElement>, SVGElement> {
463
+ interface SVGFactory extends DOMFactory<
464
+ SVGAttributes<SVGElement>,
465
+ SVGElement
466
+ > {
457
467
  (
458
468
  props?: (ClassAttributes<SVGElement> & SVGAttributes<SVGElement>) | null,
459
469
  ...children: ReactNode[]
@@ -1018,8 +1028,11 @@ declare namespace React {
1018
1028
  type ReactInstance = Component<any> | Element;
1019
1029
 
1020
1030
  // Base component for plain JS classes
1021
- interface Component<P = {}, S = {}, SS = any>
1022
- extends ComponentLifecycle<P, S, SS> {}
1031
+ interface Component<P = {}, S = {}, SS = any> extends ComponentLifecycle<
1032
+ P,
1033
+ S,
1034
+ SS
1035
+ > {}
1023
1036
  class Component<P, S> {
1024
1037
  /**
1025
1038
  * If set, `this.context` will be set at runtime to the current value of the given Context.
@@ -1341,8 +1354,10 @@ declare namespace React {
1341
1354
  * @template P The props the component accepts.
1342
1355
  * @template S The internal state of the component.
1343
1356
  */
1344
- interface ComponentClass<P = {}, S = ComponentState>
1345
- extends StaticLifecycle<P, S> {
1357
+ interface ComponentClass<P = {}, S = ComponentState> extends StaticLifecycle<
1358
+ P,
1359
+ S
1360
+ > {
1346
1361
  new (
1347
1362
  props: P,
1348
1363
  /**
@@ -1433,8 +1448,7 @@ declare namespace React {
1433
1448
  // as React will _not_ call the deprecated lifecycle methods if any of the new lifecycle
1434
1449
  // methods are present.
1435
1450
  interface ComponentLifecycle<P, S, SS = any>
1436
- extends NewLifecycle<P, S, SS>,
1437
- DeprecatedLifecycle<P, S> {
1451
+ extends NewLifecycle<P, S, SS>, DeprecatedLifecycle<P, S> {
1438
1452
  /**
1439
1453
  * Called immediately after a component is mounted. Setting state here will trigger re-rendering.
1440
1454
  */
@@ -1717,7 +1731,7 @@ declare namespace React {
1717
1731
  // Note: String refs can be forwarded. We can't fix this bug without breaking a bunch of libraries now though.
1718
1732
  // Just "P extends { ref?: infer R }" looks sufficient, but R will infer as {} if P is {}.
1719
1733
  "ref" extends keyof P
1720
- ? P extends { ref?: infer R | undefined }
1734
+ ? P extends { ref?: (infer R) | undefined }
1721
1735
  ? string extends R
1722
1736
  ? PropsWithoutRef<P> & { ref?: Exclude<R, string> | undefined }
1723
1737
  : P
@@ -1890,8 +1904,9 @@ declare namespace React {
1890
1904
  ) => boolean,
1891
1905
  ): MemoExoticComponent<T>;
1892
1906
 
1893
- interface LazyExoticComponent<T extends ComponentType<any>>
1894
- extends ExoticComponent<CustomComponentPropsWithRef<T>> {
1907
+ interface LazyExoticComponent<
1908
+ T extends ComponentType<any>,
1909
+ > extends ExoticComponent<CustomComponentPropsWithRef<T>> {
1895
1910
  readonly _result: T;
1896
1911
  }
1897
1912
 
@@ -2335,16 +2350,23 @@ declare namespace React {
2335
2350
  * This might be a child element to the element on which the event listener is registered.
2336
2351
  * If you thought this should be `EventTarget & T`, see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/11508#issuecomment-256045682
2337
2352
  */
2338
- interface SyntheticEvent<T = Element, E = Event>
2339
- extends BaseSyntheticEvent<E, EventTarget & T, EventTarget> {}
2340
-
2341
- interface ClipboardEvent<T = Element>
2342
- extends SyntheticEvent<T, NativeClipboardEvent> {
2353
+ interface SyntheticEvent<T = Element, E = Event> extends BaseSyntheticEvent<
2354
+ E,
2355
+ EventTarget & T,
2356
+ EventTarget
2357
+ > {}
2358
+
2359
+ interface ClipboardEvent<T = Element> extends SyntheticEvent<
2360
+ T,
2361
+ NativeClipboardEvent
2362
+ > {
2343
2363
  clipboardData: DataTransfer;
2344
2364
  }
2345
2365
 
2346
- interface CompositionEvent<T = Element>
2347
- extends SyntheticEvent<T, NativeCompositionEvent> {
2366
+ interface CompositionEvent<T = Element> extends SyntheticEvent<
2367
+ T,
2368
+ NativeCompositionEvent
2369
+ > {
2348
2370
  data: string;
2349
2371
  }
2350
2372
 
@@ -2352,8 +2374,10 @@ declare namespace React {
2352
2374
  dataTransfer: DataTransfer;
2353
2375
  }
2354
2376
 
2355
- interface PointerEvent<T = Element>
2356
- extends MouseEvent<T, NativePointerEvent> {
2377
+ interface PointerEvent<T = Element> extends MouseEvent<
2378
+ T,
2379
+ NativePointerEvent
2380
+ > {
2357
2381
  pointerId: number;
2358
2382
  pressure: number;
2359
2383
  tangentialPressure: number;
@@ -2366,8 +2390,10 @@ declare namespace React {
2366
2390
  isPrimary: boolean;
2367
2391
  }
2368
2392
 
2369
- interface FocusEvent<Target = Element, RelatedTarget = Element>
2370
- extends SyntheticEvent<Target, NativeFocusEvent> {
2393
+ interface FocusEvent<
2394
+ Target = Element,
2395
+ RelatedTarget = Element,
2396
+ > extends SyntheticEvent<Target, NativeFocusEvent> {
2371
2397
  relatedTarget: (EventTarget & RelatedTarget) | null;
2372
2398
  target: EventTarget & Target;
2373
2399
  }
@@ -2423,8 +2449,10 @@ declare namespace React {
2423
2449
  which: number;
2424
2450
  }
2425
2451
 
2426
- interface MouseEvent<T = Element, E = NativeMouseEvent>
2427
- extends UIEvent<T, E> {
2452
+ interface MouseEvent<T = Element, E = NativeMouseEvent> extends UIEvent<
2453
+ T,
2454
+ E
2455
+ > {
2428
2456
  altKey: boolean;
2429
2457
  button: number;
2430
2458
  buttons: number;
@@ -2460,8 +2488,10 @@ declare namespace React {
2460
2488
  touches: TouchList;
2461
2489
  }
2462
2490
 
2463
- interface UIEvent<T = Element, E = NativeUIEvent>
2464
- extends SyntheticEvent<T, E> {
2491
+ interface UIEvent<T = Element, E = NativeUIEvent> extends SyntheticEvent<
2492
+ T,
2493
+ E
2494
+ > {
2465
2495
  detail: number;
2466
2496
  view: AbstractView;
2467
2497
  }
@@ -2473,15 +2503,19 @@ declare namespace React {
2473
2503
  deltaZ: number;
2474
2504
  }
2475
2505
 
2476
- interface AnimationEvent<T = Element>
2477
- extends SyntheticEvent<T, NativeAnimationEvent> {
2506
+ interface AnimationEvent<T = Element> extends SyntheticEvent<
2507
+ T,
2508
+ NativeAnimationEvent
2509
+ > {
2478
2510
  animationName: string;
2479
2511
  elapsedTime: number;
2480
2512
  pseudoElement: string;
2481
2513
  }
2482
2514
 
2483
- interface TransitionEvent<T = Element>
2484
- extends SyntheticEvent<T, NativeTransitionEvent> {
2515
+ interface TransitionEvent<T = Element> extends SyntheticEvent<
2516
+ T,
2517
+ NativeTransitionEvent
2518
+ > {
2485
2519
  elapsedTime: number;
2486
2520
  propertyName: string;
2487
2521
  pseudoElement: string;
@@ -4621,10 +4655,8 @@ declare namespace React {
4621
4655
  type ElementType = GlobalJSXElementType;
4622
4656
  interface Element extends GlobalJSXElement {}
4623
4657
  interface ElementClass extends GlobalJSXElementClass {}
4624
- interface ElementAttributesProperty
4625
- extends GlobalJSXElementAttributesProperty {}
4626
- interface ElementChildrenAttribute
4627
- extends GlobalJSXElementChildrenAttribute {}
4658
+ interface ElementAttributesProperty extends GlobalJSXElementAttributesProperty {}
4659
+ interface ElementChildrenAttribute extends GlobalJSXElementChildrenAttribute {}
4628
4660
 
4629
4661
  type LibraryManagedAttributes<C, P> = GlobalJSXLibraryManagedAttributes<
4630
4662
  C,
@@ -4632,8 +4664,9 @@ declare namespace React {
4632
4664
  >;
4633
4665
 
4634
4666
  interface IntrinsicAttributes extends GlobalJSXIntrinsicAttributes {}
4635
- interface IntrinsicClassAttributes<T>
4636
- extends GlobalJSXIntrinsicClassAttributes<T> {}
4667
+ interface IntrinsicClassAttributes<
4668
+ T,
4669
+ > extends GlobalJSXIntrinsicClassAttributes<T> {}
4637
4670
  interface IntrinsicElements extends GlobalJSXIntrinsicElements {}
4638
4671
  }
4639
4672
  }
@@ -5204,14 +5237,14 @@ interface IntrinsicElements {
5204
5237
  type GlobalJSXElementType = ElementType;
5205
5238
  interface GlobalJSXElement extends Element {}
5206
5239
  interface GlobalJSXElementClass extends ElementClass {}
5207
- interface GlobalJSXElementAttributesProperty
5208
- extends ElementAttributesProperty {}
5240
+ interface GlobalJSXElementAttributesProperty extends ElementAttributesProperty {}
5209
5241
  interface GlobalJSXElementChildrenAttribute extends ElementChildrenAttribute {}
5210
5242
 
5211
5243
  type GlobalJSXLibraryManagedAttributes<C, P> = LibraryManagedAttributes<C, P>;
5212
5244
 
5213
5245
  interface GlobalJSXIntrinsicAttributes extends IntrinsicAttributes {}
5214
- interface GlobalJSXIntrinsicClassAttributes<T>
5215
- extends IntrinsicClassAttributes<T> {}
5246
+ interface GlobalJSXIntrinsicClassAttributes<
5247
+ T,
5248
+ > extends IntrinsicClassAttributes<T> {}
5216
5249
 
5217
5250
  interface GlobalJSXIntrinsicElements extends IntrinsicElements {}
package/node/index.cjs CHANGED
@@ -25059,7 +25059,7 @@ var builders = {
25059
25059
  var Sentry = __toESM(require("@sentry/node"), 1);
25060
25060
 
25061
25061
  // packages/dev-tools/cli/version.ts
25062
- var builderVersion = true ? "1.28.17-dev.202603031856.393f0415b" : "0.0.0";
25062
+ var builderVersion = true ? "1.28.18-dev.202603041237.ffcaf4abd" : "0.0.0";
25063
25063
  var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
25064
25064
 
25065
25065
  // packages/dev-tools/node/node-sys.ts
package/node/index.mjs CHANGED
@@ -25071,7 +25071,7 @@ var builders = {
25071
25071
  import * as Sentry from "@sentry/node";
25072
25072
 
25073
25073
  // packages/dev-tools/cli/version.ts
25074
- var builderVersion = true ? "1.28.17-dev.202603031856.393f0415b" : "0.0.0";
25074
+ var builderVersion = true ? "1.28.18-dev.202603041237.ffcaf4abd" : "0.0.0";
25075
25075
  var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
25076
25076
 
25077
25077
  // packages/dev-tools/node/node-sys.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/dev-tools",
3
- "version": "1.28.17-dev.202603031856.393f0415b",
3
+ "version": "1.28.18-dev.202603041237.ffcaf4abd",
4
4
  "description": "Builder.io Visual CMS Devtools",
5
5
  "type": "module",
6
6
  "main": "./core/index.cjs",