@pontive/pontkit-core 3.0.0 → 3.1.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.
@@ -100866,6 +100866,353 @@
100866
100866
  }
100867
100867
  ]
100868
100868
  },
100869
+ {
100870
+ "kind": "javascript-module",
100871
+ "path": "src/primitives/textarea/textarea.ts",
100872
+ "declarations": [
100873
+ {
100874
+ "kind": "function",
100875
+ "name": "applyTextarea",
100876
+ "return": {
100877
+ "type": {
100878
+ "text": "void"
100879
+ }
100880
+ },
100881
+ "parameters": [
100882
+ {
100883
+ "name": "el",
100884
+ "type": {
100885
+ "text": "HTMLTextAreaElement"
100886
+ }
100887
+ },
100888
+ {
100889
+ "name": "slot",
100890
+ "default": "\"textarea\""
100891
+ }
100892
+ ]
100893
+ },
100894
+ {
100895
+ "kind": "function",
100896
+ "name": "textarea",
100897
+ "parameters": [
100898
+ {
100899
+ "name": "o",
100900
+ "default": "{}",
100901
+ "type": {
100902
+ "text": "TextareaOptions"
100903
+ }
100904
+ }
100905
+ ]
100906
+ },
100907
+ {
100908
+ "kind": "class",
100909
+ "description": "",
100910
+ "name": "PontTextarea",
100911
+ "members": [
100912
+ {
100913
+ "kind": "field",
100914
+ "name": "nativeSelector",
100915
+ "type": {
100916
+ "text": "string"
100917
+ },
100918
+ "static": true,
100919
+ "default": "\"textarea\"",
100920
+ "description": "Selector for the native child this enhancer applies its recipe to.",
100921
+ "inheritedFrom": {
100922
+ "name": "NativeEnhancer",
100923
+ "module": "src/core/host-element.ts"
100924
+ }
100925
+ },
100926
+ {
100927
+ "kind": "method",
100928
+ "name": "apply",
100929
+ "privacy": "protected",
100930
+ "return": {
100931
+ "type": {
100932
+ "text": "void"
100933
+ }
100934
+ },
100935
+ "parameters": [
100936
+ {
100937
+ "name": "control",
100938
+ "type": {
100939
+ "text": "HTMLTextAreaElement"
100940
+ }
100941
+ }
100942
+ ],
100943
+ "description": "Apply the recipe (attributes / properties) to the native element.",
100944
+ "inheritedFrom": {
100945
+ "name": "NativeEnhancer",
100946
+ "module": "src/core/host-element.ts"
100947
+ }
100948
+ },
100949
+ {
100950
+ "kind": "field",
100951
+ "name": "_observer",
100952
+ "type": {
100953
+ "text": "MutationObserver | undefined"
100954
+ },
100955
+ "privacy": "private",
100956
+ "inheritedFrom": {
100957
+ "name": "NativeEnhancer",
100958
+ "module": "src/core/host-element.ts"
100959
+ }
100960
+ },
100961
+ {
100962
+ "kind": "field",
100963
+ "name": "_warned",
100964
+ "type": {
100965
+ "text": "boolean"
100966
+ },
100967
+ "privacy": "private",
100968
+ "default": "false",
100969
+ "inheritedFrom": {
100970
+ "name": "NativeEnhancer",
100971
+ "module": "src/core/host-element.ts"
100972
+ }
100973
+ },
100974
+ {
100975
+ "kind": "field",
100976
+ "name": "control",
100977
+ "type": {
100978
+ "text": "HTMLElement | null"
100979
+ },
100980
+ "description": "The single native element this shell stands for.",
100981
+ "readonly": true,
100982
+ "inheritedFrom": {
100983
+ "name": "ShellElement",
100984
+ "module": "src/core/host-element.ts"
100985
+ }
100986
+ },
100987
+ {
100988
+ "kind": "field",
100989
+ "name": "identity",
100990
+ "type": {
100991
+ "text": "string | undefined"
100992
+ },
100993
+ "static": true,
100994
+ "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
100995
+ "default": "\"shell\"",
100996
+ "inheritedFrom": {
100997
+ "name": "HostElement",
100998
+ "module": "src/core/host-element.ts"
100999
+ }
101000
+ },
101001
+ {
101002
+ "kind": "method",
101003
+ "name": "focus",
101004
+ "return": {
101005
+ "type": {
101006
+ "text": "void"
101007
+ }
101008
+ },
101009
+ "parameters": [
101010
+ {
101011
+ "name": "options",
101012
+ "optional": true,
101013
+ "type": {
101014
+ "text": "FocusOptions"
101015
+ }
101016
+ }
101017
+ ],
101018
+ "inheritedFrom": {
101019
+ "name": "ShellElement",
101020
+ "module": "src/core/host-element.ts"
101021
+ }
101022
+ },
101023
+ {
101024
+ "kind": "method",
101025
+ "name": "blur",
101026
+ "return": {
101027
+ "type": {
101028
+ "text": "void"
101029
+ }
101030
+ },
101031
+ "inheritedFrom": {
101032
+ "name": "ShellElement",
101033
+ "module": "src/core/host-element.ts"
101034
+ }
101035
+ },
101036
+ {
101037
+ "kind": "field",
101038
+ "name": "slotName",
101039
+ "type": {
101040
+ "text": "string | undefined"
101041
+ },
101042
+ "static": true,
101043
+ "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
101044
+ "inheritedFrom": {
101045
+ "name": "HostElement",
101046
+ "module": "src/core/host-element.ts"
101047
+ }
101048
+ },
101049
+ {
101050
+ "kind": "field",
101051
+ "name": "role",
101052
+ "type": {
101053
+ "text": "string | undefined"
101054
+ },
101055
+ "static": true,
101056
+ "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
101057
+ "inheritedFrom": {
101058
+ "name": "HostElement",
101059
+ "module": "src/core/host-element.ts"
101060
+ }
101061
+ },
101062
+ {
101063
+ "kind": "field",
101064
+ "name": "composite",
101065
+ "type": {
101066
+ "text": "boolean"
101067
+ },
101068
+ "static": true,
101069
+ "default": "false",
101070
+ "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.",
101071
+ "inheritedFrom": {
101072
+ "name": "HostElement",
101073
+ "module": "src/core/host-element.ts"
101074
+ }
101075
+ },
101076
+ {
101077
+ "kind": "method",
101078
+ "name": "part",
101079
+ "static": true,
101080
+ "return": {
101081
+ "type": {
101082
+ "text": "DirectiveResult"
101083
+ }
101084
+ },
101085
+ "parameters": [
101086
+ {
101087
+ "name": "extra",
101088
+ "default": "{}",
101089
+ "type": {
101090
+ "text": "AttrMap"
101091
+ }
101092
+ }
101093
+ ],
101094
+ "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.",
101095
+ "inheritedFrom": {
101096
+ "name": "HostElement",
101097
+ "module": "src/core/host-element.ts"
101098
+ }
101099
+ },
101100
+ {
101101
+ "kind": "field",
101102
+ "name": "internals",
101103
+ "type": {
101104
+ "text": "ElementInternals"
101105
+ },
101106
+ "privacy": "protected",
101107
+ "readonly": true,
101108
+ "inheritedFrom": {
101109
+ "name": "HostElement",
101110
+ "module": "src/core/host-element.ts"
101111
+ }
101112
+ },
101113
+ {
101114
+ "kind": "method",
101115
+ "name": "setData",
101116
+ "privacy": "protected",
101117
+ "return": {
101118
+ "type": {
101119
+ "text": "void"
101120
+ }
101121
+ },
101122
+ "parameters": [
101123
+ {
101124
+ "name": "name",
101125
+ "type": {
101126
+ "text": "string"
101127
+ }
101128
+ },
101129
+ {
101130
+ "name": "value",
101131
+ "type": {
101132
+ "text": "string | boolean | null | undefined"
101133
+ }
101134
+ }
101135
+ ],
101136
+ "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.",
101137
+ "inheritedFrom": {
101138
+ "name": "HostElement",
101139
+ "module": "src/core/host-element.ts"
101140
+ }
101141
+ },
101142
+ {
101143
+ "kind": "method",
101144
+ "name": "setState",
101145
+ "privacy": "protected",
101146
+ "return": {
101147
+ "type": {
101148
+ "text": "void"
101149
+ }
101150
+ },
101151
+ "parameters": [
101152
+ {
101153
+ "name": "name",
101154
+ "type": {
101155
+ "text": "string"
101156
+ }
101157
+ },
101158
+ {
101159
+ "name": "on",
101160
+ "type": {
101161
+ "text": "boolean"
101162
+ }
101163
+ }
101164
+ ],
101165
+ "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
101166
+ "inheritedFrom": {
101167
+ "name": "HostElement",
101168
+ "module": "src/core/host-element.ts"
101169
+ }
101170
+ }
101171
+ ],
101172
+ "superclass": {
101173
+ "name": "NativeEnhancer",
101174
+ "module": "/src/core/host-element"
101175
+ },
101176
+ "tagName": "pont-prim-textarea",
101177
+ "customElement": true,
101178
+ "pontLayer": "primitive"
101179
+ }
101180
+ ],
101181
+ "exports": [
101182
+ {
101183
+ "kind": "js",
101184
+ "name": "applyTextarea",
101185
+ "declaration": {
101186
+ "name": "applyTextarea",
101187
+ "module": "src/primitives/textarea/textarea.ts"
101188
+ }
101189
+ },
101190
+ {
101191
+ "kind": "js",
101192
+ "name": "textarea",
101193
+ "declaration": {
101194
+ "name": "textarea",
101195
+ "module": "src/primitives/textarea/textarea.ts"
101196
+ }
101197
+ },
101198
+ {
101199
+ "kind": "js",
101200
+ "name": "PontTextarea",
101201
+ "declaration": {
101202
+ "name": "PontTextarea",
101203
+ "module": "src/primitives/textarea/textarea.ts"
101204
+ }
101205
+ },
101206
+ {
101207
+ "kind": "custom-element-definition",
101208
+ "name": "pont-prim-textarea",
101209
+ "declaration": {
101210
+ "name": "PontTextarea",
101211
+ "module": "src/primitives/textarea/textarea.ts"
101212
+ }
101213
+ }
101214
+ ]
101215
+ },
100869
101216
  {
100870
101217
  "kind": "javascript-module",
100871
101218
  "path": "src/primitives/tabs/tabs.ts",
@@ -101287,241 +101634,8 @@
101287
101634
  "name": "root",
101288
101635
  "type": {
101289
101636
  "text": "Tabs | null"
101290
- },
101291
- "readonly": true
101292
- },
101293
- {
101294
- "kind": "field",
101295
- "name": "composite",
101296
- "type": {
101297
- "text": "boolean"
101298
- },
101299
- "static": true,
101300
- "default": "false",
101301
- "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.",
101302
- "inheritedFrom": {
101303
- "name": "HostElement",
101304
- "module": "src/core/host-element.ts"
101305
- }
101306
- },
101307
- {
101308
- "kind": "method",
101309
- "name": "part",
101310
- "static": true,
101311
- "return": {
101312
- "type": {
101313
- "text": "DirectiveResult"
101314
- }
101315
- },
101316
- "parameters": [
101317
- {
101318
- "name": "extra",
101319
- "default": "{}",
101320
- "type": {
101321
- "text": "AttrMap"
101322
- }
101323
- }
101324
- ],
101325
- "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.",
101326
- "inheritedFrom": {
101327
- "name": "HostElement",
101328
- "module": "src/core/host-element.ts"
101329
- }
101330
- },
101331
- {
101332
- "kind": "field",
101333
- "name": "internals",
101334
- "type": {
101335
- "text": "ElementInternals"
101336
- },
101337
- "privacy": "protected",
101338
- "readonly": true,
101339
- "inheritedFrom": {
101340
- "name": "HostElement",
101341
- "module": "src/core/host-element.ts"
101342
- }
101343
- },
101344
- {
101345
- "kind": "method",
101346
- "name": "setData",
101347
- "privacy": "protected",
101348
- "return": {
101349
- "type": {
101350
- "text": "void"
101351
- }
101352
- },
101353
- "parameters": [
101354
- {
101355
- "name": "name",
101356
- "type": {
101357
- "text": "string"
101358
- }
101359
- },
101360
- {
101361
- "name": "value",
101362
- "type": {
101363
- "text": "string | boolean | null | undefined"
101364
- }
101365
- }
101366
- ],
101367
- "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.",
101368
- "inheritedFrom": {
101369
- "name": "HostElement",
101370
- "module": "src/core/host-element.ts"
101371
- }
101372
- },
101373
- {
101374
- "kind": "method",
101375
- "name": "setState",
101376
- "privacy": "protected",
101377
- "return": {
101378
- "type": {
101379
- "text": "void"
101380
- }
101381
- },
101382
- "parameters": [
101383
- {
101384
- "name": "name",
101385
- "type": {
101386
- "text": "string"
101387
- }
101388
- },
101389
- {
101390
- "name": "on",
101391
- "type": {
101392
- "text": "boolean"
101393
- }
101394
- }
101395
- ],
101396
- "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
101397
- "inheritedFrom": {
101398
- "name": "HostElement",
101399
- "module": "src/core/host-element.ts"
101400
- }
101401
- }
101402
- ],
101403
- "attributes": [
101404
- {
101405
- "description": "default | line",
101406
- "name": "variant",
101407
- "type": {
101408
- "text": "TabsListVariant"
101409
- },
101410
- "default": "\"default\"",
101411
- "fieldName": "variant"
101412
- },
101413
- {
101414
- "description": "Arrow-key focus also activates the tab (Base UI `activateOnFocus`).",
101415
- "name": "activate-on-focus",
101416
- "type": {
101417
- "text": "boolean"
101418
- },
101419
- "default": "false",
101420
- "fieldName": "activateOnFocus"
101421
- },
101422
- {
101423
- "description": "Set `loop=\"false\"` to stop focus wrapping (Base UI `loopFocus`).",
101424
- "name": "loop",
101425
- "type": {
101426
- "text": "string | null"
101427
- },
101428
- "default": "null",
101429
- "fieldName": "loop"
101430
- }
101431
- ],
101432
- "superclass": {
101433
- "name": "HostElement",
101434
- "module": "/src/core/host-element"
101435
- },
101436
- "tagName": "pont-prim-tabs-list",
101437
- "customElement": true,
101438
- "pontLayer": "primitive"
101439
- },
101440
- {
101441
- "kind": "class",
101442
- "description": "",
101443
- "name": "TabsTrigger",
101444
- "members": [
101445
- {
101446
- "kind": "field",
101447
- "name": "identity",
101448
- "type": {
101449
- "text": "string | undefined"
101450
- },
101451
- "static": true,
101452
- "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
101453
- "default": "\"tabs-trigger\"",
101454
- "inheritedFrom": {
101455
- "name": "HostElement",
101456
- "module": "src/core/host-element.ts"
101457
- }
101458
- },
101459
- {
101460
- "kind": "field",
101461
- "name": "slotName",
101462
- "type": {
101463
- "text": "string | undefined"
101464
- },
101465
- "static": true,
101466
- "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
101467
- "default": "\"tabs-trigger\"",
101468
- "inheritedFrom": {
101469
- "name": "HostElement",
101470
- "module": "src/core/host-element.ts"
101471
- }
101472
- },
101473
- {
101474
- "kind": "field",
101475
- "name": "role",
101476
- "type": {
101477
- "text": "string | undefined"
101478
- },
101479
- "static": true,
101480
- "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
101481
- "default": "\"tab\"",
101482
- "inheritedFrom": {
101483
- "name": "HostElement",
101484
- "module": "src/core/host-element.ts"
101485
- }
101486
- },
101487
- {
101488
- "kind": "field",
101489
- "name": "value",
101490
- "privacy": "public",
101491
- "type": {
101492
- "text": "string"
101493
- },
101494
- "default": "\"\"",
101495
- "attribute": "value"
101496
- },
101497
- {
101498
- "kind": "field",
101499
- "name": "disabled",
101500
- "privacy": "public",
101501
- "type": {
101502
- "text": "boolean"
101503
- },
101504
- "default": "false",
101505
- "attribute": "disabled",
101506
- "reflects": true
101507
- },
101508
- {
101509
- "kind": "field",
101510
- "name": "root",
101511
- "type": {
101512
- "text": "Tabs | null"
101513
- },
101514
- "readonly": true
101515
- },
101516
- {
101517
- "kind": "field",
101518
- "name": "onClick",
101519
- "privacy": "private"
101520
- },
101521
- {
101522
- "kind": "field",
101523
- "name": "onKeyDown",
101524
- "privacy": "private"
101637
+ },
101638
+ "readonly": true
101525
101639
  },
101526
101640
  {
101527
101641
  "kind": "field",
@@ -101635,35 +101749,45 @@
101635
101749
  ],
101636
101750
  "attributes": [
101637
101751
  {
101638
- "description": "Identifies the tab and its panel.",
101639
- "name": "value",
101752
+ "description": "default | line",
101753
+ "name": "variant",
101640
101754
  "type": {
101641
- "text": "string"
101755
+ "text": "TabsListVariant"
101642
101756
  },
101643
- "default": "\"\"",
101644
- "fieldName": "value"
101757
+ "default": "\"default\"",
101758
+ "fieldName": "variant"
101645
101759
  },
101646
101760
  {
101647
- "name": "disabled",
101761
+ "description": "Arrow-key focus also activates the tab (Base UI `activateOnFocus`).",
101762
+ "name": "activate-on-focus",
101648
101763
  "type": {
101649
101764
  "text": "boolean"
101650
101765
  },
101651
101766
  "default": "false",
101652
- "fieldName": "disabled"
101767
+ "fieldName": "activateOnFocus"
101768
+ },
101769
+ {
101770
+ "description": "Set `loop=\"false\"` to stop focus wrapping (Base UI `loopFocus`).",
101771
+ "name": "loop",
101772
+ "type": {
101773
+ "text": "string | null"
101774
+ },
101775
+ "default": "null",
101776
+ "fieldName": "loop"
101653
101777
  }
101654
101778
  ],
101655
101779
  "superclass": {
101656
101780
  "name": "HostElement",
101657
101781
  "module": "/src/core/host-element"
101658
101782
  },
101659
- "tagName": "pont-prim-tabs-trigger",
101783
+ "tagName": "pont-prim-tabs-list",
101660
101784
  "customElement": true,
101661
101785
  "pontLayer": "primitive"
101662
101786
  },
