@daikin-oss/design-system-web-components 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/dist/cjs/components/accordion/daikin-accordion.cjs +31 -6
  3. package/dist/cjs/components/accordion/daikin-accordion.d.ts +15 -10
  4. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +105 -59
  5. package/dist/cjs/components/accordion-item/daikin-accordion-item.d.ts +28 -14
  6. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +121 -0
  7. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.ts +56 -0
  8. package/dist/cjs/components/breadcrumb/index.cjs +7 -0
  9. package/dist/cjs/components/breadcrumb/index.d.ts +1 -0
  10. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +124 -0
  11. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +72 -0
  12. package/dist/cjs/components/breadcrumb-item/index.cjs +7 -0
  13. package/dist/cjs/components/breadcrumb-item/index.d.ts +1 -0
  14. package/dist/cjs/components/button/daikin-button.cjs +89 -128
  15. package/dist/cjs/components/button/daikin-button.d.ts +30 -28
  16. package/dist/cjs/components/checkbox/daikin-checkbox.cjs +99 -119
  17. package/dist/cjs/components/checkbox/daikin-checkbox.d.ts +27 -39
  18. package/dist/cjs/components/icon/daikin-icon.d.ts +4 -1
  19. package/dist/cjs/components/icon/icons.json.cjs +20 -0
  20. package/dist/cjs/components/icon/icons.json.d.ts +20 -0
  21. package/dist/cjs/components/index.cjs +36 -6
  22. package/dist/cjs/components/index.d.ts +8 -2
  23. package/dist/cjs/components/input-group/daikin-input-group.cjs +1 -1
  24. package/dist/cjs/components/input-group/daikin-input-group.d.ts +6 -1
  25. package/dist/cjs/components/list/daikin-list.cjs +24 -0
  26. package/dist/cjs/components/list/daikin-list.d.ts +28 -0
  27. package/dist/cjs/components/list/index.cjs +7 -0
  28. package/dist/cjs/components/list/index.d.ts +1 -0
  29. package/dist/cjs/components/list-item/daikin-list-item.cjs +125 -0
  30. package/dist/cjs/components/list-item/daikin-list-item.d.ts +64 -0
  31. package/dist/cjs/components/list-item/index.cjs +7 -0
  32. package/dist/cjs/components/list-item/index.d.ts +1 -0
  33. package/dist/cjs/components/notification/daikin-notification.cjs +14 -15
  34. package/dist/cjs/components/notification/daikin-notification.d.ts +13 -12
  35. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +161 -0
  36. package/dist/cjs/components/progress-bar/daikin-progress-bar.d.ts +69 -0
  37. package/dist/cjs/components/progress-bar/index.cjs +7 -0
  38. package/dist/cjs/components/progress-bar/index.d.ts +1 -0
  39. package/dist/cjs/components/radio/daikin-radio.cjs +73 -92
  40. package/dist/cjs/components/radio/daikin-radio.d.ts +23 -40
  41. package/dist/cjs/components/tab/daikin-tab.cjs +41 -46
  42. package/dist/cjs/components/tab/daikin-tab.d.ts +12 -13
  43. package/dist/cjs/components/{panel-switcher/daikin-panel-switcher.cjs → tab-panels/daikin-tab-panels.cjs} +8 -8
  44. package/dist/{cjs-dev/components/panel-switcher/daikin-panel-switcher.d.ts → cjs/components/tab-panels/daikin-tab-panels.d.ts} +17 -12
  45. package/dist/cjs/components/tab-panels/index.cjs +7 -0
  46. package/dist/cjs/components/tab-panels/index.d.ts +1 -0
  47. package/dist/cjs/components/{tab-group/daikin-tab-group.cjs → tabs/daikin-tabs.cjs} +29 -35
  48. package/dist/cjs/components/{tab-group/daikin-tab-group.d.ts → tabs/daikin-tabs.d.ts} +27 -22
  49. package/dist/cjs/components/tabs/index.cjs +7 -0
  50. package/dist/cjs/components/tabs/index.d.ts +1 -0
  51. package/dist/cjs/components/text-input/daikin-text-input.cjs +4 -3
  52. package/dist/cjs/components/text-input/daikin-text-input.d.ts +5 -1
  53. package/dist/cjs/components/textarea/daikin-textarea.cjs +3 -3
  54. package/dist/cjs/components/textarea/daikin-textarea.d.ts +5 -1
  55. package/dist/cjs/components/toggle/daikin-toggle.cjs +44 -68
  56. package/dist/cjs/components/toggle/daikin-toggle.d.ts +15 -27
  57. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +223 -0
  58. package/dist/cjs/components/tooltip/daikin-tooltip.d.ts +80 -0
  59. package/dist/cjs/components/tooltip/index.cjs +7 -0
  60. package/dist/cjs/components/tooltip/index.d.ts +1 -0
  61. package/dist/cjs/index.cjs +36 -6
  62. package/dist/cjs/is-client.cjs +5 -0
  63. package/dist/cjs/is-client.d.ts +1 -0
  64. package/dist/cjs/tailwind.css.cjs +2 -2
  65. package/dist/cjs/type-utils.d.ts +0 -1
  66. package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +31 -6
  67. package/dist/cjs-dev/components/accordion/daikin-accordion.d.ts +15 -10
  68. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +105 -59
  69. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.d.ts +28 -14
  70. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +121 -0
  71. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.ts +56 -0
  72. package/dist/cjs-dev/components/breadcrumb/index.cjs +7 -0
  73. package/dist/cjs-dev/components/breadcrumb/index.d.ts +1 -0
  74. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +124 -0
  75. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +72 -0
  76. package/dist/cjs-dev/components/breadcrumb-item/index.cjs +7 -0
  77. package/dist/cjs-dev/components/breadcrumb-item/index.d.ts +1 -0
  78. package/dist/cjs-dev/components/button/daikin-button.cjs +89 -128
  79. package/dist/cjs-dev/components/button/daikin-button.d.ts +30 -28
  80. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +99 -119
  81. package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.ts +27 -39
  82. package/dist/cjs-dev/components/icon/daikin-icon.d.ts +4 -1
  83. package/dist/cjs-dev/components/icon/icons.json.cjs +20 -0
  84. package/dist/cjs-dev/components/icon/icons.json.d.ts +20 -0
  85. package/dist/cjs-dev/components/index.cjs +36 -6
  86. package/dist/cjs-dev/components/index.d.ts +8 -2
  87. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +1 -1
  88. package/dist/cjs-dev/components/input-group/daikin-input-group.d.ts +6 -1
  89. package/dist/cjs-dev/components/list/daikin-list.cjs +24 -0
  90. package/dist/cjs-dev/components/list/daikin-list.d.ts +28 -0
  91. package/dist/cjs-dev/components/list/index.cjs +7 -0
  92. package/dist/cjs-dev/components/list/index.d.ts +1 -0
  93. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +125 -0
  94. package/dist/cjs-dev/components/list-item/daikin-list-item.d.ts +64 -0
  95. package/dist/cjs-dev/components/list-item/index.cjs +7 -0
  96. package/dist/cjs-dev/components/list-item/index.d.ts +1 -0
  97. package/dist/cjs-dev/components/notification/daikin-notification.cjs +14 -15
  98. package/dist/cjs-dev/components/notification/daikin-notification.d.ts +13 -12
  99. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +176 -0
  100. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.ts +69 -0
  101. package/dist/cjs-dev/components/progress-bar/index.cjs +7 -0
  102. package/dist/cjs-dev/components/progress-bar/index.d.ts +1 -0
  103. package/dist/cjs-dev/components/radio/daikin-radio.cjs +73 -92
  104. package/dist/cjs-dev/components/radio/daikin-radio.d.ts +23 -40
  105. package/dist/cjs-dev/components/tab/daikin-tab.cjs +41 -46
  106. package/dist/cjs-dev/components/tab/daikin-tab.d.ts +12 -13
  107. package/dist/cjs-dev/components/{panel-switcher/daikin-panel-switcher.cjs → tab-panels/daikin-tab-panels.cjs} +9 -9
  108. package/dist/{cjs/components/panel-switcher/daikin-panel-switcher.d.ts → cjs-dev/components/tab-panels/daikin-tab-panels.d.ts} +17 -12
  109. package/dist/cjs-dev/components/tab-panels/index.cjs +7 -0
  110. package/dist/cjs-dev/components/tab-panels/index.d.ts +1 -0
  111. package/dist/cjs-dev/components/{tab-group/daikin-tab-group.cjs → tabs/daikin-tabs.cjs} +31 -37
  112. package/dist/{es-dev/components/tab-group/daikin-tab-group.d.ts → cjs-dev/components/tabs/daikin-tabs.d.ts} +27 -22
  113. package/dist/cjs-dev/components/tabs/index.cjs +7 -0
  114. package/dist/cjs-dev/components/tabs/index.d.ts +1 -0
  115. package/dist/cjs-dev/components/text-input/daikin-text-input.cjs +4 -3
  116. package/dist/cjs-dev/components/text-input/daikin-text-input.d.ts +5 -1
  117. package/dist/cjs-dev/components/textarea/daikin-textarea.cjs +3 -3
  118. package/dist/cjs-dev/components/textarea/daikin-textarea.d.ts +5 -1
  119. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +44 -68
  120. package/dist/cjs-dev/components/toggle/daikin-toggle.d.ts +15 -27
  121. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +223 -0
  122. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.ts +80 -0
  123. package/dist/cjs-dev/components/tooltip/index.cjs +7 -0
  124. package/dist/cjs-dev/components/tooltip/index.d.ts +1 -0
  125. package/dist/cjs-dev/index.cjs +36 -6
  126. package/dist/cjs-dev/is-client.cjs +5 -0
  127. package/dist/cjs-dev/is-client.d.ts +1 -0
  128. package/dist/cjs-dev/tailwind.css.cjs +2 -2
  129. package/dist/cjs-dev/type-utils.d.ts +0 -1
  130. package/dist/es/components/accordion/daikin-accordion.d.ts +15 -10
  131. package/dist/es/components/accordion/daikin-accordion.js +32 -7
  132. package/dist/es/components/accordion-item/daikin-accordion-item.d.ts +28 -14
  133. package/dist/es/components/accordion-item/daikin-accordion-item.js +106 -60
  134. package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +56 -0
  135. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +122 -0
  136. package/dist/es/components/breadcrumb/index.d.ts +1 -0
  137. package/dist/es/components/breadcrumb/index.js +4 -0
  138. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +72 -0
  139. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +125 -0
  140. package/dist/es/components/breadcrumb-item/index.d.ts +1 -0
  141. package/dist/es/components/breadcrumb-item/index.js +4 -0
  142. package/dist/es/components/button/daikin-button.d.ts +30 -28
  143. package/dist/es/components/button/daikin-button.js +90 -129
  144. package/dist/es/components/checkbox/daikin-checkbox.d.ts +27 -39
  145. package/dist/es/components/checkbox/daikin-checkbox.js +101 -121
  146. package/dist/es/components/icon/daikin-icon.d.ts +4 -1
  147. package/dist/es/components/icon/icons.json.d.ts +20 -0
  148. package/dist/es/components/icon/icons.json.js +20 -0
  149. package/dist/es/components/index.d.ts +8 -2
  150. package/dist/es/components/index.js +16 -4
  151. package/dist/es/components/input-group/daikin-input-group.d.ts +6 -1
  152. package/dist/es/components/input-group/daikin-input-group.js +1 -1
  153. package/dist/es/components/list/daikin-list.d.ts +28 -0
  154. package/dist/es/components/list/daikin-list.js +25 -0
  155. package/dist/es/components/list/index.d.ts +1 -0
  156. package/dist/es/components/list/index.js +4 -0
  157. package/dist/es/components/list-item/daikin-list-item.d.ts +64 -0
  158. package/dist/es/components/list-item/daikin-list-item.js +126 -0
  159. package/dist/es/components/list-item/index.d.ts +1 -0
  160. package/dist/es/components/list-item/index.js +4 -0
  161. package/dist/es/components/notification/daikin-notification.d.ts +13 -12
  162. package/dist/es/components/notification/daikin-notification.js +15 -16
  163. package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +69 -0
  164. package/dist/es/components/progress-bar/daikin-progress-bar.js +162 -0
  165. package/dist/es/components/progress-bar/index.d.ts +1 -0
  166. package/dist/es/components/progress-bar/index.js +4 -0
  167. package/dist/es/components/radio/daikin-radio.d.ts +23 -40
  168. package/dist/es/components/radio/daikin-radio.js +74 -93
  169. package/dist/es/components/tab/daikin-tab.d.ts +12 -13
  170. package/dist/es/components/tab/daikin-tab.js +42 -47
  171. package/dist/es/components/{panel-switcher/daikin-panel-switcher.d.ts → tab-panels/daikin-tab-panels.d.ts} +17 -12
  172. package/dist/es/components/{panel-switcher/daikin-panel-switcher.js → tab-panels/daikin-tab-panels.js} +9 -9
  173. package/dist/es/components/tab-panels/index.d.ts +1 -0
  174. package/dist/es/components/tab-panels/index.js +4 -0
  175. package/dist/es/components/{tab-group/daikin-tab-group.d.ts → tabs/daikin-tabs.d.ts} +27 -22
  176. package/dist/es/components/{tab-group/daikin-tab-group.js → tabs/daikin-tabs.js} +30 -36
  177. package/dist/es/components/tabs/index.d.ts +1 -0
  178. package/dist/es/components/tabs/index.js +4 -0
  179. package/dist/es/components/text-input/daikin-text-input.d.ts +5 -1
  180. package/dist/es/components/text-input/daikin-text-input.js +4 -3
  181. package/dist/es/components/textarea/daikin-textarea.d.ts +5 -1
  182. package/dist/es/components/textarea/daikin-textarea.js +3 -3
  183. package/dist/es/components/toggle/daikin-toggle.d.ts +15 -27
  184. package/dist/es/components/toggle/daikin-toggle.js +45 -69
  185. package/dist/es/components/tooltip/daikin-tooltip.d.ts +80 -0
  186. package/dist/es/components/tooltip/daikin-tooltip.js +224 -0
  187. package/dist/es/components/tooltip/index.d.ts +1 -0
  188. package/dist/es/components/tooltip/index.js +4 -0
  189. package/dist/es/index.js +16 -4
  190. package/dist/es/is-client.d.ts +1 -0
  191. package/dist/es/is-client.js +5 -0
  192. package/dist/es/tailwind.css.js +2 -2
  193. package/dist/es/type-utils.d.ts +0 -1
  194. package/dist/es-dev/components/accordion/daikin-accordion.d.ts +15 -10
  195. package/dist/es-dev/components/accordion/daikin-accordion.js +32 -7
  196. package/dist/es-dev/components/accordion-item/daikin-accordion-item.d.ts +28 -14
  197. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +106 -60
  198. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +56 -0
  199. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +122 -0
  200. package/dist/es-dev/components/breadcrumb/index.d.ts +1 -0
  201. package/dist/es-dev/components/breadcrumb/index.js +4 -0
  202. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +72 -0
  203. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +125 -0
  204. package/dist/es-dev/components/breadcrumb-item/index.d.ts +1 -0
  205. package/dist/es-dev/components/breadcrumb-item/index.js +4 -0
  206. package/dist/es-dev/components/button/daikin-button.d.ts +30 -28
  207. package/dist/es-dev/components/button/daikin-button.js +90 -129
  208. package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +27 -39
  209. package/dist/es-dev/components/checkbox/daikin-checkbox.js +101 -121
  210. package/dist/es-dev/components/icon/daikin-icon.d.ts +4 -1
  211. package/dist/es-dev/components/icon/icons.json.d.ts +20 -0
  212. package/dist/es-dev/components/icon/icons.json.js +20 -0
  213. package/dist/es-dev/components/index.d.ts +8 -2
  214. package/dist/es-dev/components/index.js +16 -4
  215. package/dist/es-dev/components/input-group/daikin-input-group.d.ts +6 -1
  216. package/dist/es-dev/components/input-group/daikin-input-group.js +1 -1
  217. package/dist/es-dev/components/list/daikin-list.d.ts +28 -0
  218. package/dist/es-dev/components/list/daikin-list.js +25 -0
  219. package/dist/es-dev/components/list/index.d.ts +1 -0
  220. package/dist/es-dev/components/list/index.js +4 -0
  221. package/dist/es-dev/components/list-item/daikin-list-item.d.ts +64 -0
  222. package/dist/es-dev/components/list-item/daikin-list-item.js +126 -0
  223. package/dist/es-dev/components/list-item/index.d.ts +1 -0
  224. package/dist/es-dev/components/list-item/index.js +4 -0
  225. package/dist/es-dev/components/notification/daikin-notification.d.ts +13 -12
  226. package/dist/es-dev/components/notification/daikin-notification.js +15 -16
  227. package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +69 -0
  228. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +177 -0
  229. package/dist/es-dev/components/progress-bar/index.d.ts +1 -0
  230. package/dist/es-dev/components/progress-bar/index.js +4 -0
  231. package/dist/es-dev/components/radio/daikin-radio.d.ts +23 -40
  232. package/dist/es-dev/components/radio/daikin-radio.js +74 -93
  233. package/dist/es-dev/components/tab/daikin-tab.d.ts +12 -13
  234. package/dist/es-dev/components/tab/daikin-tab.js +42 -47
  235. package/dist/es-dev/components/{panel-switcher/daikin-panel-switcher.d.ts → tab-panels/daikin-tab-panels.d.ts} +17 -12
  236. package/dist/es-dev/components/{panel-switcher/daikin-panel-switcher.js → tab-panels/daikin-tab-panels.js} +10 -10
  237. package/dist/es-dev/components/tab-panels/index.d.ts +1 -0
  238. package/dist/es-dev/components/tab-panels/index.js +4 -0
  239. package/dist/{cjs-dev/components/tab-group/daikin-tab-group.d.ts → es-dev/components/tabs/daikin-tabs.d.ts} +27 -22
  240. package/dist/es-dev/components/{tab-group/daikin-tab-group.js → tabs/daikin-tabs.js} +32 -38
  241. package/dist/es-dev/components/tabs/index.d.ts +1 -0
  242. package/dist/es-dev/components/tabs/index.js +4 -0
  243. package/dist/es-dev/components/text-input/daikin-text-input.d.ts +5 -1
  244. package/dist/es-dev/components/text-input/daikin-text-input.js +4 -3
  245. package/dist/es-dev/components/textarea/daikin-textarea.d.ts +5 -1
  246. package/dist/es-dev/components/textarea/daikin-textarea.js +3 -3
  247. package/dist/es-dev/components/toggle/daikin-toggle.d.ts +15 -27
  248. package/dist/es-dev/components/toggle/daikin-toggle.js +45 -69
  249. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +80 -0
  250. package/dist/es-dev/components/tooltip/daikin-tooltip.js +224 -0
  251. package/dist/es-dev/components/tooltip/index.d.ts +1 -0
  252. package/dist/es-dev/components/tooltip/index.js +4 -0
  253. package/dist/es-dev/index.js +16 -4
  254. package/dist/es-dev/is-client.d.ts +1 -0
  255. package/dist/es-dev/is-client.js +5 -0
  256. package/dist/es-dev/tailwind.css.js +2 -2
  257. package/dist/es-dev/type-utils.d.ts +0 -1
  258. package/icons/checkbox-indeterminate.svg +2 -2
  259. package/icons/chevron-down.svg +3 -0
  260. package/icons/chevron-left.svg +3 -0
  261. package/icons/chevron-right.svg +3 -0
  262. package/icons/chevron-up.svg +3 -0
  263. package/icons/status-error.svg +3 -0
  264. package/icons/status-positive.svg +15 -0
  265. package/package.json +47 -44
  266. package/dist/cjs/components/panel-switcher/index.cjs +0 -7
  267. package/dist/cjs/components/panel-switcher/index.d.ts +0 -1
  268. package/dist/cjs/components/tab-group/index.cjs +0 -7
  269. package/dist/cjs/components/tab-group/index.d.ts +0 -1
  270. package/dist/cjs-dev/components/panel-switcher/index.cjs +0 -7
  271. package/dist/cjs-dev/components/panel-switcher/index.d.ts +0 -1
  272. package/dist/cjs-dev/components/tab-group/index.cjs +0 -7
  273. package/dist/cjs-dev/components/tab-group/index.d.ts +0 -1
  274. package/dist/es/components/panel-switcher/index.d.ts +0 -1
  275. package/dist/es/components/panel-switcher/index.js +0 -4
  276. package/dist/es/components/tab-group/index.d.ts +0 -1
  277. package/dist/es/components/tab-group/index.js +0 -4
  278. package/dist/es-dev/components/panel-switcher/index.d.ts +0 -1
  279. package/dist/es-dev/components/panel-switcher/index.js +0 -4
  280. package/dist/es-dev/components/tab-group/index.d.ts +0 -1
  281. package/dist/es-dev/components/tab-group/index.js +0 -4
  282. package/icons/accordion-chevron-up.svg +0 -3
  283. package/icons/input-group-error.svg +0 -11
  284. package/icons/radio-checked.svg +0 -4
  285. package/icons/radio-unchecked.svg +0 -4
  286. /package/dist/cjs/components/{tab-group → tabs}/scroller.cjs +0 -0
  287. /package/dist/cjs/components/{tab-group → tabs}/scroller.d.ts +0 -0
  288. /package/dist/cjs-dev/components/{tab-group → tabs}/scroller.cjs +0 -0
  289. /package/dist/cjs-dev/components/{tab-group → tabs}/scroller.d.ts +0 -0
  290. /package/dist/es/components/{tab-group → tabs}/scroller.d.ts +0 -0
  291. /package/dist/es/components/{tab-group → tabs}/scroller.js +0 -0
  292. /package/dist/es-dev/components/{tab-group → tabs}/scroller.d.ts +0 -0
  293. /package/dist/es-dev/components/{tab-group → tabs}/scroller.js +0 -0
