ontotext-yasgui-web-component 1.8.3 → 1.8.5
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 +20 -0
- package/dist/cjs/confirmation-dialog_10.cjs.entry.js +84 -6
- package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.css +11 -0
- package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.js +6 -1
- package/dist/collection/components/yasgui/yasgui-script.js +1 -1
- package/dist/collection/models/keyboard-shortcut-description.js +1 -0
- package/dist/collection/services/keyboard-shortcut-service.js +11 -0
- package/dist/collection/services/yasqe/yasqe-service.js +53 -0
- package/dist/components/ontotext-yasgui.js +73 -3
- package/dist/components/translation.service.js +11 -3
- package/dist/esm/confirmation-dialog_10.entry.js +84 -6
- package/dist/ontotext-yasgui-web-component/ontotext-yasgui-web-component.esm.js +1 -1
- package/dist/ontotext-yasgui-web-component/{p-cace841c.entry.js → p-2bf14257.entry.js} +3 -3
- package/dist/types/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.d.ts +1 -0
- package/dist/types/home/ubuntu/workspace/PRO/GraphDB UI Jobs/ontotext-yasgui/ontotext-yasgui-release/ontotext-yasgui-web-component/.stencil/Yasgui/packages/yasqe/grammar/tokenizer.d.ts +4 -1
- package/dist/types/models/keyboard-shortcut-description.d.ts +2 -1
- package/dist/types/models/yasgui/yasqe.d.ts +2 -0
- package/dist/types/services/keyboard-shortcut-service.d.ts +1 -0
- package/dist/types/services/yasqe/yasqe-service.d.ts +15 -0
- package/package.json +1 -1
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 |
|