@f-ewald/components 1.19.0 → 1.20.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
@@ -83,6 +83,7 @@ import "@f-ewald/components/roman-numeral.js";
83
83
  | `<loading-spinner>` | [API reference](https://f-ewald.github.io/components/docs/loading-spinner.html) |
84
84
  | `<map-circle>` | [API reference](https://f-ewald.github.io/components/docs/map-circle.html) |
85
85
  | `<map-pin>` | [API reference](https://f-ewald.github.io/components/docs/map-pin.html) |
86
+ | `<markdown-editor>` | [API reference](https://f-ewald.github.io/components/docs/markdown-editor.html) |
86
87
  | `<markdown-view>` | [API reference](https://f-ewald.github.io/components/docs/markdown-view.html) |
87
88
  | `<multi-select>` | [API reference](https://f-ewald.github.io/components/docs/multi-select.html) |
88
89
  | `<page-header>` | [API reference](https://f-ewald.github.io/components/docs/page-header.html) |
@@ -103,6 +104,8 @@ import "@f-ewald/components/roman-numeral.js";
103
104
  | `<split-hero>` | [API reference](https://f-ewald.github.io/components/docs/split-hero.html) |
104
105
  | `<stat-meter>` | [API reference](https://f-ewald.github.io/components/docs/stat-meter.html) |
105
106
  | `<status-pill>` | [API reference](https://f-ewald.github.io/components/docs/status-pill.html) |
107
+ | `<tab-bar>` | [API reference](https://f-ewald.github.io/components/docs/tab-bar.html) |
108
+ | `<tab-item>` | [API reference](https://f-ewald.github.io/components/docs/tab-item.html) |
106
109
  | `<text-area>` | [API reference](https://f-ewald.github.io/components/docs/text-area.html) |
107
110
  | `<tile-grid>` | [API reference](https://f-ewald.github.io/components/docs/tile-grid.html) |
108
111
  | `<timeline-container>` | [API reference](https://f-ewald.github.io/components/docs/timeline-container.html) |
@@ -7241,6 +7241,62 @@
7241
7241
  "module": "./split-hero.js"
7242
7242
  }
7243
7243
  },
7244
+ {
7245
+ "kind": "js",
7246
+ "name": "TabBar",
7247
+ "declaration": {
7248
+ "name": "TabBar",
7249
+ "module": "./tab-bar.js"
7250
+ }
7251
+ },
7252
+ {
7253
+ "kind": "js",
7254
+ "name": "TabChangeDetail",
7255
+ "declaration": {
7256
+ "name": "TabChangeDetail",
7257
+ "module": "./tab-bar.js"
7258
+ }
7259
+ },
7260
+ {
7261
+ "kind": "js",
7262
+ "name": "TabItem",
7263
+ "declaration": {
7264
+ "name": "TabItem",
7265
+ "module": "./tab-item.js"
7266
+ }
7267
+ },
7268
+ {
7269
+ "kind": "js",
7270
+ "name": "MarkdownEditor",
7271
+ "declaration": {
7272
+ "name": "MarkdownEditor",
7273
+ "module": "./markdown-editor.js"
7274
+ }
7275
+ },
7276
+ {
7277
+ "kind": "js",
7278
+ "name": "parseFrontMatter",
7279
+ "declaration": {
7280
+ "name": "parseFrontMatter",
7281
+ "module": "./utils/front-matter.js"
7282
+ }
7283
+ },
7284
+ {
7285
+ "kind": "js",
7286
+ "name": "formatFrontMatterValue",
7287
+ "declaration": {
7288
+ "name": "formatFrontMatterValue",
7289
+ "module": "./utils/front-matter.js"
7290
+ }
7291
+ },
7292
+ {
7293
+ "kind": "js",
7294
+ "name": "FrontMatterResult",
7295
+ "declaration": {
7296
+ "name": "FrontMatterResult",
7297
+ "module": "./utils/front-matter.js"
7298
+ }
7299
+ },
7244
7300
  {
7245
7301
  "kind": "js",
7246
7302
  "name": "formatDuration",
@@ -9290,6 +9346,154 @@
9290
9346
  }
9291
9347
  ]
9292
9348
  },
9349
+ {
9350
+ "kind": "javascript-module",
9351
+ "path": "src/markdown-editor.ts",
9352
+ "declarations": [
9353
+ {
9354
+ "kind": "class",
9355
+ "description": "GitHub-style markdown editor: a \"Write\" tab holding a plain textarea and a\n\"Preview\" tab rendering the markdown body (via `markdown-view`). Leading\nYAML front matter (a `---`-delimited block) is detected, parsed, and shown\nas a key-value table above the rendered body rather than as raw text.",
9356
+ "name": "MarkdownEditor",
9357
+ "members": [
9358
+ {
9359
+ "kind": "field",
9360
+ "name": "value",
9361
+ "type": {
9362
+ "text": "string"
9363
+ },
9364
+ "default": "\"\"",
9365
+ "description": "Full raw document text, including any front matter block.",
9366
+ "attribute": "value"
9367
+ },
9368
+ {
9369
+ "kind": "field",
9370
+ "name": "rows",
9371
+ "type": {
9372
+ "text": "number"
9373
+ },
9374
+ "default": "12",
9375
+ "description": "Visible row count for the Write tab's textarea.",
9376
+ "attribute": "rows"
9377
+ },
9378
+ {
9379
+ "kind": "field",
9380
+ "name": "placeholder",
9381
+ "type": {
9382
+ "text": "string"
9383
+ },
9384
+ "default": "\"\"",
9385
+ "description": "Placeholder text shown when the Write tab is empty.",
9386
+ "attribute": "placeholder"
9387
+ },
9388
+ {
9389
+ "kind": "method",
9390
+ "name": "_onInput",
9391
+ "privacy": "private",
9392
+ "return": {
9393
+ "type": {
9394
+ "text": "void"
9395
+ }
9396
+ },
9397
+ "parameters": [
9398
+ {
9399
+ "name": "e",
9400
+ "type": {
9401
+ "text": "Event"
9402
+ }
9403
+ }
9404
+ ]
9405
+ },
9406
+ {
9407
+ "kind": "method",
9408
+ "name": "_onChange",
9409
+ "privacy": "private",
9410
+ "return": {
9411
+ "type": {
9412
+ "text": "void"
9413
+ }
9414
+ },
9415
+ "parameters": [
9416
+ {
9417
+ "name": "e",
9418
+ "type": {
9419
+ "text": "Event"
9420
+ }
9421
+ }
9422
+ ]
9423
+ }
9424
+ ],
9425
+ "events": [
9426
+ {
9427
+ "name": "input",
9428
+ "type": {
9429
+ "text": "CustomEvent"
9430
+ },
9431
+ "description": "Fires on every keystroke in the Write tab; detail: { value: string }."
9432
+ },
9433
+ {
9434
+ "name": "change",
9435
+ "type": {
9436
+ "text": "CustomEvent"
9437
+ },
9438
+ "description": "Native change semantics (on blur, if the value changed); detail: { value: string }."
9439
+ }
9440
+ ],
9441
+ "attributes": [
9442
+ {
9443
+ "name": "value",
9444
+ "type": {
9445
+ "text": "string"
9446
+ },
9447
+ "default": "\"\"",
9448
+ "description": "Full raw document text, including any front matter block.",
9449
+ "fieldName": "value"
9450
+ },
9451
+ {
9452
+ "name": "rows",
9453
+ "type": {
9454
+ "text": "number"
9455
+ },
9456
+ "default": "12",
9457
+ "description": "Visible row count for the Write tab's textarea.",
9458
+ "fieldName": "rows"
9459
+ },
9460
+ {
9461
+ "name": "placeholder",
9462
+ "type": {
9463
+ "text": "string"
9464
+ },
9465
+ "default": "\"\"",
9466
+ "description": "Placeholder text shown when the Write tab is empty.",
9467
+ "fieldName": "placeholder"
9468
+ }
9469
+ ],
9470
+ "superclass": {
9471
+ "name": "LitElement",
9472
+ "package": "lit"
9473
+ },
9474
+ "tagName": "markdown-editor",
9475
+ "customElement": true
9476
+ }
9477
+ ],
9478
+ "exports": [
9479
+ {
9480
+ "kind": "js",
9481
+ "name": "MarkdownEditor",
9482
+ "declaration": {
9483
+ "name": "MarkdownEditor",
9484
+ "module": "src/markdown-editor.ts"
9485
+ }
9486
+ },
9487
+ {
9488
+ "kind": "custom-element-definition",
9489
+ "name": "markdown-editor",
9490
+ "declaration": {
9491
+ "name": "MarkdownEditor",
9492
+ "module": "src/markdown-editor.ts"
9493
+ }
9494
+ }
9495
+ ]
9496
+ },
9293
9497
  {
9294
9498
  "kind": "javascript-module",
9295
9499
  "path": "src/markdown-view.ts",
@@ -13327,6 +13531,326 @@
13327
13531
  }
13328
13532
  ]
13329
13533
  },
13534
+ {
13535
+ "kind": "javascript-module",
13536
+ "path": "src/tab-bar.ts",
13537
+ "declarations": [
13538
+ {
13539
+ "kind": "class",
13540
+ "description": "WAI-ARIA tabs pattern (automatic activation, roving tabindex) driving a\nstrip of declarative `tab-item` children. `tab-bar` renders the `role=\"tab\"`\nbutton strip itself, reading `label`/`value`/`selected` off each slotted\n`tab-item`; each `tab-item` owns its own visibility via its reflected\n`selected` attribute.\n\nThe active tab's underline uses `--ui-primary`; a `--ui-border` line spans\nthe full strip beneath every tab, standing in for the inactive state since\nthis design system has no dedicated secondary accent color.",
13541
+ "name": "TabBar",
13542
+ "slots": [
13543
+ {
13544
+ "description": "`tab-item` elements.",
13545
+ "name": ""
13546
+ }
13547
+ ],
13548
+ "members": [
13549
+ {
13550
+ "kind": "field",
13551
+ "name": "label",
13552
+ "type": {
13553
+ "text": "string"
13554
+ },
13555
+ "default": "\"\"",
13556
+ "description": "Accessible name for the tablist (e.g. \"Editor mode\").",
13557
+ "attribute": "label"
13558
+ },
13559
+ {
13560
+ "kind": "field",
13561
+ "name": "_tabItems",
13562
+ "type": {
13563
+ "text": "TabItem[]"
13564
+ },
13565
+ "privacy": "private",
13566
+ "readonly": true
13567
+ },
13568
+ {
13569
+ "kind": "field",
13570
+ "name": "_version",
13571
+ "type": {
13572
+ "text": "number"
13573
+ },
13574
+ "privacy": "private",
13575
+ "default": "0"
13576
+ },
13577
+ {
13578
+ "kind": "field",
13579
+ "name": "_uid",
13580
+ "privacy": "private",
13581
+ "readonly": true,
13582
+ "default": "`tab-bar-${++instanceCount}`"
13583
+ },
13584
+ {
13585
+ "kind": "field",
13586
+ "name": "_observer",
13587
+ "type": {
13588
+ "text": "MutationObserver | undefined"
13589
+ },
13590
+ "privacy": "private"
13591
+ },
13592
+ {
13593
+ "kind": "method",
13594
+ "name": "_handleSlotChange",
13595
+ "privacy": "private",
13596
+ "return": {
13597
+ "type": {
13598
+ "text": "void"
13599
+ }
13600
+ }
13601
+ },
13602
+ {
13603
+ "kind": "method",
13604
+ "name": "_ensureSelection",
13605
+ "privacy": "private",
13606
+ "return": {
13607
+ "type": {
13608
+ "text": "void"
13609
+ }
13610
+ },
13611
+ "description": "Defaults the first tab-item to selected if none was marked so by the consumer."
13612
+ },
13613
+ {
13614
+ "kind": "method",
13615
+ "name": "_currentIndex",
13616
+ "privacy": "private",
13617
+ "return": {
13618
+ "type": {
13619
+ "text": "number"
13620
+ }
13621
+ }
13622
+ },
13623
+ {
13624
+ "kind": "method",
13625
+ "name": "_tabButtonId",
13626
+ "privacy": "private",
13627
+ "return": {
13628
+ "type": {
13629
+ "text": "string"
13630
+ }
13631
+ },
13632
+ "parameters": [
13633
+ {
13634
+ "name": "index",
13635
+ "type": {
13636
+ "text": "number"
13637
+ }
13638
+ }
13639
+ ]
13640
+ },
13641
+ {
13642
+ "kind": "method",
13643
+ "name": "_select",
13644
+ "privacy": "private",
13645
+ "return": {
13646
+ "type": {
13647
+ "text": "void"
13648
+ }
13649
+ },
13650
+ "parameters": [
13651
+ {
13652
+ "name": "index",
13653
+ "type": {
13654
+ "text": "number"
13655
+ }
13656
+ },
13657
+ {
13658
+ "name": "options",
13659
+ "optional": true,
13660
+ "type": {
13661
+ "text": "{ focus?: boolean }"
13662
+ }
13663
+ }
13664
+ ]
13665
+ },
13666
+ {
13667
+ "kind": "method",
13668
+ "name": "_focusButton",
13669
+ "privacy": "private",
13670
+ "return": {
13671
+ "type": {
13672
+ "text": "void"
13673
+ }
13674
+ },
13675
+ "parameters": [
13676
+ {
13677
+ "name": "index",
13678
+ "type": {
13679
+ "text": "number"
13680
+ }
13681
+ }
13682
+ ]
13683
+ },
13684
+ {
13685
+ "kind": "method",
13686
+ "name": "_onKeydown",
13687
+ "privacy": "private",
13688
+ "return": {
13689
+ "type": {
13690
+ "text": "void"
13691
+ }
13692
+ },
13693
+ "parameters": [
13694
+ {
13695
+ "name": "event",
13696
+ "type": {
13697
+ "text": "KeyboardEvent"
13698
+ }
13699
+ }
13700
+ ],
13701
+ "description": "Arrow/Home/End roving-tabindex navigation with automatic activation."
13702
+ }
13703
+ ],
13704
+ "events": [
13705
+ {
13706
+ "name": "change",
13707
+ "type": {
13708
+ "text": "CustomEvent"
13709
+ },
13710
+ "description": "The active tab changed via click or keyboard; detail: `TabChangeDetail`."
13711
+ }
13712
+ ],
13713
+ "attributes": [
13714
+ {
13715
+ "name": "label",
13716
+ "type": {
13717
+ "text": "string"
13718
+ },
13719
+ "default": "\"\"",
13720
+ "description": "Accessible name for the tablist (e.g. \"Editor mode\").",
13721
+ "fieldName": "label"
13722
+ }
13723
+ ],
13724
+ "superclass": {
13725
+ "name": "LitElement",
13726
+ "package": "lit"
13727
+ },
13728
+ "tagName": "tab-bar",
13729
+ "customElement": true
13730
+ }
13731
+ ],
13732
+ "exports": [
13733
+ {
13734
+ "kind": "js",
13735
+ "name": "TabBar",
13736
+ "declaration": {
13737
+ "name": "TabBar",
13738
+ "module": "src/tab-bar.ts"
13739
+ }
13740
+ },
13741
+ {
13742
+ "kind": "custom-element-definition",
13743
+ "name": "tab-bar",
13744
+ "declaration": {
13745
+ "name": "TabBar",
13746
+ "module": "src/tab-bar.ts"
13747
+ }
13748
+ }
13749
+ ]
13750
+ },
13751
+ {
13752
+ "kind": "javascript-module",
13753
+ "path": "src/tab-item.ts",
13754
+ "declarations": [
13755
+ {
13756
+ "kind": "class",
13757
+ "description": "A single labeled panel inside a `tab-bar`. Renders its default slot as an\nARIA `tabpanel`, shown or hidden based on `selected` — `tab-bar` reads\n`label`/`value` to build its tab strip and toggles `selected` on the\nactive panel.",
13758
+ "name": "TabItem",
13759
+ "slots": [
13760
+ {
13761
+ "description": "Panel content, shown only while `selected`.",
13762
+ "name": ""
13763
+ }
13764
+ ],
13765
+ "members": [
13766
+ {
13767
+ "kind": "field",
13768
+ "name": "label",
13769
+ "type": {
13770
+ "text": "string"
13771
+ },
13772
+ "default": "\"\"",
13773
+ "description": "Text shown in the tab-bar's tab button for this panel.",
13774
+ "attribute": "label"
13775
+ },
13776
+ {
13777
+ "kind": "field",
13778
+ "name": "value",
13779
+ "type": {
13780
+ "text": "string"
13781
+ },
13782
+ "default": "\"\"",
13783
+ "description": "Stable identifier reported in `tab-bar`'s `change` event; defaults to `label`.",
13784
+ "attribute": "value"
13785
+ },
13786
+ {
13787
+ "kind": "field",
13788
+ "name": "selected",
13789
+ "type": {
13790
+ "text": "boolean"
13791
+ },
13792
+ "default": "false",
13793
+ "description": "Whether this panel is the active one; `tab-bar` owns this.",
13794
+ "attribute": "selected",
13795
+ "reflects": true
13796
+ }
13797
+ ],
13798
+ "attributes": [
13799
+ {
13800
+ "name": "label",
13801
+ "type": {
13802
+ "text": "string"
13803
+ },
13804
+ "default": "\"\"",
13805
+ "description": "Text shown in the tab-bar's tab button for this panel.",
13806
+ "fieldName": "label"
13807
+ },
13808
+ {
13809
+ "name": "value",
13810
+ "type": {
13811
+ "text": "string"
13812
+ },
13813
+ "default": "\"\"",
13814
+ "description": "Stable identifier reported in `tab-bar`'s `change` event; defaults to `label`.",
13815
+ "fieldName": "value"
13816
+ },
13817
+ {
13818
+ "name": "selected",
13819
+ "type": {
13820
+ "text": "boolean"
13821
+ },
13822
+ "default": "false",
13823
+ "description": "Whether this panel is the active one; `tab-bar` owns this.",
13824
+ "fieldName": "selected"
13825
+ }
13826
+ ],
13827
+ "superclass": {
13828
+ "name": "LitElement",
13829
+ "package": "lit"
13830
+ },
13831
+ "tagName": "tab-item",
13832
+ "customElement": true
13833
+ }
13834
+ ],
13835
+ "exports": [
13836
+ {
13837
+ "kind": "js",
13838
+ "name": "TabItem",
13839
+ "declaration": {
13840
+ "name": "TabItem",
13841
+ "module": "src/tab-item.ts"
13842
+ }
13843
+ },
13844
+ {
13845
+ "kind": "custom-element-definition",
13846
+ "name": "tab-item",
13847
+ "declaration": {
13848
+ "name": "TabItem",
13849
+ "module": "src/tab-item.ts"
13850
+ }
13851
+ }
13852
+ ]
13853
+ },
13330
13854
  {
13331
13855
  "kind": "javascript-module",
13332
13856
  "path": "src/text-area.ts",
@@ -15577,6 +16101,66 @@
15577
16101
  }
15578
16102
  ]
15579
16103
  },
16104
+ {
16105
+ "kind": "javascript-module",
16106
+ "path": "src/utils/front-matter.ts",
16107
+ "declarations": [
16108
+ {
16109
+ "kind": "function",
16110
+ "name": "parseFrontMatter",
16111
+ "return": {
16112
+ "type": {
16113
+ "text": "FrontMatterResult"
16114
+ }
16115
+ },
16116
+ "parameters": [
16117
+ {
16118
+ "name": "text",
16119
+ "type": {
16120
+ "text": "string"
16121
+ }
16122
+ }
16123
+ ],
16124
+ "description": "Splits a leading `---`-delimited YAML front matter block off a document.\n\nOnly treats the block as front matter if it parses as a non-empty plain\nobject — this avoids misreading a markdown horizontal rule (also `---`) as\nfront matter, and tolerates malformed YAML typed mid-edit by falling back\nto treating the whole document as plain body text."
16125
+ },
16126
+ {
16127
+ "kind": "function",
16128
+ "name": "formatFrontMatterValue",
16129
+ "return": {
16130
+ "type": {
16131
+ "text": "string"
16132
+ }
16133
+ },
16134
+ "parameters": [
16135
+ {
16136
+ "name": "value",
16137
+ "type": {
16138
+ "text": "unknown"
16139
+ }
16140
+ }
16141
+ ],
16142
+ "description": "Stringifies a parsed front matter value for key-value table display."
16143
+ }
16144
+ ],
16145
+ "exports": [
16146
+ {
16147
+ "kind": "js",
16148
+ "name": "parseFrontMatter",
16149
+ "declaration": {
16150
+ "name": "parseFrontMatter",
16151
+ "module": "src/utils/front-matter.ts"
16152
+ }
16153
+ },
16154
+ {
16155
+ "kind": "js",
16156
+ "name": "formatFrontMatterValue",
16157
+ "declaration": {
16158
+ "name": "formatFrontMatterValue",
16159
+ "module": "src/utils/front-matter.ts"
16160
+ }
16161
+ }
16162
+ ]
16163
+ },
15580
16164
  {
15581
16165
  "kind": "javascript-module",
15582
16166
  "path": "src/utils/layer-stack.ts",
package/dist/index.d.ts CHANGED
@@ -68,6 +68,10 @@ export { CardGrid } from "./card-grid.js";
68
68
  export { MarkdownView } from "./markdown-view.js";
69
69
  export { AutoScroll } from "./auto-scroll.js";
70
70
  export { SplitHero } from "./split-hero.js";
71
+ export { TabBar, type TabChangeDetail } from "./tab-bar.js";
72
+ export { TabItem } from "./tab-item.js";
73
+ export { MarkdownEditor } from "./markdown-editor.js";
74
+ export { parseFrontMatter, formatFrontMatterValue, type FrontMatterResult, } from "./utils/front-matter.js";
71
75
  export { formatDuration, type DurationFormat } from "./utils/duration.js";
72
76
  export { tokens, tokenValues, darkTokenValues } from "./tokens.js";
73
77
  export * from "./icons.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,WAA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;AAC5C,OAAO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,KAAK,iBAAiB,GACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnE,cAAc,YAAY,CAAC"}
package/dist/index.js CHANGED
@@ -68,6 +68,10 @@ export { CardGrid } from "./card-grid.js";
68
68
  export { MarkdownView } from "./markdown-view.js";
69
69
  export { AutoScroll } from "./auto-scroll.js";
70
70
  export { SplitHero } from "./split-hero.js";
71
+ export { TabBar } from "./tab-bar.js";
72
+ export { TabItem } from "./tab-item.js";
73
+ export { MarkdownEditor } from "./markdown-editor.js";
74
+ export { parseFrontMatter, formatFrontMatterValue, } from "./utils/front-matter.js";
71
75
  export { formatDuration } from "./utils/duration.js";
72
76
  export { tokens, tokenValues, darkTokenValues } from "./tokens.js";
73
77
  export * from "./icons.js";