kanto-ds 1.2.0 → 1.4.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.
Files changed (116) hide show
  1. package/README.md +24 -6
  2. package/dist/chunks/{defaults-DKzFsNbv.js → defaults-BwgjMcww.js} +27 -26
  3. package/dist/chunks/{defaults-DKzFsNbv.js.map → defaults-BwgjMcww.js.map} +1 -1
  4. package/dist/chunks/index-DSSLJirw.js +79 -0
  5. package/dist/chunks/index-DSSLJirw.js.map +1 -0
  6. package/dist/chunks/kt-element-E-tfJpGQ.js +52 -0
  7. package/dist/chunks/kt-element-E-tfJpGQ.js.map +1 -0
  8. package/dist/components/core/kt-avatar/kt-avatar.js +8 -7
  9. package/dist/components/core/kt-avatar/kt-avatar.js.map +1 -1
  10. package/dist/components/core/kt-badge/kt-badge.js +7 -6
  11. package/dist/components/core/kt-badge/kt-badge.js.map +1 -1
  12. package/dist/components/core/kt-button/kt-button.js +1 -1
  13. package/dist/components/core/kt-card/kt-card.js +1 -1
  14. package/dist/components/core/kt-code/kt-code.js +31 -30
  15. package/dist/components/core/kt-code/kt-code.js.map +1 -1
  16. package/dist/components/core/kt-icon/kt-icon.js +2 -2
  17. package/dist/components/core/kt-kbd/kt-kbd.js +1 -1
  18. package/dist/components/core/kt-split-button/kt-split-button.d.ts +2 -2
  19. package/dist/components/core/kt-split-button/kt-split-button.js +27 -26
  20. package/dist/components/core/kt-split-button/kt-split-button.js.map +1 -1
  21. package/dist/components/data/kt-chart/kt-chart.d.ts +2 -2
  22. package/dist/components/data/kt-chart/kt-chart.js +222 -221
  23. package/dist/components/data/kt-chart/kt-chart.js.map +1 -1
  24. package/dist/components/data/kt-meter/kt-meter.js +1 -1
  25. package/dist/components/data/kt-pagination/kt-pagination.d.ts +1 -1
  26. package/dist/components/data/kt-pagination/kt-pagination.js +29 -28
  27. package/dist/components/data/kt-pagination/kt-pagination.js.map +1 -1
  28. package/dist/components/data/kt-stat/kt-stat.js +1 -1
  29. package/dist/components/data/kt-table/kt-table.d.ts +2 -2
  30. package/dist/components/data/kt-table/kt-table.js +30 -29
  31. package/dist/components/data/kt-table/kt-table.js.map +1 -1
  32. package/dist/components/data/kt-timeline/kt-timeline.js +1 -1
  33. package/dist/components/feedback/kt-alert/kt-alert.js +17 -16
  34. package/dist/components/feedback/kt-alert/kt-alert.js.map +1 -1
  35. package/dist/components/feedback/kt-empty-state/kt-empty-state.js +1 -1
  36. package/dist/components/feedback/kt-progress-bar/kt-progress-bar.js +1 -1
  37. package/dist/components/feedback/kt-skeleton/kt-skeleton.js +1 -1
  38. package/dist/components/feedback/kt-toast/kt-toast.js +25 -19
  39. package/dist/components/feedback/kt-toast/kt-toast.js.map +1 -1
  40. package/dist/components/feedback/kt-toast-container/kt-toast-container.js +1 -1
  41. package/dist/components/feedback/kt-tooltip/kt-tooltip.js +1 -1
  42. package/dist/components/forms/kt-checkbox/kt-checkbox.d.ts +66 -0
  43. package/dist/components/forms/kt-checkbox/kt-checkbox.js +198 -0
  44. package/dist/components/forms/kt-checkbox/kt-checkbox.js.map +1 -0
  45. package/dist/components/forms/kt-drag-drop/kt-drag-drop.d.ts +2 -2
  46. package/dist/components/forms/kt-drag-drop/kt-drag-drop.js +60 -57
  47. package/dist/components/forms/kt-drag-drop/kt-drag-drop.js.map +1 -1
  48. package/dist/components/forms/kt-form/kt-form.js +11 -10
  49. package/dist/components/forms/kt-form/kt-form.js.map +1 -1
  50. package/dist/components/forms/kt-input/kt-input.js +56 -55
  51. package/dist/components/forms/kt-input/kt-input.js.map +1 -1
  52. package/dist/components/forms/kt-input-menu/kt-input-menu.d.ts +1 -1
  53. package/dist/components/forms/kt-input-menu/kt-input-menu.js +57 -56
  54. package/dist/components/forms/kt-input-menu/kt-input-menu.js.map +1 -1
  55. package/dist/components/forms/kt-label-input/kt-label-input.js +1 -1
  56. package/dist/components/forms/kt-radio-group/kt-radio-group.d.ts +103 -0
  57. package/dist/components/forms/kt-radio-group/kt-radio-group.js +265 -0
  58. package/dist/components/forms/kt-radio-group/kt-radio-group.js.map +1 -0
  59. package/dist/components/forms/kt-select/kt-select.d.ts +2 -2
  60. package/dist/components/forms/kt-select/kt-select.js +62 -61
  61. package/dist/components/forms/kt-select/kt-select.js.map +1 -1
  62. package/dist/components/forms/kt-textarea/kt-textarea.js +9 -8
  63. package/dist/components/forms/kt-textarea/kt-textarea.js.map +1 -1
  64. package/dist/components/forms/kt-toggle/kt-toggle.js +1 -1
  65. package/dist/components/navigation/kt-breadcrumb/kt-breadcrumb.d.ts +1 -1
  66. package/dist/components/navigation/kt-breadcrumb/kt-breadcrumb.js +6 -5
  67. package/dist/components/navigation/kt-breadcrumb/kt-breadcrumb.js.map +1 -1
  68. package/dist/components/navigation/kt-header/kt-header.js +11 -10
  69. package/dist/components/navigation/kt-header/kt-header.js.map +1 -1
  70. package/dist/components/navigation/kt-page-header/kt-page-header.js +1 -1
  71. package/dist/components/navigation/kt-segmented-control/kt-segmented-control.js +44 -43
  72. package/dist/components/navigation/kt-segmented-control/kt-segmented-control.js.map +1 -1
  73. package/dist/components/navigation/kt-sub-menu-navigation/kt-sub-menu-navigation.d.ts +1 -1
  74. package/dist/components/navigation/kt-sub-menu-navigation/kt-sub-menu-navigation.js +6 -5
  75. package/dist/components/navigation/kt-sub-menu-navigation/kt-sub-menu-navigation.js.map +1 -1
  76. package/dist/components/navigation/kt-tabs/kt-tabs.js +1 -1
  77. package/dist/components/navigation/kt-toggle-button/kt-toggle-button.js +1 -1
  78. package/dist/components/navigation/kt-toggle-button-group/kt-toggle-button-group.js +12 -6
  79. package/dist/components/navigation/kt-toggle-button-group/kt-toggle-button-group.js.map +1 -1
  80. package/dist/components/overlays/kt-collapsible/kt-collapsible.js +1 -1
  81. package/dist/components/overlays/kt-confirm-dialog/kt-confirm-dialog.d.ts +3 -3
  82. package/dist/components/overlays/kt-confirm-dialog/kt-confirm-dialog.js +30 -27
  83. package/dist/components/overlays/kt-confirm-dialog/kt-confirm-dialog.js.map +1 -1
  84. package/dist/components/overlays/kt-dropdown/kt-dropdown.d.ts +1 -1
  85. package/dist/components/overlays/kt-dropdown/kt-dropdown.js +8 -7
  86. package/dist/components/overlays/kt-dropdown/kt-dropdown.js.map +1 -1
  87. package/dist/components/overlays/kt-modal/kt-modal.js +5 -4
  88. package/dist/components/overlays/kt-modal/kt-modal.js.map +1 -1
  89. package/dist/components/overlays/kt-side-panel/kt-side-panel.d.ts +1 -1
  90. package/dist/components/overlays/kt-side-panel/kt-side-panel.js +24 -23
  91. package/dist/components/overlays/kt-side-panel/kt-side-panel.js.map +1 -1
  92. package/dist/custom-elements.json +1870 -1071
  93. package/dist/icons/defaults.d.ts +1 -0
  94. package/dist/icons/index.js +1 -1
  95. package/dist/index.d.ts +5 -0
  96. package/dist/index.js +93 -83
  97. package/dist/index.js.map +1 -1
  98. package/dist/internal/kt-element.d.ts +6 -1
  99. package/dist/internal/strings.d.ts +103 -0
  100. package/dist/react/index.d.ts +13 -0
  101. package/dist/react/index.js +176 -157
  102. package/dist/react/index.js.map +1 -1
  103. package/dist/react/jsx.d.ts +12 -1
  104. package/dist/strings/index.d.ts +11 -0
  105. package/dist/strings/index.js +8 -0
  106. package/dist/strings/index.js.map +1 -0
  107. package/dist/tokens/base.css +56 -0
  108. package/dist/vscode.css-custom-data.json +12 -0
  109. package/dist/vscode.html-custom-data.json +85 -0
  110. package/dist/vue/index.d.ts +6 -0
  111. package/dist/vue/index.js +9 -7
  112. package/dist/vue/index.js.map +1 -1
  113. package/dist/web-types.json +263 -39
  114. package/package.json +19 -3
  115. package/dist/chunks/kt-element-B_jjQDhg.js +0 -38
  116. package/dist/chunks/kt-element-B_jjQDhg.js.map +0 -1
@@ -1572,9 +1572,9 @@
1572
1572
  "kind": "field",
1573
1573
  "name": "menuLabel",
1574
1574
  "type": {
1575
- "text": "string"
1575
+ "text": "string | undefined"
1576
1576
  },
1577
- "default": "'More actions'",
1577
+ "default": "undefined",
1578
1578
  "description": "Accessible name of the caret, which has no text of its own.",
1579
1579
  "attribute": "menu-label"
1580
1580
  },
@@ -1592,9 +1592,9 @@
1592
1592
  "kind": "field",
1593
1593
  "name": "emptyText",
1594
1594
  "type": {
1595
- "text": "string"
1595
+ "text": "string | undefined"
1596
1596
  },
1597
- "default": "'No actions'",
1597
+ "default": "undefined",
1598
1598
  "attribute": "empty-text"
1599
1599
  },
1600
1600
  {
@@ -1842,9 +1842,9 @@
1842
1842
  {
1843
1843
  "name": "menu-label",
1844
1844
  "type": {
1845
- "text": "string"
1845
+ "text": "string | undefined"
1846
1846
  },
1847
- "default": "'More actions'",
1847
+ "default": "undefined",
1848
1848
  "description": "Accessible name of the caret, which has no text of its own.",
1849
1849
  "fieldName": "menuLabel"
1850
1850
  },
@@ -1860,9 +1860,9 @@
1860
1860
  {
1861
1861
  "name": "empty-text",
1862
1862
  "type": {
1863
- "text": "string"
1863
+ "text": "string | undefined"
1864
1864
  },
1865
- "default": "'No actions'",
1865
+ "default": "undefined",
1866
1866
  "fieldName": "emptyText"
1867
1867
  }
1868
1868
  ],
@@ -2579,9 +2579,9 @@
2579
2579
  "kind": "field",
2580
2580
  "name": "centerLabel",
2581
2581
  "type": {
2582
- "text": "string"
2582
+ "text": "string | undefined"
2583
2583
  },
2584
- "default": "'Total'",
2584
+ "default": "undefined",
2585
2585
  "description": "Names the total in the middle of a doughnut.",
2586
2586
  "attribute": "center-label"
2587
2587
  },
@@ -2589,9 +2589,9 @@
2589
2589
  "kind": "field",
2590
2590
  "name": "totalLabel",
2591
2591
  "type": {
2592
- "text": "string"
2592
+ "text": "string | undefined"
2593
2593
  },
2594
- "default": "'Total'",
2594
+ "default": "undefined",
2595
2595
  "description": "Names the sum in a stacked chart's tooltip and table.",
2596
2596
  "attribute": "total-label"
2597
2597
  },
@@ -2982,18 +2982,18 @@
2982
2982
  {
2983
2983
  "name": "center-label",
2984
2984
  "type": {
2985
- "text": "string"
2985
+ "text": "string | undefined"
2986
2986
  },
2987
- "default": "'Total'",
2987
+ "default": "undefined",
2988
2988
  "description": "Names the total in the middle of a doughnut.",
2989
2989
  "fieldName": "centerLabel"
2990
2990
  },
2991
2991
  {
2992
2992
  "name": "total-label",
2993
2993
  "type": {
2994
- "text": "string"
2994
+ "text": "string | undefined"
2995
2995
  },
2996
- "default": "'Total'",
2996
+ "default": "undefined",
2997
2997
  "description": "Names the sum in a stacked chart's tooltip and table.",
2998
2998
  "fieldName": "totalLabel"
2999
2999
  },
@@ -3889,9 +3889,9 @@
3889
3889
  "kind": "field",
3890
3890
  "name": "label",
3891
3891
  "type": {
3892
- "text": "string"
3892
+ "text": "string | undefined"
3893
3893
  },
3894
- "default": "'Pagination'",
3894
+ "default": "undefined",
3895
3895
  "attribute": "label"
3896
3896
  },
3897
3897
  {
@@ -3940,9 +3940,9 @@
3940
3940
  {
3941
3941
  "name": "label",
3942
3942
  "type": {
3943
- "text": "string"
3943
+ "text": "string | undefined"
3944
3944
  },
3945
- "default": "'Pagination'",
3945
+ "default": "undefined",
3946
3946
  "fieldName": "label"
3947
3947
  }
3948
3948
  ],
@@ -4327,18 +4327,18 @@
4327
4327
  "kind": "field",
4328
4328
  "name": "emptyText",
4329
4329
  "type": {
4330
- "text": "string"
4330
+ "text": "string | undefined"
4331
4331
  },
4332
- "default": "'No data to display'",
4332
+ "default": "undefined",
4333
4333
  "attribute": "empty-text"
4334
4334
  },
4335
4335
  {
4336
4336
  "kind": "field",
4337
4337
  "name": "loadingText",
4338
4338
  "type": {
4339
- "text": "string"
4339
+ "text": "string | undefined"
4340
4340
  },
4341
- "default": "'Loading…'",
4341
+ "default": "undefined",
4342
4342
  "attribute": "loading-text"
4343
4343
  },
