@fusion.dev/helix 0.180.0 → 0.181.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.
@@ -37844,6 +37844,23 @@
37844
37844
  "module": "src/checkbox/root/checkbox-root.ts"
37845
37845
  }
37846
37846
  },
37847
+ {
37848
+ "kind": "method",
37849
+ "name": "click",
37850
+ "return": {
37851
+ "type": {
37852
+ "text": "void"
37853
+ }
37854
+ },
37855
+ "description": "Ticks or clears the box, as `click()` does a native checkbox: passed to the control\ninside, so the one click a listener hears is the control's, after it has\nmoved. See `HostClickController`.",
37856
+ "type": {
37857
+ "text": "click() => void"
37858
+ },
37859
+ "inheritedFrom": {
37860
+ "name": "HelixHeadlessCheckbox",
37861
+ "module": "src/checkbox/root/checkbox-root.ts"
37862
+ }
37863
+ },
37847
37864
  {
37848
37865
  "kind": "field",
37849
37866
  "name": "formAssociated",
@@ -98345,6 +98362,20 @@
98345
98362
  "module": "src/heatmap/root/heatmap-root.ts"
98346
98363
  }
98347
98364
  },
98365
+ {
98366
+ "kind": "field",
98367
+ "name": "selectionShape",
98368
+ "type": {
98369
+ "text": "'linear' | 'rectangle'"
98370
+ },
98371
+ "default": "'linear'",
98372
+ "description": "What Shift takes in under `selection-mode=\"multiple\"`: `linear`, every\ncell between two in the table's order, or `rectangle`, the cells between\ntwo corners by row and by column, as a spreadsheet selects a range.",
98373
+ "attribute": "selection-shape",
98374
+ "inheritedFrom": {
98375
+ "name": "HelixHeadlessHeatmap",
98376
+ "module": "src/heatmap/root/heatmap-root.ts"
98377
+ }
98378
+ },
98348
98379
  {
98349
98380
  "kind": "field",
98350
98381
  "name": "stripLabel",
@@ -98514,6 +98545,48 @@
98514
98545
  "module": "src/heatmap/root/heatmap-root.ts"
98515
98546
  }
98516
98547
  },
98548
+ {
98549
+ "kind": "field",
98550
+ "name": "left",
98551
+ "type": {
98552
+ "text": "number"
98553
+ },
98554
+ "privacy": "private",
98555
+ "default": "-1",
98556
+ "description": "The cell the keys rested on before the key now being handled moved them.",
98557
+ "inheritedFrom": {
98558
+ "name": "HelixHeadlessHeatmap",
98559
+ "module": "src/heatmap/root/heatmap-root.ts"
98560
+ }
98561
+ },
98562
+ {
98563
+ "kind": "field",
98564
+ "name": "base",
98565
+ "type": {
98566
+ "text": "string[] | undefined"
98567
+ },
98568
+ "privacy": "private",
98569
+ "default": "undefined",
98570
+ "description": "What a rectangle is added to: the selection when it was started, less its\nanchor, kept while `value` is still the rectangle last written.",
98571
+ "inheritedFrom": {
98572
+ "name": "HelixHeadlessHeatmap",
98573
+ "module": "src/heatmap/root/heatmap-root.ts"
98574
+ }
98575
+ },
98576
+ {
98577
+ "kind": "field",
98578
+ "name": "shaped",
98579
+ "type": {
98580
+ "text": "string | undefined"
98581
+ },
98582
+ "privacy": "private",
98583
+ "default": "undefined",
98584
+ "description": "The `value` the last rectangle wrote.",
98585
+ "inheritedFrom": {
98586
+ "name": "HelixHeadlessHeatmap",
98587
+ "module": "src/heatmap/root/heatmap-root.ts"
98588
+ }
98589
+ },
98517
98590
  {
98518
98591
  "kind": "field",
98519
98592
  "name": "status",
@@ -98595,6 +98668,40 @@
98595
98668
  "module": "src/heatmap/root/heatmap-root.ts"
98596
98669
  }
98597
98670
  },
