ripple 0.3.17 → 0.3.19

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.
Files changed (154) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +2 -2
  3. package/src/runtime/element.js +11 -11
  4. package/src/runtime/internal/client/composite.js +2 -2
  5. package/src/runtime/internal/client/expression.js +5 -5
  6. package/src/runtime/internal/client/index.js +1 -1
  7. package/src/runtime/internal/client/portal.js +4 -4
  8. package/src/runtime/internal/server/index.js +4 -4
  9. package/tests/client/__snapshots__/computed-properties.test.tsrx.snap +49 -0
  10. package/tests/client/__snapshots__/for.test.tsrx.snap +319 -0
  11. package/tests/client/__snapshots__/html.test.tsrx.snap +40 -0
  12. package/tests/client/basic/__snapshots__/basic.attributes.test.tsrx.snap +60 -0
  13. package/tests/client/basic/__snapshots__/basic.rendering.test.tsrx.snap +59 -0
  14. package/tests/client/basic/{basic.components.test.rsrx → basic.components.test.tsrx} +51 -1
  15. package/tests/client/basic/{basic.errors.test.rsrx → basic.errors.test.tsrx} +12 -12
  16. package/tests/client/basic/{basic.styling.test.rsrx → basic.styling.test.tsrx} +1 -1
  17. package/tests/client/compiler/__snapshots__/compiler.assignments.test.tsrx.snap +12 -0
  18. package/tests/client/compiler/__snapshots__/compiler.typescript.test.tsrx.snap +46 -0
  19. package/tests/client/compiler/{compiler.assignments.test.rsrx → compiler.assignments.test.tsrx} +2 -2
  20. package/tests/client/compiler/{compiler.attributes.test.rsrx → compiler.attributes.test.tsrx} +4 -4
  21. package/tests/client/compiler/{compiler.basic.test.rsrx → compiler.basic.test.tsrx} +44 -30
  22. package/tests/client/compiler/{compiler.tracked-access.test.rsrx → compiler.tracked-access.test.tsrx} +16 -16
  23. package/tests/client/compiler/{compiler.try-in-function.test.rsrx → compiler.try-in-function.test.tsrx} +8 -8
  24. package/tests/client/compiler/{compiler.typescript.test.rsrx → compiler.typescript.test.tsrx} +4 -4
  25. package/tests/client/composite/__snapshots__/composite.render.test.tsrx.snap +37 -0
  26. package/tests/client/css/{global-additional-cases.test.rsrx → global-additional-cases.test.tsrx} +27 -27
  27. package/tests/client/css/{global-advanced-selectors.test.rsrx → global-advanced-selectors.test.tsrx} +8 -8
  28. package/tests/client/css/{global-at-rules.test.rsrx → global-at-rules.test.tsrx} +5 -5
  29. package/tests/client/css/{global-basic.test.rsrx → global-basic.test.tsrx} +7 -7
  30. package/tests/client/css/{global-classes-ids.test.rsrx → global-classes-ids.test.tsrx} +7 -7
  31. package/tests/client/css/{global-combinators.test.rsrx → global-combinators.test.tsrx} +5 -5
  32. package/tests/client/css/{global-complex-nesting.test.rsrx → global-complex-nesting.test.tsrx} +7 -7
  33. package/tests/client/css/{global-edge-cases.test.rsrx → global-edge-cases.test.tsrx} +9 -9
  34. package/tests/client/css/{global-keyframes.test.rsrx → global-keyframes.test.tsrx} +5 -5
  35. package/tests/client/css/{global-nested.test.rsrx → global-nested.test.tsrx} +5 -5
  36. package/tests/client/css/{global-pseudo.test.rsrx → global-pseudo.test.tsrx} +6 -6
  37. package/tests/client/css/{global-scoping.test.rsrx → global-scoping.test.tsrx} +10 -10
  38. package/tests/client/css/{style-identifier.test.rsrx → style-identifier.test.tsrx} +12 -16
  39. package/tests/client/{function-overload.test.rsrx → function-overload.test.tsrx} +1 -1
  40. package/tests/client/{return.test.rsrx → return.test.tsrx} +16 -18
  41. package/tests/hydration/build-components.js +2 -4
  42. package/tests/hydration/compiled/client/basic.js +1 -1
  43. package/tests/hydration/compiled/client/composite.js +4 -4
  44. package/tests/hydration/compiled/client/head.js +11 -11
  45. package/tests/hydration/compiled/client/hmr.js +1 -1
  46. package/tests/hydration/compiled/client/html.js +19 -19
  47. package/tests/hydration/compiled/client/if-children.js +2 -2
  48. package/tests/hydration/compiled/client/portal.js +4 -4
  49. package/tests/hydration/compiled/server/basic.js +1 -1
  50. package/tests/hydration/compiled/server/composite.js +4 -4
  51. package/tests/hydration/compiled/server/head.js +11 -11
  52. package/tests/hydration/compiled/server/hmr.js +1 -1
  53. package/tests/hydration/compiled/server/html.js +19 -19
  54. package/tests/hydration/compiled/server/if-children.js +2 -2
  55. package/tests/hydration/compiled/server/portal.js +4 -4
  56. package/tests/hydration/components/{html-in-template.rsrx → html-in-template.tsrx} +1 -1
  57. package/tests/server/__snapshots__/compiler.test.tsrx.snap +95 -0
  58. package/tests/server/{basic.components.test.rsrx → basic.components.test.tsrx} +48 -0
  59. package/tests/server/{compiler.test.rsrx → compiler.test.tsrx} +17 -17
  60. package/tests/server/{html-nesting-validation.test.rsrx → html-nesting-validation.test.tsrx} +38 -38
  61. package/tests/server/{style-identifier.test.rsrx → style-identifier.test.tsrx} +1 -1
  62. package/tests/utils/compiler-compat-config.test.js +3 -3
  63. package/tests/utils/vite-plugin-config.test.js +1 -1
  64. package/tests/utils/vite-plugin-hmr.test.js +7 -7
  65. package/tsconfig.json +0 -4
  66. package/types/index.d.ts +6 -4
  67. /package/tests/client/{_etc.test.rsrx → _etc.test.tsrx} +0 -0
  68. /package/tests/client/array/{array.copy-within.test.rsrx → array.copy-within.test.tsrx} +0 -0
  69. /package/tests/client/array/{array.derived.test.rsrx → array.derived.test.tsrx} +0 -0
  70. /package/tests/client/array/{array.iteration.test.rsrx → array.iteration.test.tsrx} +0 -0
  71. /package/tests/client/array/{array.mutations.test.rsrx → array.mutations.test.tsrx} +0 -0
  72. /package/tests/client/array/{array.static.test.rsrx → array.static.test.tsrx} +0 -0
  73. /package/tests/client/array/{array.to-methods.test.rsrx → array.to-methods.test.tsrx} +0 -0
  74. /package/tests/client/{async-suspend.test.rsrx → async-suspend.test.tsrx} +0 -0
  75. /package/tests/client/basic/{basic.attributes.test.rsrx → basic.attributes.test.tsrx} +0 -0
  76. /package/tests/client/basic/{basic.collections.test.rsrx → basic.collections.test.tsrx} +0 -0
  77. /package/tests/client/basic/{basic.events.test.rsrx → basic.events.test.tsrx} +0 -0
  78. /package/tests/client/basic/{basic.get-set.test.rsrx → basic.get-set.test.tsrx} +0 -0
  79. /package/tests/client/basic/{basic.hmr.test.rsrx → basic.hmr.test.tsrx} +0 -0
  80. /package/tests/client/basic/{basic.reactivity.test.rsrx → basic.reactivity.test.tsrx} +0 -0
  81. /package/tests/client/basic/{basic.rendering.test.rsrx → basic.rendering.test.tsrx} +0 -0
  82. /package/tests/client/basic/{basic.utilities.test.rsrx → basic.utilities.test.tsrx} +0 -0
  83. /package/tests/client/{boundaries.test.rsrx → boundaries.test.tsrx} +0 -0
  84. /package/tests/client/compiler/{compiler.regex.test.rsrx → compiler.regex.test.tsrx} +0 -0
  85. /package/tests/client/composite/{composite.dynamic-components.test.rsrx → composite.dynamic-components.test.tsrx} +0 -0
  86. /package/tests/client/composite/{composite.generics.test.rsrx → composite.generics.test.tsrx} +0 -0
  87. /package/tests/client/composite/{composite.props.test.rsrx → composite.props.test.tsrx} +0 -0
  88. /package/tests/client/composite/{composite.reactivity.test.rsrx → composite.reactivity.test.tsrx} +0 -0
  89. /package/tests/client/composite/{composite.render.test.rsrx → composite.render.test.tsrx} +0 -0
  90. /package/tests/client/{computed-properties.test.rsrx → computed-properties.test.tsrx} +0 -0
  91. /package/tests/client/{context.test.rsrx → context.test.tsrx} +0 -0
  92. /package/tests/client/{date.test.rsrx → date.test.tsrx} +0 -0
  93. /package/tests/client/{dynamic-elements.test.rsrx → dynamic-elements.test.tsrx} +0 -0
  94. /package/tests/client/{events.test.rsrx → events.test.tsrx} +0 -0
  95. /package/tests/client/{for.test.rsrx → for.test.tsrx} +0 -0
  96. /package/tests/client/{function-overload-import.rsrx → function-overload-import.tsrx} +0 -0
  97. /package/tests/client/{head.test.rsrx → head.test.tsrx} +0 -0
  98. /package/tests/client/{html.test.rsrx → html.test.tsrx} +0 -0
  99. /package/tests/client/{input-value.test.rsrx → input-value.test.tsrx} +0 -0
  100. /package/tests/client/{lazy-destructuring.test.rsrx → lazy-destructuring.test.tsrx} +0 -0
  101. /package/tests/client/{map.test.rsrx → map.test.tsrx} +0 -0
  102. /package/tests/client/{media-query.test.rsrx → media-query.test.tsrx} +0 -0
  103. /package/tests/client/{object.test.rsrx → object.test.tsrx} +0 -0
  104. /package/tests/client/{portal.test.rsrx → portal.test.tsrx} +0 -0
  105. /package/tests/client/{ref.test.rsrx → ref.test.tsrx} +0 -0
  106. /package/tests/client/{set.test.rsrx → set.test.tsrx} +0 -0
  107. /package/tests/client/{svg.test.rsrx → svg.test.tsrx} +0 -0
  108. /package/tests/client/{switch.test.rsrx → switch.test.tsrx} +0 -0
  109. /package/tests/client/{try.test.rsrx → try.test.tsrx} +0 -0
  110. /package/tests/client/{tsx.test.rsrx → tsx.test.tsrx} +0 -0
  111. /package/tests/client/{typescript-generics.test.rsrx → typescript-generics.test.tsrx} +0 -0
  112. /package/tests/client/url/{url.derived.test.rsrx → url.derived.test.tsrx} +0 -0
  113. /package/tests/client/url/{url.parsing.test.rsrx → url.parsing.test.tsrx} +0 -0
  114. /package/tests/client/url/{url.partial-removal.test.rsrx → url.partial-removal.test.tsrx} +0 -0
  115. /package/tests/client/url/{url.reactivity.test.rsrx → url.reactivity.test.tsrx} +0 -0
  116. /package/tests/client/url/{url.serialization.test.rsrx → url.serialization.test.tsrx} +0 -0
  117. /package/tests/client/url-search-params/{url-search-params.derived.test.rsrx → url-search-params.derived.test.tsrx} +0 -0
  118. /package/tests/client/url-search-params/{url-search-params.initialization.test.rsrx → url-search-params.initialization.test.tsrx} +0 -0
  119. /package/tests/client/url-search-params/{url-search-params.iteration.test.rsrx → url-search-params.iteration.test.tsrx} +0 -0
  120. /package/tests/client/url-search-params/{url-search-params.mutation.test.rsrx → url-search-params.mutation.test.tsrx} +0 -0
  121. /package/tests/client/url-search-params/{url-search-params.retrieval.test.rsrx → url-search-params.retrieval.test.tsrx} +0 -0
  122. /package/tests/client/url-search-params/{url-search-params.serialization.test.rsrx → url-search-params.serialization.test.tsrx} +0 -0
  123. /package/tests/client/url-search-params/{url-search-params.tracked-url.test.rsrx → url-search-params.tracked-url.test.tsrx} +0 -0
  124. /package/tests/hydration/components/{basic.rsrx → basic.tsrx} +0 -0
  125. /package/tests/hydration/components/{composite.rsrx → composite.tsrx} +0 -0
  126. /package/tests/hydration/components/{events.rsrx → events.tsrx} +0 -0
  127. /package/tests/hydration/components/{for.rsrx → for.tsrx} +0 -0
  128. /package/tests/hydration/components/{head.rsrx → head.tsrx} +0 -0
  129. /package/tests/hydration/components/{hmr.rsrx → hmr.tsrx} +0 -0
  130. /package/tests/hydration/components/{html.rsrx → html.tsrx} +0 -0
  131. /package/tests/hydration/components/{if-children.rsrx → if-children.tsrx} +0 -0
  132. /package/tests/hydration/components/{if.rsrx → if.tsrx} +0 -0
  133. /package/tests/hydration/components/{mixed-control-flow.rsrx → mixed-control-flow.tsrx} +0 -0
  134. /package/tests/hydration/components/{nested-control-flow.rsrx → nested-control-flow.tsrx} +0 -0
  135. /package/tests/hydration/components/{portal.rsrx → portal.tsrx} +0 -0
  136. /package/tests/hydration/components/{reactivity.rsrx → reactivity.tsrx} +0 -0
  137. /package/tests/hydration/components/{return.rsrx → return.tsrx} +0 -0
  138. /package/tests/hydration/components/{switch.rsrx → switch.tsrx} +0 -0
  139. /package/tests/hydration/components/{try.rsrx → try.tsrx} +0 -0
  140. /package/tests/server/{await.test.rsrx → await.test.tsrx} +0 -0
  141. /package/tests/server/{basic.attributes.test.rsrx → basic.attributes.test.tsrx} +0 -0
  142. /package/tests/server/{basic.test.rsrx → basic.test.tsrx} +0 -0
  143. /package/tests/server/{composite.props.test.rsrx → composite.props.test.tsrx} +0 -0
  144. /package/tests/server/{composite.test.rsrx → composite.test.tsrx} +0 -0
  145. /package/tests/server/{context.test.rsrx → context.test.tsrx} +0 -0
  146. /package/tests/server/{dynamic-elements.test.rsrx → dynamic-elements.test.tsrx} +0 -0
  147. /package/tests/server/{for.test.rsrx → for.test.tsrx} +0 -0
  148. /package/tests/server/{head.test.rsrx → head.test.tsrx} +0 -0
  149. /package/tests/server/{if.test.rsrx → if.test.tsrx} +0 -0
  150. /package/tests/server/{lazy-destructuring.test.rsrx → lazy-destructuring.test.tsrx} +0 -0
  151. /package/tests/server/{return.test.rsrx → return.test.tsrx} +0 -0
  152. /package/tests/server/{streaming-ssr.test.rsrx → streaming-ssr.test.tsrx} +0 -0
  153. /package/tests/server/{switch.test.rsrx → switch.test.tsrx} +0 -0
  154. /package/tests/server/{try.test.rsrx → try.test.tsrx} +0 -0