4344
4344
  {
@@ -4597,17 +4597,17 @@
4597
4597
  {
4598
4598
  "name": "empty-text",
4599
4599
  "type": {
4600
- "text": "string"
4600
+ "text": "string | undefined"
4601
4601
  },
4602
- "default": "'No data to display'",
4602
+ "default": "undefined",
4603
4603
  "fieldName": "emptyText"
4604
4604
  },
4605
4605
  {
4606
4606
  "name": "loading-text",
4607
4607
  "type": {
4608
- "text": "string"
4608
+ "text": "string | undefined"
4609
4609
  },
4610
- "default": "'Loading…'",
4610
+ "default": "undefined",
4611
4611
  "fieldName": "loadingText"
4612
4612
  },
4613
4613
  {
@@ -6068,20 +6068,30 @@
6068
6068
  },
6069
6069
  {
6070
6070
  "kind": "javascript-module",
6071
- "path": "dist/components/forms/kt-drag-drop/kt-drag-drop.js",
6071
+ "path": "dist/components/forms/kt-checkbox/kt-checkbox.js",
6072
6072
  "declarations": [
6073
6073
  {
6074
6074
  "kind": "class",
6075
- "description": "A file drop zone.\n\nAccepts a drop or a click, lists what was picked with sizes and types, and\nlets each entry be removed. It holds the files in memory and reports them —\nuploading is the application's business.",
6076
- "name": "KtDragDrop",
6075
+ "description": "A checkbox: a choice that applies when the form is submitted.\n\nBuilt on a real `<input type=\"checkbox\">`, laid invisibly over the drawn\nbox, so the keyboard, the label click, the indeterminate state and what a\nscreen reader announces all come from the platform rather than a\nreimplementation of it.\n\nFor a setting that takes effect the moment it is flipped, use\n`<kt-toggle>`; for one choice among several, `<kt-radio-group>`.",
6076
+ "name": "KtCheckbox",
6077
6077
  "cssParts": [
6078
6078
  {
6079
- "description": "The dashed drop zone.",
6079
+ "description": "The `<label>` around box and text.",
6080
6080
  "name": "base"
6081
6081
  },
6082
6082
  {
6083
- "description": "The list of chosen files.",
6084
- "name": "list"
6083
+ "description": "The native checkbox.",
6084
+ "name": "input"
6085
+ },
6086
+ {
6087
+ "description": "The drawn box.",
6088
+ "name": "box"
6089
+ }
6090
+ ],
6091
+ "slots": [
6092
+ {
6093
+ "description": "The label, clickable.",
6094
+ "name": ""
6085
6095
  }
6086
6096
  ],
6087
6097
  "members": [
@@ -6097,9 +6107,9 @@
6097
6107
  },
6098
6108
  {
6099
6109
  "kind": "field",
6100
- "name": "fileInput",
6110
+ "name": "input",
6101
6111
  "type": {
6102
- "text": "HTMLInputElement"
6112
+ "text": "HTMLInputElement | undefined"
6103
6113
  },
6104
6114
  "privacy": "private"
6105
6115
  },
@@ -6114,7 +6124,7 @@
6114
6124
  },
6115
6125
  {
6116
6126
  "kind": "field",
6117
- "name": "dragging",
6127
+ "name": "defaultChecked",
6118
6128
  "type": {
6119
6129
  "text": "boolean"
6120
6130
  },
@@ -6123,112 +6133,95 @@
6123
6133
  },
6124
6134
  {
6125
6135
  "kind": "field",
6126
- "name": "files",
6136
+ "name": "checked",
6127
6137
  "type": {
6128
- "text": "File[]"
6138
+ "text": "boolean"
6129
6139
  },
6130
- "privacy": "private",
6131
- "default": "[]"
6140
+ "default": "false",
6141
+ "attribute": "checked",
6142
+ "reflects": true
6132
6143
  },
6133
6144
  {
6134
6145
  "kind": "field",
6135
- "name": "heading",
6146
+ "name": "indeterminate",
6136
6147
  "type": {
6137
- "text": "string"
6148
+ "text": "boolean"
6138
6149
  },
6139
- "default": "'Drag and drop or'",
6140
- "description": "The prompt above the browse link.\n\nNamed `heading`, not `title`: an element already has a `title`, and\nreusing it would put the prompt in a native tooltip on the whole zone.",
6141
- "attribute": "heading"
6150
+ "default": "false",
6151
+ "description": "Neither checked nor unchecked — for a \"select all\" over a partial\nselection. Cleared as soon as the user clicks, as on a native checkbox.",
6152
+ "attribute": "indeterminate",
6153
+ "reflects": true
6142
6154
  },
6143
6155
  {
6144
6156
  "kind": "field",
6145
- "name": "linkText",
6157
+ "name": "disabled",
6146
6158
  "type": {
6147
- "text": "string"
6159
+ "text": "boolean"
6148
6160
  },
6149
- "default": "'browse your files'",
6150
- "description": "The clickable-looking part of the prompt.",
6151
- "attribute": "link-text"
6161
+ "default": "false",
6162
+ "attribute": "disabled",
6163
+ "reflects": true
6152
6164
  },
6153
6165
  {
6154
6166
  "kind": "field",
6155
- "name": "recommendedSize",
6167
+ "name": "required",
6156
6168
  "type": {
6157
- "text": "string"
6169
+ "text": "boolean"
6158
6170
  },
6159
- "default": "''",
6160
- "description": "Optional hint, e.g. `800×400px`.",
6161
- "attribute": "recommended-size"
6171
+ "default": "false",
6172
+ "attribute": "required",
6173
+ "reflects": true
6162
6174
  },
6163
6175
  {
6164
6176
  "kind": "field",
6165
- "name": "multiple",
6177
+ "name": "size",
6166
6178
  "type": {
6167
- "text": "boolean"
6179
+ "text": "KtCheckboxSize"
6168
6180
  },
6169
- "default": "true",
6170
- "attribute": "multiple"
6181
+ "default": "'medium'",
6182
+ "attribute": "size",
6183
+ "reflects": true
6171
6184
  },
6172
6185
  {
6173
6186
  "kind": "field",
6174
- "name": "accept",
6187
+ "name": "name",
6175
6188
  "type": {
6176
6189
  "text": "string"
6177
6190
  },
6178
6191
  "default": "''",
6179
- "description": "Same syntax as the native `accept`: `image/*`, `.pdf,.docx`.",
6180
- "attribute": "accept"
6181
- },
6182
- {
6183
- "kind": "field",
6184
- "name": "maxSize",
6185
- "type": {
6186
- "text": "number"
6187
- },
6188
- "default": "0",
6189
- "description": "Largest accepted file, in bytes. Zero means no limit.",
6190
- "attribute": "max-size"
6192
+ "attribute": "name"
6191
6193
  },
6192
6194
  {
6193
6195
  "kind": "field",
6194
- "name": "disabled",
6196
+ "name": "value",
6195
6197
  "type": {
6196
- "text": "boolean"
6198
+ "text": "string"
6197
6199
  },
6198
- "default": "false",
6199
- "attribute": "disabled",
6200
- "reflects": true
6200
+ "default": "'on'",
6201
+ "description": "Submitted when checked, as for a native checkbox.",
6202
+ "attribute": "value"
6201
6203
  },
6202
6204
  {
6203
6205
  "kind": "field",
6204
- "name": "name",
6206
+ "name": "label",
6205
6207
  "type": {
6206
6208
  "text": "string"
6207
6209
  },
6208
6210
  "default": "''",
6209
- "description": "The files are submitted under this name, as by `<input type=\"file\">`.",
6210
- "attribute": "name"
6211
+ "description": "Accessible name, when nothing is slotted.",
6212
+ "attribute": "label"
6211
6213
  },
6212
6214
  {
6213
6215
  "kind": "field",
6214
- "name": "required",
6216
+ "name": "error",
6215
6217
  "type": {
6216
- "text": "boolean"
6218
+ "text": "string"
6217
6219
  },
6218
- "default": "false",
6219
- "attribute": "required",
6220
+ "default": "''",
6221
+ "description": "Error message. A non-empty value puts the box in its error state.",
6222
+ "attribute": "error",
6220
6223
  "reflects": true
6221
6224
  },
6222
- {
6223
- "kind": "method",
6224
- "name": "syncFormValue",
6225
- "privacy": "private",
6226
- "return": {
6227
- "type": {
6228
- "text": "void"
6229
- }
6230
- }
6231
- },
6232
6225
  {
6233
6226
  "kind": "method",
6234
6227
  "name": "formResetCallback",
@@ -6250,52 +6243,32 @@
6250
6243
  {
6251
6244
  "name": "state",
6252
6245
  "type": {
6253
- "text": "string | File | FormData | null"
6246
+ "text": "string | null"
6254
6247
  }
6255
6248
  }
6256
6249
  ]
6257
6250
  },
6258
- {
6259
- "kind": "field",
6260
- "name": "selectedFiles",
6261
- "type": {
6262
- "text": "readonly File[]"
6263
- },
6264
- "description": "The files currently held, newest last.",
6265
- "readonly": true
6266
- },
6267
6251
  {
6268
6252
  "kind": "method",
6269
- "name": "clear",
6253
+ "name": "focus",
6270
6254
  "return": {
6271
6255
  "type": {
6272
6256
  "text": "void"
6273
6257
  }
6274
6258
  },
6275
- "description": "Empties the selection without firing a rejection."
6276
- },
6277
- {
6278
- "kind": "method",
6279
- "name": "accepts",
6280
- "privacy": "private",
6281
- "return": {
6282
- "type": {
6283
- "text": "boolean"
6284
- }
6285
- },
6286
6259
  "parameters": [
6287
6260
  {
6288
- "name": "file",
6261
+ "name": "options",
6262
+ "optional": true,
6289
6263
  "type": {
6290
- "text": "File"
6264
+ "text": "FocusOptions"
6291
6265
  }
6292
6266
  }
6293
- ],
6294
- "description": "`accept` is advisory on a native input — the OS dialog filters, but a\ndropped file bypasses it entirely — so the same rules are enforced here."
6267
+ ]
6295
6268
  },
6296
6269
  {
6297
6270
  "kind": "method",
6298
- "name": "addFiles",
6271
+ "name": "onChange",
6299
6272
  "privacy": "private",
6300
6273
  "return": {
6301
6274
  "type": {
@@ -6304,292 +6277,239 @@
6304
6277
  },
6305
6278
  "parameters": [
6306
6279
  {
6307
- "name": "incoming",
6280
+ "name": "event",
6308
6281
  "type": {
6309
- "text": "FileList | null"
6282
+ "text": "Event"
6310
6283
  }
6311
6284
  }
6312
6285
  ]
6286
+ }
6287
+ ],
6288
+ "events": [
6289
+ {
6290
+ "description": "The box was checked or unchecked. `detail: { checked }`.",
6291
+ "name": "kt-change"
6292
+ }
6293
+ ],
6294
+ "attributes": [
6295
+ {
6296
+ "name": "checked",
6297
+ "type": {
6298
+ "text": "boolean"
6299
+ },
6300
+ "default": "false",
6301
+ "fieldName": "checked"
6313
6302
  },
6314
6303
  {
6315
- "kind": "method",
6316
- "name": "removeAt",
6317
- "privacy": "private",
6318
- "return": {
6319
- "type": {
6320
- "text": "void"
6321
- }
6304
+ "name": "indeterminate",
6305
+ "type": {
6306
+ "text": "boolean"
6322
6307
  },
6323
- "parameters": [
6324
- {
6325
- "name": "index",
6326
- "type": {
6327
- "text": "number"
6328
- }
6329
- }
6330
- ]
6308
+ "default": "false",
6309
+ "description": "Neither checked nor unchecked — for a \"select all\" over a partial\nselection. Cleared as soon as the user clicks, as on a native checkbox.",
6310
+ "fieldName": "indeterminate"
6331
6311
  },
6332
6312
  {
6333
- "kind": "method",
6334
- "name": "browse",
6335
- "privacy": "private",
6336
- "return": {
6337
- "type": {
6338
- "text": "void"
6339
- }
6340
- }
6313
+ "name": "disabled",
6314
+ "type": {
6315
+ "text": "boolean"
6316
+ },
6317
+ "default": "false",
6318
+ "fieldName": "disabled"
6341
6319
  },
6342
6320
  {
6343
- "kind": "method",
6344
- "name": "onZoneKeyDown",
6345
- "privacy": "private",
6346
- "return": {
6347
- "type": {
6348
- "text": "void"
6349
- }
6321
+ "name": "required",
6322
+ "type": {
6323
+ "text": "boolean"
6350
6324
  },
6351
- "parameters": [
6352
- {
6353
- "name": "event",
6354
- "type": {
6355
- "text": "KeyboardEvent"
6356
- }
6357
- }
6358
- ]
6325
+ "default": "false",
6326
+ "fieldName": "required"
6359
6327
  },
6360
6328
  {
6361
- "kind": "method",
6362
- "name": "onDragOver",
6363
- "privacy": "private",
6364
- "return": {
6365
- "type": {
6366
- "text": "void"
6367
- }
6329
+ "name": "size",
6330
+ "type": {
6331
+ "text": "KtCheckboxSize"
6368
6332
  },
6369
- "parameters": [
6370
- {
6371
- "name": "event",
6372
- "type": {
6373
- "text": "DragEvent"
6374
- }
6375
- }
6376
- ]
6377
- },
6378
- {
6379
- "kind": "method",
6380
- "name": "onDrop",
6381
- "privacy": "private",
6382
- "return": {
6383
- "type": {
6384
- "text": "void"
6385
- }
6386
- },
6387
- "parameters": [
6388
- {
6389
- "name": "event",
6390
- "type": {
6391
- "text": "DragEvent"
6392
- }
6393
- }
6394
- ]
6395
- }
6396
- ],
6397
- "events": [
6398
- {
6399
- "description": "The selection changed. `detail: { files }`.",
6400
- "name": "kt-files-change"
6401
- },
6402
- {
6403
- "description": "Files were refused. `detail: { files, reason }`.",
6404
- "name": "kt-files-rejected"
6405
- }
6406
- ],
6407
- "attributes": [
6408
- {
6409
- "name": "heading",
6410
- "type": {
6411
- "text": "string"
6412
- },
6413
- "default": "'Drag and drop or'",
6414
- "description": "The prompt above the browse link.\n\nNamed `heading`, not `title`: an element already has a `title`, and\nreusing it would put the prompt in a native tooltip on the whole zone.",
6415
- "fieldName": "heading"
6416
- },
6417
- {
6418
- "name": "link-text",
6419
- "type": {
6420
- "text": "string"
6421
- },
6422
- "default": "'browse your files'",
6423
- "description": "The clickable-looking part of the prompt.",
6424
- "fieldName": "linkText"
6333
+ "default": "'medium'",
6334
+ "fieldName": "size"
6425
6335
  },
6426
6336
  {
6427
- "name": "recommended-size",
6337
+ "name": "name",
6428
6338
  "type": {
6429
6339
  "text": "string"
6430
6340
  },
6431
6341
  "default": "''",
6432
- "description": "Optional hint, e.g. `800×400px`.",
6433
- "fieldName": "recommendedSize"
6342
+ "fieldName": "name"
6434
6343
  },
6435
6344
  {
6436
- "name": "multiple",
6345
+ "name": "value",
6437
6346
  "type": {
6438
- "text": "boolean"
6347
+ "text": "string"
6439
6348
  },
6440
- "default": "true",
6441
- "fieldName": "multiple"
6349
+ "default": "'on'",
6350
+ "description": "Submitted when checked, as for a native checkbox.",
6351
+ "fieldName": "value"
6442
6352
  },
6443
6353
  {
6444
- "name": "accept",
6354
+ "name": "label",
6445
6355
  "type": {
6446
6356
  "text": "string"
6447
6357
  },
6448
6358
  "default": "''",
6449
- "description": "Same syntax as the native `accept`: `image/*`, `.pdf,.docx`.",
6450
- "fieldName": "accept"
6451
- },
6452
- {
6453
- "name": "max-size",
6454
- "type": {
6455
- "text": "number"
6456
- },
6457
- "default": "0",
6458
- "description": "Largest accepted file, in bytes. Zero means no limit.",
6459
- "fieldName": "maxSize"
6460
- },
6461
- {
6462
- "name": "disabled",
6463
- "type": {
6464
- "text": "boolean"
6465
- },
6466
- "default": "false",
6467
- "fieldName": "disabled"
6359
+ "description": "Accessible name, when nothing is slotted.",
6360
+ "fieldName": "label"
6468
6361
  },
6469
6362
  {
6470
- "name": "name",
6363
+ "name": "error",
6471
6364
  "type": {
6472
6365
  "text": "string"
6473
6366
  },
6474
6367
  "default": "''",
6475
- "description": "The files are submitted under this name, as by `<input type=\"file\">`.",
6476
- "fieldName": "name"
6477
- },
6478
- {
6479
- "name": "required",
6480
- "type": {
6481
- "text": "boolean"
6482
- },
6483
- "default": "false",
6484
- "fieldName": "required"
6368
+ "description": "Error message. A non-empty value puts the box in its error state.",
6369
+ "fieldName": "error"
6485
6370
  }
6486
6371
  ],
6487
6372
  "superclass": {
6488
6373
  "name": "KtElement",
6489
- "module": "dist/components/forms/kt-drag-drop/kt-drag-drop.js"
6374
+ "module": "dist/components/forms/kt-checkbox/kt-checkbox.js"
6490
6375
  },
6491
- "tagName": "kt-drag-drop",
6376
+ "tagName": "kt-checkbox",
6492
6377
  "customElement": true
6493
6378
  }
6494
6379
  ],
6495
6380
  "exports": [
6496
6381
  {
6497
6382
  "kind": "js",
6498
- "name": "KtDragDrop",
6383
+ "name": "KtCheckbox",
6499
6384
  "declaration": {
6500
- "name": "KtDragDrop",
6501
- "module": "dist/components/forms/kt-drag-drop/kt-drag-drop.js"
6385
+ "name": "KtCheckbox",
6386
+ "module": "dist/components/forms/kt-checkbox/kt-checkbox.js"
6502
6387
  }
6503
6388
  }
6504
6389
  ]
6505
6390
  },
6506
6391
  {
6507
6392
  "kind": "javascript-module",
6508
- "path": "dist/components/forms/kt-form/kt-form.js",
6393
+ "path": "dist/components/forms/kt-drag-drop/kt-drag-drop.js",
6509
6394
  "declarations": [
6510
6395
  {
6511
6396
  "kind": "class",
6512
- "description": "A panel grouping related fields.\n\nIt sits one step above the page on `--surface-form`, so the fields inside —\nfilled at `--surface-field` — read as wells recessed into it rather than as\nboxes floating on it.\n\n**Put it inside your own `<form>`.** It renders a `<fieldset>`, not a form:\nKanto fields are form-associated custom elements, and a control finds its\nform by walking its *own* tree. A `<form>` inside this element's shadow root\nwould not own anything slotted into it, and `new FormData(form)` would come\nback empty. The `<form>` above stays in charge of submission, validation and\nreset; this owns the grouping and the look.",
6513
- "name": "KtForm",
6397
+ "description": "A file drop zone.\n\nAccepts a drop or a click, lists what was picked with sizes and types, and\nlets each entry be removed. It holds the files in memory and reports them —\nuploading is the application's business.",
6398
+ "name": "KtDragDrop",
6514
6399
  "cssParts": [
6515
6400
  {
6516
- "description": "The `<fieldset>`.",
6401
+ "description": "The dashed drop zone.",
6517
6402
  "name": "base"
6518
6403
  },
6519
6404
  {
6520
- "description": "The heading and description.",
6521
- "name": "header"
6522
- },
6523
- {
6524
- "description": "The field column.",
6525
- "name": "fields"
6526
- },
6527
- {
6528
- "description": "The action row.",
6529
- "name": "footer"
6405
+ "description": "The list of chosen files.",
6406
+ "name": "list"
6530
6407
  }
6531
6408
  ],
6532
- "slots": [
6409
+ "members": [
6533
6410
  {
6534
- "description": "The fields.",
6535
- "name": ""
6411
+ "kind": "field",
6412
+ "name": "formAssociated",
6413
+ "type": {
6414
+ "text": "boolean"
6415
+ },
6416
+ "static": true,
6417
+ "readonly": true,
6418
+ "default": "true"
6536
6419
  },
6537
6420
  {
6538
- "description": "Replaces the `heading` attribute, for markup.",
6539
- "name": "heading"
6421
+ "kind": "field",
6422
+ "name": "fileInput",
6423
+ "type": {
6424
+ "text": "HTMLInputElement"
6425
+ },
6426
+ "privacy": "private"
6540
6427
  },
6541
- {
6542
- "description": "Actions, right-aligned. Hidden when empty.",
6543
- "name": "footer"
6544
- }
6545
- ],
6546
- "members": [
6547
6428
  {
6548
6429
  "kind": "field",
6549
- "name": "fields",
6430
+ "name": "internals",
6550
6431
  "type": {
6551
- "text": "HTMLElement[]"
6432
+ "text": "UsableInternals | null"
6552
6433
  },
6553
- "privacy": "private"
6434
+ "privacy": "private",
6435
+ "default": "null"
6554
6436
  },
6555
6437
  {
6556
6438
  "kind": "field",
6557
- "name": "hasFooter",
6439
+ "name": "dragging",
6558
6440
  "type": {
6559
6441
  "text": "boolean"
6560
6442
  },
6561
6443
  "privacy": "private",
6562
6444
  "default": "false"
6563
6445
  },
6446
+ {
6447
+ "kind": "field",
6448
+ "name": "files",
6449
+ "type": {
6450
+ "text": "File[]"
6451
+ },
6452
+ "privacy": "private",
6453
+ "default": "[]"
6454
+ },
6564
6455
  {
6565
6456
  "kind": "field",
6566
6457
  "name": "heading",
6567
6458
  "type": {
6568
- "text": "string"
6459
+ "text": "string | undefined"
6569
6460
  },
6570
- "default": "''",
6571
- "description": "Group heading. Also the fieldset's accessible name.",
6461
+ "default": "undefined",
6462
+ "description": "The prompt above the browse link.\n\nNamed `heading`, not `title`: an element already has a `title`, and\nreusing it would put the prompt in a native tooltip on the whole zone.",
6572
6463
  "attribute": "heading"
6573
6464
  },
6574
6465
  {
6575
6466
  "kind": "field",
6576
- "name": "description",
6467
+ "name": "linkText",
6468
+ "type": {
6469
+ "text": "string | undefined"
6470
+ },
6471
+ "default": "undefined",
6472
+ "description": "The clickable-looking part of the prompt.",
6473
+ "attribute": "link-text"
6474
+ },
6475
+ {
6476
+ "kind": "field",
6477
+ "name": "recommendedSize",
6577
6478
  "type": {
6578
6479
  "text": "string"
6579
6480
  },
6580
6481
  "default": "''",
6581
- "attribute": "description"
6482
+ "description": "Optional hint, e.g. `800×400px`.",
6483
+ "attribute": "recommended-size"
6582
6484
  },
6583
6485
  {
6584
6486
  "kind": "field",
6585
- "name": "loading",
6487
+ "name": "multiple",
6586
6488
  "type": {
6587
6489
  "text": "boolean"
6588
6490
  },
6589
- "default": "false",
6590
- "description": "Replaces the fields with placeholders.",
6591
- "attribute": "loading",
6592
- "reflects": true
6491
+ "default": "true",
6492
+ "attribute": "multiple"
6493
+ },
6494
+ {
6495
+ "kind": "field",
6496
+ "name": "accept",
6497
+ "type": {
6498
+ "text": "string"
6499
+ },
6500
+ "default": "''",
6501
+ "description": "Same syntax as the native `accept`: `image/*`, `.pdf,.docx`.",
6502
+ "attribute": "accept"
6503
+ },
6504
+ {
6505
+ "kind": "field",
6506
+ "name": "maxSize",
6507
+ "type": {
6508
+ "text": "number"
6509
+ },
6510
+ "default": "0",
6511
+ "description": "Largest accepted file, in bytes. Zero means no limit.",
6512
+ "attribute": "max-size"
6593
6513
  },
6594
6514
  {
6595
6515
  "kind": "field",
@@ -6598,23 +6518,32 @@
6598
6518
  "text": "boolean"
6599
6519
  },
6600
6520
  "default": "false",
6601
- "description": "Switches off every field in the panel.",
6602
6521
  "attribute": "disabled",
6603
6522
  "reflects": true
6604
6523
  },
6605
6524
  {
6606
6525
  "kind": "field",
6607
- "name": "loadingFields",
6526
+ "name": "name",
6608
6527
  "type": {
6609
- "text": "number"
6528
+ "text": "string"
6610
6529
  },
6611
- "default": "3",
6612
- "description": "How many placeholder fields `loading` draws.",
6613
- "attribute": "loading-fields"
6530
+ "default": "''",
6531
+ "description": "The files are submitted under this name, as by `<input type=\"file\">`.",
6532
+ "attribute": "name"
6533
+ },
6534
+ {
6535
+ "kind": "field",
6536
+ "name": "required",
6537
+ "type": {
6538
+ "text": "boolean"
6539
+ },
6540
+ "default": "false",
6541
+ "attribute": "required",
6542
+ "reflects": true
6614
6543
  },
6615
6544
  {
6616
6545
  "kind": "method",
6617
- "name": "readSlots",
6546
+ "name": "syncFormValue",
6618
6547
  "privacy": "private",
6619
6548
  "return": {
6620
6549
  "type": {
@@ -6624,8 +6553,7 @@
6624
6553
  },
6625
6554
  {
6626
6555
  "kind": "method",
6627
- "name": "onFooterSlotChange",
6628
- "privacy": "private",
6556
+ "name": "formResetCallback",
6629
6557
  "return": {
6630
6558
  "type": {
6631
6559
  "text": "void"
@@ -6634,41 +6562,1043 @@
6634
6562
  },
6635
6563
  {
6636
6564
  "kind": "method",
6637
- "name": "syncDisabled",
6638
- "privacy": "private",
6565
+ "name": "formStateRestoreCallback",
6639
6566
  "return": {
6640
6567
  "type": {
6641
6568
  "text": "void"
6642
6569
  }
6643
- }
6644
- }
6645
- ],
6646
- "attributes": [
6647
- {
6648
- "name": "heading",
6649
- "type": {
6650
- "text": "string"
6651
6570
  },
6652
- "default": "''",
6653
- "description": "Group heading. Also the fieldset's accessible name.",
6571
+ "parameters": [
6572
+ {
6573
+ "name": "state",
6574
+ "type": {
6575
+ "text": "string | File | FormData | null"
6576
+ }
6577
+ }
6578
+ ]
6579
+ },
6580
+ {
6581
+ "kind": "field",
6582
+ "name": "selectedFiles",
6583
+ "type": {
6584
+ "text": "readonly File[]"
6585
+ },
6586
+ "description": "The files currently held, newest last.",
6587
+ "readonly": true
6588
+ },
6589
+ {
6590
+ "kind": "method",
6591
+ "name": "clear",
6592
+ "return": {
6593
+ "type": {
6594
+ "text": "void"
6595
+ }
6596
+ },
6597
+ "description": "Empties the selection without firing a rejection."
6598
+ },
6599
+ {
6600
+ "kind": "method",
6601
+ "name": "accepts",
6602
+ "privacy": "private",
6603
+ "return": {
6604
+ "type": {
6605
+ "text": "boolean"
6606
+ }
6607
+ },
6608
+ "parameters": [
6609
+ {
6610
+ "name": "file",
6611
+ "type": {
6612
+ "text": "File"
6613
+ }
6614
+ }
6615
+ ],
6616
+ "description": "`accept` is advisory on a native input — the OS dialog filters, but a\ndropped file bypasses it entirely — so the same rules are enforced here."
6617
+ },
6618
+ {
6619
+ "kind": "method",
6620
+ "name": "addFiles",
6621
+ "privacy": "private",
6622
+ "return": {
6623
+ "type": {
6624
+ "text": "void"
6625
+ }
6626
+ },
6627
+ "parameters": [
6628
+ {
6629
+ "name": "incoming",
6630
+ "type": {
6631
+ "text": "FileList | null"
6632
+ }
6633
+ }
6634
+ ]
6635
+ },
6636
+ {
6637
+ "kind": "method",
6638
+ "name": "removeAt",
6639
+ "privacy": "private",
6640
+ "return": {
6641
+ "type": {
6642
+ "text": "void"
6643
+ }
6644
+ },
6645
+ "parameters": [
6646
+ {
6647
+ "name": "index",
6648
+ "type": {
6649
+ "text": "number"
6650
+ }
6651
+ }
6652
+ ]
6653
+ },
6654
+ {
6655
+ "kind": "method",
6656
+ "name": "browse",
6657
+ "privacy": "private",
6658
+ "return": {
6659
+ "type": {
6660
+ "text": "void"
6661
+ }
6662
+ }
6663
+ },
6664
+ {
6665
+ "kind": "method",
6666
+ "name": "onZoneKeyDown",
6667
+ "privacy": "private",
6668
+ "return": {
6669
+ "type": {
6670
+ "text": "void"
6671
+ }
6672
+ },
6673
+ "parameters": [
6674
+ {
6675
+ "name": "event",
6676
+ "type": {
6677
+ "text": "KeyboardEvent"
6678
+ }
6679
+ }
6680
+ ]
6681
+ },
6682
+ {
6683
+ "kind": "method",
6684
+ "name": "onDragOver",
6685
+ "privacy": "private",
6686
+ "return": {
6687
+ "type": {
6688
+ "text": "void"
6689
+ }
6690
+ },
6691
+ "parameters": [
6692
+ {
6693
+ "name": "event",
6694
+ "type": {
6695
+ "text": "DragEvent"
6696
+ }
6697
+ }
6698
+ ]
6699
+ },
6700
+ {
6701
+ "kind": "method",
6702
+ "name": "onDrop",
6703
+ "privacy": "private",
6704
+ "return": {
6705
+ "type": {
6706
+ "text": "void"
6707
+ }
6708
+ },
6709
+ "parameters": [
6710
+ {
6711
+ "name": "event",
6712
+ "type": {
6713
+ "text": "DragEvent"
6714
+ }
6715
+ }
6716
+ ]
6717
+ }
6718
+ ],
6719
+ "events": [
6720
+ {
6721
+ "description": "The selection changed. `detail: { files }`.",
6722
+ "name": "kt-files-change"
6723
+ },
6724
+ {
6725
+ "description": "Files were refused. `detail: { files, reason }`.",
6726
+ "name": "kt-files-rejected"
6727
+ }
6728
+ ],
6729
+ "attributes": [
6730
+ {
6731
+ "name": "heading",
6732
+ "type": {
6733
+ "text": "string | undefined"
6734
+ },
6735
+ "default": "undefined",
6736
+ "description": "The prompt above the browse link.\n\nNamed `heading`, not `title`: an element already has a `title`, and\nreusing it would put the prompt in a native tooltip on the whole zone.",
6654
6737
  "fieldName": "heading"
6655
6738
  },
6656
6739
  {
6657
- "name": "description",
6740
+ "name": "link-text",
6741
+ "type": {
6742
+ "text": "string | undefined"
6743
+ },
6744
+ "default": "undefined",
6745
+ "description": "The clickable-looking part of the prompt.",
6746
+ "fieldName": "linkText"
6747
+ },
6748
+ {
6749
+ "name": "recommended-size",
6750
+ "type": {
6751
+ "text": "string"
6752
+ },
6753
+ "default": "''",
6754
+ "description": "Optional hint, e.g. `800×400px`.",
6755
+ "fieldName": "recommendedSize"
6756
+ },
6757
+ {
6758
+ "name": "multiple",
6759
+ "type": {
6760
+ "text": "boolean"
6761
+ },
6762
+ "default": "true",
6763
+ "fieldName": "multiple"
6764
+ },
6765
+ {
6766
+ "name": "accept",
6767
+ "type": {
6768
+ "text": "string"
6769
+ },
6770
+ "default": "''",
6771
+ "description": "Same syntax as the native `accept`: `image/*`, `.pdf,.docx`.",
6772
+ "fieldName": "accept"
6773
+ },
6774
+ {
6775
+ "name": "max-size",
6776
+ "type": {
6777
+ "text": "number"
6778
+ },
6779
+ "default": "0",
6780
+ "description": "Largest accepted file, in bytes. Zero means no limit.",
6781
+ "fieldName": "maxSize"
6782
+ },
6783
+ {
6784
+ "name": "disabled",
6785
+ "type": {
6786
+ "text": "boolean"
6787
+ },
6788
+ "default": "false",
6789
+ "fieldName": "disabled"
6790
+ },
6791
+ {
6792
+ "name": "name",
6793
+ "type": {
6794
+ "text": "string"
6795
+ },
6796
+ "default": "''",
6797
+ "description": "The files are submitted under this name, as by `<input type=\"file\">`.",
6798
+ "fieldName": "name"
6799
+ },
6800
+ {
6801
+ "name": "required",
6802
+ "type": {
6803
+ "text": "boolean"
6804
+ },
6805
+ "default": "false",
6806
+ "fieldName": "required"
6807
+ }
6808
+ ],
6809
+ "superclass": {
6810
+ "name": "KtElement",
6811
+ "module": "dist/components/forms/kt-drag-drop/kt-drag-drop.js"
6812
+ },
6813
+ "tagName": "kt-drag-drop",
6814
+ "customElement": true
6815
+ }
6816
+ ],
6817
+ "exports": [
6818
+ {
6819
+ "kind": "js",
6820
+ "name": "KtDragDrop",
6821
+ "declaration": {
6822
+ "name": "KtDragDrop",
6823
+ "module": "dist/components/forms/kt-drag-drop/kt-drag-drop.js"
6824
+ }
6825
+ }
6826
+ ]
6827
+ },
6828
+ {
6829
+ "kind": "javascript-module",
6830
+ "path": "dist/components/forms/kt-form/kt-form.js",
6831
+ "declarations": [
6832
+ {
6833
+ "kind": "class",
6834
+ "description": "A panel grouping related fields.\n\nIt sits one step above the page on `--surface-form`, so the fields inside —\nfilled at `--surface-field` — read as wells recessed into it rather than as\nboxes floating on it.\n\n**Put it inside your own `<form>`.** It renders a `<fieldset>`, not a form:\nKanto fields are form-associated custom elements, and a control finds its\nform by walking its *own* tree. A `<form>` inside this element's shadow root\nwould not own anything slotted into it, and `new FormData(form)` would come\nback empty. The `<form>` above stays in charge of submission, validation and\nreset; this owns the grouping and the look.",
6835
+ "name": "KtForm",
6836
+ "cssParts": [
6837
+ {
6838
+ "description": "The `<fieldset>`.",
6839
+ "name": "base"
6840
+ },
6841
+ {
6842
+ "description": "The heading and description.",
6843
+ "name": "header"
6844
+ },
6845
+ {
6846
+ "description": "The field column.",
6847
+ "name": "fields"
6848
+ },
6849
+ {
6850
+ "description": "The action row.",
6851
+ "name": "footer"
6852
+ }
6853
+ ],
6854
+ "slots": [
6855
+ {
6856
+ "description": "The fields.",
6857
+ "name": ""
6858
+ },
6859
+ {
6860
+ "description": "Replaces the `heading` attribute, for markup.",
6861
+ "name": "heading"
6862
+ },
6863
+ {
6864
+ "description": "Actions, right-aligned. Hidden when empty.",
6865
+ "name": "footer"
6866
+ }
6867
+ ],
6868
+ "members": [
6869
+ {
6870
+ "kind": "field",
6871
+ "name": "fields",
6872
+ "type": {
6873
+ "text": "HTMLElement[]"
6874
+ },
6875
+ "privacy": "private"
6876
+ },
6877
+ {
6878
+ "kind": "field",
6879
+ "name": "hasFooter",
6880
+ "type": {
6881
+ "text": "boolean"
6882
+ },
6883
+ "privacy": "private",
6884
+ "default": "false"
6885
+ },
6886
+ {
6887
+ "kind": "field",
6888
+ "name": "heading",
6889
+ "type": {
6890
+ "text": "string"
6891
+ },
6892
+ "default": "''",
6893
+ "description": "Group heading. Also the fieldset's accessible name.",
6894
+ "attribute": "heading"
6895
+ },
6896
+ {
6897
+ "kind": "field",
6898
+ "name": "description",
6899
+ "type": {
6900
+ "text": "string"
6901
+ },
6902
+ "default": "''",
6903
+ "attribute": "description"
6904
+ },
6905
+ {
6906
+ "kind": "field",
6907
+ "name": "loading",
6908
+ "type": {
6909
+ "text": "boolean"
6910
+ },
6911
+ "default": "false",
6912
+ "description": "Replaces the fields with placeholders.",
6913
+ "attribute": "loading",
6914
+ "reflects": true
6915
+ },
6916
+ {
6917
+ "kind": "field",
6918
+ "name": "disabled",
6919
+ "type": {
6920
+ "text": "boolean"
6921
+ },
6922
+ "default": "false",
6923
+ "description": "Switches off every field in the panel.",
6924
+ "attribute": "disabled",
6925
+ "reflects": true
6926
+ },
6927
+ {
6928
+ "kind": "field",
6929
+ "name": "loadingFields",
6930
+ "type": {
6931
+ "text": "number"
6932
+ },
6933
+ "default": "3",
6934
+ "description": "How many placeholder fields `loading` draws.",
6935
+ "attribute": "loading-fields"
6936
+ },
6937
+ {
6938
+ "kind": "method",
6939
+ "name": "readSlots",
6940
+ "privacy": "private",
6941
+ "return": {
6942
+ "type": {
6943
+ "text": "void"
6944
+ }
6945
+ }
6946
+ },
6947
+ {
6948
+ "kind": "method",
6949
+ "name": "onFooterSlotChange",
6950
+ "privacy": "private",
6951
+ "return": {
6952
+ "type": {
6953
+ "text": "void"
6954
+ }
6955
+ }
6956
+ },
6957
+ {
6958
+ "kind": "method",
6959
+ "name": "syncDisabled",
6960
+ "privacy": "private",
6961
+ "return": {
6962
+ "type": {
6963
+ "text": "void"
6964
+ }
6965
+ }
6966
+ }
6967
+ ],
6968
+ "attributes": [
6969
+ {
6970
+ "name": "heading",
6971
+ "type": {
6972
+ "text": "string"
6973
+ },
6974
+ "default": "''",
6975
+ "description": "Group heading. Also the fieldset's accessible name.",
6976
+ "fieldName": "heading"
6977
+ },
6978
+ {
6979
+ "name": "description",
6980
+ "type": {
6981
+ "text": "string"
6982
+ },
6983
+ "default": "''",
6984
+ "fieldName": "description"
6985
+ },
6986
+ {
6987
+ "name": "loading",
6988
+ "type": {
6989
+ "text": "boolean"
6990
+ },
6991
+ "default": "false",
6992
+ "description": "Replaces the fields with placeholders.",
6993
+ "fieldName": "loading"
6994
+ },
6995
+ {
6996
+ "name": "disabled",
6997
+ "type": {
6998
+ "text": "boolean"
6999
+ },
7000
+ "default": "false",
7001
+ "description": "Switches off every field in the panel.",
7002
+ "fieldName": "disabled"
7003
+ },
7004
+ {
7005
+ "name": "loading-fields",
7006
+ "type": {
7007
+ "text": "number"
7008
+ },
7009
+ "default": "3",
7010
+ "description": "How many placeholder fields `loading` draws.",
7011
+ "fieldName": "loadingFields"
7012
+ }
7013
+ ],
7014
+ "superclass": {
7015
+ "name": "KtElement",
7016
+ "module": "dist/components/forms/kt-form/kt-form.js"
7017
+ },
7018
+ "tagName": "kt-form",
7019
+ "customElement": true
7020
+ }
7021
+ ],
7022
+ "exports": [
7023
+ {
7024
+ "kind": "js",
7025
+ "name": "KtForm",
7026
+ "declaration": {
7027
+ "name": "KtForm",
7028
+ "module": "dist/components/forms/kt-form/kt-form.js"
7029
+ }
7030
+ }
7031
+ ]
7032
+ },
7033
+ {
7034
+ "kind": "javascript-module",
7035
+ "path": "dist/components/forms/kt-input/kt-input.js",
7036
+ "declarations": [
7037
+ {
7038
+ "kind": "class",
7039
+ "description": "A single-line text field.\n\nBorderless by design: the field is a fill on `--color-dark-12` that gains a\n2px *outline* — grey on hover, primary on focus, danger on error. An outline\nsits outside the box, so nothing reflows when the state changes.\n\nThe element is form-associated: it serialises into `FormData` under its\n`name`, resets with the form, and reports validity like a native input.",
7040
+ "name": "KtInput",
7041
+ "cssParts": [
7042
+ {
7043
+ "description": "The field container.",
7044
+ "name": "base"
7045
+ },
7046
+ {
7047
+ "description": "The native `<input>`.",
7048
+ "name": "control"
7049
+ },
7050
+ {
7051
+ "description": "The trailing icon row.",
7052
+ "name": "actions"
7053
+ }
7054
+ ],
7055
+ "members": [
7056
+ {
7057
+ "kind": "field",
7058
+ "name": "formAssociated",
7059
+ "type": {
7060
+ "text": "boolean"
7061
+ },
7062
+ "static": true,
7063
+ "readonly": true,
7064
+ "default": "true"
7065
+ },
7066
+ {
7067
+ "kind": "field",
7068
+ "name": "input",
7069
+ "type": {
7070
+ "text": "HTMLInputElement"
7071
+ },
7072
+ "privacy": "private"
7073
+ },
7074
+ {
7075
+ "kind": "field",
7076
+ "name": "internals",
7077
+ "type": {
7078
+ "text": "UsableInternals | null"
7079
+ },
7080
+ "privacy": "private",
7081
+ "default": "null"
7082
+ },
7083
+ {
7084
+ "kind": "field",
7085
+ "name": "passwordVisible",
7086
+ "type": {
7087
+ "text": "boolean"
7088
+ },
7089
+ "privacy": "private",
7090
+ "default": "false",
7091
+ "description": "True while a `password` field is showing its contents."
7092
+ },
7093
+ {
7094
+ "kind": "field",
7095
+ "name": "countryOpen",
7096
+ "type": {
7097
+ "text": "boolean"
7098
+ },
7099
+ "privacy": "private",
7100
+ "default": "false"
7101
+ },
7102
+ {
7103
+ "kind": "field",
7104
+ "name": "countryQuery",
7105
+ "type": {
7106
+ "text": "string"
7107
+ },
7108
+ "privacy": "private",
7109
+ "default": "''"
7110
+ },
7111
+ {
7112
+ "kind": "field",
7113
+ "name": "value",
7114
+ "type": {
7115
+ "text": "string"
7116
+ },
7117
+ "default": "''",
7118
+ "description": "The field's value. The `value` attribute seeds it and acts as the reset value.",
7119
+ "attribute": "value"
7120
+ },
7121
+ {
7122
+ "kind": "field",
7123
+ "name": "name",
7124
+ "type": {
7125
+ "text": "string"
7126
+ },
7127
+ "default": "''",
7128
+ "attribute": "name"
7129
+ },
7130
+ {
7131
+ "kind": "field",
7132
+ "name": "type",
7133
+ "type": {
7134
+ "text": "string"
7135
+ },
7136
+ "default": "'text'",
7137
+ "description": "Any native input type. `password` adds the reveal toggle.",
7138
+ "attribute": "type"
7139
+ },
7140
+ {
7141
+ "kind": "field",
7142
+ "name": "placeholder",
7143
+ "type": {
7144
+ "text": "string"
7145
+ },
7146
+ "default": "''",
7147
+ "attribute": "placeholder"
7148
+ },
7149
+ {
7150
+ "kind": "field",
7151
+ "name": "size",
7152
+ "type": {
7153
+ "text": "KtInputSize"
7154
+ },
7155
+ "default": "'medium'",
7156
+ "description": "Field height: 32 / 40 / 48px at the desktop scale.",
7157
+ "attribute": "size",
7158
+ "reflects": true
7159
+ },
7160
+ {
7161
+ "kind": "field",
7162
+ "name": "disabled",
7163
+ "type": {
7164
+ "text": "boolean"
7165
+ },
7166
+ "default": "false",
7167
+ "attribute": "disabled",
7168
+ "reflects": true
7169
+ },
7170
+ {
7171
+ "kind": "field",
7172
+ "name": "readonly",
7173
+ "type": {
7174
+ "text": "boolean"
7175
+ },
7176
+ "default": "false",
7177
+ "attribute": "readonly",
7178
+ "reflects": true
7179
+ },
7180
+ {
7181
+ "kind": "field",
7182
+ "name": "required",
7183
+ "type": {
7184
+ "text": "boolean"
7185
+ },
7186
+ "default": "false",
7187
+ "attribute": "required",
7188
+ "reflects": true
7189
+ },
7190
+ {
7191
+ "kind": "field",
7192
+ "name": "icon",
7193
+ "type": {
7194
+ "text": "string"
7195
+ },
7196
+ "default": "''",
7197
+ "description": "Trailing Lucide icon, kebab-case.",
7198
+ "attribute": "icon"
7199
+ },
7200
+ {
7201
+ "kind": "field",
7202
+ "name": "error",
7203
+ "type": {
7204
+ "text": "string"
7205
+ },
7206
+ "default": "''",
7207
+ "description": "Error message. A non-empty value puts the field in its error state.",
7208
+ "attribute": "error",
7209
+ "reflects": true
7210
+ },
7211
+ {
7212
+ "kind": "field",
7213
+ "name": "clearable",
7214
+ "type": {
7215
+ "text": "boolean"
7216
+ },
7217
+ "default": "true",
7218
+ "description": "Shows the clear button once there is something to clear.",
7219
+ "attribute": "clearable"
7220
+ },
7221
+ {
7222
+ "kind": "field",
7223
+ "name": "label",
7224
+ "type": {
7225
+ "text": "string"
7226
+ },
7227
+ "default": "''",
7228
+ "description": "Accessible name, when no `<kt-label-input>` wraps the field.",
7229
+ "attribute": "label"
7230
+ },
7231
+ {
7232
+ "kind": "field",
7233
+ "name": "autocomplete",
7234
+ "type": {
7235
+ "text": "string"
7236
+ },
7237
+ "default": "''",
7238
+ "attribute": "autocomplete"
7239
+ },
7240
+ {
7241
+ "kind": "field",
7242
+ "name": "maxlength",
7243
+ "type": {
7244
+ "text": "number | undefined"
7245
+ },
7246
+ "attribute": "maxlength"
7247
+ },
7248
+ {
7249
+ "kind": "field",
7250
+ "name": "countries",
7251
+ "type": {
7252
+ "text": "readonly KtCountry[]"
7253
+ },
7254
+ "default": "DEFAULT_COUNTRIES",
7255
+ "description": "Countries offered in phone mode. Replace it to widen the list."
7256
+ },
7257
+ {
7258
+ "kind": "field",
7259
+ "name": "country",
7260
+ "type": {
7261
+ "text": "string"
7262
+ },
7263
+ "default": "'us'",
7264
+ "description": "Selected country in phone mode, as an ISO 3166-1 alpha-2 code.",
7265
+ "attribute": "country"
7266
+ },
7267
+ {
7268
+ "kind": "field",
7269
+ "name": "defaultValue",
7270
+ "type": {
7271
+ "text": "string"
7272
+ },
7273
+ "privacy": "private",
7274
+ "default": "''",
7275
+ "description": "The value the enclosing form resets to."
7276
+ },
7277
+ {
7278
+ "kind": "method",
7279
+ "name": "refreshValidity",
7280
+ "privacy": "private",
7281
+ "return": {
7282
+ "type": {
7283
+ "text": "void"
7284
+ }
7285
+ }
7286
+ },
7287
+ {
7288
+ "kind": "method",
7289
+ "name": "formResetCallback",
7290
+ "return": {
7291
+ "type": {
7292
+ "text": "void"
7293
+ }
7294
+ },
7295
+ "description": "Called by the platform when the enclosing form is reset."
7296
+ },
7297
+ {
7298
+ "kind": "method",
7299
+ "name": "formStateRestoreCallback",
7300
+ "return": {
7301
+ "type": {
7302
+ "text": "void"
7303
+ }
7304
+ },
7305
+ "parameters": [
7306
+ {
7307
+ "name": "state",
7308
+ "type": {
7309
+ "text": "string"
7310
+ }
7311
+ }
7312
+ ],
7313
+ "description": "Called by the platform when the browser restores a session."
7314
+ },
7315
+ {
7316
+ "kind": "method",
7317
+ "name": "focus",
7318
+ "return": {
7319
+ "type": {
7320
+ "text": "void"
7321
+ }
7322
+ },
7323
+ "parameters": [
7324
+ {
7325
+ "name": "options",
7326
+ "optional": true,
7327
+ "type": {
7328
+ "text": "FocusOptions"
7329
+ }
7330
+ }
7331
+ ]
7332
+ },
7333
+ {
7334
+ "kind": "method",
7335
+ "name": "blur",
7336
+ "return": {
7337
+ "type": {
7338
+ "text": "void"
7339
+ }
7340
+ }
7341
+ },
7342
+ {
7343
+ "kind": "method",
7344
+ "name": "select",
7345
+ "return": {
7346
+ "type": {
7347
+ "text": "void"
7348
+ }
7349
+ },
7350
+ "description": "Selects the field's contents, as `HTMLInputElement.select()` does."
7351
+ },
7352
+ {
7353
+ "kind": "field",
7354
+ "name": "isPhone",
7355
+ "type": {
7356
+ "text": "boolean"
7357
+ },
7358
+ "privacy": "private",
7359
+ "description": "Phone mode: the country picker, digit-only storage and grouped display.",
7360
+ "readonly": true
7361
+ },
7362
+ {
7363
+ "kind": "field",
7364
+ "name": "selectedCountry",
7365
+ "type": {
7366
+ "text": "KtCountry | undefined"
7367
+ },
7368
+ "privacy": "private",
7369
+ "readonly": true
7370
+ },
7371
+ {
7372
+ "kind": "field",
7373
+ "name": "formValue",
7374
+ "type": {
7375
+ "text": "string"
7376
+ },
7377
+ "privacy": "private",
7378
+ "description": "What the form receives. In phone mode that is the full international\nnumber — submitting national digits alone would throw away the country\nthe user picked.",
7379
+ "readonly": true
7380
+ },
7381
+ {
7382
+ "kind": "field",
7383
+ "name": "displayValue",
7384
+ "type": {
7385
+ "text": "string"
7386
+ },
7387
+ "privacy": "private",
7388
+ "readonly": true
7389
+ },
7390
+ {
7391
+ "kind": "field",
7392
+ "name": "showClear",
7393
+ "type": {
7394
+ "text": "boolean"
7395
+ },
7396
+ "privacy": "private",
7397
+ "readonly": true
7398
+ },
7399
+ {
7400
+ "kind": "field",
7401
+ "name": "resolvedType",
7402
+ "type": {
7403
+ "text": "string"
7404
+ },
7405
+ "privacy": "private",
7406
+ "readonly": true
7407
+ },
7408
+ {
7409
+ "kind": "method",
7410
+ "name": "onInput",
7411
+ "privacy": "private",
7412
+ "return": {
7413
+ "type": {
7414
+ "text": "void"
7415
+ }
7416
+ },
7417
+ "parameters": [
7418
+ {
7419
+ "name": "event",
7420
+ "type": {
7421
+ "text": "Event"
7422
+ }
7423
+ }
7424
+ ]
7425
+ },
7426
+ {
7427
+ "kind": "method",
7428
+ "name": "toggleCountryPanel",
7429
+ "privacy": "private",
7430
+ "return": {
7431
+ "type": {
7432
+ "text": "void"
7433
+ }
7434
+ }
7435
+ },
7436
+ {
7437
+ "kind": "method",
7438
+ "name": "selectCountry",
7439
+ "privacy": "private",
7440
+ "return": {
7441
+ "type": {
7442
+ "text": "void"
7443
+ }
7444
+ },
7445
+ "parameters": [
7446
+ {
7447
+ "name": "country",
7448
+ "type": {
7449
+ "text": "KtCountry"
7450
+ }
7451
+ }
7452
+ ]
7453
+ },
7454
+ {
7455
+ "kind": "field",
7456
+ "name": "closeCountryPanel",
7457
+ "privacy": "private"
7458
+ },
7459
+ {
7460
+ "kind": "method",
7461
+ "name": "onCountryKeyDown",
7462
+ "privacy": "private",
7463
+ "return": {
7464
+ "type": {
7465
+ "text": "void"
7466
+ }
7467
+ },
7468
+ "parameters": [
7469
+ {
7470
+ "name": "event",
7471
+ "type": {
7472
+ "text": "KeyboardEvent"
7473
+ }
7474
+ }
7475
+ ]
7476
+ },
7477
+ {
7478
+ "kind": "method",
7479
+ "name": "renderCountryPicker",
7480
+ "privacy": "private",
7481
+ "return": {
7482
+ "type": {
7483
+ "text": "TemplateResult"
7484
+ }
7485
+ }
7486
+ },
7487
+ {
7488
+ "kind": "method",
7489
+ "name": "onChange",
7490
+ "privacy": "private",
7491
+ "return": {
7492
+ "type": {
7493
+ "text": "void"
7494
+ }
7495
+ },
7496
+ "parameters": [
7497
+ {
7498
+ "name": "event",
7499
+ "type": {
7500
+ "text": "Event"
7501
+ }
7502
+ }
7503
+ ]
7504
+ },
7505
+ {
7506
+ "kind": "method",
7507
+ "name": "clear",
7508
+ "privacy": "private",
7509
+ "return": {
7510
+ "type": {
7511
+ "text": "void"
7512
+ }
7513
+ }
7514
+ },
7515
+ {
7516
+ "kind": "method",
7517
+ "name": "togglePassword",
7518
+ "privacy": "private",
7519
+ "return": {
7520
+ "type": {
7521
+ "text": "void"
7522
+ }
7523
+ }
7524
+ },
7525
+ {
7526
+ "kind": "method",
7527
+ "name": "onFieldPointerDown",
7528
+ "privacy": "private",
7529
+ "return": {
7530
+ "type": {
7531
+ "text": "void"
7532
+ }
7533
+ },
7534
+ "parameters": [
7535
+ {
7536
+ "name": "event",
7537
+ "type": {
7538
+ "text": "PointerEvent"
7539
+ }
7540
+ }
7541
+ ],
7542
+ "description": "Clicking the padding around the input should focus it, as on a native field."
7543
+ }
7544
+ ],
7545
+ "events": [
7546
+ {
7547
+ "description": "On every keystroke. `detail: { value }`.",
7548
+ "name": "kt-input"
7549
+ },
7550
+ {
7551
+ "description": "When the value is committed (blur or Enter). `detail: { value }`.",
7552
+ "name": "kt-change"
7553
+ },
7554
+ {
7555
+ "description": "The clear button was pressed.",
7556
+ "name": "kt-clear"
7557
+ }
7558
+ ],
7559
+ "attributes": [
7560
+ {
7561
+ "name": "value",
7562
+ "type": {
7563
+ "text": "string"
7564
+ },
7565
+ "default": "''",
7566
+ "description": "The field's value. The `value` attribute seeds it and acts as the reset value.",
7567
+ "fieldName": "value"
7568
+ },
7569
+ {
7570
+ "name": "name",
6658
7571
  "type": {
6659
7572
  "text": "string"
6660
7573
  },
6661
7574
  "default": "''",
6662
- "fieldName": "description"
7575
+ "fieldName": "name"
6663
7576
  },
6664
7577
  {
6665
- "name": "loading",
7578
+ "name": "type",
6666
7579
  "type": {
6667
- "text": "boolean"
7580
+ "text": "string"
6668
7581
  },
6669
- "default": "false",
6670
- "description": "Replaces the fields with placeholders.",
6671
- "fieldName": "loading"
7582
+ "default": "'text'",
7583
+ "description": "Any native input type. `password` adds the reveal toggle.",
7584
+ "fieldName": "type"
7585
+ },
7586
+ {
7587
+ "name": "placeholder",
7588
+ "type": {
7589
+ "text": "string"
7590
+ },
7591
+ "default": "''",
7592
+ "fieldName": "placeholder"
7593
+ },
7594
+ {
7595
+ "name": "size",
7596
+ "type": {
7597
+ "text": "KtInputSize"
7598
+ },
7599
+ "default": "'medium'",
7600
+ "description": "Field height: 32 / 40 / 48px at the desktop scale.",
7601
+ "fieldName": "size"
6672
7602
  },
6673
7603
  {
6674
7604
  "name": "disabled",
@@ -6676,58 +7606,128 @@
6676
7606
  "text": "boolean"
6677
7607
  },
6678
7608
  "default": "false",
6679
- "description": "Switches off every field in the panel.",
6680
7609
  "fieldName": "disabled"
6681
7610
  },
6682
7611
  {
6683
- "name": "loading-fields",
7612
+ "name": "readonly",
6684
7613
  "type": {
6685
- "text": "number"
7614
+ "text": "boolean"
6686
7615
  },
6687
- "default": "3",
6688
- "description": "How many placeholder fields `loading` draws.",
6689
- "fieldName": "loadingFields"
7616
+ "default": "false",
7617
+ "fieldName": "readonly"
7618
+ },
7619
+ {
7620
+ "name": "required",
7621
+ "type": {
7622
+ "text": "boolean"
7623
+ },
7624
+ "default": "false",
7625
+ "fieldName": "required"
7626
+ },
7627
+ {
7628
+ "name": "icon",
7629
+ "type": {
7630
+ "text": "string"
7631
+ },
7632
+ "default": "''",
7633
+ "description": "Trailing Lucide icon, kebab-case.",
7634
+ "fieldName": "icon"
7635
+ },
7636
+ {
7637
+ "name": "error",
7638
+ "type": {
7639
+ "text": "string"
7640
+ },
7641
+ "default": "''",
7642
+ "description": "Error message. A non-empty value puts the field in its error state.",
7643
+ "fieldName": "error"
7644
+ },
7645
+ {
7646
+ "name": "clearable",
7647
+ "type": {
7648
+ "text": "boolean"
7649
+ },
7650
+ "default": "true",
7651
+ "description": "Shows the clear button once there is something to clear.",
7652
+ "fieldName": "clearable"
7653
+ },
7654
+ {
7655
+ "name": "label",
7656
+ "type": {
7657
+ "text": "string"
7658
+ },
7659
+ "default": "''",
7660
+ "description": "Accessible name, when no `<kt-label-input>` wraps the field.",
7661
+ "fieldName": "label"
7662
+ },
7663
+ {
7664
+ "name": "autocomplete",
7665
+ "type": {
7666
+ "text": "string"
7667
+ },
7668
+ "default": "''",
7669
+ "fieldName": "autocomplete"
7670
+ },
7671
+ {
7672
+ "name": "maxlength",
7673
+ "type": {
7674
+ "text": "number | undefined"
7675
+ },
7676
+ "fieldName": "maxlength"
7677
+ },
7678
+ {
7679
+ "name": "country",
7680
+ "type": {
7681
+ "text": "string"
7682
+ },
7683
+ "default": "'us'",
7684
+ "description": "Selected country in phone mode, as an ISO 3166-1 alpha-2 code.",
7685
+ "fieldName": "country"
6690
7686
  }
6691
7687
  ],
6692
7688
  "superclass": {
6693
7689
  "name": "KtElement",
6694
- "module": "dist/components/forms/kt-form/kt-form.js"
7690
+ "module": "dist/components/forms/kt-input/kt-input.js"
6695
7691
  },
6696
- "tagName": "kt-form",
7692
+ "tagName": "kt-input",
6697
7693
  "customElement": true
6698
7694
  }
6699
7695
  ],
6700
7696
  "exports": [
6701
7697
  {
6702
7698
  "kind": "js",
6703
- "name": "KtForm",
7699
+ "name": "KtInput",
6704
7700
  "declaration": {
6705
- "name": "KtForm",
6706
- "module": "dist/components/forms/kt-form/kt-form.js"
7701
+ "name": "KtInput",
7702
+ "module": "dist/components/forms/kt-input/kt-input.js"
6707
7703
  }
6708
7704
  }
6709
7705
  ]
6710
7706
  },
6711
7707
  {
6712
7708
  "kind": "javascript-module",
6713
- "path": "dist/components/forms/kt-input/kt-input.js",
7709
+ "path": "dist/components/forms/kt-input-menu/kt-input-menu.js",
6714
7710
  "declarations": [
6715
7711
  {
6716
7712
  "kind": "class",
6717
- "description": "A single-line text field.\n\nBorderless by design: the field is a fill on `--color-dark-12` that gains a\n2px *outline* — grey on hover, primary on focus, danger on error. An outline\nsits outside the box, so nothing reflows when the state changes.\n\nThe element is form-associated: it serialises into `FormData` under its\n`name`, resets with the form, and reports validity like a native input.",
6718
- "name": "KtInput",
7713
+ "description": "A combobox: type to narrow the list, then pick.\n\nReach for it over `<kt-select>` once the list is long enough that scanning it\nis slower than typing three letters — somewhere around twenty options.",
7714
+ "name": "KtInputMenu",
6719
7715
  "cssParts": [
6720
7716
  {
6721
- "description": "The field container.",
6722
- "name": "base"
7717
+ "description": "The field.",
7718
+ "name": "control"
6723
7719
  },
6724
7720
  {
6725
7721
  "description": "The native `<input>`.",
6726
- "name": "control"
7722
+ "name": "input"
6727
7723
  },
6728
7724
  {
6729
- "description": "The trailing icon row.",
6730
- "name": "actions"
7725
+ "description": "The option list.",
7726
+ "name": "popup"
7727
+ },
7728
+ {
7729
+ "description": "An option row.",
7730
+ "name": "option"
6731
7731
  }
6732
7732
  ],
6733
7733
  "members": [
@@ -6760,17 +7760,22 @@
6760
7760
  },
6761
7761
  {
6762
7762
  "kind": "field",
6763
- "name": "passwordVisible",
7763
+ "name": "defaultValue",
6764
7764
  "type": {
6765
- "text": "boolean"
7765
+ "text": "string | number | null"
6766
7766
  },
6767
7767
  "privacy": "private",
6768
- "default": "false",
6769
- "description": "True while a `password` field is showing its contents."
7768
+ "default": "null"
6770
7769
  },
6771
7770
  {
6772
7771
  "kind": "field",
6773
- "name": "countryOpen",
7772
+ "name": "listId",
7773
+ "privacy": "private",
7774
+ "readonly": true
7775
+ },
7776
+ {
7777
+ "kind": "field",
7778
+ "name": "open",
6774
7779
  "type": {
6775
7780
  "text": "boolean"
6776
7781
  },
@@ -6779,7 +7784,7 @@
6779
7784
  },
6780
7785
  {
6781
7786
  "kind": "field",
6782
- "name": "countryQuery",
7787
+ "name": "query",
6783
7788
  "type": {
6784
7789
  "text": "string"
6785
7790
  },
@@ -6788,32 +7793,29 @@
6788
7793
  },
6789
7794
  {
6790
7795
  "kind": "field",
6791
- "name": "value",
7796
+ "name": "activeIndex",
6792
7797
  "type": {
6793
- "text": "string"
7798
+ "text": "number"
6794
7799
  },
6795
- "default": "''",
6796
- "description": "The field's value. The `value` attribute seeds it and acts as the reset value.",
6797
- "attribute": "value"
7800
+ "privacy": "private",
7801
+ "default": "-1"
6798
7802
  },
6799
7803
  {
6800
7804
  "kind": "field",
6801
- "name": "name",
7805
+ "name": "options",
6802
7806
  "type": {
6803
- "text": "string"
7807
+ "text": "readonly KtOption[]"
6804
7808
  },
6805
- "default": "''",
6806
- "attribute": "name"
7809
+ "default": "[]"
6807
7810
  },
6808
7811
  {
6809
7812
  "kind": "field",
6810
- "name": "type",
7813
+ "name": "value",
6811
7814
  "type": {
6812
- "text": "string"
7815
+ "text": "string | number | null"
6813
7816
  },
6814
- "default": "'text'",
6815
- "description": "Any native input type. `password` adds the reveal toggle.",
6816
- "attribute": "type"
7817
+ "default": "null",
7818
+ "attribute": "value"
6817
7819
  },
6818
7820
  {
6819
7821
  "kind": "field",
@@ -6826,14 +7828,12 @@
6826
7828
  },
6827
7829
  {
6828
7830
  "kind": "field",
6829
- "name": "size",
7831
+ "name": "name",
6830
7832
  "type": {
6831
- "text": "KtInputSize"
7833
+ "text": "string"
6832
7834
  },
6833
- "default": "'medium'",
6834
- "description": "Field height: 32 / 40 / 48px at the desktop scale.",
6835
- "attribute": "size",
6836
- "reflects": true
7835
+ "default": "''",
7836
+ "attribute": "name"
6837
7837
  },
6838
7838
  {
6839
7839
  "kind": "field",
@@ -6845,16 +7845,6 @@
6845
7845
  "attribute": "disabled",
6846
7846
  "reflects": true
6847
7847
  },
6848
- {
6849
- "kind": "field",
6850
- "name": "readonly",
6851
- "type": {
6852
- "text": "boolean"
6853
- },
6854
- "default": "false",
6855
- "attribute": "readonly",
6856
- "reflects": true
6857
- },
6858
7848
  {
6859
7849
  "kind": "field",
6860
7850
  "name": "required",
@@ -6867,94 +7857,122 @@
6867
7857
  },
6868
7858
  {
6869
7859
  "kind": "field",
6870
- "name": "icon",
7860
+ "name": "error",
6871
7861
  "type": {
6872
7862
  "text": "string"
6873
7863
  },
6874
7864
  "default": "''",
6875
- "description": "Trailing Lucide icon, kebab-case.",
6876
- "attribute": "icon"
7865
+ "attribute": "error",
7866
+ "reflects": true
6877
7867
  },
6878
7868
  {
6879
7869
  "kind": "field",
6880
- "name": "error",
7870
+ "name": "label",
6881
7871
  "type": {
6882
7872
  "text": "string"
6883
7873
  },
6884
7874
  "default": "''",
6885
- "description": "Error message. A non-empty value puts the field in its error state.",
6886
- "attribute": "error",
6887
- "reflects": true
7875
+ "attribute": "label"
6888
7876
  },
6889
7877
  {
6890
7878
  "kind": "field",
6891
- "name": "clearable",
7879
+ "name": "emptyText",
6892
7880
  "type": {
6893
- "text": "boolean"
7881
+ "text": "string | undefined"
6894
7882
  },
6895
- "default": "true",
6896
- "description": "Shows the clear button once there is something to clear.",
6897
- "attribute": "clearable"
7883
+ "default": "undefined",
7884
+ "attribute": "empty-text"
6898
7885
  },
6899
7886
  {
6900
- "kind": "field",
6901
- "name": "label",
6902
- "type": {
6903
- "text": "string"
7887
+ "kind": "method",
7888
+ "name": "formResetCallback",
7889
+ "return": {
7890
+ "type": {
7891
+ "text": "void"
7892
+ }
7893
+ }
7894
+ },
7895
+ {
7896
+ "kind": "method",
7897
+ "name": "formStateRestoreCallback",
7898
+ "return": {
7899
+ "type": {
7900
+ "text": "void"
7901
+ }
6904
7902
  },
6905
- "default": "''",
6906
- "description": "Accessible name, when no `<kt-label-input>` wraps the field.",
6907
- "attribute": "label"
7903
+ "parameters": [
7904
+ {
7905
+ "name": "state",
7906
+ "type": {
7907
+ "text": "string"
7908
+ }
7909
+ }
7910
+ ]
6908
7911
  },
6909
7912
  {
6910
- "kind": "field",
6911
- "name": "autocomplete",
6912
- "type": {
6913
- "text": "string"
7913
+ "kind": "method",
7914
+ "name": "focus",
7915
+ "return": {
7916
+ "type": {
7917
+ "text": "void"
7918
+ }
6914
7919
  },
6915
- "default": "''",
6916
- "attribute": "autocomplete"
7920
+ "parameters": [
7921
+ {
7922
+ "name": "options",
7923
+ "optional": true,
7924
+ "type": {
7925
+ "text": "FocusOptions"
7926
+ }
7927
+ }
7928
+ ]
6917
7929
  },
6918
7930
  {
6919
7931
  "kind": "field",
6920
- "name": "maxlength",
7932
+ "name": "selectedOption",
6921
7933
  "type": {
6922
- "text": "number | undefined"
7934
+ "text": "KtOption | undefined"
6923
7935
  },
6924
- "attribute": "maxlength"
7936
+ "readonly": true
6925
7937
  },
6926
7938
  {
6927
7939
  "kind": "field",
6928
- "name": "countries",
7940
+ "name": "visibleOptions",
6929
7941
  "type": {
6930
- "text": "readonly KtCountry[]"
7942
+ "text": "readonly KtOption[]"
6931
7943
  },
6932
- "default": "DEFAULT_COUNTRIES",
6933
- "description": "Countries offered in phone mode. Replace it to widen the list."
7944
+ "privacy": "private",
7945
+ "description": "Options after the current query, which is what the keyboard walks.",
7946
+ "readonly": true
6934
7947
  },
6935
7948
  {
6936
7949
  "kind": "field",
6937
- "name": "country",
7950
+ "name": "displayValue",
6938
7951
  "type": {
6939
7952
  "text": "string"
6940
7953
  },
6941
- "default": "'us'",
6942
- "description": "Selected country in phone mode, as an ISO 3166-1 alpha-2 code.",
6943
- "attribute": "country"
7954
+ "privacy": "private",
7955
+ "description": "While filtering, the field shows the query; otherwise it shows the chosen\noption. Keeping the two in one input is what makes it a combobox rather\nthan a search box that happens to sit above a list.",
7956
+ "readonly": true
6944
7957
  },
6945
7958
  {
6946
7959
  "kind": "field",
6947
- "name": "defaultValue",
6948
- "type": {
6949
- "text": "string"
6950
- },
7960
+ "name": "onDocumentPointerDown",
7961
+ "privacy": "private"
7962
+ },
7963
+ {
7964
+ "kind": "method",
7965
+ "name": "openList",
6951
7966
  "privacy": "private",
6952
- "default": "''",
6953
- "description": "The value the enclosing form resets to."
7967
+ "return": {
7968
+ "type": {
7969
+ "text": "void"
7970
+ }
7971
+ }
6954
7972
  },
6955
7973
  {
6956
7974
  "kind": "method",
6957
- "name": "refreshValidity",
7975
+ "name": "close",
6958
7976
  "privacy": "private",
6959
7977
  "return": {
6960
7978
  "type": {
@@ -6964,17 +7982,26 @@
6964
7982
  },
6965
7983
  {
6966
7984
  "kind": "method",
6967
- "name": "formResetCallback",
7985
+ "name": "onInput",
7986
+ "privacy": "private",
6968
7987
  "return": {
6969
7988
  "type": {
6970
7989
  "text": "void"
6971
7990
  }
6972
7991
  },
6973
- "description": "Called by the platform when the enclosing form is reset."
7992
+ "parameters": [
7993
+ {
7994
+ "name": "event",
7995
+ "type": {
7996
+ "text": "Event"
7997
+ }
7998
+ }
7999
+ ]
6974
8000
  },
6975
8001
  {
6976
8002
  "kind": "method",
6977
- "name": "formStateRestoreCallback",
8003
+ "name": "choose",
8004
+ "privacy": "private",
6978
8005
  "return": {
6979
8006
  "type": {
6980
8007
  "text": "void"
@@ -6982,17 +8009,17 @@
6982
8009
  },
6983
8010
  "parameters": [
6984
8011
  {
6985
- "name": "state",
8012
+ "name": "option",
6986
8013
  "type": {
6987
- "text": "string"
8014
+ "text": "KtOption"
6988
8015
  }
6989
8016
  }
6990
- ],
6991
- "description": "Called by the platform when the browser restores a session."
8017
+ ]
6992
8018
  },
6993
8019
  {
6994
8020
  "kind": "method",
6995
- "name": "focus",
8021
+ "name": "clear",
8022
+ "privacy": "private",
6996
8023
  "return": {
6997
8024
  "type": {
6998
8025
  "text": "void"
@@ -7000,110 +8027,207 @@
7000
8027
  },
7001
8028
  "parameters": [
7002
8029
  {
7003
- "name": "options",
7004
- "optional": true,
8030
+ "name": "event",
7005
8031
  "type": {
7006
- "text": "FocusOptions"
8032
+ "text": "Event"
7007
8033
  }
7008
8034
  }
7009
8035
  ]
7010
8036
  },
7011
8037
  {
7012
8038
  "kind": "method",
7013
- "name": "blur",
8039
+ "name": "onKeyDown",
8040
+ "privacy": "private",
7014
8041
  "return": {
7015
8042
  "type": {
7016
8043
  "text": "void"
7017
8044
  }
7018
- }
8045
+ },
8046
+ "parameters": [
8047
+ {
8048
+ "name": "event",
8049
+ "type": {
8050
+ "text": "KeyboardEvent"
8051
+ }
8052
+ }
8053
+ ]
7019
8054
  },
7020
8055
  {
7021
8056
  "kind": "method",
7022
- "name": "select",
8057
+ "name": "optionId",
8058
+ "privacy": "private",
7023
8059
  "return": {
7024
8060
  "type": {
7025
- "text": "void"
8061
+ "text": "string"
7026
8062
  }
7027
8063
  },
7028
- "description": "Selects the field's contents, as `HTMLInputElement.select()` does."
8064
+ "parameters": [
8065
+ {
8066
+ "name": "index",
8067
+ "type": {
8068
+ "text": "number"
8069
+ }
8070
+ }
8071
+ ]
8072
+ }
8073
+ ],
8074
+ "events": [
8075
+ {
8076
+ "description": "An option was chosen or cleared. `detail: { value, option }`.",
8077
+ "name": "kt-change"
7029
8078
  },
7030
8079
  {
7031
- "kind": "field",
7032
- "name": "isPhone",
8080
+ "description": "The query changed. `detail: { query }`.",
8081
+ "name": "kt-filter"
8082
+ }
8083
+ ],
8084
+ "attributes": [
8085
+ {
8086
+ "name": "value",
8087
+ "type": {
8088
+ "text": "string | number | null"
8089
+ },
8090
+ "default": "null",
8091
+ "fieldName": "value"
8092
+ },
8093
+ {
8094
+ "name": "placeholder",
8095
+ "type": {
8096
+ "text": "string"
8097
+ },
8098
+ "default": "''",
8099
+ "fieldName": "placeholder"
8100
+ },
8101
+ {
8102
+ "name": "name",
8103
+ "type": {
8104
+ "text": "string"
8105
+ },
8106
+ "default": "''",
8107
+ "fieldName": "name"
8108
+ },
8109
+ {
8110
+ "name": "disabled",
7033
8111
  "type": {
7034
8112
  "text": "boolean"
7035
8113
  },
7036
- "privacy": "private",
7037
- "description": "Phone mode: the country picker, digit-only storage and grouped display.",
7038
- "readonly": true
8114
+ "default": "false",
8115
+ "fieldName": "disabled"
7039
8116
  },
7040
8117
  {
7041
- "kind": "field",
7042
- "name": "selectedCountry",
8118
+ "name": "required",
7043
8119
  "type": {
7044
- "text": "KtCountry | undefined"
8120
+ "text": "boolean"
7045
8121
  },
7046
- "privacy": "private",
7047
- "readonly": true
8122
+ "default": "false",
8123
+ "fieldName": "required"
7048
8124
  },
7049
8125
  {
7050
- "kind": "field",
7051
- "name": "formValue",
8126
+ "name": "error",
7052
8127
  "type": {
7053
8128
  "text": "string"
7054
8129
  },
7055
- "privacy": "private",
7056
- "description": "What the form receives. In phone mode that is the full international\nnumber — submitting national digits alone would throw away the country\nthe user picked.",
7057
- "readonly": true
8130
+ "default": "''",
8131
+ "fieldName": "error"
7058
8132
  },
7059
8133
  {
7060
- "kind": "field",
7061
- "name": "displayValue",
8134
+ "name": "label",
7062
8135
  "type": {
7063
8136
  "text": "string"
7064
8137
  },
7065
- "privacy": "private",
7066
- "readonly": true
8138
+ "default": "''",
8139
+ "fieldName": "label"
8140
+ },
8141
+ {
8142
+ "name": "empty-text",
8143
+ "type": {
8144
+ "text": "string | undefined"
8145
+ },
8146
+ "default": "undefined",
8147
+ "fieldName": "emptyText"
8148
+ }
8149
+ ],
8150
+ "superclass": {
8151
+ "name": "KtElement",
8152
+ "module": "dist/components/forms/kt-input-menu/kt-input-menu.js"
8153
+ },
8154
+ "tagName": "kt-input-menu",
8155
+ "customElement": true
8156
+ }
8157
+ ],
8158
+ "exports": [
8159
+ {
8160
+ "kind": "js",
8161
+ "name": "KtInputMenu",
8162
+ "declaration": {
8163
+ "name": "KtInputMenu",
8164
+ "module": "dist/components/forms/kt-input-menu/kt-input-menu.js"
8165
+ }
8166
+ }
8167
+ ]
8168
+ },
8169
+ {
8170
+ "kind": "javascript-module",
8171
+ "path": "dist/components/forms/kt-label-input/kt-label-input.js",
8172
+ "declarations": [
8173
+ {
8174
+ "kind": "class",
8175
+ "description": "A label above a form control, with a red asterisk when it is required.\n\nNative label association does not cross a shadow boundary — `for` and\nimplicit wrapping both need the label and the control in the same tree — so\nthis element passes its text down to the slotted control's `label` property\ninstead, which becomes the control's `aria-label`. Clicking the label still\nfocuses the control, as it would natively.",
8176
+ "name": "KtLabelInput",
8177
+ "cssParts": [
8178
+ {
8179
+ "description": "The `<label>`.",
8180
+ "name": "label"
8181
+ }
8182
+ ],
8183
+ "slots": [
8184
+ {
8185
+ "description": "The form control to label.",
8186
+ "name": ""
8187
+ }
8188
+ ],
8189
+ "members": [
8190
+ {
8191
+ "kind": "field",
8192
+ "name": "defaultSlot",
8193
+ "type": {
8194
+ "text": "HTMLSlotElement"
8195
+ },
8196
+ "privacy": "private"
8197
+ },
8198
+ {
8199
+ "kind": "field",
8200
+ "name": "label",
8201
+ "type": {
8202
+ "text": "string"
8203
+ },
8204
+ "default": "''",
8205
+ "description": "The label text.",
8206
+ "attribute": "label"
7067
8207
  },
7068
8208
  {
7069
8209
  "kind": "field",
7070
- "name": "showClear",
8210
+ "name": "required",
7071
8211
  "type": {
7072
8212
  "text": "boolean"
7073
8213
  },
7074
- "privacy": "private",
7075
- "readonly": true
8214
+ "default": "false",
8215
+ "description": "Appends a red asterisk and marks the control required for screen readers.",
8216
+ "attribute": "required",
8217
+ "reflects": true
7076
8218
  },
7077
8219
  {
7078
8220
  "kind": "field",
7079
- "name": "resolvedType",
8221
+ "name": "control",
7080
8222
  "type": {
7081
- "text": "string"
8223
+ "text": "Labelable | undefined"
7082
8224
  },
7083
8225
  "privacy": "private",
7084
8226
  "readonly": true
7085
8227
  },
7086
8228
  {
7087
8229
  "kind": "method",
7088
- "name": "onInput",
7089
- "privacy": "private",
7090
- "return": {
7091
- "type": {
7092
- "text": "void"
7093
- }
7094
- },
7095
- "parameters": [
7096
- {
7097
- "name": "event",
7098
- "type": {
7099
- "text": "Event"
7100
- }
7101
- }
7102
- ]
7103
- },
7104
- {
7105
- "kind": "method",
7106
- "name": "toggleCountryPanel",
8230
+ "name": "labelControl",
7107
8231
  "privacy": "private",
7108
8232
  "return": {
7109
8233
  "type": {
@@ -7113,299 +8237,237 @@
7113
8237
  },
7114
8238
  {
7115
8239
  "kind": "method",
7116
- "name": "selectCountry",
7117
- "privacy": "private",
7118
- "return": {
7119
- "type": {
7120
- "text": "void"
7121
- }
7122
- },
7123
- "parameters": [
7124
- {
7125
- "name": "country",
7126
- "type": {
7127
- "text": "KtCountry"
7128
- }
7129
- }
7130
- ]
7131
- },
7132
- {
7133
- "kind": "field",
7134
- "name": "closeCountryPanel",
7135
- "privacy": "private"
7136
- },
7137
- {
7138
- "kind": "method",
7139
- "name": "onCountryKeyDown",
8240
+ "name": "focusControl",
7140
8241
  "privacy": "private",
7141
8242
  "return": {
7142
8243
  "type": {
7143
8244
  "text": "void"
7144
8245
  }
7145
- },
7146
- "parameters": [
7147
- {
7148
- "name": "event",
7149
- "type": {
7150
- "text": "KeyboardEvent"
7151
- }
7152
- }
7153
- ]
7154
- },
7155
- {
7156
- "kind": "method",
7157
- "name": "renderCountryPicker",
7158
- "privacy": "private",
7159
- "return": {
7160
- "type": {
7161
- "text": "TemplateResult"
7162
- }
7163
8246
  }
7164
- },
8247
+ }
8248
+ ],
8249
+ "attributes": [
7165
8250
  {
7166
- "kind": "method",
7167
- "name": "onChange",
7168
- "privacy": "private",
7169
- "return": {
7170
- "type": {
7171
- "text": "void"
7172
- }
8251
+ "name": "label",
8252
+ "type": {
8253
+ "text": "string"
7173
8254
  },
7174
- "parameters": [
7175
- {
7176
- "name": "event",
7177
- "type": {
7178
- "text": "Event"
7179
- }
7180
- }
7181
- ]
7182
- },
7183
- {
7184
- "kind": "method",
7185
- "name": "clear",
7186
- "privacy": "private",
7187
- "return": {
7188
- "type": {
7189
- "text": "void"
7190
- }
7191
- }
7192
- },
7193
- {
7194
- "kind": "method",
7195
- "name": "togglePassword",
7196
- "privacy": "private",
7197
- "return": {
7198
- "type": {
7199
- "text": "void"
7200
- }
7201
- }
8255
+ "default": "''",
8256
+ "description": "The label text.",
8257
+ "fieldName": "label"
7202
8258
  },
7203
8259
  {
7204
- "kind": "method",
7205
- "name": "onFieldPointerDown",
7206
- "privacy": "private",
7207
- "return": {
7208
- "type": {
7209
- "text": "void"
7210
- }
8260
+ "name": "required",
8261
+ "type": {
8262
+ "text": "boolean"
7211
8263
  },
7212
- "parameters": [
7213
- {
7214
- "name": "event",
7215
- "type": {
7216
- "text": "PointerEvent"
7217
- }
7218
- }
7219
- ],
7220
- "description": "Clicking the padding around the input should focus it, as on a native field."
8264
+ "default": "false",
8265
+ "description": "Appends a red asterisk and marks the control required for screen readers.",
8266
+ "fieldName": "required"
7221
8267
  }
7222
8268
  ],
7223
- "events": [
8269
+ "superclass": {
8270
+ "name": "KtElement",
8271
+ "module": "dist/components/forms/kt-label-input/kt-label-input.js"
8272
+ },
8273
+ "tagName": "kt-label-input",
8274
+ "customElement": true
8275
+ }
8276
+ ],
8277
+ "exports": [
8278
+ {
8279
+ "kind": "js",
8280
+ "name": "KtLabelInput",
8281
+ "declaration": {
8282
+ "name": "KtLabelInput",
8283
+ "module": "dist/components/forms/kt-label-input/kt-label-input.js"
8284
+ }
8285
+ }
8286
+ ]
8287
+ },
8288
+ {
8289
+ "kind": "javascript-module",
8290
+ "path": "dist/components/forms/kt-radio-group/kt-radio-group.js",
8291
+ "declarations": [
8292
+ {
8293
+ "kind": "class",
8294
+ "description": "One option of a `<kt-radio-group>`.\n\nIt draws itself and carries `role=\"radio\"`; the group owns the selection,\nthe tab stop and the keyboard. A `<kt-radio>` outside a group does nothing\nuseful.",
8295
+ "name": "KtRadio",
8296
+ "cssParts": [
7224
8297
  {
7225
- "description": "On every keystroke. `detail: { value }`.",
7226
- "name": "kt-input"
8298
+ "description": "The `role=\"radio\"` row.",
8299
+ "name": "base"
7227
8300
  },
7228
8301
  {
7229
- "description": "When the value is committed (blur or Enter). `detail: { value }`.",
7230
- "name": "kt-change"
7231
- },
8302
+ "description": "The drawn circle.",
8303
+ "name": "circle"
8304
+ }
8305
+ ],
8306
+ "slots": [
7232
8307
  {
7233
- "description": "The clear button was pressed.",
7234
- "name": "kt-clear"
8308
+ "description": "The label.",
8309
+ "name": ""
7235
8310
  }
7236
8311
  ],
7237
- "attributes": [
8312
+ "members": [
7238
8313
  {
8314
+ "kind": "field",
7239
8315
  "name": "value",
7240
8316
  "type": {
7241
8317
  "text": "string"
7242
8318
  },
7243
8319
  "default": "''",
7244
- "description": "The field's value. The `value` attribute seeds it and acts as the reset value.",
7245
- "fieldName": "value"
7246
- },
7247
- {
7248
- "name": "name",
7249
- "type": {
7250
- "text": "string"
7251
- },
7252
- "default": "''",
7253
- "fieldName": "name"
8320
+ "description": "Submitted by the group when this option is chosen.",
8321
+ "attribute": "value",
8322
+ "reflects": true
7254
8323
  },
7255
8324
  {
7256
- "name": "type",
8325
+ "kind": "field",
8326
+ "name": "disabled",
7257
8327
  "type": {
7258
- "text": "string"
8328
+ "text": "boolean"
7259
8329
  },
7260
- "default": "'text'",
7261
- "description": "Any native input type. `password` adds the reveal toggle.",
7262
- "fieldName": "type"
8330
+ "default": "false",
8331
+ "attribute": "disabled",
8332
+ "reflects": true
7263
8333
  },
7264
8334
  {
7265
- "name": "placeholder",
8335
+ "kind": "field",
8336
+ "name": "checked",
7266
8337
  "type": {
7267
- "text": "string"
8338
+ "text": "boolean"
7268
8339
  },
7269
- "default": "''",
7270
- "fieldName": "placeholder"
8340
+ "default": "false",
8341
+ "description": "Set by the group.",
8342
+ "attribute": "checked",
8343
+ "reflects": true
7271
8344
  },
7272
8345
  {
7273
- "name": "size",
8346
+ "kind": "field",
8347
+ "name": "tabbable",
7274
8348
  "type": {
7275
- "text": "KtInputSize"
8349
+ "text": "boolean"
7276
8350
  },
7277
- "default": "'medium'",
7278
- "description": "Field height: 32 / 40 / 48px at the desktop scale.",
7279
- "fieldName": "size"
8351
+ "default": "false",
8352
+ "description": "Set by the group: whether this option holds the group's one tab stop."
7280
8353
  },
7281
8354
  {
7282
- "name": "disabled",
8355
+ "kind": "field",
8356
+ "name": "invalid",
7283
8357
  "type": {
7284
8358
  "text": "boolean"
7285
8359
  },
7286
8360
  "default": "false",
7287
- "fieldName": "disabled"
8361
+ "description": "Set by the group while it reports an error.",
8362
+ "attribute": "invalid",
8363
+ "reflects": true
7288
8364
  },
7289
8365
  {
7290
- "name": "readonly",
8366
+ "kind": "field",
8367
+ "name": "groupDisabled",
7291
8368
  "type": {
7292
8369
  "text": "boolean"
7293
8370
  },
7294
8371
  "default": "false",
7295
- "fieldName": "readonly"
8372
+ "description": "Set by the group while the whole group is disabled.",
8373
+ "attribute": "group-disabled",
8374
+ "reflects": true
7296
8375
  },
7297
8376
  {
7298
- "name": "required",
8377
+ "kind": "field",
8378
+ "name": "inactive",
7299
8379
  "type": {
7300
8380
  "text": "boolean"
7301
8381
  },
7302
- "default": "false",
7303
- "fieldName": "required"
8382
+ "privacy": "private",
8383
+ "readonly": true
7304
8384
  },
7305
8385
  {
7306
- "name": "icon",
7307
- "type": {
7308
- "text": "string"
8386
+ "kind": "method",
8387
+ "name": "focus",
8388
+ "return": {
8389
+ "type": {
8390
+ "text": "void"
8391
+ }
7309
8392
  },
7310
- "default": "''",
7311
- "description": "Trailing Lucide icon, kebab-case.",
7312
- "fieldName": "icon"
7313
- },
8393
+ "parameters": [
8394
+ {
8395
+ "name": "options",
8396
+ "optional": true,
8397
+ "type": {
8398
+ "text": "FocusOptions"
8399
+ }
8400
+ }
8401
+ ]
8402
+ }
8403
+ ],
8404
+ "attributes": [
7314
8405
  {
7315
- "name": "error",
8406
+ "name": "value",
7316
8407
  "type": {
7317
8408
  "text": "string"
7318
8409
  },
7319
8410
  "default": "''",
7320
- "description": "Error message. A non-empty value puts the field in its error state.",
7321
- "fieldName": "error"
8411
+ "description": "Submitted by the group when this option is chosen.",
8412
+ "fieldName": "value"
7322
8413
  },
7323
8414
  {
7324
- "name": "clearable",
8415
+ "name": "disabled",
7325
8416
  "type": {
7326
8417
  "text": "boolean"
7327
8418
  },
7328
- "default": "true",
7329
- "description": "Shows the clear button once there is something to clear.",
7330
- "fieldName": "clearable"
7331
- },
7332
- {
7333
- "name": "label",
7334
- "type": {
7335
- "text": "string"
7336
- },
7337
- "default": "''",
7338
- "description": "Accessible name, when no `<kt-label-input>` wraps the field.",
7339
- "fieldName": "label"
8419
+ "default": "false",
8420
+ "fieldName": "disabled"
7340
8421
  },
7341
8422
  {
7342
- "name": "autocomplete",
8423
+ "name": "checked",
7343
8424
  "type": {
7344
- "text": "string"
8425
+ "text": "boolean"
7345
8426
  },
7346
- "default": "''",
7347
- "fieldName": "autocomplete"
8427
+ "default": "false",
8428
+ "description": "Set by the group.",
8429
+ "fieldName": "checked"
7348
8430
  },
7349
8431
  {
7350
- "name": "maxlength",
8432
+ "name": "invalid",
7351
8433
  "type": {
7352
- "text": "number | undefined"
8434
+ "text": "boolean"
7353
8435
  },
7354
- "fieldName": "maxlength"
8436
+ "default": "false",
8437
+ "description": "Set by the group while it reports an error.",
8438
+ "fieldName": "invalid"
7355
8439
  },
7356
8440
  {
7357
- "name": "country",
8441
+ "name": "group-disabled",
7358
8442
  "type": {
7359
- "text": "string"
8443
+ "text": "boolean"
7360
8444
  },
7361
- "default": "'us'",
7362
- "description": "Selected country in phone mode, as an ISO 3166-1 alpha-2 code.",
7363
- "fieldName": "country"
8445
+ "default": "false",
8446
+ "description": "Set by the group while the whole group is disabled.",
8447
+ "fieldName": "groupDisabled"
7364
8448
  }
7365
8449
  ],
7366
8450
  "superclass": {
7367
8451
  "name": "KtElement",
7368
- "module": "dist/components/forms/kt-input/kt-input.js"
8452
+ "module": "dist/components/forms/kt-radio-group/kt-radio-group.js"
7369
8453
  },
7370
- "tagName": "kt-input",
8454
+ "tagName": "kt-radio",
7371
8455
  "customElement": true
7372
- }
7373
- ],
7374
- "exports": [
7375
- {
7376
- "kind": "js",
7377
- "name": "KtInput",
7378
- "declaration": {
7379
- "name": "KtInput",
7380
- "module": "dist/components/forms/kt-input/kt-input.js"
7381
- }
7382
- }
7383
- ]
7384
- },
7385
- {
7386
- "kind": "javascript-module",
7387
- "path": "dist/components/forms/kt-input-menu/kt-input-menu.js",
7388
- "declarations": [
8456
+ },
7389
8457
  {
7390
8458
  "kind": "class",
7391
- "description": "A combobox: type to narrow the list, then pick.\n\nReach for it over `<kt-select>` once the list is long enough that scanning it\nis slower than typing three letters — somewhere around twenty options.",
7392
- "name": "KtInputMenu",
8459
+ "description": "One choice among a few, all visible at once.\n\nReach for it over `<kt-select>` when there are few enough options to show\nthem all — seeing every option is the point — and over\n`<kt-segmented-control>` when the options need a sentence each, or the\nchoice belongs in a form rather than a toolbar.\n\nNative radios cannot form a group across shadow roots, so this is the ARIA\nradio group pattern: one tab stop for the whole group, arrow keys move and\nselect, disabled options are skipped.",
8460
+ "name": "KtRadioGroup",
7393
8461
  "cssParts": [
7394
8462
  {
7395
- "description": "The field.",
7396
- "name": "control"
7397
- },
7398
- {
7399
- "description": "The native `<input>`.",
7400
- "name": "input"
7401
- },
7402
- {
7403
- "description": "The option list.",
7404
- "name": "popup"
7405
- },
8463
+ "description": "The `role=\"radiogroup\"` container.",
8464
+ "name": "base"
8465
+ }
8466
+ ],
8467
+ "slots": [
7406
8468
  {
7407
- "description": "An option row.",
7408
- "name": "option"
8469
+ "description": "The `<kt-radio>` options.",
8470
+ "name": ""
7409
8471
  }
7410
8472
  ],
7411
8473
  "members": [
@@ -7421,9 +8483,9 @@
7421
8483
  },
7422
8484
  {
7423
8485
  "kind": "field",
7424
- "name": "input",
8486
+ "name": "radios",
7425
8487
  "type": {
7426
- "text": "HTMLInputElement"
8488
+ "text": "KtRadio[]"
7427
8489
  },
7428
8490
  "privacy": "private"
7429
8491
  },
@@ -7440,78 +8502,40 @@
7440
8502
  "kind": "field",
7441
8503
  "name": "defaultValue",
7442
8504
  "type": {
7443
- "text": "string | number | null"
8505
+ "text": "string | null"
7444
8506
  },
7445
8507
  "privacy": "private",
7446
8508
  "default": "null"
7447
8509
  },
7448
- {
7449
- "kind": "field",
7450
- "name": "listId",
7451
- "privacy": "private",
7452
- "readonly": true
7453
- },
7454
- {
7455
- "kind": "field",
7456
- "name": "open",
7457
- "type": {
7458
- "text": "boolean"
7459
- },
7460
- "privacy": "private",
7461
- "default": "false"
7462
- },
7463
- {
7464
- "kind": "field",
7465
- "name": "query",
7466
- "type": {
7467
- "text": "string"
7468
- },
7469
- "privacy": "private",
7470
- "default": "''"
7471
- },
7472
- {
7473
- "kind": "field",
7474
- "name": "activeIndex",
7475
- "type": {
7476
- "text": "number"
7477
- },
7478
- "privacy": "private",
7479
- "default": "-1"
7480
- },
7481
- {
7482
- "kind": "field",
7483
- "name": "options",
7484
- "type": {
7485
- "text": "readonly KtOption[]"
7486
- },
7487
- "default": "[]"
7488
- },
7489
8510
  {
7490
8511
  "kind": "field",
7491
8512
  "name": "value",
7492
8513
  "type": {
7493
- "text": "string | number | null"
8514
+ "text": "string | null"
7494
8515
  },
7495
8516
  "default": "null",
7496
- "attribute": "value"
8517
+ "description": "The chosen option's value, or `null`.",
8518
+ "attribute": "value",
8519
+ "reflects": true
7497
8520
  },
7498
8521
  {
7499
8522
  "kind": "field",
7500
- "name": "placeholder",
8523
+ "name": "name",
7501
8524
  "type": {
7502
8525
  "text": "string"
7503
8526
  },
7504
8527
  "default": "''",
7505
- "attribute": "placeholder"
8528
+ "attribute": "name"
7506
8529
  },
7507
8530
  {
7508
8531
  "kind": "field",
7509
- "name": "name",
8532
+ "name": "label",
7510
8533
  "type": {
7511
8534
  "text": "string"
7512
8535
  },
7513
8536
  "default": "''",
7514
- "attribute": "name"
8537
+ "description": "Accessible name of the group.",
8538
+ "attribute": "label"
7515
8539
  },
7516
8540
  {
7517
8541
  "kind": "field",
@@ -7535,123 +8559,28 @@
7535
8559
  },
7536
8560
  {
7537
8561
  "kind": "field",
7538
- "name": "error",
8562
+ "name": "orientation",
7539
8563
  "type": {
7540
- "text": "string"
8564
+ "text": "KtRadioGroupOrientation"
7541
8565
  },
7542
- "default": "''",
7543
- "attribute": "error",
8566
+ "default": "'vertical'",
8567
+ "attribute": "orientation",
7544
8568
  "reflects": true
7545
8569
  },
7546
8570
  {
7547
- "kind": "field",
7548
- "name": "label",
7549
- "type": {
7550
- "text": "string"
7551
- },
7552
- "default": "''",
7553
- "attribute": "label"
7554
- },
7555
- {
7556
- "kind": "field",
7557
- "name": "emptyText",
7558
- "type": {
7559
- "text": "string"
7560
- },
7561
- "default": "'No options available'",
7562
- "attribute": "empty-text"
7563
- },
7564
- {
7565
- "kind": "method",
7566
- "name": "formResetCallback",
7567
- "return": {
7568
- "type": {
7569
- "text": "void"
7570
- }
7571
- }
7572
- },
7573
- {
7574
- "kind": "method",
7575
- "name": "formStateRestoreCallback",
7576
- "return": {
7577
- "type": {
7578
- "text": "void"
7579
- }
7580
- },
7581
- "parameters": [
7582
- {
7583
- "name": "state",
7584
- "type": {
7585
- "text": "string"
7586
- }
7587
- }
7588
- ]
7589
- },
7590
- {
7591
- "kind": "method",
7592
- "name": "focus",
7593
- "return": {
7594
- "type": {
7595
- "text": "void"
7596
- }
7597
- },
7598
- "parameters": [
7599
- {
7600
- "name": "options",
7601
- "optional": true,
7602
- "type": {
7603
- "text": "FocusOptions"
7604
- }
7605
- }
7606
- ]
7607
- },
7608
- {
7609
- "kind": "field",
7610
- "name": "selectedOption",
7611
- "type": {
7612
- "text": "KtOption | undefined"
7613
- },
7614
- "readonly": true
7615
- },
7616
- {
7617
- "kind": "field",
7618
- "name": "visibleOptions",
7619
- "type": {
7620
- "text": "readonly KtOption[]"
7621
- },
7622
- "privacy": "private",
7623
- "description": "Options after the current query, which is what the keyboard walks.",
7624
- "readonly": true
7625
- },
7626
- {
7627
- "kind": "field",
7628
- "name": "displayValue",
7629
- "type": {
7630
- "text": "string"
7631
- },
7632
- "privacy": "private",
7633
- "description": "While filtering, the field shows the query; otherwise it shows the chosen\noption. Keeping the two in one input is what makes it a combobox rather\nthan a search box that happens to sit above a list.",
7634
- "readonly": true
7635
- },
7636
- {
7637
- "kind": "field",
7638
- "name": "onDocumentPointerDown",
7639
- "privacy": "private"
7640
- },
7641
- {
7642
- "kind": "method",
7643
- "name": "openList",
7644
- "privacy": "private",
7645
- "return": {
7646
- "type": {
7647
- "text": "void"
7648
- }
7649
- }
8571
+ "kind": "field",
8572
+ "name": "error",
8573
+ "type": {
8574
+ "text": "string"
8575
+ },
8576
+ "default": "''",
8577
+ "description": "Error message. A non-empty value puts the group in its error state.",
8578
+ "attribute": "error",
8579
+ "reflects": true
7650
8580
  },
7651
8581
  {
7652
8582
  "kind": "method",
7653
- "name": "close",
7654
- "privacy": "private",
8583
+ "name": "formResetCallback",
7655
8584
  "return": {
7656
8585
  "type": {
7657
8586
  "text": "void"
@@ -7660,8 +8589,7 @@
7660
8589
  },
7661
8590
  {
7662
8591
  "kind": "method",
7663
- "name": "onInput",
7664
- "privacy": "private",
8592
+ "name": "formStateRestoreCallback",
7665
8593
  "return": {
7666
8594
  "type": {
7667
8595
  "text": "void"
@@ -7669,17 +8597,16 @@
7669
8597
  },
7670
8598
  "parameters": [
7671
8599
  {
7672
- "name": "event",
8600
+ "name": "state",
7673
8601
  "type": {
7674
- "text": "Event"
8602
+ "text": "string | null"
7675
8603
  }
7676
8604
  }
7677
8605
  ]
7678
8606
  },
7679
8607
  {
7680
8608
  "kind": "method",
7681
- "name": "choose",
7682
- "privacy": "private",
8609
+ "name": "focus",
7683
8610
  "return": {
7684
8611
  "type": {
7685
8612
  "text": "void"
@@ -7687,34 +8614,33 @@
7687
8614
  },
7688
8615
  "parameters": [
7689
8616
  {
7690
- "name": "option",
8617
+ "name": "options",
8618
+ "optional": true,
7691
8619
  "type": {
7692
- "text": "KtOption"
8620
+ "text": "FocusOptions"
7693
8621
  }
7694
8622
  }
7695
8623
  ]
7696
8624
  },
7697
8625
  {
7698
8626
  "kind": "method",
7699
- "name": "clear",
8627
+ "name": "enabled",
7700
8628
  "privacy": "private",
7701
8629
  "return": {
7702
8630
  "type": {
7703
- "text": "void"
7704
- }
7705
- },
7706
- "parameters": [
7707
- {
7708
- "name": "event",
7709
- "type": {
7710
- "text": "Event"
7711
- }
8631
+ "text": "KtRadio[]"
7712
8632
  }
7713
- ]
8633
+ }
8634
+ },
8635
+ {
8636
+ "kind": "field",
8637
+ "name": "syncRadios",
8638
+ "privacy": "private",
8639
+ "description": "Pushes the group's state down; the radios are the display, not the truth.\nThe tab stop sits on the chosen option, or the first enabled one."
7714
8640
  },
7715
8641
  {
7716
8642
  "kind": "method",
7717
- "name": "onKeyDown",
8643
+ "name": "choose",
7718
8644
  "privacy": "private",
7719
8645
  "return": {
7720
8646
  "type": {
@@ -7723,66 +8649,57 @@
7723
8649
  },
7724
8650
  "parameters": [
7725
8651
  {
7726
- "name": "event",
8652
+ "name": "radio",
7727
8653
  "type": {
7728
- "text": "KeyboardEvent"
8654
+ "text": "KtRadio"
7729
8655
  }
7730
8656
  }
7731
8657
  ]
7732
8658
  },
7733
8659
  {
7734
- "kind": "method",
7735
- "name": "optionId",
8660
+ "kind": "field",
8661
+ "name": "onClick",
8662
+ "privacy": "private"
8663
+ },
8664
+ {
8665
+ "kind": "field",
8666
+ "name": "onKeyDown",
7736
8667
  "privacy": "private",
7737
- "return": {
7738
- "type": {
7739
- "text": "string"
7740
- }
7741
- },
7742
- "parameters": [
7743
- {
7744
- "name": "index",
7745
- "type": {
7746
- "text": "number"
7747
- }
7748
- }
7749
- ]
8668
+ "description": "Arrows move and select, wrapping; Space selects the focused option."
7750
8669
  }
7751
8670
  ],
7752
8671
  "events": [
7753
8672
  {
7754
- "description": "An option was chosen or cleared. `detail: { value, option }`.",
8673
+ "description": "An option was chosen. `detail: { value }`.",
7755
8674
  "name": "kt-change"
7756
- },
7757
- {
7758
- "description": "The query changed. `detail: { query }`.",
7759
- "name": "kt-filter"
7760
8675
  }
7761
8676
  ],
7762
8677
  "attributes": [
7763
8678
  {
7764
8679
  "name": "value",
7765
8680
  "type": {
7766
- "text": "string | number | null"
8681
+ "text": "string | null"
7767
8682
  },
7768
8683
  "default": "null",
8684
+ "description": "The chosen option's value, or `null`.",
7769
8685
  "fieldName": "value"
7770
8686
  },
7771
8687
  {
7772
- "name": "placeholder",
8688
+ "name": "name",
7773
8689
  "type": {
7774
8690
  "text": "string"
7775
8691
  },
7776
8692
  "default": "''",
7777
- "fieldName": "placeholder"
8693
+ "fieldName": "name"
7778
8694
  },
7779
8695
  {
7780
- "name": "name",
8696
+ "name": "label",
7781
8697
  "type": {
7782
8698
  "text": "string"
7783
8699
  },
7784
8700
  "default": "''",
7785
- "fieldName": "name"
8701
+ "description": "Accessible name of the group.",
8702
+ "fieldName": "label"
7786
8703
  },
7787
8704
  {
7788
8705
  "name": "disabled",
@@ -7801,164 +8718,46 @@
7801
8718
  "fieldName": "required"
7802
8719
  },
7803
8720
  {
7804
- "name": "error",
8721
+ "name": "orientation",
7805
8722
  "type": {
7806
- "text": "string"
8723
+ "text": "KtRadioGroupOrientation"
7807
8724
  },
7808
- "default": "''",
7809
- "fieldName": "error"
8725
+ "default": "'vertical'",
8726
+ "fieldName": "orientation"
7810
8727
  },
7811
8728
  {
7812
- "name": "label",
8729
+ "name": "error",
7813
8730
  "type": {
7814
8731
  "text": "string"
7815
8732
  },
7816
8733
  "default": "''",
7817
- "fieldName": "label"
7818
- },
7819
- {
7820
- "name": "empty-text",
7821
- "type": {
7822
- "text": "string"
7823
- },
7824
- "default": "'No options available'",
7825
- "fieldName": "emptyText"
8734
+ "description": "Error message. A non-empty value puts the group in its error state.",
8735
+ "fieldName": "error"
7826
8736
  }
7827
8737
  ],
7828
8738
  "superclass": {
7829
8739
  "name": "KtElement",
7830
- "module": "dist/components/forms/kt-input-menu/kt-input-menu.js"
8740
+ "module": "dist/components/forms/kt-radio-group/kt-radio-group.js"
7831
8741
  },
7832
- "tagName": "kt-input-menu",
8742
+ "tagName": "kt-radio-group",
7833
8743
  "customElement": true
7834
8744
  }
7835
8745
  ],
7836
8746
  "exports": [
7837
8747
  {
7838
8748
  "kind": "js",
7839
- "name": "KtInputMenu",
8749
+ "name": "KtRadio",
7840
8750
  "declaration": {
7841
- "name": "KtInputMenu",
7842
- "module": "dist/components/forms/kt-input-menu/kt-input-menu.js"
8751
+ "name": "KtRadio",
8752
+ "module": "dist/components/forms/kt-radio-group/kt-radio-group.js"
7843
8753
  }
7844
- }
7845
- ]
7846
- },
7847
- {
7848
- "kind": "javascript-module",
7849
- "path": "dist/components/forms/kt-label-input/kt-label-input.js",
7850
- "declarations": [
7851
- {
7852
- "kind": "class",
7853
- "description": "A label above a form control, with a red asterisk when it is required.\n\nNative label association does not cross a shadow boundary — `for` and\nimplicit wrapping both need the label and the control in the same tree — so\nthis element passes its text down to the slotted control's `label` property\ninstead, which becomes the control's `aria-label`. Clicking the label still\nfocuses the control, as it would natively.",
7854
- "name": "KtLabelInput",
7855
- "cssParts": [
7856
- {
7857
- "description": "The `<label>`.",
7858
- "name": "label"
7859
- }
7860
- ],
7861
- "slots": [
7862
- {
7863
- "description": "The form control to label.",
7864
- "name": ""
7865
- }
7866
- ],
7867
- "members": [
7868
- {
7869
- "kind": "field",
7870
- "name": "defaultSlot",
7871
- "type": {
7872
- "text": "HTMLSlotElement"
7873
- },
7874
- "privacy": "private"
7875
- },
7876
- {
7877
- "kind": "field",
7878
- "name": "label",
7879
- "type": {
7880
- "text": "string"
7881
- },
7882
- "default": "''",
7883
- "description": "The label text.",
7884
- "attribute": "label"
7885
- },
7886
- {
7887
- "kind": "field",
7888
- "name": "required",
7889
- "type": {
7890
- "text": "boolean"
7891
- },
7892
- "default": "false",
7893
- "description": "Appends a red asterisk and marks the control required for screen readers.",
7894
- "attribute": "required",
7895
- "reflects": true
7896
- },
7897
- {
7898
- "kind": "field",
7899
- "name": "control",
7900
- "type": {
7901
- "text": "Labelable | undefined"
7902
- },
7903
- "privacy": "private",
7904
- "readonly": true
7905
- },
7906
- {
7907
- "kind": "method",
7908
- "name": "labelControl",
7909
- "privacy": "private",
7910
- "return": {
7911
- "type": {
7912
- "text": "void"
7913
- }
7914
- }
7915
- },
7916
- {
7917
- "kind": "method",
7918
- "name": "focusControl",
7919
- "privacy": "private",
7920
- "return": {
7921
- "type": {
7922
- "text": "void"
7923
- }
7924
- }
7925
- }
7926
- ],
7927
- "attributes": [
7928
- {
7929
- "name": "label",
7930
- "type": {
7931
- "text": "string"
7932
- },
7933
- "default": "''",
7934
- "description": "The label text.",
7935
- "fieldName": "label"
7936
- },
7937
- {
7938
- "name": "required",
7939
- "type": {
7940
- "text": "boolean"
7941
- },
7942
- "default": "false",
7943
- "description": "Appends a red asterisk and marks the control required for screen readers.",
7944
- "fieldName": "required"
7945
- }
7946
- ],
7947
- "superclass": {
7948
- "name": "KtElement",
7949
- "module": "dist/components/forms/kt-label-input/kt-label-input.js"
7950
- },
7951
- "tagName": "kt-label-input",
7952
- "customElement": true
7953
- }
7954
- ],
7955
- "exports": [
8754
+ },
7956
8755
  {
7957
8756
  "kind": "js",
7958
- "name": "KtLabelInput",
8757
+ "name": "KtRadioGroup",
7959
8758
  "declaration": {
7960
- "name": "KtLabelInput",
7961
- "module": "dist/components/forms/kt-label-input/kt-label-input.js"
8759
+ "name": "KtRadioGroup",
8760
+ "module": "dist/components/forms/kt-radio-group/kt-radio-group.js"
7962
8761
  }
7963
8762
  }
7964
8763
  ]
@@ -8062,9 +8861,9 @@
8062
8861
  "kind": "field",
8063
8862
  "name": "placeholder",
8064
8863
  "type": {
8065
- "text": "string"
8864
+ "text": "string | undefined"
8066
8865
  },
8067
- "default": "'Select'",
8866
+ "default": "undefined",
8068
8867
  "attribute": "placeholder"
8069
8868
  },
8070
8869
  {
@@ -8141,9 +8940,9 @@
8141
8940
  "kind": "field",
8142
8941
  "name": "emptyText",
8143
8942
  "type": {
8144
- "text": "string"
8943
+ "text": "string | undefined"
8145
8944
  },
8146
- "default": "'No options available'",
8945
+ "default": "undefined",
8147
8946
  "description": "Shown when `options` is empty.",
8148
8947
  "attribute": "empty-text"
8149
8948
  },
@@ -8327,9 +9126,9 @@
8327
9126
  {
8328
9127
  "name": "placeholder",
8329
9128
  "type": {
8330
- "text": "string"
9129
+ "text": "string | undefined"
8331
9130
  },
8332
- "default": "'Select'",
9131
+ "default": "undefined",
8333
9132
  "fieldName": "placeholder"
8334
9133
  },
8335
9134
  {
@@ -8394,9 +9193,9 @@
8394
9193
  {
8395
9194
  "name": "empty-text",
8396
9195
  "type": {
8397
- "text": "string"
9196
+ "text": "string | undefined"
8398
9197
  },
8399
- "default": "'No options available'",
9198
+ "default": "undefined",
8400
9199
  "description": "Shown when `options` is empty.",
8401
9200
  "fieldName": "emptyText"
8402
9201
  }
@@ -9094,9 +9893,9 @@
9094
9893
  "kind": "field",
9095
9894
  "name": "label",
9096
9895
  "type": {
9097
- "text": "string"
9896
+ "text": "string | undefined"
9098
9897
  },
9099
- "default": "'Breadcrumb'",
9898
+ "default": "undefined",
9100
9899
  "description": "Accessible name for the navigation landmark.",
9101
9900
  "attribute": "label"
9102
9901
  },
@@ -9141,9 +9940,9 @@
9141
9940
  {
9142
9941
  "name": "label",
9143
9942
  "type": {
9144
- "text": "string"
9943
+ "text": "string | undefined"
9145
9944
  },
9146
- "default": "'Breadcrumb'",
9945
+ "default": "undefined",
9147
9946
  "description": "Accessible name for the navigation landmark.",
9148
9947
  "fieldName": "label"
9149
9948
  }
@@ -9844,9 +10643,9 @@
9844
10643
  "kind": "field",
9845
10644
  "name": "label",
9846
10645
  "type": {
9847
- "text": "string"
10646
+ "text": "string | undefined"
9848
10647
  },
9849
- "default": "'Secondary navigation'",
10648
+ "default": "undefined",
9850
10649
  "attribute": "label"
9851
10650
  },
9852
10651
  {
@@ -10075,9 +10874,9 @@
10075
10874
  {
10076
10875
  "name": "label",
10077
10876
  "type": {
10078
- "text": "string"
10877
+ "text": "string | undefined"
10079
10878
  },
10080
- "default": "'Secondary navigation'",
10879
+ "default": "undefined",
10081
10880
  "fieldName": "label"
10082
10881
  },
10083
10882
  {
@@ -10898,9 +11697,9 @@
10898
11697
  "kind": "field",
10899
11698
  "name": "heading",
10900
11699
  "type": {
10901
- "text": "string"
11700
+ "text": "string | undefined"
10902
11701
  },
10903
- "default": "'Are you sure?'",
11702
+ "default": "undefined",
10904
11703
  "attribute": "heading"
10905
11704
  },
10906
11705
  {
@@ -10916,18 +11715,18 @@
10916
11715
  "kind": "field",
10917
11716
  "name": "confirmLabel",
10918
11717
  "type": {
10919
- "text": "string"
11718
+ "text": "string | undefined"
10920
11719
  },
10921
- "default": "'Confirm'",
11720
+ "default": "undefined",
10922
11721
  "attribute": "confirm-label"
10923
11722
  },
10924
11723
  {
10925
11724
  "kind": "field",
10926
11725
  "name": "cancelLabel",
10927
11726
  "type": {
10928
- "text": "string"
11727
+ "text": "string | undefined"
10929
11728
  },
10930
- "default": "'Cancel'",
11729
+ "default": "undefined",
10931
11730
  "attribute": "cancel-label"
10932
11731
  },
10933
11732
  {
@@ -11013,9 +11812,9 @@
11013
11812
  {
11014
11813
  "name": "heading",
11015
11814
  "type": {
11016
- "text": "string"
11815
+ "text": "string | undefined"
11017
11816
  },
11018
- "default": "'Are you sure?'",
11817
+ "default": "undefined",
11019
11818
  "fieldName": "heading"
11020
11819
  },
11021
11820
  {
@@ -11029,17 +11828,17 @@
11029
11828
  {
11030
11829
  "name": "confirm-label",
11031
11830
  "type": {
11032
- "text": "string"
11831
+ "text": "string | undefined"
11033
11832
  },
11034
- "default": "'Confirm'",
11833
+ "default": "undefined",
11035
11834
  "fieldName": "confirmLabel"
11036
11835
  },
11037
11836
  {
11038
11837
  "name": "cancel-label",
11039
11838
  "type": {
11040
- "text": "string"
11839
+ "text": "string | undefined"
11041
11840
  },
11042
- "default": "'Cancel'",
11841
+ "default": "undefined",
11043
11842
  "fieldName": "cancelLabel"
11044
11843
  },
11045
11844
  {
@@ -11201,9 +12000,9 @@
11201
12000
  "kind": "field",
11202
12001
  "name": "emptyText",
11203
12002
  "type": {
11204
- "text": "string"
12003
+ "text": "string | undefined"
11205
12004
  },
11206
- "default": "'No results'",
12005
+ "default": "undefined",
11207
12006
  "attribute": "empty-text"
11208
12007
  },
11209
12008
  {
@@ -11339,9 +12138,9 @@
11339
12138
  {
11340
12139
  "name": "empty-text",
11341
12140
  "type": {
11342
- "text": "string"
12141
+ "text": "string | undefined"
11343
12142
  },
11344
- "default": "'No results'",
12143
+ "default": "undefined",
11345
12144
  "fieldName": "emptyText"
11346
12145
  }
11347
12146
  ],
@@ -11661,9 +12460,9 @@
11661
12460
  "kind": "field",
11662
12461
  "name": "eyebrow",
11663
12462
  "type": {
11664
- "text": "string"
12463
+ "text": "string | undefined"
11665
12464
  },
11666
- "default": "'Details'",
12465
+ "default": "undefined",
11667
12466
  "description": "Small uppercase label above the heading — \"Details\", \"Editing\".",
11668
12467
  "attribute": "eyebrow"
11669
12468
  },
@@ -11744,9 +12543,9 @@
11744
12543
  {
11745
12544
  "name": "eyebrow",
11746
12545
  "type": {
11747
- "text": "string"
12546
+ "text": "string | undefined"
11748
12547
  },
11749
- "default": "'Details'",
12548
+ "default": "undefined",
11750
12549
  "description": "Small uppercase label above the heading — \"Details\", \"Editing\".",
11751
12550
  "fieldName": "eyebrow"
11752
12551
  },