@ea-lab/reactive-json-docs 0.7.0 → 0.8.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.
Files changed (84) hide show
  1. package/package.json +2 -2
  2. package/public/rjbuild/docs/advanced-concepts/data-processors.md +2 -2
  3. package/public/rjbuild/docs/advanced-concepts/plugins/component-development-guide-llm.md +14 -14
  4. package/public/rjbuild/docs/core/action/HashChangeListener.md +1 -1
  5. package/public/rjbuild/docs/core/action/HashChangeListener.yaml +24 -6
  6. package/public/rjbuild/docs/core/action/Hide.md +2 -2
  7. package/public/rjbuild/docs/core/action/Hide.yaml +4 -3
  8. package/public/rjbuild/docs/core/action/MessageListener.md +4 -4
  9. package/public/rjbuild/docs/core/action/MessageListener.yaml +18 -6
  10. package/public/rjbuild/docs/core/action/Popover.md +5 -5
  11. package/public/rjbuild/docs/core/action/Popover.yaml +28 -5
  12. package/public/rjbuild/docs/core/action/ReactOnEvent.md +4 -4
  13. package/public/rjbuild/docs/core/action/ReactOnEvent.yaml +4 -4
  14. package/public/rjbuild/docs/core/action/Redirect.md +2 -2
  15. package/public/rjbuild/docs/core/action/Redirect.yaml +8 -2
  16. package/public/rjbuild/docs/core/action/Tooltip.md +3 -3
  17. package/public/rjbuild/docs/core/action/Tooltip.yaml +16 -3
  18. package/public/rjbuild/docs/core/action/VisuallyHide.md +2 -2
  19. package/public/rjbuild/docs/core/action/VisuallyHide.yaml +2 -2
  20. package/public/rjbuild/docs/core/dataMapping/simpleMapping.md +5 -5
  21. package/public/rjbuild/docs/core/dataMapping/simpleMapping.yaml +76 -56
  22. package/public/rjbuild/docs/core/element/debug/VariablesDebug.md +59 -0
  23. package/public/rjbuild/docs/core/element/debug/VariablesDebug.yaml +71 -0
  24. package/public/rjbuild/docs/core/element/form/CheckBoxField.md +8 -8
  25. package/public/rjbuild/docs/core/element/form/CheckBoxField.yaml +40 -8
  26. package/public/rjbuild/docs/core/element/form/DateField.md +5 -5
  27. package/public/rjbuild/docs/core/element/form/DateField.yaml +27 -5
  28. package/public/rjbuild/docs/core/element/form/NumberField.md +7 -7
  29. package/public/rjbuild/docs/core/element/form/NumberField.yaml +32 -7
  30. package/public/rjbuild/docs/core/element/form/SelectField.md +9 -9
  31. package/public/rjbuild/docs/core/element/form/SelectField.yaml +46 -9
  32. package/public/rjbuild/docs/core/element/form/TextAreaField.md +8 -8
  33. package/public/rjbuild/docs/core/element/form/TextAreaField.yaml +36 -8
  34. package/public/rjbuild/docs/core/element/form/TextField.md +8 -8
  35. package/public/rjbuild/docs/core/element/form/TextField.yaml +38 -8
  36. package/public/rjbuild/docs/core/element/form/formElementsCommon.md +2 -4
  37. package/public/rjbuild/docs/core/element/form/index.md +0 -2
  38. package/public/rjbuild/docs/core/element/html/AccordionItem.yaml +19 -7
  39. package/public/rjbuild/docs/core/element/html/FolderSortableTree.yaml +40 -12
  40. package/public/rjbuild/docs/core/element/html/FormatNumeral.yaml +21 -7
  41. package/public/rjbuild/docs/core/element/html/Html.yaml +26 -9
  42. package/public/rjbuild/docs/core/element/html/LabelFromValue.yaml +25 -8
  43. package/public/rjbuild/docs/core/element/html/Modal.yaml +35 -12
  44. package/public/rjbuild/docs/core/element/html/PreformattedMarkup.yaml +23 -7
  45. package/public/rjbuild/docs/core/element/html/SortableTreeItemCollapseButton.yaml +7 -6
  46. package/public/rjbuild/docs/core/element/html/SyntaxHighlighter.yaml +56 -20
  47. package/public/rjbuild/docs/core/element/html/Tabs.yaml +24 -15
  48. package/public/rjbuild/docs/core/element/special/BootstrapElement.md +4 -6
  49. package/public/rjbuild/docs/core/element/special/BootstrapElement.yaml +15 -4
  50. package/public/rjbuild/docs/core/element/special/Count.md +8 -10
  51. package/public/rjbuild/docs/core/element/special/Count.yaml +22 -9
  52. package/public/rjbuild/docs/core/element/special/DataFilter.md +40 -41
  53. package/public/rjbuild/docs/core/element/special/DataFilter.yaml +79 -43
  54. package/public/rjbuild/docs/core/element/special/DelayedActions.md +13 -15
  55. package/public/rjbuild/docs/core/element/special/DelayedActions.yaml +32 -13
  56. package/public/rjbuild/docs/core/element/special/PageControls.md +8 -10
  57. package/public/rjbuild/docs/core/element/special/PageControls.yaml +9 -8
  58. package/public/rjbuild/docs/core/element/special/Phantom.md +9 -11
  59. package/public/rjbuild/docs/core/element/special/Phantom.yaml +22 -9
  60. package/public/rjbuild/docs/core/element/special/ReactiveJsonSubroot.md +7 -9
  61. package/public/rjbuild/docs/core/element/special/ReactiveJsonSubroot.yaml +13 -15
  62. package/public/rjbuild/docs/core/element/special/Switch.md +31 -33
  63. package/public/rjbuild/docs/core/element/special/Switch.yaml +59 -22
  64. package/public/rjbuild/docs/core/reaction/addData.md +0 -2
  65. package/public/rjbuild/docs/core/reaction/addData.yaml +17 -2
  66. package/public/rjbuild/docs/core/reaction/fetchData.md +1 -2
  67. package/public/rjbuild/docs/core/reaction/fetchData.yaml +40 -11
  68. package/public/rjbuild/docs/core/reaction/moveData.md +0 -4
  69. package/public/rjbuild/docs/core/reaction/moveData.yaml +28 -6
  70. package/public/rjbuild/docs/core/reaction/postMessage.md +0 -4
  71. package/public/rjbuild/docs/core/reaction/postMessage.yaml +29 -6
  72. package/public/rjbuild/docs/core/reaction/redirectNow.md +0 -4
  73. package/public/rjbuild/docs/core/reaction/redirectNow.yaml +10 -3
  74. package/public/rjbuild/docs/core/reaction/removeData.md +2 -6
  75. package/public/rjbuild/docs/core/reaction/removeData.yaml +40 -2
  76. package/public/rjbuild/docs/core/reaction/setClipboardData.md +0 -4
  77. package/public/rjbuild/docs/core/reaction/setClipboardData.yaml +10 -3
  78. package/public/rjbuild/docs/core/reaction/setData.md +0 -4
  79. package/public/rjbuild/docs/core/reaction/setData.yaml +25 -7
  80. package/public/rjbuild/docs/core/reaction/submitData.md +2 -3
  81. package/public/rjbuild/docs/core/reaction/submitData.yaml +43 -7
  82. package/public/rjbuild/docs/core/reaction/triggerEvent.md +0 -4
  83. package/public/rjbuild/docs/core/reaction/triggerEvent.yaml +25 -11
  84. package/public/rjbuild/docs/install.md +24 -24
