rip-lang 3.10.14 → 3.12.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.
Binary file
package/src/tags.js DELETED
@@ -1,62 +0,0 @@
1
- // ============================================================================
2
- // Shared HTML/SVG Tag Definitions
3
- // ============================================================================
4
- // Single source of truth for tag recognition in templates.
5
- // Used by lexer and codegen at compile time.
6
-
7
- export const HTML_TAGS = new Set([
8
- // Document metadata
9
- 'html', 'head', 'title', 'base', 'link', 'meta', 'style',
10
- // Sectioning
11
- 'body', 'address', 'article', 'aside', 'footer', 'header',
12
- 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'main', 'nav', 'section',
13
- // Grouping
14
- 'blockquote', 'dd', 'div', 'dl', 'dt', 'figcaption', 'figure',
15
- 'hr', 'li', 'ol', 'p', 'pre', 'ul',
16
- // Text-level
17
- 'a', 'abbr', 'b', 'bdi', 'bdo', 'br', 'cite', 'code', 'data',
18
- 'dfn', 'em', 'i', 'kbd', 'mark', 'q', 'rp', 'rt', 'ruby', 's',
19
- 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'time', 'u', 'var', 'wbr',
20
- // Embedded
21
- 'area', 'audio', 'img', 'map', 'track', 'video',
22
- 'embed', 'iframe', 'object', 'param', 'picture', 'portal', 'source',
23
- // SVG/Math
24
- 'svg', 'math', 'canvas',
25
- // Scripting
26
- 'noscript', 'script',
27
- // Edits
28
- 'del', 'ins',
29
- // Tables
30
- 'caption', 'col', 'colgroup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr',
31
- // Forms
32
- 'button', 'datalist', 'fieldset', 'form', 'input', 'label', 'legend',
33
- 'meter', 'optgroup', 'option', 'output', 'progress', 'select', 'textarea',
34
- // Interactive
35
- 'details', 'dialog', 'menu', 'summary',
36
- // Web components
37
- 'slot', 'template'
38
- ]);
39
-
40
- export const SVG_TAGS = new Set([
41
- // Container elements
42
- 'svg', 'g', 'defs', 'symbol', 'use', 'marker', 'clipPath', 'mask', 'pattern',
43
- // Shape elements
44
- 'circle', 'ellipse', 'line', 'path', 'polygon', 'polyline', 'rect',
45
- // Text elements
46
- 'text', 'textPath', 'tspan',
47
- // Gradient elements
48
- 'linearGradient', 'radialGradient', 'stop',
49
- // Filter elements
50
- 'filter', 'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite',
51
- 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight',
52
- 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR',
53
- 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology',
54
- 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence',
55
- // Animation elements
56
- 'animate', 'animateMotion', 'animateTransform', 'set', 'mpath',
57
- // Other elements
58
- 'desc', 'foreignObject', 'image', 'metadata', 'switch', 'title', 'view'
59
- ]);
60
-
61
- // Combined set for template element detection (HTML + common SVG)
62
- export const TEMPLATE_TAGS = new Set([...HTML_TAGS, ...SVG_TAGS]);
File without changes
File without changes
File without changes
File without changes
File without changes