@fusion.dev/helix 0.131.0 → 0.132.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.
@@ -36348,6 +36348,14 @@
36348
36348
  "module": "src/combobox/root/combobox-root.ts"
36349
36349
  }
36350
36350
  },
36351
+ {
36352
+ "description": "The label, trimmed to its capitals and baseline.",
36353
+ "name": "tag-label",
36354
+ "inheritedFrom": {
36355
+ "name": "HelixHeadlessCombobox",
36356
+ "module": "src/combobox/root/combobox-root.ts"
36357
+ }
36358
+ },
36351
36359
  {
36352
36360
  "description": "The category before the label.",
36353
36361
  "name": "tag-start",
@@ -44595,6 +44603,14 @@
44595
44603
  "module": "src/date-input/root/date-input-root.ts"
44596
44604
  }
44597
44605
  },
44606
+ {
44607
+ "description": "The label, trimmed to its capitals and baseline.",
44608
+ "name": "date-label",
44609
+ "inheritedFrom": {
44610
+ "name": "HelixHeadlessDateInput",
44611
+ "module": "src/date-input/root/date-input-root.ts"
44612
+ }
44613
+ },
44598
44614
  {
44599
44615
  "description": "The category before the label.",
44600
44616
  "name": "date-start",
@@ -55306,6 +55322,14 @@
55306
55322
  "module": "src/file-input/root/file-input-root.ts"
55307
55323
  }
55308
55324
  },
55325
+ {
55326
+ "description": "The label, trimmed to its capitals and baseline.",
55327
+ "name": "kind-label",
55328
+ "inheritedFrom": {
55329
+ "name": "HelixHeadlessFileInput",
55330
+ "module": "src/file-input/root/file-input-root.ts"
55331
+ }
55332
+ },
55309
55333
  {
55310
55334
  "description": "The category before the label.",
55311
55335
  "name": "kind-start",
@@ -55378,6 +55402,14 @@
55378
55402
  "module": "src/file-input/root/file-input-root.ts"
55379
55403
  }
55380
55404
  },
55405
+ {
55406
+ "description": "The label, trimmed to its capitals and baseline.",
55407
+ "name": "size-label",
55408
+ "inheritedFrom": {
55409
+ "name": "HelixHeadlessFileInput",
55410
+ "module": "src/file-input/root/file-input-root.ts"
55411
+ }
55412
+ },
55381
55413
  {
55382
55414
  "description": "The category before the label.",
55383
55415
  "name": "size-start",
@@ -140662,6 +140694,14 @@
140662
140694
  "module": "src/tag/root/tag-root.ts"
140663
140695
  }
140664
140696
  },
140697
+ {
140698
+ "description": "The label, which the styled tag trims to its capitals and baseline so the letters sit at the middle in any font.",
140699
+ "name": "label",
140700
+ "inheritedFrom": {
140701
+ "name": "HelixHeadlessTag",
140702
+ "module": "src/tag/root/tag-root.ts"
140703
+ }
140704
+ },
140665
140705
  {
140666
140706
  "description": "The category before the label.",
140667
140707
  "name": "start",
@@ -146406,6 +146446,14 @@
146406
146446
  "module": "src/time-input/root/time-input-root.ts"
146407
146447
  }
146408
146448
  },
146449
+ {
146450
+ "description": "The label, trimmed to its capitals and baseline.",
146451
+ "name": "time-label",
146452
+ "inheritedFrom": {
146453
+ "name": "HelixHeadlessTimeInput",
146454
+ "module": "src/time-input/root/time-input-root.ts"
146455
+ }
146456
+ },
146409
146457
  {
146410
146458
  "description": "The category before the label.",
146411
146459
  "name": "time-start",
@@ -31,6 +31,13 @@ overflow: hidden;
31
31
  text-overflow: ellipsis;
32
32
  }
33
33
 
34
+ @supports (text-box: trim-both cap alphabetic) {
35
+ slot:not([name]) {
36
+ padding-block: var(--helix-space-2xs);
37
+ text-box: trim-both cap alphabetic;
38
+ }
39
+ }
40
+
34
41
  slot:not([name])::slotted(helix-icon) {
35
42
  vertical-align: middle;
36
43
  }
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.131.0",
4
+ "version": "0.132.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -51,13 +51,13 @@
51
51
  },
52
52
  "bugs": "https://github.com/project-fusion/fusion/issues",