@@ -1,32 +1,31 @@
1
1
  # DataFilter
2
2
 
3
- ## Introduction
4
-
5
3
  The `DataFilter` component allows you to filter data from the global or template context before rendering its content. It is particularly useful for conditional display of elements based on dynamic complex criteria, such as filtering lists, trees, or data subsets.
6
4
 
7
5
  ## Properties
8
- - `filters` (array, required): Array of filter objects, each specifying properties and conditions to check
9
- - `subjectsWithProperty` (string): Property to check in the data, acts as namespace
10
- - `andConditions` (array): List of conditions that must all be true
11
- - `orConditions` (array): List of conditions where at least one must be true
6
+ - `filters` (array, required): Array of filter objects, each specifying properties and conditions to check:
7
+ - `subjectsWithProperty` (string): Property to check in the data, acts as namespace.
8
+ - `andConditions` (array): List of conditions that must all be true.
9
+ - `orConditions` (array): List of conditions where at least one must be true.
12
10
  - Available conditions:
13
- - `when`: Checks a condition on a value
14
- - `is`: Compares exact equality
15
- - `isNot`: Checks inequality
16
- - `isEmpty`: Checks if a value is empty
17
- - `contains`: Checks if a value contains a substring
18
- - `>=`, `<=`, `>`, `<`: Numeric comparisons
19
- - `compareAsDates`: Boolean to compare values as dates
20
- - `whenFilterableData`: Specifies the data path to filter, must include the namespace
21
- - `context` (string, optional): Context to filter (`global` or `template`). Default: `global`
22
- - `content` (object/array, required): Content to render after filtering
11
+ - `when`: Checks a condition on a value.
12
+ - `is`: Compares exact equality.
13
+ - `isNot`: Checks inequality.
14
+ - `isEmpty`: Checks if a value is empty.
15
+ - `isNotEmpty`: Checks if a value is not empty.
16
+ - `contains`: Checks if a value contains a substring.
17
+ - `>=`, `<=`, `>`, `<`: Numeric comparisons.
18
+ - `compareAsDates`: Boolean to compare values as dates.
19
+ - `whenFilterableData`: Specifies the data path to filter, must include the namespace.
20
+ - `context` (string, optional): Context to filter (`global` or `template`). Default: `global`.
21
+ - `content` (object/array, required): Content to render after filtering.
23
22
 
