@pontive/pontkit-core 5.1.0 → 6.0.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.
@@ -49962,40 +49962,36 @@
49962
49962
  },
49963
49963
  {
49964
49964
  "kind": "javascript-module",
49965
- "path": "src/kit/secret/secret.ts",
49965
+ "path": "src/kit/typography/typography.ts",
49966
49966
  "declarations": [
49967
49967
  {
49968
49968
  "kind": "class",
49969
- "description": "# `<pont-secret>`: the \"Can't scan?\" manual TOTP secret\n\n```html\n<pont-secret secret=\"JBSWY3DPEHPK3PXP\" issuer=\"Acme\" account=\"ada@example.com\"></pont-secret>\n```\n\n```html\n<pont-secret data-pont-secret data-slot=\"secret\">\n <p data-slot=\"secret-title\">Can't scan?</p>\n <div data-pont-input-group …>\n <input data-pont-input-group-input readonly value=\"JBSWY3DPEHPK3PXP\" aria-label=\"Manual secret\">\n <div data-pont-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</pont-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 (`pont-copied` / `pont-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.",
49970
- "name": "Secret",
49971
- "members": [
49969
+ "description": "# `<pont-title>`\n\n```html\n<pont-title level=\"1\" content=\"Welcome back\"></pont-title>\n→ <pont-title data-pont-shell><h1 data-pont-title data-level=\"1\" data-align=\"auto\">Welcome back</h1></pont-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).",
49970
+ "name": "Title",
49971
+ "cssProperties": [
49972
49972
  {
49973
- "kind": "field",
49974
- "name": "identity",
49975
- "type": {
49976
- "text": "string | undefined"
49977
- },
49978
- "static": true,
49979
- "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
49980
- "default": "\"secret\"",
49981
- "inheritedFrom": {
49982
- "name": "HostElement",
49983
- "module": "src/core/host-element.ts"
49984
- }
49973
+ "description": "--pont-title-font-weight - colour and weight (default foreground, semibold)",
49974
+ "name": "--pont-title-fg,"
49975
+ },
49976
+ {
49977
+ "description": "… --pont-title-h4-font-size - size per level (default text-2xl, -xl, -lg, -base)",
49978
+ "name": "--pont-title-h1-font-size"
49985
49979
  },
49980
+ {
49981
+ "description": "level 1 weight (default the title weight, else bold)",
49982
+ "name": "--pont-title-h1-font-weight"
49983
+ }
49984
+ ],
49985
+ "members": [
49986
49986
  {
49987
49987
  "kind": "field",
49988
- "name": "slotName",
49988
+ "name": "level",
49989
+ "privacy": "public",
49989
49990
  "type": {
49990
- "text": "string | undefined"
49991
+ "text": "TitleLevel"
49991
49992
  },
49992
- "static": true,
49993
- "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
49994
- "default": "\"secret\"",
49995
- "inheritedFrom": {
49996
- "name": "HostElement",
49997
- "module": "src/core/host-element.ts"
49998
- }
49993
+ "default": "\"1\"",
49994
+ "attribute": "level"
49999
49995
  },
50000
49996
  {
50001
49997
  "kind": "field",
@@ -50013,126 +50009,106 @@
50013
50009
  },
50014
50010
  {
50015
50011
  "kind": "field",
50016
- "name": "secret",
50017
- "privacy": "public",
50018
- "type": {
50019
- "text": "string"
50020
- },
50021
- "default": "\"\"",
50022
- "attribute": "secret"
50023
- },
50024
- {
50025
- "kind": "field",
50026
- "name": "issuer",
50027
- "privacy": "public",
50028
- "type": {
50029
- "text": "string"
50030
- },
50031
- "default": "\"\"",
50032
- "attribute": "issuer"
50033
- },
50034
- {
50035
- "kind": "field",
50036
- "name": "account",
50037
- "privacy": "public",
50038
- "type": {
50039
- "text": "string"
50040
- },
50041
- "default": "\"\"",
50042
- "attribute": "account"
50043
- },
50044
- {
50045
- "kind": "field",
50046
- "name": "titleText",
50012
+ "name": "content",
50047
50013
  "privacy": "public",
50048
50014
  "type": {
50049
50015
  "text": "string"
50050
50016
  },
50051
50017
  "default": "\"\"",
50052
- "attribute": "title-text"
50018
+ "attribute": "content",
50019
+ "inheritedFrom": {
50020
+ "name": "TextShell",
50021
+ "module": "src/kit/typography/typography.ts"
50022
+ }
50053
50023
  },
50054
50024
  {
50055
50025
  "kind": "field",
50056
- "name": "secretLabel",
50026
+ "name": "align",
50057
50027
  "privacy": "public",
50058
50028
  "type": {
50059
- "text": "string"
50029
+ "text": "TextAlign"
50060
50030
  },
50061
- "default": "\"\"",
50062
- "attribute": "secret-label"
50031
+ "default": "\"auto\"",
50032
+ "attribute": "align",
50033
+ "inheritedFrom": {
50034
+ "name": "TextShell",
50035
+ "module": "src/kit/typography/typography.ts"
50036
+ }
50063
50037
  },
50064
50038
  {
50065
50039
  "kind": "field",
50066
- "name": "issuerLabel",
50067
- "privacy": "public",
50040
+ "name": "control",
50068
50041
  "type": {
50069
- "text": "string"
50042
+ "text": "HTMLElement | null"
50070
50043
  },
50071
- "default": "\"\"",
50072
- "attribute": "issuer-label"
50044
+ "description": "The single native element this shell stands for.",
50045
+ "readonly": true,
50046
+ "inheritedFrom": {
50047
+ "name": "ShellElement",
50048
+ "module": "src/core/host-element.ts"
50049
+ }
50073
50050
  },
50074
50051
  {
50075
50052
  "kind": "field",
50076
- "name": "accountLabel",
50077
- "privacy": "public",
50053
+ "name": "identity",
50078
50054
  "type": {
50079
- "text": "string"
50055
+ "text": "string | undefined"
50080
50056
  },
50081
- "default": "\"\"",
50082
- "attribute": "account-label"
50057
+ "static": true,
50058
+ "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
50059
+ "default": "\"shell\"",
50060
+ "inheritedFrom": {
50061
+ "name": "HostElement",
50062
+ "module": "src/core/host-element.ts"
50063
+ }
50083
50064
  },
50084
50065
  {
50085
- "kind": "field",
50086
- "name": "copyLabel",
50087
- "privacy": "public",
50088
- "type": {
50089
- "text": "string"
50066
+ "kind": "method",
50067
+ "name": "focus",
50068
+ "return": {
50069
+ "type": {
50070
+ "text": "void"
50071
+ }
50090
50072
  },
50091
- "default": "\"\"",
50092
- "attribute": "copy-label"
50073
+ "parameters": [
50074
+ {
50075
+ "name": "options",
50076
+ "optional": true,
50077
+ "type": {
50078
+ "text": "FocusOptions"
50079
+ }
50080
+ }
50081
+ ],
50082
+ "inheritedFrom": {
50083
+ "name": "ShellElement",
50084
+ "module": "src/core/host-element.ts"
50085
+ }
50093
50086
  },
50094
50087
  {
50095
- "kind": "field",
50096
- "name": "copiedText",
50097
- "privacy": "public",
50098
- "type": {
50099
- "text": "string"
50088
+ "kind": "method",
50089
+ "name": "blur",
50090
+ "return": {
50091
+ "type": {
50092
+ "text": "void"
50093
+ }
50100
50094
  },
50101
- "default": "\"\"",
50102
- "attribute": "copied-text"
50095
+ "inheritedFrom": {
50096
+ "name": "ShellElement",
50097
+ "module": "src/core/host-element.ts"
50098
+ }
50103
50099
  },
50104
50100
  {
50105
50101
  "kind": "field",
50106
- "name": "disabled",
50107
- "privacy": "public",
50102
+ "name": "slotName",
50108
50103
  "type": {
50109
- "text": "boolean"
50110
- },
50111
- "default": "false",
50112
- "attribute": "disabled",
50113
- "reflects": true
50114
- },
50115
- {
50116
- "kind": "field",
50117
- "name": "clipboard",
50118
- "privacy": "protected",
50119
- "readonly": true,
50120
- "default": "new CopyController(this, \"secret\")"
50121
- },
50122
- {
50123
- "kind": "field",
50124
- "name": "inputId",
50125
- "privacy": "private"
50126
- },
50127
- {
50128
- "kind": "method",
50129
- "name": "copy",
50130
- "return": {
50131
- "type": {
50132
- "text": "Promise<boolean>"
50133
- }
50104
+ "text": "string | undefined"
50134
50105
  },
50135
- "description": "Copies the secret (also what the button does)."
50106
+ "static": true,
50107
+ "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
50108
+ "inheritedFrom": {
50109
+ "name": "HostElement",
50110
+ "module": "src/core/host-element.ts"
50111
+ }
50136
50112
  },
50137
50113
  {
50138
50114
  "kind": "field",
@@ -50243,161 +50219,62 @@
50243
50219
  }
50244
50220
  }
50245
50221
  ],
50246
- "events": [
50247
- {
50248
- "name": "pont-copied",
50249
- "description": "`{ kind: \"secret\" }`"
50250
- },
50251
- {
50252
- "name": "pont-copy-error",
50253
- "description": "`{ kind: \"secret\" }`"
50254
- }
50255
- ],
50256
50222
  "attributes": [
50257
50223
  {
50258
- "description": "default \"Can't scan?\" (`title` would be a native tooltip)",
50259
- "name": "title-text",
50260
- "type": {
50261
- "text": "string"
50262
- },
50263
- "default": "\"\"",
50264
- "fieldName": "titleText"
50265
- },
50266
- {
50267
- "description": "disables the copy button",
50268
- "name": "disabled",
50269
- "type": {
50270
- "text": "boolean"
50271
- },
50272
- "default": "false",
50273
- "fieldName": "disabled"
50274
- },
50275
- {
50276
- "name": "secret",
50224
+ "description": "1 (default) | 2 | 3 | 4: the native heading level",
50225
+ "name": "level",
50277
50226
  "type": {
50278
- "text": "string"
50227
+ "text": "TitleLevel"
50279
50228
  },
50280
- "default": "\"\"",
50281
- "fieldName": "secret"
50229
+ "default": "\"1\"",
50230
+ "fieldName": "level"
50282
50231
  },
50283
50232
  {
50284
- "name": "issuer",
50233
+ "name": "content",
50285
50234
  "type": {
50286
50235
  "text": "string"
50287
50236
  },
50288
50237
  "default": "\"\"",
50289
- "fieldName": "issuer"
50238
+ "fieldName": "content",
50239
+ "description": "the heading text",
50240
+ "inheritedFrom": {
50241
+ "name": "TextShell",
50242
+ "module": "src/kit/typography/typography.ts"
50243
+ }
50290
50244
  },
50291
50245
  {
50292
- "name": "account",
50246
+ "name": "align",
50293
50247
  "type": {
50294
- "text": "string"
50248
+ "text": "TextAlign"
50295
50249
  },
50296
- "default": "\"\"",
50297
- "fieldName": "account"
50298
- },
50299
- {
50300
- "name": "secret-label",
50301
- "type": {
50302
- "text": "string"
50303
- },
50304
- "default": "\"\"",
50305
- "fieldName": "secretLabel"
50306
- },
50307
- {
50308
- "name": "issuer-label",
50309
- "type": {
50310
- "text": "string"
50311
- },
50312
- "default": "\"\"",
50313
- "fieldName": "issuerLabel"
50314
- },
50315
- {
50316
- "name": "account-label",
50317
- "type": {
50318
- "text": "string"
50319
- },
50320
- "default": "\"\"",
50321
- "fieldName": "accountLabel"
50322
- },
50323
- {
50324
- "name": "copy-label",
50325
- "type": {
50326
- "text": "string"
50327
- },
50328
- "default": "\"\"",
50329
- "fieldName": "copyLabel"
50330
- },
50331
- {
50332
- "name": "copied-text",
50333
- "type": {
50334
- "text": "string"
50335
- },
50336
- "default": "\"\"",
50337
- "fieldName": "copiedText"
50250
+ "default": "\"auto\"",
50251
+ "fieldName": "align",
50252
+ "description": "auto (default: inherit) | start | center | end",
50253
+ "inheritedFrom": {
50254
+ "name": "TextShell",
50255
+ "module": "src/kit/typography/typography.ts"
50256
+ }
50338
50257
  }
50339
50258
  ],
50340
50259
  "superclass": {
50341
- "name": "HostElement",
50342
- "module": "/src/core/host-element"
50260
+ "name": "TextShell",
50261
+ "module": "src/kit/typography/typography.ts"
50343
50262
  },
50344
- "tagName": "pont-secret",
50263
+ "tagName": "pont-title",
50345
50264
  "customElement": true,
50346
50265
  "pontLayer": "kit"
50347
- }
50348
- ],
50349
- "exports": [
50350
- {
50351
- "kind": "js",
50352
- "name": "Secret",
50353
- "declaration": {
50354
- "name": "Secret",
50355
- "module": "src/kit/secret/secret.ts"
50356
- }
50357
50266
  },
50358
- {
50359
- "kind": "custom-element-definition",
50360
- "name": "pont-secret",
50361
- "declaration": {
50362
- "name": "Secret",
50363
- "module": "src/kit/secret/secret.ts"
50364
- }
50365
- }
50366
- ]
50367
- },
50368
- {
50369
- "kind": "javascript-module",
50370
- "path": "src/kit/typography/typography.ts",
50371
- "declarations": [
50372
50267
  {
50373
50268
  "kind": "class",
50374
- "description": "# `<pont-title>`\n\n```html\n<pont-title level=\"1\" content=\"Welcome back\"></pont-title>\n→ <pont-title data-pont-shell><h1 data-pont-title data-level=\"1\" data-align=\"auto\">Welcome back</h1></pont-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).",
50375
- "name": "Title",
50269
+ "description": "# `<pont-subtitle>`\n\n```html\n<pont-subtitle content=\"Login to your Acme Inc account\"></pont-subtitle>\n→ <pont-subtitle data-pont-shell><p data-pont-subtitle data-align=\"auto\">…</p></pont-subtitle>\n```\n\nshadcn's block description: `text-muted-foreground text-balance` (text-sm).",
50270
+ "name": "Subtitle",
50376
50271
  "cssProperties": [
50377
50272
  {
50378
- "description": "--pont-title-font-weight - colour and weight (default foreground, semibold)",
50379
- "name": "--pont-title-fg,"
50380
- },
50381
- {
50382
- "description": "… --pont-title-h4-font-size - size per level (default text-2xl, -xl, -lg, -base)",
50383
- "name": "--pont-title-h1-font-size"
50384
- },
50385
- {
50386
- "description": "level 1 weight (default the title weight, else bold)",
50387
- "name": "--pont-title-h1-font-weight"
50273
+ "description": "--pont-subtitle-font-size - colour and size (default muted-foreground, text-sm)",
50274
+ "name": "--pont-subtitle-fg,"
50388
50275
  }
50389
50276
  ],
50390
50277
  "members": [
50391
- {
50392
- "kind": "field",
50393
- "name": "level",
50394
- "privacy": "public",
50395
- "type": {
50396
- "text": "TitleLevel"
50397
- },
50398
- "default": "\"1\"",
50399
- "attribute": "level"
50400
- },
50401
50278
  {
50402
50279
  "kind": "field",
50403
50280
  "name": "composite",
@@ -50625,15 +50502,6 @@
50625
50502
  }
50626
50503
  ],
50627
50504
  "attributes": [
50628
- {
50629
- "description": "1 (default) | 2 | 3 | 4: the native heading level",
50630
- "name": "level",
50631
- "type": {
50632
- "text": "TitleLevel"
50633
- },
50634
- "default": "\"1\"",
50635
- "fieldName": "level"
50636
- },
50637
50505
  {
50638
50506
  "name": "content",
50639
50507
  "type": {
@@ -50641,7 +50509,6 @@
50641
50509
  },
50642
50510
  "default": "\"\"",
50643
50511
  "fieldName": "content",
50644
- "description": "the heading text",
50645
50512
  "inheritedFrom": {
50646
50513
  "name": "TextShell",
50647
50514
  "module": "src/kit/typography/typography.ts"
@@ -50654,7 +50521,6 @@
50654
50521
  },
50655
50522
  "default": "\"auto\"",
50656
50523
  "fieldName": "align",
50657
- "description": "auto (default: inherit) | start | center | end",
50658
50524
  "inheritedFrom": {
50659
50525
  "name": "TextShell",
50660
50526
  "module": "src/kit/typography/typography.ts"
@@ -50665,21 +50531,83 @@
50665
50531
  "name": "TextShell",
50666
50532
  "module": "src/kit/typography/typography.ts"
50667
50533
  },
50668
- "tagName": "pont-title",
50534
+ "tagName": "pont-subtitle",
50669
50535
  "customElement": true,
50670
50536
  "pontLayer": "kit"
50537
+ }
50538
+ ],
50539
+ "exports": [
50540
+ {
50541
+ "kind": "js",
50542
+ "name": "Title",
50543
+ "declaration": {
50544
+ "name": "Title",
50545
+ "module": "src/kit/typography/typography.ts"
50546
+ }
50671
50547
  },
50672
50548
  {
50673
- "kind": "class",
50674
- "description": "# `<pont-subtitle>`\n\n```html\n<pont-subtitle content=\"Login to your Acme Inc account\"></pont-subtitle>\n→ <pont-subtitle data-pont-shell><p data-pont-subtitle data-align=\"auto\">…</p></pont-subtitle>\n```\n\nshadcn's block description: `text-muted-foreground text-balance` (text-sm).",
50549
+ "kind": "js",
50675
50550
  "name": "Subtitle",
50676
- "cssProperties": [
50677
- {
50678
- "description": "--pont-subtitle-font-size - colour and size (default muted-foreground, text-sm)",
50679
- "name": "--pont-subtitle-fg,"
50680
- }
50681
- ],
50551
+ "declaration": {
50552
+ "name": "Subtitle",
50553
+ "module": "src/kit/typography/typography.ts"
50554
+ }
50555
+ },
50556
+ {
50557
+ "kind": "custom-element-definition",
50558
+ "name": "pont-title",
50559
+ "declaration": {
50560
+ "name": "Title",
50561
+ "module": "src/kit/typography/typography.ts"
50562
+ }
50563
+ },
50564
+ {
50565
+ "kind": "custom-element-definition",
50566
+ "name": "pont-subtitle",
50567
+ "declaration": {
50568
+ "name": "Subtitle",
50569
+ "module": "src/kit/typography/typography.ts"
50570
+ }
50571
+ }
50572
+ ]
50573
+ },
50574
+ {
50575
+ "kind": "javascript-module",
50576
+ "path": "src/kit/secret/secret.ts",
50577
+ "declarations": [
50578
+ {
50579
+ "kind": "class",
50580
+ "description": "# `<pont-secret>`: the \"Can't scan?\" manual TOTP secret\n\n```html\n<pont-secret secret=\"JBSWY3DPEHPK3PXP\" issuer=\"Acme\" account=\"ada@example.com\"></pont-secret>\n```\n\n```html\n<pont-secret data-pont-secret data-slot=\"secret\">\n <p data-slot=\"secret-title\">Can't scan?</p>\n <div data-pont-input-group …>\n <input data-pont-input-group-input readonly value=\"JBSWY3DPEHPK3PXP\" aria-label=\"Manual secret\">\n <div data-pont-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</pont-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 (`pont-copied` / `pont-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.",
50581
+ "name": "Secret",
50682
50582
  "members": [
50583
+ {
50584
+ "kind": "field",
50585
+ "name": "identity",
50586
+ "type": {
50587
+ "text": "string | undefined"
50588
+ },
50589
+ "static": true,
50590
+ "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
50591
+ "default": "\"secret\"",
50592
+ "inheritedFrom": {
50593
+ "name": "HostElement",
50594
+ "module": "src/core/host-element.ts"
50595
+ }
50596
+ },
50597
+ {
50598
+ "kind": "field",
50599
+ "name": "slotName",
50600
+ "type": {
50601
+ "text": "string | undefined"
50602
+ },
50603
+ "static": true,
50604
+ "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
50605
+ "default": "\"secret\"",
50606
+ "inheritedFrom": {
50607
+ "name": "HostElement",
50608
+ "module": "src/core/host-element.ts"
50609
+ }
50610
+ },
50683
50611
  {
50684
50612
  "kind": "field",
50685
50613
  "name": "composite",
@@ -50696,106 +50624,126 @@
50696
50624
  },
50697
50625
  {
50698
50626
  "kind": "field",
50699
- "name": "content",
50627
+ "name": "secret",
50700
50628
  "privacy": "public",
50701
50629
  "type": {
50702
50630
  "text": "string"
50703
50631
  },
50704
50632
  "default": "\"\"",
50705
- "attribute": "content",
50706
- "inheritedFrom": {
50707
- "name": "TextShell",
50708
- "module": "src/kit/typography/typography.ts"
50709
- }
50633
+ "attribute": "secret"
50710
50634
  },
50711
50635
  {
50712
50636
  "kind": "field",
50713
- "name": "align",
50637
+ "name": "issuer",
50714
50638
  "privacy": "public",
50715
50639
  "type": {
50716
- "text": "TextAlign"
50640
+ "text": "string"
50717
50641
  },
50718
- "default": "\"auto\"",
50719
- "attribute": "align",
50720
- "inheritedFrom": {
50721
- "name": "TextShell",
50722
- "module": "src/kit/typography/typography.ts"
50723
- }
50642
+ "default": "\"\"",
50643
+ "attribute": "issuer"
50724
50644
  },
50725
50645
  {
50726
50646
  "kind": "field",
50727
- "name": "control",
50647
+ "name": "account",
50648
+ "privacy": "public",
50728
50649
  "type": {
50729
- "text": "HTMLElement | null"
50650
+ "text": "string"
50730
50651
  },
50731
- "description": "The single native element this shell stands for.",
50732
- "readonly": true,
50733
- "inheritedFrom": {
50734
- "name": "ShellElement",
50735
- "module": "src/core/host-element.ts"
50736
- }
50652
+ "default": "\"\"",
50653
+ "attribute": "account"
50737
50654
  },
50738
50655
  {
50739
50656
  "kind": "field",
50740
- "name": "identity",
50657
+ "name": "titleText",
50658
+ "privacy": "public",
50741
50659
  "type": {
50742
- "text": "string | undefined"
50660
+ "text": "string"
50743
50661
  },
50744
- "static": true,
50745
- "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
50746
- "default": "\"shell\"",
50747
- "inheritedFrom": {
50748
- "name": "HostElement",
50749
- "module": "src/core/host-element.ts"
50750
- }
50662
+ "default": "\"\"",
50663
+ "attribute": "title-text"
50751
50664
  },
50752
50665
  {
50753
- "kind": "method",
50754
- "name": "focus",
50755
- "return": {
50756
- "type": {
50757
- "text": "void"
50758
- }
50666
+ "kind": "field",
50667
+ "name": "secretLabel",
50668
+ "privacy": "public",
50669
+ "type": {
50670
+ "text": "string"
50759
50671
  },
50760
- "parameters": [
50761
- {
50762
- "name": "options",
50763
- "optional": true,
50764
- "type": {
50765
- "text": "FocusOptions"
50766
- }
50767
- }
50768
- ],
50769
- "inheritedFrom": {
50770
- "name": "ShellElement",
50771
- "module": "src/core/host-element.ts"
50772
- }
50672
+ "default": "\"\"",
50673
+ "attribute": "secret-label"
50773
50674
  },
50774
50675
  {
50775
- "kind": "method",
50776
- "name": "blur",
50777
- "return": {
50778
- "type": {
50779
- "text": "void"
50780
- }
50676
+ "kind": "field",
50677
+ "name": "issuerLabel",
50678
+ "privacy": "public",
50679
+ "type": {
50680
+ "text": "string"
50781
50681
  },
50782
- "inheritedFrom": {
50783
- "name": "ShellElement",
50784
- "module": "src/core/host-element.ts"
50785
- }
50682
+ "default": "\"\"",
50683
+ "attribute": "issuer-label"
50786
50684
  },
50787
50685
  {
50788
50686
  "kind": "field",
50789
- "name": "slotName",
50687
+ "name": "accountLabel",
50688
+ "privacy": "public",
50790
50689
  "type": {
50791
- "text": "string | undefined"
50690
+ "text": "string"
50792
50691
  },
50793
- "static": true,
50794
- "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
50795
- "inheritedFrom": {
50796
- "name": "HostElement",
50797
- "module": "src/core/host-element.ts"
50798
- }
50692
+ "default": "\"\"",
50693
+ "attribute": "account-label"
50694
+ },
50695
+ {
50696
+ "kind": "field",
50697
+ "name": "copyLabel",
50698
+ "privacy": "public",
50699
+ "type": {
50700
+ "text": "string"
50701
+ },
50702
+ "default": "\"\"",
50703
+ "attribute": "copy-label"
50704
+ },
50705
+ {
50706
+ "kind": "field",
50707
+ "name": "copiedText",
50708
+ "privacy": "public",
50709
+ "type": {
50710
+ "text": "string"
50711
+ },
50712
+ "default": "\"\"",
50713
+ "attribute": "copied-text"
50714
+ },
50715
+ {
50716
+ "kind": "field",
50717
+ "name": "disabled",
50718
+ "privacy": "public",
50719
+ "type": {
50720
+ "text": "boolean"
50721
+ },
50722
+ "default": "false",
50723
+ "attribute": "disabled",
50724
+ "reflects": true
50725
+ },
50726
+ {
50727
+ "kind": "field",
50728
+ "name": "clipboard",
50729
+ "privacy": "protected",
50730
+ "readonly": true,
50731
+ "default": "new CopyController(this, \"secret\")"
50732
+ },
50733
+ {
50734
+ "kind": "field",
50735
+ "name": "inputId",
50736
+ "privacy": "private"
50737
+ },
50738
+ {
50739
+ "kind": "method",
50740
+ "name": "copy",
50741
+ "return": {
50742
+ "type": {
50743
+ "text": "Promise<boolean>"
50744
+ }
50745
+ },
50746
+ "description": "Copies the secret (also what the button does)."
50799
50747
  },
50800
50748
  {
50801
50749
  "kind": "field",
@@ -50906,37 +50854,105 @@
50906
50854
  }
50907
50855
  }
50908
50856
  ],
50857
+ "events": [
50858
+ {
50859
+ "name": "pont-copied",
50860
+ "description": "`{ kind: \"secret\" }`"
50861
+ },
50862
+ {
50863
+ "name": "pont-copy-error",
50864
+ "description": "`{ kind: \"secret\" }`"
50865
+ }
50866
+ ],
50909
50867
  "attributes": [
50910
50868
  {
50911
- "name": "content",
50869
+ "description": "default \"Can't scan?\" (`title` would be a native tooltip)",
50870
+ "name": "title-text",
50912
50871
  "type": {
50913
50872
  "text": "string"
50914
50873
  },
50915
50874
  "default": "\"\"",
50916
- "fieldName": "content",
50917
- "inheritedFrom": {
50918
- "name": "TextShell",
50919
- "module": "src/kit/typography/typography.ts"
50920
- }
50875
+ "fieldName": "titleText"
50921
50876
  },
50922
50877
  {
50923
- "name": "align",
50878
+ "description": "disables the copy button",
50879
+ "name": "disabled",
50924
50880
  "type": {
50925
- "text": "TextAlign"
50881
+ "text": "boolean"
50926
50882
  },
50927
- "default": "\"auto\"",
50928
- "fieldName": "align",
50929
- "inheritedFrom": {
50930
- "name": "TextShell",
50931
- "module": "src/kit/typography/typography.ts"
50932
- }
50883
+ "default": "false",
50884
+ "fieldName": "disabled"
50885
+ },
50886
+ {
50887
+ "name": "secret",
50888
+ "type": {
50889
+ "text": "string"
50890
+ },
50891
+ "default": "\"\"",
50892
+ "fieldName": "secret"
50893
+ },
50894
+ {
50895
+ "name": "issuer",
50896
+ "type": {
50897
+ "text": "string"
50898
+ },
50899
+ "default": "\"\"",
50900
+ "fieldName": "issuer"
50901
+ },
50902
+ {
50903
+ "name": "account",
50904
+ "type": {
50905
+ "text": "string"
50906
+ },
50907
+ "default": "\"\"",
50908
+ "fieldName": "account"
50909
+ },
50910
+ {
50911
+ "name": "secret-label",
50912
+ "type": {
50913
+ "text": "string"
50914
+ },
50915
+ "default": "\"\"",
50916
+ "fieldName": "secretLabel"
50917
+ },
50918
+ {
50919
+ "name": "issuer-label",
50920
+ "type": {
50921
+ "text": "string"
50922
+ },
50923
+ "default": "\"\"",
50924
+ "fieldName": "issuerLabel"
50925
+ },
50926
+ {
50927
+ "name": "account-label",
50928
+ "type": {
50929
+ "text": "string"
50930
+ },
50931
+ "default": "\"\"",
50932
+ "fieldName": "accountLabel"
50933
+ },
50934
+ {
50935
+ "name": "copy-label",
50936
+ "type": {
50937
+ "text": "string"
50938
+ },
50939
+ "default": "\"\"",
50940
+ "fieldName": "copyLabel"
50941
+ },
50942
+ {
50943
+ "name": "copied-text",
50944
+ "type": {
50945
+ "text": "string"
50946
+ },
50947
+ "default": "\"\"",
50948
+ "fieldName": "copiedText"
50933
50949
  }
50934
50950
  ],
50935
50951
  "superclass": {
50936
- "name": "TextShell",
50937
- "module": "src/kit/typography/typography.ts"
50952
+ "name": "HostElement",
50953
+ "module": "/src/core/host-element"
50938
50954
  },
50939
- "tagName": "pont-subtitle",
50955
+ "tagName": "pont-secret",
50940
50956
  "customElement": true,
50941
50957
  "pontLayer": "kit"
50942
50958
  }
@@ -50944,34 +50960,18 @@
50944
50960
  "exports": [
50945
50961
  {
50946
50962
  "kind": "js",
50947
- "name": "Title",
50948
- "declaration": {
50949
- "name": "Title",
50950
- "module": "src/kit/typography/typography.ts"
50951
- }
50952
- },
50953
- {
50954
- "kind": "js",
50955
- "name": "Subtitle",
50956
- "declaration": {
50957
- "name": "Subtitle",
50958
- "module": "src/kit/typography/typography.ts"
50959
- }
50960
- },
50961
- {
50962
- "kind": "custom-element-definition",
50963
- "name": "pont-title",
50963
+ "name": "Secret",
50964
50964
  "declaration": {
50965
- "name": "Title",
50966
- "module": "src/kit/typography/typography.ts"
50965
+ "name": "Secret",
50966
+ "module": "src/kit/secret/secret.ts"
50967
50967
  }
50968
50968
  },
50969
50969
  {
50970
50970
  "kind": "custom-element-definition",
50971
- "name": "pont-subtitle",
50971
+ "name": "pont-secret",
50972
50972
  "declaration": {
50973
- "name": "Subtitle",
50974
- "module": "src/kit/typography/typography.ts"
50973
+ "name": "Secret",
50974
+ "module": "src/kit/secret/secret.ts"
50975
50975
  }
50976
50976
  }
50977
50977
  ]