@pontive/pontkit-core 1.46.0 → 1.47.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.
@@ -40131,158 +40131,38 @@
40131
40131
  },
40132
40132
  {
40133
40133
  "kind": "javascript-module",
40134
- "path": "src/kit/layout/flow-error.ts",
40134
+ "path": "src/kit/link/link.ts",
40135
40135
  "declarations": [
40136
40136
  {
40137
40137
  "kind": "variable",
40138
- "name": "FLOW_MESSAGES_EN",
40138
+ "name": "LINK_ALIGNS",
40139
40139
  "type": {
40140
- "text": "Record<FlowMessageCode, string>"
40140
+ "text": "[\"start\", \"center\", \"end\"]"
40141
40141
  },
40142
- "default": "{ connection_failed: KIT_MESSAGES_EN.connection_failed, too_many_attempts: KIT_MESSAGES_EN.too_many_attempts, server_error: KIT_MESSAGES_EN.server_error, instance_unavailable: KIT_MESSAGES_EN.instance_unavailable, generic_error: KIT_MESSAGES_EN.generic_error, flow_ended: KIT_MESSAGES_EN.flow_ended, passkey_cancelled: KIT_MESSAGES_EN.passkey_cancelled, start_again: KIT_MESSAGES_EN.start_again, continued_elsewhere_title: KIT_MESSAGES_EN.continued_elsewhere_title, continued_elsewhere_subtitle: KIT_MESSAGES_EN.continued_elsewhere_subtitle, continue_here: KIT_MESSAGES_EN.continue_here, }",
40143
- "description": "The flow codes' English (a subset of `KIT_MESSAGES_EN`, core/messages.ts)."
40142
+ "default": "[\"start\", \"center\", \"end\"]"
40144
40143
  },
40145
40144
  {
40146
40145
  "kind": "variable",
40147
- "name": "INSTANCE_UNAVAILABLE",
40146
+ "name": "LINK_SERVICES",
40148
40147
  "type": {
40149
- "text": "string"
40150
- },
40151
- "default": "\"instance_unavailable\"",
40152
- "description": "A stopped instance (paused, or its owner's Pontive account paused, cancelled or\ndeleted) refuses everything it serves to end users with this one code and no\nreason (pontive-spec 01, \"Who is told why\"; carry-over §6)."
40153
- },
40154
- {
40155
- "kind": "function",
40156
- "name": "isInstanceUnavailable",
40157
- "return": {
40158
- "type": {
40159
- "text": "boolean"
40160
- }
40161
- },
40162
- "parameters": [
40163
- {
40164
- "name": "error",
40165
- "type": {
40166
- "text": "unknown"
40167
- }
40168
- }
40169
- ],
40170
- "description": "Whether a failed call was refused because the instance has stopped (its own `code`, or its body's)."
40171
- },
40172
- {
40173
- "kind": "function",
40174
- "name": "rememberUnavailable",
40175
- "return": {
40176
- "type": {
40177
- "text": "void"
40178
- }
40148
+ "text": "[\"auth\", \"other\"]"
40179
40149
  },
40180
- "parameters": [
40181
- {
40182
- "name": "sentence",
40183
- "optional": true,
40184
- "type": {
40185
- "text": "string"
40186
- }
40187
- }
40188
- ],
40189
- "description": "Keeps the sentence a stopped instance was refused with. Once stopped, the page\ncan no longer ask for its text, so the auth service words the refusal itself\n(in the page's language and the instance's copy). Kept in the message table,\nit is what every widget says for the code from then on, including for\nrefusals from services that only send English."
40150
+ "default": "[\"auth\", \"other\"]"
40190
40151
  },
40191
40152
  {
40192
- "kind": "function",
40193
- "name": "describeFlowError",
40194
- "return": {
40195
- "type": {
40196
- "text": "FlowErrorDescription"
40197
- }
40198
- },
40199
- "parameters": [
40153
+ "kind": "class",
40154
+ "description": "# `<pont-link>`: \"Don't have an account? Sign up\"\n\n```html\n<pont-link prompt=\"Don't have an account?\" label=\"Sign up\" event=\"goto_signup\"></pont-link>\n<pont-link label=\"Privacy policy\" href=\"/privacy\" target=\"_blank\"></pont-link>\n```\n\nshadcn's login blocks write this as `<div class=\"text-center text-sm\">\nDon't have an account? <a class=\"underline underline-offset-4\">Sign\nup</a></div>`. pont's host is that row; the link is the button\nprimitive's part:\n\n- **with `href`**: a real `<a href>` (navigation, middle-click, \"open in\n new tab\" work), styled as a link. Only an http(s) URL, absolute or\n relative, is linked (`safeUrl`): a `javascript:`, `data:` or other\n scheme renders **nothing** and the row is hidden (`data-invalid-href`),\n because an `href` from a render spec is data, not trusted markup;\n- **otherwise**: a `<button type=\"button\">` that requests `event` through\n the action protocol (`data: { service }`), busy until it settles, like\n the auth buttons. The legacy `service=\"other\"` (no auth call) maps to:\n don't set `event`, or don't respond.",
40155
+ "name": "Link",
40156
+ "cssProperties": [
40200
40157
  {
40201
- "name": "error",
40202
- "type": {
40203
- "text": "unknown"
40204
- }
40158
+ "description": "the row's text (default muted-foreground)",
40159
+ "name": "--pont-link-fg"
40205
40160
  },
40206
40161
  {
40207
- "name": "messages",
40208
- "default": "{}",
40209
- "type": {
40210
- "text": "Partial<Record<string, string>>"
40211
- }
40212
- }
40213
- ],
40214
- "description": "a cancelled or timed-out WebAuthn prompt (`NotAllowedError` / `AbortError`) → passkey_cancelled\n- `instance_unavailable` → the refusal's own sentence, kept for the page (rememberUnavailable); not restartable\n- 409 → the server's sentence, else flow_ended; restartable\n- no response at all (NETWORK_ERROR / TIMEOUT) → connection_failed\n- 429 → too_many_attempts; ≥ 500 → server_error\n- anything else → the server's sentence, else generic_error\n\nText comes from `messages` when given (a set a caller holds), else the\npage-wide message table (core/messages.ts), else English."
40215
- }
40216
- ],
40217
- "exports": [
40218
- {
40219
- "kind": "js",
40220
- "name": "FLOW_MESSAGES_EN",
40221
- "declaration": {
40222
- "name": "FLOW_MESSAGES_EN",
40223
- "module": "src/kit/layout/flow-error.ts"
40224
- }
40225
- },
40226
- {
40227
- "kind": "js",
40228
- "name": "INSTANCE_UNAVAILABLE",
40229
- "declaration": {
40230
- "name": "INSTANCE_UNAVAILABLE",
40231
- "module": "src/kit/layout/flow-error.ts"
40232
- }
40233
- },
40234
- {
40235
- "kind": "js",
40236
- "name": "isInstanceUnavailable",
40237
- "declaration": {
40238
- "name": "isInstanceUnavailable",
40239
- "module": "src/kit/layout/flow-error.ts"
40240
- }
40241
- },
40242
- {
40243
- "kind": "js",
40244
- "name": "rememberUnavailable",
40245
- "declaration": {
40246
- "name": "rememberUnavailable",
40247
- "module": "src/kit/layout/flow-error.ts"
40248
- }
40249
- },
40250
- {
40251
- "kind": "js",
40252
- "name": "describeFlowError",
40253
- "declaration": {
40254
- "name": "describeFlowError",
40255
- "module": "src/kit/layout/flow-error.ts"
40256
- }
40257
- }
40258
- ]
40259
- },
40260
- {
40261
- "kind": "javascript-module",
40262
- "path": "src/kit/layout/layout.ts",
40263
- "declarations": [
40264
- {
40265
- "kind": "function",
40266
- "name": "formDataToObject",
40267
- "return": {
40268
- "type": {
40269
- "text": "Record<string, unknown> | undefined"
40270
- }
40271
- },
40272
- "parameters": [
40273
- {
40274
- "name": "fd",
40275
- "type": {
40276
- "text": "FormData | undefined | null"
40277
- }
40162
+ "description": "--pont-link-button-fg-hover - the link (default the row's colour; primary on hover)",
40163
+ "name": "--pont-link-button-fg,"
40278
40164
  }
40279
40165
  ],
40280
- "description": "FormData → the plain object the flow API takes (last value wins, files dropped)."
40281
- },
40282
- {
40283
- "kind": "class",
40284
- "description": "# `<pont-layout>`: renders a flow screen and runs its requests\n\n```ts\nimport { Auth } from \"@pontive/oidc-client\";\nconst layout = document.createElement(\"pont-layout\");\nlayout.client = Auth; // anything with processLoginflowEvent()\nlayout.branding = response.branding; // the account's entitlements (fail closed)\nlayout.renderSpec = response.render_spec; // the server's HTML for the screen\n```\n\n```html\n<pont-layout data-pont-layout data-slot=\"layout\">\n <form data-slot=\"layout-form\" aria-busy=\"false\">\n …the render spec (e.g. <pont-block>…</pont-block>)…\n </form>\n</pont-layout>\n```\n\nThe **flow host** for one screen. It:\n\n1. **renders the spec** (server HTML) inside one native `<form>`, upgrading\n pont elements and reporting tags this bundle does not define\n (`pont-unregistered-element` on `document`, once per tag);\n2. **answers every `pont-action`** from inside the screen (submit, provider,\n passkey, link, OTP, resend, forgot, edit-identifier) with\n `client.processLoginflowEvent({ event, data })`, where `data` is the\n form's normalised FormData when the request carries one (submit, OTP\n auto-submit); while a request is pending, another one joins it (no double\n submit) and the form is `aria-busy`;\n3. **renders the next screen** when a response carries `render_spec`;\n4. **shows flow errors** (every `pont-action-error` from inside) as an\n error `pont-alert` banner at the top of the screen, with \"Start again\"\n (`pont-layout-restart`) when the flow is over (409);\n5. **provides the branding entitlements** (`pont:branding` context) to the\n screen's block. Fails closed: without `branding`, the watermark shows.\n\nTrust boundary: the render spec is **server HTML** and is inserted as such\n(as in the legacy `pont-layout`); everything a user types goes through\nnative inputs, never into markup. The spec must not contain its own\n`<form>` (the layout's form is the one form).",
40285
- "name": "Layout",
40286
40166
  "members": [
40287
40167
  {
40288
40168
  "kind": "field",
@@ -40292,7 +40172,7 @@
40292
40172
  },
40293
40173
  "static": true,
40294
40174
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
40295
- "default": "\"layout\"",
40175
+ "default": "\"link\"",
40296
40176
  "inheritedFrom": {
40297
40177
  "name": "HostElement",
40298
40178
  "module": "src/core/host-element.ts"
@@ -40306,7 +40186,7 @@
40306
40186
  },
40307
40187
  "static": true,
40308
40188
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
40309
- "default": "\"layout\"",
40189
+ "default": "\"link\"",
40310
40190
  "inheritedFrom": {
40311
40191
  "name": "HostElement",
40312
40192
  "module": "src/core/host-element.ts"
@@ -40328,253 +40208,139 @@
40328
40208
  },
40329
40209
  {
40330
40210
  "kind": "field",
40331
- "name": "client",
40211
+ "name": "label",
40332
40212
  "privacy": "public",
40333
40213
  "type": {
40334
- "text": "FlowClient | undefined"
40214
+ "text": "string"
40335
40215
  },
40336
- "default": "undefined",
40337
- "description": "`FlowClient` (e.g. the SDK's `Auth`). Without one, actions are not answered."
40216
+ "default": "\"\"",
40217
+ "attribute": "label"
40338
40218
  },
40339
40219
  {
40340
40220
  "kind": "field",
40341
- "name": "renderSpec",
40221
+ "name": "prompt",
40342
40222
  "privacy": "public",
40343
40223
  "type": {
40344
40224
  "text": "string"
40345
40225
  },
40346
40226
  "default": "\"\"",
40347
- "description": "the screen's HTML"
40227
+ "attribute": "prompt"
40348
40228
  },
40349
40229
  {
40350
40230
  "kind": "field",
40351
- "name": "branding",
40231
+ "name": "event",
40352
40232
  "privacy": "public",
40353
40233
  "type": {
40354
- "text": "BrandingEntitlements"
40234
+ "text": "string | undefined"
40355
40235
  },
40356
- "default": "DEFAULT_BRANDING",
40357
- "description": "`BrandingEntitlements` (attribute-less on purpose)"
40236
+ "default": "undefined",
40237
+ "attribute": "event"
40358
40238
  },
40359
40239
  {
40360
40240
  "kind": "field",
40361
- "name": "designMode",
40241
+ "name": "service",
40362
40242
  "privacy": "public",
40363
40243
  "type": {
40364
- "text": "boolean"
40244
+ "text": "LinkService"
40365
40245
  },
40366
- "description": "The screen is on the designer's canvas: elements render representative examples of themselves\ninstead of their empty state (core/design-mode.ts). The dashboard's widget builder sets it.",
40367
- "default": "false",
40368
- "attribute": "design-mode",
40369
- "reflects": true
40246
+ "default": "\"auth\"",
40247
+ "attribute": "service"
40370
40248
  },
40371
40249
  {
40372
40250
  "kind": "field",
40373
- "name": "messages",
40251
+ "name": "href",
40374
40252
  "privacy": "public",
40375
40253
  "type": {
40376
- "text": "Partial<Record<string, string>>"
40254
+ "text": "string | undefined"
40377
40255
  },
40378
- "default": "{}",
40379
- "description": "localised flow messages by code (the flow's `messages`)"
40256
+ "default": "undefined",
40257
+ "attribute": "href"
40380
40258
  },
40381
40259
  {
40382
40260
  "kind": "field",
40383
- "name": "loginHint",
40261
+ "name": "target",
40384
40262
  "privacy": "public",
40385
40263
  "type": {
40386
40264
  "text": "string | undefined"
40387
40265
  },
40388
- "description": "the identifier to pre-fill email and identifier fields with (the URL's `login_hint`, from the provider)",
40389
- "default": "undefined"
40266
+ "default": "undefined",
40267
+ "attribute": "target"
40390
40268
  },
40391
40269
  {
40392
40270
  "kind": "field",
40393
- "name": "busy",
40394
- "privacy": "protected",
40271
+ "name": "rel",
40272
+ "privacy": "public",
40395
40273
  "type": {
40396
- "text": "boolean"
40274
+ "text": "string | undefined"
40397
40275
  },
40398
- "default": "false",
40399
- "attribute": "busy"
40400
- },
40401
- {
40402
- "kind": "field",
40403
- "name": "provider",
40404
- "privacy": "private",
40405
- "default": "new ContextProvider(this, { context: brandingContext, initialValue: DEFAULT_BRANDING })"
40406
- },
40407
- {
40408
- "kind": "field",
40409
- "name": "designProvider",
40410
- "privacy": "private",
40411
- "default": "new ContextProvider(this, { context: designModeContext, initialValue: false })"
40276
+ "default": "undefined",
40277
+ "attribute": "rel"
40412
40278
  },
40413
40279
  {
40414
40280
  "kind": "field",
40415
- "name": "pending",
40281
+ "name": "align",
40282
+ "privacy": "public",
40416
40283
  "type": {
40417
- "text": "Promise<FlowEventResponse> | null"
40284
+ "text": "LinkAlign"
40418
40285
  },
40419
- "privacy": "private",
40420
- "default": "null"
40286
+ "default": "\"center\"",
40287
+ "attribute": "align"
40421
40288
  },
40422
40289
  {
40423
40290
  "kind": "field",
40424
- "name": "form",
40291
+ "name": "disabled",
40292
+ "privacy": "public",
40425
40293
  "type": {
40426
- "text": "HTMLFormElement | null"
40427
- },
40428
- "description": "The layout's form (holds the screen).",
40429
- "readonly": true
40430
- },
40431
- {
40432
- "kind": "method",
40433
- "name": "run",
40434
- "return": {
40435
- "type": {
40436
- "text": "Promise<FlowEventResponse>"
40437
- }
40294
+ "text": "boolean"
40438
40295
  },
40439
- "parameters": [
40440
- {
40441
- "name": "event",
40442
- "type": {
40443
- "text": "string"
40444
- }
40445
- },
40446
- {
40447
- "name": "data",
40448
- "optional": true,
40449
- "type": {
40450
- "text": "Record<string, unknown>"
40451
- }
40452
- }
40453
- ],
40454
- "description": "Runs one flow request (what a `pont-action` from inside triggers)."
40296
+ "default": "false",
40297
+ "attribute": "disabled",
40298
+ "reflects": true
40455
40299
  },
40456
40300
  {
40457
40301
  "kind": "field",
40458
- "name": "locked",
40302
+ "name": "loading",
40303
+ "privacy": "public",
40459
40304
  "type": {
40460
- "text": "Array<HTMLElement & { disabled: boolean }>"
40461
- },
40462
- "privacy": "private",
40463
- "default": "[]",
40464
- "description": "The elements `lockScreen` disabled, to give back exactly those."
40465
- },
40466
- {
40467
- "kind": "method",
40468
- "name": "lockScreen",
40469
- "privacy": "private",
40470
- "return": {
40471
- "type": {
40472
- "text": "void"
40473
- }
40474
- },
40475
- "description": "While a request runs, the screen's fields and its other buttons are disabled, as in the legacy\nkit: nothing can be edited or pressed mid-request (migration tracker F-20, F-35). The button\nthat asked stays busy, focusably (it is not disabled). Elements already disabled are left\nalone and stay disabled afterwards. The values were read before the request started, so\ndisabling the fields doesn't change what was sent."
40476
- },
40477
- {
40478
- "kind": "method",
40479
- "name": "unlockScreen",
40480
- "privacy": "private",
40481
- "return": {
40482
- "type": {
40483
- "text": "void"
40484
- }
40485
- }
40486
- },
40487
- {
40488
- "kind": "method",
40489
- "name": "onAction",
40490
- "privacy": "private",
40491
- "return": {
40492
- "type": {
40493
- "text": "void"
40494
- }
40305
+ "text": "boolean"
40495
40306
  },
40496
- "parameters": [
40497
- {
40498
- "name": "e",
40499
- "type": {
40500
- "text": "CustomEvent<ActionRequestDetail>"
40501
- }
40502
- }
40503
- ]
40307
+ "default": "false",
40308
+ "attribute": "loading",
40309
+ "reflects": true
40504
40310
  },
40505
40311
  {
40506
- "kind": "method",
40507
- "name": "onError",
40508
- "privacy": "private",
40509
- "return": {
40510
- "type": {
40511
- "text": "void"
40512
- }
40513
- },
40514
- "parameters": [
40515
- {
40516
- "name": "e",
40517
- "type": {
40518
- "text": "CustomEvent<ActionErrorDetail>"
40519
- }
40520
- }
40521
- ]
40312
+ "kind": "field",
40313
+ "name": "action",
40314
+ "privacy": "protected",
40315
+ "readonly": true,
40316
+ "default": "new ActionController(this)"
40522
40317
  },
40523
40318
  {
40524
- "kind": "method",
40525
- "name": "showError",
40526
- "return": {
40527
- "type": {
40528
- "text": "void"
40529
- }
40319
+ "kind": "field",
40320
+ "name": "busy",
40321
+ "type": {
40322
+ "text": "boolean"
40530
40323
  },
40531
- "parameters": [
40532
- {
40533
- "name": "message",
40534
- "type": {
40535
- "text": "string"
40536
- }
40537
- },
40538
- {
40539
- "name": "restartable",
40540
- "default": "false"
40541
- }
40542
- ],
40543
- "description": "Shows a flow error at the top of the screen (after its logo/header). It replaces any error\nalready there, the server's injected banner included (`pont-alert[status=\"error\"]`), so the\nscreen holds one error at a time, as in the legacy kit (migration tracker F-21)."
40544
- },
40545
- {
40546
- "kind": "method",
40547
- "name": "clearBanner",
40548
- "privacy": "private",
40549
- "return": {
40550
- "type": {
40551
- "text": "void"
40552
- }
40553
- }
40324
+ "readonly": true
40554
40325
  },
40555
40326
  {
40556
- "kind": "method",
40557
- "name": "renderScreen",
40558
- "privacy": "private",
40559
- "return": {
40560
- "type": {
40561
- "text": "void"
40562
- }
40327
+ "kind": "field",
40328
+ "name": "control",
40329
+ "type": {
40330
+ "text": "HTMLAnchorElement | HTMLButtonElement | null"
40563
40331
  },
40564
- "parameters": [
40565
- {
40566
- "name": "form",
40567
- "type": {
40568
- "text": "HTMLFormElement"
40569
- }
40570
- }
40571
- ]
40332
+ "description": "The native `<a>` or `<button>`.",
40333
+ "readonly": true
40572
40334
  },
40573
40335
  {
40574
40336
  "kind": "field",
40575
- "name": "onFormSubmit",
40576
- "privacy": "private",
40577
- "description": "The layout's form never submits natively. Every submission is either answered here (a\n`pont-action` the layout responds to, which prevents it) or it is a mistake: no `client`\nyet, or a submit button without `event`. A native submission would then be a GET to the\ncurrent URL with every field, password included, in the query string. So whatever is left\nunhandled is stopped here, at the form, after the submit buttons' own listeners have run."
40337
+ "name": "invalidHref",
40338
+ "type": {
40339
+ "text": "boolean"
40340
+ },
40341
+ "privacy": "protected",
40342
+ "description": "`href` is set but is not an http(s) URL: the link renders nothing.",
40343
+ "readonly": true
40578
40344
  },
40579
40345
  {
40580
40346
  "kind": "field",
@@ -40687,546 +40453,107 @@
40687
40453
  ],
40688
40454
  "events": [
40689
40455
  {
40690
- "description": "`{ action, result }` after every successful request",
40691
- "name": "pont-flow-response"
40456
+ "name": "pont-action"
40692
40457
  },
40693
40458
  {
40694
- "description": "\"Start again\" pressed (the widget restarts the flow)",
40695
- "name": "pont-layout-restart"
40459
+ "name": "pont-action-success"
40696
40460
  },
40697
40461
  {
40698
- "description": "on `document`, `{ tag }`",
40699
- "name": "pont-unregistered-element"
40462
+ "name": "pont-action-error"
40700
40463
  }
40701
40464
  ],
40702
40465
  "attributes": [
40703
40466
  {
40704
- "name": "design-mode",
40467
+ "description": "link text (default \"Link\")",
40468
+ "name": "label",
40469
+ "type": {
40470
+ "text": "string"
40471
+ },
40472
+ "default": "\"\"",
40473
+ "fieldName": "label"
40474
+ },
40475
+ {
40476
+ "description": "text before the link",
40477
+ "name": "prompt",
40478
+ "type": {
40479
+ "text": "string"
40480
+ },
40481
+ "default": "\"\"",
40482
+ "fieldName": "prompt"
40483
+ },
40484
+ {
40485
+ "description": "the action requested on press (button form)",
40486
+ "name": "event",
40487
+ "type": {
40488
+ "text": "string | undefined"
40489
+ },
40490
+ "default": "undefined",
40491
+ "fieldName": "event"
40492
+ },
40493
+ {
40494
+ "description": "auth (default) | other: passed in the request's data",
40495
+ "name": "service",
40496
+ "type": {
40497
+ "text": "LinkService"
40498
+ },
40499
+ "default": "\"auth\"",
40500
+ "fieldName": "service"
40501
+ },
40502
+ {
40503
+ "description": "start | center (default) | end",
40504
+ "name": "align",
40505
+ "type": {
40506
+ "text": "LinkAlign"
40507
+ },
40508
+ "default": "\"center\"",
40509
+ "fieldName": "align"
40510
+ },
40511
+ {
40512
+ "name": "href",
40513
+ "type": {
40514
+ "text": "string | undefined"
40515
+ },
40516
+ "default": "undefined",
40517
+ "fieldName": "href"
40518
+ },
40519
+ {
40520
+ "name": "target",
40521
+ "type": {
40522
+ "text": "string | undefined"
40523
+ },
40524
+ "default": "undefined",
40525
+ "fieldName": "target"
40526
+ },
40527
+ {
40528
+ "name": "rel",
40529
+ "type": {
40530
+ "text": "string | undefined"
40531
+ },
40532
+ "default": "undefined",
40533
+ "fieldName": "rel"
40534
+ },
40535
+ {
40536
+ "name": "disabled",
40705
40537
  "type": {
40706
40538
  "text": "boolean"
40707
40539
  },
40708
- "description": "The screen is on the designer's canvas: elements render representative examples of themselves\ninstead of their empty state (core/design-mode.ts). The dashboard's widget builder sets it.",
40709
40540
  "default": "false",
40710
- "fieldName": "designMode"
40541
+ "fieldName": "disabled"
40542
+ },
40543
+ {
40544
+ "name": "loading",
40545
+ "type": {
40546
+ "text": "boolean"
40547
+ },
40548
+ "default": "false",
40549
+ "fieldName": "loading"
40711
40550
  }
40712
40551
  ],
40713
40552
  "superclass": {
40714
40553
  "name": "HostElement",
40715
40554
  "module": "/src/core/host-element"
40716
40555
  },
40717
- "tagName": "pont-layout",
40718
- "customElement": true,
40719
- "pontLayer": "kit"
40720
- }
40721
- ],
40722
- "exports": [
40723
- {
40724
- "kind": "js",
40725
- "name": "describeFlowError",
40726
- "declaration": {
40727
- "name": "describeFlowError",
40728
- "module": "./flow-error"
40729
- }
40730
- },
40731
- {
40732
- "kind": "js",
40733
- "name": "FLOW_MESSAGES_EN",
40734
- "declaration": {
40735
- "name": "FLOW_MESSAGES_EN",
40736
- "module": "./flow-error"
40737
- }
40738
- },
40739
- {
40740
- "kind": "js",
40741
- "name": "INSTANCE_UNAVAILABLE",
40742
- "declaration": {
40743
- "name": "INSTANCE_UNAVAILABLE",
40744
- "module": "./flow-error"
40745
- }
40746
- },
40747
- {
40748
- "kind": "js",
40749
- "name": "isInstanceUnavailable",
40750
- "declaration": {
40751
- "name": "isInstanceUnavailable",
40752
- "module": "./flow-error"
40753
- }
40754
- },
40755
- {
40756
- "kind": "js",
40757
- "name": "rememberUnavailable",
40758
- "declaration": {
40759
- "name": "rememberUnavailable",
40760
- "module": "./flow-error"
40761
- }
40762
- },
40763
- {
40764
- "kind": "js",
40765
- "name": "FlowErrorDescription",
40766
- "declaration": {
40767
- "name": "FlowErrorDescription",
40768
- "module": "./flow-error"
40769
- }
40770
- },
40771
- {
40772
- "kind": "js",
40773
- "name": "FlowMessageCode",
40774
- "declaration": {
40775
- "name": "FlowMessageCode",
40776
- "module": "./flow-error"
40777
- }
40778
- },
40779
- {
40780
- "kind": "js",
40781
- "name": "formDataToObject",
40782
- "declaration": {
40783
- "name": "formDataToObject",
40784
- "module": "src/kit/layout/layout.ts"
40785
- }
40786
- },
40787
- {
40788
- "kind": "js",
40789
- "name": "Layout",
40790
- "declaration": {
40791
- "name": "Layout",
40792
- "module": "src/kit/layout/layout.ts"
40793
- }
40794
- },
40795
- {
40796
- "kind": "custom-element-definition",
40797
- "name": "pont-layout",
40798
- "declaration": {
40799
- "name": "Layout",
40800
- "module": "src/kit/layout/layout.ts"
40801
- }
40802
- }
40803
- ]
40804
- },
40805
- {
40806
- "kind": "javascript-module",
40807
- "path": "src/kit/link/link.ts",
40808
- "declarations": [
40809
- {
40810
- "kind": "variable",
40811
- "name": "LINK_ALIGNS",
40812
- "type": {
40813
- "text": "[\"start\", \"center\", \"end\"]"
40814
- },
40815
- "default": "[\"start\", \"center\", \"end\"]"
40816
- },
40817
- {
40818
- "kind": "variable",
40819
- "name": "LINK_SERVICES",
40820
- "type": {
40821
- "text": "[\"auth\", \"other\"]"
40822
- },
40823
- "default": "[\"auth\", \"other\"]"
40824
- },
40825
- {
40826
- "kind": "class",
40827
- "description": "# `<pont-link>`: \"Don't have an account? Sign up\"\n\n```html\n<pont-link prompt=\"Don't have an account?\" label=\"Sign up\" event=\"goto_signup\"></pont-link>\n<pont-link label=\"Privacy policy\" href=\"/privacy\" target=\"_blank\"></pont-link>\n```\n\nshadcn's login blocks write this as `<div class=\"text-center text-sm\">\nDon't have an account? <a class=\"underline underline-offset-4\">Sign\nup</a></div>`. pont's host is that row; the link is the button\nprimitive's part:\n\n- **with `href`**: a real `<a href>` (navigation, middle-click, \"open in\n new tab\" work), styled as a link. Only an http(s) URL, absolute or\n relative, is linked (`safeUrl`): a `javascript:`, `data:` or other\n scheme renders **nothing** and the row is hidden (`data-invalid-href`),\n because an `href` from a render spec is data, not trusted markup;\n- **otherwise**: a `<button type=\"button\">` that requests `event` through\n the action protocol (`data: { service }`), busy until it settles, like\n the auth buttons. The legacy `service=\"other\"` (no auth call) maps to:\n don't set `event`, or don't respond.",
40828
- "name": "Link",
40829
- "cssProperties": [
40830
- {
40831
- "description": "the row's text (default muted-foreground)",
40832
- "name": "--pont-link-fg"
40833
- },
40834
- {
40835
- "description": "--pont-link-button-fg-hover - the link (default the row's colour; primary on hover)",
40836
- "name": "--pont-link-button-fg,"
40837
- }
40838
- ],
40839
- "members": [
40840
- {
40841
- "kind": "field",
40842
- "name": "identity",
40843
- "type": {
40844
- "text": "string | undefined"
40845
- },
40846
- "static": true,
40847
- "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
40848
- "default": "\"link\"",
40849
- "inheritedFrom": {
40850
- "name": "HostElement",
40851
- "module": "src/core/host-element.ts"
40852
- }
40853
- },
40854
- {
40855
- "kind": "field",
40856
- "name": "slotName",
40857
- "type": {
40858
- "text": "string | undefined"
40859
- },
40860
- "static": true,
40861
- "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
40862
- "default": "\"link\"",
40863
- "inheritedFrom": {
40864
- "name": "HostElement",
40865
- "module": "src/core/host-element.ts"
40866
- }
40867
- },
40868
- {
40869
- "kind": "field",
40870
- "name": "composite",
40871
- "type": {
40872
- "text": "boolean"
40873
- },
40874
- "static": true,
40875
- "default": "true",
40876
- "description": "`true` on kit composites (`src/kit/`): the element renders its entire\nsubtree from properties, so author-written children are a mistake (use the\n`pont-prim-*` form for custom content). Reported once in development.",
40877
- "inheritedFrom": {
40878
- "name": "HostElement",
40879
- "module": "src/core/host-element.ts"
40880
- }
40881
- },
40882
- {
40883
- "kind": "field",
40884
- "name": "label",
40885
- "privacy": "public",
40886
- "type": {
40887
- "text": "string"
40888
- },
40889
- "default": "\"\"",
40890
- "attribute": "label"
40891
- },
40892
- {
40893
- "kind": "field",
40894
- "name": "prompt",
40895
- "privacy": "public",
40896
- "type": {
40897
- "text": "string"
40898
- },
40899
- "default": "\"\"",
40900
- "attribute": "prompt"
40901
- },
40902
- {
40903
- "kind": "field",
40904
- "name": "event",
40905
- "privacy": "public",
40906
- "type": {
40907
- "text": "string | undefined"
40908
- },
40909
- "default": "undefined",
40910
- "attribute": "event"
40911
- },
40912
- {
40913
- "kind": "field",
40914
- "name": "service",
40915
- "privacy": "public",
40916
- "type": {
40917
- "text": "LinkService"
40918
- },
40919
- "default": "\"auth\"",
40920
- "attribute": "service"
40921
- },
40922
- {
40923
- "kind": "field",
40924
- "name": "href",
40925
- "privacy": "public",
40926
- "type": {
40927
- "text": "string | undefined"
40928
- },
40929
- "default": "undefined",
40930
- "attribute": "href"
40931
- },
40932
- {
40933
- "kind": "field",
40934
- "name": "target",
40935
- "privacy": "public",
40936
- "type": {
40937
- "text": "string | undefined"
40938
- },
40939
- "default": "undefined",
40940
- "attribute": "target"
40941
- },
40942
- {
40943
- "kind": "field",
40944
- "name": "rel",
40945
- "privacy": "public",
40946
- "type": {
40947
- "text": "string | undefined"
40948
- },
40949
- "default": "undefined",
40950
- "attribute": "rel"
40951
- },
40952
- {
40953
- "kind": "field",
40954
- "name": "align",
40955
- "privacy": "public",
40956
- "type": {
40957
- "text": "LinkAlign"
40958
- },
40959
- "default": "\"center\"",
40960
- "attribute": "align"
40961
- },
40962
- {
40963
- "kind": "field",
40964
- "name": "disabled",
40965
- "privacy": "public",
40966
- "type": {
40967
- "text": "boolean"
40968
- },
40969
- "default": "false",
40970
- "attribute": "disabled",
40971
- "reflects": true
40972
- },
40973
- {
40974
- "kind": "field",
40975
- "name": "loading",
40976
- "privacy": "public",
40977
- "type": {
40978
- "text": "boolean"
40979
- },
40980
- "default": "false",
40981
- "attribute": "loading",
40982
- "reflects": true
40983
- },
40984
- {
40985
- "kind": "field",
40986
- "name": "action",
40987
- "privacy": "protected",
40988
- "readonly": true,
40989
- "default": "new ActionController(this)"
40990
- },
40991
- {
40992
- "kind": "field",
40993
- "name": "busy",
40994
- "type": {
40995
- "text": "boolean"
40996
- },
40997
- "readonly": true
40998
- },
40999
- {
41000
- "kind": "field",
41001
- "name": "control",
41002
- "type": {
41003
- "text": "HTMLAnchorElement | HTMLButtonElement | null"
41004
- },
41005
- "description": "The native `<a>` or `<button>`.",
41006
- "readonly": true
41007
- },
41008
- {
41009
- "kind": "field",
41010
- "name": "invalidHref",
41011
- "type": {
41012
- "text": "boolean"
41013
- },
41014
- "privacy": "protected",
41015
- "description": "`href` is set but is not an http(s) URL: the link renders nothing.",
41016
- "readonly": true
41017
- },
41018
- {
41019
- "kind": "field",
41020
- "name": "role",
41021
- "type": {
41022
- "text": "string | undefined"
41023
- },
41024
- "static": true,
41025
- "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
41026
- "inheritedFrom": {
41027
- "name": "HostElement",
41028
- "module": "src/core/host-element.ts"
41029
- }
41030
- },
41031
- {
41032
- "kind": "method",
41033
- "name": "part",
41034
- "static": true,
41035
- "return": {
41036
- "type": {
41037
- "text": "DirectiveResult"
41038
- }
41039
- },
41040
- "parameters": [
41041
- {
41042
- "name": "extra",
41043
- "default": "{}",
41044
- "type": {
41045
- "text": "AttrMap"
41046
- }
41047
- }
41048
- ],
41049
- "description": "A **part**: this element's identity, `data-slot` and default role as plain\nattributes, for a template to put on a native element.\n\n```ts\nhtml`<div ${AlertTitle.part()}>${this.heading}</div>`\n// → <div data-pont-alert-title data-slot=\"alert-title\">…</div>\n```\n\nThe result is styled by the element's recipe and found by `sel()` lookups,\nexactly like the element itself, so a composite reproduces shadcn's DOM\nwithout nesting custom elements. A part carries **attributes only**: use\nit for Tier 1 elements whose host adds nothing but identity, slot and role.\nAn element with behaviour (state, observers, keyboard, form association)\nhas to be rendered as the element. `extra` adds or overrides attributes.",
41050
- "inheritedFrom": {
41051
- "name": "HostElement",
41052
- "module": "src/core/host-element.ts"
41053
- }
41054
- },
41055
- {
41056
- "kind": "field",
41057
- "name": "internals",
41058
- "type": {
41059
- "text": "ElementInternals"
41060
- },
41061
- "privacy": "protected",
41062
- "readonly": true,
41063
- "inheritedFrom": {
41064
- "name": "HostElement",
41065
- "module": "src/core/host-element.ts"
41066
- }
41067
- },
41068
- {
41069
- "kind": "method",
41070
- "name": "setData",
41071
- "privacy": "protected",
41072
- "return": {
41073
- "type": {
41074
- "text": "void"
41075
- }
41076
- },
41077
- "parameters": [
41078
- {
41079
- "name": "name",
41080
- "type": {
41081
- "text": "string"
41082
- }
41083
- },
41084
- {
41085
- "name": "value",
41086
- "type": {
41087
- "text": "string | boolean | null | undefined"
41088
- }
41089
- }
41090
- ],
41091
- "description": "Sets `data-<name>`: a string value, `true` → empty (presence) attribute,\n`false`/`null`/`undefined` → removed. Base UI exposes state as presence\nattributes (`data-checked`, `data-disabled`, `data-open`), which is what\nshadcn's Base UI styles select on, so `true`/`false` is the common call.",
41092
- "inheritedFrom": {
41093
- "name": "HostElement",
41094
- "module": "src/core/host-element.ts"
41095
- }
41096
- },
41097
- {
41098
- "kind": "method",
41099
- "name": "setState",
41100
- "privacy": "protected",
41101
- "return": {
41102
- "type": {
41103
- "text": "void"
41104
- }
41105
- },
41106
- "parameters": [
41107
- {
41108
- "name": "name",
41109
- "type": {
41110
- "text": "string"
41111
- }
41112
- },
41113
- {
41114
- "name": "on",
41115
- "type": {
41116
- "text": "boolean"
41117
- }
41118
- }
41119
- ],
41120
- "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
41121
- "inheritedFrom": {
41122
- "name": "HostElement",
41123
- "module": "src/core/host-element.ts"
41124
- }
41125
- }
41126
- ],
41127
- "events": [
41128
- {
41129
- "name": "pont-action"
41130
- },
41131
- {
41132
- "name": "pont-action-success"
41133
- },
41134
- {
41135
- "name": "pont-action-error"
41136
- }
41137
- ],
41138
- "attributes": [
41139
- {
41140
- "description": "link text (default \"Link\")",
41141
- "name": "label",
41142
- "type": {
41143
- "text": "string"
41144
- },
41145
- "default": "\"\"",
41146
- "fieldName": "label"
41147
- },
41148
- {
41149
- "description": "text before the link",
41150
- "name": "prompt",
41151
- "type": {
41152
- "text": "string"
41153
- },
41154
- "default": "\"\"",
41155
- "fieldName": "prompt"
41156
- },
41157
- {
41158
- "description": "the action requested on press (button form)",
41159
- "name": "event",
41160
- "type": {
41161
- "text": "string | undefined"
41162
- },
41163
- "default": "undefined",
41164
- "fieldName": "event"
41165
- },
41166
- {
41167
- "description": "auth (default) | other: passed in the request's data",
41168
- "name": "service",
41169
- "type": {
41170
- "text": "LinkService"
41171
- },
41172
- "default": "\"auth\"",
41173
- "fieldName": "service"
41174
- },
41175
- {
41176
- "description": "start | center (default) | end",
41177
- "name": "align",
41178
- "type": {
41179
- "text": "LinkAlign"
41180
- },
41181
- "default": "\"center\"",
41182
- "fieldName": "align"
41183
- },
41184
- {
41185
- "name": "href",
41186
- "type": {
41187
- "text": "string | undefined"
41188
- },
41189
- "default": "undefined",
41190
- "fieldName": "href"
41191
- },
41192
- {
41193
- "name": "target",
41194
- "type": {
41195
- "text": "string | undefined"
41196
- },
41197
- "default": "undefined",
41198
- "fieldName": "target"
41199
- },
41200
- {
41201
- "name": "rel",
41202
- "type": {
41203
- "text": "string | undefined"
41204
- },
41205
- "default": "undefined",
41206
- "fieldName": "rel"
41207
- },
41208
- {
41209
- "name": "disabled",
41210
- "type": {
41211
- "text": "boolean"
41212
- },
41213
- "default": "false",
41214
- "fieldName": "disabled"
41215
- },
41216
- {
41217
- "name": "loading",
41218
- "type": {
41219
- "text": "boolean"
41220
- },
41221
- "default": "false",
41222
- "fieldName": "loading"
41223
- }
41224
- ],
41225
- "superclass": {
41226
- "name": "HostElement",
41227
- "module": "/src/core/host-element"
41228
- },
41229
- "tagName": "pont-link",
40556
+ "tagName": "pont-link",
41230
40557
  "customElement": true,
41231
40558
  "pontLayer": "kit"
41232
40559
  },
@@ -41795,6 +41122,679 @@
41795
41122
  }
41796
41123
  ]
41797
41124
  },
41125
+ {
41126
+ "kind": "javascript-module",
41127
+ "path": "src/kit/layout/flow-error.ts",
41128
+ "declarations": [
41129
+ {
41130
+ "kind": "variable",
41131
+ "name": "FLOW_MESSAGES_EN",
41132
+ "type": {
41133
+ "text": "Record<FlowMessageCode, string>"
41134
+ },
41135
+ "default": "{ connection_failed: KIT_MESSAGES_EN.connection_failed, too_many_attempts: KIT_MESSAGES_EN.too_many_attempts, server_error: KIT_MESSAGES_EN.server_error, instance_unavailable: KIT_MESSAGES_EN.instance_unavailable, generic_error: KIT_MESSAGES_EN.generic_error, flow_ended: KIT_MESSAGES_EN.flow_ended, passkey_cancelled: KIT_MESSAGES_EN.passkey_cancelled, start_again: KIT_MESSAGES_EN.start_again, continued_elsewhere_title: KIT_MESSAGES_EN.continued_elsewhere_title, continued_elsewhere_subtitle: KIT_MESSAGES_EN.continued_elsewhere_subtitle, continue_here: KIT_MESSAGES_EN.continue_here, }",
41136
+ "description": "The flow codes' English (a subset of `KIT_MESSAGES_EN`, core/messages.ts)."
41137
+ },
41138
+ {
41139
+ "kind": "variable",
41140
+ "name": "INSTANCE_UNAVAILABLE",
41141
+ "type": {
41142
+ "text": "string"
41143
+ },
41144
+ "default": "\"instance_unavailable\"",
41145
+ "description": "A stopped instance (paused, or its owner's Pontive account paused, cancelled or\ndeleted) refuses everything it serves to end users with this one code and no\nreason (pontive-spec 01, \"Who is told why\"; carry-over §6)."
41146
+ },
41147
+ {
41148
+ "kind": "function",
41149
+ "name": "isInstanceUnavailable",
41150
+ "return": {
41151
+ "type": {
41152
+ "text": "boolean"
41153
+ }
41154
+ },
41155
+ "parameters": [
41156
+ {
41157
+ "name": "error",
41158
+ "type": {
41159
+ "text": "unknown"
41160
+ }
41161
+ }
41162
+ ],
41163
+ "description": "Whether a failed call was refused because the instance has stopped (its own `code`, or its body's)."
41164
+ },
41165
+ {
41166
+ "kind": "function",
41167
+ "name": "rememberUnavailable",
41168
+ "return": {
41169
+ "type": {
41170
+ "text": "void"
41171
+ }
41172
+ },
41173
+ "parameters": [
41174
+ {
41175
+ "name": "sentence",
41176
+ "optional": true,
41177
+ "type": {
41178
+ "text": "string"
41179
+ }
41180
+ }
41181
+ ],
41182
+ "description": "Keeps the sentence a stopped instance was refused with. Once stopped, the page\ncan no longer ask for its text, so the auth service words the refusal itself\n(in the page's language and the instance's copy). Kept in the message table,\nit is what every widget says for the code from then on, including for\nrefusals from services that only send English."
41183
+ },
41184
+ {
41185
+ "kind": "function",
41186
+ "name": "describeFlowError",
41187
+ "return": {
41188
+ "type": {
41189
+ "text": "FlowErrorDescription"
41190
+ }
41191
+ },
41192
+ "parameters": [
41193
+ {
41194
+ "name": "error",
41195
+ "type": {
41196
+ "text": "unknown"
41197
+ }
41198
+ },
41199
+ {
41200
+ "name": "messages",
41201
+ "default": "{}",
41202
+ "type": {
41203
+ "text": "Partial<Record<string, string>>"
41204
+ }
41205
+ }
41206
+ ],
41207
+ "description": "a cancelled or timed-out WebAuthn prompt (`NotAllowedError` / `AbortError`) → passkey_cancelled\n- `instance_unavailable` → the refusal's own sentence, kept for the page (rememberUnavailable); not restartable\n- 409 → the server's sentence, else flow_ended; restartable\n- no response at all (NETWORK_ERROR / TIMEOUT) → connection_failed\n- 429 → too_many_attempts; ≥ 500 → server_error\n- anything else → the server's sentence, else generic_error\n\nText comes from `messages` when given (a set a caller holds), else the\npage-wide message table (core/messages.ts), else English."
41208
+ }
41209
+ ],
41210
+ "exports": [
41211
+ {
41212
+ "kind": "js",
41213
+ "name": "FLOW_MESSAGES_EN",
41214
+ "declaration": {
41215
+ "name": "FLOW_MESSAGES_EN",
41216
+ "module": "src/kit/layout/flow-error.ts"
41217
+ }
41218
+ },
41219
+ {
41220
+ "kind": "js",
41221
+ "name": "INSTANCE_UNAVAILABLE",
41222
+ "declaration": {
41223
+ "name": "INSTANCE_UNAVAILABLE",
41224
+ "module": "src/kit/layout/flow-error.ts"
41225
+ }
41226
+ },
41227
+ {
41228
+ "kind": "js",
41229
+ "name": "isInstanceUnavailable",
41230
+ "declaration": {
41231
+ "name": "isInstanceUnavailable",
41232
+ "module": "src/kit/layout/flow-error.ts"
41233
+ }
41234
+ },
41235
+ {
41236
+ "kind": "js",
41237
+ "name": "rememberUnavailable",
41238
+ "declaration": {
41239
+ "name": "rememberUnavailable",
41240
+ "module": "src/kit/layout/flow-error.ts"
41241
+ }
41242
+ },
41243
+ {
41244
+ "kind": "js",
41245
+ "name": "describeFlowError",
41246
+ "declaration": {
41247
+ "name": "describeFlowError",
41248
+ "module": "src/kit/layout/flow-error.ts"
41249
+ }
41250
+ }
41251
+ ]
41252
+ },
41253
+ {
41254
+ "kind": "javascript-module",
41255
+ "path": "src/kit/layout/layout.ts",
41256
+ "declarations": [
41257
+ {
41258
+ "kind": "function",
41259
+ "name": "formDataToObject",
41260
+ "return": {
41261
+ "type": {
41262
+ "text": "Record<string, unknown> | undefined"
41263
+ }
41264
+ },
41265
+ "parameters": [
41266
+ {
41267
+ "name": "fd",
41268
+ "type": {
41269
+ "text": "FormData | undefined | null"
41270
+ }
41271
+ }
41272
+ ],
41273
+ "description": "FormData → the plain object the flow API takes (last value wins, files dropped)."
41274
+ },
41275
+ {
41276
+ "kind": "class",
41277
+ "description": "# `<pont-layout>`: renders a flow screen and runs its requests\n\n```ts\nimport { Auth } from \"@pontive/oidc-client\";\nconst layout = document.createElement(\"pont-layout\");\nlayout.client = Auth; // anything with processLoginflowEvent()\nlayout.branding = response.branding; // the account's entitlements (fail closed)\nlayout.renderSpec = response.render_spec; // the server's HTML for the screen\n```\n\n```html\n<pont-layout data-pont-layout data-slot=\"layout\">\n <form data-slot=\"layout-form\" aria-busy=\"false\">\n …the render spec (e.g. <pont-block>…</pont-block>)…\n </form>\n</pont-layout>\n```\n\nThe **flow host** for one screen. It:\n\n1. **renders the spec** (server HTML) inside one native `<form>`, upgrading\n pont elements and reporting tags this bundle does not define\n (`pont-unregistered-element` on `document`, once per tag);\n2. **answers every `pont-action`** from inside the screen (submit, provider,\n passkey, link, OTP, resend, forgot, edit-identifier) with\n `client.processLoginflowEvent({ event, data })`, where `data` is the\n form's normalised FormData when the request carries one (submit, OTP\n auto-submit); while a request is pending, another one joins it (no double\n submit) and the form is `aria-busy`;\n3. **renders the next screen** when a response carries `render_spec`;\n4. **shows flow errors** (every `pont-action-error` from inside) as an\n error `pont-alert` banner at the top of the screen, with \"Start again\"\n (`pont-layout-restart`) when the flow is over (409);\n5. **provides the branding entitlements** (`pont:branding` context) to the\n screen's block. Fails closed: without `branding`, the watermark shows.\n\nTrust boundary: the render spec is **server HTML** and is inserted as such\n(as in the legacy `pont-layout`); everything a user types goes through\nnative inputs, never into markup. The spec must not contain its own\n`<form>` (the layout's form is the one form).",
41278
+ "name": "Layout",
41279
+ "members": [
41280
+ {
41281
+ "kind": "field",
41282
+ "name": "identity",
41283
+ "type": {
41284
+ "text": "string | undefined"
41285
+ },
41286
+ "static": true,
41287
+ "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
41288
+ "default": "\"layout\"",
41289
+ "inheritedFrom": {
41290
+ "name": "HostElement",
41291
+ "module": "src/core/host-element.ts"
41292
+ }
41293
+ },
41294
+ {
41295
+ "kind": "field",
41296
+ "name": "slotName",
41297
+ "type": {
41298
+ "text": "string | undefined"
41299
+ },
41300
+ "static": true,
41301
+ "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
41302
+ "default": "\"layout\"",
41303
+ "inheritedFrom": {
41304
+ "name": "HostElement",
41305
+ "module": "src/core/host-element.ts"
41306
+ }
41307
+ },
41308
+ {
41309
+ "kind": "field",
41310
+ "name": "composite",
41311
+ "type": {
41312
+ "text": "boolean"
41313
+ },
41314
+ "static": true,
41315
+ "default": "true",
41316
+ "description": "`true` on kit composites (`src/kit/`): the element renders its entire\nsubtree from properties, so author-written children are a mistake (use the\n`pont-prim-*` form for custom content). Reported once in development.",
41317
+ "inheritedFrom": {
41318
+ "name": "HostElement",
41319
+ "module": "src/core/host-element.ts"
41320
+ }
41321
+ },
41322
+ {
41323
+ "kind": "field",
41324
+ "name": "client",
41325
+ "privacy": "public",
41326
+ "type": {
41327
+ "text": "FlowClient | undefined"
41328
+ },
41329
+ "default": "undefined",
41330
+ "description": "`FlowClient` (e.g. the SDK's `Auth`). Without one, actions are not answered."
41331
+ },
41332
+ {
41333
+ "kind": "field",
41334
+ "name": "renderSpec",
41335
+ "privacy": "public",
41336
+ "type": {
41337
+ "text": "string"
41338
+ },
41339
+ "default": "\"\"",
41340
+ "description": "the screen's HTML"
41341
+ },
41342
+ {
41343
+ "kind": "field",
41344
+ "name": "branding",
41345
+ "privacy": "public",
41346
+ "type": {
41347
+ "text": "BrandingEntitlements"
41348
+ },
41349
+ "default": "DEFAULT_BRANDING",
41350
+ "description": "`BrandingEntitlements` (attribute-less on purpose)"
41351
+ },
41352
+ {
41353
+ "kind": "field",
41354
+ "name": "designMode",
41355
+ "privacy": "public",
41356
+ "type": {
41357
+ "text": "boolean"
41358
+ },
41359
+ "description": "The screen is on the designer's canvas: elements render representative examples of themselves\ninstead of their empty state (core/design-mode.ts). The dashboard's widget builder sets it.",
41360
+ "default": "false",
41361
+ "attribute": "design-mode",
41362
+ "reflects": true
41363
+ },
41364
+ {
41365
+ "kind": "field",
41366
+ "name": "messages",
41367
+ "privacy": "public",
41368
+ "type": {
41369
+ "text": "Partial<Record<string, string>>"
41370
+ },
41371
+ "default": "{}",
41372
+ "description": "localised flow messages by code (the flow's `messages`)"
41373
+ },
41374
+ {
41375
+ "kind": "field",
41376
+ "name": "loginHint",
41377
+ "privacy": "public",
41378
+ "type": {
41379
+ "text": "string | undefined"
41380
+ },
41381
+ "description": "the identifier to pre-fill email and identifier fields with (the URL's `login_hint`, from the provider)",
41382
+ "default": "undefined"
41383
+ },
41384
+ {
41385
+ "kind": "field",
41386
+ "name": "busy",
41387
+ "privacy": "protected",
41388
+ "type": {
41389
+ "text": "boolean"
41390
+ },
41391
+ "default": "false",
41392
+ "attribute": "busy"
41393
+ },
41394
+ {
41395
+ "kind": "field",
41396
+ "name": "provider",
41397
+ "privacy": "private",
41398
+ "default": "new ContextProvider(this, { context: brandingContext, initialValue: DEFAULT_BRANDING })"
41399
+ },
41400
+ {
41401
+ "kind": "field",
41402
+ "name": "designProvider",
41403
+ "privacy": "private",
41404
+ "default": "new ContextProvider(this, { context: designModeContext, initialValue: false })"
41405
+ },
41406
+ {
41407
+ "kind": "field",
41408
+ "name": "pending",
41409
+ "type": {
41410
+ "text": "Promise<FlowEventResponse> | null"
41411
+ },
41412
+ "privacy": "private",
41413
+ "default": "null"
41414
+ },
41415
+ {
41416
+ "kind": "field",
41417
+ "name": "form",
41418
+ "type": {
41419
+ "text": "HTMLFormElement | null"
41420
+ },
41421
+ "description": "The layout's form (holds the screen).",
41422
+ "readonly": true
41423
+ },
41424
+ {
41425
+ "kind": "method",
41426
+ "name": "run",
41427
+ "return": {
41428
+ "type": {
41429
+ "text": "Promise<FlowEventResponse>"
41430
+ }
41431
+ },
41432
+ "parameters": [
41433
+ {
41434
+ "name": "event",
41435
+ "type": {
41436
+ "text": "string"
41437
+ }
41438
+ },
41439
+ {
41440
+ "name": "data",
41441
+ "optional": true,
41442
+ "type": {
41443
+ "text": "Record<string, unknown>"
41444
+ }
41445
+ }
41446
+ ],
41447
+ "description": "Runs one flow request (what a `pont-action` from inside triggers)."
41448
+ },
41449
+ {
41450
+ "kind": "field",
41451
+ "name": "locked",
41452
+ "type": {
41453
+ "text": "Array<HTMLElement & { disabled: boolean }>"
41454
+ },
41455
+ "privacy": "private",
41456
+ "default": "[]",
41457
+ "description": "The elements `lockScreen` disabled, to give back exactly those."
41458
+ },
41459
+ {
41460
+ "kind": "method",
41461
+ "name": "lockScreen",
41462
+ "privacy": "private",
41463
+ "return": {
41464
+ "type": {
41465
+ "text": "void"
41466
+ }
41467
+ },
41468
+ "description": "While a request runs, the screen's fields and its other buttons are disabled, as in the legacy\nkit: nothing can be edited or pressed mid-request (migration tracker F-20, F-35). The button\nthat asked stays busy, focusably (it is not disabled). Elements already disabled are left\nalone and stay disabled afterwards. The values were read before the request started, so\ndisabling the fields doesn't change what was sent."
41469
+ },
41470
+ {
41471
+ "kind": "method",
41472
+ "name": "unlockScreen",
41473
+ "privacy": "private",
41474
+ "return": {
41475
+ "type": {
41476
+ "text": "void"
41477
+ }
41478
+ }
41479
+ },
41480
+ {
41481
+ "kind": "method",
41482
+ "name": "onAction",
41483
+ "privacy": "private",
41484
+ "return": {
41485
+ "type": {
41486
+ "text": "void"
41487
+ }
41488
+ },
41489
+ "parameters": [
41490
+ {
41491
+ "name": "e",
41492
+ "type": {
41493
+ "text": "CustomEvent<ActionRequestDetail>"
41494
+ }
41495
+ }
41496
+ ]
41497
+ },
41498
+ {
41499
+ "kind": "method",
41500
+ "name": "onError",
41501
+ "privacy": "private",
41502
+ "return": {
41503
+ "type": {
41504
+ "text": "void"
41505
+ }
41506
+ },
41507
+ "parameters": [
41508
+ {
41509
+ "name": "e",
41510
+ "type": {
41511
+ "text": "CustomEvent<ActionErrorDetail>"
41512
+ }
41513
+ }
41514
+ ]
41515
+ },
41516
+ {
41517
+ "kind": "method",
41518
+ "name": "showError",
41519
+ "return": {
41520
+ "type": {
41521
+ "text": "void"
41522
+ }
41523
+ },
41524
+ "parameters": [
41525
+ {
41526
+ "name": "message",
41527
+ "type": {
41528
+ "text": "string"
41529
+ }
41530
+ },
41531
+ {
41532
+ "name": "restartable",
41533
+ "default": "false"
41534
+ }
41535
+ ],
41536
+ "description": "Shows a flow error at the top of the screen (after its logo/header). It replaces any error\nalready there, the server's injected banner included (`pont-alert[status=\"error\"]`), so the\nscreen holds one error at a time, as in the legacy kit (migration tracker F-21)."
41537
+ },
41538
+ {
41539
+ "kind": "method",
41540
+ "name": "clearBanner",
41541
+ "privacy": "private",
41542
+ "return": {
41543
+ "type": {
41544
+ "text": "void"
41545
+ }
41546
+ }
41547
+ },
41548
+ {
41549
+ "kind": "method",
41550
+ "name": "renderScreen",
41551
+ "privacy": "private",
41552
+ "return": {
41553
+ "type": {
41554
+ "text": "void"
41555
+ }
41556
+ },
41557
+ "parameters": [
41558
+ {
41559
+ "name": "form",
41560
+ "type": {
41561
+ "text": "HTMLFormElement"
41562
+ }
41563
+ }
41564
+ ]
41565
+ },
41566
+ {
41567
+ "kind": "field",
41568
+ "name": "onFormSubmit",
41569
+ "privacy": "private",
41570
+ "description": "The layout's form never submits natively. Every submission is either answered here (a\n`pont-action` the layout responds to, which prevents it) or it is a mistake: no `client`\nyet, or a submit button without `event`. A native submission would then be a GET to the\ncurrent URL with every field, password included, in the query string. So whatever is left\nunhandled is stopped here, at the form, after the submit buttons' own listeners have run."
41571
+ },
41572
+ {
41573
+ "kind": "field",
41574
+ "name": "role",
41575
+ "type": {
41576
+ "text": "string | undefined"
41577
+ },
41578
+ "static": true,
41579
+ "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
41580
+ "inheritedFrom": {
41581
+ "name": "HostElement",
41582
+ "module": "src/core/host-element.ts"
41583
+ }
41584
+ },
41585
+ {
41586
+ "kind": "method",
41587
+ "name": "part",
41588
+ "static": true,
41589
+ "return": {
41590
+ "type": {
41591
+ "text": "DirectiveResult"
41592
+ }
41593
+ },
41594
+ "parameters": [
41595
+ {
41596
+ "name": "extra",
41597
+ "default": "{}",
41598
+ "type": {
41599
+ "text": "AttrMap"
41600
+ }
41601
+ }
41602
+ ],
41603
+ "description": "A **part**: this element's identity, `data-slot` and default role as plain\nattributes, for a template to put on a native element.\n\n```ts\nhtml`<div ${AlertTitle.part()}>${this.heading}</div>`\n// → <div data-pont-alert-title data-slot=\"alert-title\">…</div>\n```\n\nThe result is styled by the element's recipe and found by `sel()` lookups,\nexactly like the element itself, so a composite reproduces shadcn's DOM\nwithout nesting custom elements. A part carries **attributes only**: use\nit for Tier 1 elements whose host adds nothing but identity, slot and role.\nAn element with behaviour (state, observers, keyboard, form association)\nhas to be rendered as the element. `extra` adds or overrides attributes.",
41604
+ "inheritedFrom": {
41605
+ "name": "HostElement",
41606
+ "module": "src/core/host-element.ts"
41607
+ }
41608
+ },
41609
+ {
41610
+ "kind": "field",
41611
+ "name": "internals",
41612
+ "type": {
41613
+ "text": "ElementInternals"
41614
+ },
41615
+ "privacy": "protected",
41616
+ "readonly": true,
41617
+ "inheritedFrom": {
41618
+ "name": "HostElement",
41619
+ "module": "src/core/host-element.ts"
41620
+ }
41621
+ },
41622
+ {
41623
+ "kind": "method",
41624
+ "name": "setData",
41625
+ "privacy": "protected",
41626
+ "return": {
41627
+ "type": {
41628
+ "text": "void"
41629
+ }
41630
+ },
41631
+ "parameters": [
41632
+ {
41633
+ "name": "name",
41634
+ "type": {
41635
+ "text": "string"
41636
+ }
41637
+ },
41638
+ {
41639
+ "name": "value",
41640
+ "type": {
41641
+ "text": "string | boolean | null | undefined"
41642
+ }
41643
+ }
41644
+ ],
41645
+ "description": "Sets `data-<name>`: a string value, `true` → empty (presence) attribute,\n`false`/`null`/`undefined` → removed. Base UI exposes state as presence\nattributes (`data-checked`, `data-disabled`, `data-open`), which is what\nshadcn's Base UI styles select on, so `true`/`false` is the common call.",
41646
+ "inheritedFrom": {
41647
+ "name": "HostElement",
41648
+ "module": "src/core/host-element.ts"
41649
+ }
41650
+ },
41651
+ {
41652
+ "kind": "method",
41653
+ "name": "setState",
41654
+ "privacy": "protected",
41655
+ "return": {
41656
+ "type": {
41657
+ "text": "void"
41658
+ }
41659
+ },
41660
+ "parameters": [
41661
+ {
41662
+ "name": "name",
41663
+ "type": {
41664
+ "text": "string"
41665
+ }
41666
+ },
41667
+ {
41668
+ "name": "on",
41669
+ "type": {
41670
+ "text": "boolean"
41671
+ }
41672
+ }
41673
+ ],
41674
+ "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
41675
+ "inheritedFrom": {
41676
+ "name": "HostElement",
41677
+ "module": "src/core/host-element.ts"
41678
+ }
41679
+ }
41680
+ ],
41681
+ "events": [
41682
+ {
41683
+ "description": "`{ action, result }` after every successful request",
41684
+ "name": "pont-flow-response"
41685
+ },
41686
+ {
41687
+ "description": "\"Start again\" pressed (the widget restarts the flow)",
41688
+ "name": "pont-layout-restart"
41689
+ },
41690
+ {
41691
+ "description": "on `document`, `{ tag }`",
41692
+ "name": "pont-unregistered-element"
41693
+ }
41694
+ ],
41695
+ "attributes": [
41696
+ {
41697
+ "name": "design-mode",
41698
+ "type": {
41699
+ "text": "boolean"
41700
+ },
41701
+ "description": "The screen is on the designer's canvas: elements render representative examples of themselves\ninstead of their empty state (core/design-mode.ts). The dashboard's widget builder sets it.",
41702
+ "default": "false",
41703
+ "fieldName": "designMode"
41704
+ }
41705
+ ],
41706
+ "superclass": {
41707
+ "name": "HostElement",
41708
+ "module": "/src/core/host-element"
41709
+ },
41710
+ "tagName": "pont-layout",
41711
+ "customElement": true,
41712
+ "pontLayer": "kit"
41713
+ }
41714
+ ],
41715
+ "exports": [
41716
+ {
41717
+ "kind": "js",
41718
+ "name": "describeFlowError",
41719
+ "declaration": {
41720
+ "name": "describeFlowError",
41721
+ "module": "./flow-error"
41722
+ }
41723
+ },
41724
+ {
41725
+ "kind": "js",
41726
+ "name": "FLOW_MESSAGES_EN",
41727
+ "declaration": {
41728
+ "name": "FLOW_MESSAGES_EN",
41729
+ "module": "./flow-error"
41730
+ }
41731
+ },
41732
+ {
41733
+ "kind": "js",
41734
+ "name": "INSTANCE_UNAVAILABLE",
41735
+ "declaration": {
41736
+ "name": "INSTANCE_UNAVAILABLE",
41737
+ "module": "./flow-error"
41738
+ }
41739
+ },
41740
+ {
41741
+ "kind": "js",
41742
+ "name": "isInstanceUnavailable",
41743
+ "declaration": {
41744
+ "name": "isInstanceUnavailable",
41745
+ "module": "./flow-error"
41746
+ }
41747
+ },
41748
+ {
41749
+ "kind": "js",
41750
+ "name": "rememberUnavailable",
41751
+ "declaration": {
41752
+ "name": "rememberUnavailable",
41753
+ "module": "./flow-error"
41754
+ }
41755
+ },
41756
+ {
41757
+ "kind": "js",
41758
+ "name": "FlowErrorDescription",
41759
+ "declaration": {
41760
+ "name": "FlowErrorDescription",
41761
+ "module": "./flow-error"
41762
+ }
41763
+ },
41764
+ {
41765
+ "kind": "js",
41766
+ "name": "FlowMessageCode",
41767
+ "declaration": {
41768
+ "name": "FlowMessageCode",
41769
+ "module": "./flow-error"
41770
+ }
41771
+ },
41772
+ {
41773
+ "kind": "js",
41774
+ "name": "formDataToObject",
41775
+ "declaration": {
41776
+ "name": "formDataToObject",
41777
+ "module": "src/kit/layout/layout.ts"
41778
+ }
41779
+ },
41780
+ {
41781
+ "kind": "js",
41782
+ "name": "Layout",
41783
+ "declaration": {
41784
+ "name": "Layout",
41785
+ "module": "src/kit/layout/layout.ts"
41786
+ }
41787
+ },
41788
+ {
41789
+ "kind": "custom-element-definition",
41790
+ "name": "pont-layout",
41791
+ "declaration": {
41792
+ "name": "Layout",
41793
+ "module": "src/kit/layout/layout.ts"
41794
+ }
41795
+ }
41796
+ ]
41797
+ },
41798
41798
  {
41799
41799
  "kind": "javascript-module",
41800
41800
  "path": "src/kit/logo/logo.ts",
@@ -80641,84 +80641,108 @@
80641
80641
  },
80642
80642
  {
80643
80643
  "kind": "javascript-module",
80644
- "path": "src/primitives/field/field.ts",
80644
+ "path": "src/primitives/empty/empty.ts",
80645
80645
  "declarations": [
80646
80646
  {
80647
- "kind": "function",
80648
- "name": "applyFieldSet",
80649
- "return": {
80650
- "type": {
80651
- "text": "void"
80652
- }
80653
- },
80654
- "parameters": [
80647
+ "kind": "class",
80648
+ "description": "# Empty: Tier 1 (structural)\n\nshadcn: `<Empty>` → `<div data-slot=\"empty\">` with `EmptyHeader`,\n`EmptyMedia` (`data-slot=\"empty-icon\"`, `data-variant`), `EmptyTitle`,\n`EmptyDescription`, `EmptyContent`, all divs. All host-as-root here.",
80649
+ "name": "Empty",
80650
+ "members": [
80655
80651
  {
80656
- "name": "el",
80652
+ "kind": "field",
80653
+ "name": "identity",
80657
80654
  "type": {
80658
- "text": "HTMLFieldSetElement"
80655
+ "text": "string | undefined"
80656
+ },
80657
+ "static": true,
80658
+ "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
80659
+ "default": "\"empty\"",
80660
+ "inheritedFrom": {
80661
+ "name": "HostElement",
80662
+ "module": "src/core/host-element.ts"
80659
80663
  }
80660
- }
80661
- ],
80662
- "description": "# Field family\n\nshadcn's `field.tsx` is plain markup (no Base UI primitive):\n\n| shadcn | renders | pont | tier |\n|-------------------|--------------------------------------------|-------------------------------|------|\n| FieldSet | `<fieldset data-slot=\"field-set\">` | recipe/part on `<fieldset>`, `<pont-prim-field-set>` enhancer | 3 |\n| FieldLegend | `<legend data-slot=\"field-legend\" data-variant>` | recipe/part on `<legend>` only | 3 |\n| FieldGroup | `<div data-slot=\"field-group\">` | `<pont-prim-field-group>` | 1 |\n| Field | `<div role=\"group\" data-slot=\"field\" data-orientation>` | `<pont-prim-field>` | 1 |\n| FieldContent | `<div data-slot=\"field-content\">` | `<pont-prim-field-content>` | 1 |\n| FieldLabel | `<label data-slot=\"field-label\">` (Label) | recipe/part on `<label>`, `<pont-prim-field-label>` enhancer | 3 |\n| FieldTitle | `<div data-slot=\"field-label\">` | `<pont-prim-field-title>` | 1 |\n| FieldDescription | `<p data-slot=\"field-description\">` | `<pont-prim-field-description>` | 1 |\n| FieldSeparator | `<div data-slot=\"field-separator\">` > Separator + `<span>` | `<pont-prim-field-separator>` (lines drawn in CSS) | 1 |\n| FieldError | `<div role=\"alert\" data-slot=\"field-error\">` | `<pont-prim-field-error>` | 1 |\n\nLike shadcn, the family does no id wiring: you write `for`/`id` and\n`aria-describedby` yourself (Base UI's own `Field` primitive does wire ids;\nshadcn's Field does not use it). See docs/primitives/field.md."
80663
- },
80664
- {
80665
- "kind": "function",
80666
- "name": "fieldSet",
80667
- "parameters": [
80664
+ },
80668
80665
  {
80669
- "name": "o",
80666
+ "kind": "field",
80667
+ "name": "slotName",
80670
80668
  "type": {
80671
- "text": "{ disabled?: boolean; attrs?: AttrMap }"
80669
+ "text": "string | undefined"
80670
+ },
80671
+ "static": true,
80672
+ "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
80673
+ "default": "\"empty\"",
80674
+ "inheritedFrom": {
80675
+ "name": "HostElement",
80676
+ "module": "src/core/host-element.ts"
80672
80677
  }
80673
80678
  },
80674
80679
  {
80675
- "name": "content",
80680
+ "kind": "field",
80681
+ "name": "role",
80676
80682
  "type": {
80677
- "text": "unknown"
80683
+ "text": "string | undefined"
80684
+ },
80685
+ "static": true,
80686
+ "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
80687
+ "inheritedFrom": {
80688
+ "name": "HostElement",
80689
+ "module": "src/core/host-element.ts"
80678
80690
  }
80679
- }
80680
- ]
80681
- },
80682
- {
80683
- "kind": "function",
80684
- "name": "fieldLegend",
80685
- "parameters": [
80691
+ },
80686
80692
  {
80687
- "name": "o",
80693
+ "kind": "field",
80694
+ "name": "composite",
80688
80695
  "type": {
80689
- "text": "{ variant?: \"legend\" | \"label\"; attrs?: AttrMap }"
80696
+ "text": "boolean"
80697
+ },
80698
+ "static": true,
80699
+ "default": "false",
80700
+ "description": "`true` on kit composites (`src/kit/`): the element renders its entire\nsubtree from properties, so author-written children are a mistake (use the\n`pont-prim-*` form for custom content). Reported once in development.",
80701
+ "inheritedFrom": {
80702
+ "name": "HostElement",
80703
+ "module": "src/core/host-element.ts"
80690
80704
  }
80691
80705
  },
80692
80706
  {
80693
- "name": "content",
80694
- "type": {
80695
- "text": "unknown"
80707
+ "kind": "method",
80708
+ "name": "part",
80709
+ "static": true,
80710
+ "return": {
80711
+ "type": {
80712
+ "text": "DirectiveResult"
80713
+ }
80714
+ },
80715
+ "parameters": [
80716
+ {
80717
+ "name": "extra",
80718
+ "default": "{}",
80719
+ "type": {
80720
+ "text": "AttrMap"
80721
+ }
80722
+ }
80723
+ ],
80724
+ "description": "A **part**: this element's identity, `data-slot` and default role as plain\nattributes, for a template to put on a native element.\n\n```ts\nhtml`<div ${AlertTitle.part()}>${this.heading}</div>`\n// → <div data-pont-alert-title data-slot=\"alert-title\">…</div>\n```\n\nThe result is styled by the element's recipe and found by `sel()` lookups,\nexactly like the element itself, so a composite reproduces shadcn's DOM\nwithout nesting custom elements. A part carries **attributes only**: use\nit for Tier 1 elements whose host adds nothing but identity, slot and role.\nAn element with behaviour (state, observers, keyboard, form association)\nhas to be rendered as the element. `extra` adds or overrides attributes.",
80725
+ "inheritedFrom": {
80726
+ "name": "HostElement",
80727
+ "module": "src/core/host-element.ts"
80696
80728
  }
80697
- }
80698
- ]
80699
- },
80700
- {
80701
- "kind": "class",
80702
- "description": "Applies the FieldSet recipe to the `<fieldset>` inside it. The legend must\nbe a direct child of that `<fieldset>` to name it, so write\n`<legend data-pont-field-legend>` (there is no legend element).",
80703
- "name": "FieldSetElement",
80704
- "members": [
80729
+ },
80705
80730
  {
80706
80731
  "kind": "field",
80707
- "name": "nativeSelector",
80732
+ "name": "internals",
80708
80733
  "type": {
80709
- "text": "string"
80734
+ "text": "ElementInternals"
80710
80735
  },
80711
- "static": true,
80712
- "default": "\"fieldset\"",
80713
- "description": "Selector for the native child this enhancer applies its recipe to.",
80736
+ "privacy": "protected",
80737
+ "readonly": true,
80714
80738
  "inheritedFrom": {
80715
- "name": "NativeEnhancer",
80739
+ "name": "HostElement",
80716
80740
  "module": "src/core/host-element.ts"
80717
80741
  }
80718
80742
  },
80719
80743
  {
80720
80744
  "kind": "method",
80721
- "name": "apply",
80745
+ "name": "setData",
80722
80746
  "privacy": "protected",
80723
80747
  "return": {
80724
80748
  "type": {
@@ -80727,65 +80751,117 @@
80727
80751
  },
80728
80752
  "parameters": [
80729
80753
  {
80730
- "name": "control",
80754
+ "name": "name",
80731
80755
  "type": {
80732
- "text": "HTMLFieldSetElement"
80756
+ "text": "string"
80757
+ }
80758
+ },
80759
+ {
80760
+ "name": "value",
80761
+ "type": {
80762
+ "text": "string | boolean | null | undefined"
80733
80763
  }
80734
80764
  }
80735
80765
  ],
80736
- "description": "Apply the recipe (attributes / properties) to the native element.",
80766
+ "description": "Sets `data-<name>`: a string value, `true` → empty (presence) attribute,\n`false`/`null`/`undefined` → removed. Base UI exposes state as presence\nattributes (`data-checked`, `data-disabled`, `data-open`), which is what\nshadcn's Base UI styles select on, so `true`/`false` is the common call.",
80737
80767
  "inheritedFrom": {
80738
- "name": "NativeEnhancer",
80768
+ "name": "HostElement",
80739
80769
  "module": "src/core/host-element.ts"
80740
80770
  }
80741
80771
  },
80772
+ {
80773
+ "kind": "method",
80774
+ "name": "setState",
80775
+ "privacy": "protected",
80776
+ "return": {
80777
+ "type": {
80778
+ "text": "void"
80779
+ }
80780
+ },
80781
+ "parameters": [
80782
+ {
80783
+ "name": "name",
80784
+ "type": {
80785
+ "text": "string"
80786
+ }
80787
+ },
80788
+ {
80789
+ "name": "on",
80790
+ "type": {
80791
+ "text": "boolean"
80792
+ }
80793
+ }
80794
+ ],
80795
+ "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
80796
+ "inheritedFrom": {
80797
+ "name": "HostElement",
80798
+ "module": "src/core/host-element.ts"
80799
+ }
80800
+ }
80801
+ ],
80802
+ "superclass": {
80803
+ "name": "HostElement",
80804
+ "module": "/src/core/host-element"
80805
+ },
80806
+ "tagName": "pont-prim-empty",
80807
+ "customElement": true,
80808
+ "pontLayer": "primitive"
80809
+ },
80810
+ {
80811
+ "kind": "class",
80812
+ "description": "",
80813
+ "name": "EmptyHeader",
80814
+ "members": [
80742
80815
  {
80743
80816
  "kind": "field",
80744
- "name": "_observer",
80817
+ "name": "identity",
80745
80818
  "type": {
80746
- "text": "MutationObserver | undefined"
80819
+ "text": "string | undefined"
80747
80820
  },
80748
- "privacy": "private",
80821
+ "static": true,
80822
+ "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
80823
+ "default": "\"empty-header\"",
80749
80824
  "inheritedFrom": {
80750
- "name": "NativeEnhancer",
80825
+ "name": "HostElement",
80751
80826
  "module": "src/core/host-element.ts"
80752
80827
  }
80753
80828
  },
80754
80829
  {
80755
80830
  "kind": "field",
80756
- "name": "_warned",
80831
+ "name": "slotName",
80757
80832
  "type": {
80758
- "text": "boolean"
80833
+ "text": "string | undefined"
80759
80834
  },
80760
- "privacy": "private",
80761
- "default": "false",
80835
+ "static": true,
80836
+ "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
80837
+ "default": "\"empty-header\"",
80762
80838
  "inheritedFrom": {
80763
- "name": "NativeEnhancer",
80839
+ "name": "HostElement",
80764
80840
  "module": "src/core/host-element.ts"
80765
80841
  }
80766
80842
  },
80767
80843
  {
80768
80844
  "kind": "field",
80769
- "name": "control",
80845
+ "name": "role",
80770
80846
  "type": {
80771
- "text": "HTMLElement | null"
80847
+ "text": "string | undefined"
80772
80848
  },
80773
- "description": "The single native element this shell stands for.",
80774
- "readonly": true,
80849
+ "static": true,
80850
+ "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
80775
80851
  "inheritedFrom": {
80776
- "name": "ShellElement",
80852
+ "name": "HostElement",
80777
80853
  "module": "src/core/host-element.ts"
80778
80854
  }
80779
80855
  },
80780
80856
  {
80781
80857
  "kind": "field",
80782
- "name": "identity",
80858
+ "name": "composite",
80783
80859
  "type": {
80784
- "text": "string | undefined"
80860
+ "text": "boolean"
80785
80861
  },
80786
80862
  "static": true,
80787
- "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
80788
- "default": "\"shell\"",
80863
+ "default": "false",
80864
+ "description": "`true` on kit composites (`src/kit/`): the element renders its entire\nsubtree from properties, so author-written children are a mistake (use the\n`pont-prim-*` form for custom content). Reported once in development.",
80789
80865
  "inheritedFrom": {
80790
80866
  "name": "HostElement",
80791
80867
  "module": "src/core/host-element.ts"
@@ -80793,7 +80869,45 @@
80793
80869
  },
80794
80870
  {
80795
80871
  "kind": "method",
80796
- "name": "focus",
80872
+ "name": "part",
80873
+ "static": true,
80874
+ "return": {
80875
+ "type": {
80876
+ "text": "DirectiveResult"
80877
+ }
80878
+ },
80879
+ "parameters": [
80880
+ {
80881
+ "name": "extra",
80882
+ "default": "{}",
80883
+ "type": {
80884
+ "text": "AttrMap"
80885
+ }
80886
+ }
80887
+ ],
80888
+ "description": "A **part**: this element's identity, `data-slot` and default role as plain\nattributes, for a template to put on a native element.\n\n```ts\nhtml`<div ${AlertTitle.part()}>${this.heading}</div>`\n// → <div data-pont-alert-title data-slot=\"alert-title\">…</div>\n```\n\nThe result is styled by the element's recipe and found by `sel()` lookups,\nexactly like the element itself, so a composite reproduces shadcn's DOM\nwithout nesting custom elements. A part carries **attributes only**: use\nit for Tier 1 elements whose host adds nothing but identity, slot and role.\nAn element with behaviour (state, observers, keyboard, form association)\nhas to be rendered as the element. `extra` adds or overrides attributes.",
80889
+ "inheritedFrom": {
80890
+ "name": "HostElement",
80891
+ "module": "src/core/host-element.ts"
80892
+ }
80893
+ },
80894
+ {
80895
+ "kind": "field",
80896
+ "name": "internals",
80897
+ "type": {
80898
+ "text": "ElementInternals"
80899
+ },
80900
+ "privacy": "protected",
80901
+ "readonly": true,
80902
+ "inheritedFrom": {
80903
+ "name": "HostElement",
80904
+ "module": "src/core/host-element.ts"
80905
+ }
80906
+ },
80907
+ {
80908
+ "kind": "method",
80909
+ "name": "setData",
80910
+ "privacy": "protected",
80797
80911
  "return": {
80798
80912
  "type": {
80799
80913
  "text": "void"
@@ -80801,28 +80915,78 @@
80801
80915
  },
80802
80916
  "parameters": [
80803
80917
  {
80804
- "name": "options",
80805
- "optional": true,
80918
+ "name": "name",
80806
80919
  "type": {
80807
- "text": "FocusOptions"
80920
+ "text": "string"
80921
+ }
80922
+ },
80923
+ {
80924
+ "name": "value",
80925
+ "type": {
80926
+ "text": "string | boolean | null | undefined"
80808
80927
  }
80809
80928
  }
80810
80929
  ],
80930
+ "description": "Sets `data-<name>`: a string value, `true` → empty (presence) attribute,\n`false`/`null`/`undefined` → removed. Base UI exposes state as presence\nattributes (`data-checked`, `data-disabled`, `data-open`), which is what\nshadcn's Base UI styles select on, so `true`/`false` is the common call.",
80811
80931
  "inheritedFrom": {
80812
- "name": "ShellElement",
80932
+ "name": "HostElement",
80813
80933
  "module": "src/core/host-element.ts"
80814
80934
  }
80815
80935
  },
80816
80936
  {
80817
80937
  "kind": "method",
80818
- "name": "blur",
80938
+ "name": "setState",
80939
+ "privacy": "protected",
80819
80940
  "return": {
80820
80941
  "type": {
80821
80942
  "text": "void"
80822
80943
  }
80823
80944
  },
80945
+ "parameters": [
80946
+ {
80947
+ "name": "name",
80948
+ "type": {
80949
+ "text": "string"
80950
+ }
80951
+ },
80952
+ {
80953
+ "name": "on",
80954
+ "type": {
80955
+ "text": "boolean"
80956
+ }
80957
+ }
80958
+ ],
80959
+ "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
80824
80960
  "inheritedFrom": {
80825
- "name": "ShellElement",
80961
+ "name": "HostElement",
80962
+ "module": "src/core/host-element.ts"
80963
+ }
80964
+ }
80965
+ ],
80966
+ "superclass": {
80967
+ "name": "HostElement",
80968
+ "module": "/src/core/host-element"
80969
+ },
80970
+ "tagName": "pont-prim-empty-header",
80971
+ "customElement": true,
80972
+ "pontLayer": "primitive"
80973
+ },
80974
+ {
80975
+ "kind": "class",
80976
+ "description": "Note shadcn's slot name for the media part is `empty-icon` (kept verbatim).",
80977
+ "name": "EmptyMedia",
80978
+ "members": [
80979
+ {
80980
+ "kind": "field",
80981
+ "name": "identity",
80982
+ "type": {
80983
+ "text": "string | undefined"
80984
+ },
80985
+ "static": true,
80986
+ "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
80987
+ "default": "\"empty-media\"",
80988
+ "inheritedFrom": {
80989
+ "name": "HostElement",
80826
80990
  "module": "src/core/host-element.ts"
80827
80991
  }
80828
80992
  },
@@ -80834,11 +80998,23 @@
80834
80998
  },
80835
80999
  "static": true,
80836
81000
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
81001
+ "default": "\"empty-icon\"",
80837
81002
  "inheritedFrom": {
80838
81003
  "name": "HostElement",
80839
81004
  "module": "src/core/host-element.ts"
80840
81005
  }
80841
81006
  },
81007
+ {
81008
+ "kind": "field",
81009
+ "name": "variant",
81010
+ "privacy": "public",
81011
+ "type": {
81012
+ "text": "EmptyMediaVariant"
81013
+ },
81014
+ "default": "\"default\"",
81015
+ "attribute": "variant",
81016
+ "reflects": true
81017
+ },
80842
81018
  {
80843
81019
  "kind": "field",
80844
81020
  "name": "role",
@@ -80962,18 +81138,29 @@
80962
81138
  }
80963
81139
  }
80964
81140
  ],
81141
+ "attributes": [
81142
+ {
81143
+ "description": "default | icon",
81144
+ "name": "variant",
81145
+ "type": {
81146
+ "text": "EmptyMediaVariant"
81147
+ },
81148
+ "default": "\"default\"",
81149
+ "fieldName": "variant"
81150
+ }
81151
+ ],
80965
81152
  "superclass": {
80966
- "name": "NativeEnhancer",
81153
+ "name": "HostElement",
80967
81154
  "module": "/src/core/host-element"
80968
81155
  },
80969
- "tagName": "pont-prim-field-set",
81156
+ "tagName": "pont-prim-empty-media",
80970
81157
  "customElement": true,
80971
81158
  "pontLayer": "primitive"
80972
81159
  },
80973
81160
  {
80974
81161
  "kind": "class",
80975
81162
  "description": "",
80976
- "name": "FieldGroup",
81163
+ "name": "EmptyTitle",
80977
81164
  "members": [
80978
81165
  {
80979
81166
  "kind": "field",
@@ -80983,7 +81170,7 @@
80983
81170
  },
80984
81171
  "static": true,
80985
81172
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
80986
- "default": "\"field-group\"",
81173
+ "default": "\"empty-title\"",
80987
81174
  "inheritedFrom": {
80988
81175
  "name": "HostElement",
80989
81176
  "module": "src/core/host-element.ts"
@@ -80997,7 +81184,7 @@
80997
81184
  },
80998
81185
  "static": true,
80999
81186
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
81000
- "default": "\"field-group\"",
81187
+ "default": "\"empty-title\"",
81001
81188
  "inheritedFrom": {
81002
81189
  "name": "HostElement",
81003
81190
  "module": "src/core/host-element.ts"
@@ -81130,14 +81317,14 @@
81130
81317
  "name": "HostElement",
81131
81318
  "module": "/src/core/host-element"
81132
81319
  },
81133
- "tagName": "pont-prim-field-group",
81320
+ "tagName": "pont-prim-empty-title",
81134
81321
  "customElement": true,
81135
81322
  "pontLayer": "primitive"
81136
81323
  },
81137
81324
  {
81138
81325
  "kind": "class",
81139
81326
  "description": "",
81140
- "name": "Field",
81327
+ "name": "EmptyDescription",
81141
81328
  "members": [
81142
81329
  {
81143
81330
  "kind": "field",
@@ -81147,7 +81334,7 @@
81147
81334
  },
81148
81335
  "static": true,
81149
81336
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
81150
- "default": "\"field\"",
81337
+ "default": "\"empty-description\"",
81151
81338
  "inheritedFrom": {
81152
81339
  "name": "HostElement",
81153
81340
  "module": "src/core/host-element.ts"
@@ -81161,7 +81348,7 @@
81161
81348
  },
81162
81349
  "static": true,
81163
81350
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
81164
- "default": "\"field\"",
81351
+ "default": "\"empty-description\"",
81165
81352
  "inheritedFrom": {
81166
81353
  "name": "HostElement",
81167
81354
  "module": "src/core/host-element.ts"
@@ -81175,45 +81362,11 @@
81175
81362
  },
81176
81363
  "static": true,
81177
81364
  "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
81178
- "default": "\"group\"",
81179
81365
  "inheritedFrom": {
81180
81366
  "name": "HostElement",
81181
81367
  "module": "src/core/host-element.ts"
81182
81368
  }
81183
81369
  },
81184
- {
81185
- "kind": "field",
81186
- "name": "orientation",
81187
- "privacy": "public",
81188
- "type": {
81189
- "text": "FieldOrientation"
81190
- },
81191
- "default": "\"vertical\"",
81192
- "attribute": "orientation",
81193
- "reflects": true
81194
- },
81195
- {
81196
- "kind": "field",
81197
- "name": "invalid",
81198
- "privacy": "public",
81199
- "type": {
81200
- "text": "boolean"
81201
- },
81202
- "default": "false",
81203
- "attribute": "invalid",
81204
- "reflects": true
81205
- },
81206
- {
81207
- "kind": "field",
81208
- "name": "disabled",
81209
- "privacy": "public",
81210
- "type": {
81211
- "text": "boolean"
81212
- },
81213
- "default": "false",
81214
- "attribute": "disabled",
81215
- "reflects": true
81216
- },
81217
81370
  {
81218
81371
  "kind": "field",
81219
81372
  "name": "composite",
@@ -81324,47 +81477,18 @@
81324
81477
  }
81325
81478
  }
81326
81479
  ],
81327
- "attributes": [
81328
- {
81329
- "description": "vertical (default) | horizontal | responsive",
81330
- "name": "orientation",
81331
- "type": {
81332
- "text": "FieldOrientation"
81333
- },
81334
- "default": "\"vertical\"",
81335
- "fieldName": "orientation"
81336
- },
81337
- {
81338
- "description": "Sets `data-invalid` (destructive text colour), like shadcn's `data-invalid`.",
81339
- "name": "invalid",
81340
- "type": {
81341
- "text": "boolean"
81342
- },
81343
- "default": "false",
81344
- "fieldName": "invalid"
81345
- },
81346
- {
81347
- "description": "Sets `data-disabled` (dims the label/title), like shadcn's `data-disabled`.",
81348
- "name": "disabled",
81349
- "type": {
81350
- "text": "boolean"
81351
- },
81352
- "default": "false",
81353
- "fieldName": "disabled"
81354
- }
81355
- ],
81356
81480
  "superclass": {
81357
81481
  "name": "HostElement",
81358
81482
  "module": "/src/core/host-element"
81359
81483
  },
81360
- "tagName": "pont-prim-field",
81484
+ "tagName": "pont-prim-empty-description",
81361
81485
  "customElement": true,
81362
81486
  "pontLayer": "primitive"
81363
81487
  },
81364
81488
  {
81365
81489
  "kind": "class",
81366
81490
  "description": "",
81367
- "name": "FieldContent",
81491
+ "name": "EmptyContent",
81368
81492
  "members": [
81369
81493
  {
81370
81494
  "kind": "field",
@@ -81374,7 +81498,7 @@
81374
81498
  },
81375
81499
  "static": true,
81376
81500
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
81377
- "default": "\"field-content\"",
81501
+ "default": "\"empty-content\"",
81378
81502
  "inheritedFrom": {
81379
81503
  "name": "HostElement",
81380
81504
  "module": "src/core/host-element.ts"
@@ -81388,7 +81512,7 @@
81388
81512
  },
81389
81513
  "static": true,
81390
81514
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
81391
- "default": "\"field-content\"",
81515
+ "default": "\"empty-content\"",
81392
81516
  "inheritedFrom": {
81393
81517
  "name": "HostElement",
81394
81518
  "module": "src/core/host-element.ts"
@@ -81521,13 +81645,117 @@
81521
81645
  "name": "HostElement",
81522
81646
  "module": "/src/core/host-element"
81523
81647
  },
81524
- "tagName": "pont-prim-field-content",
81648
+ "tagName": "pont-prim-empty-content",
81525
81649
  "customElement": true,
81526
81650
  "pontLayer": "primitive"
81651
+ }
81652
+ ],
81653
+ "exports": [
81654
+ {
81655
+ "kind": "js",
81656
+ "name": "Empty",
81657
+ "declaration": {
81658
+ "name": "Empty",
81659
+ "module": "src/primitives/empty/empty.ts"
81660
+ }
81661
+ },
81662
+ {
81663
+ "kind": "js",
81664
+ "name": "EmptyHeader",
81665
+ "declaration": {
81666
+ "name": "EmptyHeader",
81667
+ "module": "src/primitives/empty/empty.ts"
81668
+ }
81669
+ },
81670
+ {
81671
+ "kind": "js",
81672
+ "name": "EmptyMedia",
81673
+ "declaration": {
81674
+ "name": "EmptyMedia",
81675
+ "module": "src/primitives/empty/empty.ts"
81676
+ }
81677
+ },
81678
+ {
81679
+ "kind": "js",
81680
+ "name": "EmptyTitle",
81681
+ "declaration": {
81682
+ "name": "EmptyTitle",
81683
+ "module": "src/primitives/empty/empty.ts"
81684
+ }
81685
+ },
81686
+ {
81687
+ "kind": "js",
81688
+ "name": "EmptyDescription",
81689
+ "declaration": {
81690
+ "name": "EmptyDescription",
81691
+ "module": "src/primitives/empty/empty.ts"
81692
+ }
81693
+ },
81694
+ {
81695
+ "kind": "js",
81696
+ "name": "EmptyContent",
81697
+ "declaration": {
81698
+ "name": "EmptyContent",
81699
+ "module": "src/primitives/empty/empty.ts"
81700
+ }
81701
+ },
81702
+ {
81703
+ "kind": "custom-element-definition",
81704
+ "name": "pont-prim-empty",
81705
+ "declaration": {
81706
+ "name": "Empty",
81707
+ "module": "src/primitives/empty/empty.ts"
81708
+ }
81709
+ },
81710
+ {
81711
+ "kind": "custom-element-definition",
81712
+ "name": "pont-prim-empty-header",
81713
+ "declaration": {
81714
+ "name": "EmptyHeader",
81715
+ "module": "src/primitives/empty/empty.ts"
81716
+ }
81527
81717
  },
81718
+ {
81719
+ "kind": "custom-element-definition",
81720
+ "name": "pont-prim-empty-media",
81721
+ "declaration": {
81722
+ "name": "EmptyMedia",
81723
+ "module": "src/primitives/empty/empty.ts"
81724
+ }
81725
+ },
81726
+ {
81727
+ "kind": "custom-element-definition",
81728
+ "name": "pont-prim-empty-title",
81729
+ "declaration": {
81730
+ "name": "EmptyTitle",
81731
+ "module": "src/primitives/empty/empty.ts"
81732
+ }
81733
+ },
81734
+ {
81735
+ "kind": "custom-element-definition",
81736
+ "name": "pont-prim-empty-description",
81737
+ "declaration": {
81738
+ "name": "EmptyDescription",
81739
+ "module": "src/primitives/empty/empty.ts"
81740
+ }
81741
+ },
81742
+ {
81743
+ "kind": "custom-element-definition",
81744
+ "name": "pont-prim-empty-content",
81745
+ "declaration": {
81746
+ "name": "EmptyContent",
81747
+ "module": "src/primitives/empty/empty.ts"
81748
+ }
81749
+ }
81750
+ ]
81751
+ },
81752
+ {
81753
+ "kind": "javascript-module",
81754
+ "path": "src/primitives/field/field.ts",
81755
+ "declarations": [
81528
81756
  {
81529
81757
  "kind": "function",
81530
- "name": "applyFieldLabel",
81758
+ "name": "applyFieldSet",
81531
81759
  "return": {
81532
81760
  "type": {
81533
81761
  "text": "void"
@@ -81537,19 +81765,38 @@
81537
81765
  {
81538
81766
  "name": "el",
81539
81767
  "type": {
81540
- "text": "HTMLLabelElement"
81768
+ "text": "HTMLFieldSetElement"
81769
+ }
81770
+ }
81771
+ ],
81772
+ "description": "# Field family\n\nshadcn's `field.tsx` is plain markup (no Base UI primitive):\n\n| shadcn | renders | pont | tier |\n|-------------------|--------------------------------------------|-------------------------------|------|\n| FieldSet | `<fieldset data-slot=\"field-set\">` | recipe/part on `<fieldset>`, `<pont-prim-field-set>` enhancer | 3 |\n| FieldLegend | `<legend data-slot=\"field-legend\" data-variant>` | recipe/part on `<legend>` only | 3 |\n| FieldGroup | `<div data-slot=\"field-group\">` | `<pont-prim-field-group>` | 1 |\n| Field | `<div role=\"group\" data-slot=\"field\" data-orientation>` | `<pont-prim-field>` | 1 |\n| FieldContent | `<div data-slot=\"field-content\">` | `<pont-prim-field-content>` | 1 |\n| FieldLabel | `<label data-slot=\"field-label\">` (Label) | recipe/part on `<label>`, `<pont-prim-field-label>` enhancer | 3 |\n| FieldTitle | `<div data-slot=\"field-label\">` | `<pont-prim-field-title>` | 1 |\n| FieldDescription | `<p data-slot=\"field-description\">` | `<pont-prim-field-description>` | 1 |\n| FieldSeparator | `<div data-slot=\"field-separator\">` > Separator + `<span>` | `<pont-prim-field-separator>` (lines drawn in CSS) | 1 |\n| FieldError | `<div role=\"alert\" data-slot=\"field-error\">` | `<pont-prim-field-error>` | 1 |\n\nLike shadcn, the family does no id wiring: you write `for`/`id` and\n`aria-describedby` yourself (Base UI's own `Field` primitive does wire ids;\nshadcn's Field does not use it). See docs/primitives/field.md."
81773
+ },
81774
+ {
81775
+ "kind": "function",
81776
+ "name": "fieldSet",
81777
+ "parameters": [
81778
+ {
81779
+ "name": "o",
81780
+ "type": {
81781
+ "text": "{ disabled?: boolean; attrs?: AttrMap }"
81782
+ }
81783
+ },
81784
+ {
81785
+ "name": "content",
81786
+ "type": {
81787
+ "text": "unknown"
81541
81788
  }
81542
81789
  }
81543
81790
  ]
81544
81791
  },
81545
81792
  {
81546
81793
  "kind": "function",
81547
- "name": "fieldLabel",
81794
+ "name": "fieldLegend",
81548
81795
  "parameters": [
81549
81796
  {
81550
81797
  "name": "o",
81551
81798
  "type": {
81552
- "text": "{ for?: string; id?: string; attrs?: AttrMap }"
81799
+ "text": "{ variant?: \"legend\" | \"label\"; attrs?: AttrMap }"
81553
81800
  }
81554
81801
  },
81555
81802
  {
@@ -81558,13 +81805,12 @@
81558
81805
  "text": "unknown"
81559
81806
  }
81560
81807
  }
81561
- ],
81562
- "description": "`<label data-pont-label data-pont-field-label data-slot=\"field-label\">`"
81808
+ ]
81563
81809
  },
81564
81810
  {
81565
81811
  "kind": "class",
81566
- "description": "",
81567
- "name": "FieldLabelElement",
81812
+ "description": "Applies the FieldSet recipe to the `<fieldset>` inside it. The legend must\nbe a direct child of that `<fieldset>` to name it, so write\n`<legend data-pont-field-legend>` (there is no legend element).",
81813
+ "name": "FieldSetElement",
81568
81814
  "members": [
81569
81815
  {
81570
81816
  "kind": "field",
@@ -81573,7 +81819,7 @@
81573
81819
  "text": "string"
81574
81820
  },
81575
81821
  "static": true,
81576
- "default": "\"label\"",
81822
+ "default": "\"fieldset\"",
81577
81823
  "description": "Selector for the native child this enhancer applies its recipe to.",
81578
81824
  "inheritedFrom": {
81579
81825
  "name": "NativeEnhancer",
@@ -81593,7 +81839,7 @@
81593
81839
  {
81594
81840
  "name": "control",
81595
81841
  "type": {
81596
- "text": "HTMLLabelElement"
81842
+ "text": "HTMLFieldSetElement"
81597
81843
  }
81598
81844
  }
81599
81845
  ],
@@ -81827,181 +82073,17 @@
81827
82073
  }
81828
82074
  ],
81829
82075
  "superclass": {
81830
- "name": "NativeEnhancer",
81831
- "module": "/src/core/host-element"
81832
- },
81833
- "tagName": "pont-prim-field-label",
81834
- "customElement": true,
81835
- "pontLayer": "primitive"
81836
- },
81837
- {
81838
- "kind": "class",
81839
- "description": "A label-styled title for a field that has no single control to label\n(shadcn gives it `data-slot=\"field-label\"` too, kept verbatim).",
81840
- "name": "FieldTitle",
81841
- "members": [
81842
- {
81843
- "kind": "field",
81844
- "name": "identity",
81845
- "type": {
81846
- "text": "string | undefined"
81847
- },
81848
- "static": true,
81849
- "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
81850
- "default": "\"field-title\"",
81851
- "inheritedFrom": {
81852
- "name": "HostElement",
81853
- "module": "src/core/host-element.ts"
81854
- }
81855
- },
81856
- {
81857
- "kind": "field",
81858
- "name": "slotName",
81859
- "type": {
81860
- "text": "string | undefined"
81861
- },
81862
- "static": true,
81863
- "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
81864
- "default": "\"field-label\"",
81865
- "inheritedFrom": {
81866
- "name": "HostElement",
81867
- "module": "src/core/host-element.ts"
81868
- }
81869
- },
81870
- {
81871
- "kind": "field",
81872
- "name": "role",
81873
- "type": {
81874
- "text": "string | undefined"
81875
- },
81876
- "static": true,
81877
- "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
81878
- "inheritedFrom": {
81879
- "name": "HostElement",
81880
- "module": "src/core/host-element.ts"
81881
- }
81882
- },
81883
- {
81884
- "kind": "field",
81885
- "name": "composite",
81886
- "type": {
81887
- "text": "boolean"
81888
- },
81889
- "static": true,
81890
- "default": "false",
81891
- "description": "`true` on kit composites (`src/kit/`): the element renders its entire\nsubtree from properties, so author-written children are a mistake (use the\n`pont-prim-*` form for custom content). Reported once in development.",
81892
- "inheritedFrom": {
81893
- "name": "HostElement",
81894
- "module": "src/core/host-element.ts"
81895
- }
81896
- },
81897
- {
81898
- "kind": "method",
81899
- "name": "part",
81900
- "static": true,
81901
- "return": {
81902
- "type": {
81903
- "text": "DirectiveResult"
81904
- }
81905
- },
81906
- "parameters": [
81907
- {
81908
- "name": "extra",
81909
- "default": "{}",
81910
- "type": {
81911
- "text": "AttrMap"
81912
- }
81913
- }
81914
- ],
81915
- "description": "A **part**: this element's identity, `data-slot` and default role as plain\nattributes, for a template to put on a native element.\n\n```ts\nhtml`<div ${AlertTitle.part()}>${this.heading}</div>`\n// → <div data-pont-alert-title data-slot=\"alert-title\">…</div>\n```\n\nThe result is styled by the element's recipe and found by `sel()` lookups,\nexactly like the element itself, so a composite reproduces shadcn's DOM\nwithout nesting custom elements. A part carries **attributes only**: use\nit for Tier 1 elements whose host adds nothing but identity, slot and role.\nAn element with behaviour (state, observers, keyboard, form association)\nhas to be rendered as the element. `extra` adds or overrides attributes.",
81916
- "inheritedFrom": {
81917
- "name": "HostElement",
81918
- "module": "src/core/host-element.ts"
81919
- }
81920
- },
81921
- {
81922
- "kind": "field",
81923
- "name": "internals",
81924
- "type": {
81925
- "text": "ElementInternals"
81926
- },
81927
- "privacy": "protected",
81928
- "readonly": true,
81929
- "inheritedFrom": {
81930
- "name": "HostElement",
81931
- "module": "src/core/host-element.ts"
81932
- }
81933
- },
81934
- {
81935
- "kind": "method",
81936
- "name": "setData",
81937
- "privacy": "protected",
81938
- "return": {
81939
- "type": {
81940
- "text": "void"
81941
- }
81942
- },
81943
- "parameters": [
81944
- {
81945
- "name": "name",
81946
- "type": {
81947
- "text": "string"
81948
- }
81949
- },
81950
- {
81951
- "name": "value",
81952
- "type": {
81953
- "text": "string | boolean | null | undefined"
81954
- }
81955
- }
81956
- ],
81957
- "description": "Sets `data-<name>`: a string value, `true` → empty (presence) attribute,\n`false`/`null`/`undefined` → removed. Base UI exposes state as presence\nattributes (`data-checked`, `data-disabled`, `data-open`), which is what\nshadcn's Base UI styles select on, so `true`/`false` is the common call.",
81958
- "inheritedFrom": {
81959
- "name": "HostElement",
81960
- "module": "src/core/host-element.ts"
81961
- }
81962
- },
81963
- {
81964
- "kind": "method",
81965
- "name": "setState",
81966
- "privacy": "protected",
81967
- "return": {
81968
- "type": {
81969
- "text": "void"
81970
- }
81971
- },
81972
- "parameters": [
81973
- {
81974
- "name": "name",
81975
- "type": {
81976
- "text": "string"
81977
- }
81978
- },
81979
- {
81980
- "name": "on",
81981
- "type": {
81982
- "text": "boolean"
81983
- }
81984
- }
81985
- ],
81986
- "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
81987
- "inheritedFrom": {
81988
- "name": "HostElement",
81989
- "module": "src/core/host-element.ts"
81990
- }
81991
- }
81992
- ],
81993
- "superclass": {
81994
- "name": "HostElement",
82076
+ "name": "NativeEnhancer",
81995
82077
  "module": "/src/core/host-element"
81996
82078
  },
81997
- "tagName": "pont-prim-field-title",
82079
+ "tagName": "pont-prim-field-set",
81998
82080
  "customElement": true,
81999
82081
  "pontLayer": "primitive"
82000
82082
  },
82001
82083
  {
82002
82084
  "kind": "class",
82003
82085
  "description": "",
82004
- "name": "FieldDescription",
82086
+ "name": "FieldGroup",
82005
82087
  "members": [
82006
82088
  {
82007
82089
  "kind": "field",
@@ -82011,7 +82093,7 @@
82011
82093
  },
82012
82094
  "static": true,
82013
82095
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
82014
- "default": "\"field-description\"",
82096
+ "default": "\"field-group\"",
82015
82097
  "inheritedFrom": {
82016
82098
  "name": "HostElement",
82017
82099
  "module": "src/core/host-element.ts"
@@ -82025,7 +82107,7 @@
82025
82107
  },
82026
82108
  "static": true,
82027
82109
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
82028
- "default": "\"field-description\"",
82110
+ "default": "\"field-group\"",
82029
82111
  "inheritedFrom": {
82030
82112
  "name": "HostElement",
82031
82113
  "module": "src/core/host-element.ts"
@@ -82158,14 +82240,14 @@
82158
82240
  "name": "HostElement",
82159
82241
  "module": "/src/core/host-element"
82160
82242
  },
82161
- "tagName": "pont-prim-field-description",
82243
+ "tagName": "pont-prim-field-group",
82162
82244
  "customElement": true,
82163
82245
  "pontLayer": "primitive"
82164
82246
  },
82165
82247
  {
82166
82248
  "kind": "class",
82167
- "description": "shadcn renders `div > Separator + span`. pont draws the two rule halves\nwith `::before`/`::after`, so the only nodes are the host and your text.\n`data-content` is set when the separator has text, as in shadcn.",
82168
- "name": "FieldSeparator",
82249
+ "description": "",
82250
+ "name": "Field",
82169
82251
  "members": [
82170
82252
  {
82171
82253
  "kind": "field",
@@ -82175,7 +82257,7 @@
82175
82257
  },
82176
82258
  "static": true,
82177
82259
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
82178
- "default": "\"field-separator\"",
82260
+ "default": "\"field\"",
82179
82261
  "inheritedFrom": {
82180
82262
  "name": "HostElement",
82181
82263
  "module": "src/core/host-element.ts"
@@ -82189,25 +82271,12 @@
82189
82271
  },
82190
82272
  "static": true,
82191
82273
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
82192
- "default": "\"field-separator\"",
82274
+ "default": "\"field\"",
82193
82275
  "inheritedFrom": {
82194
82276
  "name": "HostElement",
82195
82277
  "module": "src/core/host-element.ts"
82196
82278
  }
82197
82279
  },
82198
- {
82199
- "kind": "field",
82200
- "name": "observer",
82201
- "type": {
82202
- "text": "MutationObserver | undefined"
82203
- },
82204
- "privacy": "private"
82205
- },
82206
- {
82207
- "kind": "method",
82208
- "name": "sync",
82209
- "privacy": "private"
82210
- },
82211
82280
  {
82212
82281
  "kind": "field",
82213
82282
  "name": "role",
@@ -82216,11 +82285,45 @@
82216
82285
  },
82217
82286
  "static": true,
82218
82287
  "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
82288
+ "default": "\"group\"",
82219
82289
  "inheritedFrom": {
82220
82290
  "name": "HostElement",
82221
82291
  "module": "src/core/host-element.ts"
82222
82292
  }
82223
82293
  },
82294
+ {
82295
+ "kind": "field",
82296
+ "name": "orientation",
82297
+ "privacy": "public",
82298
+ "type": {
82299
+ "text": "FieldOrientation"
82300
+ },
82301
+ "default": "\"vertical\"",
82302
+ "attribute": "orientation",
82303
+ "reflects": true
82304
+ },
82305
+ {
82306
+ "kind": "field",
82307
+ "name": "invalid",
82308
+ "privacy": "public",
82309
+ "type": {
82310
+ "text": "boolean"
82311
+ },
82312
+ "default": "false",
82313
+ "attribute": "invalid",
82314
+ "reflects": true
82315
+ },
82316
+ {
82317
+ "kind": "field",
82318
+ "name": "disabled",
82319
+ "privacy": "public",
82320
+ "type": {
82321
+ "text": "boolean"
82322
+ },
82323
+ "default": "false",
82324
+ "attribute": "disabled",
82325
+ "reflects": true
82326
+ },
82224
82327
  {
82225
82328
  "kind": "field",
82226
82329
  "name": "composite",
@@ -82331,18 +82434,47 @@
82331
82434
  }
82332
82435
  }
82333
82436
  ],
82437
+ "attributes": [
82438
+ {
82439
+ "description": "vertical (default) | horizontal | responsive",
82440
+ "name": "orientation",
82441
+ "type": {
82442
+ "text": "FieldOrientation"
82443
+ },
82444
+ "default": "\"vertical\"",
82445
+ "fieldName": "orientation"
82446
+ },
82447
+ {
82448
+ "description": "Sets `data-invalid` (destructive text colour), like shadcn's `data-invalid`.",
82449
+ "name": "invalid",
82450
+ "type": {
82451
+ "text": "boolean"
82452
+ },
82453
+ "default": "false",
82454
+ "fieldName": "invalid"
82455
+ },
82456
+ {
82457
+ "description": "Sets `data-disabled` (dims the label/title), like shadcn's `data-disabled`.",
82458
+ "name": "disabled",
82459
+ "type": {
82460
+ "text": "boolean"
82461
+ },
82462
+ "default": "false",
82463
+ "fieldName": "disabled"
82464
+ }
82465
+ ],
82334
82466
  "superclass": {
82335
82467
  "name": "HostElement",
82336
82468
  "module": "/src/core/host-element"
82337
82469
  },
82338
- "tagName": "pont-prim-field-separator",
82470
+ "tagName": "pont-prim-field",
82339
82471
  "customElement": true,
82340
82472
  "pontLayer": "primitive"
82341
82473
  },
