nuclo 0.1.58 → 0.1.60
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/core/conditionalRenderer.d.ts +2 -1
- package/dist/core/conditionalRenderer.d.ts.map +1 -1
- package/dist/core/conditionalUpdater.d.ts.map +1 -1
- package/dist/core/elementFactory.d.ts +8 -2
- package/dist/core/elementFactory.d.ts.map +1 -1
- package/dist/core/runtimeBootstrap.d.ts.map +1 -1
- package/dist/core/tagConstants.d.ts +0 -1
- package/dist/core/tagConstants.d.ts.map +1 -1
- package/dist/core/tagRegistry.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/internal/applyModifiers.d.ts +6 -3
- package/dist/internal/applyModifiers.d.ts.map +1 -1
- package/dist/nuclo.cjs +1 -1
- package/dist/nuclo.cjs.map +1 -1
- package/dist/nuclo.js +1 -1
- package/dist/nuclo.js.map +1 -1
- package/dist/nuclo.umd.js +1 -1
- package/dist/nuclo.umd.js.map +1 -1
- package/dist/utility/conditionalInfo.d.ts +1 -0
- package/dist/utility/conditionalInfo.d.ts.map +1 -1
- package/package.json +1 -1
- package/types/svg/tags.d.ts +65 -65
|
@@ -2,6 +2,7 @@ export interface ConditionalInfo<TTagName extends ElementTagName = ElementTagNam
|
|
|
2
2
|
condition: () => boolean;
|
|
3
3
|
tagName: TTagName;
|
|
4
4
|
modifiers: Array<NodeMod<TTagName> | NodeModFn<TTagName>>;
|
|
5
|
+
isSvg: boolean;
|
|
5
6
|
}
|
|
6
7
|
/**
|
|
7
8
|
* Attach conditional info to a node and register it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionalInfo.d.ts","sourceRoot":"","sources":["../../src/utility/conditionalInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe,CAAC,QAAQ,SAAS,cAAc,GAAG,cAAc;IAC/E,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"conditionalInfo.d.ts","sourceRoot":"","sources":["../../src/utility/conditionalInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe,CAAC,QAAQ,SAAS,cAAc,GAAG,cAAc;IAC/E,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1D,KAAK,EAAE,OAAO,CAAC;CAChB;AAYD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,SAAS,cAAc,EAClE,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,eAAe,CAAC,QAAQ,CAAC,GAC9B,IAAI,CAGN;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAE1D;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,WAAW,CAAC,IAAI,CAAC,CAE7D;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAEtD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,eAAe,CAAC,MAAM,qBAAqB,CAAC,GAAG,IAAI,CAElG"}
|
package/package.json
CHANGED
package/types/svg/tags.d.ts
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
declare global {
|
|
2
|
-
// SVG tags
|
|
3
|
-
export const
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
59
|
-
export const
|
|
60
|
-
export const
|
|
61
|
-
export const
|
|
62
|
-
export const
|
|
63
|
-
export const
|
|
64
|
-
export const
|
|
65
|
-
export const
|
|
2
|
+
// SVG tags - all use Svg suffix
|
|
3
|
+
export const aSvg: ExpandedSVGElementBuilder<"a">;
|
|
4
|
+
export const animateSvg: ExpandedSVGElementBuilder<"animate">;
|
|
5
|
+
export const animateMotionSvg: ExpandedSVGElementBuilder<"animateMotion">;
|
|
6
|
+
export const animateTransformSvg: ExpandedSVGElementBuilder<"animateTransform">;
|
|
7
|
+
export const circleSvg: ExpandedSVGElementBuilder<"circle">;
|
|
8
|
+
export const clipPathSvg: ExpandedSVGElementBuilder<"clipPath">;
|
|
9
|
+
export const defsSvg: ExpandedSVGElementBuilder<"defs">;
|
|
10
|
+
export const descSvg: ExpandedSVGElementBuilder<"desc">;
|
|
11
|
+
export const ellipseSvg: ExpandedSVGElementBuilder<"ellipse">;
|
|
12
|
+
export const feBlendSvg: ExpandedSVGElementBuilder<"feBlend">;
|
|
13
|
+
export const feColorMatrixSvg: ExpandedSVGElementBuilder<"feColorMatrix">;
|
|
14
|
+
export const feComponentTransferSvg: ExpandedSVGElementBuilder<"feComponentTransfer">;
|
|
15
|
+
export const feCompositeSvg: ExpandedSVGElementBuilder<"feComposite">;
|
|
16
|
+
export const feConvolveMatrixSvg: ExpandedSVGElementBuilder<"feConvolveMatrix">;
|
|
17
|
+
export const feDiffuseLightingSvg: ExpandedSVGElementBuilder<"feDiffuseLighting">;
|
|
18
|
+
export const feDisplacementMapSvg: ExpandedSVGElementBuilder<"feDisplacementMap">;
|
|
19
|
+
export const feDistantLightSvg: ExpandedSVGElementBuilder<"feDistantLight">;
|
|
20
|
+
export const feDropShadowSvg: ExpandedSVGElementBuilder<"feDropShadow">;
|
|
21
|
+
export const feFloodSvg: ExpandedSVGElementBuilder<"feFlood">;
|
|
22
|
+
export const feFuncASvg: ExpandedSVGElementBuilder<"feFuncA">;
|
|
23
|
+
export const feFuncBSvg: ExpandedSVGElementBuilder<"feFuncB">;
|
|
24
|
+
export const feFuncGSvg: ExpandedSVGElementBuilder<"feFuncG">;
|
|
25
|
+
export const feFuncRSvg: ExpandedSVGElementBuilder<"feFuncR">;
|
|
26
|
+
export const feGaussianBlurSvg: ExpandedSVGElementBuilder<"feGaussianBlur">;
|
|
27
|
+
export const feImageSvg: ExpandedSVGElementBuilder<"feImage">;
|
|
28
|
+
export const feMergeSvg: ExpandedSVGElementBuilder<"feMerge">;
|
|
29
|
+
export const feMergeNodeSvg: ExpandedSVGElementBuilder<"feMergeNode">;
|
|
30
|
+
export const feMorphologySvg: ExpandedSVGElementBuilder<"feMorphology">;
|
|
31
|
+
export const feOffsetSvg: ExpandedSVGElementBuilder<"feOffset">;
|
|
32
|
+
export const fePointLightSvg: ExpandedSVGElementBuilder<"fePointLight">;
|
|
33
|
+
export const feSpecularLightingSvg: ExpandedSVGElementBuilder<"feSpecularLighting">;
|
|
34
|
+
export const feSpotLightSvg: ExpandedSVGElementBuilder<"feSpotLight">;
|
|
35
|
+
export const feTileSvg: ExpandedSVGElementBuilder<"feTile">;
|
|
36
|
+
export const feTurbulenceSvg: ExpandedSVGElementBuilder<"feTurbulence">;
|
|
37
|
+
export const filterSvg: ExpandedSVGElementBuilder<"filter">;
|
|
38
|
+
export const foreignObjectSvg: ExpandedSVGElementBuilder<"foreignObject">;
|
|
39
|
+
export const gSvg: ExpandedSVGElementBuilder<"g">;
|
|
40
|
+
export const imageSvg: ExpandedSVGElementBuilder<"image">;
|
|
41
|
+
export const lineSvg: ExpandedSVGElementBuilder<"line">;
|
|
42
|
+
export const linearGradientSvg: ExpandedSVGElementBuilder<"linearGradient">;
|
|
43
|
+
export const markerSvg: ExpandedSVGElementBuilder<"marker">;
|
|
44
|
+
export const maskSvg: ExpandedSVGElementBuilder<"mask">;
|
|
45
|
+
export const metadataSvg: ExpandedSVGElementBuilder<"metadata">;
|
|
46
|
+
export const mpathSvg: ExpandedSVGElementBuilder<"mpath">;
|
|
47
|
+
export const pathSvg: ExpandedSVGElementBuilder<"path">;
|
|
48
|
+
export const patternSvg: ExpandedSVGElementBuilder<"pattern">;
|
|
49
|
+
export const polygonSvg: ExpandedSVGElementBuilder<"polygon">;
|
|
50
|
+
export const polylineSvg: ExpandedSVGElementBuilder<"polyline">;
|
|
51
|
+
export const radialGradientSvg: ExpandedSVGElementBuilder<"radialGradient">;
|
|
52
|
+
export const rectSvg: ExpandedSVGElementBuilder<"rect">;
|
|
53
|
+
export const scriptSvg: ExpandedSVGElementBuilder<"script">;
|
|
54
|
+
export const setSvg: ExpandedSVGElementBuilder<"set">;
|
|
55
|
+
export const stopSvg: ExpandedSVGElementBuilder<"stop">;
|
|
56
|
+
export const styleSvg: ExpandedSVGElementBuilder<"style">;
|
|
57
|
+
export const svgSvg: ExpandedSVGElementBuilder<"svg">;
|
|
58
|
+
export const switchSvg: ExpandedSVGElementBuilder<"switch">;
|
|
59
|
+
export const symbolSvg: ExpandedSVGElementBuilder<"symbol">;
|
|
60
|
+
export const textSvg: ExpandedSVGElementBuilder<"text">;
|
|
61
|
+
export const textPathSvg: ExpandedSVGElementBuilder<"textPath">;
|
|
62
|
+
export const titleSvg: ExpandedSVGElementBuilder<"title">;
|
|
63
|
+
export const tspanSvg: ExpandedSVGElementBuilder<"tspan">;
|
|
64
|
+
export const useSvg: ExpandedSVGElementBuilder<"use">;
|
|
65
|
+
export const viewSvg: ExpandedSVGElementBuilder<"view">;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export {};
|
|
68
|
+
export {};
|