@@ -10,7 +10,7 @@ describe('returns in prohibited scopes', () => {
10
10
  component App() {
11
11
  <div>{'hello'}</div>
12
12
  }
13
- `, 'test.ripple', {
13
+ `, 'test.tsrx', {
14
14
  mode: 'client',
15
15
  }),
16
16
  ).toThrowError('Return statements are not allowed at the top level of a module.');
@@ -1974,7 +1974,7 @@ describe('early return in client components', () => {
1974
1974
  <div>{'test'}</div>
1975
1975
  return 'hello';
1976
1976
  }
1977
- }`, 'test.ripple', {
1977
+ }`, 'test.tsrx', {
1978
1978
  mode: 'client',
1979
1979
  });
1980
1980
  }).toThrow('Return statements inside components cannot have a return value.');
@@ -1987,7 +1987,7 @@ describe('early return in client components', () => {
1987
1987
  <div>{'test'}</div>
1988
1988
  return 42;
1989
1989
  }
1990
- }`, 'test.ripple', {
1990
+ }`, 'test.tsrx', {
1991
1991
  mode: 'client',
1992
1992
  });
1993
1993
  }).toThrow('Return statements inside components cannot have a return value.');
@@ -2000,7 +2000,7 @@ describe('early return in client components', () => {
2000
2000
  <div>{'test'}</div>
2001
2001
  return null;
2002
2002
  }
2003
- }`, 'test.ripple', {
2003
+ }`, 'test.tsrx', {
2004
2004
  mode: 'client',
2005
2005
  });
