@f-ewald/components 1.28.0 → 1.29.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/README.md CHANGED
@@ -73,6 +73,7 @@ import "@f-ewald/components/roman-numeral.js";
73
73
  | `<form-field>` | [API reference](https://f-ewald.github.io/components/docs/form-field.html) |
74
74
  | `<form-select>` | [API reference](https://f-ewald.github.io/components/docs/form-select.html) |
75
75
  | `<frame-box>` | [API reference](https://f-ewald.github.io/components/docs/frame-box.html) |
76
+ | `<fullscreen-button>` | [API reference](https://f-ewald.github.io/components/docs/fullscreen-button.html) |
76
77
  | `<gallery-item>` | [API reference](https://f-ewald.github.io/components/docs/gallery-item.html) |
77
78
  | `<gallery-item-variant>` | [API reference](https://f-ewald.github.io/components/docs/gallery-item-variant.html) |
78
79
  | `<icon-button>` | [API reference](https://f-ewald.github.io/components/docs/icon-button.html) |
@@ -103,6 +104,7 @@ import "@f-ewald/components/roman-numeral.js";
103
104
  | `<relative-time>` | [API reference](https://f-ewald.github.io/components/docs/relative-time.html) |
104
105
  | `<reveal-button>` | [API reference](https://f-ewald.github.io/components/docs/reveal-button.html) |
105
106
  | `<roman-numeral>` | [API reference](https://f-ewald.github.io/components/docs/roman-numeral.html) |
107
+ | `<scroll-dots>` | [API reference](https://f-ewald.github.io/components/docs/scroll-dots.html) |
106
108
  | `<scroll-to-bottom>` | [API reference](https://f-ewald.github.io/components/docs/scroll-to-bottom.html) |
107
109
  | `<scroll-to-top>` | [API reference](https://f-ewald.github.io/components/docs/scroll-to-top.html) |
108
110
  | `<slide-panel>` | [API reference](https://f-ewald.github.io/components/docs/slide-panel.html) |
@@ -7278,6 +7278,118 @@
7278
7278
  }
7279
7279
  ]
7280
7280
  },
7281
+ {
7282
+ "kind": "javascript-module",
7283
+ "path": "src/fullscreen-button.ts",
7284
+ "declarations": [
7285
+ {
7286
+ "kind": "class",
7287
+ "description": "Toggles fullscreen presentation of the page, or of a given `target` element.\n\nThe icon and accessible name track the *actual* fullscreen state rather than\nthis button's own clicks, because fullscreen can be left without touching it\n— Escape, or the browser's own chrome — which would otherwise leave the\nbutton showing the wrong affordance.\n\nThe control is styled as a square icon-sized `ui-button` `secondary` variant\n(2rem, `--ui-radius-sm` corners, the `--ui-button-secondary-*` background and\nborder tokens, so a gradient theme carries over) layered over an opaque\n`--ui-surface` base and an elevation shadow, since it normally floats above\nthe content it expands.",
7288
+ "name": "FullscreenButton",
7289
+ "members": [
7290
+ {
7291
+ "kind": "field",
7292
+ "name": "target",
7293
+ "type": {
7294
+ "text": "HTMLElement | null"
7295
+ },
7296
+ "default": "null",
7297
+ "description": "Element to present fullscreen; `null` (default) presents the whole page."
7298
+ },
7299
+ {
7300
+ "kind": "field",
7301
+ "name": "enterLabel",
7302
+ "type": {
7303
+ "text": "string"
7304
+ },
7305
+ "default": "\"Enter full screen\"",
7306
+ "description": "Accessible name while not fullscreen.",
7307
+ "attribute": "enter-label"
7308
+ },
7309
+ {
7310
+ "kind": "field",
7311
+ "name": "exitLabel",
7312
+ "type": {
7313
+ "text": "string"
7314
+ },
7315
+ "default": "\"Exit full screen\"",
7316
+ "description": "Accessible name while fullscreen.",
7317
+ "attribute": "exit-label"
7318
+ },
7319
+ {
7320
+ "kind": "field",
7321
+ "name": "_active",
7322
+ "type": {
7323
+ "text": "boolean"
7324
+ },
7325
+ "privacy": "private",
7326
+ "default": "false"
7327
+ },
7328
+ {
7329
+ "kind": "field",
7330
+ "name": "#onChange",
7331
+ "privacy": "private"
7332
+ },
7333
+ {
7334
+ "kind": "field",
7335
+ "name": "#toggle",
7336
+ "privacy": "private",
7337
+ "description": "Rejections are swallowed: browsers refuse the request outside a user\ngesture or under a permissions policy, and there is nothing useful to tell\nthe user about it."
7338
+ }
7339
+ ],
7340
+ "events": [
7341
+ {
7342
+ "description": "The fullscreen state changed, from this button or otherwise (`detail: { active }`).",
7343
+ "name": "fullscreen-change"
7344
+ }
7345
+ ],
7346
+ "attributes": [
7347
+ {
7348
+ "name": "enter-label",
7349
+ "type": {
7350
+ "text": "string"
7351
+ },
7352
+ "default": "\"Enter full screen\"",
7353
+ "description": "Accessible name while not fullscreen.",
7354
+ "fieldName": "enterLabel"
7355
+ },
7356
+ {
7357
+ "name": "exit-label",
7358
+ "type": {
7359
+ "text": "string"
7360
+ },
7361
+ "default": "\"Exit full screen\"",
7362
+ "description": "Accessible name while fullscreen.",
7363
+ "fieldName": "exitLabel"
7364
+ }
7365
+ ],
7366
+ "superclass": {
7367
+ "name": "LitElement",
7368
+ "package": "lit"
7369
+ },
7370
+ "tagName": "fullscreen-button",
7371
+ "customElement": true
7372
+ }
7373
+ ],
7374
+ "exports": [
7375
+ {
7376
+ "kind": "js",
7377
+ "name": "FullscreenButton",
7378
+ "declaration": {
7379
+ "name": "FullscreenButton",
7380
+ "module": "src/fullscreen-button.ts"
7381
+ }
7382
+ },
7383
+ {
7384
+ "kind": "custom-element-definition",
7385
+ "name": "fullscreen-button",
7386
+ "declaration": {
7387
+ "name": "FullscreenButton",
7388
+ "module": "src/fullscreen-button.ts"
7389
+ }
7390
+ }
7391
+ ]
7392
+ },
7281
7393
  {
7282
7394
  "kind": "javascript-module",
7283
7395
  "path": "src/gallery-item-variant.ts",
@@ -8872,6 +8984,38 @@
8872
8984
  "module": "./scroll-to-bottom.js"
8873
8985
  }
8874
8986
  },
8987
+ {
8988
+ "kind": "js",
8989
+ "name": "ScrollDots",
8990
+ "declaration": {
8991
+ "name": "ScrollDots",
8992
+ "module": "./scroll-dots.js"
8993
+ }
8994
+ },
8995
+ {
8996
+ "kind": "js",
8997
+ "name": "DotSelectDetail",
8998
+ "declaration": {
8999
+ "name": "DotSelectDetail",
9000
+ "module": "./scroll-dots.js"
9001
+ }
9002
+ },
9003
+ {
9004
+ "kind": "js",
9005
+ "name": "ScrollDotItem",
9006
+ "declaration": {
9007
+ "name": "ScrollDotItem",
9008
+ "module": "./scroll-dots.js"
9009
+ }
9010
+ },
9011
+ {
9012
+ "kind": "js",
9013
+ "name": "ScrollDotsItem",
9014
+ "declaration": {
9015
+ "name": "ScrollDotsItem",
9016
+ "module": "./scroll-dots.js"
9017
+ }
9018
+ },
8875
9019
  {
8876
9020
  "kind": "js",
8877
9021
  "name": "ScrollToTop",
@@ -8880,6 +9024,22 @@
8880
9024
  "module": "./scroll-to-top.js"
8881
9025
  }
8882
9026
  },
9027
+ {
9028
+ "kind": "js",
9029
+ "name": "FullscreenButton",
9030
+ "declaration": {
9031
+ "name": "FullscreenButton",
9032
+ "module": "./fullscreen-button.js"
9033
+ }
9034
+ },
9035
+ {
9036
+ "kind": "js",
9037
+ "name": "FullscreenChangeDetail",
9038
+ "declaration": {
9039
+ "name": "FullscreenChangeDetail",
9040
+ "module": "./fullscreen-button.js"
9041
+ }
9042
+ },
8883
9043
  {
8884
9044
  "kind": "js",
8885
9045
  "name": "SlidePanel",
@@ -9448,6 +9608,14 @@
9448
9608
  "module": "./timeline-container.js"
9449
9609
  }
9450
9610
  },
9611
+ {
9612
+ "kind": "js",
9613
+ "name": "TimelineLayout",
9614
+ "declaration": {
9615
+ "name": "TimelineLayout",
9616
+ "module": "./timeline-container.js"
9617
+ }
9618
+ },
9451
9619
  {
9452
9620
  "kind": "js",
9453
9621
  "name": "TimelineEntry",
@@ -15457,6 +15625,157 @@
15457
15625
  }
15458
15626
  ]
15459
15627
  },
15628
+ {
15629
+ "kind": "javascript-module",
15630
+ "path": "src/scroll-dots.ts",
15631
+ "declarations": [
15632
+ {
15633
+ "kind": "class",
15634
+ "description": "Vertical section navigator for a long scrolled page or a slide deck: one dot\nper section, the active one drawn as an elongated rounded bar rather than a\ndot, which is the only cue needed to read position at a glance.\n\nControlled, like `pagination-nav`: it owns no scroll behavior and never\nreads the scroll position. The consumer sets `active` and moves the page in\nresponse to `dot-select` — what counts as the active section differs too much\nbetween a snapped deck and an ordinary long page to bake in.\n\nPositioning is also the consumer's, since a rail is normally fixed into a\nreserved gutter that only the page knows the width of.\n\nThe dots use the same lighter-on-top gradient as `map-circle`/`map-pin`,\nderived from a single base `color` — a rail beside a map reads as the same\nfamily of marks as the pins on it.",
15635
+ "name": "ScrollDots",
15636
+ "members": [
15637
+ {
15638
+ "kind": "field",
15639
+ "name": "items",
15640
+ "type": {
15641
+ "text": "ScrollDotsItem[]"
15642
+ },
15643
+ "default": "[]",
15644
+ "description": "Dots to render, in document order. A bare string is shorthand for `{ label }`."
15645
+ },
15646
+ {
15647
+ "kind": "field",
15648
+ "name": "active",
15649
+ "type": {
15650
+ "text": "number"
15651
+ },
15652
+ "default": "0",
15653
+ "description": "0-based index of the active dot. Out-of-range values simply match no dot.",
15654
+ "attribute": "active"
15655
+ },
15656
+ {
15657
+ "kind": "field",
15658
+ "name": "color",
15659
+ "type": {
15660
+ "text": "string"
15661
+ },
15662
+ "default": "\"\"",
15663
+ "description": "Base color the dot gradient is derived from. Empty uses `--ui-primary`.",
15664
+ "attribute": "color"
15665
+ },
15666
+ {
15667
+ "kind": "field",
15668
+ "name": "label",
15669
+ "type": {
15670
+ "text": "string"
15671
+ },
15672
+ "default": "\"\"",
15673
+ "description": "Accessible name for the rail, e.g. \"Journey stops\".",
15674
+ "attribute": "label"
15675
+ },
15676
+ {
15677
+ "kind": "method",
15678
+ "name": "_renderDot",
15679
+ "privacy": "private",
15680
+ "parameters": [
15681
+ {
15682
+ "name": "item",
15683
+ "type": {
15684
+ "text": "ScrollDotItem"
15685
+ }
15686
+ },
15687
+ {
15688
+ "name": "index",
15689
+ "type": {
15690
+ "text": "number"
15691
+ }
15692
+ }
15693
+ ]
15694
+ },
15695
+ {
15696
+ "kind": "method",
15697
+ "name": "_select",
15698
+ "privacy": "private",
15699
+ "return": {
15700
+ "type": {
15701
+ "text": "void"
15702
+ }
15703
+ },
15704
+ "parameters": [
15705
+ {
15706
+ "name": "index",
15707
+ "type": {
15708
+ "text": "number"
15709
+ }
15710
+ }
15711
+ ]
15712
+ }
15713
+ ],
15714
+ "events": [
15715
+ {
15716
+ "name": "dot-select",
15717
+ "type": {
15718
+ "text": "CustomEvent"
15719
+ },
15720
+ "description": "The user picked a dot (`detail: { index }`)."
15721
+ }
15722
+ ],
15723
+ "attributes": [
15724
+ {
15725
+ "name": "active",
15726
+ "type": {
15727
+ "text": "number"
15728
+ },
15729
+ "default": "0",
15730
+ "description": "0-based index of the active dot. Out-of-range values simply match no dot.",
15731
+ "fieldName": "active"
15732
+ },
15733
+ {
15734
+ "name": "color",
15735
+ "type": {
15736
+ "text": "string"
15737
+ },
15738
+ "default": "\"\"",
15739
+ "description": "Base color the dot gradient is derived from. Empty uses `--ui-primary`.",
15740
+ "fieldName": "color"
15741
+ },
15742
+ {
15743
+ "name": "label",
15744
+ "type": {
15745
+ "text": "string"
15746
+ },
15747
+ "default": "\"\"",
15748
+ "description": "Accessible name for the rail, e.g. \"Journey stops\".",
15749
+ "fieldName": "label"
15750
+ }
15751
+ ],
15752
+ "superclass": {
15753
+ "name": "LitElement",
15754
+ "package": "lit"
15755
+ },
15756
+ "tagName": "scroll-dots",
15757
+ "customElement": true
15758
+ }
15759
+ ],
15760
+ "exports": [
15761
+ {
15762
+ "kind": "js",
15763
+ "name": "ScrollDots",
15764
+ "declaration": {
15765
+ "name": "ScrollDots",
15766
+ "module": "src/scroll-dots.ts"
15767
+ }
15768
+ },
15769
+ {
15770
+ "kind": "custom-element-definition",
15771
+ "name": "scroll-dots",
15772
+ "declaration": {
15773
+ "name": "ScrollDots",
15774
+ "module": "src/scroll-dots.ts"
15775
+ }
15776
+ }
15777
+ ]
15778
+ },
15460
15779
  {
15461
15780
  "kind": "javascript-module",
15462
15781
  "path": "src/scroll-to-bottom.ts",
@@ -16941,7 +17260,7 @@
16941
17260
  "declarations": [
16942
17261
  {
16943
17262
  "kind": "class",
16944
- "description": "Vertical timeline: a single connecting line runs down the left edge and each\nslotted `timeline-entry` places a dot on it. This is a thin layout and\nsemantics wrapper — the entries draw the line segments and dots themselves,\nso the container adds no gap between them (a gap would break the line).\nExposed to assistive technology as a list of events.",
17263
+ "description": "Vertical timeline: a connecting line runs down the entries and each slotted\n`timeline-entry` places a dot on it. This is a thin layout and semantics\nwrapper — the entries draw the line segments and dots themselves, so the\ncontainer adds no gap between them (a gap would break the line). Exposed to\nassistive technology as a list of events.\n\n`layout` chooses where the line runs. `left` (the default) puts it down the\nleft edge with each entry's label inline beside its headline. `alternating`\ncenters it and gives each entry three columns — label, line, body — with the\ntwo sides swapping on every second entry, for a presentation timeline rather\nthan an event log.\n\nThe layout is pushed onto each entry rather than read from here, because a\nshadow-DOM child cannot style itself against an ancestor portably —\n`:host-context()` is Chromium-only.",
16945
17264
  "name": "TimelineContainer",
16946
17265
  "slots": [
16947
17266
  {
@@ -16949,7 +17268,41 @@
16949
17268
  "name": ""
16950
17269
  }
16951
17270
  ],
16952
- "members": [],
17271
+ "members": [
17272
+ {
17273
+ "kind": "field",
17274
+ "name": "layout",
17275
+ "type": {
17276
+ "text": "TimelineLayout"
17277
+ },
17278
+ "default": "\"left\"",
17279
+ "description": "Arrangement of the entries: a left-edge line, or a centered alternating one.",
17280
+ "attribute": "layout",
17281
+ "reflects": true
17282
+ },
17283
+ {
17284
+ "kind": "method",
17285
+ "name": "#applyLayout",
17286
+ "privacy": "private",
17287
+ "return": {
17288
+ "type": {
17289
+ "text": "void"
17290
+ }
17291
+ },
17292
+ "description": "Mirrors `layout` onto every slotted entry so each can style itself."
17293
+ }
17294
+ ],
17295
+ "attributes": [
17296
+ {
17297
+ "name": "layout",
17298
+ "type": {
17299
+ "text": "TimelineLayout"
17300
+ },
17301
+ "default": "\"left\"",
17302
+ "description": "Arrangement of the entries: a left-edge line, or a centered alternating one.",
17303
+ "fieldName": "layout"
17304
+ }
17305
+ ],
16953
17306
  "superclass": {
16954
17307
  "name": "LitElement",
16955
17308
  "package": "lit"
@@ -16983,13 +17336,17 @@
16983
17336
  "declarations": [
16984
17337
  {
16985
17338
  "kind": "class",
16986
- "description": "One event on a `timeline-container`: a dot on the vertical line, an optional\nheadline, a relative timestamp (\"3 hours ago\"), and freely nested content.\nThe connecting line is drawn here — its segment above the dot is hidden on\nthe first entry and the segment below is hidden on the last, so the line caps\nexactly at the first and last dots. Only meaningful inside a\n`timeline-container`; demonstrated through it.\n\n`datetime` is the entry's one timestamp. A nested element that has its own\ntimestamp prop (e.g. `chat-message`'s `timestamp`) should leave it unset —\nsetting both renders the same time twice.\n\nThe dot's `color` types the entry using the shared status-pill palette —\n`primary` by default, plus `neutral`, `info`, `success`, `warning`, and\n`danger`.\n\nSet `compact` for dense, one-line system-status entries: it tightens the\nvertical spacing and renders the content smaller and muted.\n\nSet `running` to replace the dot with an animated gray ring spinner,\nindicating the entry represents in-progress work; `color` has no visible\neffect while `running` is set.",
17339
+ "description": "One event on a `timeline-container`: a dot on the vertical line, an optional\nheadline, a relative timestamp (\"3 hours ago\"), and freely nested content.\nThe connecting line is drawn here — its segment above the dot is hidden on\nthe first entry and the segment below is hidden on the last, so the line caps\nexactly at the first and last dots. Only meaningful inside a\n`timeline-container`; demonstrated through it.\n\n`datetime` is the entry's one timestamp. A nested element that has its own\ntimestamp prop (e.g. `chat-message`'s `timestamp`) should leave it unset —\nsetting both renders the same time twice.\n\n`label` is a free-text alternative for a timeline whose axis is not a wall\nclock — a year, an era, a phase. It wins over `datetime` when both are set.\nSlot `label` instead when it needs its own styling, since a property is\nrendered inside this component's shadow DOM and cannot be reached from\noutside.\n\n`alternating` is set by `timeline-container` and should not be set by hand:\nit switches the entry to three columns — label, line, body — with the sides\nswapping on every second entry. The entry fills whatever height it is given,\nso the line spans it rather than only its content — do not override the\nhost's `display` from outside, since a light-DOM rule beats the `:host`\ndeclaration this relies on.\n\nThe dot's `color` types the entry using the shared status-pill palette —\n`primary` by default, plus `neutral`, `info`, `success`, `warning`, and\n`danger`.\n\nSet `compact` for dense, one-line system-status entries: it tightens the\nvertical spacing and renders the content smaller and muted.\n\nSet `running` to replace the dot with an animated gray ring spinner,\nindicating the entry represents in-progress work; `color` has no visible\neffect while `running` is set.",
16987
17340
  "name": "TimelineEntry",
16988
17341
  "slots": [
16989
17342
  {
16990
17343
  "description": "Optional headline/title for the event.",
16991
17344
  "name": "headline"
16992
17345
  },
17346
+ {
17347
+ "description": "Optional replacement for the `label` property, for a label that needs its own styling.",
17348
+ "name": "label"
17349
+ },
16993
17350
  {
16994
17351
  "description": "The event content; nest any elements here.",
16995
17352
  "name": ""
@@ -17006,6 +17363,27 @@
17006
17363
  "description": "ISO 8601 or SQLite datetime string, rendered as a relative time.",
17007
17364
  "attribute": "datetime"
17008
17365
  },
17366
+ {
17367
+ "kind": "field",
17368
+ "name": "label",
17369
+ "type": {
17370
+ "text": "string | null"
17371
+ },
17372
+ "default": "null",
17373
+ "description": "Free-text label shown in place of the relative time; wins over `datetime`.",
17374
+ "attribute": "label"
17375
+ },
17376
+ {
17377
+ "kind": "field",
17378
+ "name": "alternating",
17379
+ "type": {
17380
+ "text": "boolean"
17381
+ },
17382
+ "default": "false",
17383
+ "description": "Three-column alternating presentation. Set by `timeline-container` from its\nown `layout`; setting it directly is not supported.",
17384
+ "attribute": "alternating",
17385
+ "reflects": true
17386
+ },
17009
17387
  {
17010
17388
  "kind": "field",
17011
17389
  "name": "color",
@@ -17048,6 +17426,41 @@
17048
17426
  "default": "false",
17049
17427
  "description": "Whether the headline slot currently has assigned content."
17050
17428
  },
17429
+ {
17430
+ "kind": "field",
17431
+ "name": "_hasLabel",
17432
+ "type": {
17433
+ "text": "boolean"
17434
+ },
17435
+ "privacy": "private",
17436
+ "default": "false",
17437
+ "description": "Whether the label slot currently has assigned content."
17438
+ },
17439
+ {
17440
+ "kind": "method",
17441
+ "name": "_renderMeta",
17442
+ "privacy": "private",
17443
+ "description": "The entry's one time/label element: a slotted label, else the `label`\nproperty, else a relative time. Placed inline beside the headline in the\ndefault layout and in its own column when alternating."
17444
+ },
17445
+ {
17446
+ "kind": "method",
17447
+ "name": "_onLabelSlotChange",
17448
+ "privacy": "private",
17449
+ "return": {
17450
+ "type": {
17451
+ "text": "void"
17452
+ }
17453
+ },
17454
+ "parameters": [
17455
+ {
17456
+ "name": "event",
17457
+ "type": {
17458
+ "text": "Event"
17459
+ }
17460
+ }
17461
+ ],
17462
+ "description": "Tracks whether the label slot has content, so an empty one can collapse."
17463
+ },
17051
17464
  {
17052
17465
  "kind": "method",
17053
17466
  "name": "_onHeadlineSlotChange",
@@ -17078,6 +17491,24 @@
17078
17491
  "description": "ISO 8601 or SQLite datetime string, rendered as a relative time.",
17079
17492
  "fieldName": "datetime"
17080
17493
  },
17494
+ {
17495
+ "name": "label",
17496
+ "type": {
17497
+ "text": "string | null"
17498
+ },
17499
+ "default": "null",
17500
+ "description": "Free-text label shown in place of the relative time; wins over `datetime`.",
17501
+ "fieldName": "label"
17502
+ },
17503
+ {
17504
+ "name": "alternating",
17505
+ "type": {
17506
+ "text": "boolean"
17507
+ },
17508
+ "default": "false",
17509
+ "description": "Three-column alternating presentation. Set by `timeline-container` from its\nown `layout`; setting it directly is not supported.",
17510
+ "fieldName": "alternating"
17511
+ },
17081
17512
  {
17082
17513
  "name": "color",
17083
17514
  "type": {
@@ -0,0 +1,43 @@
1
+ import { LitElement } from "lit";
2
+ /** Fired after the fullscreen state changes. `detail.active` is the new state. */
3
+ export interface FullscreenChangeDetail {
4
+ active: boolean;
5
+ }
6
+ /**
7
+ * Toggles fullscreen presentation of the page, or of a given `target` element.
8
+ *
9
+ * The icon and accessible name track the *actual* fullscreen state rather than
10
+ * this button's own clicks, because fullscreen can be left without touching it
11
+ * — Escape, or the browser's own chrome — which would otherwise leave the
12
+ * button showing the wrong affordance.
13
+ *
14
+ * The control is styled as a square icon-sized `ui-button` `secondary` variant
15
+ * (2rem, `--ui-radius-sm` corners, the `--ui-button-secondary-*` background and
16
+ * border tokens, so a gradient theme carries over) layered over an opaque
17
+ * `--ui-surface` base and an elevation shadow, since it normally floats above
18
+ * the content it expands.
19
+ *
20
+ * @element fullscreen-button
21
+ * @fires fullscreen-change - The fullscreen state changed, from this button or
22
+ * otherwise (`detail: { active }`).
23
+ */
24
+ export declare class FullscreenButton extends LitElement {
25
+ #private;
26
+ /** Element to present fullscreen; `null` (default) presents the whole page. */
27
+ target: HTMLElement | null;
28
+ /** Accessible name while not fullscreen. */
29
+ enterLabel: string;
30
+ /** Accessible name while fullscreen. */
31
+ exitLabel: string;
32
+ private _active;
33
+ static styles: import("lit").CSSResult[];
34
+ connectedCallback(): void;
35
+ disconnectedCallback(): void;
36
+ render(): import("lit-html").TemplateResult<1>;
37
+ }
38
+ declare global {
39
+ interface HTMLElementTagNameMap {
40
+ "fullscreen-button": FullscreenButton;
41
+ }
42
+ }
43
+ //# sourceMappingURL=fullscreen-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fullscreen-button.d.ts","sourceRoot":"","sources":["../src/fullscreen-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAK5C,kFAAkF;AAClF,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,OAAO,CAAC;CACjB;AAiBD;;;;;;;;;;;;;;;;;GAiBG;AACH,qBACa,gBAAiB,SAAQ,UAAU;;IAC9C,+EAA+E;IAC/C,MAAM,EAAE,WAAW,GAAG,IAAI,CAAQ;IAElE,4CAA4C;IACJ,UAAU,SAAuB;IAEzE,wCAAwC;IACD,SAAS,SAAsB;IAE7D,OAAO,CAAC,OAAO,CAAS;IAEjC,OAAgB,MAAM,4BAuDpB;IAEO,iBAAiB,IAAI,IAAI,CAKjC;IAEQ,oBAAoB,IAAI,IAAI,CAIpC;IAEQ,MAAM,yCAOd;CA+BF;AAQD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,gBAAgB,CAAC;KACvC;CACF"}