24
23
  ## Behavior
25
- - Applies all filters to the selected context before content rendering
26
- - Supports complex filtering conditions with `andConditions` and `orConditions`
27
- - Allows recursive filtering while preserving data structure
28
- - Can be combined with other components to create interactive filtering interfaces
29
- - Supports dynamic filtering based on application state
24
+ - Applies all filters to the selected context before content rendering.
25
+ - Supports complex filtering conditions with `andConditions` and `orConditions`.
26
+ - Allows recursive filtering while preserving data structure.
27
+ - Can be combined with other components to create interactive filtering interfaces.
28
+ - Supports dynamic filtering based on application state.
30
29
 
31
30
  ## Filterable Data Structure
32
31
 
@@ -59,10 +58,10 @@ filters:
59
58
  ```
60
59
 
61
60
  The identification key (here "item"):
62
- - Can have any name (`itemXyz`, `element`, etc.)
63
- - Must be consistent between data structure and conditions
64
- - Serves as a namespace for accessing properties in `whenFilterableData`
65
- - Is required for DataFilter to correctly identify filterable elements
61
+ - Can have any name (`itemXyz`, `element`, etc.).
62
+ - Must be consistent between data structure and conditions.
63
+ - Serves as a namespace for accessing properties in `whenFilterableData`.
64
+ - Is required for DataFilter to correctly identify filterable elements.
66
65
 
67
66
  ## Example
68
67
 
@@ -127,23 +126,23 @@ data:
127
126
  ```
128
127
 
129
128
  ## Advanced Use Cases
130
- - Multi-criteria filtering with combined conditions
131
- - Real-time search interface
132
- - Hierarchical data filtering (trees, sub-elements)
133
- - Complex state management (conflicts, modifications, new elements)
134
- - Integration with pagination components
135
- - Date-based filtering and numeric comparisons
129
+ - Multi-criteria filtering with combined conditions.
130
+ - Real-time search interface.
131
+ - Hierarchical data filtering (trees, sub-elements).
132
+ - Complex state management (conflicts, modifications, new elements).
133
+ - Integration with pagination components.
134
+ - Date-based filtering and numeric comparisons.
136
135
 
137
136
  ## Best Practices
138
- - Organize filters by logical category
139
- - Use comments to document complex conditions
140
- - Combine with UI components for interactive experience
141
- - Consider performance with large datasets
142
- - Use reusable templates for common filters
143
- - Use consistent namespace patterns across your application
137
+ - Organize filters by logical category.
138
+ - Use comments to document complex conditions.
139
+ - Combine with UI components for interactive experience.
140
+ - Consider performance with large datasets.
141
+ - Use reusable templates for common filters.
142
+ - Use consistent namespace patterns across your application.
144
143
 
145
144
  ## Limitations
