ontotext-yasgui-web-component 1.8.3 → 1.8.4

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.
package/README.md CHANGED
@@ -182,6 +182,7 @@ The "config" value of "ngce-prop-config" or "[config]" is an object with followi
182
182
  - closes_other_tabs_by_left_mouse_click
183
183
  - full_screen
184
184
  - esc
185
+ - move_focus_out_of_editor (only the description in the dialog; Esc followed by Tab or Shift+Tab always moves the focus out of the editor)
185
186
  - **themeName** (optional): Specifies the theme that YASQE should use:
186
187
  - Must match a theme name recognized by CodeMirror (e.g., `dracula`, `monokai`). Theme CSS is required CodeMirror
187
188
  themes are entirely CSS-based, so the corresponding CSS must be loaded via `<link>`, import, or injected `<style>`
@@ -204,6 +205,25 @@ The "config" value of "ngce-prop-config" or "[config]" is an object with followi
204
205
  - Fallback behavior: If themeName is not provided or the required CSS rules for that theme are missing,
205
206
  CodeMirror/YASQE will automatically fall back to the default theme to ensure the editor remains readable.
206
207
 
208
+ ### Styling
209
+
210
+ The keyboard focus outline of the component can be styled with CSS variables:
211
+
212
+ | Variable | Default |
213
+ |------------------------------|-----------|
214
+ | `--yasgui-focus-ring-color` | `#000042` |
215
+ | `--yasgui-focus-ring-width` | `2px` |
216
+ | `--yasgui-focus-ring-style` | `solid` |
217
+ | `--yasgui-focus-ring-offset` | `2px` |
218
+
219
+ The add tab button draws the outline inside, because the tab panel overlaps it, so it ignores `--yasgui-focus-ring-offset`.
220
+
221
+ ```CSS
222
+ ontotext-yasgui {
223
+ --yasgui-focus-ring-color: #1a73e8;
224
+ }
225
+ ```
226
+
207
227
  ### ontotext version and GraphDB Version Compatibility
208
228
 
209
229
  | ontotext-yasgui-web-component | Workbench | GraphDB Version |