@daikin-oss/design-system-web-components 0.2.0 → 0.3.2

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 (328) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +47 -7
  3. package/dist/cjs/components/accordion/daikin-accordion.cjs +37 -0
  4. package/dist/cjs/components/accordion/daikin-accordion.d.ts +39 -0
  5. package/dist/cjs/components/accordion/index.cjs +7 -0
  6. package/dist/cjs/components/accordion/index.d.ts +1 -0
  7. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +177 -0
  8. package/dist/cjs/components/accordion-item/daikin-accordion-item.d.ts +55 -0
  9. package/dist/cjs/components/accordion-item/index.cjs +7 -0
  10. package/dist/cjs/components/accordion-item/index.d.ts +1 -0
  11. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +124 -0
  12. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.ts +52 -0
  13. package/dist/cjs/components/breadcrumb/index.cjs +7 -0
  14. package/dist/cjs/components/breadcrumb/index.d.ts +1 -0
  15. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +116 -0
  16. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +62 -0
  17. package/dist/cjs/components/breadcrumb-item/index.cjs +7 -0
  18. package/dist/cjs/components/breadcrumb-item/index.d.ts +1 -0
  19. package/dist/cjs/components/button/daikin-button.cjs +25 -7
  20. package/dist/cjs/components/button/daikin-button.d.ts +21 -4
  21. package/dist/cjs/components/button/index.cjs +7 -0
  22. package/dist/cjs/components/checkbox/daikin-checkbox.d.ts +11 -2
  23. package/dist/cjs/components/checkbox/index.cjs +7 -0
  24. package/dist/cjs/components/icon/daikin-icon.cjs +87 -0
  25. package/dist/cjs/components/icon/daikin-icon.d.ts +48 -0
  26. package/dist/cjs/components/icon/icons.json.cjs +29 -0
  27. package/dist/cjs/components/icon/icons.json.d.ts +31 -0
  28. package/dist/cjs/components/icon/index.cjs +8 -0
  29. package/dist/cjs/components/icon/index.d.ts +1 -0
  30. package/dist/cjs/components/index.cjs +93 -0
  31. package/dist/cjs/components/index.d.ts +11 -0
  32. package/dist/cjs/components/input-group/daikin-input-group.cjs +1 -1
  33. package/dist/cjs/components/input-group/daikin-input-group.d.ts +27 -2
  34. package/dist/cjs/components/input-group/index.cjs +7 -0
  35. package/dist/cjs/components/notification/daikin-notification.cjs +15 -33
  36. package/dist/cjs/components/notification/daikin-notification.d.ts +21 -8
  37. package/dist/cjs/components/notification/index.cjs +7 -0
  38. package/dist/cjs/components/panel-switcher/daikin-panel-switcher.cjs +55 -0
  39. package/dist/cjs/components/panel-switcher/daikin-panel-switcher.d.ts +50 -0
  40. package/dist/cjs/components/panel-switcher/index.cjs +7 -0
  41. package/dist/cjs/components/panel-switcher/index.d.ts +1 -0
  42. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +137 -0
  43. package/dist/cjs/components/progress-bar/daikin-progress-bar.d.ts +47 -0
  44. package/dist/cjs/components/progress-bar/index.cjs +7 -0
  45. package/dist/cjs/components/progress-bar/index.d.ts +1 -0
  46. package/dist/cjs/components/radio/daikin-radio.d.ts +11 -2
  47. package/dist/cjs/components/radio/index.cjs +7 -0
  48. package/dist/cjs/components/tab/daikin-tab.cjs +126 -0
  49. package/dist/cjs/components/tab/daikin-tab.d.ts +54 -0
  50. package/dist/cjs/components/tab/index.cjs +7 -0
  51. package/dist/cjs/components/tab/index.d.ts +1 -0
  52. package/dist/cjs/components/tab-group/daikin-tab-group.cjs +211 -0
  53. package/dist/cjs/components/tab-group/daikin-tab-group.d.ts +104 -0
  54. package/dist/cjs/components/tab-group/index.cjs +7 -0
  55. package/dist/cjs/components/tab-group/index.d.ts +1 -0
  56. package/dist/cjs/components/tab-group/scroller.cjs +65 -0
  57. package/dist/cjs/components/tab-group/scroller.d.ts +25 -0
  58. package/dist/cjs/components/text-input/daikin-text-input.d.ts +16 -2
  59. package/dist/cjs/components/text-input/index.cjs +7 -0
  60. package/dist/cjs/components/textarea/daikin-textarea.d.ts +16 -2
  61. package/dist/cjs/components/textarea/index.cjs +7 -0
  62. package/dist/cjs/components/toggle/daikin-toggle.cjs +132 -0
  63. package/dist/cjs/components/toggle/daikin-toggle.d.ts +60 -0
  64. package/dist/cjs/components/toggle/index.cjs +7 -0
  65. package/dist/cjs/components/toggle/index.d.ts +1 -0
  66. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +223 -0
  67. package/dist/cjs/components/tooltip/daikin-tooltip.d.ts +76 -0
  68. package/dist/cjs/components/tooltip/index.cjs +7 -0
  69. package/dist/cjs/components/tooltip/index.d.ts +1 -0
  70. package/dist/cjs/index.cjs +56 -0
  71. package/dist/cjs/is-client.cjs +5 -0
  72. package/dist/cjs/is-client.d.ts +1 -0
  73. package/dist/cjs/tailwind.css.cjs +2 -2
  74. package/dist/cjs/type-utils.d.ts +0 -1
  75. package/dist/cjs-dev/colors.cjs +80 -0
  76. package/dist/cjs-dev/colors.d.ts +69 -0
  77. package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +37 -0
  78. package/dist/cjs-dev/components/accordion/daikin-accordion.d.ts +39 -0
  79. package/dist/cjs-dev/components/accordion/index.cjs +7 -0
  80. package/dist/cjs-dev/components/accordion/index.d.ts +1 -0
  81. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +177 -0
  82. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.d.ts +55 -0
  83. package/dist/cjs-dev/components/accordion-item/index.cjs +7 -0
  84. package/dist/cjs-dev/components/accordion-item/index.d.ts +1 -0
  85. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +124 -0
  86. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.ts +52 -0
  87. package/dist/cjs-dev/components/breadcrumb/index.cjs +7 -0
  88. package/dist/cjs-dev/components/breadcrumb/index.d.ts +1 -0
  89. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +116 -0
  90. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +62 -0
  91. package/dist/cjs-dev/components/breadcrumb-item/index.cjs +7 -0
  92. package/dist/cjs-dev/components/breadcrumb-item/index.d.ts +1 -0
  93. package/dist/cjs-dev/components/button/daikin-button.cjs +215 -0
  94. package/dist/cjs-dev/components/button/daikin-button.d.ts +76 -0
  95. package/dist/cjs-dev/components/button/index.cjs +7 -0
  96. package/dist/cjs-dev/components/button/index.d.ts +1 -0
  97. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +183 -0
  98. package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.ts +77 -0
  99. package/dist/cjs-dev/components/checkbox/index.cjs +7 -0
  100. package/dist/cjs-dev/components/checkbox/index.d.ts +1 -0
  101. package/dist/cjs-dev/components/icon/daikin-icon.cjs +96 -0
  102. package/dist/cjs-dev/components/icon/daikin-icon.d.ts +48 -0
  103. package/dist/cjs-dev/components/icon/icons.json.cjs +29 -0
  104. package/dist/cjs-dev/components/icon/icons.json.d.ts +31 -0
  105. package/dist/cjs-dev/components/icon/index.cjs +8 -0
  106. package/dist/cjs-dev/components/icon/index.d.ts +1 -0
  107. package/dist/cjs-dev/components/index.cjs +93 -0
  108. package/dist/cjs-dev/components/index.d.ts +18 -0
  109. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +119 -0
  110. package/dist/cjs-dev/components/input-group/daikin-input-group.d.ts +72 -0
  111. package/dist/cjs-dev/components/input-group/index.cjs +7 -0
  112. package/dist/cjs-dev/components/input-group/index.d.ts +1 -0
  113. package/dist/cjs-dev/components/notification/daikin-notification.cjs +191 -0
  114. package/dist/cjs-dev/components/notification/daikin-notification.d.ts +75 -0
  115. package/dist/cjs-dev/components/notification/index.cjs +7 -0
  116. package/dist/cjs-dev/components/notification/index.d.ts +1 -0
  117. package/dist/cjs-dev/components/panel-switcher/daikin-panel-switcher.cjs +62 -0
  118. package/dist/cjs-dev/components/panel-switcher/daikin-panel-switcher.d.ts +50 -0
  119. package/dist/cjs-dev/components/panel-switcher/index.cjs +7 -0
  120. package/dist/cjs-dev/components/panel-switcher/index.d.ts +1 -0
  121. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +152 -0
  122. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.ts +47 -0
  123. package/dist/cjs-dev/components/progress-bar/index.cjs +7 -0
  124. package/dist/cjs-dev/components/progress-bar/index.d.ts +1 -0
  125. package/dist/cjs-dev/components/radio/daikin-radio.cjs +150 -0
  126. package/dist/cjs-dev/components/radio/daikin-radio.d.ts +75 -0
  127. package/dist/cjs-dev/components/radio/index.cjs +7 -0
  128. package/dist/cjs-dev/components/radio/index.d.ts +1 -0
  129. package/dist/cjs-dev/components/tab/daikin-tab.cjs +126 -0
  130. package/dist/cjs-dev/components/tab/daikin-tab.d.ts +54 -0
  131. package/dist/cjs-dev/components/tab/index.cjs +7 -0
  132. package/dist/cjs-dev/components/tab/index.d.ts +1 -0
  133. package/dist/cjs-dev/components/tab-group/daikin-tab-group.cjs +221 -0
  134. package/dist/cjs-dev/components/tab-group/daikin-tab-group.d.ts +104 -0
  135. package/dist/cjs-dev/components/tab-group/index.cjs +7 -0
  136. package/dist/cjs-dev/components/tab-group/index.d.ts +1 -0
  137. package/dist/cjs-dev/components/tab-group/scroller.cjs +65 -0
  138. package/dist/cjs-dev/components/tab-group/scroller.d.ts +25 -0
  139. package/dist/cjs-dev/components/text-input/daikin-text-input.cjs +137 -0
  140. package/dist/cjs-dev/components/text-input/daikin-text-input.d.ts +68 -0
  141. package/dist/cjs-dev/components/text-input/index.cjs +7 -0
  142. package/dist/cjs-dev/components/text-input/index.d.ts +1 -0
  143. package/dist/cjs-dev/components/textarea/daikin-textarea.cjs +168 -0
  144. package/dist/cjs-dev/components/textarea/daikin-textarea.d.ts +70 -0
  145. package/dist/cjs-dev/components/textarea/index.cjs +7 -0
  146. package/dist/cjs-dev/components/textarea/index.d.ts +1 -0
  147. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +132 -0
  148. package/dist/cjs-dev/components/toggle/daikin-toggle.d.ts +60 -0
  149. package/dist/cjs-dev/components/toggle/index.cjs +7 -0
  150. package/dist/cjs-dev/components/toggle/index.d.ts +1 -0
  151. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +223 -0
  152. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.ts +76 -0
  153. package/dist/cjs-dev/components/tooltip/index.cjs +7 -0
  154. package/dist/cjs-dev/components/tooltip/index.d.ts +1 -0
  155. package/dist/cjs-dev/constants/events.cjs +4 -0
  156. package/dist/cjs-dev/constants/events.d.ts +1 -0
  157. package/dist/cjs-dev/index.cjs +95 -0
  158. package/dist/cjs-dev/index.d.ts +3 -0
  159. package/dist/cjs-dev/is-client.cjs +5 -0
  160. package/dist/cjs-dev/is-client.d.ts +1 -0
  161. package/dist/cjs-dev/lit-analyzer-types.d.ts +112 -0
  162. package/dist/cjs-dev/tailwind.css.cjs +6 -0
  163. package/dist/cjs-dev/type-utils.d.ts +24 -0
  164. package/dist/es/components/accordion/daikin-accordion.d.ts +39 -0
  165. package/dist/es/components/accordion/daikin-accordion.js +38 -0
  166. package/dist/es/components/accordion/index.d.ts +1 -0
  167. package/dist/es/components/accordion/index.js +4 -0
  168. package/dist/es/components/accordion-item/daikin-accordion-item.d.ts +55 -0
  169. package/dist/es/components/accordion-item/daikin-accordion-item.js +178 -0
  170. package/dist/es/components/accordion-item/index.d.ts +1 -0
  171. package/dist/es/components/accordion-item/index.js +4 -0
  172. package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +52 -0
  173. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +125 -0
  174. package/dist/es/components/breadcrumb/index.d.ts +1 -0
  175. package/dist/es/components/breadcrumb/index.js +4 -0
  176. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +62 -0
  177. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +117 -0
  178. package/dist/es/components/breadcrumb-item/index.d.ts +1 -0
  179. package/dist/es/components/breadcrumb-item/index.js +4 -0
  180. package/dist/es/components/button/daikin-button.d.ts +21 -4
  181. package/dist/es/components/button/daikin-button.js +25 -7
  182. package/dist/es/components/button/index.js +4 -0
  183. package/dist/es/components/checkbox/daikin-checkbox.d.ts +11 -2
  184. package/dist/es/components/checkbox/index.js +4 -0
  185. package/dist/es/components/icon/daikin-icon.d.ts +48 -0
  186. package/dist/es/components/icon/daikin-icon.js +88 -0
  187. package/dist/es/components/icon/icons.json.d.ts +31 -0
  188. package/dist/es/components/icon/icons.json.js +29 -0
  189. package/dist/es/components/icon/index.d.ts +1 -0
  190. package/dist/es/components/icon/index.js +5 -0
  191. package/dist/es/components/index.d.ts +11 -0
  192. package/dist/es/components/index.js +39 -0
  193. package/dist/es/components/input-group/daikin-input-group.d.ts +27 -2
  194. package/dist/es/components/input-group/daikin-input-group.js +1 -1
  195. package/dist/es/components/input-group/index.js +4 -0
  196. package/dist/es/components/notification/daikin-notification.d.ts +21 -8
  197. package/dist/es/components/notification/daikin-notification.js +15 -33
  198. package/dist/es/components/notification/index.js +4 -0
  199. package/dist/es/components/panel-switcher/daikin-panel-switcher.d.ts +50 -0
  200. package/dist/es/components/panel-switcher/daikin-panel-switcher.js +56 -0
  201. package/dist/es/components/panel-switcher/index.d.ts +1 -0
  202. package/dist/es/components/panel-switcher/index.js +4 -0
  203. package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +47 -0
  204. package/dist/es/components/progress-bar/daikin-progress-bar.js +138 -0
  205. package/dist/es/components/progress-bar/index.d.ts +1 -0
  206. package/dist/es/components/progress-bar/index.js +4 -0
  207. package/dist/es/components/radio/daikin-radio.d.ts +11 -2
  208. package/dist/es/components/radio/index.js +4 -0
  209. package/dist/es/components/tab/daikin-tab.d.ts +54 -0
  210. package/dist/es/components/tab/daikin-tab.js +127 -0
  211. package/dist/es/components/tab/index.d.ts +1 -0
  212. package/dist/es/components/tab/index.js +4 -0
  213. package/dist/es/components/tab-group/daikin-tab-group.d.ts +104 -0
  214. package/dist/es/components/tab-group/daikin-tab-group.js +212 -0
  215. package/dist/es/components/tab-group/index.d.ts +1 -0
  216. package/dist/es/components/tab-group/index.js +4 -0
  217. package/dist/es/components/tab-group/scroller.d.ts +25 -0
  218. package/dist/es/components/tab-group/scroller.js +65 -0
  219. package/dist/es/components/text-input/daikin-text-input.d.ts +16 -2
  220. package/dist/es/components/text-input/index.js +4 -0
  221. package/dist/es/components/textarea/daikin-textarea.d.ts +16 -2
  222. package/dist/es/components/textarea/index.js +4 -0
  223. package/dist/es/components/toggle/daikin-toggle.d.ts +60 -0
  224. package/dist/es/components/toggle/daikin-toggle.js +133 -0
  225. package/dist/es/components/toggle/index.d.ts +1 -0
  226. package/dist/es/components/toggle/index.js +4 -0
  227. package/dist/es/components/tooltip/daikin-tooltip.d.ts +76 -0
  228. package/dist/es/components/tooltip/daikin-tooltip.js +224 -0
  229. package/dist/es/components/tooltip/index.d.ts +1 -0
  230. package/dist/es/components/tooltip/index.js +4 -0
  231. package/dist/es/index.js +24 -1
  232. package/dist/es/is-client.d.ts +1 -0
  233. package/dist/es/is-client.js +5 -0
  234. package/dist/es/tailwind.css.js +2 -2
  235. package/dist/es/type-utils.d.ts +0 -1
  236. package/dist/es-dev/colors.d.ts +69 -0
  237. package/dist/es-dev/colors.js +80 -0
  238. package/dist/es-dev/components/accordion/daikin-accordion.d.ts +39 -0
  239. package/dist/es-dev/components/accordion/daikin-accordion.js +38 -0
  240. package/dist/es-dev/components/accordion/index.d.ts +1 -0
  241. package/dist/es-dev/components/accordion/index.js +4 -0
  242. package/dist/es-dev/components/accordion-item/daikin-accordion-item.d.ts +55 -0
  243. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +178 -0
  244. package/dist/es-dev/components/accordion-item/index.d.ts +1 -0
  245. package/dist/es-dev/components/accordion-item/index.js +4 -0
  246. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +52 -0
  247. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +125 -0
  248. package/dist/es-dev/components/breadcrumb/index.d.ts +1 -0
  249. package/dist/es-dev/components/breadcrumb/index.js +4 -0
  250. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +62 -0
  251. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +117 -0
  252. package/dist/es-dev/components/breadcrumb-item/index.d.ts +1 -0
  253. package/dist/es-dev/components/breadcrumb-item/index.js +4 -0
  254. package/dist/es-dev/components/button/daikin-button.d.ts +76 -0
  255. package/dist/es-dev/components/button/daikin-button.js +216 -0
  256. package/dist/es-dev/components/button/index.d.ts +1 -0
  257. package/dist/es-dev/components/button/index.js +4 -0
  258. package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +77 -0
  259. package/dist/es-dev/components/checkbox/daikin-checkbox.js +184 -0
  260. package/dist/es-dev/components/checkbox/index.d.ts +1 -0
  261. package/dist/es-dev/components/checkbox/index.js +4 -0
  262. package/dist/es-dev/components/icon/daikin-icon.d.ts +48 -0
  263. package/dist/es-dev/components/icon/daikin-icon.js +97 -0
  264. package/dist/es-dev/components/icon/icons.json.d.ts +31 -0
  265. package/dist/es-dev/components/icon/icons.json.js +29 -0
  266. package/dist/es-dev/components/icon/index.d.ts +1 -0
  267. package/dist/es-dev/components/icon/index.js +5 -0
  268. package/dist/es-dev/components/index.d.ts +18 -0
  269. package/dist/es-dev/components/index.js +39 -0
  270. package/dist/es-dev/components/input-group/daikin-input-group.d.ts +72 -0
  271. package/dist/es-dev/components/input-group/daikin-input-group.js +120 -0
  272. package/dist/es-dev/components/input-group/index.d.ts +1 -0
  273. package/dist/es-dev/components/input-group/index.js +4 -0
  274. package/dist/es-dev/components/notification/daikin-notification.d.ts +75 -0
  275. package/dist/es-dev/components/notification/daikin-notification.js +192 -0
  276. package/dist/es-dev/components/notification/index.d.ts +1 -0
  277. package/dist/es-dev/components/notification/index.js +4 -0
  278. package/dist/es-dev/components/panel-switcher/daikin-panel-switcher.d.ts +50 -0
  279. package/dist/es-dev/components/panel-switcher/daikin-panel-switcher.js +63 -0
  280. package/dist/es-dev/components/panel-switcher/index.d.ts +1 -0
  281. package/dist/es-dev/components/panel-switcher/index.js +4 -0
  282. package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +47 -0
  283. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +153 -0
  284. package/dist/es-dev/components/progress-bar/index.d.ts +1 -0
  285. package/dist/es-dev/components/progress-bar/index.js +4 -0
  286. package/dist/es-dev/components/radio/daikin-radio.d.ts +75 -0
  287. package/dist/es-dev/components/radio/daikin-radio.js +151 -0
  288. package/dist/es-dev/components/radio/index.d.ts +1 -0
  289. package/dist/es-dev/components/radio/index.js +4 -0
  290. package/dist/es-dev/components/tab/daikin-tab.d.ts +54 -0
  291. package/dist/es-dev/components/tab/daikin-tab.js +127 -0
  292. package/dist/es-dev/components/tab/index.d.ts +1 -0
  293. package/dist/es-dev/components/tab/index.js +4 -0
  294. package/dist/es-dev/components/tab-group/daikin-tab-group.d.ts +104 -0
  295. package/dist/es-dev/components/tab-group/daikin-tab-group.js +222 -0
  296. package/dist/es-dev/components/tab-group/index.d.ts +1 -0
  297. package/dist/es-dev/components/tab-group/index.js +4 -0
  298. package/dist/es-dev/components/tab-group/scroller.d.ts +25 -0
  299. package/dist/es-dev/components/tab-group/scroller.js +65 -0
  300. package/dist/es-dev/components/text-input/daikin-text-input.d.ts +68 -0
  301. package/dist/es-dev/components/text-input/daikin-text-input.js +138 -0
  302. package/dist/es-dev/components/text-input/index.d.ts +1 -0
  303. package/dist/es-dev/components/text-input/index.js +4 -0
  304. package/dist/es-dev/components/textarea/daikin-textarea.d.ts +70 -0
  305. package/dist/es-dev/components/textarea/daikin-textarea.js +169 -0
  306. package/dist/es-dev/components/textarea/index.d.ts +1 -0
  307. package/dist/es-dev/components/textarea/index.js +4 -0
  308. package/dist/es-dev/components/toggle/daikin-toggle.d.ts +60 -0
  309. package/dist/es-dev/components/toggle/daikin-toggle.js +133 -0
  310. package/dist/es-dev/components/toggle/index.d.ts +1 -0
  311. package/dist/es-dev/components/toggle/index.js +4 -0
  312. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +76 -0
  313. package/dist/es-dev/components/tooltip/daikin-tooltip.js +224 -0
  314. package/dist/es-dev/components/tooltip/index.d.ts +1 -0
  315. package/dist/es-dev/components/tooltip/index.js +4 -0
  316. package/dist/es-dev/constants/events.d.ts +1 -0
  317. package/dist/es-dev/constants/events.js +4 -0
  318. package/dist/es-dev/index.d.ts +3 -0
  319. package/dist/es-dev/index.js +41 -0
  320. package/dist/es-dev/is-client.d.ts +1 -0
  321. package/dist/es-dev/is-client.js +5 -0
  322. package/dist/es-dev/lit-analyzer-types.d.ts +112 -0
  323. package/dist/es-dev/tailwind.css.js +6 -0
  324. package/dist/es-dev/type-utils.d.ts +24 -0
  325. package/icons/accordion-chevron-up.svg +3 -0
  326. package/icons/status-positive.svg +15 -0
  327. package/package.json +83 -50
  328. /package/icons/{input-group-error.svg → status-negative.svg} +0 -0
