@fusion.dev/helix 0.164.0 → 0.165.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix",
3
3
  "description": "Styled component tier. Extends the headless tier with token-driven presentation.",
4
- "version": "0.164.0",
4
+ "version": "0.165.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -54,13 +54,13 @@
54
54
  },
55
55
  "bugs": "https://github.com/project-fusion/fusion/issues",
56
56
  "dependencies": {
57
- "@fusion.dev/helix-core": "0.164.0",
58
- "@fusion.dev/helix-headless": "0.164.0",
59
- "@fusion.dev/helix-styles": "0.164.0"
57
+ "@fusion.dev/helix-core": "0.165.0",
58
+ "@fusion.dev/helix-headless": "0.165.0",
59
+ "@fusion.dev/helix-styles": "0.165.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@fusion.dev/helix-cem": "0.164.0",
63
- "@fusion.dev/helix-testing": "0.164.0",
62
+ "@fusion.dev/helix-cem": "0.165.0",
63
+ "@fusion.dev/helix-testing": "0.165.0",
64
64
  "@fusion.dev/scripts": "0.0.0-dev",
65
65
  "@happy-dom/global-registrator": "^20.14.5",
66
66
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -16352,7 +16352,9 @@ place of the date: `long` ("3 hours ago"), `short` ("3 hr. ago") or
16352
16352
  `narrow` ("3h ago").
16353
16353
 
16354
16354
  The reading refreshes as it goes stale, as `elapsed` does, and the whole
16355
- date is its title. `elapsed` wins where both are set. */
16355
+ date is its title. `elapsed` wins where both are set. Written with no
16356
+ value, as `elapsed` is, or with a style `Intl` does not know, it reads
16357
+ `long`. */
16356
16358
  relative?: (HelixFormatDate["relative"]) | undefined;
16357
16359
  /** How the second is written, where a time of day is shown. */
16358
16360
  second?: (HelixFormatDate["second"]) | undefined;
@@ -16494,7 +16496,9 @@ place of the date: `long` ("3 hours ago"), `short` ("3 hr. ago") or
16494
16496
  `narrow` ("3h ago").
16495
16497
 
16496
16498
  The reading refreshes as it goes stale, as `elapsed` does, and the whole
16497
- date is its title. `elapsed` wins where both are set. */
16499
+ date is its title. `elapsed` wins where both are set. Written with no
16500
+ value, as `elapsed` is, or with a style `Intl` does not know, it reads
16501
+ `long`. */
16498
16502
  "prop:relative"?: (HelixFormatDate["relative"]) | undefined;
16499
16503
  /** How the second is written, where a time of day is shown. */
16500
16504
  "prop:second"?: (HelixFormatDate["second"]) | undefined;
@@ -24889,10 +24893,11 @@ one they already know. */
24889
24893
  invalid, as it is in a native number field.
24890
24894
 
24891
24895
  Unset, a step moves by one, or by one percent under a percent format, and
24892
- a typed number is rounded to the smallest amount `format-options` shows
24893
- rather than to whole steps, as React Aria's NumberField does: a field
24894
- showing dollars keeps the cents typed into it. Without `format-options`
24895
- the grid is whole numbers, as in a native number field. */
24896
+ a typed number is rounded to the smallest amount the format shows, as
24897
+ React Aria's NumberField does: a field showing dollars keeps the cents
24898
+ typed into it, and one with no `format-options` keeps three decimal
24899
+ places. `any` puts the number on no grid, as it does in a native number
24900
+ field: a step moves by one, and any number in range is valid. */
24896
24901
  step?: (HelixNumberInput["step"]) | undefined;
24897
24902
  /** The message the browser shows when the number is off the step grid, with
24898
24903
  `{below}` and `{above}` filled in with the nearest valid values, written in
@@ -25167,10 +25172,11 @@ one they already know. */
25167
25172
  invalid, as it is in a native number field.
25168
25173
 
25169
25174
  Unset, a step moves by one, or by one percent under a percent format, and
25170
- a typed number is rounded to the smallest amount `format-options` shows
25171
- rather than to whole steps, as React Aria's NumberField does: a field
25172
- showing dollars keeps the cents typed into it. Without `format-options`
25173
- the grid is whole numbers, as in a native number field. */
25175
+ a typed number is rounded to the smallest amount the format shows, as
25176
+ React Aria's NumberField does: a field showing dollars keeps the cents
25177
+ typed into it, and one with no `format-options` keeps three decimal
25178
+ places. `any` puts the number on no grid, as it does in a native number
25179
+ field: a step moves by one, and any number in range is valid. */
25174
25180
  "prop:step"?: (HelixNumberInput["step"]) | undefined;
25175
25181
  /** The message the browser shows when the number is off the step grid, with
25176
25182
  `{below}` and `{above}` filled in with the nearest valid values, written in
@@ -51728,7 +51734,9 @@ export type CustomElements = {
51728
51734
  * `narrow` ("3h ago").
51729
51735
  *
51730
51736
  * The reading refreshes as it goes stale, as `elapsed` does, and the whole
51731
- * date is its title. `elapsed` wins where both are set.
51737
+ * date is its title. `elapsed` wins where both are set. Written with no
51738
+ * value, as `elapsed` is, or with a style `Intl` does not know, it reads
51739
+ * `long`.
51732
51740
  * - `second`: How the second is written, where a time of day is shown.
51733
51741
  * - `time-style`/`timeStyle`: The locale's own pattern for the time of day: `full`, `long`, `medium`, or
51734
51742
  * `short`. Set, it stands in for `hour`, `minute`, `second` and
@@ -57821,10 +57829,11 @@ export type CustomElements = {
57821
57829
  * invalid, as it is in a native number field.
57822
57830
  *
57823
57831
  * Unset, a step moves by one, or by one percent under a percent format, and
57824
- * a typed number is rounded to the smallest amount `format-options` shows
57825
- * rather than to whole steps, as React Aria's NumberField does: a field
57826
- * showing dollars keeps the cents typed into it. Without `format-options`
57827
- * the grid is whole numbers, as in a native number field.
57832
+ * a typed number is rounded to the smallest amount the format shows, as
57833
+ * React Aria's NumberField does: a field showing dollars keeps the cents
57834
+ * typed into it, and one with no `format-options` keeps three decimal
57835
+ * places. `any` puts the number on no grid, as it does in a native number
57836
+ * field: a step moves by one, and any number in range is valid.
57828
57837
  * - `step-mismatch-message`/`stepMismatchMessage`: The message the browser shows when the number is off the step grid, with
57829
57838
  * `{below}` and `{above}` filled in with the nearest valid values, written in
57830
57839
  * the locale.
@@ -58020,6 +58029,8 @@ export type CustomElements = {
58020
58029
  *
58021
58030
  * These can be used to apply styling when a component is in a given state.
58022
58031
  *
58032
+ * - `at-max`: The number is at `max`, so it cannot step up, as React Aria's NumberField says with `canIncrement`.
58033
+ * - `at-min`: The number is at `min`, so it cannot step down.
58023
58034
  * - `invalid`: The control has an error to show, from the browser's validation or from your `feedback`.
58024
58035
  * - `scrubbing`: The label is being dragged to change the value, under `scrub`, as Zag's scrubber says while it is held.
58025
58036
  * - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
@@ -80896,7 +80907,9 @@ export type CustomElementsSolidJs = {
80896
80907
  * `narrow` ("3h ago").
80897
80908
  *
80898
80909
  * The reading refreshes as it goes stale, as `elapsed` does, and the whole
80899
- * date is its title. `elapsed` wins where both are set.
80910
+ * date is its title. `elapsed` wins where both are set. Written with no
80911
+ * value, as `elapsed` is, or with a style `Intl` does not know, it reads
80912
+ * `long`.
80900
80913
  * - `second`: How the second is written, where a time of day is shown.
80901
80914
  * - `time-style`/`timeStyle`: The locale's own pattern for the time of day: `full`, `long`, `medium`, or
80902
80915
  * `short`. Set, it stands in for `hour`, `minute`, `second` and
@@ -87102,10 +87115,11 @@ export type CustomElementsSolidJs = {
87102
87115
  * invalid, as it is in a native number field.
87103
87116
  *
87104
87117
  * Unset, a step moves by one, or by one percent under a percent format, and
87105
- * a typed number is rounded to the smallest amount `format-options` shows
87106
- * rather than to whole steps, as React Aria's NumberField does: a field
87107
- * showing dollars keeps the cents typed into it. Without `format-options`
87108
- * the grid is whole numbers, as in a native number field.
87118
+ * a typed number is rounded to the smallest amount the format shows, as
87119
+ * React Aria's NumberField does: a field showing dollars keeps the cents
87120
+ * typed into it, and one with no `format-options` keeps three decimal
87121
+ * places. `any` puts the number on no grid, as it does in a native number
87122
+ * field: a step moves by one, and any number in range is valid.
87109
87123
  * - `step-mismatch-message`/`stepMismatchMessage`: The message the browser shows when the number is off the step grid, with
87110
87124
  * `{below}` and `{above}` filled in with the nearest valid values, written in
87111
87125
  * the locale.
@@ -87301,6 +87315,8 @@ export type CustomElementsSolidJs = {
87301
87315
  *
87302
87316
  * These can be used to apply styling when a component is in a given state.
87303
87317
  *
87318
+ * - `at-max`: The number is at `max`, so it cannot step up, as React Aria's NumberField says with `canIncrement`.
87319
+ * - `at-min`: The number is at `min`, so it cannot step down.
87304
87320
  * - `invalid`: The control has an error to show, from the browser's validation or from your `feedback`.
87305
87321
  * - `scrubbing`: The label is being dragged to change the value, under `scrub`, as Zag's scrubber says while it is held.
87306
87322
  * - `settled`: Set one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
package/types/vue.d.ts CHANGED
@@ -8441,7 +8441,9 @@ place of the date: `long` ("3 hours ago"), `short` ("3 hr. ago") or
8441
8441
  `narrow` ("3h ago").
8442
8442
 
8443
8443
  The reading refreshes as it goes stale, as `elapsed` does, and the whole
8444
- date is its title. `elapsed` wins where both are set. */
8444
+ date is its title. `elapsed` wins where both are set. Written with no
8445
+ value, as `elapsed` is, or with a style `Intl` does not know, it reads
8446
+ `long`. */
8445
8447
  relative?: (HelixFormatDate["relative"]) | undefined;
8446
8448
  /** How the second is written, where a time of day is shown. */
8447
8449
  second?: (HelixFormatDate["second"]) | undefined;
@@ -12874,10 +12876,11 @@ one they already know. */
12874
12876
  invalid, as it is in a native number field.
12875
12877
 
12876
12878
  Unset, a step moves by one, or by one percent under a percent format, and
12877
- a typed number is rounded to the smallest amount `format-options` shows
12878
- rather than to whole steps, as React Aria's NumberField does: a field
12879
- showing dollars keeps the cents typed into it. Without `format-options`
12880
- the grid is whole numbers, as in a native number field. */
12879
+ a typed number is rounded to the smallest amount the format shows, as
12880
+ React Aria's NumberField does: a field showing dollars keeps the cents
12881
+ typed into it, and one with no `format-options` keeps three decimal
12882
+ places. `any` puts the number on no grid, as it does in a native number
12883
+ field: a step moves by one, and any number in range is valid. */
12881
12884
  step?: (HelixNumberInput["step"]) | undefined;
12882
12885
  /** The message the browser shows when the number is off the step grid, with
12883
12886
  `{below}` and `{above}` filled in with the nearest valid values, written in