@pontive/pontkit-core 3.1.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog.json +1 -1
- package/dist/custom-elements.json +544 -544
- package/dist/globals.css +3 -3
- package/dist/styles.css +897 -573
- package/dist/theme/fonts.d.ts +4 -2
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/scopes.d.ts +8 -0
- package/dist/theme/types.d.ts +11 -2
- package/dist/theme-golden.json +221 -73
- package/dist/theme.mjs +295 -212
- package/dist/theme.mjs.map +1 -1
- package/dist/tokens.json +1314 -732
- package/package.json +1 -1
|
@@ -100866,353 +100866,6 @@
|
|
|
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
|
-
},
|
|
101216
100869
|
{
|
|
101217
100870
|
"kind": "javascript-module",
|
|
101218
100871
|
"path": "src/primitives/tabs/tabs.ts",
|
|
@@ -101749,45 +101402,268 @@
|
|
|
101749
101402
|
],
|
|
101750
101403
|
"attributes": [
|
|
101751
101404
|
{
|
|
101752
|
-
"description": "default | line",
|
|
101753
|
-
"name": "variant",
|
|
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"
|
|
101525
|
+
},
|
|
101526
|
+
{
|
|
101527
|
+
"kind": "field",
|
|
101528
|
+
"name": "composite",
|
|
101529
|
+
"type": {
|
|
101530
|
+
"text": "boolean"
|
|
101531
|
+
},
|
|
101532
|
+
"static": true,
|
|
101533
|
+
"default": "false",
|
|
101534
|
+
"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.",
|
|
101535
|
+
"inheritedFrom": {
|
|
101536
|
+
"name": "HostElement",
|
|
101537
|
+
"module": "src/core/host-element.ts"
|
|
101538
|
+
}
|
|
101539
|
+
},
|
|
101540
|
+
{
|
|
101541
|
+
"kind": "method",
|
|
101542
|
+
"name": "part",
|
|
101543
|
+
"static": true,
|
|
101544
|
+
"return": {
|
|
101545
|
+
"type": {
|
|
101546
|
+
"text": "DirectiveResult"
|
|
101547
|
+
}
|
|
101548
|
+
},
|
|
101549
|
+
"parameters": [
|
|
101550
|
+
{
|
|
101551
|
+
"name": "extra",
|
|
101552
|
+
"default": "{}",
|
|
101553
|
+
"type": {
|
|
101554
|
+
"text": "AttrMap"
|
|
101555
|
+
}
|
|
101556
|
+
}
|
|
101557
|
+
],
|
|
101558
|
+
"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.",
|
|
101559
|
+
"inheritedFrom": {
|
|
101560
|
+
"name": "HostElement",
|
|
101561
|
+
"module": "src/core/host-element.ts"
|
|
101562
|
+
}
|
|
101563
|
+
},
|
|
101564
|
+
{
|
|
101565
|
+
"kind": "field",
|
|
101566
|
+
"name": "internals",
|
|
101567
|
+
"type": {
|
|
101568
|
+
"text": "ElementInternals"
|
|
101569
|
+
},
|
|
101570
|
+
"privacy": "protected",
|
|
101571
|
+
"readonly": true,
|
|
101572
|
+
"inheritedFrom": {
|
|
101573
|
+
"name": "HostElement",
|
|
101574
|
+
"module": "src/core/host-element.ts"
|
|
101575
|
+
}
|
|
101576
|
+
},
|
|
101577
|
+
{
|
|
101578
|
+
"kind": "method",
|
|
101579
|
+
"name": "setData",
|
|
101580
|
+
"privacy": "protected",
|
|
101581
|
+
"return": {
|
|
101582
|
+
"type": {
|
|
101583
|
+
"text": "void"
|
|
101584
|
+
}
|
|
101585
|
+
},
|
|
101586
|
+
"parameters": [
|
|
101587
|
+
{
|
|
101588
|
+
"name": "name",
|
|
101589
|
+
"type": {
|
|
101590
|
+
"text": "string"
|
|
101591
|
+
}
|
|
101592
|
+
},
|
|
101593
|
+
{
|
|
101594
|
+
"name": "value",
|
|
101595
|
+
"type": {
|
|
101596
|
+
"text": "string | boolean | null | undefined"
|
|
101597
|
+
}
|
|
101598
|
+
}
|
|
101599
|
+
],
|
|
101600
|
+
"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.",
|
|
101601
|
+
"inheritedFrom": {
|
|
101602
|
+
"name": "HostElement",
|
|
101603
|
+
"module": "src/core/host-element.ts"
|
|
101604
|
+
}
|
|
101605
|
+
},
|
|
101606
|
+
{
|
|
101607
|
+
"kind": "method",
|
|
101608
|
+
"name": "setState",
|
|
101609
|
+
"privacy": "protected",
|
|
101610
|
+
"return": {
|
|
101611
|
+
"type": {
|
|
101612
|
+
"text": "void"
|
|
101613
|
+
}
|
|
101614
|
+
},
|
|
101615
|
+
"parameters": [
|
|
101616
|
+
{
|
|
101617
|
+
"name": "name",
|
|
101618
|
+
"type": {
|
|
101619
|
+
"text": "string"
|
|
101620
|
+
}
|
|
101621
|
+
},
|
|
101622
|
+
{
|
|
101623
|
+
"name": "on",
|
|
101624
|
+
"type": {
|
|
101625
|
+
"text": "boolean"
|
|
101626
|
+
}
|
|
101627
|
+
}
|
|
101628
|
+
],
|
|
101629
|
+
"description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
|
|
101630
|
+
"inheritedFrom": {
|
|
101631
|
+
"name": "HostElement",
|
|
101632
|
+
"module": "src/core/host-element.ts"
|
|
101633
|
+
}
|
|
101634
|
+
}
|
|
101635
|
+
],
|
|
101636
|
+
"attributes": [
|
|
101637
|
+
{
|
|
101638
|
+
"description": "Identifies the tab and its panel.",
|
|
101639
|
+
"name": "value",
|
|
101754
101640
|
"type": {
|
|
101755
|
-
"text": "
|
|
101641
|
+
"text": "string"
|
|
101756
101642
|
},
|
|
101757
|
-
"default": "\"
|
|
101758
|
-
"fieldName": "
|
|
101643
|
+
"default": "\"\"",
|
|
101644
|
+
"fieldName": "value"
|
|
101759
101645
|
},
|
|
101760
101646
|
{
|
|
101761
|
-
"
|
|
101762
|
-
"name": "activate-on-focus",
|
|
101647
|
+
"name": "disabled",
|
|
101763
101648
|
"type": {
|
|
101764
101649
|
"text": "boolean"
|
|
101765
101650
|
},
|
|
101766
101651
|
"default": "false",
|
|
101767
|
-
"fieldName": "
|
|
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"
|
|
101652
|
+
"fieldName": "disabled"
|
|
101777
101653
|
}
|
|
101778
101654
|
],
|
|
101779
101655
|
"superclass": {
|
|
101780
101656
|
"name": "HostElement",
|
|
101781
101657
|
"module": "/src/core/host-element"
|
|
101782
101658
|
},
|
|
101783
|
-
"tagName": "pont-prim-tabs-
|
|
101659
|
+
"tagName": "pont-prim-tabs-trigger",
|
|
101784
101660
|
"customElement": true,
|
|
101785
101661
|
"pontLayer": "primitive"
|
|
101786
101662
|
},
|
|
101787
101663
|
{
|
|
101788
101664
|
"kind": "class",
|
|
101789
101665
|
"description": "",
|
|
101790
|
-
"name": "
|
|
101666
|
+
"name": "TabsContent",
|
|
101791
101667
|
"members": [
|
|
101792
101668
|
{
|
|
101793
101669
|
"kind": "field",
|
|
@@ -101797,7 +101673,7 @@
|
|
|
101797
101673
|
},
|
|
101798
101674
|
"static": true,
|
|
101799
101675
|
"description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
|
|
101800
|
-
"default": "\"tabs-
|
|
101676
|
+
"default": "\"tabs-content\"",
|
|
101801
101677
|
"inheritedFrom": {
|
|
101802
101678
|
"name": "HostElement",
|
|
101803
101679
|
"module": "src/core/host-element.ts"
|
|
@@ -101811,7 +101687,7 @@
|
|
|
101811
101687
|
},
|
|
101812
101688
|
"static": true,
|
|
101813
101689
|
"description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
|
|
101814
|
-
"default": "\"tabs-
|
|
101690
|
+
"default": "\"tabs-content\"",
|
|
101815
101691
|
"inheritedFrom": {
|
|
101816
101692
|
"name": "HostElement",
|
|
101817
101693
|
"module": "src/core/host-element.ts"
|
|
@@ -101825,7 +101701,7 @@
|
|
|
101825
101701
|
},
|
|
101826
101702
|
"static": true,
|
|
101827
101703
|
"description": "Default ARIA role, set through ElementInternals (author attribute wins).",
|
|
101828
|
-
"default": "\"
|
|
101704
|
+
"default": "\"tabpanel\"",
|
|
101829
101705
|
"inheritedFrom": {
|
|
101830
101706
|
"name": "HostElement",
|
|
101831
101707
|
"module": "src/core/host-element.ts"
|
|
@@ -101843,108 +101719,328 @@
|
|
|
101843
101719
|
},
|
|
101844
101720
|
{
|
|
101845
101721
|
"kind": "field",
|
|
101846
|
-
"name": "
|
|
101847
|
-
"privacy": "public",
|
|
101722
|
+
"name": "composite",
|
|
101848
101723
|
"type": {
|
|
101849
101724
|
"text": "boolean"
|
|
101850
101725
|
},
|
|
101726
|
+
"static": true,
|
|
101851
101727
|
"default": "false",
|
|
101852
|
-
"
|
|
101853
|
-
"
|
|
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
|
+
}
|
|
101854
101757
|
},
|
|
101855
101758
|
{
|
|
101856
101759
|
"kind": "field",
|
|
101857
|
-
"name": "
|
|
101760
|
+
"name": "internals",
|
|
101858
101761
|
"type": {
|
|
101859
|
-
"text": "
|
|
101762
|
+
"text": "ElementInternals"
|
|
101860
101763
|
},
|
|
101861
|
-
"
|
|
101764
|
+
"privacy": "protected",
|
|
101765
|
+
"readonly": true,
|
|
101766
|
+
"inheritedFrom": {
|
|
101767
|
+
"name": "HostElement",
|
|
101768
|
+
"module": "src/core/host-element.ts"
|
|
101769
|
+
}
|
|
101862
101770
|
},
|
|
101863
101771
|
{
|
|
101864
|
-
"kind": "
|
|
101865
|
-
"name": "
|
|
101866
|
-
"privacy": "
|
|
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",
|
|
101834
|
+
"type": {
|
|
101835
|
+
"text": "string"
|
|
101836
|
+
},
|
|
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
|
+
}
|
|
101867
101935
|
},
|
|
101868
101936
|
{
|
|
101869
|
-
"
|
|
101870
|
-
"
|
|
101871
|
-
|
|
101872
|
-
|
|
101937
|
+
"name": "slot",
|
|
101938
|
+
"default": "\"textarea\""
|
|
101939
|
+
}
|
|
101940
|
+
]
|
|
101941
|
+
},
|
|
101942
|
+
{
|
|
101943
|
+
"kind": "function",
|
|
101944
|
+
"name": "textarea",
|
|
101945
|
+
"parameters": [
|
|
101946
|
+
{
|
|
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": [
|
|
101873
101960
|
{
|
|
101874
101961
|
"kind": "field",
|
|
101875
|
-
"name": "
|
|
101962
|
+
"name": "nativeSelector",
|
|
101876
101963
|
"type": {
|
|
101877
|
-
"text": "
|
|
101964
|
+
"text": "string"
|
|
101878
101965
|
},
|
|
101879
101966
|
"static": true,
|
|
101880
|
-
"default": "
|
|
101881
|
-
"description": "
|
|
101967
|
+
"default": "\"textarea\"",
|
|
101968
|
+
"description": "Selector for the native child this enhancer applies its recipe to.",
|
|
101882
101969
|
"inheritedFrom": {
|
|
101883
|
-
"name": "
|
|
101970
|
+
"name": "NativeEnhancer",
|
|
101884
101971
|
"module": "src/core/host-element.ts"
|
|
101885
101972
|
}
|
|
101886
101973
|
},
|
|
101887
101974
|
{
|
|
101888
101975
|
"kind": "method",
|
|
101889
|
-
"name": "
|
|
101890
|
-
"
|
|
101976
|
+
"name": "apply",
|
|
101977
|
+
"privacy": "protected",
|
|
101891
101978
|
"return": {
|
|
101892
101979
|
"type": {
|
|
101893
|
-
"text": "
|
|
101980
|
+
"text": "void"
|
|
101894
101981
|
}
|
|
101895
101982
|
},
|
|
101896
101983
|
"parameters": [
|
|
101897
101984
|
{
|
|
101898
|
-
"name": "
|
|
101899
|
-
"default": "{}",
|
|
101985
|
+
"name": "control",
|
|
101900
101986
|
"type": {
|
|
101901
|
-
"text": "
|
|
101987
|
+
"text": "HTMLTextAreaElement"
|
|
101902
101988
|
}
|
|
101903
101989
|
}
|
|
101904
101990
|
],
|
|
101905
|
-
"description": "
|
|
101991
|
+
"description": "Apply the recipe (attributes / properties) to the native element.",
|
|
101906
101992
|
"inheritedFrom": {
|
|
101907
|
-
"name": "
|
|
101993
|
+
"name": "NativeEnhancer",
|
|
101908
101994
|
"module": "src/core/host-element.ts"
|
|
101909
101995
|
}
|
|
101910
101996
|
},
|
|
101911
101997
|
{
|
|
101912
101998
|
"kind": "field",
|
|
101913
|
-
"name": "
|
|
101999
|
+
"name": "_observer",
|
|
101914
102000
|
"type": {
|
|
101915
|
-
"text": "
|
|
102001
|
+
"text": "MutationObserver | undefined"
|
|
101916
102002
|
},
|
|
101917
|
-
"privacy": "
|
|
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",
|
|
102017
|
+
"inheritedFrom": {
|
|
102018
|
+
"name": "NativeEnhancer",
|
|
102019
|
+
"module": "src/core/host-element.ts"
|
|
102020
|
+
}
|
|
102021
|
+
},
|
|
102022
|
+
{
|
|
102023
|
+
"kind": "field",
|
|
102024
|
+
"name": "control",
|
|
102025
|
+
"type": {
|
|
102026
|
+
"text": "HTMLElement | null"
|
|
102027
|
+
},
|
|
102028
|
+
"description": "The single native element this shell stands for.",
|
|
101918
102029
|
"readonly": true,
|
|
101919
102030
|
"inheritedFrom": {
|
|
101920
|
-
"name": "
|
|
102031
|
+
"name": "ShellElement",
|
|
101921
102032
|
"module": "src/core/host-element.ts"
|
|
101922
102033
|
}
|
|
101923
102034
|
},
|
|
101924
102035
|
{
|
|
101925
|
-
"kind": "
|
|
101926
|
-
"name": "
|
|
101927
|
-
"
|
|
101928
|
-
|
|
101929
|
-
"type": {
|
|
101930
|
-
"text": "void"
|
|
101931
|
-
}
|
|
102036
|
+
"kind": "field",
|
|
102037
|
+
"name": "identity",
|
|
102038
|
+
"type": {
|
|
102039
|
+
"text": "string | undefined"
|
|
101932
102040
|
},
|
|
101933
|
-
"
|
|
101934
|
-
|
|
101935
|
-
|
|
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.",
|
|
102041
|
+
"static": true,
|
|
102042
|
+
"description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
|
|
102043
|
+
"default": "\"shell\"",
|
|
101948
102044
|
"inheritedFrom": {
|
|
101949
102045
|
"name": "HostElement",
|
|
101950
102046
|
"module": "src/core/host-element.ts"
|
|
@@ -101952,8 +102048,7 @@
|
|
|
101952
102048
|
},
|
|
101953
102049
|
{
|
|
101954
102050
|
"kind": "method",
|
|
101955
|
-
"name": "
|
|
101956
|
-
"privacy": "protected",
|
|
102051
|
+
"name": "focus",
|
|
101957
102052
|
"return": {
|
|
101958
102053
|
"type": {
|
|
101959
102054
|
"text": "void"
|
|
@@ -101961,68 +102056,28 @@
|
|
|
101961
102056
|
},
|
|
101962
102057
|
"parameters": [
|
|
101963
102058
|
{
|
|
101964
|
-
"name": "
|
|
101965
|
-
"
|
|
101966
|
-
"text": "string"
|
|
101967
|
-
}
|
|
101968
|
-
},
|
|
101969
|
-
{
|
|
101970
|
-
"name": "on",
|
|
102059
|
+
"name": "options",
|
|
102060
|
+
"optional": true,
|
|
101971
102061
|
"type": {
|
|
101972
|
-
"text": "
|
|
102062
|
+
"text": "FocusOptions"
|
|
101973
102063
|
}
|
|
101974
102064
|
}
|
|
101975
102065
|
],
|
|
101976
|
-
"description": "Adds or removes a custom state, matchable in CSS as `:state(<name>)`.",
|
|
101977
102066
|
"inheritedFrom": {
|
|
101978
|
-
"name": "
|
|
102067
|
+
"name": "ShellElement",
|
|
101979
102068
|
"module": "src/core/host-element.ts"
|
|
101980
102069
|
}
|
|
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"
|
|
101992
102070
|
},
|
|
101993
102071
|
{
|
|
101994
|
-
"
|
|
101995
|
-
"
|
|
101996
|
-
|
|
101997
|
-
|
|
101998
|
-
|
|
101999
|
-
|
|
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"
|
|
102072
|
+
"kind": "method",
|
|
102073
|
+
"name": "blur",
|
|
102074
|
+
"return": {
|
|
102075
|
+
"type": {
|
|
102076
|
+
"text": "void"
|
|
102077
|
+
}
|
|
102020
102078
|
},
|
|
102021
|
-
"static": true,
|
|
102022
|
-
"description": "Style identity → `data-pont-<identity>`. Inherited along the class chain.",
|
|
102023
|
-
"default": "\"tabs-content\"",
|
|
102024
102079
|
"inheritedFrom": {
|
|
102025
|
-
"name": "
|
|
102080
|
+
"name": "ShellElement",
|
|
102026
102081
|
"module": "src/core/host-element.ts"
|
|
102027
102082
|
}
|
|
102028
102083
|
},
|
|
@@ -102034,7 +102089,6 @@
|
|
|
102034
102089
|
},
|
|
102035
102090
|
"static": true,
|
|
102036
102091
|
"description": "shadcn `data-slot` value. Most-derived wins; never overrides the author.",
|
|
102037
|
-
"default": "\"tabs-content\"",
|
|
102038
102092
|
"inheritedFrom": {
|
|
102039
102093
|
"name": "HostElement",
|
|
102040
102094
|
"module": "src/core/host-element.ts"
|
|
@@ -102048,22 +102102,11 @@
|
|
|
102048
102102
|
},
|
|
102049
102103
|
"static": true,
|
|
102050
102104
|
"description": "Default ARIA role, set through ElementInternals (author attribute wins).",
|
|
102051
|
-
"default": "\"tabpanel\"",
|
|
102052
102105
|
"inheritedFrom": {
|
|
102053
102106
|
"name": "HostElement",
|
|
102054
102107
|
"module": "src/core/host-element.ts"
|
|
102055
102108
|
}
|
|
102056
102109
|
},
|
|
102057
|
-
{
|
|
102058
|
-
"kind": "field",
|
|
102059
|
-
"name": "value",
|
|
102060
|
-
"privacy": "public",
|
|
102061
|
-
"type": {
|
|
102062
|
-
"text": "string"
|
|
102063
|
-
},
|
|
102064
|
-
"default": "\"\"",
|
|
102065
|
-
"attribute": "value"
|
|
102066
|
-
},
|
|
102067
102110
|
{
|
|
102068
102111
|
"kind": "field",
|
|
102069
102112
|
"name": "composite",
|
|
@@ -102174,22 +102217,11 @@
|
|
|
102174
102217
|
}
|
|
102175
102218
|
}
|
|
102176
102219
|
],
|
|
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
|
-
],
|
|
102188
102220
|
"superclass": {
|
|
102189
|
-
"name": "
|
|
102221
|
+
"name": "NativeEnhancer",
|
|
102190
102222
|
"module": "/src/core/host-element"
|
|
102191
102223
|
},
|
|
102192
|
-
"tagName": "pont-prim-
|
|
102224
|
+
"tagName": "pont-prim-textarea",
|
|
102193
102225
|
"customElement": true,
|
|
102194
102226
|
"pontLayer": "primitive"
|
|
102195
102227
|
}
|
|
@@ -102197,66 +102229,34 @@
|
|
|
102197
102229
|
"exports": [
|
|
102198
102230
|
{
|
|
102199
102231
|
"kind": "js",
|
|
102200
|
-
"name": "
|
|
102201
|
-
"declaration": {
|
|
102202
|
-
"name": "Tabs",
|
|
102203
|
-
"module": "src/primitives/tabs/tabs.ts"
|
|
102204
|
-
}
|
|
102205
|
-
},
|
|
102206
|
-
{
|
|
102207
|
-
"kind": "js",
|
|
102208
|
-
"name": "TabsList",
|
|
102232
|
+
"name": "applyTextarea",
|
|
102209
102233
|
"declaration": {
|
|
102210
|
-
"name": "
|
|
102211
|
-
"module": "src/primitives/
|
|
102234
|
+
"name": "applyTextarea",
|
|
102235
|
+
"module": "src/primitives/textarea/textarea.ts"
|
|
102212
102236
|
}
|
|
102213
102237
|
},
|
|
102214
102238
|
{
|
|
102215
102239
|
"kind": "js",
|
|
102216
|
-
"name": "
|
|
102240
|
+
"name": "textarea",
|
|
102217
102241
|
"declaration": {
|
|
102218
|
-
"name": "
|
|
102219
|
-
"module": "src/primitives/
|
|
102242
|
+
"name": "textarea",
|
|
102243
|
+
"module": "src/primitives/textarea/textarea.ts"
|
|
102220
102244
|
}
|
|
102221
102245
|
},
|
|
102222
102246
|
{
|
|
102223
102247
|
"kind": "js",
|
|
102224
|
-
"name": "
|
|
102225
|
-
"declaration": {
|
|
102226
|
-
"name": "TabsContent",
|
|
102227
|
-
"module": "src/primitives/tabs/tabs.ts"
|
|
102228
|
-
}
|
|
102229
|
-
},
|
|
102230
|
-
{
|
|
102231
|
-
"kind": "custom-element-definition",
|
|
102232
|
-
"name": "pont-prim-tabs",
|
|
102233
|
-
"declaration": {
|
|
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",
|
|
102248
|
+
"name": "PontTextarea",
|
|
102249
102249
|
"declaration": {
|
|
102250
|
-
"name": "
|
|
102251
|
-
"module": "src/primitives/
|
|
102250
|
+
"name": "PontTextarea",
|
|
102251
|
+
"module": "src/primitives/textarea/textarea.ts"
|
|
102252
102252
|
}
|
|
102253
102253
|
},
|
|
102254
102254
|
{
|
|
102255
102255
|
"kind": "custom-element-definition",
|
|
102256
|
-
"name": "pont-prim-
|
|
102256
|
+
"name": "pont-prim-textarea",
|
|
102257
102257
|
"declaration": {
|
|
102258
|
-
"name": "
|
|
102259
|
-
"module": "src/primitives/
|
|
102258
|
+
"name": "PontTextarea",
|
|
102259
|
+
"module": "src/primitives/textarea/textarea.ts"
|
|
102260
102260
|
}
|
|
102261
102261
|
}
|
|
102262
102262
|
]
|