@estjs/template 0.0.14-beta.9 → 0.0.15-beta.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/types/jsx.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type * as csstype from 'csstype';
2
- import type { EssorNode } from './node';
2
+ import type { estNode } from './node';
3
3
  /**
4
4
  * Based on JSX types for Surplus and Inferno and adapted for `dom-expressions`.
5
5
  *
@@ -9,13 +9,13 @@ import type { EssorNode } from './node';
9
9
  type DOMElement = Element;
10
10
  declare const SERIALIZABLE: unique symbol;
11
11
 
12
- type Component<Props> = (props: Props) => EssorNode;
12
+ type Component<Props> = (props: Props) => estNode;
13
13
  type PropsOf<C> = C extends (props: infer P) => any ? P : never;
14
14
 
15
15
  declare global {
16
16
  export namespace JSX {
17
- export type Element = EssorNode;
18
- export type JSXElement = EssorNode;
17
+ export type Element = estNode;
18
+ export type JSXElement = estNode;
19
19
 
20
20
  type Children =
21
21
  | string
@@ -39,14 +39,12 @@ declare global {
39
39
  interface ElementChildrenAttribute {
40
40
  children: {};
41
41
  }
42
- interface EventHandler<T, E extends Event> {
43
- (
44
- e: E & {
45
- currentTarget: T;
46
- target: DOMElement;
47
- },
48
- ): void;
49
- }
42
+ type EventHandler<T, E extends Event> = (
43
+ e: E & {
44
+ currentTarget: T;
45
+ target: DOMElement;
46
+ },
47
+ ) => void;
50
48
  interface BoundEventHandler<T, E extends Event> {
51
49
  0: (
52
50
  data: any,
@@ -59,16 +57,14 @@ declare global {
59
57
  }
60
58
  type EventHandlerUnion<T, E extends Event> = EventHandler<T, E> | BoundEventHandler<T, E>;
61
59
 
62
- interface InputEventHandler<T, E extends InputEvent> {
63
- (
64
- e: E & {
65
- currentTarget: T;
66
- target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
67
- ? T
68
- : DOMElement;
69
- },
70
- ): void;
71
- }
60
+ type InputEventHandler<T, E extends InputEvent> = (
61
+ e: E & {
62
+ currentTarget: T;
63
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
64
+ ? T
65
+ : DOMElement;
66
+ },
67
+ ) => void;
72
68
  interface BoundInputEventHandler<T, E extends InputEvent> {
73
69
  0: (
74
70
  data: any,
@@ -85,16 +81,14 @@ declare global {
85
81
  | InputEventHandler<T, E>
86
82
  | BoundInputEventHandler<T, E>;
87
83
 
88
- interface ChangeEventHandler<T, E extends Event> {
89
- (
90
- e: E & {
91
- currentTarget: T;
92
- target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
93
- ? T
94
- : DOMElement;
95
- },
96
- ): void;
97
- }
84
+ type ChangeEventHandler<T, E extends Event> = (
85
+ e: E & {
86
+ currentTarget: T;
87
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
88
+ ? T
89
+ : DOMElement;
90
+ },
91
+ ) => void;
98
92
  interface BoundChangeEventHandler<T, E extends Event> {
99
93
  0: (
100
94
  data: any,
@@ -111,16 +105,14 @@ declare global {
111
105
  | ChangeEventHandler<T, E>
112
106
  | BoundChangeEventHandler<T, E>;
113
107
 
114
- interface FocusEventHandler<T, E extends FocusEvent> {
115
- (
116
- e: E & {
117
- currentTarget: T;
118
- target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
119
- ? T
120
- : DOMElement;
121
- },
122
- ): void;
123
- }
108
+ type FocusEventHandler<T, E extends FocusEvent> = (
109
+ e: E & {
110
+ currentTarget: T;
111
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
112
+ ? T
113
+ : DOMElement;
114
+ },
115
+ ) => void;
124
116
  interface BoundFocusEventHandler<T, E extends FocusEvent> {
125
117
  0: (
126
118
  data: any,
@@ -149,10 +141,10 @@ declare global {
149
141
  ref?: Signal<T> | ((el: T) => void);
150
142
  key?: string | number | symbol;
151
143
  }
152
- type Accessor<T> = () => T;
144
+ type Accest<T> = () => T;
153
145
  interface Directives {}
154
146
  interface DirectiveFunctions {
155
- [x: string]: (el: DOMElement, accessor: Accessor<any>) => void;
147
+ [x: string]: (el: DOMElement, accest: Accest<any>) => void;
156
148
  }
157
149
  interface ExplicitProperties<T> {
158
150
  value: Signal<T>;
@@ -172,7 +164,8 @@ declare global {
172
164
  [Key in keyof ExplicitProperties]?: ExplicitProperties<T>[Key];
173
165
  };
174
166
  interface DOMAttributes<T>
175
- extends CustomAttributes<T>,
167
+ extends
168
+ CustomAttributes<T>,
176
169
  PropAttributes<T>,
177
170
  OnCaptureAttributes<T>,
178
171
  CustomEventHandlersCamelCase<T>,
@@ -406,7 +399,7 @@ declare global {
406
399
  | 'allow-orientation-lock'
407
400
  | 'allow-pointer-lock'
408
401
  | 'allow-popups'
409
- | 'allow-popups-to-escape-sandbox'
402
+ | 'allow-popups-to-escapeHTML-sandbox'
410
403
  | 'allow-presentation'
411
404
  | 'allow-same-origin'
412
405
  | 'allow-scripts'
@@ -539,7 +532,7 @@ declare global {
539
532
  'aria-labelledby'?: string;
540
533
  /** Defines the hierarchical level of an element within a structure. */