146
- - Filtering is based on simple comparisons
147
- - Performance may be impacted with very large datasets
148
- - Does not support custom filtering functions
149
- - Filtering is applied recursively on the entire structure
145
+ - Filtering is based on simple comparisons.
146
+ - Performance may be impacted with very large datasets.
147
+ - Does not support custom filtering functions.
148
+ - Filtering is applied recursively on the entire structure.
@@ -6,35 +6,71 @@ renderView:
6
6
  The `DataFilter` component allows you to filter data from the global or template context before rendering its content. It is particularly useful for conditional display of elements based on dynamic complex criteria, such as filtering lists, trees, or data subsets.
7
7
 
8
8
  ## Properties
9
- - `filters` (array, required): Array of filter objects, each specifying properties and conditions to check
10
- - `subjectsWithProperty` (string): Property to check in the data, acts as namespace
11
- - `andConditions` (array): List of conditions that must all be true
12
- - `orConditions` (array): List of conditions where at least one must be true
13
- - Available conditions:
14
- - `when`: Checks a condition on a value
15
- - `is`: Compares exact equality
16
- - `isNot`: Checks inequality
17
- - `isEmpty`: Checks if a value is empty
18
- - `contains`: Checks if a value contains a substring
19
- - `>=`, `<=`, `>`, `<`: Numeric comparisons
20
- - `compareAsDates`: Boolean to compare values as dates
21
- - `whenFilterableData`: Specifies the data path to filter, must include the namespace
22
- - `context` (string, optional): Context to filter (`global` or `template`). Default: `global`
23
- - `content` (object/array, required): Content to render after filtering
24
9
 
10
+ - type: DefinitionList
11
+ content:
12
+ - term:
13
+ code: filters
14
+ after: "(array, required)"
15
+ details:
16
+ - type: Markdown
17
+ content: "Array of filter objects, each specifying properties and conditions to check:"
18
+ - type: DefinitionList
19
+ content:
20
+ - term:
21
+ code: subjectsWithProperty
22
+ after: "(string)"
23
+ details: Property to check in the data, acts as namespace.
24
+ - term:
25
+ code: andConditions
26
+ after: "(array)"
27
+ details: List of conditions that must all be true.
28
+ - term:
29
+ code: orConditions
30
+ after: "(array)"
31
+ details: List of conditions where at least one must be true.
32
+ - term:
33
+ code: availableConditions
34
+ after: "(info)"
35
+ details:
36
+ type: Markdown
37
+ content: |
38
+ Available condition keys inside conditions objects:
39
+ - `when`: Checks a condition on a value.
40
+ - `is`: Compares exact equality.
41
+ - `isNot`: Checks inequality.
42
+ - `isEmpty`: Checks if a value is empty.
43
+ - `isNotEmpty`: Checks if a value is not empty.
44
+ - `contains`: Checks if a value contains a substring.
45
+ - `>=`, `<=`, `>`, `<`: Numeric comparisons.
46
+ - `compareAsDates`: Boolean to compare values as dates.
47
+ - `whenFilterableData`: Specifies the data path to filter, must include the namespace.
48
+ - term:
49
+ code: context
50
+ after: "(string, optional)"
51
+ details:
52
+ type: Markdown
53
+ content: "Context to filter (`global` or `template`). Default: `global`."
54
+ - term:
55
+ code: content
56
+ after: "(object|array, required)"
57
+ details: Content to render after filtering.
58
+
59
+ - type: Markdown
60
+ content: |
25
61
  ## Behavior
26
- - Applies all filters to the selected context before content rendering
27
- - Supports complex filtering conditions with `andConditions` and `orConditions`
28
- - Allows recursive filtering while preserving data structure
29
- - Can be combined with other components to create interactive filtering interfaces
62
+ - Applies all filters to the selected context before content rendering.
63
+ - Supports complex filtering conditions with `andConditions` and `orConditions`.
64
+ - Allows recursive filtering while preserving data structure.
65
+ - Can be combined with other components to create interactive filtering interfaces.
30
66
  - Supports dynamic filtering based on application state
31
67
 
32
68
  ## Filterable Data Structure
33
-
69
+
34
70
  DataFilter uses a specific pattern to identify and filter data. This pattern relies on an identification key (namespace) that must be consistent between the data structure and filtering conditions.
35
-
71
+
36
72
  ### Namespace Pattern
37
-
73
+
38
74
  1. **In the data structure**:
39
75
  ```yaml
40
76
  data:
@@ -46,7 +82,7 @@ renderView:
46
82
  id: 2
47
83
  title: "..."
48
84
  ```