2006
2006
  }).toThrow('Return statements inside components cannot have a return value.');
@@ -2008,16 +2008,14 @@ describe('early return in client components', () => {
2008
2008
 
2009
2009
  it('throws error for return with undefined value', () => {
2010
2010
  expect(() => {
2011
- compile(
2012
- `component App() {
2011
+ compile(`component App() {
2013
2012
  if (true) {
2014
2013
  <div>{'test'}</div>
2015
2014
  return undefined;
2016
2015
  }
2017
- }`,
2018
- 'test.ripple',
2019
- { mode: 'client' },
2020
- );
2016
+ }`, 'test.tsrx', {
2017
+ mode: 'client',
2018
+ });
2021
2019
  }).toThrow('Return statements inside components cannot have a return value.');
2022
2020
  });
2023
2021
 
@@ -2030,7 +2028,7 @@ describe('early return in client components', () => {
2030
2028
  return { foo: 'bar' };
2031
2029
  }
2032
2030
  }`,
2033
- 'test.ripple',
2031
+ 'test.tsrx',
2034
2032
  { mode: 'client' },
2035
2033
  );
2036
2034
  }).toThrow('Return statements inside components cannot have a return value.');
@@ -2046,7 +2044,7 @@ describe('early return in client components', () => {
2046
2044
  return x;
2047
2045
  }
2048
2046
  }`,
2049
- 'test.ripple',
2047
+ 'test.tsrx',
2050
2048
  { mode: 'client' },
2051
2049
  );
2052
2050
  }).toThrow('Return statements inside components cannot have a return value.');
