powerpagestoolkit 2.5.401 → 2.5.402

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 +10 -3
  2. package/package.json +1 -4
package/README.md CHANGED
@@ -140,11 +140,18 @@ node.enable();
140
140
  ```typescript
141
141
  // LABEL AND INFO OPERATIONS
142
142
  const label = node.getLabel();
143
- node.appendToLabel(infoElement);
144
143
  // appends a tooltip to the label associated with the element targeted by 'this'
145
- node.addLabelTooltip("Helper text");
144
+ node.addLabelTooltip(
145
+ "Helper text",
146
+ /* Optionally pass in css styles to customize the tooltip icon*/
147
+ { color: "orange", fontSize: "30px" }
148
+ );
146
149
  // appends a tooltip directly to the element targeted by 'this'
147
- node.addTooltip("Inline helper");
150
+ node.addTooltip(
151
+ "Inline helper",
152
+ /* Optionally pass in css styles to customize the tooltip icon*/
153
+ { color: "orange", fontSize: "30px" }
154
+ );
148
155
  ```
149
156
 
150
157
  ### DataVerse API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerpagestoolkit",
3
- "version": "2.5.401",
3
+ "version": "2.5.402",
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/bundle.js",
6
6
  "types": "./dist/index.d.ts",
@@ -72,8 +72,5 @@
72
72
  "./style.css": {
73
73
  "import": "./dist/bundle.css"
74
74
  }
75
- },
76
- "dependencies": {
77
- "powerpagestoolkit": "^2.3.4"
78
75
  }
79
76
  }