@esri/calcite-components 5.2.0-next.70 → 5.2.0-next.71

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 (437) hide show
  1. package/dist/cdn/{UVW4ZA5Z.js → 26AMW3Y7.js} +1 -1
  2. package/dist/cdn/27M7QZOQ.js +2 -0
  3. package/dist/cdn/2BGZIFWC.js +2 -0
  4. package/dist/cdn/2LI2WSK2.js +2 -0
  5. package/dist/cdn/3TQTME3A.js +2 -0
  6. package/dist/cdn/{J5D56KAD.js → 3YXOYXQS.js} +1 -1
  7. package/dist/cdn/42R3WB34.js +2 -0
  8. package/dist/cdn/44URJSF6.js +2 -0
  9. package/dist/cdn/{AWGDXOB3.js → 4CKVNNVA.js} +1 -1
  10. package/dist/cdn/{5QN2KNKV.js → 4IEGHLUB.js} +1 -1
  11. package/dist/cdn/{VOCKM3G2.js → 4QWJ3PQW.js} +1 -1
  12. package/dist/cdn/55ZCEBXQ.js +2 -0
  13. package/dist/cdn/5EJJABY3.js +2 -0
  14. package/dist/cdn/5FHVRT5W.js +2 -0
  15. package/dist/cdn/5HAUXCLD.js +2 -0
  16. package/dist/cdn/{EC72OBDA.js → 5ZMTYU2S.js} +1 -1
  17. package/dist/cdn/{JQGAEFTP.js → 5ZP6DGQ5.js} +1 -1
  18. package/dist/cdn/65S4QXHI.js +2 -0
  19. package/dist/cdn/{LB2J5RLA.js → 6DNUL7AZ.js} +1 -1
  20. package/dist/cdn/{Q4VBFB6I.js → 6FTRN7VT.js} +1 -1
  21. package/dist/cdn/6ICHPOGP.js +2 -0
  22. package/dist/cdn/6ZJKBLIQ.js +2 -0
  23. package/dist/cdn/72YBU4O3.js +2 -0
  24. package/dist/cdn/74ECAFQJ.js +2 -0
  25. package/dist/cdn/7645KAWI.js +2 -0
  26. package/dist/cdn/7GEWW5US.js +2 -0
  27. package/dist/cdn/{LOUNVBIX.js → 7GLDU7HD.js} +1 -1
  28. package/dist/cdn/7MZBWZ7Q.js +2 -0
  29. package/dist/cdn/7NEKAOMD.js +2 -0
  30. package/dist/cdn/7VTO7SRW.js +2 -0
  31. package/dist/cdn/{TT5M5MYP.js → A4YY4UHP.js} +1 -1
  32. package/dist/cdn/A73HMGSK.js +2 -0
  33. package/dist/cdn/ABYUSTW3.js +2 -0
  34. package/dist/cdn/ADGTS2OK.js +2 -0
  35. package/dist/cdn/AGANMGGB.js +2 -0
  36. package/dist/cdn/{2C6EYXK7.js → AIMW7YN4.js} +1 -1
  37. package/dist/cdn/AJNKXK7Y.js +2 -0
  38. package/dist/cdn/{LZYVRSSC.js → AUNANDW7.js} +1 -1
  39. package/dist/cdn/{3BY6Q466.js → AVMDD4IV.js} +1 -1
  40. package/dist/cdn/B74JVUT5.js +2 -0
  41. package/dist/cdn/BANFSOZ2.js +2 -0
  42. package/dist/cdn/BAUIDYLP.js +2 -0
  43. package/dist/cdn/BGH3DF3F.js +2 -0
  44. package/dist/cdn/C2GIRCJE.js +2 -0
  45. package/dist/cdn/{D2M2O7D4.js → C3KDW2S3.js} +1 -1
  46. package/dist/cdn/C443MHF5.js +2 -0
  47. package/dist/cdn/CF4DNSBK.js +2 -0
  48. package/dist/cdn/CFAA6OEU.js +2 -0
  49. package/dist/cdn/CPIMZVBK.js +2 -0
  50. package/dist/cdn/CRKP35SW.js +2 -0
  51. package/dist/cdn/CS7AUEUH.js +2 -0
  52. package/dist/cdn/CWSCEXQ6.js +2 -0
  53. package/dist/cdn/D7L4R6ZM.js +2 -0
  54. package/dist/cdn/{EGB22AEH.js → DNTT6BU7.js} +1 -1
  55. package/dist/cdn/{VGB4JQR6.js → ELLHZ4H7.js} +1 -1
  56. package/dist/cdn/FIJYQ2BL.js +2 -0
  57. package/dist/cdn/{DZNQR26P.js → G5K3AVNG.js} +1 -1
  58. package/dist/cdn/{CNWFFIWK.js → GM7YKO3X.js} +1 -1
  59. package/dist/cdn/H72VMNF6.js +2 -0
  60. package/dist/cdn/{LV4KM6PC.js → HDRGPUZI.js} +1 -1
  61. package/dist/cdn/HXZZFGWS.js +2 -0
  62. package/dist/cdn/{4HLHOCHN.js → HZOV2FGD.js} +1 -1
  63. package/dist/cdn/ICU37I45.js +2 -0
  64. package/dist/cdn/IPBDTAL2.js +2 -0
  65. package/dist/cdn/IQ3WDI4D.js +2 -0
  66. package/dist/cdn/JAIH6OQY.js +2 -0
  67. package/dist/cdn/JE5FXCYF.js +2 -0
  68. package/dist/cdn/JL5DKMY6.js +2 -0
  69. package/dist/cdn/JS2HNNQ2.js +2 -0
  70. package/dist/cdn/{QEDVJK2B.js → JSYPP2YZ.js} +1 -1
  71. package/dist/cdn/JUZV5V77.js +2 -0
  72. package/dist/cdn/{M6Q3EIP6.js → K457S3R5.js} +1 -1
  73. package/dist/cdn/{F3UYZQJA.js → KJELNAUK.js} +1 -1
  74. package/dist/cdn/KKLSNN7K.js +2 -0
  75. package/dist/cdn/KPH4M6CH.js +2 -0
  76. package/dist/cdn/KUEZYDPX.js +2 -0
  77. package/dist/cdn/KY3QEJ2Z.js +2 -0
  78. package/dist/cdn/{HRRQ35FT.js → L7YRM6C7.js} +1 -1
  79. package/dist/cdn/LA7DTAAL.js +2 -0
  80. package/dist/cdn/LBWKM5DO.js +2 -0
  81. package/dist/cdn/LHHMILEZ.js +2 -0
  82. package/dist/cdn/LMHVWLLI.js +2 -0
  83. package/dist/cdn/{RESHNLJ6.js → LRBCKG22.js} +1 -1
  84. package/dist/cdn/M4I63PLV.js +2 -0
  85. package/dist/cdn/MBM7UIXE.js +2 -0
  86. package/dist/cdn/{HP6NC7YO.js → MDSZIF4O.js} +1 -1
  87. package/dist/cdn/{6KXM5OYZ.js → MPK7TRJR.js} +1 -1
  88. package/dist/cdn/{ZBS7TLZA.js → MV36JBLJ.js} +1 -1
  89. package/dist/cdn/N2WS4NPT.js +2 -0
  90. package/dist/cdn/NBRFWWCX.js +2 -0
  91. package/dist/cdn/NDXGLOPW.js +2 -0
  92. package/dist/cdn/NFOLLCAP.js +2 -0
  93. package/dist/cdn/NHTEHEQC.js +2 -0
  94. package/dist/cdn/NZI5P3FN.js +2 -0
  95. package/dist/cdn/O4HDOYJE.js +2 -0
  96. package/dist/cdn/O4TMHJJV.js +2 -0
  97. package/dist/cdn/O6ODDVDJ.js +2 -0
  98. package/dist/cdn/OASZUNHJ.js +2 -0
  99. package/dist/cdn/{STQ4T6ZL.js → OECZJ37N.js} +1 -1
  100. package/dist/cdn/OIP6YZ43.js +2 -0
  101. package/dist/cdn/{46RKFFGQ.js → ON2EBXUS.js} +1 -1
  102. package/dist/cdn/OPCI4HUN.js +2 -0
  103. package/dist/cdn/{M3AX6WGK.js → OSHD2OVR.js} +1 -1
  104. package/dist/cdn/OV47XRRL.js +2 -0
  105. package/dist/cdn/OWD4LPJX.js +2 -0
  106. package/dist/cdn/{IXNQ44YK.js → PE4BIUIM.js} +1 -1
  107. package/dist/cdn/PE6P2BSU.js +2 -0
  108. package/dist/cdn/PJWW7DUF.js +2 -0
  109. package/dist/cdn/{ORWRLRPO.js → PQVUAQNB.js} +1 -1
  110. package/dist/cdn/QMBYFIC4.js +2 -0
  111. package/dist/cdn/QXE27O5K.js +2 -0
  112. package/dist/cdn/{HCK7PO6R.js → RCJTNWLP.js} +1 -1
  113. package/dist/cdn/{BWX66GU4.js → RCTTVEAS.js} +1 -1
  114. package/dist/cdn/REEVKJJM.js +2 -0
  115. package/dist/cdn/{CLCNGAIT.js → RKHOOIJD.js} +1 -1
  116. package/dist/cdn/RKQQY7ES.js +2 -0
  117. package/dist/cdn/{37XKEBCL.js → RYA2FB6F.js} +1 -1
  118. package/dist/cdn/RYKHNS2Q.js +2 -0
  119. package/dist/cdn/S2365CIT.js +2 -0
  120. package/dist/cdn/SIR3ANXS.js +2 -0
  121. package/dist/cdn/T7AY5CYY.js +2 -0
  122. package/dist/cdn/T7NUADTF.js +2 -0
  123. package/dist/cdn/{LP6IKK7J.js → TCK454NG.js} +1 -1
  124. package/dist/cdn/TV356GMI.js +2 -0
  125. package/dist/cdn/{EJKJVQ73.js → TXA24Q3V.js} +1 -1
  126. package/dist/cdn/TXLH7EA7.js +2 -0
  127. package/dist/cdn/UKKA2HKT.js +2 -0
  128. package/dist/cdn/UN6EMDIE.js +2 -0
  129. package/dist/cdn/{2DKBRL6T.js → UYWIT3WT.js} +1 -1
  130. package/dist/cdn/{ZJ3XEIZR.js → V2SRURDO.js} +1 -1
  131. package/dist/cdn/VB5LUXWP.js +2 -0
  132. package/dist/cdn/VD4TVAGI.js +2 -0
  133. package/dist/cdn/{3FTLZWQG.js → VN5QSG2O.js} +1 -1
  134. package/dist/cdn/VRWDLOPE.js +2 -0
  135. package/dist/cdn/VXDPJESZ.js +2 -0
  136. package/dist/cdn/W2GRIMIN.js +2 -0
  137. package/dist/cdn/W5HUOA2R.js +2 -0
  138. package/dist/cdn/{S65BOXP4.js → X3QEZA6M.js} +1 -1
  139. package/dist/cdn/{O6WABKEC.js → XC3HATO3.js} +1 -1
  140. package/dist/cdn/{X2RWKE4D.js → XEMKZBRU.js} +1 -1
  141. package/dist/cdn/Y2CAKZRK.js +2 -0
  142. package/dist/cdn/YLRTPOX4.js +2 -0
  143. package/dist/cdn/YP43PNIU.js +2 -0
  144. package/dist/cdn/YR334B5W.js +4 -0
  145. package/dist/cdn/{DDV4NKQS.js → YUUVF6K4.js} +1 -1
  146. package/dist/cdn/Z75254E4.js +2 -0
  147. package/dist/cdn/ZS4XXKIF.js +2 -0
  148. package/dist/cdn/{5GK33MMO.js → ZSSEYFD6.js} +1 -1
  149. package/dist/cdn/assets/icon/alignBottom16.json +1 -0
  150. package/dist/cdn/assets/icon/alignBottom24.json +1 -0
  151. package/dist/cdn/assets/icon/alignBottom32.json +1 -0
  152. package/dist/cdn/assets/icon/alignCenterHorizontal16.json +1 -0
  153. package/dist/cdn/assets/icon/alignCenterHorizontal24.json +1 -0
  154. package/dist/cdn/assets/icon/alignCenterHorizontal32.json +1 -0
  155. package/dist/cdn/assets/icon/alignCenterVertical16.json +1 -0
  156. package/dist/cdn/assets/icon/alignCenterVertical24.json +1 -0
  157. package/dist/cdn/assets/icon/alignCenterVertical32.json +1 -0
  158. package/dist/cdn/assets/icon/alignLeft16.json +1 -0
  159. package/dist/cdn/assets/icon/alignLeft24.json +1 -0
  160. package/dist/cdn/assets/icon/alignLeft32.json +1 -0
  161. package/dist/cdn/assets/icon/alignRight16.json +1 -0
  162. package/dist/cdn/assets/icon/alignRight24.json +1 -0
  163. package/dist/cdn/assets/icon/alignRight32.json +1 -0
  164. package/dist/cdn/assets/icon/alignTop16.json +1 -0
  165. package/dist/cdn/assets/icon/alignTop24.json +1 -0
  166. package/dist/cdn/assets/icon/alignTop32.json +1 -0
  167. package/dist/cdn/assets/icon/spaceAroundHorizontal16.json +1 -0
  168. package/dist/cdn/assets/icon/spaceAroundHorizontal24.json +1 -0
  169. package/dist/cdn/assets/icon/spaceAroundHorizontal32.json +1 -0
  170. package/dist/cdn/assets/icon/spaceAroundVertical16.json +1 -0
  171. package/dist/cdn/assets/icon/spaceAroundVertical24.json +1 -0
  172. package/dist/cdn/assets/icon/spaceAroundVertical32.json +1 -0
  173. package/dist/cdn/assets/icon/spaceBetweenHorizontal16.json +1 -0
  174. package/dist/cdn/assets/icon/spaceBetweenHorizontal24.json +1 -0
  175. package/dist/cdn/assets/icon/spaceBetweenHorizontal32.json +1 -0
  176. package/dist/cdn/assets/icon/spaceBetweenVertical16.json +1 -0
  177. package/dist/cdn/assets/icon/spaceBetweenVertical24.json +1 -0
  178. package/dist/cdn/assets/icon/spaceBetweenVertical32.json +1 -0
  179. package/dist/cdn/assets/icon/spacedEvenlyHorizontal16.json +1 -0
  180. package/dist/cdn/assets/icon/spacedEvenlyHorizontal24.json +1 -0
  181. package/dist/cdn/assets/icon/spacedEvenlyHorizontal32.json +1 -0
  182. package/dist/cdn/assets/icon/spacedEvenlyVertical16.json +1 -0
  183. package/dist/cdn/assets/icon/spacedEvenlyVertical24.json +1 -0
  184. package/dist/cdn/assets/icon/spacedEvenlyVertical32.json +1 -0
  185. package/dist/cdn/assets/icon/stretchHorizontal16.json +1 -0
  186. package/dist/cdn/assets/icon/stretchHorizontal24.json +1 -0
  187. package/dist/cdn/assets/icon/stretchHorizontal32.json +1 -0
  188. package/dist/cdn/assets/icon/stretchVertical16.json +1 -0
  189. package/dist/cdn/assets/icon/stretchVertical24.json +1 -0
  190. package/dist/cdn/assets/icon/stretchVertical32.json +1 -0
  191. package/dist/cdn/index.js +1 -1
  192. package/dist/chunks/aria.js +3 -2
  193. package/dist/chunks/dom.js +10 -10
  194. package/dist/chunks/manager.js +50 -25
  195. package/dist/chunks/runtime.js +4 -4
  196. package/dist/chunks/useInlineEdit.js +65 -0
  197. package/dist/components/calcite-accordion/customElement.d.ts +0 -5
  198. package/dist/components/calcite-accordion-item/customElement.d.ts +0 -18
  199. package/dist/components/calcite-action/customElement.d.ts +1 -17
  200. package/dist/components/calcite-action/customElement.js +3 -2
  201. package/dist/components/calcite-action-bar/customElement.d.ts +0 -5
  202. package/dist/components/calcite-action-bar/customElement.js +1 -1
  203. package/dist/components/calcite-action-group/customElement.d.ts +0 -4
  204. package/dist/components/calcite-action-menu/customElement.d.ts +0 -1
  205. package/dist/components/calcite-action-pad/customElement.d.ts +0 -3
  206. package/dist/components/calcite-action-pad/customElement.js +1 -1
  207. package/dist/components/calcite-alert/customElement.d.ts +0 -5
  208. package/dist/components/calcite-autocomplete/customElement.d.ts +0 -23
  209. package/dist/components/calcite-autocomplete-item/customElement.d.ts +0 -4
  210. package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +1 -6
  211. package/dist/components/calcite-avatar/customElement.d.ts +0 -5
  212. package/dist/components/calcite-block/customElement.d.ts +0 -17
  213. package/dist/components/calcite-block/customElement.js +4 -3
  214. package/dist/components/calcite-block-group/customElement.js +2 -1
  215. package/dist/components/calcite-block-section/customElement.d.ts +0 -6
  216. package/dist/components/calcite-button/customElement.d.ts +0 -7
  217. package/dist/components/calcite-button/customElement.js +3 -2
  218. package/dist/components/calcite-card/customElement.d.ts +0 -12
  219. package/dist/components/calcite-card/customElement.js +2 -1
  220. package/dist/components/calcite-card-group/customElement.d.ts +1 -5
  221. package/dist/components/calcite-card-group/customElement.js +1 -1
  222. package/dist/components/calcite-carousel/customElement.d.ts +1 -14
  223. package/dist/components/calcite-carousel/customElement.js +1 -1
  224. package/dist/components/calcite-checkbox/customElement.d.ts +0 -7
  225. package/dist/components/calcite-chip/customElement.d.ts +0 -9
  226. package/dist/components/calcite-chip-group/customElement.js +1 -1
  227. package/dist/components/calcite-color-picker/customElement.d.ts +0 -19
  228. package/dist/components/calcite-color-picker/customElement.js +1 -1
  229. package/dist/components/calcite-combobox/customElement.d.ts +0 -9
  230. package/dist/components/calcite-combobox/customElement.js +1 -1
  231. package/dist/components/calcite-combobox-item/customElement.d.ts +0 -10
  232. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  233. package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -5
  234. package/dist/components/calcite-date-picker/customElement.d.ts +0 -27
  235. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  236. package/dist/components/calcite-dialog/customElement.d.ts +0 -31
  237. package/dist/components/calcite-dialog/customElement.js +1 -1
  238. package/dist/components/calcite-dropdown/customElement.d.ts +0 -3
  239. package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -5
  240. package/dist/components/calcite-dropdown-item/customElement.d.ts +1 -9
  241. package/dist/components/calcite-fab/customElement.d.ts +0 -8
  242. package/dist/components/calcite-filter/customElement.d.ts +0 -16
  243. package/dist/components/calcite-flow/customElement.d.ts +1 -4
  244. package/dist/components/calcite-flow-item/customElement.d.ts +0 -28
  245. package/dist/components/calcite-graph/customElement.d.ts +0 -1
  246. package/dist/components/calcite-handle/customElement.d.ts +1 -9
  247. package/dist/components/calcite-icon/customElement.d.ts +0 -4
  248. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -10
  249. package/dist/components/calcite-inline-editable/customElement.js +2 -2
  250. package/dist/components/calcite-input/customElement.d.ts +15 -42
  251. package/dist/components/calcite-input/customElement.js +149 -62
  252. package/dist/components/calcite-input-date-picker/customElement.d.ts +1 -44
  253. package/dist/components/calcite-input-message/customElement.d.ts +0 -3
  254. package/dist/components/calcite-input-number/customElement.d.ts +15 -43
  255. package/dist/components/calcite-input-number/customElement.js +130 -59
  256. package/dist/components/calcite-input-text/customElement.d.ts +15 -42
  257. package/dist/components/calcite-input-text/customElement.js +127 -56
  258. package/dist/components/calcite-input-time-picker/customElement.d.ts +1 -26
  259. package/dist/components/calcite-input-time-picker/customElement.js +2 -1
  260. package/dist/components/calcite-input-time-zone/customElement.d.ts +1 -4
  261. package/dist/components/calcite-label/customElement.d.ts +1 -5
  262. package/dist/components/calcite-link/customElement.d.ts +0 -1
  263. package/dist/components/calcite-list/customElement.d.ts +0 -1
  264. package/dist/components/calcite-list/customElement.js +3 -2
  265. package/dist/components/calcite-list-item/customElement.d.ts +0 -9
  266. package/dist/components/calcite-list-item/customElement.js +1 -1
  267. package/dist/components/calcite-list-item-group/customElement.d.ts +1 -5
  268. package/dist/components/calcite-loader/customElement.d.ts +0 -12
  269. package/dist/components/calcite-menu/customElement.js +1 -1
  270. package/dist/components/calcite-menu-item/customElement.d.ts +1 -8
  271. package/dist/components/calcite-meter/customElement.d.ts +0 -9
  272. package/dist/components/calcite-navigation/customElement.d.ts +0 -4
  273. package/dist/components/calcite-navigation-logo/customElement.d.ts +0 -6
  274. package/dist/components/calcite-navigation-user/customElement.d.ts +0 -8
  275. package/dist/components/calcite-notice/customElement.d.ts +0 -13
  276. package/dist/components/calcite-pagination/customElement.d.ts +0 -8
  277. package/dist/components/calcite-panel/customElement.d.ts +0 -23
  278. package/dist/components/calcite-panel/customElement.js +3 -2
  279. package/dist/components/calcite-popover/customElement.d.ts +1 -8
  280. package/dist/components/calcite-progress/customElement.d.ts +0 -5
  281. package/dist/components/calcite-radio-button/customElement.d.ts +0 -6
  282. package/dist/components/calcite-radio-button-group/customElement.d.ts +0 -2
  283. package/dist/components/calcite-rating/customElement.d.ts +1 -10
  284. package/dist/components/calcite-scrim/customElement.d.ts +1 -4
  285. package/dist/components/calcite-scrim/customElement.js +1 -1
  286. package/dist/components/calcite-segmented-control/customElement.d.ts +0 -2
  287. package/dist/components/calcite-segmented-control-item/customElement.d.ts +0 -6
  288. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  289. package/dist/components/calcite-select/customElement.d.ts +0 -8
  290. package/dist/components/calcite-sheet/customElement.d.ts +1 -16
  291. package/dist/components/calcite-sheet/customElement.js +1 -1
  292. package/dist/components/calcite-shell/customElement.d.ts +0 -3
  293. package/dist/components/calcite-shell/customElement.js +1 -1
  294. package/dist/components/calcite-shell-panel/customElement.d.ts +0 -12
  295. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  296. package/dist/components/calcite-slider/customElement.d.ts +1 -13
  297. package/dist/components/calcite-slider/customElement.js +1 -1
  298. package/dist/components/calcite-split-button/customElement.d.ts +1 -19
  299. package/dist/components/calcite-stack/customElement.d.ts +0 -2
  300. package/dist/components/calcite-stepper/customElement.d.ts +1 -8
  301. package/dist/components/calcite-stepper/customElement.js +1 -1
  302. package/dist/components/calcite-stepper-item/customElement.d.ts +1 -21
  303. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  304. package/dist/components/calcite-swatch/customElement.d.ts +1 -4
  305. package/dist/components/calcite-swatch-group/customElement.d.ts +1 -4
  306. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  307. package/dist/components/calcite-switch/customElement.d.ts +0 -9
  308. package/dist/components/calcite-tab/customElement.d.ts +1 -5
  309. package/dist/components/calcite-tab-nav/customElement.d.ts +1 -6
  310. package/dist/components/calcite-tab-nav/customElement.js +6 -2
  311. package/dist/components/calcite-tab-title/customElement.d.ts +0 -15
  312. package/dist/components/calcite-table/customElement.d.ts +0 -40
  313. package/dist/components/calcite-table-cell/customElement.d.ts +1 -7
  314. package/dist/components/calcite-table-header/customElement.d.ts +0 -7
  315. package/dist/components/calcite-table-row/customElement.d.ts +1 -9
  316. package/dist/components/calcite-table-row/customElement.js +1 -1
  317. package/dist/components/calcite-tabs/customElement.d.ts +0 -2
  318. package/dist/components/calcite-text-area/customElement.d.ts +0 -14
  319. package/dist/components/calcite-tile/customElement.d.ts +0 -9
  320. package/dist/components/calcite-tile/customElement.js +1 -1
  321. package/dist/components/calcite-tile-group/customElement.js +1 -1
  322. package/dist/components/calcite-time-picker/customElement.d.ts +0 -11
  323. package/dist/components/calcite-tooltip/customElement.d.ts +1 -8
  324. package/dist/components/calcite-tree-item/customElement.d.ts +0 -3
  325. package/dist/docs/api.json +1 -1
  326. package/dist/docs/docs.json +1 -1
  327. package/dist/docs/vscode.css-custom-data.json +1 -1
  328. package/dist/docs/vscode.html-custom-data.json +1 -1
  329. package/dist/docs/web-types.json +1 -1
  330. package/dist/loader.js +3 -3
  331. package/dist/types/lumina.d.ts +12 -12
  332. package/dist/types/preact.d.ts +12 -12
  333. package/dist/types/react.d.ts +12 -12
  334. package/dist/types/stencil.d.ts +12 -12
  335. package/package.json +14 -14
  336. package/dist/cdn/2DRYAXZA.js +0 -2
  337. package/dist/cdn/2QDPBMR5.js +0 -2
  338. package/dist/cdn/36ZI4OE2.js +0 -2
  339. package/dist/cdn/3EOXNRWH.js +0 -2
  340. package/dist/cdn/3PBE34WL.js +0 -2
  341. package/dist/cdn/3PHJ4VKR.js +0 -2
  342. package/dist/cdn/4OTRU7PP.js +0 -2
  343. package/dist/cdn/4V54EQG7.js +0 -2
  344. package/dist/cdn/4XYNB6JA.js +0 -2
  345. package/dist/cdn/5EBGPCB7.js +0 -2
  346. package/dist/cdn/5JGGEI4T.js +0 -2
  347. package/dist/cdn/5NUKMHTR.js +0 -2
  348. package/dist/cdn/6IIOOLNW.js +0 -2
  349. package/dist/cdn/6OAHARTN.js +0 -2
  350. package/dist/cdn/6SIMRTTJ.js +0 -2
  351. package/dist/cdn/6XZUNSYJ.js +0 -2
  352. package/dist/cdn/74LD6VQE.js +0 -2
  353. package/dist/cdn/7AX3VWZ2.js +0 -2
  354. package/dist/cdn/7LCQLCGJ.js +0 -2
  355. package/dist/cdn/7PDQJVYI.js +0 -2
  356. package/dist/cdn/A2PZZ6XZ.js +0 -2
  357. package/dist/cdn/AI34WFC4.js +0 -2
  358. package/dist/cdn/AR46CHOI.js +0 -2
  359. package/dist/cdn/BK6IFOPJ.js +0 -2
  360. package/dist/cdn/BLOHG5AH.js +0 -2
  361. package/dist/cdn/BQYRK6UJ.js +0 -2
  362. package/dist/cdn/C5SVC6AT.js +0 -2
  363. package/dist/cdn/CIYJDFL7.js +0 -2
  364. package/dist/cdn/CJLLJ7EG.js +0 -2
  365. package/dist/cdn/CLMLN73K.js +0 -2
  366. package/dist/cdn/CLQONTJ4.js +0 -2
  367. package/dist/cdn/D32AN634.js +0 -2
  368. package/dist/cdn/DBIXUUDH.js +0 -2
  369. package/dist/cdn/DJZ3PU4G.js +0 -2
  370. package/dist/cdn/DMH6GECA.js +0 -2
  371. package/dist/cdn/EWRXYHQ6.js +0 -2
  372. package/dist/cdn/FFIEWYUD.js +0 -2
  373. package/dist/cdn/FVYTBWWQ.js +0 -2
  374. package/dist/cdn/GGXZDUOD.js +0 -2
  375. package/dist/cdn/GJHAOR7O.js +0 -2
  376. package/dist/cdn/GVHT4OW3.js +0 -4
  377. package/dist/cdn/GZZYSINJ.js +0 -2
  378. package/dist/cdn/H4DWCZQH.js +0 -2
  379. package/dist/cdn/HK2ZPYSD.js +0 -2
  380. package/dist/cdn/HT7GHA35.js +0 -2
  381. package/dist/cdn/KADLGWSD.js +0 -2
  382. package/dist/cdn/KKZPWWJD.js +0 -2
  383. package/dist/cdn/L2GTZQR3.js +0 -2
  384. package/dist/cdn/LDJTNSDV.js +0 -2
  385. package/dist/cdn/LGEWD2WR.js +0 -2
  386. package/dist/cdn/LJ3OYEQH.js +0 -2
  387. package/dist/cdn/MA5ALGCB.js +0 -2
  388. package/dist/cdn/MJKFS4XN.js +0 -2
  389. package/dist/cdn/MKWABJD3.js +0 -2
  390. package/dist/cdn/MORH2SWC.js +0 -2
  391. package/dist/cdn/MTK3KBNV.js +0 -2
  392. package/dist/cdn/N4RZJQ3K.js +0 -2
  393. package/dist/cdn/NBWSLO2X.js +0 -2
  394. package/dist/cdn/NFZOHLUU.js +0 -2
  395. package/dist/cdn/NIPZWXTK.js +0 -2
  396. package/dist/cdn/NRDDB52R.js +0 -2
  397. package/dist/cdn/OATJDDUN.js +0 -2
  398. package/dist/cdn/OCAIF5AO.js +0 -2
  399. package/dist/cdn/ONPVEYDF.js +0 -2
  400. package/dist/cdn/OURWUBEA.js +0 -2
  401. package/dist/cdn/OV4LG7YB.js +0 -2
  402. package/dist/cdn/P6E54S7I.js +0 -2
  403. package/dist/cdn/PFBFXLY5.js +0 -2
  404. package/dist/cdn/PGJ33WXW.js +0 -2
  405. package/dist/cdn/PJ7JGCOT.js +0 -2
  406. package/dist/cdn/PM5LDKID.js +0 -2
  407. package/dist/cdn/PPCTIFU7.js +0 -2
  408. package/dist/cdn/Q2L6GYNG.js +0 -2
  409. package/dist/cdn/Q2NLDLBD.js +0 -2
  410. package/dist/cdn/Q44CAISJ.js +0 -2
  411. package/dist/cdn/QCTIQQGR.js +0 -2
  412. package/dist/cdn/QEGNJX47.js +0 -2
  413. package/dist/cdn/QIOX3N62.js +0 -2
  414. package/dist/cdn/QM2EZYTR.js +0 -2
  415. package/dist/cdn/QWGRJXMJ.js +0 -2
  416. package/dist/cdn/RHUYTUBN.js +0 -2
  417. package/dist/cdn/RKRK4RZK.js +0 -2
  418. package/dist/cdn/RXVSZC7X.js +0 -2
  419. package/dist/cdn/SO222KR7.js +0 -2
  420. package/dist/cdn/SY7A27CA.js +0 -2
  421. package/dist/cdn/T2VHRNVK.js +0 -2
  422. package/dist/cdn/T4CQISFL.js +0 -2
  423. package/dist/cdn/TFY4AZ4H.js +0 -2
  424. package/dist/cdn/TODF5AAG.js +0 -2
  425. package/dist/cdn/UFTNE4L5.js +0 -2
  426. package/dist/cdn/UQWE2VAF.js +0 -2
  427. package/dist/cdn/URPDRW7E.js +0 -2
  428. package/dist/cdn/VDJS5HED.js +0 -2
  429. package/dist/cdn/VZ2WOVER.js +0 -2
  430. package/dist/cdn/WSJB5HRN.js +0 -2
  431. package/dist/cdn/XK5X6LPF.js +0 -2
  432. package/dist/cdn/XWM3FFCD.js +0 -2
  433. package/dist/cdn/YCKXSWRC.js +0 -2
  434. package/dist/cdn/YKGEHWMP.js +0 -2
  435. package/dist/cdn/ZM42WAYM.js +0 -2
  436. package/dist/cdn/ZTRZLDAL.js +0 -2
  437. package/dist/chunks/useInlineEditable.js +0 -53