82342
82474
  {
82343
82475
  "kind": "class",
82344
- "description": "Write the message as children, or set `.errors` (shadcn's `errors` prop:\nde-duplicated by message; one renders as text, several as a list). Hidden\nwhile empty, like shadcn returning `null`.",
82345
- "name": "FieldError",
82476
+ "description": "",
82477
+ "name": "FieldContent",
82346
82478
  "members": [
82347
82479
  {
82348
82480
  "kind": "field",
@@ -82352,7 +82484,7 @@
82352
82484
  },
82353
82485
  "static": true,
82354
82486
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
82355
- "default": "\"field-error\"",
82487
+ "default": "\"field-content\"",
82356
82488
  "inheritedFrom": {
82357
82489
  "name": "HostElement",
82358
82490
  "module": "src/core/host-element.ts"
@@ -82366,7 +82498,7 @@
82366
82498
  },
82367
82499
  "static": true,
82368
82500
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
82369
- "default": "\"field-error\"",
82501
+ "default": "\"field-content\"",
82370
82502
  "inheritedFrom": {
82371
82503
  "name": "HostElement",
82372
82504
  "module": "src/core/host-element.ts"
@@ -82380,20 +82512,11 @@
82380
82512
  },
82381
82513
  "static": true,
82382
82514
  "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
82383
- "default": "\"alert\"",
82384
82515
  "inheritedFrom": {
82385
82516
  "name": "HostElement",
82386
82517
  "module": "src/core/host-element.ts"
82387
82518
  }
82388
82519
  },
82389
- {
82390
- "kind": "field",
82391
- "name": "errors",
82392
- "privacy": "public",
82393
- "type": {
82394
- "text": "Array<FieldErrorItem | undefined> | undefined"
82395
- }
82396
- },
82397
82520
  {
82398
82521
  "kind": "field",
82399
82522
  "name": "composite",
@@ -82508,207 +82631,126 @@
82508
82631
  "name": "HostElement",
82509
82632
  "module": "/src/core/host-element"
82510
82633
  },
82511
- "tagName": "pont-prim-field-error",
82634
+ "tagName": "pont-prim-field-content",
82512
82635
  "customElement": true,
82513
82636
  "pontLayer": "primitive"
82514
- }
82515
- ],
82516
- "exports": [
82517
- {
82518
- "kind": "js",
82519
- "name": "applyFieldSet",
82520
- "declaration": {
82521
- "name": "applyFieldSet",
82522
- "module": "src/primitives/field/field.ts"
82523
- }
82524
- },
82525
- {
82526
- "kind": "js",
82527
- "name": "fieldSet",
82528
- "declaration": {
82529
- "name": "fieldSet",
82530
- "module": "src/primitives/field/field.ts"
82531
- }
82532
- },
82533
- {
82534
- "kind": "js",
82535
- "name": "fieldLegend",
82536
- "declaration": {
82537
- "name": "fieldLegend",
82538
- "module": "src/primitives/field/field.ts"
82539
- }
82540
- },
82541
- {
82542
- "kind": "js",
82543
- "name": "FieldSetElement",
82544
- "declaration": {
82545
- "name": "FieldSetElement",
82546
- "module": "src/primitives/field/field.ts"
82547
- }
82548
82637
  },
82549
82638
  {
82550
- "kind": "js",
82551
- "name": "FieldGroup",
82552
- "declaration": {
82553
- "name": "FieldGroup",
82554
- "module": "src/primitives/field/field.ts"
82555
- }
82556
- },
82557
- {
82558
- "kind": "js",
82559
- "name": "Field",
82560
- "declaration": {
82561
- "name": "Field",
82562
- "module": "src/primitives/field/field.ts"
82563
- }
82564
- },
82565
- {
82566
- "kind": "js",
82567
- "name": "FieldContent",
82568
- "declaration": {
82569
- "name": "FieldContent",
82570
- "module": "src/primitives/field/field.ts"
82571
- }
82572
- },
82573
- {
82574
- "kind": "js",
82639
+ "kind": "function",
82575
82640
  "name": "applyFieldLabel",
82576
- "declaration": {
82577
- "name": "applyFieldLabel",
82578
- "module": "src/primitives/field/field.ts"
82579
- }
82641
+ "return": {
82642
+ "type": {
82643
+ "text": "void"
82644
+ }
82645
+ },
82646
+ "parameters": [
82647
+ {
82648
+ "name": "el",
82649
+ "type": {
82650
+ "text": "HTMLLabelElement"
82651
+ }
82652
+ }
82653
+ ]
82580
82654
  },
82581
82655
  {
82582
- "kind": "js",
82656
+ "kind": "function",
82583
82657
  "name": "fieldLabel",
82584
- "declaration": {
82585
- "name": "fieldLabel",
82586
- "module": "src/primitives/field/field.ts"
82587
- }
82588
- },
82589
- {
82590
- "kind": "js",
82591
- "name": "FieldLabelElement",
82592
- "declaration": {
82593
- "name": "FieldLabelElement",
82594
- "module": "src/primitives/field/field.ts"
82595
- }
82596
- },
82597
- {
82598
- "kind": "js",
82599
- "name": "FieldTitle",
82600
- "declaration": {
82601
- "name": "FieldTitle",
82602
- "module": "src/primitives/field/field.ts"
82603
- }
82604
- },
82605
- {
82606
- "kind": "js",
82607
- "name": "FieldDescription",
82608
- "declaration": {
82609
- "name": "FieldDescription",
82610
- "module": "src/primitives/field/field.ts"
82611
- }
82612
- },
82613
- {
82614
- "kind": "js",
82615
- "name": "FieldSeparator",
82616
- "declaration": {
82617
- "name": "FieldSeparator",
82618
- "module": "src/primitives/field/field.ts"
82619
- }
82620
- },
82621
- {
82622
- "kind": "js",
82623
- "name": "FieldError",
82624
- "declaration": {
82625
- "name": "FieldError",
82626
- "module": "src/primitives/field/field.ts"
82627
- }
82628
- },
82629
- {
82630
- "kind": "custom-element-definition",
82631
- "name": "pont-prim-field-set",
82632
- "declaration": {
82633
- "name": "FieldSetElement",
82634
- "module": "src/primitives/field/field.ts"
82635
- }
82636
- },
82637
- {
82638
- "kind": "custom-element-definition",
82639
- "name": "pont-prim-field-group",
82640
- "declaration": {
82641
- "name": "FieldGroup",
82642
- "module": "src/primitives/field/field.ts"
82643
- }
82644
- },
82645
- {
82646
- "kind": "custom-element-definition",
82647
- "name": "pont-prim-field",
82648
- "declaration": {
82649
- "name": "Field",
82650
- "module": "src/primitives/field/field.ts"
82651
- }
82652
- },
82653
- {
82654
- "kind": "custom-element-definition",
82655
- "name": "pont-prim-field-content",
82656
- "declaration": {
82657
- "name": "FieldContent",
82658
- "module": "src/primitives/field/field.ts"
82659
- }
82660
- },
82661
- {
82662
- "kind": "custom-element-definition",
82663
- "name": "pont-prim-field-label",
82664
- "declaration": {
82665
- "name": "FieldLabelElement",
82666
- "module": "src/primitives/field/field.ts"
82667
- }
82668
- },
82669
- {
82670
- "kind": "custom-element-definition",
82671
- "name": "pont-prim-field-title",
82672
- "declaration": {
82673
- "name": "FieldTitle",
82674
- "module": "src/primitives/field/field.ts"
82675
- }
82676
- },
82677
- {
82678
- "kind": "custom-element-definition",
82679
- "name": "pont-prim-field-description",
82680
- "declaration": {
82681
- "name": "FieldDescription",
82682
- "module": "src/primitives/field/field.ts"
82683
- }
82684
- },
82685
- {
82686
- "kind": "custom-element-definition",
82687
- "name": "pont-prim-field-separator",
82688
- "declaration": {
82689
- "name": "FieldSeparator",
82690
- "module": "src/primitives/field/field.ts"
82691
- }
82658
+ "parameters": [
82659
+ {
82660
+ "name": "o",
82661
+ "type": {
82662
+ "text": "{ for?: string; id?: string; attrs?: AttrMap }"
82663
+ }
82664
+ },
82665
+ {
82666
+ "name": "content",
82667
+ "type": {
82668
+ "text": "unknown"
82669
+ }
82670
+ }
82671
+ ],
82672
+ "description": "`<label data-pont-label data-pont-field-label data-slot=\"field-label\">`"
82692
82673
  },
82693
- {
82694
- "kind": "custom-element-definition",
82695
- "name": "pont-prim-field-error",
82696
- "declaration": {
82697
- "name": "FieldError",
82698
- "module": "src/primitives/field/field.ts"
82699
- }
82700
- }
82701
- ]
82702
- },
82703
- {
82704
- "kind": "javascript-module",
82705
- "path": "src/primitives/empty/empty.ts",
82706
- "declarations": [
82707
82674
  {
82708
82675
  "kind": "class",
82709
- "description": "# Empty: Tier 1 (structural)\n\nshadcn: `<Empty>` → `<div data-slot=\"empty\">` with `EmptyHeader`,\n`EmptyMedia` (`data-slot=\"empty-icon\"`, `data-variant`), `EmptyTitle`,\n`EmptyDescription`, `EmptyContent`, all divs. All host-as-root here.",
82710
- "name": "Empty",
82676
+ "description": "",
82677
+ "name": "FieldLabelElement",
82711
82678
  "members": [
82679
+ {
82680
+ "kind": "field",
82681
+ "name": "nativeSelector",
82682
+ "type": {
82683
+ "text": "string"
82684
+ },
82685
+ "static": true,
82686
+ "default": "\"label\"",
82687
+ "description": "Selector for the native child this enhancer applies its recipe to.",
82688
+ "inheritedFrom": {
82689
+ "name": "NativeEnhancer",
82690
+ "module": "src/core/host-element.ts"
82691
+ }
82692
+ },
82693
+ {
82694
+ "kind": "method",
82695
+ "name": "apply",
82696
+ "privacy": "protected",
82697
+ "return": {
82698
+ "type": {
82699
+ "text": "void"
82700
+ }
82701
+ },
82702
+ "parameters": [
82703
+ {
82704
+ "name": "control",
82705
+ "type": {
82706
+ "text": "HTMLLabelElement"
82707
+ }
82708
+ }
82709
+ ],
82710
+ "description": "Apply the recipe (attributes / properties) to the native element.",
82711
+ "inheritedFrom": {
82712
+ "name": "NativeEnhancer",
82713
+ "module": "src/core/host-element.ts"
82714
+ }
82715
+ },
82716
+ {
82717
+ "kind": "field",
82718
+ "name": "_observer",
82719
+ "type": {
82720
+ "text": "MutationObserver | undefined"
82721
+ },
82722
+ "privacy": "private",
82723
+ "inheritedFrom": {
82724
+ "name": "NativeEnhancer",
82725
+ "module": "src/core/host-element.ts"
82726
+ }
82727
+ },
82728
+ {
82729
+ "kind": "field",
82730
+ "name": "_warned",
82731
+ "type": {
82732
+ "text": "boolean"
82733
+ },
82734
+ "privacy": "private",
82735
+ "default": "false",
82736
+ "inheritedFrom": {
82737
+ "name": "NativeEnhancer",
82738
+ "module": "src/core/host-element.ts"
82739
+ }
82740
+ },
82741
+ {
82742
+ "kind": "field",
82743
+ "name": "control",
82744
+ "type": {
82745
+ "text": "HTMLElement | null"
82746
+ },
82747
+ "description": "The single native element this shell stands for.",
82748
+ "readonly": true,
82749
+ "inheritedFrom": {
82750
+ "name": "ShellElement",
82751
+ "module": "src/core/host-element.ts"
82752
+ }
82753
+ },
82712
82754
  {
82713
82755
  "kind": "field",
82714
82756
  "name": "identity",
@@ -82717,12 +82759,47 @@
82717
82759
  },
82718
82760
  "static": true,
82719
82761
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
82720
- "default": "\"empty\"",
82762
+ "default": "\"shell\"",
82721
82763
  "inheritedFrom": {
82722
82764
  "name": "HostElement",
82723
82765
  "module": "src/core/host-element.ts"
82724
82766
  }
82725
82767
  },
82768
+ {
82769
+ "kind": "method",
82770
+ "name": "focus",
82771
+ "return": {
82772
+ "type": {
82773
+ "text": "void"
82774
+ }
82775
+ },
82776
+ "parameters": [
82777
+ {
82778
+ "name": "options",
82779
+ "optional": true,
82780
+ "type": {
82781
+ "text": "FocusOptions"
82782
+ }
82783
+ }
82784
+ ],
82785
+ "inheritedFrom": {
82786
+ "name": "ShellElement",
82787
+ "module": "src/core/host-element.ts"
82788
+ }
82789
+ },
82790
+ {
82791
+ "kind": "method",
82792
+ "name": "blur",
82793
+ "return": {
82794
+ "type": {
82795
+ "text": "void"
82796
+ }
82797
+ },
82798
+ "inheritedFrom": {
82799
+ "name": "ShellElement",
82800
+ "module": "src/core/host-element.ts"
82801
+ }
82802
+ },
82726
82803
  {
82727
82804
  "kind": "field",
82728
82805
  "name": "slotName",
@@ -82731,7 +82808,6 @@
82731
82808
  },
82732
82809
  "static": true,
82733
82810
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
82734
- "default": "\"empty\"",
82735
82811
  "inheritedFrom": {
82736
82812
  "name": "HostElement",
82737
82813
  "module": "src/core/host-element.ts"
@@ -82861,17 +82937,17 @@
82861
82937
  }
82862
82938
  ],
82863
82939
  "superclass": {
82864
- "name": "HostElement",
82940
+ "name": "NativeEnhancer",
82865
82941
  "module": "/src/core/host-element"
82866
82942
  },
82867
- "tagName": "pont-prim-empty",
82943
+ "tagName": "pont-prim-field-label",
82868
82944
  "customElement": true,
82869
82945
  "pontLayer": "primitive"
82870
82946
  },
82871
82947
  {
82872
82948
  "kind": "class",
82873
- "description": "",
82874
- "name": "EmptyHeader",
82949
+ "description": "A label-styled title for a field that has no single control to label\n(shadcn gives it `data-slot=\"field-label\"` too, kept verbatim).",
82950
+ "name": "FieldTitle",
82875
82951
  "members": [
82876
82952
  {
82877
82953
  "kind": "field",
@@ -82881,7 +82957,7 @@
82881
82957
  },
82882
82958
  "static": true,
82883
82959
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
82884
- "default": "\"empty-header\"",
82960
+ "default": "\"field-title\"",
82885
82961
  "inheritedFrom": {
82886
82962
  "name": "HostElement",
82887
82963
  "module": "src/core/host-element.ts"
@@ -82895,7 +82971,7 @@
82895
82971
  },
82896
82972
  "static": true,
82897
82973
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
82898
- "default": "\"empty-header\"",
82974
+ "default": "\"field-label\"",
82899
82975
  "inheritedFrom": {
82900
82976
  "name": "HostElement",
82901
82977
  "module": "src/core/host-element.ts"
@@ -83028,14 +83104,14 @@
83028
83104
  "name": "HostElement",
83029
83105
  "module": "/src/core/host-element"
83030
83106
  },
83031
- "tagName": "pont-prim-empty-header",
83107
+ "tagName": "pont-prim-field-title",
83032
83108
  "customElement": true,
83033
83109
  "pontLayer": "primitive"
83034
83110
  },
83035
83111
  {
83036
83112
  "kind": "class",
83037
- "description": "Note shadcn's slot name for the media part is `empty-icon` (kept verbatim).",
83038
- "name": "EmptyMedia",
83113
+ "description": "",
83114
+ "name": "FieldDescription",
83039
83115
  "members": [
83040
83116
  {
83041
83117
  "kind": "field",
@@ -83045,7 +83121,7 @@
83045
83121
  },
83046
83122
  "static": true,
83047
83123
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
83048
- "default": "\"empty-media\"",
83124
+ "default": "\"field-description\"",
83049
83125
  "inheritedFrom": {
83050
83126
  "name": "HostElement",
83051
83127
  "module": "src/core/host-element.ts"
@@ -83059,23 +83135,12 @@
83059
83135
  },
83060
83136
  "static": true,
83061
83137
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
83062
- "default": "\"empty-icon\"",
83138
+ "default": "\"field-description\"",
83063
83139
  "inheritedFrom": {
83064
83140
  "name": "HostElement",
83065
83141
  "module": "src/core/host-element.ts"
83066
83142
  }
83067
83143
  },
83068
- {
83069
- "kind": "field",
83070
- "name": "variant",
83071
- "privacy": "public",
83072
- "type": {
83073
- "text": "EmptyMediaVariant"
83074
- },
83075
- "default": "\"default\"",
83076
- "attribute": "variant",
83077
- "reflects": true
83078
- },
83079
83144
  {
83080
83145
  "kind": "field",
83081
83146
  "name": "role",
@@ -83199,29 +83264,18 @@
83199
83264
  }
83200
83265
  }
83201
83266
  ],
83202
- "attributes": [
83203
- {
83204
- "description": "default | icon",
83205
- "name": "variant",
83206
- "type": {
83207
- "text": "EmptyMediaVariant"
83208
- },
83209
- "default": "\"default\"",
83210
- "fieldName": "variant"
83211
- }
83212
- ],
83213
83267
  "superclass": {
83214
83268
  "name": "HostElement",
83215
83269
  "module": "/src/core/host-element"
83216
83270
  },
83217
- "tagName": "pont-prim-empty-media",
83271
+ "tagName": "pont-prim-field-description",
83218
83272
  "customElement": true,
83219
83273
  "pontLayer": "primitive"
83220
83274
  },