49
-
85
+
50
86
  2. **In filtering conditions**:
51
87
  ```yaml
52
88
  type: DataFilter
@@ -58,12 +94,12 @@ renderView:
58
94
  - whenFilterableData: item.title # <- Uses the namespace
59
95
  contains: "..."
60
96
  ```
61
-
97
+
62
98
  The identification key (here "item"):
63
- - Can have any name (`itemXyz`, `element`, etc.)
64
- - Must be consistent between data structure and conditions
65
- - Serves as a namespace for accessing properties in `whenFilterableData`
66
- - Is required for DataFilter to correctly identify filterable elements
99
+ - Can have any name (`itemXyz`, `element`, etc.).
100
+ - Must be consistent between data structure and conditions.
101
+ - Serves as a namespace for accessing properties in `whenFilterableData`.
102
+ - Is required for DataFilter to correctly identify filterable elements.
67
103
 
68
104
  - type: RjBuildDescriber
69
105
  title: Advanced Example
@@ -294,22 +330,22 @@ renderView:
294
330
  - type: Markdown
295
331
  content: |
296
332
  ## Advanced Use Cases
297
- - Multi-criteria filtering with combined conditions
298
- - Real-time search interface
299
- - Hierarchical data filtering (trees, sub-elements)
300
- - Complex state management (conflicts, modifications, new elements)
301
- - Integration with pagination components
302
- - Date-based filtering and numeric comparisons
333
+ - Multi-criteria filtering with combined conditions.
334
+ - Real-time search interface.
335
+ - Hierarchical data filtering (trees, sub-elements).
336
+ - Complex state management (conflicts, modifications, new elements).
337
+ - Integration with pagination components.
338
+ - Date-based filtering and numeric comparisons.
303
339
 
304
340
  ## Best Practices
305
- - Organize filters by logical category
306
- - Use comments to document complex conditions
307
- - Combine with UI components for interactive experience
308
- - Consider performance with large datasets
309
- - Use reusable templates for common filters
341
+ - Organize filters by logical category.
342
+ - Use comments to document complex conditions.
343
+ - Combine with UI components for interactive experience.
344
+ - Consider performance with large datasets.
345
+ - Use reusable templates for common filters.
310
346
 
311
347
  ## Limitations
312
- - Filtering is based on simple comparisons
313
- - Performance may be impacted with very large datasets
314
- - Does not support custom filtering functions
315
- - Filtering is applied recursively on the entire structure
348
+ - Filtering is based on simple comparisons.
349
+ - Performance may be impacted with very large datasets.
350
+ - Does not support custom filtering functions.
351
+ - Filtering is applied recursively on the entire structure.
@@ -1,21 +1,19 @@
1
1
  # DelayedActions
2
2
 
3
- ## Introduction
4
-
5
3
  The `DelayedActions` component allows you to execute one or more actions after a delay or at regular intervals. It is useful for implementing polling, periodic updates, or delayed reactions in your Reactive-JSON applications.
6
4
 
7
5
  ## Properties
8
- - `delayedActions` (array, required): Array of action objects to execute after the delay or at each interval
9
- - `interval` (number, required): The delay or interval in milliseconds between executions
10
- - `once` (boolean, optional): If true, actions are executed only once after the delay; if false (default), actions repeat at each interval
11
- - `content` (object/array, optional): Content to render inside the component
6
+ - `delayedActions` (array, required): Array of action objects to execute after the delay or at each interval.
7
+ - `interval` (number, required): The delay or interval in milliseconds between executions.
8
+ - `once` (boolean, optional): If true, actions are executed only once after the delay; if false (default), actions repeat at each interval.
9
+ - `content` (object/array, optional): Content to render inside the component.
12
10
 
13
11
  ## Behavior
14
- - Executes all actions in `delayedActions` after the specified delay or at each interval
15
- - If `once` is true, actions are executed only once; otherwise, they repeat at each interval
16
- - Actions are executed without requiring a user event (time is the trigger)
17
- - The component can render content, but the main purpose is to trigger actions
18
- - If `interval` is not provided, no actions are executed
12
+ - Executes all actions in `delayedActions` after the specified delay or at each interval.
13
+ - If `once` is true, actions are executed only once; otherwise, they repeat at each interval.
14
+ - Actions are executed without requiring a user event (time is the trigger).
15
+ - The component can render content, but the main purpose is to trigger actions.
16
+ - If `interval` is not provided, no actions are executed.
19
17
 