@@ -2511,7 +2509,7 @@ describe('throw statements in if blocks', () => {
2511
2509
  }
2512
2510
  `;
2513
2511
  expect(() => {
2514
- compile(code, 'test.ripple');
2512
+ compile(code, 'test.tsrx');
2515
2513
  }).not.toThrow();
2516
2514
  });
2517
2515
 
@@ -2527,7 +2525,7 @@ describe('throw statements in if blocks', () => {
2527
2525
  }
2528
2526
  `;
2529
2527
  expect(() => {
2530
- compile(code, 'test.ripple');
2528
+ compile(code, 'test.tsrx');
2531
2529
  }).not.toThrow();
2532
2530
  });
2533
2531
 
@@ -2545,7 +2543,7 @@ describe('throw statements in if blocks', () => {
2545
2543
  }
2546
2544
  `;
2547
2545
  expect(() => {
2548
- compile(code, 'test.ripple');
2546
+ compile(code, 'test.tsrx');
2549
2547
  }).not.toThrow();
2550
2548
  });
2551
2549
 
@@ -2564,7 +2562,7 @@ describe('throw statements in if blocks', () => {
2564
2562
  }
2565
2563
  `;
2566
2564
  expect(() => {
2567
- compile(code, 'test.ripple');
2565
+ compile(code, 'test.tsrx');
2568
2566
  }).not.toThrow();
2569
2567
  });
2570
2568
 
@@ -2579,7 +2577,7 @@ describe('throw statements in if blocks', () => {
2579
2577
  }
2580
2578
  `;
2581
2579
  expect(() => {
2582
- compile(code, 'test.ripple');
2580
+ compile(code, 'test.tsrx');
2583
2581
  }).not.toThrow();
2584
2582
  });
2585
2583
 
@@ -2595,7 +2593,7 @@ describe('throw statements in if blocks', () => {
2595
2593
  }
2596
2594
  `;
2597
2595
  expect(() => {
2598
- compile(code, 'test.ripple');
2596
+ compile(code, 'test.tsrx');
2599
2597
  }).not.toThrow();
2600
2598
  });
2601
2599
  });