101663
101787
  {
101664
101788
  "kind": "class",
101665
101789
  "description": "",
101666
- "name": "TabsContent",
101790
+ "name": "TabsTrigger",
101667
101791
  "members": [
101668
101792
  {
101669
101793
  "kind": "field",
@@ -101673,7 +101797,7 @@
101673
101797
  },
101674
101798
  "static": true,
101675
101799
  "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
101676
- "default": "\"tabs-content\"",
101800
+ "default": "\"tabs-trigger\"",
101677
101801
  "inheritedFrom": {
101678
101802
  "name": "HostElement",
101679
101803
  "module": "src/core/host-element.ts"
@@ -101687,7 +101811,7 @@
101687
101811
  },
101688
101812
  "static": true,
101689
101813
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
101690
- "default": "\"tabs-content\"",
101814
+ "default": "\"tabs-trigger\"",
101691
101815
  "inheritedFrom": {
101692
101816
  "name": "HostElement",
101693
101817
  "module": "src/core/host-element.ts"
@@ -101701,7 +101825,7 @@
101701
101825
  },
101702
101826
  "static": true,
101703
101827
  "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
101704
- "default": "\"tabpanel\"",
101828
+ "default": "\"tab\"",
101705
101829
  "inheritedFrom": {
101706
101830
  "name": "HostElement",
101707
101831
  "module": "src/core/host-element.ts"
@@ -101719,328 +101843,108 @@
101719
101843
  },
101720
101844
  {
101721
101845
  "kind": "field",
101722
- "name": "composite",
101846
+ "name": "disabled",
101847
+ "privacy": "public",
101723
101848
  "type": {
101724
101849
  "text": "boolean"
101725
101850
  },
101726
- "static": true,
101727
101851
  "default": "false",
101728
- "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.",
101729
- "inheritedFrom": {
101730
- "name": "HostElement",
101731
- "module": "src/core/host-element.ts"
101732
- }
101733
- },
101734
- {
101735
- "kind": "method",
101736
- "name": "part",
101737
- "static": true,
101738
- "return": {
101739
- "type": {
101740
- "text": "DirectiveResult"
101741
- }
101742
- },
101743
- "parameters": [
101744
- {
101745
- "name": "extra",
101746
- "default": "{}",
101747
- "type": {
101748
- "text": "AttrMap"
101749
- }
101750
- }
101751
- ],
101752
- "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.",
101753
- "inheritedFrom": {
101754
- "name": "HostElement",
101755
- "module": "src/core/host-element.ts"
101756
- }
101852
+ "attribute": "disabled",
101853
+ "reflects": true
101757
101854
  },
101758
101855
  {
101759
101856
  "kind": "field",
101760
- "name": "internals",
101761
- "type": {
101762
- "text": "ElementInternals"
101763
- },
101764
- "privacy": "protected",
101765
- "readonly": true,
101766
- "inheritedFrom": {
101767
- "name": "HostElement",
101768
- "module": "src/core/host-element.ts"
101769
- }
101770
- },
101771
- {
101772
- "kind": "method",
101773
- "name": "setData",
101774
- "privacy": "protected",
101775
- "return": {
101776
- "type": {
101777
- "text": "void"
101778
- }
101779
- },
101780
- "parameters": [
101781
- {
101782
- "name": "name",
101783
- "type": {
101784
- "text": "string"
101785
- }
101786
- },
101787
- {
101788
- "name": "value",
101789
- "type": {
101790
- "text": "string | boolean | null | undefined"
101791
- }
101792
- }
101793
- ],
101794
- "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.",
101795
- "inheritedFrom": {
101796
- "name": "HostElement",
101797
- "module": "src/core/host-element.ts"
101798
- }
101799
- },
101800
- {
101801
- "kind": "method",
101802
- "name": "setState",
101803
- "privacy": "protected",
101804
- "return": {
101805
- "type": {
101806
- "text": "void"
101807
- }
101808
- },
101809
- "parameters": [
101810
- {
101811
- "name": "name",
101812
- "type": {
101813
- "text": "string"
101814
- }
101815
- },
101816
- {
101817
- "name": "on",
101818
- "type": {
101819
- "text": "boolean"
101820
- }
101821
- }
101822
- ],
101823
- "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
101824
- "inheritedFrom": {
101825
- "name": "HostElement",
101826
- "module": "src/core/host-element.ts"
101827
- }
101828
- }
101829
- ],
101830
- "attributes": [
101831
- {
101832
- "description": "The trigger value this panel belongs to.",
101833
- "name": "value",
101857
+ "name": "root",
101834
101858
  "type": {
101835
- "text": "string"
101859
+ "text": "Tabs | null"
101836
101860
  },
101837
- "default": "\"\"",
101838
- "fieldName": "value"
101839
- }
101840
- ],
101841
- "superclass": {
101842
- "name": "HostElement",
101843
- "module": "/src/core/host-element"
101844
- },
101845
- "tagName": "pont-prim-tabs-content",
101846
- "customElement": true,
101847
- "pontLayer": "primitive"
101848
- }
101849
- ],
101850
- "exports": [
101851
- {
101852
- "kind": "js",
101853
- "name": "Tabs",
101854
- "declaration": {
101855
- "name": "Tabs",
101856
- "module": "src/primitives/tabs/tabs.ts"
101857
- }
101858
- },
101859
- {
101860
- "kind": "js",
101861
- "name": "TabsList",
101862
- "declaration": {
101863
- "name": "TabsList",
101864
- "module": "src/primitives/tabs/tabs.ts"
101865
- }
101866
- },
101867
- {
101868
- "kind": "js",
101869
- "name": "TabsTrigger",
101870
- "declaration": {
101871
- "name": "TabsTrigger",
101872
- "module": "src/primitives/tabs/tabs.ts"
101873
- }
101874
- },
101875
- {
101876
- "kind": "js",
101877
- "name": "TabsContent",
101878
- "declaration": {
101879
- "name": "TabsContent",
101880
- "module": "src/primitives/tabs/tabs.ts"
101881
- }
101882
- },
101883
- {
101884
- "kind": "custom-element-definition",
101885
- "name": "pont-prim-tabs",
101886
- "declaration": {
101887
- "name": "Tabs",
101888
- "module": "src/primitives/tabs/tabs.ts"
101889
- }
101890
- },
101891
- {
101892
- "kind": "custom-element-definition",
101893
- "name": "pont-prim-tabs-list",
101894
- "declaration": {
101895
- "name": "TabsList",
101896
- "module": "src/primitives/tabs/tabs.ts"
101897
- }
101898
- },
101899
- {
101900
- "kind": "custom-element-definition",
101901
- "name": "pont-prim-tabs-trigger",
101902
- "declaration": {
101903
- "name": "TabsTrigger",
101904
- "module": "src/primitives/tabs/tabs.ts"
101905
- }
101906
- },
101907
- {
101908
- "kind": "custom-element-definition",
101909
- "name": "pont-prim-tabs-content",
101910
- "declaration": {
101911
- "name": "TabsContent",
101912
- "module": "src/primitives/tabs/tabs.ts"
101913
- }
101914
- }
101915
- ]
101916
- },
101917
- {
101918
- "kind": "javascript-module",
101919
- "path": "src/primitives/textarea/textarea.ts",
101920
- "declarations": [
101921
- {
101922
- "kind": "function",
101923
- "name": "applyTextarea",
101924
- "return": {
101925
- "type": {
101926
- "text": "void"
101927
- }
101928
- },
101929
- "parameters": [
101930
- {
101931
- "name": "el",
101932
- "type": {
101933
- "text": "HTMLTextAreaElement"
101934
- }
101861
+ "readonly": true
101935
101862
  },
101936
101863
  {
101937
- "name": "slot",
101938
- "default": "\"textarea\""
101939
- }
101940
- ]
101941
- },
101942
- {
101943
- "kind": "function",
101944
- "name": "textarea",
101945
- "parameters": [
101864
+ "kind": "field",
101865
+ "name": "onClick",
101866
+ "privacy": "private"
101867
+ },
101946
101868
  {
101947
- "name": "o",
101948
- "default": "{}",
101949
- "type": {
101950
- "text": "TextareaOptions"
101951
- }
101952
- }
101953
- ]
101954
- },
101955
- {
101956
- "kind": "class",
101957
- "description": "",
101958
- "name": "PontTextarea",
101959
- "members": [
101869
+ "kind": "field",
101870
+ "name": "onKeyDown",
101871
+ "privacy": "private"
101872
+ },
101960
101873
  {
101961
101874
  "kind": "field",
101962
- "name": "nativeSelector",
101875
+ "name": "composite",
101963
101876
  "type": {
101964
- "text": "string"
101877
+ "text": "boolean"
101965
101878
  },
101966
101879
  "static": true,
101967
- "default": "\"textarea\"",
101968
- "description": "Selector for the native child this enhancer applies its recipe to.",
101880
+ "default": "false",
101881
+ "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.",
101969
101882
  "inheritedFrom": {
101970
- "name": "NativeEnhancer",
101883
+ "name": "HostElement",
101971
101884
  "module": "src/core/host-element.ts"
101972
101885
  }
101973
101886
  },
101974
101887
  {
101975
101888
  "kind": "method",
101976
- "name": "apply",
101977
- "privacy": "protected",
101889
+ "name": "part",
101890
+ "static": true,
101978
101891
  "return": {
101979
101892
  "type": {
101980
- "text": "void"
101893
+ "text": "DirectiveResult"
101981
101894
  }
101982
101895
  },
101983
101896
  "parameters": [
101984
101897
  {
101985
- "name": "control",
101898
+ "name": "extra",
101899
+ "default": "{}",
101986
101900
  "type": {
101987
- "text": "HTMLTextAreaElement"
101901
+ "text": "AttrMap"
101988
101902
  }
101989
101903
  }
101990
101904
  ],
101991
- "description": "Apply the recipe (attributes / properties) to the native element.",
101992
- "inheritedFrom": {
101993
- "name": "NativeEnhancer",
101994
- "module": "src/core/host-element.ts"
101995
- }
101996
- },
101997
- {
101998
- "kind": "field",
101999
- "name": "_observer",
102000
- "type": {
102001
- "text": "MutationObserver | undefined"
102002
- },
102003
- "privacy": "private",
102004
- "inheritedFrom": {
102005
- "name": "NativeEnhancer",
102006
- "module": "src/core/host-element.ts"
102007
- }
102008
- },
102009
- {
102010
- "kind": "field",
102011
- "name": "_warned",
102012
- "type": {
102013
- "text": "boolean"
102014
- },
102015
- "privacy": "private",
102016
- "default": "false",
101905
+ "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.",
102017
101906
  "inheritedFrom": {
102018
- "name": "NativeEnhancer",
101907
+ "name": "HostElement",
102019
101908
  "module": "src/core/host-element.ts"
102020
101909
  }
102021
101910
  },
102022
101911
  {
102023
101912
  "kind": "field",
102024
- "name": "control",
101913
+ "name": "internals",
102025
101914
  "type": {
102026
- "text": "HTMLElement | null"
101915
+ "text": "ElementInternals"
102027
101916
  },
102028
- "description": "The single native element this shell stands for.",
101917
+ "privacy": "protected",
102029
101918
  "readonly": true,
102030
101919
  "inheritedFrom": {
102031
- "name": "ShellElement",
101920
+ "name": "HostElement",
102032
101921
  "module": "src/core/host-element.ts"
102033
101922
  }
102034
101923
  },
102035
101924
  {
102036
- "kind": "field",
102037
- "name": "identity",
102038
- "type": {
102039
- "text": "string | undefined"
101925
+ "kind": "method",
101926
+ "name": "setData",
101927
+ "privacy": "protected",
101928
+ "return": {
101929
+ "type": {
101930
+ "text": "void"
101931
+ }
102040
101932
  },
102041
- "static": true,
102042
- "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
102043
- "default": "\"shell\"",
101933
+ "parameters": [
101934
+ {
101935
+ "name": "name",
101936
+ "type": {
101937
+ "text": "string"
101938
+ }
101939
+ },
101940
+ {
101941
+ "name": "value",
101942
+ "type": {
101943
+ "text": "string | boolean | null | undefined"
101944
+ }
101945
+ }
101946
+ ],
101947
+ "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.",
102044
101948
  "inheritedFrom": {
102045
101949
  "name": "HostElement",
102046
101950
  "module": "src/core/host-element.ts"
@@ -102048,7 +101952,8 @@
102048
101952
  },
102049
101953
  {
102050
101954
  "kind": "method",
102051
- "name": "focus",
101955
+ "name": "setState",
101956
+ "privacy": "protected",
102052
101957
  "return": {
102053
101958
  "type": {
102054
101959
  "text": "void"
@@ -102056,28 +101961,68 @@
102056
101961
  },
102057
101962
  "parameters": [
102058
101963
  {
102059
- "name": "options",
102060
- "optional": true,
101964
+ "name": "name",
102061
101965
  "type": {
102062
- "text": "FocusOptions"
101966
+ "text": "string"
101967
+ }
101968
+ },
101969
+ {
101970
+ "name": "on",
101971
+ "type": {
101972
+ "text": "boolean"
102063
101973
  }
102064
101974
  }
102065
101975
  ],
101976
+ "description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
102066
101977
  "inheritedFrom": {
102067
- "name": "ShellElement",
101978
+ "name": "HostElement",
102068
101979
  "module": "src/core/host-element.ts"
102069
101980
  }
101981
+ }
101982
+ ],
101983
+ "attributes": [
101984
+ {
101985
+ "description": "Identifies the tab and its panel.",
101986
+ "name": "value",
101987
+ "type": {
101988
+ "text": "string"
101989
+ },
101990
+ "default": "\"\"",
101991
+ "fieldName": "value"
102070
101992
  },
102071
101993
  {
102072
- "kind": "method",
102073
- "name": "blur",
102074
- "return": {
102075
- "type": {
102076
- "text": "void"
102077
- }
101994
+ "name": "disabled",
101995
+ "type": {
101996
+ "text": "boolean"
101997
+ },
101998
+ "default": "false",
101999
+ "fieldName": "disabled"
102000
+ }
102001
+ ],
102002
+ "superclass": {
102003
+ "name": "HostElement",
102004
+ "module": "/src/core/host-element"
102005
+ },
102006
+ "tagName": "pont-prim-tabs-trigger",
102007
+ "customElement": true,
102008
+ "pontLayer": "primitive"
102009
+ },
102010
+ {
102011
+ "kind": "class",
102012
+ "description": "",
102013
+ "name": "TabsContent",
102014
+ "members": [
102015
+ {
102016
+ "kind": "field",
102017
+ "name": "identity",
102018
+ "type": {
102019
+ "text": "string | undefined"
102078
102020
  },
102021
+ "static": true,
102022
+ "description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
102023
+ "default": "\"tabs-content\"",
102079
102024
  "inheritedFrom": {
102080
- "name": "ShellElement",
102025
+ "name": "HostElement",
102081
102026
  "module": "src/core/host-element.ts"
102082
102027
  }
102083
102028
  },
@@ -102089,6 +102034,7 @@
102089
102034
  },
102090
102035
  "static": true,
102091
102036
  "description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
102037
+ "default": "\"tabs-content\"",
102092
102038
  "inheritedFrom": {
102093
102039
  "name": "HostElement",
102094
102040
  "module": "src/core/host-element.ts"
@@ -102102,11 +102048,22 @@
102102
102048
  },
102103
102049
  "static": true,
102104
102050
  "description": "Default ARIA role, set through ElementInternals (author attribute wins).",
102051
+ "default": "\"tabpanel\"",
102105
102052
  "inheritedFrom": {
102106
102053
  "name": "HostElement",
102107
102054
  "module": "src/core/host-element.ts"
102108
102055
  }
102109
102056
  },
102057
+ {
102058
+ "kind": "field",
102059
+ "name": "value",
102060
+ "privacy": "public",
102061
+ "type": {
102062
+ "text": "string"
102063
+ },
102064
+ "default": "\"\"",
102065
+ "attribute": "value"
102066
+ },
102110
102067
  {
102111
102068
  "kind": "field",
102112
102069
  "name": "composite",
@@ -102217,11 +102174,22 @@
102217
102174
  }
102218
102175
  }
102219
102176
  ],
102177
+ "attributes": [
102178
+ {
102179
+ "description": "The trigger value this panel belongs to.",
102180
+ "name": "value",
102181
+ "type": {
102182
+ "text": "string"
102183
+ },
102184
+ "default": "\"\"",
102185
+ "fieldName": "value"
102186
+ }
102187
+ ],
102220
102188
  "superclass": {
102221
- "name": "NativeEnhancer",
102189
+ "name": "HostElement",
102222
102190
  "module": "/src/core/host-element"
102223
102191
  },
102224
- "tagName": "pont-prim-textarea",
102192
+ "tagName": "pont-prim-tabs-content",
102225
102193
  "customElement": true,
102226
102194
  "pontLayer": "primitive"
102227
102195
  }
@@ -102229,34 +102197,66 @@
102229
102197
  "exports": [
102230
102198
  {
102231
102199
  "kind": "js",
102232
- "name": "applyTextarea",
102200
+ "name": "Tabs",
102233
102201
  "declaration": {
102234
- "name": "applyTextarea",
102235
- "module": "src/primitives/textarea/textarea.ts"
102202
+ "name": "Tabs",
102203
+ "module": "src/primitives/tabs/tabs.ts"
102236
102204
  }
102237
102205
  },
102238
102206
  {
102239
102207
  "kind": "js",
102240
- "name": "textarea",
102208
+ "name": "TabsList",
102241
102209
  "declaration": {
102242
- "name": "textarea",
102243
- "module": "src/primitives/textarea/textarea.ts"
102210
+ "name": "TabsList",
102211
+ "module": "src/primitives/tabs/tabs.ts"
102244
102212
  }
102245
102213
  },
102246
102214
  {
102247
102215
  "kind": "js",
102248
- "name": "PontTextarea",
102216
+ "name": "TabsTrigger",
102249
102217
  "declaration": {
102250
- "name": "PontTextarea",
102251
- "module": "src/primitives/textarea/textarea.ts"
102218
+ "name": "TabsTrigger",
102219
+ "module": "src/primitives/tabs/tabs.ts"
102220
+ }
102221
+ },
102222
+ {
102223
+ "kind": "js",
102224
+ "name": "TabsContent",
102225
+ "declaration": {
102226
+ "name": "TabsContent",
102227
+ "module": "src/primitives/tabs/tabs.ts"
102252
102228
  }
102253
102229
  },
102254
102230
  {
102255
102231
  "kind": "custom-element-definition",
102256
- "name": "pont-prim-textarea",
102232
+ "name": "pont-prim-tabs",
102257
102233
  "declaration": {
102258
- "name": "PontTextarea",
102259
- "module": "src/primitives/textarea/textarea.ts"
102234
+ "name": "Tabs",
102235
+ "module": "src/primitives/tabs/tabs.ts"
102236
+ }
102237
+ },
102238
+ {
102239
+ "kind": "custom-element-definition",
102240
+ "name": "pont-prim-tabs-list",
102241
+ "declaration": {
102242
+ "name": "TabsList",
102243
+ "module": "src/primitives/tabs/tabs.ts"
102244
+ }
102245
+ },
102246
+ {
102247
+ "kind": "custom-element-definition",
102248
+ "name": "pont-prim-tabs-trigger",
102249
+ "declaration": {
102250
+ "name": "TabsTrigger",
102251
+ "module": "src/primitives/tabs/tabs.ts"
102252
+ }
102253
+ },
102254
+ {
102255
+ "kind": "custom-element-definition",
102256
+ "name": "pont-prim-tabs-content",
102257
+ "declaration": {
102258
+ "name": "TabsContent",
102259
+ "module": "src/primitives/tabs/tabs.ts"
102260
102260
  }
102261
102261
  }
102262
102262
  ]