98671
+ {
98672
+ "kind": "method",
98673
+ "name": "stretch",
98674
+ "privacy": "private",
98675
+ "return": {
98676
+ "type": {
98677
+ "text": "void"
98678
+ }
98679
+ },
98680
+ "parameters": [
98681
+ {
98682
+ "name": "to",
98683
+ "type": {
98684
+ "text": "number"
98685
+ }
98686
+ }
98687
+ ],
98688
+ "description": "Selects the rectangle from the anchor to the drawn cell at `to`, beside\nwhat was selected before it started, under `selection-shape=\"rectangle\"`.\nWithout an anchor it starts where the keys were.",
98689
+ "inheritedFrom": {
98690
+ "name": "HelixHeadlessHeatmap",
98691
+ "module": "src/heatmap/root/heatmap-root.ts"
98692
+ }
98693
+ },
98694
+ {
98695
+ "kind": "field",
98696
+ "name": "onStripKeydown",
98697
+ "privacy": "private",
98698
+ "readonly": true,
98699
+ "description": "Notes where the keys rest before the pointer controller moves them.",
98700
+ "inheritedFrom": {
98701
+ "name": "HelixHeadlessHeatmap",
98702
+ "module": "src/heatmap/root/heatmap-root.ts"
98703
+ }
98704
+ },
98598
98705
  {
98599
98706
  "kind": "field",
98600
98707
  "name": "onKeydown",
@@ -98611,7 +98718,7 @@
98611
98718
  "name": "onClick",
98612
98719
  "privacy": "private",
98613
98720
  "readonly": true,
98614
- "description": "A press on a cell selects it, under `selection-mode`.",
98721
+ "description": "A press on a cell selects it, under `selection-mode`, and Shift takes the\nrectangle to it under `selection-shape=\"rectangle\"`.",
98615
98722
  "inheritedFrom": {
98616
98723
  "name": "HelixHeadlessHeatmap",
98617
98724
  "module": "src/heatmap/root/heatmap-root.ts"
@@ -99265,6 +99372,10 @@
99265
99372
  "description": "Half hours of one day, drawn as tall, narrow cells like a status page.",
99266
99373
  "slug": "hours"
99267
99374
  },
99375
+ {
99376
+ "description": "Four weeks of commits, where Shift with an arrow or a click selects a rectangle of days.",
99377
+ "slug": "rectangle-selection"
99378
+ },
99268
99379
  {
99269
99380
  "description": "The same readings at three cell sizes, set with one custom property.",
99270
99381
  "slug": "sizes"
@@ -99469,6 +99580,19 @@
99469
99580
  "module": "src/heatmap/root/heatmap-root.ts"
99470
99581
  }
99471
99582
  },
99583
+ {
99584
+ "name": "selection-shape",
99585
+ "type": {
99586
+ "text": "'linear' | 'rectangle'"
99587
+ },
99588
+ "default": "'linear'",
99589
+ "description": "What Shift takes in under `selection-mode=\"multiple\"`: `linear`, every\ncell between two in the table's order, or `rectangle`, the cells between\ntwo corners by row and by column, as a spreadsheet selects a range.",
99590
+ "fieldName": "selectionShape",
99591
+ "inheritedFrom": {
99592
+ "name": "HelixHeadlessHeatmap",
99593
+ "module": "src/heatmap/root/heatmap-root.ts"
99594
+ }
99595
+ },
99472
99596
  {
99473
99597
  "name": "strip-label",
99474
99598
  "type": {
@@ -167695,6 +167819,23 @@
167695
167819
  "module": "src/radio/root/radio-root.ts"
167696
167820
  }
167697
167821
  },
