@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,152 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const variables_js = require("@daikin-oss/dds-tokens/js/daikin/Light/variables.js");
4
+ const classVarianceAuthority = require("class-variance-authority");
5
+ const lit = require("lit");
6
+ const decorators_js = require("lit/decorators.js");
7
+ const tailwind = require("../../tailwind.css.cjs");
8
+ var __defProp = Object.defineProperty;
9
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
+ var __decorateClass = (decorators, target, key, kind) => {
11
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
12
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
13
+ if (decorator = decorators[i])
14
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
15
+ if (kind && result) __defProp(target, key, result);
16
+ return result;
17
+ };
18
+ const cvaBar = classVarianceAuthority.cva(
19
+ [
20
+ "w-full",
21
+ "h-1",
22
+ "bg-daikinNeutral-200",
23
+ "overflow-hidden",
24
+ "relative",
25
+ "after:block",
26
+ "after:h-full",
27
+ "after:absolute",
28
+ "after:left-0"
29
+ ],
30
+ {
31
+ variants: {
32
+ variant: {
33
+ inprogress: ["after:w-[--bar-width]", "after:bg-daikinBlue-500"],
34
+ completed: ["after:w-full", "after:bg-[--colorFeedbackPositive]"],
35
+ indeterminate: [
36
+ "after:w-1/2",
37
+ "after:bg-daikinBlue-500",
38
+ "after:animate-[progress-bar-indeterminate_1200ms_linear_infinite]"
39
+ ],
40
+ error: ["after:w-full", "after:bg-[--colorFeedbackNegative]"]
41
+ }
42
+ }
43
+ }
44
+ );
45
+ const cvaIcon = classVarianceAuthority.cva(["size-4"], {
46
+ variants: {
47
+ variant: {
48
+ inprogress: ["none"],
49
+ completed: ["i-daikin-status-positive"],
50
+ indeterminate: [],
51
+ error: ["i-daikin-status-negative"]
52
+ }
53
+ }
54
+ });
55
+ const cvaHelper = classVarianceAuthority.cva(["text-xs", "mt-2"], {
56
+ variants: {
57
+ variant: {
58
+ inprogress: [],
59
+ completed: [],
60
+ indeterminate: [],
61
+ error: ["text-[--colorFeedbackNegative]"]
62
+ }
63
+ }
64
+ });
65
+ exports.DaikinProgressBar = class DaikinProgressBar extends lit.LitElement {
66
+ constructor() {
67
+ super(...arguments);
68
+ this.value = 0;
69
+ this.variant = "inprogress";
70
+ this.max = 100;
71
+ this.helper = "";
72
+ }
73
+ // Validate the 'value' and 'max' properties to ensure they are valid
74
+ _validateProperties() {
75
+ if (typeof this.value !== "number" || this.value < 0) {
76
+ {
77
+ console.warn(
78
+ `Invalid 'value' property: ${this.value}. Falling back to 0.`
79
+ );
80
+ }
81
+ this.value = 0;
82
+ }
83
+ if (typeof this.max !== "number" || this.max <= 0) {
84
+ {
85
+ console.warn(
86
+ `Invalid 'max' property: ${this.max}. Falling back to 100.`
87
+ );
88
+ }
89
+ this.max = 100;
90
+ }
91
+ if (this.value > this.max) {
92
+ {
93
+ console.warn(
94
+ `'value' property: ${this.value} exceeds 'max' property: ${this.max}. Clamping value to max.`
95
+ );
96
+ }
97
+ this.value = this.max;
98
+ }
99
+ }
100
+ render() {
101
+ const progressRatio = Math.min(Math.max(this.value / this.max, 0), 1);
102
+ return lit.html`<div class="flex flex-col w-full font-daikinSerif">
103
+ <div class="flex justify-between items-center mb-2.5">
104
+ <span class="text-sm leading-[22px] font-medium"><slot></slot></span>
105
+ <span class=${cvaIcon({ variant: this.variant })}></span>
106
+ </div>
107
+ <div
108
+ class=${cvaBar({ variant: this.variant })}
109
+ role="progressbar"
110
+ aria-label=${this.textContent ?? ""}
111
+ aria-valuenow=${this.value}
112
+ aria-valuemin="0"
113
+ aria-valuemax=${this.max}
114
+ style=${`--bar-width:${progressRatio * 100}%`}
115
+ ></div>
116
+ ${this.helper ? lit.html`<span class=${cvaHelper({ variant: this.variant })}
117
+ >${this.helper}</span
118
+ >` : null}
119
+ </div>`;
120
+ }
121
+ updated(changedProperties) {
122
+ if (changedProperties.has("value") || changedProperties.has("max")) {
123
+ this._validateProperties();
124
+ }
125
+ }
126
+ };
127
+ exports.DaikinProgressBar.styles = lit.css`
128
+ ${lit.unsafeCSS(tailwind.default)}
129
+
130
+ :host {
131
+ --colorFeedbackPositive: ${lit.unsafeCSS(variables_js.colorFeedbackPositive)};
132
+ --colorFeedbackNegative: ${lit.unsafeCSS(variables_js.colorFeedbackNegative)};
133
+
134
+ display: block;
135
+ width: 100%;
136
+ }
137
+ `;
138
+ __decorateClass([
139
+ decorators_js.property({ type: Number })
140
+ ], exports.DaikinProgressBar.prototype, "value", 2);
141
+ __decorateClass([
142
+ decorators_js.property({ type: String })
143
+ ], exports.DaikinProgressBar.prototype, "variant", 2);
144
+ __decorateClass([
145
+ decorators_js.property({ type: Number })
146
+ ], exports.DaikinProgressBar.prototype, "max", 2);
147
+ __decorateClass([
148
+ decorators_js.property({ type: String })
149
+ ], exports.DaikinProgressBar.prototype, "helper", 2);
150
+ exports.DaikinProgressBar = __decorateClass([
151
+ decorators_js.customElement("daikin-progress-bar")
152
+ ], exports.DaikinProgressBar);
@@ -0,0 +1,47 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ /**
3
+ * The progress bar component is used to visually convey the progress to the user.
4
+ *
5
+ * There are four variants of the progress bar:
6
+ *
7
+ * - "inprogress": The default variant. Use this when you know the exact progress. The length of the bar is the ratio of `value` to `max`.
8
+ * - "indeterminate": Use this variant when you don't know the exact progress. In this variant, the `value` is ignored and the bar always animates from left to right with a constant length.
9
+ * - "completed": In addition to "inprogress", a completed icon is added. In this variant, the `value` is ignored and the bar always expands to the full width.
10
+ * - "error": In addition to "inprogress", an error icon is added and the color becomes red. In this variant, the `value` is ignored and the bar always expands to the full width.
11
+ *
12
+ * @example
13
+ *
14
+ * ```html
15
+ * <daikin-progress-bar value="40" helper="Progress bar helper">
16
+ * Progress bar label
17
+ * </daikin-progress-bar>
18
+ * ```
19
+ */
20
+ export declare class DaikinProgressBar extends LitElement {
21
+ static readonly styles: import('lit').CSSResult;
22
+ /**
23
+ * Value of the progress bar
24
+ */
25
+ value: number;
26
+ /**
27
+ * Variant of the progress bar
28
+ */
29
+ variant: "inprogress" | "completed" | "indeterminate" | "error";
30
+ /**
31
+ * The max value of the progress bar
32
+ */
33
+ max: number;
34
+ /**
35
+ * Helper text
36
+ */
37
+ helper: string;
38
+ private _validateProperties;
39
+ render(): import('lit-html').TemplateResult<1>;
40
+ protected updated(changedProperties: PropertyValues): void;
41
+ }
42
+ declare global {
43
+ interface HTMLElementTagNameMap {
44
+ "daikin-progress-bar": DaikinProgressBar;
45
+ }
46
+ }
47
+ export default DaikinProgressBar;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const daikinProgressBar = require("./daikin-progress-bar.cjs");
4
+ Object.defineProperty(exports, "DaikinProgressBar", {
5
+ enumerable: true,
6
+ get: () => daikinProgressBar.DaikinProgressBar
7
+ });
@@ -0,0 +1 @@
1
+ export * from './daikin-progress-bar';
@@ -0,0 +1,150 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const classVarianceAuthority = require("class-variance-authority");
4
+ const lit = require("lit");
5
+ const decorators_js = require("lit/decorators.js");
6
+ const tailwind = require("../../tailwind.css.cjs");
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __decorateClass = (decorators, target, key, kind) => {
10
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
11
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
12
+ if (decorator = decorators[i])
13
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14
+ if (kind && result) __defProp(target, key, result);
15
+ return result;
16
+ };
17
+ const cvaRadio = classVarianceAuthority.cva(
18
+ [
19
+ "appearance-none",
20
+ "relative",
21
+ "after:absolute",
22
+ "after:i-daikin-radio-unchecked",
23
+ "checked:after:i-daikin-radio-checked",
24
+ "enabled:after:text-[#8C8C8C]",
25
+ "enabled:checked:after:text-daikinBlue-500",
26
+ "aria-controllable:hover:after:i-daikin-radio-checked",
27
+ "aria-controllable:hover:after:text-daikinBlue-300",
28
+ "aria-controllable:active:after:i-daikin-radio-checked",
29
+ "aria-controllable:active:after:text-daikinBlue-500",
30
+ "focus-visible:outline-none",
31
+ "aria-controllable:focus-visible:after:i-daikin-radio-unchecked",
32
+ "aria-controllable:focus-visible:checked:after:i-daikin-radio-checked",
33
+ "aria-controllable:focus-visible:after:text-daikinBlue-700",
34
+ "disabled:after:text-daikinNeutral-200"
35
+ ],
36
+ {
37
+ variants: {
38
+ size: {
39
+ small: ["w-[14px]", "h-[14px]"],
40
+ large: ["w-4", "h-4"]
41
+ }
42
+ }
43
+ }
44
+ );
45
+ const cvaLabel = classVarianceAuthority.cva(
46
+ ["leading-8", "not-italic", "font-normal", "align-middle"],
47
+ {
48
+ variants: {
49
+ size: {
50
+ small: ["text-sm"],
51
+ large: ["text-base"]
52
+ }
53
+ }
54
+ }
55
+ );
56
+ exports.DaikinRadio = class DaikinRadio extends lit.LitElement {
57
+ constructor() {
58
+ super(...arguments);
59
+ this._internals = this.attachInternals();
60
+ this.label = "";
61
+ this.size = "small";
62
+ this.labelPosition = "right";
63
+ this.disabled = false;
64
+ this.readonly = false;
65
+ this.checked = false;
66
+ this.name = "";
67
+ this.value = "";
68
+ this.error = false;
69
+ }
70
+ _handleClick(event) {
71
+ if (this.readonly || this.disabled) {
72
+ event.preventDefault();
73
+ }
74
+ }
75
+ _updateFormValue() {
76
+ this._internals.setFormValue(this.checked ? this.value : null);
77
+ }
78
+ updated(changedProperties) {
79
+ if (changedProperties.has("checked")) {
80
+ this._updateFormValue();
81
+ }
82
+ }
83
+ _handleChange(event) {
84
+ var _a;
85
+ const input = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("input");
86
+ this.checked = input.checked;
87
+ this._updateFormValue();
88
+ const newEvent = new Event("change", event);
89
+ this.dispatchEvent(newEvent);
90
+ }
91
+ render() {
92
+ const labelClassName = cvaLabel({ size: this.size });
93
+ const radioClassName = cvaRadio({ size: this.size });
94
+ const labelText = this.label ? lit.html`<span class="${labelClassName}">${this.label}</span>` : lit.html``;
95
+ const inputTag = lit.html`<input
96
+ class=${radioClassName}
97
+ type="radio"
98
+ name=${this.name}
99
+ value=${this.value}
100
+ aria-readonly=${this.readonly}
101
+ ?disabled=${this.disabled}
102
+ .checked=${this.checked}
103
+ @click=${this._handleClick}
104
+ @change=${this._handleChange}
105
+ />`;
106
+ const inputArea = this.labelPosition === "left" ? lit.html`${labelText}${inputTag}` : lit.html`${inputTag}${labelText}`;
107
+ return lit.html`<label
108
+ class="inline-flex w-full h-full gap-[8px] items-center font-daikinSerif"
109
+ >${inputArea}</label
110
+ >`;
111
+ }
112
+ };
113
+ exports.DaikinRadio.styles = lit.css`
114
+ ${lit.unsafeCSS(tailwind.default)}
115
+
116
+ :host {
117
+ display: inline-block;
118
+ }
119
+ `;
120
+ exports.DaikinRadio.formAssociated = true;
121
+ __decorateClass([
122
+ decorators_js.property({ type: String })
123
+ ], exports.DaikinRadio.prototype, "label", 2);
124
+ __decorateClass([
125
+ decorators_js.property({ type: String })
126
+ ], exports.DaikinRadio.prototype, "size", 2);
127
+ __decorateClass([
128
+ decorators_js.property({ type: String, attribute: "label-position" })
129
+ ], exports.DaikinRadio.prototype, "labelPosition", 2);
130
+ __decorateClass([
131
+ decorators_js.property({ type: Boolean, reflect: true })
132
+ ], exports.DaikinRadio.prototype, "disabled", 2);
133
+ __decorateClass([
134
+ decorators_js.property({ type: Boolean, reflect: true })
135
+ ], exports.DaikinRadio.prototype, "readonly", 2);
136
+ __decorateClass([
137
+ decorators_js.property({ type: Boolean, reflect: true })
138
+ ], exports.DaikinRadio.prototype, "checked", 2);
139
+ __decorateClass([
140
+ decorators_js.property({ type: String, reflect: true })
141
+ ], exports.DaikinRadio.prototype, "name", 2);
142
+ __decorateClass([
143
+ decorators_js.property({ type: String, reflect: true })
144
+ ], exports.DaikinRadio.prototype, "value", 2);
145
+ __decorateClass([
146
+ decorators_js.property({ type: Boolean, reflect: true })
147
+ ], exports.DaikinRadio.prototype, "error", 2);
148
+ exports.DaikinRadio = __decorateClass([
149
+ decorators_js.customElement("daikin-radio")
150
+ ], exports.DaikinRadio);
@@ -0,0 +1,75 @@
1
+ import { LitElement } from 'lit';
2
+ import { MergeVariantProps } from '../../type-utils';
3
+ declare const cvaRadio: (props?: ({
4
+ size?: "small" | "large" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare const cvaLabel: (props?: ({
7
+ size?: "small" | "large" | null | undefined;
8
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
+ type RadioVariantProps = MergeVariantProps<typeof cvaRadio | typeof cvaLabel>;
10
+ /**
11
+ * The radio button component is a UI element that allows users to select one options from a set of choices.
12
+ * It functions similarly to the HTML `<input type="radio">` tag. \
13
+ * Please note that **a radio group component is not yet available**, so you'll need to manually group radio buttons when using multiple instances.
14
+ *
15
+ * @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 type="radio">` element.
16
+ *
17
+ * @example
18
+ *
19
+ * ```html
20
+ * <daikin-radio name="name" value="value" label="Radio button label"></daikin-radio>
21
+ * ```
22
+ */
23
+ export declare class DaikinRadio extends LitElement {
24
+ static readonly styles: import('lit').CSSResult;
25
+ private _handleClick;
26
+ static readonly formAssociated = true;
27
+ private _internals;
28
+ private _updateFormValue;
29
+ updated(changedProperties: Map<string, unknown>): void;
30
+ private _handleChange;
31
+ /**
32
+ * Specify the label text for the radio
33
+ */
34
+ label: string;
35
+ /**
36
+ * Specify the component size
37
+ */
38
+ size: RadioVariantProps["size"];
39
+ /**
40
+ * Specify the label position
41
+ * when `left` the label will be in left of radio, when `right` label will be in right of radio
42
+ */
43
+ labelPosition: "left" | "right";
44
+ /**
45
+ * Specify whether the Radio should be disabled
46
+ */
47
+ disabled: boolean;
48
+ /**
49
+ * Specify whether the radio is read only
50
+ */
51
+ readonly: boolean;
52
+ /**
53
+ * Specify whether the radio is be checked
54
+ */
55
+ checked: boolean;
56
+ /**
57
+ * The form name.
58
+ */
59
+ name: string;
60
+ /**
61
+ * The form value.
62
+ */
63
+ value: string;
64
+ /**
65
+ * Specify whether the Radio is in a error state
66
+ */
67
+ error: boolean;
68
+ render(): import('lit-html').TemplateResult<1>;
69
+ }
70
+ declare global {
71
+ interface HTMLElementTagNameMap {
72
+ "daikin-radio": DaikinRadio;
73
+ }
74
+ }
75
+ export {};
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const daikinRadio = require("./daikin-radio.cjs");
4
+ Object.defineProperty(exports, "DaikinRadio", {
5
+ enumerable: true,
6
+ get: () => daikinRadio.DaikinRadio
7
+ });
@@ -0,0 +1 @@
1
+ export * from './daikin-radio';
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const classVarianceAuthority = require("class-variance-authority");
4
+ const lit = require("lit");
5
+ const decorators_js = require("lit/decorators.js");
6
+ const tailwind = require("../../tailwind.css.cjs");
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __decorateClass = (decorators, target, key, kind) => {
10
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
11
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
12
+ if (decorator = decorators[i])
13
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14
+ if (kind && result) __defProp(target, key, result);
15
+ return result;
16
+ };
17
+ const cvaTab = classVarianceAuthority.cva(
18
+ [
19
+ "flex",
20
+ "w-full",
21
+ "h-full",
22
+ "items-center",
23
+ "justify-center",
24
+ "text-center",
25
+ "relative",
26
+ "font-daikinSerif",
27
+ "text-base",
28
+ "tracking-wide",
29
+ "whitespace-nowrap",
30
+ "contain-paint",
31
+ "disabled:cursor-default",
32
+ "after:content-['']",
33
+ "after:z-1",
34
+ "after:absolute",
35
+ "after:bottom-0",
36
+ "after:left-0",
37
+ "after:right-0",
38
+ "after:w-full",
39
+ "text-daikinBlue-500",
40
+ "hover:text-daikinBlue-400",
41
+ "active:text-daikinBlue-600",
42
+ "focus-visible:text-daikinBlue-700",
43
+ "disabled:text-daikinNeutral-300",
44
+ "aria-selected:after:h-1",
45
+ "aria-selected:after:bg-daikinBlue-500",
46
+ "hover:aria-selected:after:bg-daikinBlue-400",
47
+ "active:aria-selected:after:bg-daikinBlue-600",
48
+ "focus-visible:aria-selected:after:bg-daikinBlue-700",
49
+ "disabled:after:bg-daikinNeutral-300"
50
+ ],
51
+ {
52
+ variants: {
53
+ size: {
54
+ default: ["px-4"],
55
+ condensed: ["px-[10px]"]
56
+ }
57
+ }
58
+ }
59
+ );
60
+ exports.DaikinTab = class DaikinTab extends lit.LitElement {
61
+ constructor() {
62
+ super();
63
+ this.value = "";
64
+ this.size = "default";
65
+ this.disabled = false;
66
+ this.active = false;
67
+ this.addEventListener("click", this._handleClick);
68
+ }
69
+ _handleClick(event) {
70
+ if (this.disabled) {
71
+ event.stopImmediatePropagation();
72
+ }
73
+ }
74
+ /**
75
+ * Focuses on the inner button.
76
+ * @param options focus options
77
+ */
78
+ focus(options) {
79
+ var _a, _b;
80
+ (_b = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector("button")) == null ? void 0 : _b.focus(options);
81
+ }
82
+ render() {
83
+ const cn = cvaTab({
84
+ size: this.size
85
+ });
86
+ return lit.html`
87
+ <button
88
+ class=${cn}
89
+ ?disabled=${this.disabled}
90
+ role="tab"
91
+ aria-selected=${!this.disabled && this.active}
92
+ tabindex=${this.active ? 0 : -1}
93
+ >
94
+ <slot></slot>
95
+ </button>
96
+ `;
97
+ }
98
+ };
99
+ exports.DaikinTab.styles = lit.css`
100
+ ${lit.unsafeCSS(tailwind.default)}
101
+
102
+ :host {
103
+ display: inline-block;
104
+ width: fit-content;
105
+ height: 48px;
106
+ }
107
+
108
+ :host([size="condensed"]) {
109
+ height: 40px;
110
+ }
111
+ `;
112
+ __decorateClass([
113
+ decorators_js.property({ type: String, reflect: true })
114
+ ], exports.DaikinTab.prototype, "value", 2);
115
+ __decorateClass([
116
+ decorators_js.property({ type: String, reflect: true })
117
+ ], exports.DaikinTab.prototype, "size", 2);
118
+ __decorateClass([
119
+ decorators_js.property({ type: Boolean, reflect: true })
120
+ ], exports.DaikinTab.prototype, "disabled", 2);
121
+ __decorateClass([
122
+ decorators_js.property({ type: Boolean, reflect: true })
123
+ ], exports.DaikinTab.prototype, "active", 2);
124
+ exports.DaikinTab = __decorateClass([
125
+ decorators_js.customElement("daikin-tab")
126
+ ], exports.DaikinTab);
@@ -0,0 +1,54 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * The tab component is a child element within the `daikin-tab-group` component, representing a clickable button or label that users interact with to switch between different panels of content.
4
+ * Each tab corresponds to a specific panel and is typically labeled to indicate the content it reveals.
5
+ *
6
+ * Hierarchy:
7
+ * - `daikin-tab-group` > `daikin-tab`
8
+ *
9
+ * @fires click - A retargeted event of a [click event](https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event) emitted from the inner `<button>` element. Suppressed if `disabled` is true,
10
+ *
11
+ * @slot - A slot for the tab button content.
12
+ *
13
+ * @example
14
+ *
15
+ * ```html
16
+ * <!-- See `daikin-tab-group` component for complete example. -->
17
+ * <daikin-tab value="foo">Foo tab</daikin-tab>
18
+ * ```
19
+ */
20
+ export declare class DaikinTab extends LitElement {
21
+ static readonly styles: import('lit').CSSResult;
22
+ /**
23
+ * A unique string that identifies a tab.
24
+ * Must be unique within the `daikin-tab-group` component.
25
+ */
26
+ value: string;
27
+ /**
28
+ * Size of tab
29
+ */
30
+ size: "default" | "condensed";
31
+ /**
32
+ * Whether to show the disabled state.
33
+ */
34
+ disabled: boolean;
35
+ /**
36
+ * Whether to show the active (selected) state.
37
+ * Ignored if `disabled` is `true`.
38
+ * Set automatically by `daikin-tab-group` component.
39
+ */
40
+ active: boolean;
41
+ private _handleClick;
42
+ constructor();
43
+ /**
44
+ * Focuses on the inner button.
45
+ * @param options focus options
46
+ */
47
+ focus(options?: FocusOptions | undefined): void;
48
+ render(): import('lit-html').TemplateResult<1>;
49
+ }
50
+ declare global {
51
+ interface HTMLElementTagNameMap {
52
+ "daikin-tab": DaikinTab;
53
+ }
54
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const daikinTab = require("./daikin-tab.cjs");
4
+ Object.defineProperty(exports, "DaikinTab", {
5
+ enumerable: true,
6
+ get: () => daikinTab.DaikinTab
7
+ });
@@ -0,0 +1 @@
1
+ export * from './daikin-tab';