20
18
  ## Example
21
19
  ```yaml
@@ -45,7 +43,7 @@ data: {}
45
43
  ```
46
44
 
47
45
  ## Limitations
48
- - Only supports time-based triggering (no event-based delay)
49
- - All actions are executed in the order provided
50
- - No built-in error handling for action execution
51
- - If `interval` is missing or invalid, nothing happens
46
+ - Only supports time-based triggering (no event-based delay).
47
+ - All actions are executed in the order provided.
48
+ - No built-in error handling for action execution.
49
+ - If `interval` is missing or invalid, nothing happens.
@@ -6,17 +6,36 @@ renderView:
6
6
  The `DelayedActions` component allows you to execute one or more actions after a delay or at regular intervals. It is useful for implementing polling, periodic updates, or delayed reactions in your Reactive-JSON applications.
7
7
 
8
8
  ## Properties
9
- - `delayedActions` (array, required): Array of action objects to execute after the delay or at each interval
10
- - `interval` (number, required): The delay or interval in milliseconds between executions
11
- - `once` (boolean, optional): If true, actions are executed only once after the delay; if false (default), actions repeat at each interval
12
- - `content` (object/array, optional): Content to render inside the component
9
+
10
+ - type: DefinitionList
11
+ content:
12
+ - term:
13
+ code: delayedActions
14
+ after: "(array, required)"
15
+ details:
16
+ type: Markdown
17
+ content: "Array of action objects to execute after the delay or at each interval."
18
+ - term:
19
+ code: interval
20
+ after: "(number, required)"
21
+ details: "The delay or interval in milliseconds between executions."
22
+ - term:
23
+ code: once
24
+ after: "(boolean, optional)"
25
+ details:
26
+ type: Markdown
27
+ content: "If `true`, actions execute only once after the delay; if `false` (default), actions repeat at each interval."
28
+ - term:
29
+ code: content
30
+ after: "(object|array, optional)"
31
+ details: "Content to render inside the component."
13
32
 
14
33
  ## Behavior
15
- - Executes all actions in `delayedActions` after the specified delay or at each interval
16
- - If `once` is true, actions are executed only once; otherwise, they repeat at each interval
17
- - Actions are executed without requiring a user event (time is the trigger)
18
- - The component can render content, but the main purpose is to trigger actions
19
- - If `interval` is not provided, no actions are executed
34
+ - Executes all actions in `delayedActions` after the specified delay or at each interval.
35
+ - If `once` is true, actions are executed only once; otherwise, they repeat at each interval.
36
+ - Actions are executed without requiring a user event (time is the trigger).
37
+ - The component can render content, but the main purpose is to trigger actions.
38
+ - If `interval` is not provided, no actions are executed.
20
39
 
21
40
  - type: RjBuildDescriber
22
41
  title: Example
@@ -49,7 +68,7 @@ renderView:
49
68
  - type: Markdown
50
69
  content: |
51
70
  ## Limitations
52
- - Only supports time-based triggering (no event-based delay)
53
- - All actions are executed in the order provided
54
- - No built-in error handling for action execution
55
- - If `interval` is missing or invalid, nothing happens
71
+ - Only supports time-based triggering (no event-based delay).
72
+ - All actions are executed in the order provided.
73
+ - No built-in error handling for action execution.
74
+ - If `interval` is missing or invalid, nothing happens.
@@ -1,16 +1,14 @@
1
1
  # PageControls
2
2
 
3
- ## Introduction
4
-
5
3
  The `PageControls` component displays the pagination controls provided by the current `PaginationContext`. It is useful for rendering navigation controls (such as next/previous buttons or page numbers) in paginated lists or tables.
6
4
 
7
5
  ## Properties
8
- - (none)
6
+ None.
9
7
 
10
8
  ## Behavior
11
- - Renders the pagination controls from the current `PaginationContext` if available
12
- - If no pagination controls are present in the context, renders nothing
13
- - Intended to be used inside paginated views or lists
9
+ - Renders the pagination controls from the current `PaginationContext` if available.
10
+ - If no pagination controls are present in the context, renders nothing.
11
+ - Intended to be used inside paginated views or lists.
14
12
 