167822
+ {
167823
+ "kind": "method",
167824
+ "name": "click",
167825
+ "return": {
167826
+ "type": {
167827
+ "text": "void"
167828
+ }
167829
+ },
167830
+ "description": "Chooses the radio, as `click()` does a native radio: passed to the control\ninside, so the one click a listener hears is the control's, after it has\nmoved. See `HostClickController`.",
167831
+ "type": {
167832
+ "text": "click() => void"
167833
+ },
167834
+ "inheritedFrom": {
167835
+ "name": "HelixHeadlessRadio",
167836
+ "module": "src/radio/root/radio-root.ts"
167837
+ }
167838
+ },
167698
167839
  {
167699
167840
  "kind": "field",
167700
167841
  "name": "tier",
@@ -200623,6 +200764,23 @@
200623
200764
  "module": "src/switch/root/switch-root.ts"
200624
200765
  }
200625
200766
  },
200767
+ {
200768
+ "kind": "method",
200769
+ "name": "click",
200770
+ "return": {
200771
+ "type": {
200772
+ "text": "void"
200773
+ }
200774
+ },
200775
+ "description": "Turns the switch on or off, as `click()` does a native checkbox: passed to the control\ninside, so the one click a listener hears is the control's, after it has\nmoved. See `HostClickController`.",
200776
+ "type": {
200777
+ "text": "click() => void"
200778
+ },
200779
+ "inheritedFrom": {
200780
+ "name": "HelixHeadlessSwitch",
200781
+ "module": "src/switch/root/switch-root.ts"
200782
+ }
200783
+ },
200626
200784
  {
200627
200785
  "kind": "field",
200628
200786
  "name": "formAssociated",
@@ -231172,6 +231330,23 @@
231172
231330
  "module": "src/toggle/root/toggle-root.ts"
231173
231331
  }
231174
231332
  },
231333
+ {
231334
+ "kind": "method",
231335
+ "name": "click",
231336
+ "return": {
231337
+ "type": {
231338
+ "text": "void"
231339
+ }
231340
+ },
231341
+ "description": "Presses the toggle, as `click()` does a native button: passed to the control\ninside, so the one click a listener hears is the control's, after it has\nmoved. See `HostClickController`.",
231342
+ "type": {
231343
+ "text": "click() => void"
231344
+ },
231345
+ "inheritedFrom": {
231346
+ "name": "HelixHeadlessToggle",
231347
+ "module": "src/toggle/root/toggle-root.ts"
231348
+ }
231349
+ },
231175
231350
  {
231176
231351
  "kind": "field",
231177
231352
  "name": "tier",
@@ -251188,6 +251363,6 @@
251188
251363
  ],
251189
251364
  "helix": {
251190
251365
  "package": "@fusion.dev/helix",
251191
- "version": "0.180.0"
251366
+ "version": "0.181.0"
251192
251367
  }
251193
251368
  }
@@ -21,4 +21,4 @@ ease-in-out infinite;}@keyframes helix-skeleton-pulse {50% {opacity: 0.4;}}:host
21
21
  :host(:state(wrapping):not([loading])) [part="lines"],
22
22
  :host(:not(:defined):not(:empty):not([loading])) [part="lines"] {display: none;}:host([loading]:state(wrapping)) [part="content"],
23
23
  :host([loading]:not(:defined):not(:empty)) [part="content"] {visibility: hidden;}@keyframes helix-skeleton-sweep {from {translate: -50% 0;}to {translate: 50% 0;}}@media (prefers-reduced-motion: reduce) {[part="sheen"],
24
- :host([effect="pulse"]) [part~="skeleton"] {animation: none;}[part="sheen"] {background-image: none;}}@media print {:host {display: none;}}@media (forced-colors: active) {[part~="skeleton"] {outline: var(--helix-border-thin) solid GrayText;outline-offset: calc(var(--helix-border-thin) * -1);}}`);
24
+ :host([effect="pulse"]) [part~="skeleton"] {animation: none;}[part="sheen"] {background-image: none;}}@media print {:host {display: none;}}@media (forced-colors: active) {[part~="skeleton"] {outline: var(--helix-border-thin) solid GrayText;outline-offset: calc(var(--helix-border-thin) * -1);}}@media (forced-colors: active) and (prefers-reduced-motion: no-preference) {[part="sheen"] {background-image: linear-gradient(90deg, transparent 35%, GrayText 50%, transparent 65%);forced-color-adjust: none;}}`);