powerpagestoolkit 1.3.201 → 1.3.202

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 (2) hide show
  1. package/README.md +2 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -114,12 +114,12 @@ configureConditionalRendering(
114
114
  /**
115
115
  * Sets up validation and requirement rules for the field. This function dynamically updates the field's required status and validates its input based on the specified conditions.
116
116
  *
117
- * @param {function(this: DOMNodeReference): boolean} isRequired - A function that determines
117
+ * @param {function(this: DOMNodeReference): boolean} isRequired - A function that determines
118
118
  * whether the field should be required. Returns `true` if required, `false` otherwise.
119
119
  * @param {function(this: DOMNodeReference): boolean} isValid - A function that checks if the field's
120
120
  * input is valid. Returns `true` if valid, `false` otherwise.
121
121
  * @param {string} fieldDisplayName - The name of the field, used in error messages if validation fails.
122
- * @param {Array<DOMNodeReference>} [dependencies] Other fields that this field’s requirement depends on.
122
+ * @param {Array<DOMNodeReference>} [dependencies] Other fields that this field’s requirement depends on.
123
123
  * When these Nodes or their values change, the required status of this field is re-evaluated.
124
124
  * Make sure any DOMNodeReference used in `isRequired` or `isValid` is included in this array.
125
125
  */
@@ -188,9 +188,6 @@ on(eventType: string, eventHandler: (this: DOMNodeReference) => void)
188
188
  // Unchecks both yes and no radio buttons if they exist.
189
189
  uncheckRadios()
190
190
 
191
- //Creates a validation instance for the field.
192
- createValidation(evaluationFunction: () => boolean, fieldDisplayName: string)
193
-
194
191
  // Adds a tooltip to the label associated with the HTML element.
195
192
  addLabelTooltip(text: string)
196
193
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerpagestoolkit",
3
- "version": "1.3.201",
3
+ "version": "1.3.202",
4
4
  "description": "Reference, manipulate, and engage with Power Pages sites through the nodes in the DOM; use a variety of custom methods that allow customizing your power pages site quicker and easier. ",
5
5
  "main": "./dist/index.bundle.js",
6
6
  "types": "index.d.ts",