53
53
  "dependencies": {
54
- "@fusion.dev/helix-core": "0.131.0",
55
- "@fusion.dev/helix-headless": "0.131.0",
56
- "@fusion.dev/helix-styles": "0.131.0"
54
+ "@fusion.dev/helix-core": "0.132.0",
55
+ "@fusion.dev/helix-headless": "0.132.0",
56
+ "@fusion.dev/helix-styles": "0.132.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@fusion.dev/helix-cem": "0.131.0",
60
- "@fusion.dev/helix-testing": "0.131.0",
59
+ "@fusion.dev/helix-cem": "0.132.0",
60
+ "@fusion.dev/helix-testing": "0.132.0",
61
61
  "@fusion.dev/scripts": "0.0.0-dev",
62
62
  "@happy-dom/global-registrator": "^20.0.0",
63
63
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -32059,6 +32059,7 @@ export type CustomElements = {
32059
32059
  * - `tag`: One chosen option.
32060
32060
  * - `tag-dismiss`: The remove button, when `dismissible`.
32061
32061
  * - `tag-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
32062
+ * - `tag-label`: The label, trimmed to its capitals and baseline.
32062
32063
  * - `tag-start`: The category before the label.
32063
32064
  * - `tags`: The row of chosen options, when `multiple` is set.
32064
32065
  *
@@ -33056,6 +33057,7 @@ export type CustomElements = {
33056
33057
  * - `date`: One held date, as a tag, in `multiple`.
33057
33058
  * - `date-dismiss`: The remove button, when `dismissible`.
33058
33059
  * - `date-dismiss-mark`: The icon on the remove button, shown when no icon is slotted.
33060
+ * - `date-label`: The label, trimmed to its capitals and baseline.
33059
33061
  * - `date-start`: The category before the label.
33060
33062
  * - `feedback`: The error message under the field.
33061
33063
  * - `field`: The box that holds the text and the trigger.
@@ -34643,6 +34645,7 @@ export type CustomElements = {
34643
34645
  * - `kind`: A file's type.
34644
34646
  * - `kind-dismiss`: The remove button, when `dismissible`.
34645
34647
  * - `kind-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
34648
+ * - `kind-label`: The label, trimmed to its capitals and baseline.
34646
34649
  * - `kind-start`: The category before the label.
34647
34650
  * - `label`: The label above the field.
34648
34651
  * - `list`: The chosen files.
@@ -34652,6 +34655,7 @@ export type CustomElements = {
34652
34655
  * - `size`: A file's size.
34653
34656
  * - `size-dismiss`: The remove button, when `dismissible`.
34654
34657
  * - `size-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
34658
+ * - `size-label`: The label, trimmed to its capitals and baseline.
34655
34659
  * - `size-start`: The category before the label.
34656
34660
  * - `trigger`: The label that opens the picker.
34657
34661
  *
@@ -46002,6 +46006,7 @@ export type CustomElements = {
46002
46006
  *
46003
46007
  * - `dismiss`: The remove button, when `dismissible`.
46004
46008
  * - `dismiss-mark`: The icon on the remove button.
46009
+ * - `label`: The label, which the styled tag trims to its capitals and baseline so the letters sit at the middle in any font.
46005
46010
  * - `start`: The category before the label.
46006
46011
  *
46007
46012
  * ## CSS States
@@ -46651,6 +46656,7 @@ export type CustomElements = {
46651
46656
  * - `time`: One held time, as a tag, in `multiple`.
46652
46657
  * - `time-dismiss`: The remove button, when `dismissible`.
46653
46658
  * - `time-dismiss-mark`: The default icon on the remove button, shown when none is slotted.
46659
+ * - `time-label`: The label, trimmed to its capitals and baseline.
46654
46660
  * - `time-start`: The category before the label.
46655
46661
  * - `trigger`: The control that opens the list.
46656
46662
  * - `trigger-icon`: The icon on the button that opens the clock.
@@ -54295,6 +54301,7 @@ export type CustomElementsSolidJs = {
54295
54301
  * - `tag`: One chosen option.
54296
54302
  * - `tag-dismiss`: The remove button, when `dismissible`.
54297
54303
  * - `tag-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
54304
+ * - `tag-label`: The label, trimmed to its capitals and baseline.
54298
54305
  * - `tag-start`: The category before the label.
54299
54306
  * - `tags`: The row of chosen options, when `multiple` is set.
54300
54307
  *
@@ -55304,6 +55311,7 @@ export type CustomElementsSolidJs = {
55304
55311
  * - `date`: One held date, as a tag, in `multiple`.
55305
55312
  * - `date-dismiss`: The remove button, when `dismissible`.
55306
55313
  * - `date-dismiss-mark`: The icon on the remove button, shown when no icon is slotted.
55314
+ * - `date-label`: The label, trimmed to its capitals and baseline.
55307
55315
  * - `date-start`: The category before the label.
55308
55316
  * - `feedback`: The error message under the field.
55309
55317
  * - `field`: The box that holds the text and the trigger.
@@ -56924,6 +56932,7 @@ export type CustomElementsSolidJs = {
56924
56932
  * - `kind`: A file's type.
56925
56933
  * - `kind-dismiss`: The remove button, when `dismissible`.
56926
56934
  * - `kind-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
56935
+ * - `kind-label`: The label, trimmed to its capitals and baseline.
56927
56936
  * - `kind-start`: The category before the label.
56928
56937
  * - `label`: The label above the field.
56929
56938
  * - `list`: The chosen files.
@@ -56933,6 +56942,7 @@ export type CustomElementsSolidJs = {
56933
56942
  * - `size`: A file's size.
56934
56943
  * - `size-dismiss`: The remove button, when `dismissible`.
56935
56944
  * - `size-dismiss-mark`: The glyph on the dismiss control, where none is slotted.
56945
+ * - `size-label`: The label, trimmed to its capitals and baseline.
56936
56946
  * - `size-start`: The category before the label.
56937
56947
  * - `trigger`: The label that opens the picker.
56938
56948
  *
@@ -68551,6 +68561,7 @@ export type CustomElementsSolidJs = {
68551
68561
  *
68552
68562
  * - `dismiss`: The remove button, when `dismissible`.
68553
68563
  * - `dismiss-mark`: The icon on the remove button.
68564
+ * - `label`: The label, which the styled tag trims to its capitals and baseline so the letters sit at the middle in any font.
68554
68565
  * - `start`: The category before the label.
68555
68566
  *
68556
68567
  * ## CSS States
@@ -69207,6 +69218,7 @@ export type CustomElementsSolidJs = {
69207
69218
  * - `time`: One held time, as a tag, in `multiple`.
69208
69219
  * - `time-dismiss`: The remove button, when `dismissible`.
69209
69220
  * - `time-dismiss-mark`: The default icon on the remove button, shown when none is slotted.
69221
+ * - `time-label`: The label, trimmed to its capitals and baseline.
69210
69222
  * - `time-start`: The category before the label.
69211
69223
  * - `trigger`: The control that opens the list.
69212
69224
  * - `trigger-icon`: The icon on the button that opens the clock.