@pontive/pontkit-core 1.38.0 → 1.39.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/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/pont2/custom-elements.json +367 -367
- package/dist/pont2/styles.css +3 -6
- package/dist/pont2/theme-golden.json +42 -0
- package/dist/styles.css +3 -6
- package/package.json +11 -5
|
@@ -37374,40 +37374,36 @@
|
|
|
37374
37374
|
},
|
|
37375
37375
|
{
|
|
37376
37376
|
"kind": "javascript-module",
|
|
37377
|
-
"path": "pont2/src/kit/
|
|
37377
|
+
"path": "pont2/src/kit/typography/typography.ts",
|
|
37378
37378
|
"declarations": [
|
|
37379
37379
|
{
|
|
37380
37380
|
"kind": "class",
|
|
37381
|
-
"description": "# `<pont2-
|
|
37382
|
-
"name": "
|
|
37383
|
-
"
|
|
37381
|
+
"description": "# `<pont2-title>`\n\n```html\n<pont2-title level=\"1\" content=\"Welcome back\"></pont2-title>\n→ <pont2-title data-pont2-shell><h1 data-pont2-title data-level=\"1\" data-align=\"auto\">Welcome back</h1></pont2-title>\n```\n\nSizes follow shadcn's auth blocks: level 1 is the block heading (`text-2xl\nfont-bold`), 2–4 step down (`text-xl`/`text-lg`/`text-base`, semibold).",
|
|
37382
|
+
"name": "Title",
|
|
37383
|
+
"cssProperties": [
|
|
37384
37384
|
{
|
|
37385
|
-
"
|
|
37386
|
-
"name": "
|
|
37387
|
-
|
|
37388
|
-
|
|
37389
|
-
|
|
37390
|
-
"
|
|
37391
|
-
"description": "Style identity → `data-pont2-<identity>`. Inherited along the class chain.",
|
|
37392
|
-
"default": "\"secret\"",
|
|
37393
|
-
"inheritedFrom": {
|
|
37394
|
-
"name": "HostElement",
|
|
37395
|
-
"module": "pont2/src/core/host-element.ts"
|
|
37396
|
-
}
|
|
37385
|
+
"description": "--pont2-title-font-weight - colour and weight (default foreground, semibold)",
|
|
37386
|
+
"name": "--pont2-title-fg,"
|
|
37387
|
+
},
|
|
37388
|
+
{
|
|
37389
|
+
"description": "… --pont2-title-h4-font-size - size per level (default text-2xl, -xl, -lg, -base)",
|
|
37390
|
+
"name": "--pont2-title-h1-font-size"
|
|
37397
37391
|
},
|
|
37392
|
+
{
|
|
37393
|
+
"description": "level 1 weight (default the title weight, else bold)",
|
|
37394
|
+
"name": "--pont2-title-h1-font-weight"
|
|
37395
|
+
}
|
|
37396
|
+
],
|
|
37397
|
+
"members": [
|
|
37398
37398
|
{
|
|
37399
37399
|
"kind": "field",
|
|
37400
|
-
"name": "
|
|
37400
|
+
"name": "level",
|
|
37401
|
+
"privacy": "public",
|
|
37401
37402
|
"type": {
|
|
37402
|
-
"text": "
|
|
37403
|
+
"text": "TitleLevel"
|
|
37403
37404
|
},
|
|
37404
|
-
"
|
|
37405
|
-
"
|
|
37406
|
-
"default": "\"secret\"",
|
|
37407
|
-
"inheritedFrom": {
|
|
37408
|
-
"name": "HostElement",
|
|
37409
|
-
"module": "pont2/src/core/host-element.ts"
|
|
37410
|
-
}
|
|
37405
|
+
"default": "\"1\"",
|
|
37406
|
+
"attribute": "level"
|
|
37411
37407
|
},
|
|
37412
37408
|
{
|
|
37413
37409
|
"kind": "field",
|
|
@@ -37425,126 +37421,106 @@
|
|
|
37425
37421
|
},
|
|
37426
37422
|
{
|
|
37427
37423
|
"kind": "field",
|
|
37428
|
-
"name": "
|
|
37429
|
-
"privacy": "public",
|
|
37430
|
-
"type": {
|
|
37431
|
-
"text": "string"
|
|
37432
|
-
},
|
|
37433
|
-
"default": "\"\"",
|
|
37434
|
-
"attribute": "secret"
|
|
37435
|
-
},
|
|
37436
|
-
{
|
|
37437
|
-
"kind": "field",
|
|
37438
|
-
"name": "issuer",
|
|
37439
|
-
"privacy": "public",
|
|
37440
|
-
"type": {
|
|
37441
|
-
"text": "string"
|
|
37442
|
-
},
|
|
37443
|
-
"default": "\"\"",
|
|
37444
|
-
"attribute": "issuer"
|
|
37445
|
-
},
|
|
37446
|
-
{
|
|
37447
|
-
"kind": "field",
|
|
37448
|
-
"name": "account",
|
|
37449
|
-
"privacy": "public",
|
|
37450
|
-
"type": {
|
|
37451
|
-
"text": "string"
|
|
37452
|
-
},
|
|
37453
|
-
"default": "\"\"",
|
|
37454
|
-
"attribute": "account"
|
|
37455
|
-
},
|
|
37456
|
-
{
|
|
37457
|
-
"kind": "field",
|
|
37458
|
-
"name": "titleText",
|
|
37424
|
+
"name": "content",
|
|
37459
37425
|
"privacy": "public",
|
|
37460
37426
|
"type": {
|
|
37461
37427
|
"text": "string"
|
|
37462
37428
|
},
|
|
37463
37429
|
"default": "\"\"",
|
|
37464
|
-
"attribute": "
|
|
37430
|
+
"attribute": "content",
|
|
37431
|
+
"inheritedFrom": {
|
|
37432
|
+
"name": "TextShell",
|
|
37433
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37434
|
+
}
|
|
37465
37435
|
},
|
|
37466
37436
|
{
|
|
37467
37437
|
"kind": "field",
|
|
37468
|
-
"name": "
|
|
37438
|
+
"name": "align",
|
|
37469
37439
|
"privacy": "public",
|
|
37470
37440
|
"type": {
|
|
37471
|
-
"text": "
|
|
37441
|
+
"text": "TextAlign"
|
|
37472
37442
|
},
|
|
37473
|
-
"default": "\"\"",
|
|
37474
|
-
"attribute": "
|
|
37443
|
+
"default": "\"auto\"",
|
|
37444
|
+
"attribute": "align",
|
|
37445
|
+
"inheritedFrom": {
|
|
37446
|
+
"name": "TextShell",
|
|
37447
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37448
|
+
}
|
|
37475
37449
|
},
|
|
37476
37450
|
{
|
|
37477
37451
|
"kind": "field",
|
|
37478
|
-
"name": "
|
|
37479
|
-
"privacy": "public",
|
|
37452
|
+
"name": "control",
|
|
37480
37453
|
"type": {
|
|
37481
|
-
"text": "
|
|
37454
|
+
"text": "HTMLElement | null"
|
|
37482
37455
|
},
|
|
37483
|
-
"
|
|
37484
|
-
"
|
|
37456
|
+
"description": "The single native element this shell stands for.",
|
|
37457
|
+
"readonly": true,
|
|
37458
|
+
"inheritedFrom": {
|
|
37459
|
+
"name": "ShellElement",
|
|
37460
|
+
"module": "pont2/src/core/host-element.ts"
|
|
37461
|
+
}
|
|
37485
37462
|
},
|
|
37486
37463
|
{
|
|
37487
37464
|
"kind": "field",
|
|
37488
|
-
"name": "
|
|
37489
|
-
"privacy": "public",
|
|
37465
|
+
"name": "identity",
|
|
37490
37466
|
"type": {
|
|
37491
|
-
"text": "string"
|
|
37467
|
+
"text": "string | undefined"
|
|
37492
37468
|
},
|
|
37493
|
-
"
|
|
37494
|
-
"
|
|
37469
|
+
"static": true,
|
|
37470
|
+
"description": "Style identity → `data-pont2-<identity>`. Inherited along the class chain.",
|
|
37471
|
+
"default": "\"shell\"",
|
|
37472
|
+
"inheritedFrom": {
|
|
37473
|
+
"name": "HostElement",
|
|
37474
|
+
"module": "pont2/src/core/host-element.ts"
|
|
37475
|
+
}
|
|
37495
37476
|
},
|
|
37496
37477
|
{
|
|
37497
|
-
"kind": "
|
|
37498
|
-
"name": "
|
|
37499
|
-
"
|
|
37500
|
-
|
|
37501
|
-
|
|
37478
|
+
"kind": "method",
|
|
37479
|
+
"name": "focus",
|
|
37480
|
+
"return": {
|
|
37481
|
+
"type": {
|
|
37482
|
+
"text": "void"
|
|
37483
|
+
}
|
|
37502
37484
|
},
|
|
37503
|
-
"
|
|
37504
|
-
|
|
37485
|
+
"parameters": [
|
|
37486
|
+
{
|
|
37487
|
+
"name": "options",
|
|
37488
|
+
"optional": true,
|
|
37489
|
+
"type": {
|
|
37490
|
+
"text": "FocusOptions"
|
|
37491
|
+
}
|
|
37492
|
+
}
|
|
37493
|
+
],
|
|
37494
|
+
"inheritedFrom": {
|
|
37495
|
+
"name": "ShellElement",
|
|
37496
|
+
"module": "pont2/src/core/host-element.ts"
|
|
37497
|
+
}
|
|
37505
37498
|
},
|
|
37506
37499
|
{
|
|
37507
|
-
"kind": "
|
|
37508
|
-
"name": "
|
|
37509
|
-
"
|
|
37510
|
-
|
|
37511
|
-
|
|
37500
|
+
"kind": "method",
|
|
37501
|
+
"name": "blur",
|
|
37502
|
+
"return": {
|
|
37503
|
+
"type": {
|
|
37504
|
+
"text": "void"
|
|
37505
|
+
}
|
|
37512
37506
|
},
|
|
37513
|
-
"
|
|
37514
|
-
|
|
37507
|
+
"inheritedFrom": {
|
|
37508
|
+
"name": "ShellElement",
|
|
37509
|
+
"module": "pont2/src/core/host-element.ts"
|
|
37510
|
+
}
|
|
37515
37511
|
},
|
|
37516
37512
|
{
|
|
37517
37513
|
"kind": "field",
|
|
37518
|
-
"name": "
|
|
37519
|
-
"privacy": "public",
|
|
37514
|
+
"name": "slotName",
|
|
37520
37515
|
"type": {
|
|
37521
|
-
"text": "
|
|
37522
|
-
},
|
|
37523
|
-
"default": "false",
|
|
37524
|
-
"attribute": "disabled",
|
|
37525
|
-
"reflects": true
|
|
37526
|
-
},
|
|
37527
|
-
{
|
|
37528
|
-
"kind": "field",
|
|
37529
|
-
"name": "clipboard",
|
|
37530
|
-
"privacy": "protected",
|
|
37531
|
-
"readonly": true,
|
|
37532
|
-
"default": "new CopyController(this, \"secret\")"
|
|
37533
|
-
},
|
|
37534
|
-
{
|
|
37535
|
-
"kind": "field",
|
|
37536
|
-
"name": "inputId",
|
|
37537
|
-
"privacy": "private"
|
|
37538
|
-
},
|
|
37539
|
-
{
|
|
37540
|
-
"kind": "method",
|
|
37541
|
-
"name": "copy",
|
|
37542
|
-
"return": {
|
|
37543
|
-
"type": {
|
|
37544
|
-
"text": "Promise<boolean>"
|
|
37545
|
-
}
|
|
37516
|
+
"text": "string | undefined"
|
|
37546
37517
|
},
|
|
37547
|
-
"
|
|
37518
|
+
"static": true,
|
|
37519
|
+
"description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
|
|
37520
|
+
"inheritedFrom": {
|
|
37521
|
+
"name": "HostElement",
|
|
37522
|
+
"module": "pont2/src/core/host-element.ts"
|
|
37523
|
+
}
|
|
37548
37524
|
},
|
|
37549
37525
|
{
|
|
37550
37526
|
"kind": "field",
|
|
@@ -37655,161 +37631,62 @@
|
|
|
37655
37631
|
}
|
|
37656
37632
|
}
|
|
37657
37633
|
],
|
|
37658
|
-
"events": [
|
|
37659
|
-
{
|
|
37660
|
-
"name": "pont2-copied",
|
|
37661
|
-
"description": "`{ kind: \"secret\" }`"
|
|
37662
|
-
},
|
|
37663
|
-
{
|
|
37664
|
-
"name": "pont2-copy-error",
|
|
37665
|
-
"description": "`{ kind: \"secret\" }`"
|
|
37666
|
-
}
|
|
37667
|
-
],
|
|
37668
37634
|
"attributes": [
|
|
37669
37635
|
{
|
|
37670
|
-
"description": "default
|
|
37671
|
-
"name": "
|
|
37672
|
-
"type": {
|
|
37673
|
-
"text": "string"
|
|
37674
|
-
},
|
|
37675
|
-
"default": "\"\"",
|
|
37676
|
-
"fieldName": "titleText"
|
|
37677
|
-
},
|
|
37678
|
-
{
|
|
37679
|
-
"description": "disables the copy button",
|
|
37680
|
-
"name": "disabled",
|
|
37681
|
-
"type": {
|
|
37682
|
-
"text": "boolean"
|
|
37683
|
-
},
|
|
37684
|
-
"default": "false",
|
|
37685
|
-
"fieldName": "disabled"
|
|
37686
|
-
},
|
|
37687
|
-
{
|
|
37688
|
-
"name": "secret",
|
|
37636
|
+
"description": "1 (default) | 2 | 3 | 4: the native heading level",
|
|
37637
|
+
"name": "level",
|
|
37689
37638
|
"type": {
|
|
37690
|
-
"text": "
|
|
37639
|
+
"text": "TitleLevel"
|
|
37691
37640
|
},
|
|
37692
|
-
"default": "\"\"",
|
|
37693
|
-
"fieldName": "
|
|
37641
|
+
"default": "\"1\"",
|
|
37642
|
+
"fieldName": "level"
|
|
37694
37643
|
},
|
|
37695
37644
|
{
|
|
37696
|
-
"name": "
|
|
37645
|
+
"name": "content",
|
|
37697
37646
|
"type": {
|
|
37698
37647
|
"text": "string"
|
|
37699
37648
|
},
|
|
37700
37649
|
"default": "\"\"",
|
|
37701
|
-
"fieldName": "
|
|
37650
|
+
"fieldName": "content",
|
|
37651
|
+
"description": "the heading text",
|
|
37652
|
+
"inheritedFrom": {
|
|
37653
|
+
"name": "TextShell",
|
|
37654
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37655
|
+
}
|
|
37702
37656
|
},
|
|
37703
37657
|
{
|
|
37704
|
-
"name": "
|
|
37658
|
+
"name": "align",
|
|
37705
37659
|
"type": {
|
|
37706
|
-
"text": "
|
|
37660
|
+
"text": "TextAlign"
|
|
37707
37661
|
},
|
|
37708
|
-
"default": "\"\"",
|
|
37709
|
-
"fieldName": "
|
|
37710
|
-
|
|
37711
|
-
|
|
37712
|
-
|
|
37713
|
-
|
|
37714
|
-
|
|
37715
|
-
},
|
|
37716
|
-
"default": "\"\"",
|
|
37717
|
-
"fieldName": "secretLabel"
|
|
37718
|
-
},
|
|
37719
|
-
{
|
|
37720
|
-
"name": "issuer-label",
|
|
37721
|
-
"type": {
|
|
37722
|
-
"text": "string"
|
|
37723
|
-
},
|
|
37724
|
-
"default": "\"\"",
|
|
37725
|
-
"fieldName": "issuerLabel"
|
|
37726
|
-
},
|
|
37727
|
-
{
|
|
37728
|
-
"name": "account-label",
|
|
37729
|
-
"type": {
|
|
37730
|
-
"text": "string"
|
|
37731
|
-
},
|
|
37732
|
-
"default": "\"\"",
|
|
37733
|
-
"fieldName": "accountLabel"
|
|
37734
|
-
},
|
|
37735
|
-
{
|
|
37736
|
-
"name": "copy-label",
|
|
37737
|
-
"type": {
|
|
37738
|
-
"text": "string"
|
|
37739
|
-
},
|
|
37740
|
-
"default": "\"\"",
|
|
37741
|
-
"fieldName": "copyLabel"
|
|
37742
|
-
},
|
|
37743
|
-
{
|
|
37744
|
-
"name": "copied-text",
|
|
37745
|
-
"type": {
|
|
37746
|
-
"text": "string"
|
|
37747
|
-
},
|
|
37748
|
-
"default": "\"\"",
|
|
37749
|
-
"fieldName": "copiedText"
|
|
37662
|
+
"default": "\"auto\"",
|
|
37663
|
+
"fieldName": "align",
|
|
37664
|
+
"description": "auto (default: inherit) | start | center | end",
|
|
37665
|
+
"inheritedFrom": {
|
|
37666
|
+
"name": "TextShell",
|
|
37667
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37668
|
+
}
|
|
37750
37669
|
}
|
|
37751
37670
|
],
|
|
37752
37671
|
"superclass": {
|
|
37753
|
-
"name": "
|
|
37754
|
-
"module": "
|
|
37672
|
+
"name": "TextShell",
|
|
37673
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37755
37674
|
},
|
|
37756
|
-
"tagName": "pont2-
|
|
37675
|
+
"tagName": "pont2-title",
|
|
37757
37676
|
"customElement": true,
|
|
37758
37677
|
"pont2Layer": "kit"
|
|
37759
|
-
}
|
|
37760
|
-
],
|
|
37761
|
-
"exports": [
|
|
37762
|
-
{
|
|
37763
|
-
"kind": "js",
|
|
37764
|
-
"name": "Secret",
|
|
37765
|
-
"declaration": {
|
|
37766
|
-
"name": "Secret",
|
|
37767
|
-
"module": "pont2/src/kit/secret/secret.ts"
|
|
37768
|
-
}
|
|
37769
37678
|
},
|
|
37770
|
-
{
|
|
37771
|
-
"kind": "custom-element-definition",
|
|
37772
|
-
"name": "pont2-secret",
|
|
37773
|
-
"declaration": {
|
|
37774
|
-
"name": "Secret",
|
|
37775
|
-
"module": "pont2/src/kit/secret/secret.ts"
|
|
37776
|
-
}
|
|
37777
|
-
}
|
|
37778
|
-
]
|
|
37779
|
-
},
|
|
37780
|
-
{
|
|
37781
|
-
"kind": "javascript-module",
|
|
37782
|
-
"path": "pont2/src/kit/typography/typography.ts",
|
|
37783
|
-
"declarations": [
|
|
37784
37679
|
{
|
|
37785
37680
|
"kind": "class",
|
|
37786
|
-
"description": "# `<pont2-
|
|
37787
|
-
"name": "
|
|
37681
|
+
"description": "# `<pont2-subtitle>`\n\n```html\n<pont2-subtitle content=\"Login to your Acme Inc account\"></pont2-subtitle>\n→ <pont2-subtitle data-pont2-shell><p data-pont2-subtitle data-align=\"auto\">…</p></pont2-subtitle>\n```\n\nshadcn's block description: `text-muted-foreground text-balance` (text-sm).",
|
|
37682
|
+
"name": "Subtitle",
|
|
37788
37683
|
"cssProperties": [
|
|
37789
37684
|
{
|
|
37790
|
-
"description": "--pont2-
|
|
37791
|
-
"name": "--pont2-
|
|
37792
|
-
},
|
|
37793
|
-
{
|
|
37794
|
-
"description": "… --pont2-title-h4-font-size - size per level (default text-2xl, -xl, -lg, -base)",
|
|
37795
|
-
"name": "--pont2-title-h1-font-size"
|
|
37796
|
-
},
|
|
37797
|
-
{
|
|
37798
|
-
"description": "level 1 weight (default the title weight, else bold)",
|
|
37799
|
-
"name": "--pont2-title-h1-font-weight"
|
|
37685
|
+
"description": "--pont2-subtitle-font-size - colour and size (default muted-foreground, text-sm)",
|
|
37686
|
+
"name": "--pont2-subtitle-fg,"
|
|
37800
37687
|
}
|
|
37801
37688
|
],
|
|
37802
37689
|
"members": [
|
|
37803
|
-
{
|
|
37804
|
-
"kind": "field",
|
|
37805
|
-
"name": "level",
|
|
37806
|
-
"privacy": "public",
|
|
37807
|
-
"type": {
|
|
37808
|
-
"text": "TitleLevel"
|
|
37809
|
-
},
|
|
37810
|
-
"default": "\"1\"",
|
|
37811
|
-
"attribute": "level"
|
|
37812
|
-
},
|
|
37813
37690
|
{
|
|
37814
37691
|
"kind": "field",
|
|
37815
37692
|
"name": "composite",
|
|
@@ -38037,15 +37914,6 @@
|
|
|
38037
37914
|
}
|
|
38038
37915
|
],
|
|
38039
37916
|
"attributes": [
|
|
38040
|
-
{
|
|
38041
|
-
"description": "1 (default) | 2 | 3 | 4: the native heading level",
|
|
38042
|
-
"name": "level",
|
|
38043
|
-
"type": {
|
|
38044
|
-
"text": "TitleLevel"
|
|
38045
|
-
},
|
|
38046
|
-
"default": "\"1\"",
|
|
38047
|
-
"fieldName": "level"
|
|
38048
|
-
},
|
|
38049
37917
|
{
|
|
38050
37918
|
"name": "content",
|
|
38051
37919
|
"type": {
|
|
@@ -38053,7 +37921,6 @@
|
|
|
38053
37921
|
},
|
|
38054
37922
|
"default": "\"\"",
|
|
38055
37923
|
"fieldName": "content",
|
|
38056
|
-
"description": "the heading text",
|
|
38057
37924
|
"inheritedFrom": {
|
|
38058
37925
|
"name": "TextShell",
|
|
38059
37926
|
"module": "pont2/src/kit/typography/typography.ts"
|
|
@@ -38066,7 +37933,6 @@
|
|
|
38066
37933
|
},
|
|
38067
37934
|
"default": "\"auto\"",
|
|
38068
37935
|
"fieldName": "align",
|
|
38069
|
-
"description": "auto (default: inherit) | start | center | end",
|
|
38070
37936
|
"inheritedFrom": {
|
|
38071
37937
|
"name": "TextShell",
|
|
38072
37938
|
"module": "pont2/src/kit/typography/typography.ts"
|
|
@@ -38077,21 +37943,83 @@
|
|
|
38077
37943
|
"name": "TextShell",
|
|
38078
37944
|
"module": "pont2/src/kit/typography/typography.ts"
|
|
38079
37945
|
},
|
|
38080
|
-
"tagName": "pont2-
|
|
37946
|
+
"tagName": "pont2-subtitle",
|
|
38081
37947
|
"customElement": true,
|
|
38082
37948
|
"pont2Layer": "kit"
|
|
37949
|
+
}
|
|
37950
|
+
],
|
|
37951
|
+
"exports": [
|
|
37952
|
+
{
|
|
37953
|
+
"kind": "js",
|
|
37954
|
+
"name": "Title",
|
|
37955
|
+
"declaration": {
|
|
37956
|
+
"name": "Title",
|
|
37957
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37958
|
+
}
|
|
38083
37959
|
},
|
|
38084
37960
|
{
|
|
38085
|
-
"kind": "
|
|
38086
|
-
"description": "# `<pont2-subtitle>`\n\n```html\n<pont2-subtitle content=\"Login to your Acme Inc account\"></pont2-subtitle>\n→ <pont2-subtitle data-pont2-shell><p data-pont2-subtitle data-align=\"auto\">…</p></pont2-subtitle>\n```\n\nshadcn's block description: `text-muted-foreground text-balance` (text-sm).",
|
|
37961
|
+
"kind": "js",
|
|
38087
37962
|
"name": "Subtitle",
|
|
38088
|
-
"
|
|
38089
|
-
|
|
38090
|
-
|
|
38091
|
-
|
|
38092
|
-
|
|
38093
|
-
|
|
37963
|
+
"declaration": {
|
|
37964
|
+
"name": "Subtitle",
|
|
37965
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37966
|
+
}
|
|
37967
|
+
},
|
|
37968
|
+
{
|
|
37969
|
+
"kind": "custom-element-definition",
|
|
37970
|
+
"name": "pont2-title",
|
|
37971
|
+
"declaration": {
|
|
37972
|
+
"name": "Title",
|
|
37973
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37974
|
+
}
|
|
37975
|
+
},
|
|
37976
|
+
{
|
|
37977
|
+
"kind": "custom-element-definition",
|
|
37978
|
+
"name": "pont2-subtitle",
|
|
37979
|
+
"declaration": {
|
|
37980
|
+
"name": "Subtitle",
|
|
37981
|
+
"module": "pont2/src/kit/typography/typography.ts"
|
|
37982
|
+
}
|
|
37983
|
+
}
|
|
37984
|
+
]
|
|
37985
|
+
},
|
|
37986
|
+
{
|
|
37987
|
+
"kind": "javascript-module",
|
|
37988
|
+
"path": "pont2/src/kit/secret/secret.ts",
|
|
37989
|
+
"declarations": [
|
|
37990
|
+
{
|
|
37991
|
+
"kind": "class",
|
|
37992
|
+
"description": "# `<pont2-secret>`: the \"Can't scan?\" manual TOTP secret\n\n```html\n<pont2-secret secret=\"JBSWY3DPEHPK3PXP\" issuer=\"Acme\" account=\"ada@example.com\"></pont2-secret>\n```\n\n```html\n<pont2-secret data-pont2-secret data-slot=\"secret\">\n <p data-slot=\"secret-title\">Can't scan?</p>\n <div data-pont2-input-group …>\n <input data-pont2-input-group-input readonly value=\"JBSWY3DPEHPK3PXP\" aria-label=\"Manual secret\">\n <div data-pont2-input-group-addon data-align=\"inline-end\">\n <button … aria-label=\"Copy secret\"><svg/></button>\n </div>\n </div>\n <span data-slot=\"secret-copied\" role=\"status\">Copied!</span> (after copying)\n <dl data-slot=\"secret-metadata\"><div><dt>Issuer</dt><dd>Acme</dd></div><div><dt>Account</dt><dd>…</dd></div></dl>\n</pont2-secret>\n```\n\nBuilt from InputGroup parts (shadcn's input + addon button). Differences\nfrom the legacy element, each deliberate:\n- the input is **readonly**, not disabled: it can be focused and selected\n (copy by hand, screen readers read it); monospace, spaced for reading;\n- \"Copied!\" is a `role=\"status\"` live region, so it is announced;\n- the copy events (`pont2-copied` / `pont2-copy-error`, `{ kind: \"secret\" }`)\n **do not carry the secret** (the legacy `pont-secret:copied` did);\n- issuer/account are a description list (`<dl>`), their semantic form.",
|
|
37993
|
+
"name": "Secret",
|
|
38094
37994
|
"members": [
|
|
37995
|
+
{
|
|
37996
|
+
"kind": "field",
|
|
37997
|
+
"name": "identity",
|
|
37998
|
+
"type": {
|
|
37999
|
+
"text": "string | undefined"
|
|
38000
|
+
},
|
|
38001
|
+
"static": true,
|
|
38002
|
+
"description": "Style identity → `data-pont2-<identity>`. Inherited along the class chain.",
|
|
38003
|
+
"default": "\"secret\"",
|
|
38004
|
+
"inheritedFrom": {
|
|
38005
|
+
"name": "HostElement",
|
|
38006
|
+
"module": "pont2/src/core/host-element.ts"
|
|
38007
|
+
}
|
|
38008
|
+
},
|
|
38009
|
+
{
|
|
38010
|
+
"kind": "field",
|
|
38011
|
+
"name": "slotName",
|
|
38012
|
+
"type": {
|
|
38013
|
+
"text": "string | undefined"
|
|
38014
|
+
},
|
|
38015
|
+
"static": true,
|
|
38016
|
+
"description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
|
|
38017
|
+
"default": "\"secret\"",
|
|
38018
|
+
"inheritedFrom": {
|
|
38019
|
+
"name": "HostElement",
|
|
38020
|
+
"module": "pont2/src/core/host-element.ts"
|
|
38021
|
+
}
|
|
38022
|
+
},
|
|
38095
38023
|
{
|
|
38096
38024
|
"kind": "field",
|
|
38097
38025
|
"name": "composite",
|
|
@@ -38108,106 +38036,126 @@
|
|
|
38108
38036
|
},
|
|
38109
38037
|
{
|
|
38110
38038
|
"kind": "field",
|
|
38111
|
-
"name": "
|
|
38039
|
+
"name": "secret",
|
|
38112
38040
|
"privacy": "public",
|
|
38113
38041
|
"type": {
|
|
38114
38042
|
"text": "string"
|
|
38115
38043
|
},
|
|
38116
38044
|
"default": "\"\"",
|
|
38117
|
-
"attribute": "
|
|
38118
|
-
"inheritedFrom": {
|
|
38119
|
-
"name": "TextShell",
|
|
38120
|
-
"module": "pont2/src/kit/typography/typography.ts"
|
|
38121
|
-
}
|
|
38045
|
+
"attribute": "secret"
|
|
38122
38046
|
},
|
|
38123
38047
|
{
|
|
38124
38048
|
"kind": "field",
|
|
38125
|
-
"name": "
|
|
38049
|
+
"name": "issuer",
|
|
38126
38050
|
"privacy": "public",
|
|
38127
38051
|
"type": {
|
|
38128
|
-
"text": "
|
|
38052
|
+
"text": "string"
|
|
38129
38053
|
},
|
|
38130
|
-
"default": "\"
|
|
38131
|
-
"attribute": "
|
|
38132
|
-
"inheritedFrom": {
|
|
38133
|
-
"name": "TextShell",
|
|
38134
|
-
"module": "pont2/src/kit/typography/typography.ts"
|
|
38135
|
-
}
|
|
38054
|
+
"default": "\"\"",
|
|
38055
|
+
"attribute": "issuer"
|
|
38136
38056
|
},
|
|
38137
38057
|
{
|
|
38138
38058
|
"kind": "field",
|
|
38139
|
-
"name": "
|
|
38059
|
+
"name": "account",
|
|
38060
|
+
"privacy": "public",
|
|
38140
38061
|
"type": {
|
|
38141
|
-
"text": "
|
|
38062
|
+
"text": "string"
|
|
38142
38063
|
},
|
|
38143
|
-
"
|
|
38144
|
-
"
|
|
38145
|
-
"inheritedFrom": {
|
|
38146
|
-
"name": "ShellElement",
|
|
38147
|
-
"module": "pont2/src/core/host-element.ts"
|
|
38148
|
-
}
|
|
38064
|
+
"default": "\"\"",
|
|
38065
|
+
"attribute": "account"
|
|
38149
38066
|
},
|
|
38150
38067
|
{
|
|
38151
38068
|
"kind": "field",
|
|
38152
|
-
"name": "
|
|
38069
|
+
"name": "titleText",
|
|
38070
|
+
"privacy": "public",
|
|
38153
38071
|
"type": {
|
|
38154
|
-
"text": "string
|
|
38072
|
+
"text": "string"
|
|
38155
38073
|
},
|
|
38156
|
-
"
|
|
38157
|
-
"
|
|
38158
|
-
"default": "\"shell\"",
|
|
38159
|
-
"inheritedFrom": {
|
|
38160
|
-
"name": "HostElement",
|
|
38161
|
-
"module": "pont2/src/core/host-element.ts"
|
|
38162
|
-
}
|
|
38074
|
+
"default": "\"\"",
|
|
38075
|
+
"attribute": "title-text"
|
|
38163
38076
|
},
|
|
38164
38077
|
{
|
|
38165
|
-
"kind": "
|
|
38166
|
-
"name": "
|
|
38167
|
-
"
|
|
38168
|
-
|
|
38169
|
-
|
|
38170
|
-
}
|
|
38078
|
+
"kind": "field",
|
|
38079
|
+
"name": "secretLabel",
|
|
38080
|
+
"privacy": "public",
|
|
38081
|
+
"type": {
|
|
38082
|
+
"text": "string"
|
|
38171
38083
|
},
|
|
38172
|
-
"
|
|
38173
|
-
|
|
38174
|
-
"name": "options",
|
|
38175
|
-
"optional": true,
|
|
38176
|
-
"type": {
|
|
38177
|
-
"text": "FocusOptions"
|
|
38178
|
-
}
|
|
38179
|
-
}
|
|
38180
|
-
],
|
|
38181
|
-
"inheritedFrom": {
|
|
38182
|
-
"name": "ShellElement",
|
|
38183
|
-
"module": "pont2/src/core/host-element.ts"
|
|
38184
|
-
}
|
|
38084
|
+
"default": "\"\"",
|
|
38085
|
+
"attribute": "secret-label"
|
|
38185
38086
|
},
|
|
38186
38087
|
{
|
|
38187
|
-
"kind": "
|
|
38188
|
-
"name": "
|
|
38189
|
-
"
|
|
38190
|
-
|
|
38191
|
-
|
|
38192
|
-
}
|
|
38088
|
+
"kind": "field",
|
|
38089
|
+
"name": "issuerLabel",
|
|
38090
|
+
"privacy": "public",
|
|
38091
|
+
"type": {
|
|
38092
|
+
"text": "string"
|
|
38193
38093
|
},
|
|
38194
|
-
"
|
|
38195
|
-
|
|
38196
|
-
"module": "pont2/src/core/host-element.ts"
|
|
38197
|
-
}
|
|
38094
|
+
"default": "\"\"",
|
|
38095
|
+
"attribute": "issuer-label"
|
|
38198
38096
|
},
|
|
38199
38097
|
{
|
|
38200
38098
|
"kind": "field",
|
|
38201
|
-
"name": "
|
|
38099
|
+
"name": "accountLabel",
|
|
38100
|
+
"privacy": "public",
|
|
38202
38101
|
"type": {
|
|
38203
|
-
"text": "string
|
|
38102
|
+
"text": "string"
|
|
38204
38103
|
},
|
|
38205
|
-
"
|
|
38206
|
-
"
|
|
38207
|
-
|
|
38208
|
-
|
|
38209
|
-
|
|
38210
|
-
|
|
38104
|
+
"default": "\"\"",
|
|
38105
|
+
"attribute": "account-label"
|
|
38106
|
+
},
|
|
38107
|
+
{
|
|
38108
|
+
"kind": "field",
|
|
38109
|
+
"name": "copyLabel",
|
|
38110
|
+
"privacy": "public",
|
|
38111
|
+
"type": {
|
|
38112
|
+
"text": "string"
|
|
38113
|
+
},
|
|
38114
|
+
"default": "\"\"",
|
|
38115
|
+
"attribute": "copy-label"
|
|
38116
|
+
},
|
|
38117
|
+
{
|
|
38118
|
+
"kind": "field",
|
|
38119
|
+
"name": "copiedText",
|
|
38120
|
+
"privacy": "public",
|
|
38121
|
+
"type": {
|
|
38122
|
+
"text": "string"
|
|
38123
|
+
},
|
|
38124
|
+
"default": "\"\"",
|
|
38125
|
+
"attribute": "copied-text"
|
|
38126
|
+
},
|
|
38127
|
+
{
|
|
38128
|
+
"kind": "field",
|
|
38129
|
+
"name": "disabled",
|
|
38130
|
+
"privacy": "public",
|
|
38131
|
+
"type": {
|
|
38132
|
+
"text": "boolean"
|
|
38133
|
+
},
|
|
38134
|
+
"default": "false",
|
|
38135
|
+
"attribute": "disabled",
|
|
38136
|
+
"reflects": true
|
|
38137
|
+
},
|
|
38138
|
+
{
|
|
38139
|
+
"kind": "field",
|
|
38140
|
+
"name": "clipboard",
|
|
38141
|
+
"privacy": "protected",
|
|
38142
|
+
"readonly": true,
|
|
38143
|
+
"default": "new CopyController(this, \"secret\")"
|
|
38144
|
+
},
|
|
38145
|
+
{
|
|
38146
|
+
"kind": "field",
|
|
38147
|
+
"name": "inputId",
|
|
38148
|
+
"privacy": "private"
|
|
38149
|
+
},
|
|
38150
|
+
{
|
|
38151
|
+
"kind": "method",
|
|
38152
|
+
"name": "copy",
|
|
38153
|
+
"return": {
|
|
38154
|
+
"type": {
|
|
38155
|
+
"text": "Promise<boolean>"
|
|
38156
|
+
}
|
|
38157
|
+
},
|
|
38158
|
+
"description": "Copies the secret (also what the button does)."
|
|
38211
38159
|
},
|
|
38212
38160
|
{
|
|
38213
38161
|
"kind": "field",
|
|
@@ -38318,37 +38266,105 @@
|
|
|
38318
38266
|
}
|
|
38319
38267
|
}
|
|
38320
38268
|
],
|
|
38269
|
+
"events": [
|
|
38270
|
+
{
|
|
38271
|
+
"name": "pont2-copied",
|
|
38272
|
+
"description": "`{ kind: \"secret\" }`"
|
|
38273
|
+
},
|
|
38274
|
+
{
|
|
38275
|
+
"name": "pont2-copy-error",
|
|
38276
|
+
"description": "`{ kind: \"secret\" }`"
|
|
38277
|
+
}
|
|
38278
|
+
],
|
|
38321
38279
|
"attributes": [
|
|
38322
38280
|
{
|
|
38323
|
-
"
|
|
38281
|
+
"description": "default \"Can't scan?\" (`title` would be a native tooltip)",
|
|
38282
|
+
"name": "title-text",
|
|
38324
38283
|
"type": {
|
|
38325
38284
|
"text": "string"
|
|
38326
38285
|
},
|
|
38327
38286
|
"default": "\"\"",
|
|
38328
|
-
"fieldName": "
|
|
38329
|
-
"inheritedFrom": {
|
|
38330
|
-
"name": "TextShell",
|
|
38331
|
-
"module": "pont2/src/kit/typography/typography.ts"
|
|
38332
|
-
}
|
|
38287
|
+
"fieldName": "titleText"
|
|
38333
38288
|
},
|
|
38334
38289
|
{
|
|
38335
|
-
"
|
|
38290
|
+
"description": "disables the copy button",
|
|
38291
|
+
"name": "disabled",
|
|
38336
38292
|
"type": {
|
|
38337
|
-
"text": "
|
|
38293
|
+
"text": "boolean"
|
|
38338
38294
|
},
|
|
38339
|
-
"default": "
|
|
38340
|
-
"fieldName": "
|
|
38341
|
-
|
|
38342
|
-
|
|
38343
|
-
|
|
38344
|
-
|
|
38295
|
+
"default": "false",
|
|
38296
|
+
"fieldName": "disabled"
|
|
38297
|
+
},
|
|
38298
|
+
{
|
|
38299
|
+
"name": "secret",
|
|
38300
|
+
"type": {
|
|
38301
|
+
"text": "string"
|
|
38302
|
+
},
|
|
38303
|
+
"default": "\"\"",
|
|
38304
|
+
"fieldName": "secret"
|
|
38305
|
+
},
|
|
38306
|
+
{
|
|
38307
|
+
"name": "issuer",
|
|
38308
|
+
"type": {
|
|
38309
|
+
"text": "string"
|
|
38310
|
+
},
|
|
38311
|
+
"default": "\"\"",
|
|
38312
|
+
"fieldName": "issuer"
|
|
38313
|
+
},
|
|
38314
|
+
{
|
|
38315
|
+
"name": "account",
|
|
38316
|
+
"type": {
|
|
38317
|
+
"text": "string"
|
|
38318
|
+
},
|
|
38319
|
+
"default": "\"\"",
|
|
38320
|
+
"fieldName": "account"
|
|
38321
|
+
},
|
|
38322
|
+
{
|
|
38323
|
+
"name": "secret-label",
|
|
38324
|
+
"type": {
|
|
38325
|
+
"text": "string"
|
|
38326
|
+
},
|
|
38327
|
+
"default": "\"\"",
|
|
38328
|
+
"fieldName": "secretLabel"
|
|
38329
|
+
},
|
|
38330
|
+
{
|
|
38331
|
+
"name": "issuer-label",
|
|
38332
|
+
"type": {
|
|
38333
|
+
"text": "string"
|
|
38334
|
+
},
|
|
38335
|
+
"default": "\"\"",
|
|
38336
|
+
"fieldName": "issuerLabel"
|
|
38337
|
+
},
|
|
38338
|
+
{
|
|
38339
|
+
"name": "account-label",
|
|
38340
|
+
"type": {
|
|
38341
|
+
"text": "string"
|
|
38342
|
+
},
|
|
38343
|
+
"default": "\"\"",
|
|
38344
|
+
"fieldName": "accountLabel"
|
|
38345
|
+
},
|
|
38346
|
+
{
|
|
38347
|
+
"name": "copy-label",
|
|
38348
|
+
"type": {
|
|
38349
|
+
"text": "string"
|
|
38350
|
+
},
|
|
38351
|
+
"default": "\"\"",
|
|
38352
|
+
"fieldName": "copyLabel"
|
|
38353
|
+
},
|
|
38354
|
+
{
|
|
38355
|
+
"name": "copied-text",
|
|
38356
|
+
"type": {
|
|
38357
|
+
"text": "string"
|
|
38358
|
+
},
|
|
38359
|
+
"default": "\"\"",
|
|
38360
|
+
"fieldName": "copiedText"
|
|
38345
38361
|
}
|
|
38346
38362
|
],
|
|
38347
38363
|
"superclass": {
|
|
38348
|
-
"name": "
|
|
38349
|
-
"module": "pont2/src/
|
|
38364
|
+
"name": "HostElement",
|
|
38365
|
+
"module": "/pont2/src/core/host-element"
|
|
38350
38366
|
},
|
|
38351
|
-
"tagName": "pont2-
|
|
38367
|
+
"tagName": "pont2-secret",
|
|
38352
38368
|
"customElement": true,
|
|
38353
38369
|
"pont2Layer": "kit"
|
|
38354
38370
|
}
|
|
@@ -38356,34 +38372,18 @@
|
|
|
38356
38372
|
"exports": [
|
|
38357
38373
|
{
|
|
38358
38374
|
"kind": "js",
|
|
38359
|
-
"name": "
|
|
38360
|
-
"declaration": {
|
|
38361
|
-
"name": "Title",
|
|
38362
|
-
"module": "pont2/src/kit/typography/typography.ts"
|
|
38363
|
-
}
|
|
38364
|
-
},
|
|
38365
|
-
{
|
|
38366
|
-
"kind": "js",
|
|
38367
|
-
"name": "Subtitle",
|
|
38368
|
-
"declaration": {
|
|
38369
|
-
"name": "Subtitle",
|
|
38370
|
-
"module": "pont2/src/kit/typography/typography.ts"
|
|
38371
|
-
}
|
|
38372
|
-
},
|
|
38373
|
-
{
|
|
38374
|
-
"kind": "custom-element-definition",
|
|
38375
|
-
"name": "pont2-title",
|
|
38375
|
+
"name": "Secret",
|
|
38376
38376
|
"declaration": {
|
|
38377
|
-
"name": "
|
|
38378
|
-
"module": "pont2/src/kit/
|
|
38377
|
+
"name": "Secret",
|
|
38378
|
+
"module": "pont2/src/kit/secret/secret.ts"
|
|
38379
38379
|
}
|
|
38380
38380
|
},
|
|
38381
38381
|
{
|
|
38382
38382
|
"kind": "custom-element-definition",
|
|
38383
|
-
"name": "pont2-
|
|
38383
|
+
"name": "pont2-secret",
|
|
38384
38384
|
"declaration": {
|
|
38385
|
-
"name": "
|
|
38386
|
-
"module": "pont2/src/kit/
|
|
38385
|
+
"name": "Secret",
|
|
38386
|
+
"module": "pont2/src/kit/secret/secret.ts"
|
|
38387
38387
|
}
|
|
38388
38388
|
}
|
|
38389
38389
|
]
|