@@ -6,14 +6,14 @@ import { css, html, nothing } from "lit";
6
6
  import { createRef, ref } from "lit/directives/ref.js";
7
7
  import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
8
8
  import { useWatchAttributes, useDirection } from "@arcgis/lumina/controllers";
9
- import { v as setRequestedIcon, e as isPrimaryPointerButton } from "../../chunks/dom.js";
9
+ import { v as setRequestedIcon, h as isPrimaryPointerButton } from "../../chunks/dom.js";
10
10
  import { n as numberKeys } from "../../chunks/key.js";
11
11
  import { g as getLabelText } from "../../chunks/label.js";
12
12
  import { i as isValidNumber, B as BigDecimal, n as numberStringFormatter, p as parseNumberString, s as sanitizeNumberString, b as addLocalizedTrailingDecimalZeros } from "../../chunks/locale.js";
13
13
  import { u as useLabel } from "../../chunks/useLabel.js";
14
14
  import { g as getIconScale } from "../../chunks/component.js";
15
15
  import { I as InternalLabel } from "../../chunks/InternalLabel.js";
16
- import { U as UseInlineEditable, C as CSS$1, I as InlineEditableControls } from "../../chunks/useInlineEditable.js";
16
+ import { U as UseInlineEdit, i as inlineEditConverter, C as CSS$1, I as InlineEditControls } from "../../chunks/useInlineEdit.js";
17
17
  import { V as Validation } from "../../chunks/Validation.js";