@@ -14,125 +14,117 @@ var __decorateClass = (decorators, target, key, kind) => {
14
14
  if (kind && result) __defProp(target, key, result);
15
15
  return result;
16
16
  };
17
- const cvaCheckbox = classVarianceAuthority.cva(
18
- [
19
- "appearance-none",
20
- "inline-block",
21
- "relative",
22
- "rounded-sm",
23
- "border-solid",
24
- "border-2",
25
- "after:absolute",
26
- "after:text-white",
27
- "checked:after:i-daikin-checkbox-checked",
28
- "indeterminate:after:i-daikin-checkbox-indeterminate",
29
- "focus-visible:outline-none",
30
- "border-daikinNeutral-400",
31
- "enabled:indeterminate:border-daikinBlue-600",
32
- "enabled:indeterminate:bg-daikinBlue-600",
33
- "enabled:checked:border-daikinBlue-600",
34
- "enabled:checked:bg-daikinBlue-600",
35
- "aria-controllable:focus-visible:border-daikinBlue-700",
36
- "aria-controllable:hover:border-daikinBlue-300",
37
- "aria-controllable:active:border-daikinBlue-600",
38
- "aria-controllable:checked:focus-visible:border-daikinBlue-700",
39
- "aria-controllable:checked:focus-visible:border-daikinBlue-700",
40
- "aria-controllable:checked:focus-visible:bg-daikinBlue-700",
41
- "aria-controllable:checked:focus-visible:bg-daikinBlue-700",
42
- "aria-controllable:checked:hover:border-daikinBlue-300",
43
- "aria-controllable:checked:hover:bg-daikinBlue-300",
44
- "aria-controllable:checked:active:border-daikinBlue-600",
45
- "aria-controllable:checked:active:bg-daikinBlue-600",
46
- "aria-controllable:indeterminate:active:border-daikinBlue-600",
47
- "aria-controllable:indeterminate:active:bg-daikinBlue-600",
48
- "aria-controllable:indeterminate:hover:border-daikinBlue-300",
49
- "aria-controllable:indeterminate:hover:bg-daikinBlue-300",
50
- "aria-controllable:indeterminate:focus-visible:border-daikinBlue-700",
51
- "aria-controllable:indeterminate:focus-visible:bg-daikinBlue-700",
52
- "disabled:border-daikinNeutral-200",
53
- "disabled:bg-white",
54
- "disabled:indeterminate:bg-daikinNeutral-200",
55
- "disabled:checked:bg-daikinNeutral-200"
56
- ],
57
- {
58
- variants: {
59
- size: {
60
- small: ["w-[18px]", "h-[18px]"],
61
- large: ["w-5", "h-5"]
62
- }
17
+ const CHECKBOX_CLASS_NAME = classVarianceAuthority.cva([
18
+ "block",
19
+ "size-4",
20
+ "relative",
21
+ "bg-white",
22
+ "border-daikinNeutral-600",
23
+ "border-2",
24
+ "rounded-sm",
25
+ "appearance-none",
26
+ "before:text-white",
27
+ "before:absolute",
28
+ "before:m-auto",
29
+ "before:inset-0",
30
+ "checked:before:i-daikin-checkbox-checked",
31
+ "indeterminate:before:i-daikin-checkbox-indeterminate",
32
+ "indeterminate:before:size-2.5",
33
+ "focus-visible:outline",
34
+ "focus-visible:outline-1",
35
+ "focus-visible:outline-offset-1",
36
+ "focus-visible:outline-daikinBlue-700",
37
+ "enabled:group-hover:border-daikinNeutral-400",
38
+ "enabled:group-active:border-daikinNeutral-700",
39
+ "enabled:checked:border-daikinBlue-500",
40
+ "enabled:checked:bg-daikinBlue-500",
41
+ "enabled:checked:group-hover:bg-daikinBlue-300",
42
+ "enabled:checked:group-hover:border-daikinBlue-300",
43
+ "enabled:checked:group-hover:before:text-white",
44
+ "enabled:checked:group-active:bg-daikinBlue-600",
45
+ "enabled:checked:group-active:border-daikinBlue-600",
46
+ "enabled:checked:group-active:before:text-white",
47
+ "enabled:indeterminate:bg-daikinBlue-500",
48
+ "enabled:indeterminate:border-daikinBlue-500",
49
+ "enabled:indeterminate:group-hover:bg-daikinBlue-300",
50
+ "enabled:indeterminate:group-hover:border-daikinBlue-300",
51
+ "enabled:indeterminate:group-hover:before:text-white",
52
+ "enabled:indeterminate:group-active:bg-daikinBlue-600",
53
+ "enabled:indeterminate:group-active:border-daikinBlue-600",
54
+ "enabled:indeterminate:group-active:before:text-white",
55
+ "disabled:border-daikinNeutral-200",
56
+ "disabled:bg-white",
57
+ "disabled:checked:bg-daikinNeutral-200",
58
+ "disabled:indeterminate:bg-daikinNeutral-200"
59
+ ])();
60
+ const cvaLabel = classVarianceAuthority.cva([], {
61
+ variants: {
62
+ disabled: {
63
+ false: [],
64
+ true: ["text-daikinNeutral-200"]
63
65
  }
64
66
  }
65
- );
66
- const cvaLabel = classVarianceAuthority.cva(
67
- ["leading-8", "not-italic", "font-normal", "align-middle"],
68
- {
69
- variants: {
70
- size: {
71
- small: ["text-sm"],
72
- large: ["text-base"]
73
- }
74
- },
75
- defaultVariants: {
76
- size: "small"
77
- }
78
- }
79
- );
67
+ });
80
68
  exports.DaikinCheckbox = class DaikinCheckbox extends lit.LitElement {
81
69
  constructor() {
82
70
  super(...arguments);
83
- this._internals = this.attachInternals();
71
+ this.name = "";
72
+ this.value = "";
84
73
  this.label = "";
85
- this.size = "small";
86
74
  this.labelPosition = "right";
87
- this.disabled = false;
88
- this.readonly = false;
89
75
  this.checkState = "unchecked";
90
- this.name = "";
91
- this.value = "";
92
- this.error = false;
76
+ this.disabled = false;
77
+ this._internals = this.attachInternals();
93
78
  }
94
- _handleClick(event) {
95
- if (this.readonly || this.disabled) {
96
- event.preventDefault();
97
- }
79
+ get checked() {
80
+ return this.checkState === "checked";
81
+ }
82
+ /**
83
+ * A property-only accessor for `checkState` provided for convenience.
84
+ * _Getter_: Returns `true` when `checkState` is `"checked"`, and `false` otherwise.
85
+ * _Setter_: If `true` is set, it updates `checkState` to `"checked"`, and if `false` is set, it updates `checkState` to `"unchecked"`.
86
+ */
87
+ set checked(value) {
88
+ this.checkState = value ? "checked" : "unchecked";
98
89
  }
99
90
  _updateFormValue() {
100
91
  this._internals.setFormValue(this.checked ? this.value : null);
101
92
  }
102
- get checked() {
103
- return this.checkState === "checked";
93
+ _handleClick(event) {
94
+ if (this.disabled) {
95
+ event.preventDefault();
96
+ }
104
97
  }
105
98
  _handleChange(event) {
106
- if (!this._input) {
107
- return;
108
- }
109
- this.checkState = this._input.checked ? "checked" : "unchecked";
99
+ this.checkState = event.target.checked ? "checked" : "unchecked";
110
100
  this._updateFormValue();
111
101
  this.dispatchEvent(new Event("change", event));
112
102
  }
113
103
  render() {
114
- const checkboxClassName = cvaCheckbox({ size: this.size });
115
- const labelClassName = cvaLabel({ size: this.size });
116
- const isIndeterminate = this.checkState === "indeterminate";
117
- const labelText = this.label ? lit.html`<span class=${labelClassName}>${this.label}</span>` : lit.html``;
118
- const inputTag = lit.html`<input
119
- class=${checkboxClassName}
120
- type="checkbox"
121
- name=${this.name}
122
- value=${this.value}
123
- aria-readonly=${this.readonly}
124
- .indeterminate=${isIndeterminate}
125
- .checked=${this.checked}
126
- ?readonly=${this.readonly}
127
- ?disabled=${this.disabled}
128
- @change=${this._handleChange}
129
- @click=${this._handleClick}
130
- />`;
131
- const content = this.labelPosition === "left" ? lit.html`${labelText}${inputTag}` : lit.html`${inputTag}${labelText}`;
132
- return lit.html`<label
133
- class="inline-flex gap-[10px] items-center font-daikinSerif"
134
- >${content}</label
135
- >`;
104
+ return lit.html`<label class="group flex gap-2 items-center font-daikinSerif">
105
+ <div class="p-2">
106
+ <input
107
+ class=${CHECKBOX_CLASS_NAME}
108
+ type="checkbox"
109
+ name=${this.name}
110
+ value=${this.value}
111
+ aria-label=${this.labelPosition === "hidden" ? this.label : lit.nothing}
112
+ .indeterminate=${this.checkState === "indeterminate"}
113
+ .checked=${this.checked}
114
+ ?disabled=${this.disabled}
115
+ @change=${this._handleChange}
116
+ @click=${this._handleClick}
117
+ />
118
+ </div>
119
+ <span
120
+ class=${cvaLabel({
121
+ disabled: this.disabled
122
+ })}
123
+ ?hidden=${this.labelPosition === "hidden"}
124
+ >
125
+ ${this.label}
126
+ </span>
127
+ </label>`;
136
128
  }
137
129
  updated(changedProperties) {
138
130
  if (changedProperties.has("checkState")) {
@@ -144,40 +136,28 @@ exports.DaikinCheckbox.styles = lit.css`
144
136
  ${lit.unsafeCSS(tailwind.default)}
145
137
 
146
138
  :host {
147
- display: inline-block;
139
+ display: inline-flex;
148
140
  }
149
141
  `;
150
142
  exports.DaikinCheckbox.formAssociated = true;
151
143
  __decorateClass([
152
- decorators_js.query("input")
153
- ], exports.DaikinCheckbox.prototype, "_input", 2);
144
+ decorators_js.property({ type: String, reflect: true })
145
+ ], exports.DaikinCheckbox.prototype, "name", 2);
154
146
  __decorateClass([
155
- decorators_js.property({ type: String })
156
- ], exports.DaikinCheckbox.prototype, "label", 2);
147
+ decorators_js.property({ type: String, reflect: true })
148
+ ], exports.DaikinCheckbox.prototype, "value", 2);
157
149
  __decorateClass([
158
150
  decorators_js.property({ type: String })
159
- ], exports.DaikinCheckbox.prototype, "size", 2);
151
+ ], exports.DaikinCheckbox.prototype, "label", 2);
160
152
  __decorateClass([
161
153
  decorators_js.property({ type: String, attribute: "label-position" })
162
154
  ], exports.DaikinCheckbox.prototype, "labelPosition", 2);
163
- __decorateClass([
164
- decorators_js.property({ type: Boolean, reflect: true })
165
- ], exports.DaikinCheckbox.prototype, "disabled", 2);
166
- __decorateClass([
167
- decorators_js.property({ type: Boolean, reflect: true })
168
- ], exports.DaikinCheckbox.prototype, "readonly", 2);
169
155
  __decorateClass([
170
156
  decorators_js.property({ type: String, reflect: true, attribute: "check-state" })
171
157
  ], exports.DaikinCheckbox.prototype, "checkState", 2);
172
- __decorateClass([
173
- decorators_js.property({ type: String, reflect: true })
174
- ], exports.DaikinCheckbox.prototype, "name", 2);
175
- __decorateClass([
176
- decorators_js.property({ type: String, reflect: true })
177
- ], exports.DaikinCheckbox.prototype, "value", 2);
178
158
  __decorateClass([
179
159
  decorators_js.property({ type: Boolean, reflect: true })
180
- ], exports.DaikinCheckbox.prototype, "error", 2);
160
+ ], exports.DaikinCheckbox.prototype, "disabled", 2);
181
161
  exports.DaikinCheckbox = __decorateClass([
182
162
  decorators_js.customElement("daikin-checkbox")
183
163
  ], exports.DaikinCheckbox);
