@fusion.dev/helix-core 0.53.2 → 0.53.3
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/custom-elements.json +11 -11
- package/dist/events/events.d.ts +3 -3
- package/dist/mixins/mixin-controller-active/mixin-controller-active.d.ts +1 -1
- package/dist/mixins/mixin-controller-checked/mixin-controller-checked.d.ts +1 -1
- package/dist/mixins/mixin-controller-open/mixin-controller-open.d.ts +1 -1
- package/dist/mixins/mixin-controller-value/mixin-controller-value.d.ts +2 -2
- package/package.json +4 -4
package/custom-elements.json
CHANGED
|
@@ -2982,7 +2982,7 @@
|
|
|
2982
2982
|
},
|
|
2983
2983
|
{
|
|
2984
2984
|
"kind": "class",
|
|
2985
|
-
"description": "Fired when something a user comes back to is marked read, or unread.\n\n**Read state is reported rather than owned.** Marking a notification read is\nusually a round trip, and a component that flips the state itself and then\nhears the request failed has already told the reader something untrue. So this\nis cancelable, and refusing it leaves the item alone;
|
|
2985
|
+
"description": "Fired when something a user comes back to is marked read, or unread.\n\n**Read state is reported rather than owned.** Marking a notification read is\nusually a round trip, and a component that flips the state itself and then\nhears the request failed has already told the reader something untrue. So this\nis cancelable, and refusing it leaves the item alone; the component applies\nit once nobody has refused, which is the same contract every other axis in\nthe library uses.\n\nBubbles and is composed, so a feed hears its own items: one handler on the\nlist serves every notification in it, which is what a consumer syncing to a\nserver actually wants.",
|
|
2986
2986
|
"name": "HelixReadEvent",
|
|
2987
2987
|
"members": [
|
|
2988
2988
|
{
|
|
@@ -6687,7 +6687,7 @@
|
|
|
6687
6687
|
"type": {
|
|
6688
6688
|
"text": "string"
|
|
6689
6689
|
},
|
|
6690
|
-
"description": "
|
|
6690
|
+
"description": "Which item the markup declared current. Ignored once `active` is written."
|
|
6691
6691
|
},
|
|
6692
6692
|
{
|
|
6693
6693
|
"kind": "method",
|
|
@@ -6750,7 +6750,7 @@
|
|
|
6750
6750
|
"text": "string"
|
|
6751
6751
|
},
|
|
6752
6752
|
"default": "''",
|
|
6753
|
-
"description": "
|
|
6753
|
+
"description": "Which item the markup declared current.\n\nIgnored once `active` is written.",
|
|
6754
6754
|
"attribute": "default-active"
|
|
6755
6755
|
},
|
|
6756
6756
|
{
|
|
@@ -6842,7 +6842,7 @@
|
|
|
6842
6842
|
"text": "string"
|
|
6843
6843
|
},
|
|
6844
6844
|
"default": "''",
|
|
6845
|
-
"description": "
|
|
6845
|
+
"description": "Which item the markup declared current.\n\nIgnored once `active` is written.",
|
|
6846
6846
|
"fieldName": "defaultActive"
|
|
6847
6847
|
}
|
|
6848
6848
|
],
|
|
@@ -6898,7 +6898,7 @@
|
|
|
6898
6898
|
"type": {
|
|
6899
6899
|
"text": "boolean"
|
|
6900
6900
|
},
|
|
6901
|
-
"description": "
|
|
6901
|
+
"description": "Whether the markup declared it checked, which is where a reset returns to."
|
|
6902
6902
|
},
|
|
6903
6903
|
{
|
|
6904
6904
|
"kind": "method",
|
|
@@ -6962,7 +6962,7 @@
|
|
|
6962
6962
|
"text": "boolean"
|
|
6963
6963
|
},
|
|
6964
6964
|
"default": "false",
|
|
6965
|
-
"description": "
|
|
6965
|
+
"description": "Whether the markup declared it checked, which is where a reset returns to.",
|
|
6966
6966
|
"attribute": "default-checked"
|
|
6967
6967
|
},
|
|
6968
6968
|
{
|
|
@@ -7055,7 +7055,7 @@
|
|
|
7055
7055
|
"text": "boolean"
|
|
7056
7056
|
},
|
|
7057
7057
|
"default": "false",
|
|
7058
|
-
"description": "
|
|
7058
|
+
"description": "Whether the markup declared it checked, which is where a reset returns to.",
|
|
7059
7059
|
"fieldName": "defaultChecked"
|
|
7060
7060
|
}
|
|
7061
7061
|
],
|
|
@@ -7103,7 +7103,7 @@
|
|
|
7103
7103
|
"type": {
|
|
7104
7104
|
"text": "boolean"
|
|
7105
7105
|
},
|
|
7106
|
-
"description": "
|
|
7106
|
+
"description": "Whether the markup declared it open. Ignored once `open` is written."
|
|
7107
7107
|
},
|
|
7108
7108
|
{
|
|
7109
7109
|
"kind": "field",
|
|
@@ -7165,7 +7165,7 @@
|
|
|
7165
7165
|
"text": "boolean"
|
|
7166
7166
|
},
|
|
7167
7167
|
"default": "false",
|
|
7168
|
-
"description": "
|
|
7168
|
+
"description": "Whether the markup declared it open. Ignored once `open` is written.",
|
|
7169
7169
|
"attribute": "default-open"
|
|
7170
7170
|
},
|
|
7171
7171
|
{
|
|
@@ -7241,7 +7241,7 @@
|
|
|
7241
7241
|
"text": "boolean"
|
|
7242
7242
|
},
|
|
7243
7243
|
"default": "false",
|
|
7244
|
-
"description": "
|
|
7244
|
+
"description": "Whether the markup declared it open. Ignored once `open` is written.",
|
|
7245
7245
|
"fieldName": "defaultOpen"
|
|
7246
7246
|
}
|
|
7247
7247
|
],
|
|
@@ -7307,7 +7307,7 @@
|
|
|
7307
7307
|
},
|
|
7308
7308
|
"privacy": "protected",
|
|
7309
7309
|
"readonly": true,
|
|
7310
|
-
"description": "Whether every edit is announced, rather than every settled value.\n\nA control the reader types or drags in moves continuously, and the platform\ncalls that `input`: `<input type=\"text\">` fires one per keystroke and fires\n`change` once, on commit.
|
|
7310
|
+
"description": "Whether every edit is announced, rather than every settled value.\n\nA control the reader types or drags in moves continuously, and the platform\ncalls that `input`: `<input type=\"text\">` fires one per keystroke and fires\n`change` once, on commit. A few of the controls here are that shape, and\nthe rest change in discrete steps where a step *is* the change.\n\nIt selects the event rather than the timing. `requestValue` is called\nwhenever the value moves either way; this decides whether the control sends\n`input` alone or `input` and `change` together."
|
|
7311
7311
|
},
|
|
7312
7312
|
{
|
|
7313
7313
|
"kind": "method",
|
package/dist/events/events.d.ts
CHANGED
|
@@ -598,9 +598,9 @@ export declare class HelixSendEvent extends CustomEvent<SendDetail> {
|
|
|
598
598
|
* **Read state is reported rather than owned.** Marking a notification read is
|
|
599
599
|
* usually a round trip, and a component that flips the state itself and then
|
|
600
600
|
* hears the request failed has already told the reader something untrue. So this
|
|
601
|
-
* is cancelable, and refusing it leaves the item alone;
|
|
602
|
-
*
|
|
603
|
-
*
|
|
601
|
+
* is cancelable, and refusing it leaves the item alone; the component applies
|
|
602
|
+
* it once nobody has refused, which is the same contract every other axis in
|
|
603
|
+
* the library uses.
|
|
604
604
|
*
|
|
605
605
|
* Bubbles and is composed, so a feed hears its own items: one handler on the
|
|
606
606
|
* list serves every notification in it, which is what a consumer syncing to a
|
|
@@ -16,7 +16,7 @@ export declare class MixinControllerActiveInterface {
|
|
|
16
16
|
* decision refuses the `helix-before-activate`.
|
|
17
17
|
*/
|
|
18
18
|
active: string;
|
|
19
|
-
/**
|
|
19
|
+
/** Which item the markup declared current. Ignored once `active` is written. */
|
|
20
20
|
defaultActive: string;
|
|
21
21
|
/** Requests a new current item, and reports whether the request stood. */
|
|
22
22
|
requestActive(next: string): boolean;
|
|
@@ -16,7 +16,7 @@ export declare class MixinControllerCheckedInterface {
|
|
|
16
16
|
* decision refuses the `helix-before-toggle`.
|
|
17
17
|
*/
|
|
18
18
|
checked: boolean;
|
|
19
|
-
/**
|
|
19
|
+
/** Whether the markup declared it checked, which is where a reset returns to. */
|
|
20
20
|
defaultChecked: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* Requests a checked change, and reports whether it was applied.
|
|
@@ -8,7 +8,7 @@ type Constructor<T> = new (...args: any[]) => T;
|
|
|
8
8
|
* to this interface keeps the internals private and the build working.
|
|
9
9
|
*/
|
|
10
10
|
export declare class MixinControllerOpenInterface {
|
|
11
|
-
/**
|
|
11
|
+
/** Whether the markup declared it open. Ignored once `open` is written. */
|
|
12
12
|
defaultOpen: boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Whether the element is open.
|
|
@@ -27,8 +27,8 @@ export declare class MixinControllerValueInterface {
|
|
|
27
27
|
*
|
|
28
28
|
* A control the reader types or drags in moves continuously, and the platform
|
|
29
29
|
* calls that `input`: `<input type="text">` fires one per keystroke and fires
|
|
30
|
-
* `change` once, on commit.
|
|
31
|
-
* change in discrete steps where a step *is* the change.
|
|
30
|
+
* `change` once, on commit. A few of the controls here are that shape, and
|
|
31
|
+
* the rest change in discrete steps where a step *is* the change.
|
|
32
32
|
*
|
|
33
33
|
* It selects the event rather than the timing. `requestValue` is called
|
|
34
34
|
* whenever the value moves either way; this decides whether the control sends
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-core",
|
|
3
3
|
"description": "Helix element primitives: base classes, mixins, decorators, utilities.",
|
|
4
|
-
"version": "0.53.
|
|
4
|
+
"version": "0.53.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@floating-ui/dom": "^1.8.0",
|
|
37
|
-
"@fusion.dev/helix-icons": "0.53.
|
|
37
|
+
"@fusion.dev/helix-icons": "0.53.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
41
|
-
"@fusion.dev/helix-cem": "0.53.
|
|
42
|
-
"@fusion.dev/helix-testing": "0.53.
|
|
41
|
+
"@fusion.dev/helix-cem": "0.53.3",
|
|
42
|
+
"@fusion.dev/helix-testing": "0.53.3",
|
|
43
43
|
"lit": "^3.2.1"
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://fusion.dev",
|