18
18
  import { u as useT9n } from "../../chunks/useT9n.js";
19
19
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
@@ -23,11 +23,11 @@ import { u as useForm } from "../../chunks/useForm.js";
23
23
  const CSS = {
24
24
  loader: "loader",
25
25
  clearButton: "clear-button",
26
- editingEnabled: "editing-enabled",
26
+ inlineEditing: "inline-editing",
27
27
  inlineChild: "inline-child",
28
28
  inlineEditableChild: "inline-editable-child",
29
29
  // `calcite-inline-editable` deprecated in v5.2.0, removal target v7.0.0
30
- inlineEditable: "inline-editable",
30
+ inlineEdit: "inline-edit",
31
31
  inputIcon: "icon",
32
32
  prefix: "prefix",
33
33
  suffix: "suffix",
@@ -63,7 +63,7 @@ const ICONS = {
63
63
  chevronDown: "chevron-down"
64
64
  };
65
65
  const NUDGE_DELAY_IN_MS = 150;
66
- const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;--calcite-internal-input-focus-outline-color: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) );--calcite-internal-input-number-button-item-height: auto}:host([scale=s]){--calcite-internal-input-icon-padding-inline: var(--calcite-spacing-fixed-sm)}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) input{padding-inline:var(--calcite-spacing-sm)}:host([scale=s]) .has-prefix input{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=s]) .prefix{padding-inline:var(--calcite-spacing-sm) var(--calcite-spacing-xxs)}:host([scale=s]) .has-suffix input{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s]) .suffix{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=s]) input[type=file]{min-block-size:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper{block-size:1.5rem}:host([scale=s]) .clear-button{block-size:var(--calcite-spacing-xxl)}:host([scale=s]):host([number-button-type=horizontal]){--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-spacing-xxs)}:host([scale=s]):host([number-button-type=vertical]){--calcite-internal-input-number-button-item-height: 8px;--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-spacing-xxs);--calcite-internal-input-number-button-item-vertical-padding: 3px}:host([scale=m]){--calcite-internal-input-icon-padding-inline: var(--calcite-spacing-fixed-md)}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) input{padding-inline:var(--calcite-spacing-md)}:host([scale=m]) .has-prefix input{padding-inline-start:var(--calcite-spacing-xs)}:host([scale=m]) .prefix{padding-inline:var(--calcite-spacing-md) var(--calcite-spacing-xs)}:host([scale=m]) .has-suffix input{padding-inline-end:var(--calcite-spacing-xs)}:host([scale=m]) .suffix{padding-inline:var(--calcite-spacing-xs) var(--calcite-spacing-md)}:host([scale=m]) input[type=file]{min-block-size:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper{block-size:2rem}:host([scale=m]):host([number-button-type=horizontal]){--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-space-sm)}:host([scale=m]):host([number-button-type=vertical]){--calcite-internal-input-number-button-item-height: 11px;--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-space-sm);--calcite-internal-input-number-button-item-vertical-padding: var(--calcite-space-2xs)}:host([scale=l]){--calcite-internal-input-icon-padding-inline: var(--calcite-spacing-fixed-lg)}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) input{padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .has-prefix input{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=l]) .prefix{padding-inline:var(--calcite-spacing-lg) var(--calcite-spacing-sm)}:host([scale=l]) .has-suffix input{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .suffix{padding-inline:var(--calcite-spacing-sm) var(--calcite-spacing-lg)}:host([scale=l]) input[type=file]{min-block-size:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper{block-size:2.75rem}:host([scale=l]):host([number-button-type=horizontal]){--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-spacing-sm-plus)}:host([scale=l]):host([number-button-type=vertical]){--calcite-internal-input-number-button-item-height: 16px;--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-spacing-sm-plus);--calcite-internal-input-number-button-item-vertical-padding: 5px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-width:1px;border-style:solid;font-family:inherit;font-weight:var(--calcite-font-weight-normal);outline:none;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-text-color, var(--calcite-color-text-1));transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none}input:placeholder-shown{text-overflow:ellipsis}.element-wrapper,input{border-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}.has-prefix input,.element-wrapper:has(.icon) input{border-start-start-radius:0;border-end-start-radius:0}.element-wrapper:has(.number-button-item--horizontal[data-adjustment=down]) input,.has-prefix input,.element-wrapper:has(.icon) input{border-inline-start-width:0}.element-wrapper:has(.clear-button) input,.has-suffix input,.element-wrapper:has(.number-button-item--horizontal[data-adjustment=up]) input,.element-wrapper:has(.number-button-item) input{border-inline-end-width:0}.has-suffix input,.element-wrapper:has(.clear-button) input,:host([number-button-type=vertical][type=number]) input,:host([number-button-type=horizontal]) .has-suffix .suffix,:host([number-button-type=vertical][type=number]) .has-suffix .suffix,:host([number-button-type=vertical][type=number]) .clear-button,:host([number-button-type=horizontal][type=number]) .clear-button{border-start-end-radius:0;border-end-end-radius:0}:host([number-button-type=horizontal]) input{border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.has-prefix :is(.prefix:first-child,.loader+.prefix),:host([number-button-type=horizontal]) .number-button-item[data-adjustment=down],.element-wrapper:has(.icon) :is(.icon:first-child,.loader+.icon){border-start-start-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-end-start-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}.has-suffix .suffix,:host([number-button-type=vertical][type=number][read-only]) .has-suffix .suffix,:host([clearable]) .clear-button,:host([number-button-type=horizontal]) .number-button-item[data-adjustment=up]{border-end-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-start-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}:host([clearable]) .has-suffix .clear-button{border-end-end-radius:0;border-start-end-radius:0}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-input-text-color, var(--calcite-color-text-1))}input[readonly]{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-input-background-color, var(--calcite-color-background))}input[readonly]:focus{color:var(--calcite-input-text-color, var(--calcite-color-text-1))}:host([read-only]) .prefix,:host([read-only]) .icon,:host([read-only]) .clear-button,:host([read-only]) .suffix{background-color:var(--calcite-input-background-color, var(--calcite-color-background))}.element-wrapper{position:relative;display:inline-flex;flex:1 1 0%;align-items:center;order:3;isolation:isolate}.element-wrapper:has(input:focus){outline:var(--calcite-border-width-md) solid var(--calcite-internal-input-focus-outline-color);outline-offset:calc(var(--calcite-border-width-sm) * -2)}.element-wrapper:has(input:focus) input{z-index:calc(var(--calcite-z-index) * -1)}:host([status=invalid]) .prefix,:host([status=invalid]) .icon,:host([status=invalid]) input,:host([status=invalid]) .clear-button,:host([status=invalid]) .suffix,:host([status=invalid]) .number-button-item{border-color:var(--calcite-color-status-danger)}:host([status=invalid]){--calcite-internal-input-focus-outline-color: var(--calcite-color-status-danger)}.icon{box-sizing:border-box;display:flex;align-self:stretch;border-width:var(--calcite-border-width-sm);border-style:solid;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));border-inline-end-width:var(--calcite-border-width-none);background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-icon-color, var(--calcite-color-text-3));align-items:center;padding-inline-start:var(--calcite-internal-input-icon-padding-inline)}.element-wrapper:has(.number-button-item--horizontal[data-adjustment=down]) .icon,.has-prefix .icon{border-inline-start-width:0}input:is([type=text],[type=password])::-ms-clear,input:is([type=text],[type=password])::-ms-reveal{display:none;inline-size:0;block-size:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{box-sizing:border-box;display:flex;align-self:stretch;order:4;border-width:var(--calcite-border-width-sm);border-style:solid;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));border-inline-start-width:var(--calcite-border-width-none);background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1))}.has-suffix .clear-button,.element-wrapper:has(.number-button-item.number-button-item--horizontal[data-adjustment=up]) .clear-button,.element-wrapper:has(.number-button-item) .clear-button{border-inline-end-width:0}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block;--calcite-progress-background-color: var(--calcite-input-loading-background-color);--calcite-progress-fill-color: var(--calcite-input-loading-fill-color)}.inline-editable{order:7}.action-wrapper{order:8;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;line-height:1;font-weight:var(--calcite-font-weight-regular);border-color:var(--calcite-input-border-color, var(--calcite-color-border-input))}.prefix{order:0;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto);background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-prefix-text-color, var(--calcite-color-text-2))}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto);background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-suffix-text-color, var(--calcite-color-text-2))}.element-wrapper:has(.number-button-item--horizontal[data-adjustment=down]) .prefix{border-inline-start-width:var(--calcite-border-width-none)}.element-wrapper:has(.number-button-item--horizontal[data-adjustment=up]) .suffix,.element-wrapper:has(.number-button-item) .suffix{border-inline-end-width:var(--calcite-border-width-none)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;pointer-events:none;box-sizing:border-box;display:flex;flex-direction:column;order:6}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-action{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-action{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal{border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));max-block-size:100%;min-block-size:100%;align-self:stretch;border-width:1px;border-style:solid}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-action,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-action{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-inline-end-width:0px;order:0;padding-inline-start:var(--calcite-internal-input-number-button-item-horizontal-padding)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{border-inline-start-width:0px;order:5;padding-inline-end:var(--calcite-internal-input-number-button-item-horizontal-padding)}:host([number-button-type=vertical]) .number-button-item{padding-inline-end:var(--calcite-internal-input-number-button-item-horizontal-padding)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]{border-start-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-block-end-width:var(--calcite-border-width-none);padding-block-start:var(--calcite-internal-input-number-button-item-vertical-padding)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px;border-end-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));padding-block-end:var(--calcite-internal-input-number-button-item-vertical-padding)}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:var(--calcite-border-width-sm);border-style:solid;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));border-inline-start-width:var(--calcite-border-width-none)}.number-button-item:hover calcite-action{--calcite-action-background-color: var( --calcite-input-actions-background-color-hover, var(--calcite-color-foreground-2) );--calcite-action-text-color: var(--calcite-input-actions-icon-color-hover, var(--calcite-color-text-1))}.number-button-item:active calcite-action{--calcite-action-background-color: var( --calcite-input-actions-background-color-press, var(--calcite-color-foreground-3) );--calcite-action-text-color: var(--calcite-input-actions-icon-color-press, var(--calcite-color-text-1))}.number-button-item calcite-action{--calcite-internal-action-height: var(--calcite-internal-input-number-button-item-height);--calcite-internal-action-padding-inline: var(--calcite-spacing-none);--calcite-internal-action-padding-block: var(--calcite-spacing-none);--calcite-action-background-color: var(--calcite-input-actions-background-color);--calcite-action-text-color: var(--calcite-input-actions-icon-color)}.number-button-item calcite-action:hover{--calcite-action-background-color-hover: var(--calcite-input-actions-background-color-hover);--calcite-action-text-color-press: var(--calcite-input-actions-icon-color-hover)}.number-button-item calcite-action:active{--calcite-action-background-color-press: var(--calcite-input-actions-background-color-press);--calcite-action-text-color-press: var(--calcite-input-actions-icon-color-press)}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center;border-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-input-shadow, var(--calcite-shadow-none))}input[type=date]::-webkit-input-placeholder{visibility:hidden!important}:host([type=color]) input{padding:.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;background-color:var(--calcite-color-foreground-1);text-align:center;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));block-size:initial}:host([type=file][scale=s]) input{padding-block:1px;padding-inline:.5rem}:host([type=file][scale=m]) input{padding-block:.25rem;padding-inline:.75rem}:host([type=file][scale=l]) input{padding-block:.5rem;padding-inline:1rem}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input.inline-child.inline-editable-child{background-color:transparent}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.element-wrapper:has(input.inline-child:not(.editing-enabled)) .loader,.element-wrapper:has(input.inline-child:not(.editing-enabled)) .number-button-item,.element-wrapper:has(input.inline-child:not(.editing-enabled)) .prefix,.element-wrapper:has(input.inline-child:not(.editing-enabled)) .icon,.element-wrapper:has(input.inline-child:not(.editing-enabled)) .clear-button,.element-wrapper:has(input.inline-child:not(.editing-enabled)) .suffix{display:none}:host([inline-editable]:not([editing-enabled])) .wrapper:hover input,:host([inline-editable]:not([editing-enabled])) .wrapper:hover .inline-editable,:host([inline-editable]:not([editing-enabled])) .wrapper:hover .action-wrapper,:host:has(input.inline-child:not(.inline-editable-child):not(.editing-enabled)) .wrapper:hover input,:host:has(input.inline-child:not(.inline-editable-child):not(.editing-enabled)) .wrapper:hover .inline-editable,:host:has(input.inline-child:not(.inline-editable-child):not(.editing-enabled)) .wrapper:hover .action-wrapper{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-input-inline-editable-background-color-hover, var(--calcite-color-foreground-2))}:host([inline-editable]) .inline-editable,:host([inline-editable]) .action-wrapper{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1))}:host([type=datetime-local]) .element-wrapper{inline-size:100%}:host([type=datetime-local]) .element-wrapper input{display:inline-block;min-inline-size:0}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}.clear-button--container{display:flex;cursor:pointer;align-items:center}.clear-button--container:hover calcite-action{--calcite-action-background-color: var(--calcite-input-actions-background-color-hover, var(--calcite-color-foreground-3));--calcite-action-text-color: var(--calcite-input-actions-icon-color-hover, var(--calcite-color-text-1))}.clear-button--container:active calcite-action{--calcite-action-background-color: var(--calcite-input-actions-background-color-press, var(--calcite-color-border-2));--calcite-action-text-color: var(--calcite-input-actions-icon-color-press, var(--calcite-color-text-1))}.clear-button--container calcite-action{--calcite-internal-action-height: 100%;--calcite-internal-action-padding-inline: var(--calcite-spacing-none);--calcite-internal-action-padding-block: var(--calcite-spacing-none);--calcite-action-background-color: var(--calcite-input-actions-background-color, var(--calcite-color-foreground-2));--calcite-action-text-color: var(--calcite-input-actions-icon-color)}.clear-button--container calcite-action:hover{--calcite-action-background-color-hover: var(--calcite-input-actions-background-color-hover, var(--calcite-color-foreground-3));--calcite-action-text-color-press: var(--calcite-input-actions-icon-color-hover)}.clear-button--container calcite-action:active{--calcite-action-background-color-press: var(--calcite-input-actions-background-color-press, var(--calcite-color-border-2));--calcite-action-text-color-press: var(--calcite-input-actions-icon-color-press)}:host([scale=s]) .clear-button--container{padding:var(--calcite-space-2xs)}:host([scale=m]) .clear-button--container{padding:var(--calcite-space-2xs);padding-inline-end:var(--calcite-space-sm)}:host([scale=l]) .clear-button--container{padding-inline-end:var(--calcite-space-sm-plus)}.inline-editable--container{display:flex;cursor:pointer;align-items:center}.inline-editable--container .enable-editing,.inline-editable--container .confirm-changes,.inline-editable--container .cancel-editing{margin-inline-start:var(--calcite-space-2xs)}.inline-editable--container .enable-editing{--calcite-action-text-color: var(--calcite-input-inline-editable-control-text-color, var(--calcite-color-text-1))}.inline-editable--container calcite-action{--calcite-action-background-color: var(--calcite-input-inline-editable-control-background-color);--calcite-action-corner-radius: var(--calcite-input-inline-editable-control-corner-radius);--calcite-action-loader-color: var(--calcite-input-inline-editable-control-loader-color);--calcite-action-text-color: var(--calcite-input-inline-editable-control-text-color)}.inline-editable--container calcite-action:hover{--calcite-action-background-color-hover: var(--calcite-input-inline-editable-control-background-color-hover, var(--calcite-input-inline-editable-control-background-color));--calcite-action-text-color-press: var(--calcite-input-inline-editable-control-text-color-press, var(--calcite-input-inline-editable-control-text-color))}.inline-editable--container calcite-action:active{--calcite-action-background-color-press: var(--calcite-input-inline-editable-control-background-color-press, var(--calcite-input-inline-editable-control-background-color));--calcite-action-text-color-press: var(--calcite-input-inline-editable-control-text-color-press, var(--calcite-input-inline-editable-control-text-color))}`;
66
+ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;--calcite-internal-input-focus-outline-color: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) );--calcite-internal-input-number-button-item-height: auto}:host([scale=s]){--calcite-internal-input-icon-padding-inline: var(--calcite-spacing-fixed-sm)}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) input{padding-inline:var(--calcite-spacing-sm)}:host([scale=s]) .has-prefix input{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=s]) .prefix{padding-inline:var(--calcite-spacing-sm) var(--calcite-spacing-xxs)}:host([scale=s]) .has-suffix input{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s]) .suffix{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=s]) input[type=file]{min-block-size:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper{block-size:1.5rem}:host([scale=s]) .clear-button{block-size:var(--calcite-spacing-xxl)}:host([scale=s]):host([number-button-type=horizontal]){--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-spacing-xxs)}:host([scale=s]):host([number-button-type=vertical]){--calcite-internal-input-number-button-item-height: 8px;--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-spacing-xxs);--calcite-internal-input-number-button-item-vertical-padding: 3px}:host([scale=m]){--calcite-internal-input-icon-padding-inline: var(--calcite-spacing-fixed-md)}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) input{padding-inline:var(--calcite-spacing-md)}:host([scale=m]) .has-prefix input{padding-inline-start:var(--calcite-spacing-xs)}:host([scale=m]) .prefix{padding-inline:var(--calcite-spacing-md) var(--calcite-spacing-xs)}:host([scale=m]) .has-suffix input{padding-inline-end:var(--calcite-spacing-xs)}:host([scale=m]) .suffix{padding-inline:var(--calcite-spacing-xs) var(--calcite-spacing-md)}:host([scale=m]) input[type=file]{min-block-size:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper{block-size:2rem}:host([scale=m]):host([number-button-type=horizontal]){--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-space-sm)}:host([scale=m]):host([number-button-type=vertical]){--calcite-internal-input-number-button-item-height: 11px;--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-space-sm);--calcite-internal-input-number-button-item-vertical-padding: var(--calcite-space-2xs)}:host([scale=l]){--calcite-internal-input-icon-padding-inline: var(--calcite-spacing-fixed-lg)}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) input{padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .has-prefix input{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=l]) .prefix{padding-inline:var(--calcite-spacing-lg) var(--calcite-spacing-sm)}:host([scale=l]) .has-suffix input{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .suffix{padding-inline:var(--calcite-spacing-sm) var(--calcite-spacing-lg)}:host([scale=l]) input[type=file]{min-block-size:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper{block-size:2.75rem}:host([scale=l]):host([number-button-type=horizontal]){--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-spacing-sm-plus)}:host([scale=l]):host([number-button-type=vertical]){--calcite-internal-input-number-button-item-height: 16px;--calcite-internal-input-number-button-item-horizontal-padding: var(--calcite-spacing-sm-plus);--calcite-internal-input-number-button-item-vertical-padding: 5px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-width:1px;border-style:solid;font-family:inherit;font-weight:var(--calcite-font-weight-normal);outline:none;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-text-color, var(--calcite-color-text-1));transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none}input:placeholder-shown{text-overflow:ellipsis}.element-wrapper,input{border-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}.has-prefix input,.element-wrapper:has(.icon) input{border-start-start-radius:0;border-end-start-radius:0}.element-wrapper:has(.number-button-item--horizontal[data-adjustment=down]) input,.has-prefix input,.element-wrapper:has(.icon) input{border-inline-start-width:0}.element-wrapper:has(.clear-button) input,.has-suffix input,.element-wrapper:has(.number-button-item--horizontal[data-adjustment=up]) input,.element-wrapper:has(.number-button-item) input{border-inline-end-width:0}.has-suffix input,.element-wrapper:has(.clear-button) input,:host([number-button-type=vertical][type=number]) input,:host([number-button-type=horizontal]) .has-suffix .suffix,:host([number-button-type=vertical][type=number]) .has-suffix .suffix,:host([number-button-type=vertical][type=number]) .clear-button,:host([number-button-type=horizontal][type=number]) .clear-button{border-start-end-radius:0;border-end-end-radius:0}:host([number-button-type=horizontal]) input{border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.has-prefix :is(.prefix:first-child,.loader+.prefix),:host([number-button-type=horizontal]) .number-button-item[data-adjustment=down],.element-wrapper:has(.icon) :is(.icon:first-child,.loader+.icon){border-start-start-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-end-start-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}.has-suffix .suffix,:host([number-button-type=vertical][type=number][read-only]) .has-suffix .suffix,:host([clearable]) .clear-button,:host([number-button-type=horizontal]) .number-button-item[data-adjustment=up]{border-end-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-start-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}:host([clearable]) .has-suffix .clear-button{border-end-end-radius:0;border-start-end-radius:0}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-input-text-color, var(--calcite-color-text-1))}input[readonly]{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-input-background-color, var(--calcite-color-background))}input[readonly]:focus{color:var(--calcite-input-text-color, var(--calcite-color-text-1))}:host([read-only]) .prefix,:host([read-only]) .icon,:host([read-only]) .clear-button,:host([read-only]) .suffix{background-color:var(--calcite-input-background-color, var(--calcite-color-background))}.element-wrapper{position:relative;display:inline-flex;flex:1 1 0%;align-items:center;order:3;isolation:isolate}.element-wrapper:has(input:focus){outline:var(--calcite-border-width-md) solid var(--calcite-internal-input-focus-outline-color);outline-offset:calc(var(--calcite-border-width-sm) * -2)}.element-wrapper:has(input:focus) input{z-index:calc(var(--calcite-z-index) * -1)}:host([status=invalid]) .prefix,:host([status=invalid]) .icon,:host([status=invalid]) input,:host([status=invalid]) .clear-button,:host([status=invalid]) .suffix,:host([status=invalid]) .number-button-item{border-color:var(--calcite-color-status-danger)}:host([status=invalid]){--calcite-internal-input-focus-outline-color: var(--calcite-color-status-danger)}.icon{box-sizing:border-box;display:flex;align-self:stretch;border-width:var(--calcite-border-width-sm);border-style:solid;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));border-inline-end-width:var(--calcite-border-width-none);background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-icon-color, var(--calcite-color-text-3));align-items:center;padding-inline-start:var(--calcite-internal-input-icon-padding-inline)}.element-wrapper:has(.number-button-item--horizontal[data-adjustment=down]) .icon,.has-prefix .icon{border-inline-start-width:0}input:is([type=text],[type=password])::-ms-clear,input:is([type=text],[type=password])::-ms-reveal{display:none;inline-size:0;block-size:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{box-sizing:border-box;display:flex;align-self:stretch;order:4;border-width:var(--calcite-border-width-sm);border-style:solid;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));border-inline-start-width:var(--calcite-border-width-none);background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1))}.has-suffix .clear-button,.element-wrapper:has(.number-button-item.number-button-item--horizontal[data-adjustment=up]) .clear-button,.element-wrapper:has(.number-button-item) .clear-button{border-inline-end-width:0}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block;--calcite-progress-background-color: var(--calcite-input-loading-background-color);--calcite-progress-fill-color: var(--calcite-input-loading-fill-color)}.inline-edit{order:7}.action-wrapper{order:8;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;line-height:1;font-weight:var(--calcite-font-weight-regular);border-color:var(--calcite-input-border-color, var(--calcite-color-border-input))}.prefix{order:0;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto);background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-prefix-text-color, var(--calcite-color-text-2))}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto);background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-suffix-text-color, var(--calcite-color-text-2))}.element-wrapper:has(.number-button-item--horizontal[data-adjustment=down]) .prefix{border-inline-start-width:var(--calcite-border-width-none)}.element-wrapper:has(.number-button-item--horizontal[data-adjustment=up]) .suffix,.element-wrapper:has(.number-button-item) .suffix{border-inline-end-width:var(--calcite-border-width-none)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;pointer-events:none;box-sizing:border-box;display:flex;flex-direction:column;order:6}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-action{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-action{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal{border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));max-block-size:100%;min-block-size:100%;align-self:stretch;border-width:1px;border-style:solid}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-action,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-action{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-inline-end-width:0px;order:0;padding-inline-start:var(--calcite-internal-input-number-button-item-horizontal-padding)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{border-inline-start-width:0px;order:5;padding-inline-end:var(--calcite-internal-input-number-button-item-horizontal-padding)}:host([number-button-type=vertical]) .number-button-item{padding-inline-end:var(--calcite-internal-input-number-button-item-horizontal-padding)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]{border-start-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-block-end-width:var(--calcite-border-width-none);padding-block-start:var(--calcite-internal-input-number-button-item-vertical-padding)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px;border-end-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));padding-block-end:var(--calcite-internal-input-number-button-item-vertical-padding)}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:var(--calcite-border-width-sm);border-style:solid;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));border-inline-start-width:var(--calcite-border-width-none)}.number-button-item:hover calcite-action{--calcite-action-background-color: var( --calcite-input-actions-background-color-hover, var(--calcite-color-foreground-2) );--calcite-action-text-color: var(--calcite-input-actions-icon-color-hover, var(--calcite-color-text-1))}.number-button-item:active calcite-action{--calcite-action-background-color: var( --calcite-input-actions-background-color-press, var(--calcite-color-foreground-3) );--calcite-action-text-color: var(--calcite-input-actions-icon-color-press, var(--calcite-color-text-1))}.number-button-item calcite-action{--calcite-internal-action-height: var(--calcite-internal-input-number-button-item-height);--calcite-internal-action-padding-inline: var(--calcite-spacing-none);--calcite-internal-action-padding-block: var(--calcite-spacing-none);--calcite-action-background-color: var(--calcite-input-actions-background-color);--calcite-action-text-color: var(--calcite-input-actions-icon-color)}.number-button-item calcite-action:hover{--calcite-action-background-color-hover: var(--calcite-input-actions-background-color-hover);--calcite-action-text-color-press: var(--calcite-input-actions-icon-color-hover)}.number-button-item calcite-action:active{--calcite-action-background-color-press: var(--calcite-input-actions-background-color-press);--calcite-action-text-color-press: var(--calcite-input-actions-icon-color-press)}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center;border-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-input-shadow, var(--calcite-shadow-none))}input[type=date]::-webkit-input-placeholder{visibility:hidden!important}:host([type=color]) input{padding:.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;background-color:var(--calcite-color-foreground-1);text-align:center;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));block-size:initial}:host([type=file][scale=s]) input{padding-block:1px;padding-inline:.5rem}:host([type=file][scale=m]) input{padding-block:.25rem;padding-inline:.75rem}:host([type=file][scale=l]) input{padding-block:.5rem;padding-inline:1rem}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input.inline-child.inline-editable-child{background-color:transparent}input.inline-child .inline-editing{background-color:inherit}input.inline-child:not(.inline-editing){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.element-wrapper:has(input.inline-child:not(.inline-editing)) .loader,.element-wrapper:has(input.inline-child:not(.inline-editing)) .number-button-item,.element-wrapper:has(input.inline-child:not(.inline-editing)) .prefix,.element-wrapper:has(input.inline-child:not(.inline-editing)) .icon,.element-wrapper:has(input.inline-child:not(.inline-editing)) .clear-button,.element-wrapper:has(input.inline-child:not(.inline-editing)) .suffix{display:none}:host([inline-edit]:not([inline-editing])) .wrapper:hover input,:host([inline-edit]:not([inline-editing])) .wrapper:hover .inline-edit,:host([inline-edit]:not([inline-editing])) .wrapper:hover .action-wrapper,:host:has(input.inline-child:not(.inline-editable-child):not(.inline-editing)) .wrapper:hover input,:host:has(input.inline-child:not(.inline-editable-child):not(.inline-editing)) .wrapper:hover .inline-edit,:host:has(input.inline-child:not(.inline-editable-child):not(.inline-editing)) .wrapper:hover .action-wrapper{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-input-inline-edit-background-color-hover, var(--calcite-color-foreground-2))}:host([inline-edit]) .inline-edit,:host([inline-edit]) .action-wrapper{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1))}:host([type=datetime-local]) .element-wrapper{inline-size:100%}:host([type=datetime-local]) .element-wrapper input{display:inline-block;min-inline-size:0}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}.clear-button--container{display:flex;cursor:pointer;align-items:center}.clear-button--container:hover calcite-action{--calcite-action-background-color: var(--calcite-input-actions-background-color-hover, var(--calcite-color-foreground-3));--calcite-action-text-color: var(--calcite-input-actions-icon-color-hover, var(--calcite-color-text-1))}.clear-button--container:active calcite-action{--calcite-action-background-color: var(--calcite-input-actions-background-color-press, var(--calcite-color-border-2));--calcite-action-text-color: var(--calcite-input-actions-icon-color-press, var(--calcite-color-text-1))}.clear-button--container calcite-action{--calcite-internal-action-height: 100%;--calcite-internal-action-padding-inline: var(--calcite-spacing-none);--calcite-internal-action-padding-block: var(--calcite-spacing-none);--calcite-action-background-color: var(--calcite-input-actions-background-color, var(--calcite-color-foreground-2));--calcite-action-text-color: var(--calcite-input-actions-icon-color)}.clear-button--container calcite-action:hover{--calcite-action-background-color-hover: var(--calcite-input-actions-background-color-hover, var(--calcite-color-foreground-3));--calcite-action-text-color-press: var(--calcite-input-actions-icon-color-hover)}.clear-button--container calcite-action:active{--calcite-action-background-color-press: var(--calcite-input-actions-background-color-press, var(--calcite-color-border-2));--calcite-action-text-color-press: var(--calcite-input-actions-icon-color-press)}:host([scale=s]) .clear-button--container{padding:var(--calcite-space-2xs)}:host([scale=m]) .clear-button--container{padding:var(--calcite-space-2xs);padding-inline-end:var(--calcite-space-sm)}:host([scale=l]) .clear-button--container{padding-inline-end:var(--calcite-space-sm-plus)}.inline-edit--container{display:flex;cursor:pointer;align-items:center}.inline-edit--container .enable-editing,.inline-edit--container .confirm-changes,.inline-edit--container .cancel-editing{margin-inline-start:var(--calcite-space-2xs)}.inline-edit--container .enable-editing{--calcite-action-text-color: var(--calcite-input-inline-edit-control-text-color, var(--calcite-color-text-1))}.inline-edit--container calcite-action{--calcite-action-background-color: var(--calcite-input-inline-edit-control-background-color);--calcite-action-corner-radius: var(--calcite-input-inline-edit-control-corner-radius);--calcite-action-loader-color: var(--calcite-input-inline-edit-control-loader-color);--calcite-action-text-color: var(--calcite-input-inline-edit-control-text-color)}.inline-edit--container calcite-action:hover{--calcite-action-background-color-hover: var(--calcite-input-inline-edit-control-background-color-hover, var(--calcite-input-inline-edit-control-background-color));--calcite-action-text-color-press: var(--calcite-input-inline-edit-control-text-color-press, var(--calcite-input-inline-edit-control-text-color))}.inline-edit--container calcite-action:active{--calcite-action-background-color-press: var(--calcite-input-inline-edit-control-background-color-press, var(--calcite-input-inline-edit-control-background-color));--calcite-action-text-color-press: var(--calcite-input-inline-edit-control-text-color-press, var(--calcite-input-inline-edit-control-text-color))}`;
67
67
  class Input extends LitElement {
68
68
  constructor() {
69
69
  super();
@@ -84,36 +84,36 @@ class Input extends LitElement {
84
84
  this.messages = useT9n({ blocking: true });
85
85
  this.focusSetter = useSetFocus()(this);
86
86
  this.interactiveContainer = useInteractive(this);
87
- this.inlineEditableManager = new UseInlineEditable({
88
- getEditingEnabled: () => this.editingEnabled,
89
- setEditingEnabled: (editingEnabled) => {
90
- this.editingEnabled = editingEnabled;
87
+ this.inlineEditManager = new UseInlineEdit({
88
+ getInlineEditing: () => this.inlineEditing,
89
+ setInlineEditing: (inlineEditing) => {
90
+ this.inlineEditing = inlineEditing;
91
91
  },
92
92
  getValue: () => this.value,
93
- setValue: (value) => {
94
- this.setValue({ origin: "direct", value });
93
+ restoreValue: (value) => {
94
+ this.restoreInlineEditingValue(value);
95
95
  },
96
+ commitValue: () => this.commitInlineEditingValue(),
96
97
  setFocus: () => {
97
98
  void this.setFocus();
98
99
  },
99
100
  emitCancel: () => {
100
- this.calciteInputInlineEditableCancel.emit();
101
+ this.calciteInputInlineEditingCancel.emit();
101
102
  },
102
103
  emitConfirm: () => {
103
- this.calciteInputInlineEditableConfirm.emit();
104
+ this.calciteInputInlineEditingConfirm.emit();
104
105
  },
105
106
  emitEnableEditingChange: () => {
106
- this.calciteInputInlineEditableChange.emit();
107
+ this.calciteInputInlineEditingChange.emit();
107
108
  }
108
109
  });
109
- this.inlineEditableLoading = false;
110
+ this.inlineEditingLoading = false;
110
111
  this.slottedActionElDisabledInternally = false;
111
112
  this.alignment = "start";
112
113
  this.clearable = false;
113
114
  this.disabled = false;
114
- this.editingEnabled = false;
115
- this.inlineEditable = false;
116
- this.inlineEditableControls = false;
115
+ this.inlineEditing = false;
116
+ this.inlineEdit = false;
117
117
  this.groupSeparator = false;
118
118
  this.iconFlipRtl = false;
119
119
  this.loading = false;
@@ -126,18 +126,18 @@ class Input extends LitElement {
126
126
  this.status = "idle";
127
127
  this.type = "text";
128
128
  this.calciteInputChange = createEvent({ cancelable: false });
129
+ this.calciteInputInlineEditingCancel = createEvent({ cancelable: false });
130
+ this.calciteInputInlineEditingChange = createEvent({ cancelable: false });
131
+ this.calciteInputInlineEditingConfirm = createEvent({ cancelable: false });
129
132
  this.calciteInputInput = createEvent();
130
133
  this.calciteInternalInputBlur = createEvent({ cancelable: false });
131
134
  this.calciteInternalInputFocus = createEvent({ cancelable: false });
132
- this.calciteInputInlineEditableCancel = createEvent({ cancelable: false });
133
- this.calciteInputInlineEditableConfirm = createEvent({ cancelable: false });
134
- this.calciteInputInlineEditableChange = createEvent({ cancelable: false });
135
135
  useLabel(this);
136
136
  this.listen("click", this.clickHandler);
137
137
  this.listen("keydown", this.keyDownHandler);
138
138
  }
139
139
  static {
140
- this.properties = { displayedValue: [16, {}, { state: true }], inlineEditableLoading: [16, {}, { state: true }], slottedActionElDisabledInternally: [16, {}, { state: true }], accept: 1, alignment: [3, {}, { reflect: true }], autocomplete: 1, clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], inlineEditable: [7, {}, { reflect: true, type: Boolean }], inlineEditableControls: [7, {}, { reflect: true, type: Boolean }], inlineEditableAfterConfirm: [0, {}, { attribute: false }], files: [0, {}, { attribute: false }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, loading: [7, {}, { reflect: true, type: Boolean }], localeFormat: [5, {}, { type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], min: [11, {}, { reflect: true, type: Number }], minLength: [11, {}, { reflect: true, type: Number }], multiple: [5, {}, { type: Boolean }], name: [3, {}, { reflect: true }], numberButtonType: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], pattern: 1, placeholder: 1, prefixText: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], step: [3, {}, { reflect: true }], suffixText: 1, type: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
140
+ this.properties = { draftValue: [16, {}, { state: true }], displayedValue: [16, {}, { state: true }], inlineEditingLoading: [16, {}, { state: true }], slottedActionElDisabledInternally: [16, {}, { state: true }], accept: 1, alignment: [3, {}, { reflect: true }], autocomplete: 1, clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], inlineEditing: [7, {}, { reflect: true, type: Boolean }], inlineEdit: [3, { converter: inlineEditConverter }, { reflect: true }], inlineEditingBeforeConfirm: [0, {}, { attribute: false }], files: [0, {}, { attribute: false }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, loading: [7, {}, { reflect: true, type: Boolean }], localeFormat: [5, {}, { type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], min: [11, {}, { reflect: true, type: Number }], minLength: [11, {}, { reflect: true, type: Number }], multiple: [5, {}, { type: Boolean }], name: [3, {}, { reflect: true }], numberButtonType: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], pattern: 1, placeholder: 1, prefixText: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], step: [3, {}, { reflect: true }], suffixText: 1, type: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: 1 };
141
141
  }
142
142
  static {
143
143
  this.formAssociated = true;
@@ -145,14 +145,26 @@ class Input extends LitElement {
145
145
  static {
146
146
  this.styles = styles;
147
147
  }
148
- get selfManagedInlineEditable() {
149
- return this.inlineEditable && !this.inlineEditableEl;
148
+ get selfManagedInlineEdit() {
149
+ return !!this.inlineEdit && !this.inlineEditableEl;
150
150
  }
151
- get hasInlineEditableContext() {
152
- return this.inlineEditable || !!this.inlineEditableEl;
151
+ get hasInlineEditContext() {
152
+ return !!this.inlineEdit || !!this.inlineEditableEl;
153
+ }
154
+ get inlineEditControlsDisabled() {
155
+ return this.inlineEdit === "controls-disabled";
156
+ }
157
+ get inlineEditingEnabledInContext() {
158
+ return this.inlineEditableEl ? this.inlineEditableEl.editingEnabled : this.inlineEditing;
159
+ }
160
+ get isStagingInlineEditingValue() {
161
+ return this.selfManagedInlineEdit && this.inlineEditing;
162
+ }
163
+ get valueForEditing() {
164
+ return this.draftValue ?? this.value;
153
165
  }
154
166
  get isClearable() {
155
- return (this.clearable || this.type === "search") && this.value?.length > 0;
167
+ return (this.clearable || this.type === "search") && this.valueForEditing.length > 0;
156
168
  }
157
169
  get value() {
158
170
  return this._value;
@@ -180,9 +192,6 @@ class Input extends LitElement {
180
192
  connectedCallback() {
181
193
  super.connectedCallback();
182
194
  this.inlineEditableEl = this.el.closest("calcite-inline-editable") ?? void 0;
183
- if (this.inlineEditableEl) {
184
- this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
185
- }
186
195
  }
187
196
  async load() {
188
197
  this.maxString = this.max?.toString();
@@ -250,19 +259,19 @@ class Input extends LitElement {
250
259
  if (this.readOnly || this.disabled || event.defaultPrevented) {
251
260
  return;
252
261
  }
253
- if (this.selfManagedInlineEditable && this.editingEnabled && event.key === "Escape") {
262
+ if (this.selfManagedInlineEdit && this.inlineEditing && event.key === "Escape") {
254
263
  event.preventDefault();
255
- if (this.clearable && this.value?.length > 0) {
264
+ if (this.isClearable) {
256
265
  this.clearInputValue(event);
257
266
  return;
258
267
  }
259
- this.inlineEditableManager.cancelEditing();
268
+ this.inlineEditManager.cancelEditing();
260
269
  requestAnimationFrame(() => {
261
270
  this.enableInlineEditingButtonRef.value?.setFocus();
262
271
  });
263
272
  return;
264
273
  }
265
- if (this.isClearable && event.key === "Escape" && (!this.hasInlineEditableContext || this.editingEnabled)) {
274
+ if (this.isClearable && event.key === "Escape" && (!this.hasInlineEditContext || this.inlineEditingEnabledInContext)) {
266
275
  this.clearInputValue(event);
267
276
  event.preventDefault();
268
277
  }
@@ -272,14 +281,14 @@ class Input extends LitElement {
272
281
  }
273
282
  }
274
283
  onLabelClick() {
275
- if (this.selfManagedInlineEditable && !this.editingEnabled) {
276
- this.inlineEditableManager.enable();
284
+ if (this.selfManagedInlineEdit && !this.inlineEditing) {
285
+ this.inlineEditManager.enable();
277
286
  return;
278
287
  }
279
288
  this.setFocus();
280
289
  }
281
290
  incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
282
- const { value } = this;
291
+ const value = this.valueForEditing;
283
292
  if (value === "Infinity" || value === "-Infinity") {
284
293
  return;
285
294
  }
@@ -315,7 +324,24 @@ class Input extends LitElement {
315
324
  const target = this.type === "number" ? this.childNumberRef.value : this.childRef.value;
316
325
  target?.focus();
317
326
  }
327
+ commitInlineEditingValue() {
328
+ const draftValue = this.draftValue;
329
+ if (draftValue === void 0) {
330
+ return;
331
+ }
332
+ this.draftValue = void 0;
333
+ if (draftValue !== this.value) {
334
+ this.previousValueOrigin = "user";
335
+ this.userChangedValue = true;
336
+ this.value = draftValue;
337
+ this.calciteInputChange.emit();
338
+ this.setPreviousEmittedValue(draftValue);
339
+ }
340
+ }
318
341
  emitChangeIfUserModified() {
342
+ if (this.isStagingInlineEditingValue) {
343
+ return;
344
+ }
319
345
  if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
320
346
  this.calciteInputChange.emit();
321
347
  this.setPreviousEmittedValue(this.value);
@@ -323,9 +349,13 @@ class Input extends LitElement {
323
349
  }
324
350
  inputBlurHandler() {
325
351
  this.stopNudging();
352
+ if (this.isStagingInlineEditingValue && this.inlineEditControlsDisabled) {
353
+ this.commitInlineEditingValue();
354
+ }
326
355
  this.calciteInternalInputBlur.emit();
327
- if (this.selfManagedInlineEditable && this.editingEnabled && !this.inlineEditableControls) {
328
- this.inlineEditableManager.disable();
356
+ if (this.selfManagedInlineEdit && this.inlineEditing && this.inlineEditControlsDisabled) {
357
+ this.inlineEditManager.disable();
358
+ this.calciteInputInlineEditingChange.emit();
329
359
  }
330
360
  this.emitChangeIfUserModified();
331
361
  }
@@ -334,13 +364,13 @@ class Input extends LitElement {
334
364
  return;
335
365
  }
336
366
  const composedPath = event.composedPath();
337
- const clickedInlineEditableControls = composedPath.some((element) => element instanceof HTMLElement && element.classList.contains(CSS$1.container));
338
- if (!composedPath.includes(this.inputWrapperRef.value) || composedPath.includes(this.actionWrapperRef.value) || clickedInlineEditableControls) {
367
+ const clickedInlineEditControls = composedPath.some((element) => element instanceof HTMLElement && element.classList.contains(CSS$1.container));
368
+ if (!composedPath.includes(this.inputWrapperRef.value) || composedPath.includes(this.actionWrapperRef.value) || clickedInlineEditControls) {
339
369
  return;
340
370
  }
341
- if (this.selfManagedInlineEditable && !this.editingEnabled) {
371
+ if (this.selfManagedInlineEdit && !this.inlineEditing) {
342
372
  event.preventDefault();
343
- this.inlineEditableManager.enable();
373
+ this.inlineEditManager.enable();
344
374
  return;
345
375
  }
346
376
  this.setFocus();
@@ -348,6 +378,23 @@ class Input extends LitElement {
348
378
  inputFocusHandler() {
349
379
  this.calciteInternalInputFocus.emit();
350
380
  }
381
+ focusEnableInlineEditingButton() {
382
+ void this.updateComplete.then(() => {
383
+ requestAnimationFrame(() => {
384
+ void this.enableInlineEditingButtonRef.value?.setFocus();
385
+ });
386
+ });
387
+ }
388
+ inlineEditCancelEditingHandler() {
389
+ this.inlineEditManager.cancelEditing();
390
+ this.focusEnableInlineEditingButton();
391
+ }
392
+ async inlineEditConfirmChangesHandler() {
393
+ await this.inlineEditManager.confirm(this.inlineEditingBeforeConfirm, (loading) => {
394
+ this.inlineEditingLoading = loading;
395
+ });
396
+ this.focusEnableInlineEditingButton();
397
+ }
351
398
  inputInputHandler(nativeEvent) {
352
399
  if (this.disabled || this.readOnly) {
353
400
  return;
@@ -361,11 +408,24 @@ class Input extends LitElement {
361
408
  value: nativeEvent.target.value
362
409
  });
363
410
  }
364
- inputKeyDownHandler(event) {
411
+ async inputKeyDownHandler(event) {
365
412
  if (this.disabled || this.readOnly) {
366
413
  return;
367
414
  }
368
415
  if (event.key === "Enter") {
416
+ if (this.isStagingInlineEditingValue) {
417
+ event.preventDefault();
418
+ const input = event.currentTarget;
419
+ if (!this.inlineEditControlsDisabled) {
420
+ await this.inlineEditManager.confirm(this.inlineEditingBeforeConfirm, (loading) => {
421
+ this.inlineEditingLoading = loading;
422
+ });
423
+ this.focusEnableInlineEditingButton();
424
+ } else {
425
+ input.blur();
426
+ }
427
+ return;
428
+ }
369
429
  this.emitChangeIfUserModified();
370
430
  }
371
431
  }
@@ -403,7 +463,7 @@ class Input extends LitElement {
403
463
  });
404
464
  }
405
465
  }
406
- inputNumberKeyDownHandler(event) {
466
+ async inputNumberKeyDownHandler(event) {
407
467
  if (this.type !== "number" || this.disabled || this.readOnly) {
408
468
  return;
409
469
  }
@@ -439,6 +499,19 @@ class Input extends LitElement {
439
499
  const isShiftTabEvent = event.shiftKey && event.key === "Tab";
440
500
  if (supportedKeys.includes(event.key) || isShiftTabEvent) {
441
501
  if (event.key === "Enter") {
502
+ if (this.isStagingInlineEditingValue) {
503
+ event.preventDefault();
504
+ const input = event.currentTarget;
505
+ if (!this.inlineEditControlsDisabled) {
506
+ await this.inlineEditManager.confirm(this.inlineEditingBeforeConfirm, (loading) => {
507
+ this.inlineEditingLoading = loading;
508
+ });
509
+ this.focusEnableInlineEditingButton();
510
+ } else {
511
+ input.blur();
512
+ }
513
+ return;
514
+ }
442
515
  this.emitChangeIfUserModified();
443
516
  }
444
517
  return;
@@ -521,8 +594,14 @@ class Input extends LitElement {
521
594
  setPreviousValue(value) {
522
595
  this.previousValue = this.normalizeValue(value);
523
596
  }
597
+ restoreInlineEditingValue(value) {
598
+ this.draftValue = void 0;
599
+ this.setValue({ origin: "direct", value });
600
+ }
524
601
  setValue({ committing = false, nativeEvent, origin, previousValue, value }) {
525
- this.setPreviousValue(previousValue ?? this.value);
602
+ const previousDraftValue = this.valueForEditing;
603
+ const shouldStageValue = origin === "user" && this.isStagingInlineEditingValue;
604
+ this.setPreviousValue(previousValue ?? previousDraftValue);
526
605
  this.previousValueOrigin = origin;
527
606
  if (this.type === "number") {
528
607
  numberStringFormatter.numberFormatOptions = {
@@ -531,7 +610,7 @@ class Input extends LitElement {
531
610
  useGrouping: this.groupSeparator,
532
611
  signDisplay: "never"
533
612
  };
534
- const isValueDeleted = this.previousValue?.length > value.length || this.value?.length > value.length;
613
+ const isValueDeleted = this.previousValue?.length > value.length || previousDraftValue?.length > value.length;
535
614
  const hasTrailingDecimalSeparator = value.charAt(value.length - 1) === ".";
536
615
  const sanitizedValue = hasTrailingDecimalSeparator && isValueDeleted ? value : sanitizeNumberString(value);
537
616
  const newValue = value && !sanitizedValue ? isValidNumber(this.previousValue) ? this.previousValue : "" : sanitizedValue;
@@ -540,22 +619,32 @@ class Input extends LitElement {
540
619
  newLocalizedValue = addLocalizedTrailingDecimalZeros(newLocalizedValue, newValue, numberStringFormatter);
541
620
  }
542
621
  this.displayedValue = hasTrailingDecimalSeparator && isValueDeleted ? `${newLocalizedValue}${numberStringFormatter.decimal}` : newLocalizedValue;
543
- this.userChangedValue = origin === "user" && this.value !== newValue;
544
- this.value = ["-", "."].includes(newValue) ? "" : newValue;
622
+ const validNewValue = ["-", "."].includes(newValue) ? "" : newValue;
623
+ if (shouldStageValue) {
624
+ this.draftValue = validNewValue;
625
+ } else {
626
+ this.userChangedValue = origin === "user" && this.value !== validNewValue;
627
+ this.value = validNewValue;
628
+ }
545
629
  } else {
546
- this.userChangedValue = origin === "user" && this.value !== value;
547
- this.value = value;
630
+ if (shouldStageValue) {
631
+ this.draftValue = value;
632
+ } else {
633
+ this.userChangedValue = origin === "user" && this.value !== value;
634
+ this.value = value;
635
+ }
548
636
  }
549
637
  if (origin === "direct") {
638
+ this.draftValue = void 0;
550
639
  this.setInputValue(value);
551
640
  this.previousEmittedValue = value;
552
641
  }
553
- if (nativeEvent) {
642
+ if (nativeEvent && !shouldStageValue) {
554
643
  const calciteInputInputEvent = this.calciteInputInput.emit();
555
644
  if (calciteInputInputEvent.defaultPrevented) {
556
645
  this.value = this.previousValue;
557
646
  this.displayedValue = this.type === "number" ? numberStringFormatter.localize(this.previousValue) : this.previousValue;
558
- } else if (committing) {
647
+ } else if (committing && !shouldStageValue) {
559
648
  this.emitChangeIfUserModified();
560
649
  }
561
650
  }
@@ -589,25 +678,23 @@ class Input extends LitElement {
589
678
  const enterKeyHint = this.el.enterKeyHint;
590
679
  const inputMode = this.el.inputMode;
591
680
  const localeNumberInput = this.type === "number" ? keyed("localized-input", html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} class=${safeClassMap({
592
- [CSS.editingEnabled]: this.editingEnabled,
593
- [CSS.inlineChild]: this.hasInlineEditableContext,
681
+ [CSS.inlineEditing]: this.inlineEditingEnabledInContext,
682
+ [CSS.inlineChild]: this.hasInlineEditContext,
594
683
  [CSS.inlineEditableChild]: !!this.inlineEditableEl
595
684
  // `calcite-inline-editable` deprecated in v5.2.0, removal target v7.0.0
596
- })} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} tabindex=${(this.disabled || this.hasInlineEditableContext && !this.editingEnabled ? -1 : void 0) ?? nothing} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`) : null;
685
+ })} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} tabindex=${(this.disabled || this.hasInlineEditContext && !this.inlineEditingEnabledInContext ? -1 : void 0) ?? nothing} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`) : null;
597
686
  const childEl = this.type !== "number" ? html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} class=${safeClassMap({
598
- [CSS.editingEnabled]: this.editingEnabled,
599
- [CSS.inlineChild]: this.hasInlineEditableContext,
687
+ [CSS.inlineEditing]: this.inlineEditingEnabledInContext,
688
+ [CSS.inlineChild]: this.hasInlineEditContext,
600
689
  [CSS.inlineEditableChild]: !!this.inlineEditableEl
601
690
  // `calcite-inline-editable` deprecated in v5.2.0, removal target v7.0.0
602
- })} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} max=${this.maxString ?? nothing} maxlength=${this.maxLength ?? nothing} min=${this.minString ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${this.name ?? nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} spellcheck=${this.el.spellcheck ?? nothing} step=${this.step ?? nothing} tabindex=${(this.disabled || this.hasInlineEditableContext && !this.editingEnabled ? -1 : void 0) ?? nothing} type=${this.type ?? nothing} .value=${live(this.value ?? "")} ${ref(this.childRef)}>` : null;
691
+ })} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} max=${this.maxString ?? nothing} maxlength=${this.maxLength ?? nothing} min=${this.minString ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${this.name ?? nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} spellcheck=${this.el.spellcheck ?? nothing} step=${this.step ?? nothing} tabindex=${(this.disabled || this.hasInlineEditContext && !this.inlineEditingEnabledInContext ? -1 : void 0) ?? nothing} type=${this.type ?? nothing} .value=${live(this.valueForEditing ?? "")} ${ref(this.childRef)}>` : null;
603
692
  return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap({
604
693
  [CSS.inputWrapper]: true,
605
694
  [CSS_UTILITY.rtl]: dir === "rtl",
606
695
  [CSS.hasSuffix]: this.suffixText,
607
696
  [CSS.hasPrefix]: this.prefixText
608
- })} ${ref(this.inputWrapperRef)}><div class=${safeClassMap(CSS.wrapper)}>${this.loading ? loader : null}${this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly ? numberButtonsHorizontalDown : null}${this.prefixText ? prefixText : null}${this.requestedIcon ? iconEl : null}${localeNumberInput}${childEl}${this.isClearable ? clearButton : null}${this.suffixText ? suffixText : null}${this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly ? numberButtonsHorizontalUp : null}${this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null}</div>${this.selfManagedInlineEditable && html`<div class=${safeClassMap(CSS.inlineEditable)}>${InlineEditableControls({ cancelEditingLabel: this.messages.cancelInlineEditing, confirmChangesLabel: this.messages.confirmInlineEditingChanges, editingEnabled: this.editingEnabled, enableEditingButtonRef: this.enableInlineEditingButtonRef, enableEditingLabel: this.messages.enableInlineEditing, loading: this.inlineEditableLoading, onCancelEditing: () => this.inlineEditableManager.cancelEditing(), onConfirmChanges: () => this.inlineEditableManager.confirm(this.inlineEditableAfterConfirm, (loading) => {
609
- this.inlineEditableLoading = loading;
610
- }), onEnableEditing: () => this.inlineEditableManager.enable(), scale: this.scale, showControls: this.editingEnabled && this.inlineEditableControls })}</div>` || ""}<div class=${safeClassMap(CSS.actionWrapper)} ${ref(this.actionWrapperRef)}><slot name=${SLOTS.action}></slot></div></div>${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, scale: this.scale, status: this.status }) : null}` });
697
+ })} ${ref(this.inputWrapperRef)}><div class=${safeClassMap(CSS.wrapper)}>${this.loading ? loader : null}${this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly ? numberButtonsHorizontalDown : null}${this.prefixText ? prefixText : null}${this.requestedIcon ? iconEl : null}${localeNumberInput}${childEl}${this.isClearable ? clearButton : null}${this.suffixText ? suffixText : null}${this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly ? numberButtonsHorizontalUp : null}${this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null}</div>${this.selfManagedInlineEdit && html`<div class=${safeClassMap(CSS.inlineEdit)}>${InlineEditControls({ cancelEditingLabel: this.messages.cancelInlineEditing, confirmChangesLabel: this.messages.confirmInlineEditingChanges, enableEditingButtonRef: this.enableInlineEditingButtonRef, enableEditingLabel: this.messages.enableInlineEditing, inlineEditing: this.inlineEditing, loading: this.inlineEditingLoading, onCancelEditing: this.inlineEditCancelEditingHandler, onConfirmChanges: this.inlineEditConfirmChangesHandler, onEnableEditing: () => this.inlineEditManager.enable(), scale: this.scale, showControls: this.inlineEditing && !this.inlineEditControlsDisabled })}</div>` || ""}<div class=${safeClassMap(CSS.actionWrapper)} ${ref(this.actionWrapperRef)}><slot name=${SLOTS.action}></slot></div></div>${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, scale: this.scale, status: this.status }) : null}` });
611
698
  }
612
699
  }
613
700
  customElement("calcite-input", Input);
@@ -7,50 +7,7 @@ import type { Status } from "../types.js";
7
7
  import type { IconName } from "../calcite-icon/types.js";
8
8
  import type { DatePicker } from "../calcite-date-picker/customElement.js";
9
9
 
10
- /**
11
- * @cssproperty [--calcite-input-date-picker-actions-icon-color] - Specifies the component's actions icon color.
12
- * @cssproperty [--calcite-input-date-picker-actions-icon-color-hover] - Specifies the component's actions icon color on hover.
13
- * @cssproperty [--calcite-input-date-picker-background-color] - Specifies the component's input background color.
14
- * @cssproperty [--calcite-input-date-picker-border-color] - Specifies the component's input border color.
15
- * @cssproperty [--calcite-input-date-picker-calendar-actions-background-color] - Specifies the background color of the component's calendar actions.
16
- * @cssproperty [--calcite-input-date-picker-calendar-actions-background-color-hover] - Specifies the background color of the component's calendar actions when hovered.
17
- * @cssproperty [--calcite-input-date-picker-calendar-actions-background-color-press] - Specifies the background color of the component's calendar actions when pressed.
18
- * @cssproperty [--calcite-input-date-picker-calendar-actions-text-color] - Specifies the text color of the component's calendar actions.
19
- * @cssproperty [--calcite-input-date-picker-calendar-actions-text-color-press] - Specifies the text color of the component's calendar actions when pressed.
20
- * @cssproperty [--calcite-input-date-picker-calendar-border-color] - Specifies the border color of the component's calendar.
21
- * @cssproperty [--calcite-input-date-picker-calendar-corner-radius] - Specifies the corner radius of the component's calendar.
22
- * @cssproperty [--calcite-input-date-picker-calendar-current-day-text-color] - Specifies the text color of the component's calendar current day element.
23
- * @cssproperty [--calcite-input-date-picker-calendar-day-background-color] - Specifies the background color of the component's calendar day elements.
24
- * @cssproperty [--calcite-input-date-picker-calendar-day-background-color-hover] - Specifies the background color of the component's calendar day elements when hovered.
25
- * @cssproperty [--calcite-input-date-picker-calendar-day-current-text-color] - [Deprecated] in v3.3.1, removal target v6.0.0 - Use `--calcite-input-date-picker-calendar-current-day-text-color` instead. Specifies the text color of current day of the component's date-picker.
26
- * @cssproperty [--calcite-input-date-picker-calendar-day-range-background-color] - Specifies the background color of the component's calendar selected day range.
27
- * @cssproperty [--calcite-input-date-picker-calendar-day-range-text-color] - Specifies the text color of the component's calendar selected day range.
28
- * @cssproperty [--calcite-input-date-picker-calendar-day-text-color-selected] - Specifies the text color of component's calendar selected day.
29
- * @cssproperty [--calcite-input-date-picker-calendar-day-outside-range-background-color-hover] - Specifies the background color of the component's calendar day elements outside the current range when hovered.
30
- * @cssproperty [--calcite-input-date-picker-calendar-day-outside-range-text-color-hover] - Specifies the text color of the component's calendar day elements outside the current range when hovered.
31
- * @cssproperty [--calcite-input-date-picker-calendar-day-text-color] - Specifies the text color of the component's calendar day elements.
32
- * @cssproperty [--calcite-input-date-picker-calendar-day-text-color-hover] - Specifies the text color of the component's calendar day elements when hovered.
33
- * @cssproperty [--calcite-input-date-picker-calendar-selected-background-color] - Specifies the background color of the component's calendar selected day.
34
- * @cssproperty [--calcite-input-date-picker-calendar-shadow] - Specifies the component's calendar shadow.
35
- * @cssproperty [--calcite-input-date-picker-calendar-icon-color] - Specifies the component's calendar icon color.
36
- * @cssproperty [--calcite-input-date-picker-calendar-icon-color-hover] - Specifies the component's calendar icon color when hovered.
37
- * @cssproperty [--calcite-input-date-picker-calendar-month-select-text-color] - Specifies the text color of the component's calendar selected month.
38
- * @cssproperty [--calcite-input-date-picker-calendar-range-divider-color] - When `range` is `true`, specifies the divider color between the component's calendars.
39
- * @cssproperty [--calcite-input-date-picker-calendar-text-color] - Specifies the text color of the component's calendar week, year & suffix.
40
- * @cssproperty [--calcite-input-date-picker-corner-radius] - Specifies the component's input corner radius.
41
- * @cssproperty [--calcite-input-date-picker-divider-color] - When `range` is `true`, specifies the component's divider color between two inputs.
42
- * @cssproperty [--calcite-input-date-picker-icon-color] - Specifies the component's input icon color.
43
- * @cssproperty [--calcite-input-date-picker-placeholder-text-color] - Specifies the component's input placeholder text color.
44
- * @cssproperty [--calcite-input-date-picker-shadow] - Specifies the component's input shadow.
45
- * @cssproperty [--calcite-input-date-picker-text-color] - Specifies the component's input text color.
46
- * @cssproperty [--calcite-input-date-picker-input-action-background-color] - Specifies the background color of the input's `clearable` element.
47
- * @cssproperty [--calcite-input-date-picker-input-action-background-color-hover] - Specifies the background color of the input's `clearable` element when hovered.
48
- * @cssproperty [--calcite-input-date-picker-input-action-background-color-press] - Specifies the background color of the input's `clearable` element when pressed.
49
- * @cssproperty [--calcite-input-date-picker-input-action-icon-color] - Specifies the icon color of the input's `clearable` and toggle elements.
50
- * @cssproperty [--calcite-input-date-picker-input-action-icon-color-hover] - Specifies the icon color of the input's `clearable` and toggle elements when hovered.
51
- * @cssproperty [--calcite-input-date-picker-input-action-icon-color-press] - Specifies the icon color of the input's `clearable` and toggle elements when pressed.
52
- * @slot [label-content] - A slot for rendering content next to the component's `labelText`.
53
- */
10
+ /** @slot [label-content] - A slot for rendering content next to the component's `labelText`. */
54
11
  export abstract class InputDatePicker extends LitElement {
55
12
  /**
56
13
  * When `range` is `true`, specifies the number of calendars displayed.
@@ -5,9 +5,6 @@ import type { IconName } from "../calcite-icon/types.js";
5
5
 
6
6
  /**
7
7
  * @deprecated in v5.0.0, removal target v6.0.0 - Use the `calcite-notice` component with `appearance="transparent"` instead.
8
- * @cssproperty [--calcite-input-message-spacing-value] - [Deprecated] in v3.2.0, removal target v6.0.0 - Use `--calcite-input-message-spacing` instead. Specifies the margin spacing at the top of the component.
9
- * @cssproperty [--calcite-input-message-spacing] - Specifies the component's top margin spacing.
10
- * @cssproperty [--calcite-input-message-icon-color] - Specifies the component's icon color.
11
8
  * @slot - A slot for adding text.
12
9
  */
13
10
  export abstract class InputMessage extends LitElement {