@@ -40,14 +40,12 @@ function buildComponents() {
40
40
  mkdirSync(serverOutDir, { recursive: true });
41
41
 
42
42
  // Get all supported component files in components directory
43
- const componentFiles = readdirSync(componentsDir).filter(
44
- (f) => f.endsWith('.ripple') || f.endsWith('.rsrx') || f.endsWith('.tsrx'),
45
- );
43
+ const componentFiles = readdirSync(componentsDir).filter((f) => f.endsWith('.tsrx'));
46
44
 
47
45
  for (const file of componentFiles) {
48
46
  const filePath = join(componentsDir, file);
49
47
  const source = readFileSync(filePath, 'utf-8');
50
- const outputName = basename(basename(file, '.ripple'), '.rsrx').replace(/\.tsrx$/, '') + '.js';
48
+ const outputName = basename(basename(file, '.tsrx'), '.tsrx').replace(/\.tsrx$/, '') + '.js';
51
49
 
52
50
  // Compile for client
53
51
  const clientResult = compile(source, file, {
@@ -342,7 +342,7 @@ export function WebsiteIndex(__anchor, _, __block) {
342
342
  Layout(
343
343
  node_7,
344
344
  {
345
- children: _$_.ripple_element(function render_children(__anchor, __block) {
345
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
346
346
  var fragment_10 = root_22();
347
347
  var node_8 = _$_.first_child_frag(fragment_10);
348
348
 
@@ -87,7 +87,7 @@ export function LayoutWithSingleChild(__anchor, _, __block) {
87
87
  Layout(
88
88
  node_1,
89
89
  {
90
- children: _$_.ripple_element(function render_children(__anchor, __block) {
90
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
91
91
  var fragment_3 = root_6();
92
92
  var node_2 = _$_.first_child_frag(fragment_3);
93
93
 
@@ -111,7 +111,7 @@ export function LayoutWithMultipleChildren(__anchor, _, __block) {
111
111
  Layout(
112
112
  node_3,
113
113
  {
114
- children: _$_.ripple_element(function render_children(__anchor, __block) {
114
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
115
115
  var fragment_5 = root_8();
116
116
  var node_4 = _$_.first_child_frag(fragment_5);
117
117
 
@@ -135,7 +135,7 @@ export function LayoutWithMultiRootChild(__anchor, _, __block) {
135
135
  Layout(
136
136
  node_5,
137
137
  {
138
- children: _$_.ripple_element(function render_children(__anchor, __block) {
138
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
139
139
  var fragment_7 = root_10();
140
140
  var node_6 = _$_.first_child_frag(fragment_7);
141
141
 
@@ -159,7 +159,7 @@ export function LayoutWithTextAroundChildren(__anchor, _, __block) {
159
159
  TextWrappedLayout(
160
160
  node_7,
161
161
  {
162
- children: _$_.ripple_element(function render_children(__anchor, __block) {
162
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
163
163
  var fragment_9 = root_12();
164
164
  var node_8 = _$_.first_child_frag(fragment_9);
165
165
 
@@ -22,7 +22,7 @@ export function StaticTitle(__anchor, _, __block) {
22
22
 
23
23
  var div_1 = root();
24
24
 
25
- _$_.head('p76zx7', (__anchor) => {
25
+ _$_.head('o6otu9', (__anchor) => {
26
26
  _$_.document.title = 'Static Test Title';
27
27
  });
28
28
 
@@ -47,7 +47,7 @@ export function ReactiveTitle(__anchor, _, __block) {
47
47
  }
48
48
  }
49
49
 
50
- _$_.head('1nb8jjx', (__anchor) => {
50
+ _$_.head('1kaaszj', (__anchor) => {
51
51
  _$_.render(() => {
52
52
  _$_.document.title = _$_.get(lazy);
53
53
  });
@@ -62,7 +62,7 @@ export function MultipleHeadElements(__anchor, _, __block) {
62
62
 
63
63
  var div_3 = root_2();
64
64
 
65
- _$_.head('8n8nfd', (__anchor) => {
65
+ _$_.head('9nqthf', (__anchor) => {
66
66
  var fragment = root_3();
67
67
 
68
68
  _$_.document.title = 'Page Title';
@@ -87,7 +87,7 @@ export function ReactiveMetaTags(__anchor, _, __block) {
87
87
  _$_.pop(div_4);
88
88
  }
89
89
 
90
- _$_.head('1u7li02', (__anchor) => {
90
+ _$_.head('1v7o69o', (__anchor) => {
91
91
  var meta_1 = root_5();
92
92
 
93
93
  _$_.document.title = 'My Page';
@@ -112,7 +112,7 @@ export function TitleWithTemplate(__anchor, _, __block) {
112
112
  _$_.pop(div_5);
113
113
  }
114
114
 
115
- _$_.head('1wzb5pb', (__anchor) => {
115
+ _$_.head('za44d', (__anchor) => {
116
116
  _$_.render(() => {
117
117
  _$_.document.title = `Hello ${_$_.get(lazy_2)}!`;
118
118
  });
@@ -127,7 +127,7 @@ export function EmptyTitle(__anchor, _, __block) {
127
127
 
128
128
  var div_6 = root_7();
129
129
 
130
- _$_.head('1vtxclq', (__anchor) => {
130
+ _$_.head('1st5x80', (__anchor) => {
131
131
  _$_.document.title = '';
132
132
  });
133
133
 
@@ -149,7 +149,7 @@ export function ConditionalTitle(__anchor, _, __block) {
149
149
  _$_.pop(div_7);
150
150
  }
151
151
 
152
- _$_.head('23prgg', (__anchor) => {
152
+ _$_.head('54ijvi', (__anchor) => {
153
153
  _$_.render(() => {
154
154
  _$_.document.title = _$_.get(lazy_3) ? 'App - ' + _$_.get(lazy_4) : _$_.get(lazy_4);
155
155
  });
@@ -177,7 +177,7 @@ export function ComputedTitle(__anchor, _, __block) {
177
177
  }
178
178
  }
179
179
 
180
- _$_.head('dlz6ig', (__anchor) => {
180
+ _$_.head('h5jm3a', (__anchor) => {
181
181
  _$_.render(() => {
182
182
  _$_.document.title = prefix + _$_.get(lazy_5);
183
183
  });
@@ -192,11 +192,11 @@ export function MultipleHeadBlocks(__anchor, _, __block) {
192
192
 
193
193
  var div_9 = root_10();
194
194
 
195
- _$_.head('143y0j8', (__anchor) => {
195
+ _$_.head('133vcai', (__anchor) => {
196
196
  _$_.document.title = 'First Head';
197
197
  });
198
198
 
199
- _$_.head('ejrkl6', (__anchor) => {
199
+ _$_.head('fju8tw', (__anchor) => {
200
200
  var meta_2 = root_11();
201
201
 
202
202
  _$_.append(__anchor, meta_2);
@@ -211,7 +211,7 @@ export function HeadWithStyle(__anchor, _, __block) {
211
211
 
212
212
  var div_10 = root_12();
213
213
 
214
- _$_.head('1k4vrqu', (__anchor) => {
214
+ _$_.head('1iodql4', (__anchor) => {
215
215
  _$_.document.title = 'Styled Page';
216
216
  });
217
217
 
@@ -67,7 +67,7 @@ export function LayoutWithContent(__anchor, _, __block) {
67
67
  Layout(
68
68
  node_1,
69
69
  {
70
- children: _$_.ripple_element(function render_children(__anchor, __block) {
70
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
71
71
  var fragment_1 = root_4();
72
72
  var node_2 = _$_.first_child_frag(fragment_1);
73
73
 
@@ -245,7 +245,7 @@ export function HtmlInChildren(__anchor, _, __block) {
245
245
  HtmlWrapper(
246
246
  node_7,
247
247
  {
248
- children: _$_.ripple_element(function render_children(__anchor, __block) {
248
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
249
249
  var div_8 = root_8();
250
250
 
251
251
  {
@@ -278,7 +278,7 @@ export function HtmlInChildrenWithSiblings(__anchor, _, __block) {
278
278
  HtmlWrapper(
279
279
  node_9,
280
280
  {
281
- children: _$_.ripple_element(function render_children(__anchor, __block) {
281
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
282
282
  var fragment_2 = root_10();
283
283
  var h1_1 = _$_.first_child_frag(fragment_2);
284
284
  var div_9 = _$_.sibling(h1_1);
@@ -316,7 +316,7 @@ export function MultipleHtmlInChildren(__anchor, _, __block) {
316
316
  HtmlWrapper(
317
317
  node_11,
318
318
  {
319
- children: _$_.ripple_element(function render_children(__anchor, __block) {
319
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
320
320
  var div_10 = root_12();
321
321
 
322
322
  {
@@ -394,7 +394,7 @@ export function HtmlWithCommentsInChildren(__anchor, _, __block) {
394
394
  HtmlWrapper(
395
395
  node_16,
396
396
  {
397
- children: _$_.ripple_element(function render_children(__anchor, __block) {
397
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
398
398
  var div_13 = root_16();
399
399
 
400
400
  {
@@ -585,7 +585,7 @@ export function HtmlWithServerData(__anchor, _, __block) {
585
585
  { href: '#features', text: 'Features' }
586
586
  ],
587
587
 
588
- children: _$_.ripple_element(function render_children(__anchor, __block) {
588
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
589
589
  var div_19 = root_24();
590
590
 
591
591
  {
@@ -618,7 +618,7 @@ export function HtmlWithClientDefaults(__anchor, _, __block) {
618
618
  DocLayout(
619
619
  node_24,
620
620
  {
621
- children: _$_.ripple_element(function render_children(__anchor, __block) {
621
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
622
622
  var div_20 = root_26();
623
623
 
624
624
  {
@@ -651,7 +651,7 @@ export function HtmlWithUndefinedContent(__anchor, _, __block) {
651
651
  DocLayout(
652
652
  node_26,
653
653
  {
654
- children: _$_.ripple_element(function render_children(__anchor, __block) {
654
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
655
655
  var div_21 = root_28();
656
656
 
657
657
  {
@@ -782,7 +782,7 @@ export function HtmlAfterSwitchInChildren(__anchor, _, __block) {
782
782
  ContentWrapper(
783
783
  node_30,
784
784
  {
785
- children: _$_.ripple_element(function render_children(__anchor, __block) {
785
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
786
786
  var fragment_10 = root_35();
787
787
  var node_31 = _$_.first_child_frag(fragment_10);
788
788
 
@@ -790,7 +790,7 @@ export function HtmlAfterSwitchInChildren(__anchor, _, __block) {
790
790
  node_31,
791
791
  {
792
792
  level: 1,
793
- children: _$_.ripple_element(function render_children(__anchor, __block) {
793
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
794
794
  var expression_7 = _$_.text('Title');
795
795
 
796
796
  _$_.append(__anchor, expression_7);
@@ -930,7 +930,7 @@ function SideNav(__anchor, { currentPath }, __block) {
930
930
  node_35,
931
931
  {
932
932
  title: "Getting Started",
933
- children: _$_.ripple_element(function render_children(__anchor, __block) {
933
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
934
934
  var fragment_11 = root_41();
935
935
  var node_36 = _$_.first_child_frag(fragment_11);
936
936
 
@@ -974,7 +974,7 @@ function SideNav(__anchor, { currentPath }, __block) {
974
974
  node_38,
975
975
  {
976
976
  title: "Guide",
977
- children: _$_.ripple_element(function render_children(__anchor, __block) {
977
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
978
978
  var fragment_12 = root_42();
979
979
  var node_39 = _$_.first_child_frag(fragment_12);
980
980
 
@@ -1118,7 +1118,7 @@ export function ArticleWithChildrenThenSibling(__anchor, _, __block) {
1118
1118
  ArticleWrapper(
1119
1119
  node_45,
1120
1120
  {
1121
- children: _$_.ripple_element(function render_children(__anchor, __block) {
1121
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
1122
1122
  var fragment_13 = root_49();
1123
1123
 
1124
1124
  _$_.append(__anchor, fragment_13);
@@ -1177,7 +1177,7 @@ export function ArticleWithHtmlChildThenSibling(__anchor, _, __block) {
1177
1177
  ArticleWrapper(
1178
1178
  node_49,
1179
1179
  {
1180
- children: _$_.ripple_element(function render_children(__anchor, __block) {
1180
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
1181
1181
  var div_41 = root_53();
1182
1182
 
1183
1183
  {
@@ -1275,7 +1275,7 @@ export function InlineArticleWithHtmlChild(__anchor, _, __block) {
1275
1275
  InlineArticleLayout(
1276
1276
  node_55,
1277
1277
  {
1278
- children: _$_.ripple_element(function render_children(__anchor, __block) {
1278
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
1279
1279
  var div_46 = root_58();
1280
1280
 
1281
1281
  {
@@ -1447,7 +1447,7 @@ export function DocsLayoutWithData(__anchor, _, __block) {
1447
1447
  {
1448
1448
  editPath: "docs/styling.md",
1449
1449
  nextLink: { href: '/next', text: 'Next' },
1450
- children: _$_.ripple_element(function render_children(__anchor, __block) {
1450
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
1451
1451
  var div_54 = root_66();
1452
1452
 
1453
1453
  {
@@ -1480,7 +1480,7 @@ export function DocsLayoutWithoutData(__anchor, _, __block) {
1480
1480
  DocsLayoutInner(
1481
1481
  node_64,
1482
1482
  {
1483
- children: _$_.ripple_element(function render_children(__anchor, __block) {
1483
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
1484
1484
  var div_55 = root_68();
1485
1485
 
1486
1486
  {
@@ -1748,7 +1748,7 @@ export function DocsLayoutExactWithData(__anchor, _, __block) {
1748
1748
  { href: '#usage', text: 'Usage' }
1749
1749
  ],
1750
1750
 
1751
- children: _$_.ripple_element(function render_children(__anchor, __block) {
1751
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
1752
1752
  var div_64 = root_78();
1753
1753
 
1754
1754
  {
@@ -1789,7 +1789,7 @@ export function DocsLayoutExactWithoutData(__anchor, _, __block) {
1789
1789
  prevLink,
1790
1790
  nextLink,
1791
1791
  toc,
1792
- children: _$_.ripple_element(function render_children(__anchor, __block) {
1792
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
1793
1793
  var div_65 = root_80();
1794
1794
 
1795
1795
  {
@@ -1885,7 +1885,7 @@ export function NestedTemplateInLayout(__anchor, _, __block) {
1885
1885
  node_78,
1886
1886
  {
1887
1887
  data: doc,
1888
- children: _$_.ripple_element(function render_children(__anchor, __block) {
1888
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
1889
1889
  var div_69 = root_85();
1890
1890
 
1891
1891
  {
@@ -88,7 +88,7 @@ export function TestIfWithChildren(__anchor, _, __block) {
88
88
  IfWithChildren(
89
89
  node_1,
90
90
  {
91
- children: _$_.ripple_element(function render_children(__anchor, __block) {
91
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
92
92
  var fragment_1 = root_4();
93
93
  var node_2 = _$_.first_child_frag(fragment_1);
94
94
 
@@ -188,7 +188,7 @@ export function TestIfWithSiblingsAndChildren(__anchor, _, __block) {
188
188
  IfWithSiblingsAndChildren(
189
189
  node_6,
190
190
  {
191
- children: _$_.ripple_element(function render_children(__anchor, __block) {
191
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
192
192
  var fragment_3 = root_10();
193
193
  var node_7 = _$_.first_child_frag(fragment_3);
194
194
 
@@ -29,7 +29,7 @@ export function SimplePortal(__anchor, _, __block) {
29
29
  return typeof document !== 'undefined' ? document.body : null;
30
30
  },
31
31
 
32
- children: _$_.ripple_element(function render_children(__anchor, __block) {
32
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
33
33
  var div_2 = root_1();
34
34
 
35
35
  _$_.append(__anchor, div_2);
@@ -70,7 +70,7 @@ export function ConditionalPortal(__anchor, _, __block) {
70
70
  return typeof document !== 'undefined' ? document.body : null;
71
71
  },
72
72
 
73
- children: _$_.ripple_element(function render_children(__anchor, __block) {
73
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
74
74
  var div_4 = root_4();
75
75
 
76
76
  _$_.append(__anchor, div_4);
@@ -110,7 +110,7 @@ export function PortalWithMainContent(__anchor, _, __block) {
110
110
  return typeof document !== 'undefined' ? document.body : null;
111
111
  },
112
112
 
113
- children: _$_.ripple_element(function render_children(__anchor, __block) {
113
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
114
114
  var div_7 = root_6();
115
115
 
116
116
  _$_.append(__anchor, div_7);
@@ -145,7 +145,7 @@ export function NestedContentWithPortal(__anchor, _, __block) {
145
145
  return typeof document !== 'undefined' ? document.body : null;
146
146
  },
147
147
 
148
- children: _$_.ripple_element(function render_children(__anchor, __block) {
148
+ children: _$_.tsrx_element(function render_children(__anchor, __block) {
149
149
  var div_10 = root_8();
150
150
 
151
151
  _$_.append(__anchor, div_10);
@@ -568,7 +568,7 @@ export function WebsiteIndex() {
568
568
 
569
569
  const args = [
570
570
  {
571
- children: _$_.ripple_element(function render_children() {
571
+ children: _$_.tsrx_element(function render_children() {
572
572
  _$_.push_component();
573
573
 
574
574
  {
@@ -109,7 +109,7 @@ export function LayoutWithSingleChild() {
109
109
 
110
110
  const args = [
111
111
  {
112
- children: _$_.ripple_element(function render_children() {
112
+ children: _$_.tsrx_element(function render_children() {
113
113
  _$_.push_component();
114
114
 
115
115
  {
@@ -140,7 +140,7 @@ export function LayoutWithMultipleChildren() {
140
140
 
141
141
  const args = [
142
142
  {
143
- children: _$_.ripple_element(function render_children() {
143
+ children: _$_.tsrx_element(function render_children() {
144
144
  _$_.push_component();
145
145
 
146
146
  {
@@ -180,7 +180,7 @@ export function LayoutWithMultiRootChild() {
180
180
 
181
181
  const args = [
182
182
  {
183
- children: _$_.ripple_element(function render_children() {
183
+ children: _$_.tsrx_element(function render_children() {
184
184
  _$_.push_component();
185
185
 
186
186
  {
@@ -211,7 +211,7 @@ export function LayoutWithTextAroundChildren() {
211
211
 
212
212
  const args = [
213
213
  {
214
- children: _$_.ripple_element(function render_children() {
214
+ children: _$_.tsrx_element(function render_children() {
215
215
  _$_.push_component();
216
216
 
217
217
  {
@@ -18,7 +18,7 @@ export function StaticTitle() {
18
18
  });
19
19
 
20
20
  _$_.set_output_target('head');
21
- _$_.output_push('<!--p76zx7-->');
21
+ _$_.output_push('<!--o6otu9-->');
22
22
  _$_.output_push('<title');
23
23
  _$_.output_push('>');
24
24
 
@@ -55,7 +55,7 @@ export function ReactiveTitle() {
55
55
  });
56
56
 
57
57
  _$_.set_output_target('head');
58
- _$_.output_push('<!--1nb8jjx-->');
58
+ _$_.output_push('<!--1kaaszj-->');
59
59
  _$_.output_push('<title');
60
60
  _$_.output_push('>');
61
61
 
@@ -83,7 +83,7 @@ export function MultipleHeadElements() {
83
83
  });
84
84
 
85
85
  _$_.set_output_target('head');
86
- _$_.output_push('<!--8n8nfd-->');
86
+ _$_.output_push('<!--9nqthf-->');
87
87
  _$_.output_push('<title');
88
88
  _$_.output_push('>');
89
89
 
@@ -121,7 +121,7 @@ export function ReactiveMetaTags() {
121
121
  });
122
122
 
123
123
  _$_.set_output_target('head');
124
- _$_.output_push('<!--1u7li02-->');
124
+ _$_.output_push('<!--1v7o69o-->');
125
125
  _$_.output_push('<title');
126
126
  _$_.output_push('>');
127
127
 
@@ -155,7 +155,7 @@ export function TitleWithTemplate() {
155
155
  });
156
156
 
157
157
  _$_.set_output_target('head');
158
- _$_.output_push('<!--1wzb5pb-->');
158
+ _$_.output_push('<!--za44d-->');
159
159
  _$_.output_push('<title');
160
160
  _$_.output_push('>');
161
161
 
@@ -183,7 +183,7 @@ export function EmptyTitle() {
183
183
  });
184
184
 
185
185
  _$_.set_output_target('head');
186
- _$_.output_push('<!--1vtxclq-->');
186
+ _$_.output_push('<!--1st5x80-->');
187
187
  _$_.output_push('<title');
188
188
  _$_.output_push('>');
189
189
 
@@ -214,7 +214,7 @@ export function ConditionalTitle() {
214
214
  });
215
215
 
216
216
  _$_.set_output_target('head');
217
- _$_.output_push('<!--23prgg-->');
217
+ _$_.output_push('<!--54ijvi-->');
218
218
  _$_.output_push('<title');
219
219
  _$_.output_push('>');
220
220
 
@@ -252,7 +252,7 @@ export function ComputedTitle() {
252
252
  });
253
253
 
254
254
  _$_.set_output_target('head');
255
- _$_.output_push('<!--dlz6ig-->');
255
+ _$_.output_push('<!--h5jm3a-->');
256
256
  _$_.output_push('<title');
257
257
  _$_.output_push('>');
258
258
 
@@ -280,7 +280,7 @@ export function MultipleHeadBlocks() {
280
280
  });
281
281
 
282
282
  _$_.set_output_target('head');
283
- _$_.output_push('<!--143y0j8-->');
283
+ _$_.output_push('<!--133vcai-->');
284
284
  _$_.output_push('<title');
285
285
  _$_.output_push('>');
286
286
 
@@ -289,7 +289,7 @@ export function MultipleHeadBlocks() {
289
289
  }
290
290
 
291
291
  _$_.output_push('</title>');
292
- _$_.output_push('<!--ejrkl6-->');
292
+ _$_.output_push('<!--fju8tw-->');
293
293
  _$_.output_push('<meta');
294
294
  _$_.output_push(' name="author"');
295
295
  _$_.output_push(' content="Test Author"');
@@ -313,7 +313,7 @@ export function HeadWithStyle() {
313
313
  });
314
314
 
315
315
  _$_.set_output_target('head');
316
- _$_.output_push('<!--1k4vrqu-->');
316
+ _$_.output_push('<!--1iodql4-->');
317
317
  _$_.output_push('<title');
318
318
  _$_.output_push('>');
319
319
 
@@ -81,7 +81,7 @@ export function LayoutWithContent() {
81
81
 
82
82
  const args = [
83
83
  {
84
- children: _$_.ripple_element(function render_children() {
84
+ children: _$_.tsrx_element(function render_children() {
85
85
  _$_.push_component();
86
86
 
87
87
  {