hdoc-tools 0.19.1 → 0.19.2

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/package.json +1 -1
  2. package/ui/index.html +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {
package/ui/index.html CHANGED
@@ -37,6 +37,17 @@
37
37
  </style>
38
38
  <script>
39
39
 
40
+ class APIParamName extends HTMLElement {
41
+ constructor() {
42
+ super();
43
+ // GS: Use this to set a role on the element for ARIO screen-reader directives
44
+ this.setAttribute("role", "title");
45
+ }
46
+ // Element functionality written in here
47
+ }
48
+ customElements.define("api-param-name", APIParamName);
49
+
50
+
40
51
  var ThemePreference = localStorage.getItem('hdocbook-theme-appearance') || '';
41
52
  const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches
42
53
  if (!ThemePreference || ThemePreference === 'auto' ? prefersDark : ThemePreference === 'dark') {