@@ -0,0 +1,127 @@
1
+ import { cva } from "class-variance-authority";
2
+ import { css, unsafeCSS, LitElement, html } from "lit";
3
+ import { property, customElement } from "lit/decorators.js";
4
+ import tailwindStyles from "../../tailwind.css.js";
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __decorateClass = (decorators, target, key, kind) => {
8
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
9
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
10
+ if (decorator = decorators[i])
11
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12
+ if (kind && result) __defProp(target, key, result);
13
+ return result;
14
+ };
15
+ const cvaTab = cva(
16
+ [
17
+ "flex",
18
+ "w-full",
19
+ "h-full",
20
+ "items-center",
21
+ "justify-center",
22
+ "text-center",
23
+ "relative",
24
+ "font-daikinSerif",
25
+ "text-base",
26
+ "tracking-wide",
27
+ "whitespace-nowrap",
28
+ "contain-paint",
29
+ "disabled:cursor-default",
30
+ "after:content-['']",
31
+ "after:z-1",
32
+ "after:absolute",
33
+ "after:bottom-0",
34
+ "after:left-0",
35
+ "after:right-0",
36
+ "after:w-full",
37
+ "text-daikinBlue-500",
38
+ "hover:text-daikinBlue-400",
39
+ "active:text-daikinBlue-600",
40
+ "focus-visible:text-daikinBlue-700",
41
+ "disabled:text-daikinNeutral-300",
42
+ "aria-selected:after:h-1",
43
+ "aria-selected:after:bg-daikinBlue-500",
44
+ "hover:aria-selected:after:bg-daikinBlue-400",
45
+ "active:aria-selected:after:bg-daikinBlue-600",
46
+ "focus-visible:aria-selected:after:bg-daikinBlue-700",
47
+ "disabled:after:bg-daikinNeutral-300"
48
+ ],
49
+ {
50
+ variants: {
51
+ size: {
52
+ default: ["px-4"],
53
+ condensed: ["px-[10px]"]
54
+ }
55
+ }
56
+ }
57
+ );
58
+ let DaikinTab = class extends LitElement {
59
+ constructor() {
60
+ super();
61
+ this.value = "";
62
+ this.size = "default";
63
+ this.disabled = false;
64
+ this.active = false;
65
+ this.addEventListener("click", this._handleClick);
66
+ }
67
+ _handleClick(event) {
68
+ if (this.disabled) {
69
+ event.stopImmediatePropagation();
70
+ }
71
+ }
72
+ /**
73
+ * Focuses on the inner button.
74
+ * @param options focus options
75
+ */
76
+ focus(options) {
77
+ var _a, _b;
78
+ (_b = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("button")) == null ? void 0 : _b.focus(options);
79
+ }
80
+ render() {
81
+ const cn = cvaTab({
82
+ size: this.size
83
+ });
84
+ return html`
85
+ <button
86
+ class=${cn}
87
+ ?disabled=${this.disabled}
88
+ role="tab"
89
+ aria-selected=${!this.disabled && this.active}
90
+ tabindex=${this.active ? 0 : -1}
91
+ >
92
+ <slot></slot>
93
+ </button>
94
+ `;
95
+ }
96
+ };
97
+ DaikinTab.styles = css`
98
+ ${unsafeCSS(tailwindStyles)}
99
+
100
+ :host {
101
+ display: inline-block;
102
+ width: fit-content;
103
+ height: 48px;
104
+ }
105
+
106
+ :host([size="condensed"]) {
107
+ height: 40px;
108
+ }
109
+ `;
110
+ __decorateClass([
111
+ property({ type: String, reflect: true })
112
+ ], DaikinTab.prototype, "value", 2);
113
+ __decorateClass([
114
+ property({ type: String, reflect: true })
115
+ ], DaikinTab.prototype, "size", 2);
116
+ __decorateClass([
117
+ property({ type: Boolean, reflect: true })
118
+ ], DaikinTab.prototype, "disabled", 2);
119
+ __decorateClass([
120
+ property({ type: Boolean, reflect: true })
121
+ ], DaikinTab.prototype, "active", 2);
122
+ DaikinTab = __decorateClass([
123
+ customElement("daikin-tab")
124
+ ], DaikinTab);
125
+ export {
126
+ DaikinTab
127
+ };
@@ -0,0 +1 @@
1
+ export * from './daikin-tab';
@@ -0,0 +1,4 @@
1
+ import { DaikinTab } from "./daikin-tab.js";
2
+ export {
3
+ DaikinTab
4
+ };
@@ -0,0 +1,104 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ /**
3
+ * The tab group component manages a group of tabs and switches the content displayed using the panel switcher component.
4
+ * It allows users to navigate between different sections of content by clicking on individual tabs.
5
+ * Tab groups do not provide styles; developers must apply styles to the wrapper of the tabs (`tablist` part) and to the panel switcher(s).
6
+ *
7
+ * > [!WARNING]
8
+ * > At least one tab must be available (that means, the tab must be present and enabled).
9
+ * > Otherwise, unexpected behavior may be encountered.
10
+ *
11
+ * Hierarchies:
12
+ * - `daikin-tab-group` > `daikin-tab`
13
+ * - `daikin-tab-group` > `daikin-panel-switcher` ("panels" slot)
14
+ *
15
+ * @fires beforechange - _Cancellable._ A custom event emitted when the current tab is about to be changed by user interaction.
16
+ * @fires change - A custom event emitted when the current tab is changed.
17
+ *
18
+ * @slot - A slot for tab buttons. Place `daikin-tab` elements here.
19
+ * @slot panels - A slot for a panel switcher component. Place `daikin-panel-switcher` element(s) here.
20
+ *
21
+ * @csspart tablist - The container element for the default (tab list) slot. Has "tablist" role.
22
+ *
23
+ * @example
24
+ *
25
+ * ```html
26
+ * <!-- See storybook for styling tab group. You'll need `::part(tablist)` to style the tab container. -->
27
+ * <daikin-tab-group value="foo">
28
+ * <daikin-tab value="foo">Foo tab</daikin-tab>
29
+ * <daikin-tab value="bar">Bar tab</daikin-tab>
30
+ * <!-- At least one "daikin-panel-switcher" is needed to switch the content. -->
31
+ * <daikin-panel-switcher slot="panels">
32
+ * <!-- Mind the "panel:" prefix. -->
33
+ * <p slot="panel:foo">Foo tab content.</p>
34
+ * <p slot="panel:bar">Bar tab content.</p>
35
+ * </daikin-panel-switcher>
36
+ * </daikin-tab-group>
37
+ * ```
38
+ */
39
+ export declare class DaikinTabGroup extends LitElement {
40
+ static readonly styles: import('lit').CSSResult;
41
+ /**
42
+ * `value` of the currently selected tab (`daikin-tab`).
43
+ */
44
+ value: string;
45
+ /**
46
+ * Tab(s) in the default slot.
47
+ */
48
+ private _tabs;
49
+ /**
50
+ * Panel switcher(s) in the `panels` slot.
51
+ */
52
+ private _panelSwitchers;
53
+ /**
54
+ * Emits `beforechange` event if necessary and returns whether we should proceed.
55
+ *
56
+ * 1. Check if `newValue` is different from `value`.
57
+ * 2. Emit "beforechange" event.
58
+ * 3. Check if the event is canceled.
59
+ *
60
+ * @param newValue The `value` of the newly active tab.
61
+ * @returns `true` if we should proceed (event is emitted and not canceled). `false` otherwise.
62
+ */
63
+ private _emitBeforeChange;
64
+ /**
65
+ * Updates `this.value` and emit "change" event.
66
+ *
67
+ * @param newValue The `value` of the newly active tab.
68
+ */
69
+ private _updateValue;
70
+ /**
71
+ * Updates `daikin-tab` component(s)' properties in the slot.
72
+ *
73
+ * Invoke when:
74
+ * - `this.value` is changed.
75
+ * - the default slot's content is changed.
76
+ */
77
+ private _updateTabs;
78
+ /**
79
+ * Updates `daikin-panel-switcher` component(s)' properties in the slot.
80
+ *
81
+ * Invoke when:
82
+ * - `this.value` is changed.
83
+ * - the default slot's content is changed.
84
+ * - the panel slot's content is changed.
85
+ */
86
+ private _updatePanelSwitcher;
87
+ /**
88
+ * Handles "click" event emitted by `daikin-tab` component.
89
+ */
90
+ private _handleTabClick;
91
+ /**
92
+ * Handles keyboard interactions in the tab list.
93
+ */
94
+ private _handleKeyDown;
95
+ private _handleSlotChange;
96
+ private _handlePanelSwitcherSlotChange;
97
+ render(): import('lit-html').TemplateResult<1>;
98
+ updated(changedProperties: PropertyValues<this>): void;
99
+ }
100
+ declare global {
101
+ interface HTMLElementTagNameMap {
102
+ "daikin-tab-group": DaikinTabGroup;
103
+ }
104
+ }
@@ -0,0 +1,222 @@
1
+ import { css, unsafeCSS, LitElement, html } from "lit";
2
+ import { property, queryAssignedElements, customElement } from "lit/decorators.js";
3
+ import tailwindStyles from "../../tailwind.css.js";
4
+ import { scrollIntoViewOnlyParent } from "./scroller.js";
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __decorateClass = (decorators, target, key, kind) => {
8
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
9
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
10
+ if (decorator = decorators[i])
11
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12
+ if (kind && result) __defProp(target, key, result);
13
+ return result;
14
+ };
15
+ let DaikinTabGroup = class extends LitElement {
16
+ constructor() {
17
+ super(...arguments);
18
+ this.value = "";
19
+ }
20
+ /**
21
+ * Emits `beforechange` event if necessary and returns whether we should proceed.
22
+ *
23
+ * 1. Check if `newValue` is different from `value`.
24
+ * 2. Emit "beforechange" event.
25
+ * 3. Check if the event is canceled.
26
+ *
27
+ * @param newValue The `value` of the newly active tab.
28
+ * @returns `true` if we should proceed (event is emitted and not canceled). `false` otherwise.
29
+ */
30
+ _emitBeforeChange(newValue) {
31
+ if (this.value === newValue) {
32
+ return false;
33
+ }
34
+ if (!this.dispatchEvent(
35
+ new CustomEvent("beforechange", {
36
+ detail: { oldValue: this.value, newValue },
37
+ bubbles: true,
38
+ composed: true,
39
+ cancelable: true
40
+ })
41
+ )) {
42
+ return false;
43
+ }
44
+ return true;
45
+ }
46
+ /**
47
+ * Updates `this.value` and emit "change" event.
48
+ *
49
+ * @param newValue The `value` of the newly active tab.
50
+ */
51
+ _updateValue(newValue) {
52
+ this.dispatchEvent(
53
+ new CustomEvent("change", {
54
+ detail: { oldValue: this.value, newValue },
55
+ bubbles: true,
56
+ composed: true,
57
+ cancelable: false
58
+ })
59
+ );
60
+ this.value = newValue;
61
+ }
62
+ /**
63
+ * Updates `daikin-tab` component(s)' properties in the slot.
64
+ *
65
+ * Invoke when:
66
+ * - `this.value` is changed.
67
+ * - the default slot's content is changed.
68
+ */
69
+ _updateTabs() {
70
+ const tabs = this._tabs;
71
+ let selectedTab;
72
+ for (const tab of tabs) {
73
+ const isActive = !selectedTab && !tab.disabled && tab.value === this.value;
74
+ tab.active = isActive;
75
+ if (isActive) {
76
+ selectedTab = tab;
77
+ }
78
+ }
79
+ if (!selectedTab) {
80
+ selectedTab = tabs.find((tab) => !tab.disabled);
81
+ if (selectedTab) {
82
+ selectedTab.active = true;
83
+ this._updateValue(selectedTab.value);
84
+ }
85
+ }
86
+ if (!selectedTab) {
87
+ {
88
+ console.warn(
89
+ `[daikin-tab-group] No tabs that can be activated! This may cause unexpected behavior.`
90
+ );
91
+ }
92
+ return;
93
+ }
94
+ scrollIntoViewOnlyParent(selectedTab);
95
+ }
96
+ /**
97
+ * Updates `daikin-panel-switcher` component(s)' properties in the slot.
98
+ *
99
+ * Invoke when:
100
+ * - `this.value` is changed.
101
+ * - the default slot's content is changed.
102
+ * - the panel slot's content is changed.
103
+ */
104
+ _updatePanelSwitcher() {
105
+ const panelSwitchers = this._panelSwitchers;
106
+ const tabs = this._tabs;
107
+ const panels = Array.from(new Set(tabs.map((tab) => tab.value)));
108
+ for (const panelSwitcher of panelSwitchers) {
109
+ panelSwitcher.panelRole = "tabpanel";
110
+ panelSwitcher.panels = panels;
111
+ panelSwitcher.value = this.value;
112
+ }
113
+ }
114
+ /**
115
+ * Handles "click" event emitted by `daikin-tab` component.
116
+ */
117
+ _handleTabClick(event) {
118
+ const tabs = this._tabs;
119
+ const tab = event.target;
120
+ if (!tab || !tabs.includes(tab)) {
121
+ return;
122
+ }
123
+ event.stopImmediatePropagation();
124
+ if (this.value === tab.value) {
125
+ return;
126
+ }
127
+ if (!this._emitBeforeChange(tab.value)) {
128
+ return;
129
+ }
130
+ for (const element of tabs) {
131
+ element.active = element === tab;
132
+ }
133
+ this._updateValue(tab.value);
134
+ }
135
+ /**
136
+ * Handles keyboard interactions in the tab list.
137
+ */
138
+ _handleKeyDown(event) {
139
+ const moveOffset = {
140
+ ArrowRight: 1,
141
+ ArrowLeft: -1
142
+ }[event.key];
143
+ if (!moveOffset) {
144
+ return;
145
+ }
146
+ const tabs = this._tabs;
147
+ if (!tabs.some((tab) => !tab.disabled)) {
148
+ {
149
+ console.warn(
150
+ `[daikin-tab-group] No tabs that can be activated! This may cause unexpected behavior.`
151
+ );
152
+ }
153
+ return;
154
+ }
155
+ const activeElement = document.activeElement;
156
+ const focusedTabIndex = activeElement ? tabs.findIndex((tab) => tab.contains(activeElement)) : -1;
157
+ if (focusedTabIndex < 0) {
158
+ const activeTab = tabs.find((tab) => !tab.disabled && tab.active);
159
+ activeTab == null ? void 0 : activeTab.focus();
160
+ event.preventDefault();
161
+ return;
162
+ }
163
+ for (let i = 1; i <= tabs.length; i++) {
164
+ const index = (focusedTabIndex + moveOffset * i + tabs.length * i) % tabs.length;
165
+ const candidate = tabs[index];
166
+ if (candidate.disabled) {
167
+ continue;
168
+ }
169
+ candidate.focus();
170
+ event.preventDefault();
171
+ return;
172
+ }
173
+ }
174
+ _handleSlotChange() {
175
+ this._updateTabs();
176
+ this._updatePanelSwitcher();
177
+ }
178
+ _handlePanelSwitcherSlotChange() {
179
+ this._updatePanelSwitcher();
180
+ }
181
+ render() {
182
+ return html`
183
+ <div
184
+ part="tablist"
185
+ role="tablist"
186
+ @click=${this._handleTabClick}
187
+ @keydown=${this._handleKeyDown}
188
+ >
189
+ <slot @slotchange=${this._handleSlotChange}></slot>
190
+ </div>
191
+ <slot
192
+ name="panels"
193
+ @slotchange=${this._handlePanelSwitcherSlotChange}
194
+ ></slot>
195
+ `;
196
+ }
197
+ updated(changedProperties) {
198
+ if (!changedProperties.has("value")) {
199
+ return;
200
+ }
201
+ this._updateTabs();
202
+ this._updatePanelSwitcher();
203
+ }
204
+ };
205
+ DaikinTabGroup.styles = css`
206
+ ${unsafeCSS(tailwindStyles)}
207
+ `;
208
+ __decorateClass([
209
+ property({ type: String, reflect: true })
210
+ ], DaikinTabGroup.prototype, "value", 2);
211
+ __decorateClass([
212
+ queryAssignedElements({ selector: "daikin-tab" })
213
+ ], DaikinTabGroup.prototype, "_tabs", 2);
214
+ __decorateClass([
215
+ queryAssignedElements({ slot: "panels", selector: "daikin-panel-switcher" })
216
+ ], DaikinTabGroup.prototype, "_panelSwitchers", 2);
217
+ DaikinTabGroup = __decorateClass([
218
+ customElement("daikin-tab-group")
219
+ ], DaikinTabGroup);
220
+ export {
221
+ DaikinTabGroup
222
+ };
@@ -0,0 +1 @@
1
+ export * from './daikin-tab-group';
@@ -0,0 +1,4 @@
1
+ import { DaikinTabGroup } from "./daikin-tab-group.js";
2
+ export {
3
+ DaikinTabGroup
4
+ };
@@ -0,0 +1,25 @@
1
+ export type Direction = "horizontal" | "vertical" | "either";
2
+ /**
3
+ * Get practical parent element, with consideration for slots and shadow roots.
4
+ *
5
+ * @param element element
6
+ * @returns The parent element (if any)
7
+ */
8
+ export declare function getEffectiveParentElement(element: HTMLElement): HTMLElement | null;
9
+ /**
10
+ * Get the first scrollable ancestor element.
11
+ *
12
+ * @param element element
13
+ * @param direction scroll direction
14
+ * @returns the first scrollable ancestor element (if any)
15
+ */
16
+ export declare function getFirstScrollableAncestor(element: HTMLElement, direction: Direction): HTMLElement | null;
17
+ export declare function calcScrollIntoViewOffset(target: HTMLElement, container: HTMLElement): [x: number, y: number];
18
+ /**
19
+ * An alternative `.scrollIntoView()` function which only scrolls the first scrollable ancestor element.
20
+ *
21
+ * @param target target element
22
+ * @param direction direction
23
+ * @returns `true` if success, `false` if scrollable parent not found
24
+ */
25
+ export declare function scrollIntoViewOnlyParent(target: HTMLElement, direction: Direction): boolean;
@@ -0,0 +1,65 @@
1
+ function getEffectiveParentElement(element) {
2
+ var _a;
3
+ return element.assignedSlot || element.parentElement || ((_a = element.parentNode) == null ? void 0 : _a.host);
4
+ }
5
+ function getBooleanForDirection(horizontal, vertical, direction) {
6
+ return horizontal;
7
+ }
8
+ function isScrollableOverflowValue(overflow) {
9
+ return overflow !== "visible" && overflow !== "hidden" && overflow !== "clip";
10
+ }
11
+ function getFirstScrollableAncestor(element, direction) {
12
+ const parent = getEffectiveParentElement(element);
13
+ if (!parent) {
14
+ return null;
15
+ }
16
+ const overflow = getBooleanForDirection(
17
+ parent.scrollWidth > parent.clientWidth,
18
+ parent.scrollHeight > parent.clientHeight
19
+ );
20
+ if (overflow) {
21
+ const computedStyle = getComputedStyle(parent);
22
+ const scrollableOverflow = getBooleanForDirection(
23
+ isScrollableOverflowValue(computedStyle.overflowX),
24
+ isScrollableOverflowValue(computedStyle.overflowY)
25
+ );
26
+ if (scrollableOverflow) {
27
+ return parent;
28
+ }
29
+ }
30
+ return getFirstScrollableAncestor(parent);
31
+ }
32
+ function calcScrollIntoViewOffset(target, container) {
33
+ const bBoxContainer = container.getBoundingClientRect();
34
+ const bBoxTarget = target.getBoundingClientRect();
35
+ const scrollByX = (
36
+ // If the left end of the target is to the left of the container, align the left end of the target so that it is in the viewport.
37
+ Math.min(bBoxTarget.left - bBoxContainer.left, 0) || // If the right end of the target is to the right of the container, align the right end of the target so that it is in the viewport.
38
+ Math.max(bBoxTarget.right - bBoxContainer.right, 0)
39
+ );
40
+ const scrollByY = Math.min(bBoxTarget.top - bBoxContainer.top, 0) || Math.max(bBoxTarget.bottom - bBoxContainer.bottom, 0);
41
+ return [scrollByX, scrollByY];
42
+ }
43
+ function scrollIntoViewOnlyParent(target, direction) {
44
+ const scrollableParent = getFirstScrollableAncestor(target);
45
+ if (!scrollableParent) {
46
+ return false;
47
+ }
48
+ let [scrollByX, scrollByY] = calcScrollIntoViewOffset(
49
+ target,
50
+ scrollableParent
51
+ );
52
+ {
53
+ scrollByY = 0;
54
+ }
55
+ if (scrollByX || scrollByY) {
56
+ scrollableParent.scrollBy(scrollByX, scrollByY);
57
+ }
58
+ return true;
59
+ }
60
+ export {
61
+ calcScrollIntoViewOffset,
62
+ getEffectiveParentElement,
63
+ getFirstScrollableAncestor,
64
+ scrollIntoViewOnlyParent
65
+ };
@@ -0,0 +1,68 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ /**
3
+ * The text input component is a UI element that allows users to input single-line text data.
4
+ * It functions similarly to the HTML `<input type="text">` tag, providing a simple and efficient way for users to enter and edit short pieces of texts, such as names, email addresses, or search queries.
5
+ * Can be used within `daikin-input-group` component.
6
+ *
7
+ * Hierarchies:
8
+ * - `daikin-text-input` (can be used solely)
9
+ * - `daikin-input-group` > `daikin-text-input`
10
+ *
11
+ * @fires change - A cloned event of a [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) emitted from the inner `<input>` element.
12
+ *
13
+ * @example
14
+ *
15
+ * ```html
16
+ * <!-- See `daikin-input-group` component for complete example. -->
17
+ * <daikin-text-input name="name"></daikin-text-input>
18
+ * ```
19
+ */
20
+ export declare class DaikinTextInput extends LitElement {
21
+ static readonly styles: import('lit').CSSResult;
22
+ static readonly formAssociated = true;
23
+ private _internals;
24
+ /**
25
+ * Field value
26
+ */
27
+ value: string;
28
+ /**
29
+ * Type of field
30
+ */
31
+ type: "text" | "email" | "tel" | "search";
32
+ /**
33
+ * Placeholder text
34
+ */
35
+ placeholder: string;
36
+ /**
37
+ * Whether the field is disabled
38
+ */
39
+ disabled: boolean;
40
+ /**
41
+ * Whether the field is readonly
42
+ */
43
+ readonly: boolean;
44
+ /**
45
+ * Name of the input field control used in the form
46
+ */
47
+ name?: string;
48
+ /**
49
+ * Maximum length in field values
50
+ */
51
+ maxlength?: number;
52
+ /**
53
+ * Specify auto-completion values
54
+ */
55
+ autocomplete?: HTMLInputElement["autocomplete"];
56
+ /**
57
+ * Error state. Ignored if the `disabled` is `true`.
58
+ */
59
+ error: boolean;
60
+ private _handleInput;
61
+ render(): import('lit-html').TemplateResult<1>;
62
+ updated(changedProperties: PropertyValues<this>): void;
63
+ }
64
+ declare global {
65
+ interface HTMLElementTagNameMap {
66
+ "daikin-text-input": DaikinTextInput;
67
+ }
68
+ }