15
13
  ## Pagination Context
16
14
  The pagination context is provided by components like `Switch` when the `paginated` property is set to `true`.
@@ -120,7 +118,7 @@ data:
120
118
  ```
121
119
 
122
120
  ## Limitations
123
- - Only works if a `PaginationContext` is present and provides controls
124
- - Does not manage pagination state itself; only renders controls from the context
125
- - No customization of the controls via props
126
- - Entirely depends on the parent component (like Switch) for pagination logic
121
+ - Only works if a `PaginationContext` is present and provides controls.
122
+ - Does not manage pagination state itself; only renders controls from the context.
123
+ - No customization of the controls via props.
124
+ - Entirely depends on the parent component (like Switch) for pagination logic.
@@ -6,12 +6,13 @@ renderView:
6
6
  The `PageControls` component displays the pagination controls provided by the current `PaginationContext`. It is useful for rendering navigation controls (such as next/previous buttons or page numbers) in paginated lists or tables.
7
7
 
8
8
  ## Properties
9
- - (none)
9
+
10
+ None.
10
11
 
11
12
  ## Behavior
12
- - Renders the pagination controls from the current `PaginationContext` if available
13
- - If no pagination controls are present in the context, renders nothing
14
- - Intended to be used inside paginated views or lists
13
+ - Renders the pagination controls from the current `PaginationContext` if available.
14
+ - If no pagination controls are present in the context, renders nothing.
15
+ - Intended to be used inside paginated views or lists.
15
16
 
16
17
  ## Pagination Context
17
18
  The pagination context is provided by components like `Switch` when the `paginated` property is set to `true`.
@@ -123,10 +124,10 @@ renderView:
123
124
  - type: Markdown
124
125
  content: |
125
126
  ## Limitations
126
- - Only works if a `PaginationContext` is present and provides controls
127
- - Does not manage pagination state itself; only renders controls from the context
128
- - No customization of the controls via props
129
- - Entirely depends on the parent component (like Switch) for pagination logic
127
+ - Only works if a `PaginationContext` is present and provides controls.
128
+ - Does not manage pagination state itself; only renders controls from the context.
129
+ - No customization of the controls via props.
130
+ - Entirely depends on the parent component (like Switch) for pagination logic.
130
131
 
131
132
  templates:
132
133
 
@@ -1,18 +1,16 @@
1
1
  # Phantom
2
2
 
3
- ## Introduction
4
-
5
3
  The `Phantom` component allows you to define actions or logic in your rjbuild without rendering any DOM element. It is useful for triggering actions, conditions, or data manipulations invisibly, without affecting the visual structure of your application.
6
4
 
7
5
  ## Properties
8
- - `content` (object/array/string, optional): Content to evaluate or trigger (actions, conditions, etc.)
9
- - `actions` (array, optional): Actions to attach to the phantom logic (e.g., Tooltip)
6
+ - `content` (object/array/string, optional): Content to evaluate or trigger (actions, conditions, etc.).
7
+ - `actions` (array, optional): Actions to attach to the phantom logic (e.g., Tooltip).
10
8
 
11
9
  ## Behavior
12
- - Does not render any visible DOM element
13
- - Can be used to attach actions, conditions, or data manipulations without UI
14
- - The `content` property can include any valid Reactive-JSON view, action, or string
15
- - The `actions` property allows you to attach logic such as tooltips or data updates
10
+ - Does not render any visible DOM element.
11
+ - Can be used to attach actions, conditions, or data manipulations without UI.
12
+ - The `content` property can include any valid Reactive-JSON view, action, or string.
13
+ - The `actions` property allows you to attach logic such as tooltips or data updates.
16
14
 
17
15
  ## Example
18
16
  ```yaml