83221
83275
  {
83222
83276
  "kind": "class",
83223
- "description": "",
83224
- "name": "EmptyTitle",
83277
+ "description": "shadcn renders `div > Separator + span`. pont draws the two rule halves\nwith `::before`/`::after`, so the only nodes are the host and your text.\n`data-content` is set when the separator has text, as in shadcn.",
83278
+ "name": "FieldSeparator",
83225
83279
  "members": [
83226
83280
  {
83227
83281
  "kind": "field",
@@ -83231,7 +83285,7 @@
83231
83285
  },
83232
83286
  "static": true,
83233
83287
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
83234
- "default": "\"empty-title\"",
83288
+ "default": "\"field-separator\"",
83235
83289
  "inheritedFrom": {
83236
83290
  "name": "HostElement",
83237
83291
  "module": "src/core/host-element.ts"
@@ -83245,58 +83299,7 @@
83245
83299
  },
83246
83300
  "static": true,
83247
83301
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
83248
- "default": "\"empty-title\"",
83249
- "inheritedFrom": {
83250
- "name": "HostElement",
83251
- "module": "src/core/host-element.ts"
83252
- }
83253
- },
83254
- {
83255
- "kind": "field",
83256
- "name": "role",
83257
- "type": {
83258
- "text": "string | undefined"
83259
- },
83260
- "static": true,
83261
- "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
83262
- "inheritedFrom": {
83263
- "name": "HostElement",
83264
- "module": "src/core/host-element.ts"
83265
- }
83266
- },
83267
- {
83268
- "kind": "field",
83269
- "name": "composite",
83270
- "type": {
83271
- "text": "boolean"
83272
- },
83273
- "static": true,
83274
- "default": "false",
83275
- "description": "`true` on kit composites (`src/kit/`): the element renders its entire\nsubtree from properties, so author-written children are a mistake (use the\n`pont-prim-*` form for custom content). Reported once in development.",
83276
- "inheritedFrom": {
83277
- "name": "HostElement",
83278
- "module": "src/core/host-element.ts"
83279
- }
83280
- },
83281
- {
83282
- "kind": "method",
83283
- "name": "part",
83284
- "static": true,
83285
- "return": {
83286
- "type": {
83287
- "text": "DirectiveResult"
83288
- }
83289
- },
83290
- "parameters": [
83291
- {
83292
- "name": "extra",
83293
- "default": "{}",
83294
- "type": {
83295
- "text": "AttrMap"
83296
- }
83297
- }
83298
- ],
83299
- "description": "A **part**: this element's identity, `data-slot` and default role as plain\nattributes, for a template to put on a native element.\n\n```ts\nhtml`<div ${AlertTitle.part()}>${this.heading}</div>`\n// → <div data-pont-alert-title data-slot=\"alert-title\">…</div>\n```\n\nThe result is styled by the element's recipe and found by `sel()` lookups,\nexactly like the element itself, so a composite reproduces shadcn's DOM\nwithout nesting custom elements. A part carries **attributes only**: use\nit for Tier 1 elements whose host adds nothing but identity, slot and role.\nAn element with behaviour (state, observers, keyboard, form association)\nhas to be rendered as the element. `extra` adds or overrides attributes.",
83302
+ "default": "\"field-separator\"",
83300
83303
  "inheritedFrom": {
83301
83304
  "name": "HostElement",
83302
83305
  "module": "src/core/host-element.ts"
@@ -83304,116 +83307,16 @@
83304
83307
  },
83305
83308
  {
83306
83309
  "kind": "field",
83307
- "name": "internals",
83310
+ "name": "observer",
83308
83311
  "type": {
83309
- "text": "ElementInternals"
83310
- },
83311
- "privacy": "protected",
83312
- "readonly": true,
83313
- "inheritedFrom": {
83314
- "name": "HostElement",
83315
- "module": "src/core/host-element.ts"
83316
- }
83317
- },
83318
- {
83319
- "kind": "method",
83320
- "name": "setData",
83321
- "privacy": "protected",
83322
- "return": {
83323
- "type": {
83324
- "text": "void"
83325
- }
83312
+ "text": "MutationObserver | undefined"
83326
83313
  },
83327
- "parameters": [
83328
- {
83329
- "name": "name",
83330
- "type": {
83331
- "text": "string"
83332
- }
83333
- },
83334
- {
83335
- "name": "value",
83336
- "type": {
83337
- "text": "string | boolean | null | undefined"
83338
- }
83339
- }
83340
- ],
83341
- "description": "Sets `data-<name>`: a string value, `true` → empty (presence) attribute,\n`false`/`null`/`undefined` → removed. Base UI exposes state as presence\nattributes (`data-checked`, `data-disabled`, `data-open`), which is what\nshadcn's Base UI styles select on, so `true`/`false` is the common call.",
83342
- "inheritedFrom": {
83343
- "name": "HostElement",
83344
- "module": "src/core/host-element.ts"
83345
- }
83314
+ "privacy": "private"
83346
83315
  },
83347
83316
  {
83348
83317
  "kind": "method",
83349
- "name": "setState",
83350
- "privacy": "protected",
83351
- "return": {
83352
- "type": {
83353
- "text": "void"
83354
- }
83355
- },
83356
- "parameters": [
83357
- {
83358
- "name": "name",
83359
- "type": {
83360
- "text": "string"
83361
- }
83362
- },
83363
- {
83364
- "name": "on",
83365
- "type": {
83366
- "text": "boolean"
83367
- }
83368
- }
83369
- ],
83370
- "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
83371
- "inheritedFrom": {
83372
- "name": "HostElement",
83373
- "module": "src/core/host-element.ts"
83374
- }
83375
- }
83376
- ],
83377
- "superclass": {
83378
- "name": "HostElement",
83379
- "module": "/src/core/host-element"
83380
- },
83381
- "tagName": "pont-prim-empty-title",
83382
- "customElement": true,
83383
- "pontLayer": "primitive"
83384
- },
83385
- {
83386
- "kind": "class",
83387
- "description": "",
83388
- "name": "EmptyDescription",
83389
- "members": [
83390
- {
83391
- "kind": "field",
83392
- "name": "identity",
83393
- "type": {
83394
- "text": "string | undefined"
83395
- },
83396
- "static": true,
83397
- "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
83398
- "default": "\"empty-description\"",
83399
- "inheritedFrom": {
83400
- "name": "HostElement",
83401
- "module": "src/core/host-element.ts"
83402
- }
83403
- },
83404
- {
83405
- "kind": "field",
83406
- "name": "slotName",
83407
- "type": {
83408
- "text": "string | undefined"
83409
- },
83410
- "static": true,
83411
- "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
83412
- "default": "\"empty-description\"",
83413
- "inheritedFrom": {
83414
- "name": "HostElement",
83415
- "module": "src/core/host-element.ts"
83416
- }
83318
+ "name": "sync",
83319
+ "privacy": "private"
83417
83320
  },
83418
83321
  {
83419
83322
  "kind": "field",
@@ -83542,14 +83445,14 @@
83542
83445
  "name": "HostElement",
83543
83446
  "module": "/src/core/host-element"
83544
83447
  },
83545
- "tagName": "pont-prim-empty-description",
83448
+ "tagName": "pont-prim-field-separator",
83546
83449
  "customElement": true,
83547
83450
  "pontLayer": "primitive"
83548
83451
  },
83549
83452
  {
83550
83453
  "kind": "class",
83551
- "description": "",
83552
- "name": "EmptyContent",
83454
+ "description": "Write the message as children, or set `.errors` (shadcn's `errors` prop:\nde-duplicated by message; one renders as text, several as a list). Hidden\nwhile empty, like shadcn returning `null`.",
83455
+ "name": "FieldError",
83553
83456
  "members": [
83554
83457
  {
83555
83458
  "kind": "field",
@@ -83559,7 +83462,7 @@
83559
83462
  },
83560
83463
  "static": true,
83561
83464
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
83562
- "default": "\"empty-content\"",
83465
+ "default": "\"field-error\"",
83563
83466
  "inheritedFrom": {
83564
83467
  "name": "HostElement",
83565
83468
  "module": "src/core/host-element.ts"
@@ -83573,7 +83476,7 @@
83573
83476
  },
83574
83477
  "static": true,
83575
83478
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
83576
- "default": "\"empty-content\"",
83479
+ "default": "\"field-error\"",
83577
83480
  "inheritedFrom": {
83578
83481
  "name": "HostElement",
83579
83482
  "module": "src/core/host-element.ts"
@@ -83587,11 +83490,20 @@
83587
83490
  },
83588
83491
  "static": true,
83589
83492
  "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
83493
+ "default": "\"alert\"",
83590
83494
  "inheritedFrom": {
83591
83495
  "name": "HostElement",
83592
83496
  "module": "src/core/host-element.ts"
83593
83497
  }
83594
83498
  },
83499
+ {
83500
+ "kind": "field",
83501
+ "name": "errors",
83502
+ "privacy": "public",
83503
+ "type": {
83504
+ "text": "Array<FieldErrorItem | undefined> | undefined"
83505
+ }
83506
+ },
83595
83507
  {
83596
83508
  "kind": "field",
83597
83509
  "name": "composite",
@@ -83706,7 +83618,7 @@
83706
83618
  "name": "HostElement",
83707
83619
  "module": "/src/core/host-element"
83708
83620
  },
83709
- "tagName": "pont-prim-empty-content",
83621
+ "tagName": "pont-prim-field-error",
83710
83622
  "customElement": true,
83711
83623
  "pontLayer": "primitive"
83712
83624
  }
@@ -83714,98 +83626,186 @@
83714
83626
  "exports": [
83715
83627
  {
83716
83628
  "kind": "js",
83717
- "name": "Empty",
83629
+ "name": "applyFieldSet",
83718
83630
  "declaration": {
83719
- "name": "Empty",
83720
- "module": "src/primitives/empty/empty.ts"
83631
+ "name": "applyFieldSet",
83632
+ "module": "src/primitives/field/field.ts"
83721
83633
  }
83722
83634
  },
83723
83635
  {
83724
83636
  "kind": "js",
83725
- "name": "EmptyHeader",
83637
+ "name": "fieldSet",
83726
83638
  "declaration": {
83727
- "name": "EmptyHeader",
83728
- "module": "src/primitives/empty/empty.ts"
83639
+ "name": "fieldSet",
83640
+ "module": "src/primitives/field/field.ts"
83729
83641
  }
83730
83642
  },
83731
83643
  {
83732
83644
  "kind": "js",
83733
- "name": "EmptyMedia",
83645
+ "name": "fieldLegend",
83734
83646
  "declaration": {
83735
- "name": "EmptyMedia",
83736
- "module": "src/primitives/empty/empty.ts"
83647
+ "name": "fieldLegend",
83648
+ "module": "src/primitives/field/field.ts"
83737
83649
  }
83738
83650
  },
83739
83651
  {
83740
83652
  "kind": "js",
83741
- "name": "EmptyTitle",
83653
+ "name": "FieldSetElement",
83742
83654
  "declaration": {
83743
- "name": "EmptyTitle",
83744
- "module": "src/primitives/empty/empty.ts"
83655
+ "name": "FieldSetElement",
83656
+ "module": "src/primitives/field/field.ts"
83745
83657
  }
83746
83658
  },
83747
83659
  {
83748
83660
  "kind": "js",
83749
- "name": "EmptyDescription",
83661
+ "name": "FieldGroup",
83750
83662
  "declaration": {
83751
- "name": "EmptyDescription",
83752
- "module": "src/primitives/empty/empty.ts"
83663
+ "name": "FieldGroup",
83664
+ "module": "src/primitives/field/field.ts"
83753
83665
  }
83754
83666
  },
83755
83667
  {
83756
83668
  "kind": "js",
83757
- "name": "EmptyContent",
83669
+ "name": "Field",
83758
83670
  "declaration": {
83759
- "name": "EmptyContent",
83760
- "module": "src/primitives/empty/empty.ts"
83671
+ "name": "Field",
83672
+ "module": "src/primitives/field/field.ts"
83673
+ }
83674
+ },
83675
+ {
83676
+ "kind": "js",
83677
+ "name": "FieldContent",
83678
+ "declaration": {
83679
+ "name": "FieldContent",
83680
+ "module": "src/primitives/field/field.ts"
83681
+ }
83682
+ },
83683
+ {
83684
+ "kind": "js",
83685
+ "name": "applyFieldLabel",
83686
+ "declaration": {
83687
+ "name": "applyFieldLabel",
83688
+ "module": "src/primitives/field/field.ts"
83689
+ }
83690
+ },
83691
+ {
83692
+ "kind": "js",
83693
+ "name": "fieldLabel",
83694
+ "declaration": {
83695
+ "name": "fieldLabel",
83696
+ "module": "src/primitives/field/field.ts"
83697
+ }
83698
+ },
83699
+ {
83700
+ "kind": "js",
83701
+ "name": "FieldLabelElement",
83702
+ "declaration": {
83703
+ "name": "FieldLabelElement",
83704
+ "module": "src/primitives/field/field.ts"
83705
+ }
83706
+ },
83707
+ {
83708
+ "kind": "js",
83709
+ "name": "FieldTitle",
83710
+ "declaration": {
83711
+ "name": "FieldTitle",
83712
+ "module": "src/primitives/field/field.ts"
83713
+ }
83714
+ },
83715
+ {
83716
+ "kind": "js",
83717
+ "name": "FieldDescription",
83718
+ "declaration": {
83719
+ "name": "FieldDescription",
83720
+ "module": "src/primitives/field/field.ts"
83721
+ }
83722
+ },
83723
+ {
83724
+ "kind": "js",
83725
+ "name": "FieldSeparator",
83726
+ "declaration": {
83727
+ "name": "FieldSeparator",
83728
+ "module": "src/primitives/field/field.ts"
83729
+ }
83730
+ },
83731
+ {
83732
+ "kind": "js",
83733
+ "name": "FieldError",
83734
+ "declaration": {
83735
+ "name": "FieldError",
83736
+ "module": "src/primitives/field/field.ts"
83761
83737
  }
83762
83738
  },
83763
83739
  {
83764
83740
  "kind": "custom-element-definition",
83765
- "name": "pont-prim-empty",
83741
+ "name": "pont-prim-field-set",
83766
83742
  "declaration": {
83767
- "name": "Empty",
83768
- "module": "src/primitives/empty/empty.ts"
83743
+ "name": "FieldSetElement",
83744
+ "module": "src/primitives/field/field.ts"
83769
83745
  }
83770
83746
  },
83771
83747
  {
83772
83748
  "kind": "custom-element-definition",
83773
- "name": "pont-prim-empty-header",
83749
+ "name": "pont-prim-field-group",
83774
83750
  "declaration": {
83775
- "name": "EmptyHeader",
83776
- "module": "src/primitives/empty/empty.ts"
83751
+ "name": "FieldGroup",
83752
+ "module": "src/primitives/field/field.ts"
83777
83753
  }
83778
83754
  },
83779
83755
  {
83780
83756
  "kind": "custom-element-definition",
83781
- "name": "pont-prim-empty-media",
83757
+ "name": "pont-prim-field",
83782
83758
  "declaration": {
83783
- "name": "EmptyMedia",
83784
- "module": "src/primitives/empty/empty.ts"
83759
+ "name": "Field",
83760
+ "module": "src/primitives/field/field.ts"
83785
83761
  }
83786
83762
  },
83787
83763
  {
83788
83764
  "kind": "custom-element-definition",
83789
- "name": "pont-prim-empty-title",
83765
+ "name": "pont-prim-field-content",
83790
83766
  "declaration": {
83791
- "name": "EmptyTitle",
83792
- "module": "src/primitives/empty/empty.ts"
83767
+ "name": "FieldContent",
83768
+ "module": "src/primitives/field/field.ts"
83793
83769
  }
83794
83770
  },
83795
83771
  {
83796
83772
  "kind": "custom-element-definition",
83797
- "name": "pont-prim-empty-description",
83773
+ "name": "pont-prim-field-label",
83798
83774
  "declaration": {
83799
- "name": "EmptyDescription",
83800
- "module": "src/primitives/empty/empty.ts"
83775
+ "name": "FieldLabelElement",
83776
+ "module": "src/primitives/field/field.ts"
83801
83777
  }
83802
83778
  },
83803
83779
  {
83804
83780
  "kind": "custom-element-definition",
83805
- "name": "pont-prim-empty-content",
83781
+ "name": "pont-prim-field-title",
83806
83782
  "declaration": {
83807
- "name": "EmptyContent",
83808
- "module": "src/primitives/empty/empty.ts"
83783
+ "name": "FieldTitle",
83784
+ "module": "src/primitives/field/field.ts"
83785
+ }
83786
+ },
83787
+ {
83788
+ "kind": "custom-element-definition",
83789
+ "name": "pont-prim-field-description",
83790
+ "declaration": {
83791
+ "name": "FieldDescription",
83792
+ "module": "src/primitives/field/field.ts"
83793
+ }
83794
+ },
83795
+ {
83796
+ "kind": "custom-element-definition",
83797
+ "name": "pont-prim-field-separator",
83798
+ "declaration": {
83799
+ "name": "FieldSeparator",
83800
+ "module": "src/primitives/field/field.ts"
83801
+ }
83802
+ },
83803
+ {
83804
+ "kind": "custom-element-definition",
83805
+ "name": "pont-prim-field-error",
83806
+ "declaration": {
83807
+ "name": "FieldError",
83808
+ "module": "src/primitives/field/field.ts"
83809
83809
  }
83810
83810
  }
83811
83811
  ]