541
534
  'aria-level'?: number | string;
542
- /** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
535
+ /** Indicates that an element will be update, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
543
536
  'aria-live'?: 'off' | 'assertive' | 'polite';
544
537
  /** Indicates whether an element is modal when displayed. */
545
538
  'aria-modal'?: boolean | 'false' | 'true';
@@ -1208,7 +1201,7 @@ declare global {
1208
1201
  | 'defer xMidYMax slice'
1209
1202
  | 'defer xMaxYMax slice';
1210
1203
  type SVGUnits = 'userSpaceOnUse' | 'objectBoundingBox';
1211
- interface CoreSVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
1204
+ interface estSVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
1212
1205
  id?: string;
1213
1206
  lang?: string;
1214
1207
  tabIndex?: number | string;
@@ -1366,11 +1359,13 @@ declare global {
1366
1359
  'writing-mode'?: 'lr-tb' | 'rl-tb' | 'tb-rl' | 'lr' | 'rl' | 'tb' | 'inherit';
1367
1360
  }
1368
1361
  interface AnimationElementSVGAttributes<T>
1369
- extends CoreSVGAttributes<T>,
1362
+ extends
1363
+ estSVGAttributes<T>,
1370
1364
  ExternalResourceSVGAttributes,
1371
1365
  ConditionalProcessingSVGAttributes {}
1372
1366
  interface ContainerElementSVGAttributes<T>
1373
- extends CoreSVGAttributes<T>,
1367
+ extends
1368
+ estSVGAttributes<T>,
1374
1369
  ShapeElementSVGAttributes<T>,
1375
1370
  Pick<
1376
1371
  PresentationSVGAttributes,
@@ -1384,8 +1379,7 @@ declare global {
1384
1379
  | 'color-rendering'
1385
1380
  > {}
1386
1381
  interface FilterPrimitiveElementSVGAttributes<T>
1387
- extends CoreSVGAttributes<T>,
1388
- Pick<PresentationSVGAttributes, 'color-interpolation-filters'> {
1382
+ extends estSVGAttributes<T>, Pick<PresentationSVGAttributes, 'color-interpolation-filters'> {
1389
1383
  x?: number | string;
1390
1384
  y?: number | string;
1391
1385
  width?: number | string;
@@ -1404,16 +1398,15 @@ declare global {
1404
1398
  preserveAspectRatio?: SVGPreserveAspectRatio;
1405
1399
  }
1406
1400
  interface GradientElementSVGAttributes<T>
1407
- extends CoreSVGAttributes<T>,
1408
- ExternalResourceSVGAttributes,
1409
- StylableSVGAttributes {
1401
+ extends estSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
1410
1402
  gradientUnits?: SVGUnits;
1411
1403
  gradientTransform?: string;
1412
1404
  spreadMethod?: 'pad' | 'reflect' | 'repeat';
1413
1405
  href?: string;
1414
1406
  }
1415
1407
  interface GraphicsElementSVGAttributes<T>
1416
- extends CoreSVGAttributes<T>,
1408
+ extends
1409
+ estSVGAttributes<T>,
1417
1410
  Pick<
1418
1411
  PresentationSVGAttributes,
1419
1412
  | 'clip-rule'
@@ -1427,14 +1420,14 @@ declare global {
1427
1420
  | 'color-interpolation'
1428
1421
  | 'color-rendering'
1429
1422
  > {}
1430
- interface LightSourceElementSVGAttributes<T> extends CoreSVGAttributes<T> {}
1423
+ interface LightSourceElementSVGAttributes<T> extends estSVGAttributes<T> {}
1431
1424
  interface NewViewportSVGAttributes<T>
1432
- extends CoreSVGAttributes<T>,
1433
- Pick<PresentationSVGAttributes, 'overflow' | 'clip'> {
1425
+ extends estSVGAttributes<T>, Pick<PresentationSVGAttributes, 'overflow' | 'clip'> {
1434
1426
  viewBox?: string;
1435
1427
  }
1436
1428
  interface ShapeElementSVGAttributes<T>
1437
- extends CoreSVGAttributes<T>,
1429
+ extends
1430
+ estSVGAttributes<T>,
1438
1431
  Pick<
1439
1432
  PresentationSVGAttributes,
1440
1433
  | 'color'
@@ -1453,7 +1446,8 @@ declare global {
1453
1446
  | 'pathLength'
1454
1447
  > {}
1455
1448
  interface TextContentElementSVGAttributes<T>
1456
- extends CoreSVGAttributes<T>,
1449
+ extends
1450
+ estSVGAttributes<T>,
1457
1451
  Pick<
1458
1452
  PresentationSVGAttributes,
1459
1453
  | 'font-family'
@@ -1490,14 +1484,16 @@ declare global {
1490
1484
  zoomAndPan?: 'disable' | 'magnify';
1491
1485
  }
1492
1486
  interface AnimateSVGAttributes<T>
1493
- extends AnimationElementSVGAttributes<T>,
1487
+ extends
1488
+ AnimationElementSVGAttributes<T>,
1494
1489
  AnimationAttributeTargetSVGAttributes,
1495
1490
  AnimationTimingSVGAttributes,
1496
1491
  AnimationValueSVGAttributes,
1497
1492
  AnimationAdditionSVGAttributes,
1498
1493
  Pick<PresentationSVGAttributes, 'color-interpolation' | 'color-rendering'> {}
1499
1494
  interface AnimateMotionSVGAttributes<T>
1500
- extends AnimationElementSVGAttributes<T>,
1495
+ extends
1496
+ AnimationElementSVGAttributes<T>,
1501
1497
  AnimationTimingSVGAttributes,
1502
1498
  AnimationValueSVGAttributes,
1503
1499
  AnimationAdditionSVGAttributes {
@@ -1507,7 +1503,8 @@ declare global {
1507
1503
  origin?: 'default';
1508
1504
  }
1509
1505
  interface AnimateTransformSVGAttributes<T>
1510
- extends AnimationElementSVGAttributes<T>,
1506
+ extends
1507
+ AnimationElementSVGAttributes<T>,
1511
1508
  AnimationAttributeTargetSVGAttributes,
1512
1509
  AnimationTimingSVGAttributes,
1513
1510
  AnimationValueSVGAttributes,
@@ -1515,7 +1512,8 @@ declare global {
1515
1512
  type?: 'translate' | 'scale' | 'rotate' | 'skewX' | 'skewY';
1516
1513
  }
1517
1514
  interface CircleSVGAttributes<T>
1518
- extends GraphicsElementSVGAttributes<T>,
1515
+ extends
1516
+ GraphicsElementSVGAttributes<T>,
1519
1517
  ShapeElementSVGAttributes<T>,
1520
1518
  ConditionalProcessingSVGAttributes,
1521
1519
  StylableSVGAttributes,
@@ -1525,7 +1523,8 @@ declare global {
1525
1523
  r?: number | string;
1526
1524
  }
1527
1525
  interface ClipPathSVGAttributes<T>
1528
- extends CoreSVGAttributes<T>,
1526
+ extends
1527
+ estSVGAttributes<T>,
1529
1528
  ConditionalProcessingSVGAttributes,
1530
1529
  ExternalResourceSVGAttributes,
1531
1530
  StylableSVGAttributes,
@@ -1534,14 +1533,16 @@ declare global {
1534
1533
  clipPathUnits?: SVGUnits;
1535
1534
  }
1536
1535
  interface DefsSVGAttributes<T>
1537
- extends ContainerElementSVGAttributes<T>,
1536
+ extends
1537
+ ContainerElementSVGAttributes<T>,
1538
1538
  ConditionalProcessingSVGAttributes,
1539
1539
  ExternalResourceSVGAttributes,
1540
1540
  StylableSVGAttributes,
1541
1541
  TransformableSVGAttributes {}
1542
- interface DescSVGAttributes<T> extends CoreSVGAttributes<T>, StylableSVGAttributes {}
1542
+ interface DescSVGAttributes<T> extends estSVGAttributes<T>, StylableSVGAttributes {}
1543
1543
  interface EllipseSVGAttributes<T>
1544
- extends GraphicsElementSVGAttributes<T>,
1544
+ extends
1545
+ GraphicsElementSVGAttributes<T>,
1545
1546
  ShapeElementSVGAttributes<T>,
1546
1547
  ConditionalProcessingSVGAttributes,
1547
1548
  ExternalResourceSVGAttributes,
@@ -1553,24 +1554,28 @@ declare global {
1553
1554
  ry?: number | string;
1554
1555
  }
1555
1556
  interface FeBlendSVGAttributes<T>
1556
- extends FilterPrimitiveElementSVGAttributes<T>,
1557
+ extends
1558
+ FilterPrimitiveElementSVGAttributes<T>,
1557
1559
  DoubleInputFilterSVGAttributes,
1558
1560
  StylableSVGAttributes {
1559
1561
  mode?: 'normal' | 'multiply' | 'screen' | 'darken' | 'lighten';
1560
1562
  }
1561
1563
  interface FeColorMatrixSVGAttributes<T>
1562
- extends FilterPrimitiveElementSVGAttributes<T>,
1564
+ extends
1565
+ FilterPrimitiveElementSVGAttributes<T>,
1563
1566
  SingleInputFilterSVGAttributes,
1564
1567
  StylableSVGAttributes {
1565
1568
  type?: 'matrix' | 'saturate' | 'hueRotate' | 'luminanceToAlpha';
1566
1569
  values?: string;
1567
1570
  }
1568
1571
  interface FeComponentTransferSVGAttributes<T>
1569
- extends FilterPrimitiveElementSVGAttributes<T>,
1572
+ extends
1573
+ FilterPrimitiveElementSVGAttributes<T>,
1570
1574
  SingleInputFilterSVGAttributes,
1571
1575
  StylableSVGAttributes {}
1572
1576
  interface FeCompositeSVGAttributes<T>
1573
- extends FilterPrimitiveElementSVGAttributes<T>,
1577
+ extends
1578
+ FilterPrimitiveElementSVGAttributes<T>,
1574
1579
  DoubleInputFilterSVGAttributes,
1575
1580
  StylableSVGAttributes {
1576
1581
  operator?: 'over' | 'in' | 'out' | 'atop' | 'xor' | 'arithmetic';
@@ -1580,7 +1585,8 @@ declare global {
1580
1585
  k4?: number | string;
1581
1586
  }
1582
1587
  interface FeConvolveMatrixSVGAttributes<T>
1583
- extends FilterPrimitiveElementSVGAttributes<T>,
1588
+ extends
1589
+ FilterPrimitiveElementSVGAttributes<T>,
1584
1590
  SingleInputFilterSVGAttributes,
1585
1591
  StylableSVGAttributes {
1586
1592
  order?: number | string;
@@ -1594,7 +1600,8 @@ declare global {
1594
1600
  preserveAlpha?: 'true' | 'false';
1595
1601
  }
1596
1602
  interface FeDiffuseLightingSVGAttributes<T>
1597
- extends FilterPrimitiveElementSVGAttributes<T>,
1603
+ extends
1604
+ FilterPrimitiveElementSVGAttributes<T>,
1598
1605
  SingleInputFilterSVGAttributes,
1599
1606
  StylableSVGAttributes,
1600
1607
  Pick<PresentationSVGAttributes, 'color' | 'lighting-color'> {
@@ -1603,7 +1610,8 @@ declare global {
1603
1610
  kernelUnitLength?: number | string;
1604
1611
  }
1605
1612
  interface FeDisplacementMapSVGAttributes<T>
1606
- extends FilterPrimitiveElementSVGAttributes<T>,
1613
+ extends
1614
+ FilterPrimitiveElementSVGAttributes<T>,
1607
1615
  DoubleInputFilterSVGAttributes,
1608
1616
  StylableSVGAttributes {
1609
1617
  scale?: number | string;
@@ -1615,7 +1623,8 @@ declare global {
1615
1623
  elevation?: number | string;
1616
1624
  }
1617
1625
  interface FeDropShadowSVGAttributes<T>
1618
- extends CoreSVGAttributes<T>,
1626
+ extends
1627
+ estSVGAttributes<T>,
1619
1628
  FilterPrimitiveElementSVGAttributes<T>,
1620
1629
  StylableSVGAttributes,
1621
1630
  Pick<PresentationSVGAttributes, 'color' | 'flood-color' | 'flood-opacity'> {
@@ -1624,10 +1633,11 @@ declare global {
1624
1633
  stdDeviation?: number | string;
1625
1634
  }
1626
1635
  interface FeFloodSVGAttributes<T>
1627
- extends FilterPrimitiveElementSVGAttributes<T>,
1636
+ extends
1637
+ FilterPrimitiveElementSVGAttributes<T>,
1628
1638
  StylableSVGAttributes,
1629
1639
  Pick<PresentationSVGAttributes, 'color' | 'flood-color' | 'flood-opacity'> {}
1630
- interface FeFuncSVGAttributes<T> extends CoreSVGAttributes<T> {
1640
+ interface FeFuncSVGAttributes<T> extends estSVGAttributes<T> {
1631
1641
  type?: 'identity' | 'table' | 'discrete' | 'linear' | 'gamma';
1632
1642
  tableValues?: string;
1633
1643
  slope?: number | string;
@@ -1637,33 +1647,35 @@ declare global {
1637
1647
  offset?: number | string;
1638
1648
  }
1639
1649
  interface FeGaussianBlurSVGAttributes<T>
1640
- extends FilterPrimitiveElementSVGAttributes<T>,
1650
+ extends
1651
+ FilterPrimitiveElementSVGAttributes<T>,
1641
1652
  SingleInputFilterSVGAttributes,
1642
1653
  StylableSVGAttributes {
1643
1654
  stdDeviation?: number | string;
1644
1655
  }
1645
1656
  interface FeImageSVGAttributes<T>
1646
- extends FilterPrimitiveElementSVGAttributes<T>,
1657
+ extends
1658
+ FilterPrimitiveElementSVGAttributes<T>,
1647
1659
  ExternalResourceSVGAttributes,
1648
1660
  StylableSVGAttributes {
1649
1661
  preserveAspectRatio?: SVGPreserveAspectRatio;
1650
1662
  href?: string;
1651
1663
  }
1652
1664
  interface FeMergeSVGAttributes<T>
1653
- extends FilterPrimitiveElementSVGAttributes<T>,
1654
- StylableSVGAttributes {}
1665
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
1655
1666
  interface FeMergeNodeSVGAttributes<T>
1656
- extends CoreSVGAttributes<T>,
1657
- SingleInputFilterSVGAttributes {}
1667
+ extends estSVGAttributes<T>, SingleInputFilterSVGAttributes {}
1658
1668
  interface FeMorphologySVGAttributes<T>
1659
- extends FilterPrimitiveElementSVGAttributes<T>,
1669
+ extends
1670
+ FilterPrimitiveElementSVGAttributes<T>,
1660
1671
  SingleInputFilterSVGAttributes,
1661
1672
  StylableSVGAttributes {
1662
1673
  operator?: 'erode' | 'dilate';
1663
1674
  radius?: number | string;
1664
1675
  }
1665
1676
  interface FeOffsetSVGAttributes<T>
1666
- extends FilterPrimitiveElementSVGAttributes<T>,
1677
+ extends
1678
+ FilterPrimitiveElementSVGAttributes<T>,
1667
1679
  SingleInputFilterSVGAttributes,
1668
1680
  StylableSVGAttributes {
1669
1681
  dx?: number | string;
@@ -1675,7 +1687,8 @@ declare global {
1675
1687
  z?: number | string;
1676
1688
  }
1677
1689
  interface FeSpecularLightingSVGAttributes<T>
1678
- extends FilterPrimitiveElementSVGAttributes<T>,
1690
+ extends
1691
+ FilterPrimitiveElementSVGAttributes<T>,
1679
1692
  SingleInputFilterSVGAttributes,
1680
1693
  StylableSVGAttributes,
1681
1694
  Pick<PresentationSVGAttributes, 'color' | 'lighting-color'> {
@@ -1695,12 +1708,12 @@ declare global {
1695
1708
  limitingConeAngle?: number | string;
1696
1709
  }
1697
1710
  interface FeTileSVGAttributes<T>
1698
- extends FilterPrimitiveElementSVGAttributes<T>,
1711
+ extends
1712
+ FilterPrimitiveElementSVGAttributes<T>,
1699
1713
  SingleInputFilterSVGAttributes,
1700
1714
  StylableSVGAttributes {}
1701
1715
  interface FeTurbulanceSVGAttributes<T>
1702
- extends FilterPrimitiveElementSVGAttributes<T>,
1703
- StylableSVGAttributes {
1716
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
1704
1717
  baseFrequency?: number | string;
1705
1718
  numOctaves?: number | string;
1706
1719
  seed?: number | string;
@@ -1708,9 +1721,7 @@ declare global {
1708
1721
  type?: 'fractalNoise' | 'turbulence';
1709
1722
  }
1710
1723
  interface FilterSVGAttributes<T>
1711
- extends CoreSVGAttributes<T>,
1712
- ExternalResourceSVGAttributes,
1713
- StylableSVGAttributes {
1724
+ extends estSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
1714
1725
  filterUnits?: SVGUnits;
1715
1726
  primitiveUnits?: SVGUnits;
1716
1727
  x?: number | string;
@@ -1720,7 +1731,8 @@ declare global {
1720
1731
  filterRes?: number | string;
1721
1732
  }
1722
1733
  interface ForeignObjectSVGAttributes<T>
1723
- extends NewViewportSVGAttributes<T>,
1734
+ extends
1735
+ NewViewportSVGAttributes<T>,
1724
1736
  ConditionalProcessingSVGAttributes,
1725
1737
  ExternalResourceSVGAttributes,
1726
1738
  StylableSVGAttributes,
@@ -1732,14 +1744,16 @@ declare global {
1732
1744
  height?: number | string;
1733
1745
  }
1734
1746
  interface GSVGAttributes<T>
1735
- extends ContainerElementSVGAttributes<T>,
1747
+ extends
1748
+ ContainerElementSVGAttributes<T>,
1736
1749
  ConditionalProcessingSVGAttributes,
1737
1750
  ExternalResourceSVGAttributes,
1738
1751
  StylableSVGAttributes,
1739
1752
  TransformableSVGAttributes,
1740
1753
  Pick<PresentationSVGAttributes, 'display' | 'visibility'> {}
1741
1754
  interface ImageSVGAttributes<T>
1742
- extends NewViewportSVGAttributes<T>,
1755
+ extends
1756
+ NewViewportSVGAttributes<T>,
1743
1757
  GraphicsElementSVGAttributes<T>,
1744
1758
  ConditionalProcessingSVGAttributes,
1745
1759
  StylableSVGAttributes,
@@ -1753,7 +1767,8 @@ declare global {
1753
1767
  href?: string;
1754
1768
  }
1755
1769
  interface LineSVGAttributes<T>
1756
- extends GraphicsElementSVGAttributes<T>,
1770
+ extends
1771
+ GraphicsElementSVGAttributes<T>,
1757
1772
  ShapeElementSVGAttributes<T>,
1758
1773
  ConditionalProcessingSVGAttributes,
1759
1774
  ExternalResourceSVGAttributes,
@@ -1772,7 +1787,8 @@ declare global {
1772
1787
  y2?: number | string;
1773
1788
  }
1774
1789
  interface MarkerSVGAttributes<T>
1775
- extends ContainerElementSVGAttributes<T>,
1790
+ extends
1791
+ ContainerElementSVGAttributes<T>,
1776
1792
  ExternalResourceSVGAttributes,
1777
1793
  StylableSVGAttributes,
1778
1794
  FitToViewBoxSVGAttributes,
@@ -1785,7 +1801,8 @@ declare global {
1785
1801
  orient?: string;
1786
1802
  }
1787
1803
  interface MaskSVGAttributes<T>
1788
- extends Omit<ContainerElementSVGAttributes<T>, 'opacity' | 'filter'>,
1804
+ extends
1805
+ Omit<ContainerElementSVGAttributes<T>, 'opacity' | 'filter'>,
1789
1806
  ConditionalProcessingSVGAttributes,
1790
1807
  ExternalResourceSVGAttributes,
1791
1808
  StylableSVGAttributes {
@@ -1796,10 +1813,11 @@ declare global {
1796
1813
  width?: number | string;
1797
1814
  height?: number | string;
1798
1815
  }
1799
- interface MetadataSVGAttributes<T> extends CoreSVGAttributes<T> {}
1800
- interface MPathSVGAttributes<T> extends CoreSVGAttributes<T> {}
1816
+ interface MetadataSVGAttributes<T> extends estSVGAttributes<T> {}
1817
+ interface MPathSVGAttributes<T> extends estSVGAttributes<T> {}
1801
1818
  interface PathSVGAttributes<T>
1802
- extends GraphicsElementSVGAttributes<T>,
1819
+ extends
1820
+ GraphicsElementSVGAttributes<T>,
1803
1821
  ShapeElementSVGAttributes<T>,
1804
1822
  ConditionalProcessingSVGAttributes,
1805
1823
  ExternalResourceSVGAttributes,
@@ -1810,7 +1828,8 @@ declare global {
1810
1828
  pathLength?: number | string;
1811
1829
  }
1812
1830
  interface PatternSVGAttributes<T>
1813
- extends ContainerElementSVGAttributes<T>,
1831
+ extends
1832
+ ContainerElementSVGAttributes<T>,
1814
1833
  ConditionalProcessingSVGAttributes,
1815
1834
  ExternalResourceSVGAttributes,
1816
1835
  StylableSVGAttributes,
@@ -1826,7 +1845,8 @@ declare global {
1826
1845
  href?: string;
1827
1846
  }
1828
1847
  interface PolygonSVGAttributes<T>
1829
- extends GraphicsElementSVGAttributes<T>,
1848
+ extends
1849
+ GraphicsElementSVGAttributes<T>,
1830
1850
  ShapeElementSVGAttributes<T>,
1831
1851
  ConditionalProcessingSVGAttributes,
1832
1852
  ExternalResourceSVGAttributes,
@@ -1836,7 +1856,8 @@ declare global {
1836
1856
  points?: string;
1837
1857
  }
1838
1858
  interface PolylineSVGAttributes<T>
1839
- extends GraphicsElementSVGAttributes<T>,
1859
+ extends
1860
+ GraphicsElementSVGAttributes<T>,
1840
1861
  ShapeElementSVGAttributes<T>,
1841
1862
  ConditionalProcessingSVGAttributes,
1842
1863
  ExternalResourceSVGAttributes,
@@ -1853,7 +1874,8 @@ declare global {
1853
1874
  fy?: number | string;
1854
1875
  }
1855
1876
  interface RectSVGAttributes<T>
1856
- extends GraphicsElementSVGAttributes<T>,
1877
+ extends
1878
+ GraphicsElementSVGAttributes<T>,
1857
1879
  ShapeElementSVGAttributes<T>,
1858
1880
  ConditionalProcessingSVGAttributes,
1859
1881
  ExternalResourceSVGAttributes,
@@ -1867,17 +1889,17 @@ declare global {
1867
1889
  ry?: number | string;
1868
1890
  }
1869
1891
  interface SetSVGAttributes<T>
1870
- extends CoreSVGAttributes<T>,
1871
- StylableSVGAttributes,
1872
- AnimationTimingSVGAttributes {}
1892
+ extends estSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
1873
1893
  interface StopSVGAttributes<T>
1874
- extends CoreSVGAttributes<T>,
1894
+ extends
1895
+ estSVGAttributes<T>,
1875
1896
  StylableSVGAttributes,
1876
1897
  Pick<PresentationSVGAttributes, 'color' | 'stop-color' | 'stop-opacity'> {
1877
1898
  offset?: number | string;
1878
1899
  }
1879
1900
  interface SvgSVGAttributes<T>
1880
- extends ContainerElementSVGAttributes<T>,
1901
+ extends
1902
+ ContainerElementSVGAttributes<T>,
1881
1903
  NewViewportSVGAttributes<T>,
1882
1904
  ConditionalProcessingSVGAttributes,
1883
1905
  ExternalResourceSVGAttributes,
@@ -1896,14 +1918,16 @@ declare global {
1896
1918
  xmlns?: string;
1897
1919
  }
1898
1920
  interface SwitchSVGAttributes<T>
1899
- extends ContainerElementSVGAttributes<T>,
1921
+ extends
1922
+ ContainerElementSVGAttributes<T>,
1900
1923
  ConditionalProcessingSVGAttributes,
1901
1924
  ExternalResourceSVGAttributes,
1902
1925
  StylableSVGAttributes,
1903
1926
  TransformableSVGAttributes,
1904
1927
  Pick<PresentationSVGAttributes, 'display' | 'visibility'> {}
1905
1928
  interface SymbolSVGAttributes<T>
1906
- extends ContainerElementSVGAttributes<T>,
1929
+ extends
1930
+ ContainerElementSVGAttributes<T>,
1907
1931
  NewViewportSVGAttributes<T>,
1908
1932
  ExternalResourceSVGAttributes,
1909
1933
  StylableSVGAttributes,
@@ -1918,7 +1942,8 @@ declare global {
1918
1942
  y?: number | string;
1919
1943
  }
1920
1944
  interface TextSVGAttributes<T>
1921
- extends TextContentElementSVGAttributes<T>,
1945
+ extends
1946
+ TextContentElementSVGAttributes<T>,
1922
1947
  GraphicsElementSVGAttributes<T>,
1923
1948
  ConditionalProcessingSVGAttributes,
1924
1949
  ExternalResourceSVGAttributes,
@@ -1934,7 +1959,8 @@ declare global {
1934
1959
  lengthAdjust?: 'spacing' | 'spacingAndGlyphs';
1935
1960
  }
1936
1961
  interface TextPathSVGAttributes<T>
1937
- extends TextContentElementSVGAttributes<T>,
1962
+ extends
1963
+ TextContentElementSVGAttributes<T>,
1938
1964
  ConditionalProcessingSVGAttributes,
1939
1965
  ExternalResourceSVGAttributes,
1940
1966
  StylableSVGAttributes,
@@ -1948,7 +1974,8 @@ declare global {
1948
1974
  href?: string;
1949
1975
  }
1950
1976
  interface TSpanSVGAttributes<T>
1951
- extends TextContentElementSVGAttributes<T>,
1977
+ extends
1978
+ TextContentElementSVGAttributes<T>,
1952
1979
  ConditionalProcessingSVGAttributes,
1953
1980
  ExternalResourceSVGAttributes,
1954
1981
  StylableSVGAttributes,
@@ -1965,7 +1992,8 @@ declare global {
1965
1992
  lengthAdjust?: 'spacing' | 'spacingAndGlyphs';
1966
1993
  }
1967
1994
  interface UseSVGAttributes<T>
1968
- extends GraphicsElementSVGAttributes<T>,
1995
+ extends
1996
+ GraphicsElementSVGAttributes<T>,
1969
1997
  ConditionalProcessingSVGAttributes,
1970
1998
  ExternalResourceSVGAttributes,
1971
1999
  StylableSVGAttributes,
@@ -1977,7 +2005,8 @@ declare global {
1977
2005
  href?: string;
1978
2006
  }
1979
2007
  interface ViewSVGAttributes<T>
1980
- extends CoreSVGAttributes<T>,
2008
+ extends
2009
+ estSVGAttributes<T>,
1981
2010
  ExternalResourceSVGAttributes,
1982
2011
  FitToViewBoxSVGAttributes,
1983
2012
  ZoomAndPanSVGAttributes {
@@ -2175,8 +2204,6 @@ declare global {
2175
2204
  view: ViewSVGAttributes<SVGViewElement>;
2176
2205
  }
2177
2206
  interface IntrinsicElements
2178
- extends HTMLElementTags,
2179
- HTMLElementDeprecatedTags,
2180
- SVGElementTags {}
2207
+ extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags {}
2181
2208
  }
2182
2209
  }