@@ -26,6 +24,6 @@ renderView:
26
24
  ```
27
25
 
28
26
  ## Limitations
29
- - Does not produce any visible output in the DOM
30
- - Only useful for logic, actions, or invisible data manipulations
31
- - Not intended for displaying content to the user
27
+ - Does not produce any visible output in the DOM.
28
+ - Only useful for logic, actions, or invisible data manipulations.
29
+ - Not intended for displaying content to the user.
@@ -6,14 +6,27 @@ renderView:
6
6
  The `Phantom` component allows you to define actions or logic in your rjbuild without rendering any DOM element. It is useful for triggering actions, conditions, or data manipulations invisibly, without affecting the visual structure of your application.
7
7
 
8
8
  ## Properties
9
- - `content` (object/array/string, optional): Content to evaluate or trigger (actions, conditions, etc.)
10
- - `actions` (array, optional): Actions to attach to the phantom logic (e.g., Tooltip)
11
9
 
10
+ - type: DefinitionList
11
+ content:
12
+ - term:
13
+ code: content
14
+ after: "(object|array|string, optional)"
15
+ details:
16
+ type: Markdown
17
+ content: "Content to evaluate or trigger (actions, conditions, etc.)."
18
+ - term:
19
+ code: actions
20
+ after: "(array, optional)"
21
+ details: "Actions to attach to the phantom logic (e.g., Tooltip)."
22
+
23
+ - type: Markdown
24
+ content: |
12
25
  ## Behavior
13
- - Does not render any visible DOM element
14
- - Can be used to attach actions, conditions, or data manipulations without UI
15
- - The `content` property can include any valid Reactive-JSON view, action, or string
16
- - The `actions` property allows you to attach logic such as tooltips or data updates
26
+ - Does not render any visible DOM element.
27
+ - Can be used to attach actions, conditions, or data manipulations without UI.
28
+ - The `content` property can include any valid Reactive-JSON view, action, or string.
29
+ - The `actions` property allows you to attach logic such as tooltips or data updates.
17
30
 
18
31
  - type: RjBuildDescriber
19
32
  title: Example
@@ -29,6 +42,6 @@ renderView:
29
42
  - type: Markdown
30
43
  content: |
31
44
  ## Limitations
32
- - Does not produce any visible output in the DOM
33
- - Only useful for logic, actions, or invisible data manipulations
34
- - Not intended for displaying content to the user
45
+ - Does not produce any visible output in the DOM.
46
+ - Only useful for logic, actions, or invisible data manipulations.
47
+ - Not intended for displaying content to the user.
@@ -1,7 +1,5 @@
1
1
  # ReactiveJsonSubroot
2
2
 
3
- ## Introduction
4
-
5
3
  The `ReactiveJsonSubroot` component allows you to render a new Reactive-JSON root inside an existing application. It is useful for embedding a sub-application, isolating a part of the data tree, or rendering a separate rjbuild with its own options.
6
4
 
7
5
  With the `sharedUpdates` feature, the component can also propagate data changes back to the parent, enabling seamless communication between parent and subroot when working with shared data references.
@@ -60,15 +58,15 @@ When `sharedUpdates: true` is enabled, the component automatically detects templ
60
58
 
61
59
  ### Supported vs Unsupported Cases
62
60
 
63
- #### Supported cases
61
+ #### Supported cases
64
62
 
65
- ##### 1. Direct reference
63
+ ##### Direct reference
66
64
  ```yaml
67
65
  dataOverride: ~~.user
68
66
  # Modifications in the subroot propagate to "user" in the parent
69
67
  ```
70
68
 
71
- ##### 2. Object mapping with references
69
+ ##### Object mapping with references
72
70
  ```yaml
73
71
  dataOverride:
74
72
  userInfo: ~~.user
@@ -77,19 +75,19 @@ dataOverride:
77
75
  # Modifications to "settings" propagate to "config" in the parent
78
76
  ```
79
77
 
80
- ##### 3. Local references
78
+ ##### Local references
81
79
  ```yaml
82
80
  dataOverride: ~.localData
83
81
  # Modifications propagate to the local template context
84
82
  ```
85
83
 
86
- ##### 4. Hierarchical references
84
+ ##### Hierarchical references
87
85
  ```yaml
88
86
  dataOverride: ~>key.someData
89
87
  # Modifications propagate up the template hierarchy
90
88
  ```
91
89
 
92
- ##### 5. Arrays in dataOverride
90
+ ##### Arrays in dataOverride
93
91
  ```yaml
94
92
  dataOverride:
95
93
  - ~~.firstItem
@@ -97,7 +95,7 @@ dataOverride:
97
95
  # Array items with template references are properly handled
98
96
  ```
99
97
 
100
- #### Unsupported cases
98
+ #### Unsupported cases
101
99
 
102
100
  ##### Nested references in data
103
101
  ```yaml