@optionfactory/fml 9.0.0-rc3 → 9.0.0-rc5

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.
@@ -3,11 +3,19 @@
3
3
  "tags": [
4
4
  {
5
5
  "name": "ful-tooltip",
6
- "description": "An info affordance: a themed icon button toggling a small popover with a short explanation, opened by click and by keyboard like a button, dismissed by Escape or an outside click. placement picks the side the note sits on: bottom (default), top, left or right.",
6
+ "description": "An info affordance: a themed icon button toggling a small popover with a short explanation, opened by click and by keyboard like a button, dismissed by Escape or an outside click. placement picks the side the note sits on: top (default), bottom, left or right.",
7
7
  "attributes": [
8
8
  {
9
9
  "name": "placement",
10
- "description": "Which side of the trigger the note opens on: bottom (the default), top, start or end. The library places the note itself on every platform, so the side is the same everywhere. (string)"
10
+ "description": "Which side of the trigger the note opens on: top (the default), bottom, left or right. Above by default because a note opening downwards covers the control the marker explains. The library places the note itself on every platform, so the side is the same everywhere. (string)"
11
+ },
12
+ {
13
+ "name": "icon",
14
+ "description": "The ful-icon the marker shows, for a tooltip meaning something other than plain information. Defaults to the page's Tooltip.config.icon; a name the library does not paint is declared by the page as ful-icon[name='...'] { mask-image: ... }. (string)"
15
+ },
16
+ {
17
+ "name": "describes",
18
+ "description": "For a tooltip standing in a field: the note joins the accessible description of that field's control, announced on reaching the field rather than only on opening the marker, and the marker leaves the tab order so a form of hinted fields costs no extra keystrokes to walk. The marker stays clickable, and keeps its tab stop wherever nothing took the note. (boolean)"
11
19
  }
12
20
  ]
13
21
  },
@@ -18,6 +26,10 @@
18
26
  {
19
27
  "name": "header",
20
28
  "description": "The dialog's title, shown in its header. Text only; slot content into the body instead for anything richer. (string)"
29
+ },
30
+ {
31
+ "name": "requires-answer",
32
+ "description": "For the dialog that must be answered: the close button is not rendered and Escape is refused, so the only way out is a button carrying a result. Both, since a close button withheld while Escape still worked would be decoration rather than a rule. (boolean)"
21
33
  }
22
34
  ]
23
35
  },
@@ -1,22 +1,38 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@optionfactory/fml",
4
- "version": "9.0.0-rc3",
4
+ "version": "9.0.0-rc5",
5
5
  "description-markup": "none",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "ful-tooltip",
11
- "description": "An info affordance: a themed icon button toggling a small popover with a short explanation, opened by click and by keyboard like a button, dismissed by Escape or an outside click. placement picks the side the note sits on: bottom (default), top, left or right.",
11
+ "description": "An info affordance: a themed icon button toggling a small popover with a short explanation, opened by click and by keyboard like a button, dismissed by Escape or an outside click. placement picks the side the note sits on: top (default), bottom, left or right.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "placement",
15
- "description": "Which side of the trigger the note opens on: bottom (the default), top, start or end. The library places the note itself on every platform, so the side is the same everywhere.",
15
+ "description": "Which side of the trigger the note opens on: top (the default), bottom, left or right. Above by default because a note opening downwards covers the control the marker explains. The library places the note itself on every platform, so the side is the same everywhere.",
16
16
  "value": {
17
17
  "kind": "plain",
18
18
  "type": "string"
19
19
  }
20
+ },
21
+ {
22
+ "name": "icon",
23
+ "description": "The ful-icon the marker shows, for a tooltip meaning something other than plain information. Defaults to the page's Tooltip.config.icon; a name the library does not paint is declared by the page as ful-icon[name='...'] { mask-image: ... }.",
24
+ "value": {
25
+ "kind": "plain",
26
+ "type": "string"
27
+ }
28
+ },
29
+ {
30
+ "name": "describes",
31
+ "description": "For a tooltip standing in a field: the note joins the accessible description of that field's control, announced on reaching the field rather than only on opening the marker, and the marker leaves the tab order so a form of hinted fields costs no extra keystrokes to walk. The marker stays clickable, and keeps its tab stop wherever nothing took the note.",
32
+ "value": {
33
+ "kind": "plain",
34
+ "type": "boolean"
35
+ }
20
36
  }
21
37
  ],
22
38
  "slots": [
@@ -38,6 +54,14 @@
38
54
  "kind": "plain",
39
55
  "type": "string"
40
56
  }
57
+ },
58
+ {
59
+ "name": "requires-answer",
60
+ "description": "For the dialog that must be answered: the close button is not rendered and Escape is refused, so the only way out is a button carrying a result. Both, since a close button withheld while Escape still worked would be decoration rather than a rule.",
61
+ "value": {
62
+ "kind": "plain",
63
+ "type": "boolean"
64
+ }
41
65
  }
42
66
  ],
43
67
  "slots": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optionfactory/fml",
3
- "version": "9.0.0-rc3",
3
+ "version": "9.0.0-rc5",
4
4
  "type": "module",
5
5
  "main": "./dist/fml.mjs",
6
6
  "module": "./dist/fml.mjs",