@@ -1,13 +1,4 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
- import { MergeVariantProps } from '../../type-utils';
3
-
4
- declare const cvaCheckbox: (props?: ({
5
- size?: "small" | "large" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- declare const cvaLabel: (props?: ({
8
- size?: "small" | "large" | null | undefined;
9
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
- type CheckboxVariantProps = MergeVariantProps<typeof cvaCheckbox | typeof cvaLabel>;
11
2
  /**
12
3
  * The checkbox component is a UI element that allows users to select one or more options from a list of choices.
13
4
  * It functions similarly to the HTML `<input type="checkbox">` tag, enabling users to toggle the selection of each option independently.
@@ -17,56 +8,54 @@ type CheckboxVariantProps = MergeVariantProps<typeof cvaCheckbox | typeof cvaLab
17
8
  *
18
9
  * @example
19
10
  *
11
+ * ```js
12
+ * import "@daikin-oss/design-system-web-components/components/checkbox/index.js";
13
+ * ```
14
+ *
20
15
  * ```html
21
16
  * <daikin-checkbox label="Checkbox label" name="name" value="value"></daikin-checkbox>
22
17
  * ```
23
18
  */
24
19
  export declare class DaikinCheckbox extends LitElement {
25
20
  static readonly styles: import('lit').CSSResult;
26
- private _handleClick;
27
- static readonly formAssociated = true;
28
- private _internals;
29
- private _updateFormValue;
30
- private _input;
31
- get checked(): boolean;
32
- private _handleChange;
33
- /**
34
- * Specify the label text for check box
35
- */
36
- label: string;
37
21
  /**
38
- * Specify the component size
22
+ * Form name of the checkbox.
39
23
  */
40
- size: CheckboxVariantProps["size"];
24
+ name: string;
41
25
  /**
42
- * Specify the label position
43
- * when `left` the label will be in left of checkbox, when `right` label will be in right of checkbox
26
+ * Form value of the checkbox.
44
27
  */
45
- labelPosition: "left" | "right";
28
+ value: string;
46
29
  /**
47
- * Specify whether the Checkbox should be disabled
30
+ * Label text for the checkbox.
48
31
  */
49
- disabled: boolean;
32
+ label: string;
50
33
  /**
51
- * Specify whether the checkbox is read only
34
+ * Label position.
35
+ * - `right` (default): The label will be placed to the right of the checkbox.
36
+ * - `hidden`: The label will not be shown.
52
37
  */
53
- readonly: boolean;
38
+ labelPosition: "right" | "hidden";
54
39
  /**
55
- * Specify whether the checkbox is be checked
40
+ * Checked state of the checkbox.
56
41
  */
57
42
  checkState: "unchecked" | "indeterminate" | "checked";
58
43
  /**
59
- * The form name.
44
+ * Whether the checkbox is disabled.
60
45
  */
61
- name: string;
62
- /**
63
- * The value.
64
- */
65
- value: string;
46
+ disabled: boolean;
47
+ get checked(): boolean;
66
48
  /**
67
- * Specify whether the Checkbox is in a error state
49
+ * A property-only accessor for `checkState` provided for convenience.
50
+ * _Getter_: Returns `true` when `checkState` is `"checked"`, and `false` otherwise.
51
+ * _Setter_: If `true` is set, it updates `checkState` to `"checked"`, and if `false` is set, it updates `checkState` to `"unchecked"`.
68
52
  */
69
- error: boolean;
53
+ set checked(value: boolean);
54
+ static readonly formAssociated = true;
55
+ private _internals;
56
+ private _updateFormValue;
57
+ private _handleClick;
58
+ private _handleChange;
70
59
  render(): import('lit-html').TemplateResult<1>;
71
60
  updated(changedProperties: PropertyValues<this>): void;
72
61
  }
@@ -75,4 +64,3 @@ declare global {
75
64
  "daikin-checkbox": DaikinCheckbox;
76
65
  }
77
66
  }
78
- export {};
@@ -1,7 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import { MergeVariantProps } from '../../type-utils';
3
3
  import { icons } from './icons.json';
4
-
5
4
  export declare const iconList: string[];
6
5
  export type IconType = keyof typeof icons;
7
6
  declare const cvaIcon: (props?: ({
@@ -21,6 +20,10 @@ export type IconVariantProps = MergeVariantProps<typeof cvaIcon>;
21
20
  *
22
21
  * @example
23
22
  *
23
+ * ```js
24
+ * import "@daikin-oss/design-system-web-components/components/icon/index.js";
25
+ * ```
26
+ *
24
27
  * ```html
25
28
  * <daikin-icon icon="information" color="black" size="m"></daikin-icon>
26
29
  * ```
@@ -24,6 +24,26 @@ const icons = {
24
24
  warning: {
25
25
  "class": "i-daikin-notification-status-warning",
26
26
  color: null
27
+ },
28
+ error: {
29
+ "class": "i-daikin-status-error",
30
+ color: "#ff4949"
31
+ },
32
+ "chevron-up": {
33
+ "class": "i-daikin-chevron-up",
34
+ color: null
35
+ },
36
+ "chevron-down": {
37
+ "class": "i-daikin-chevron-down",
38
+ color: null
39
+ },
40
+ "chevron-left": {
41
+ "class": "i-daikin-chevron-left",
42
+ color: null
43
+ },
44
+ "chevron-right": {
45
+ "class": "i-daikin-chevron-right",
46
+ color: null
27
47
  }
28
48
  };
29
49
  exports.icons = icons;
@@ -23,6 +23,26 @@ declare const _default: {
23
23
  "warning": {
24
24
  "class": "i-daikin-notification-status-warning",
25
25
  "color": null
26
+ },
27
+ "error": {
28
+ "class": "i-daikin-status-error",
29
+ "color": "#ff4949"
30
+ },
31
+ "chevron-up": {
32
+ "class": "i-daikin-chevron-up",
33
+ "color": null
34
+ },
35
+ "chevron-down": {
36
+ "class": "i-daikin-chevron-down",
37
+ "color": null
38
+ },
39
+ "chevron-left": {
40
+ "class": "i-daikin-chevron-left",
41
+ "color": null
42
+ },
43
+ "chevron-right": {
44
+ "class": "i-daikin-chevron-right",
45
+ "color": null
26
46
  }
27
47
  }
28
48
  }
@@ -2,18 +2,24 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const daikinAccordion = require("./accordion/daikin-accordion.cjs");
4
4
  const daikinAccordionItem = require("./accordion-item/daikin-accordion-item.cjs");
5
+ const daikinBreadcrumb = require("./breadcrumb/daikin-breadcrumb.cjs");
6
+ const daikinBreadcrumbItem = require("./breadcrumb-item/daikin-breadcrumb-item.cjs");
5
7
  const daikinButton = require("./button/daikin-button.cjs");
6
8
  const daikinCheckbox = require("./checkbox/daikin-checkbox.cjs");
7
9
  const daikinIcon = require("./icon/daikin-icon.cjs");
8
10
  const daikinInputGroup = require("./input-group/daikin-input-group.cjs");
11
+ const daikinList = require("./list/daikin-list.cjs");
12
+ const daikinListItem = require("./list-item/daikin-list-item.cjs");
9
13
  const daikinNotification = require("./notification/daikin-notification.cjs");
10
- const daikinPanelSwitcher = require("./panel-switcher/daikin-panel-switcher.cjs");
14
+ const daikinProgressBar = require("./progress-bar/daikin-progress-bar.cjs");
11
15
  const daikinRadio = require("./radio/daikin-radio.cjs");
12
16
  const daikinTab = require("./tab/daikin-tab.cjs");
13
- const daikinTabGroup = require("./tab-group/daikin-tab-group.cjs");
17
+ const daikinTabPanels = require("./tab-panels/daikin-tab-panels.cjs");
18
+ const daikinTabs = require("./tabs/daikin-tabs.cjs");
14
19
  const daikinTextInput = require("./text-input/daikin-text-input.cjs");
15
20
  const daikinTextarea = require("./textarea/daikin-textarea.cjs");
16
21
  const daikinToggle = require("./toggle/daikin-toggle.cjs");
22
+ const daikinTooltip = require("./tooltip/daikin-tooltip.cjs");
17
23
  Object.defineProperty(exports, "DaikinAccordion", {
18
24
  enumerable: true,
19
25
  get: () => daikinAccordion.DaikinAccordion
@@ -22,6 +28,14 @@ Object.defineProperty(exports, "DaikinAccordionItem", {
22
28
  enumerable: true,
23
29
  get: () => daikinAccordionItem.DaikinAccordionItem
24
30
  });
31
+ Object.defineProperty(exports, "DaikinBreadcrumb", {
32
+ enumerable: true,
33
+ get: () => daikinBreadcrumb.DaikinBreadcrumb
34
+ });
35
+ Object.defineProperty(exports, "DaikinBreadcrumbItem", {
36
+ enumerable: true,
37
+ get: () => daikinBreadcrumbItem.DaikinBreadcrumbItem
38
+ });
25
39
  Object.defineProperty(exports, "DaikinButton", {
26
40
  enumerable: true,
27
41
  get: () => daikinButton.DaikinButton
@@ -39,13 +53,21 @@ Object.defineProperty(exports, "DaikinInputGroup", {
39
53
  enumerable: true,
40
54
  get: () => daikinInputGroup.DaikinInputGroup
41
55
  });
56
+ Object.defineProperty(exports, "DaikinList", {
57
+ enumerable: true,
58
+ get: () => daikinList.DaikinList
59
+ });
60
+ Object.defineProperty(exports, "DaikinListItem", {
61
+ enumerable: true,
62
+ get: () => daikinListItem.DaikinListItem
63
+ });
42
64
  Object.defineProperty(exports, "DaikinNotification", {
43
65
  enumerable: true,
44
66
  get: () => daikinNotification.DaikinNotification
45
67
  });
46
- Object.defineProperty(exports, "DaikinPanelSwitcher", {
68
+ Object.defineProperty(exports, "DaikinProgressBar", {
47
69
  enumerable: true,
48
- get: () => daikinPanelSwitcher.DaikinPanelSwitcher
70
+ get: () => daikinProgressBar.DaikinProgressBar
49
71
  });
50
72
  Object.defineProperty(exports, "DaikinRadio", {
51
73
  enumerable: true,
@@ -55,9 +77,13 @@ Object.defineProperty(exports, "DaikinTab", {
55
77
  enumerable: true,
56
78
  get: () => daikinTab.DaikinTab
57
79
  });
58
- Object.defineProperty(exports, "DaikinTabGroup", {
80
+ Object.defineProperty(exports, "DaikinTabPanels", {
81
+ enumerable: true,
82
+ get: () => daikinTabPanels.DaikinTabPanels
83
+ });
84
+ Object.defineProperty(exports, "DaikinTabs", {
59
85
  enumerable: true,
60
- get: () => daikinTabGroup.DaikinTabGroup
86
+ get: () => daikinTabs.DaikinTabs
61
87
  });
62
88
  Object.defineProperty(exports, "DaikinTextInput", {
63
89
  enumerable: true,
@@ -71,3 +97,7 @@ Object.defineProperty(exports, "DaikinToggle", {
71
97
  enumerable: true,
72
98
  get: () => daikinToggle.DaikinToggle
73
99
  });
100
+ Object.defineProperty(exports, "DaikinTooltip", {
101
+ enumerable: true,
102
+ get: () => daikinTooltip.DaikinTooltip
103
+ });
@@ -1,14 +1,20 @@
1
1
  export * from './accordion';
2
2
  export * from './accordion-item';
3
+ export * from './breadcrumb';
4
+ export * from './breadcrumb-item';
3
5
  export * from './button';
4
6
  export * from './checkbox';
5
7
  export * from './icon';
6
8
  export * from './input-group';
9
+ export * from './list';
10
+ export * from './list-item';
7
11
  export * from './notification';
8
- export * from './panel-switcher';
12
+ export * from './progress-bar';
9
13
  export * from './radio';
10
14
  export * from './tab';
11
- export * from './tab-group';
15
+ export * from './tab-panels';
16
+ export * from './tabs';
12
17
  export * from './text-input';
13
18
  export * from './textarea';
14
19
  export * from './toggle';
20
+ export * from './tooltip';
@@ -70,7 +70,7 @@ exports.DaikinInputGroup = class DaikinInputGroup extends lit.LitElement {
70
70
  <slot @slotchange=${this._handleSlotChange}></slot>
71
71
  ${this.helper && !this.error ? lit.html`<span class=${inputGroupHelperClassName}>${this.helper}</span>` : null}
72
72
  ${!this.disabled && !!this.error ? lit.html`<span
73
- class="flex gap-2 text-[--input-group-border-color-error] leading-[22px] before:i-daikin-input-group-error before:block before:w-[16px] before:h-[22px]"
73
+ class="flex gap-2 text-[--input-group-border-color-error] leading-[22px] before:i-daikin-status-error before:block before:w-[16px] before:h-[22px]"
74
74
  >${this.error}</span
75
75
  >` : null}
76
76
  </label>
@@ -1,7 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import { DaikinTextInput } from '../text-input/daikin-text-input';
3
3
  import { DaikinTextarea } from '../textarea/daikin-textarea';
4
-
5
4
  type ControlElement = DaikinTextInput | DaikinTextarea;
6
5
  /**
7
6
  * The input group component serves as a wrapper for a `daikin-text-input` or `daikin-textarea` component, providing additional elements such as labels, helper texts, or a counter.
@@ -16,6 +15,12 @@ type ControlElement = DaikinTextInput | DaikinTextarea;
16
15
  *
17
16
  * @example
18
17
  *
18
+ * ```js
19
+ * import "@daikin-oss/design-system-web-components/components/input-group/index.js";
20
+ * import "@daikin-oss/design-system-web-components/components/text-input/index.js";
21
+ * import "@daikin-oss/design-system-web-components/components/textarea/index.js";
22
+ * ```
23
+ *
19
24
  * With Text Input:
20
25
  *
21
26
  * ```html
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const lit = require("lit");
4
+ const decorators_js = require("lit/decorators.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
+ exports.DaikinList = class DaikinList extends lit.LitElement {
16
+ render() {
17
+ return lit.html`<div role="list">
18
+ <slot></slot>
19
+ </div>`;
20
+ }
21
+ };
22
+ exports.DaikinList = __decorateClass([
23
+ decorators_js.customElement("daikin-list")
24
+ ], exports.DaikinList);
@@ -0,0 +1,28 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * The list component is used to list items using the list item component.
4
+ *
5
+ * Hierarchy:
6
+ * - `daikin-list` > `daikin-list-item`
7
+ *
8
+ * @slot - A slot for the list items. Place `daikin-list-item` elements here.
9
+ *
10
+ * @example
11
+ *
12
+ * ```html
13
+ * <daikin-list>
14
+ * <daikin-list-item>List item label 1</daikin-list-item>
15
+ * <daikin-list-item>List item label 2</daikin-list-item>
16
+ * <daikin-list-item>List item label 3</daikin-list-item>
17
+ * </daikin-list>
18
+ * ```
19
+ */
20
+ export declare class DaikinList extends LitElement {
21
+ render(): import('lit-html').TemplateResult<1>;
22
+ }
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ "daikin-list": DaikinList;
26
+ }
27
+ }
28
+ export default DaikinList;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const daikinList = require("./daikin-list.cjs");
4
+ Object.defineProperty(exports, "DaikinList", {
5
+ enumerable: true,
6
+ get: () => daikinList.DaikinList
7
+ });
@@ -0,0 +1 @@
1
+ export * from './daikin-list';