@daikin-oss/design-system-web-components 0.7.0 → 1.1.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 (513) hide show
  1. package/CHANGELOG.md +127 -12
  2. package/README.md +2 -2
  3. package/dist/cjs/base/dds-element.cjs +8 -0
  4. package/dist/cjs/base/dds-element.d.cts +4 -0
  5. package/dist/cjs/base/decorators.cjs +13 -0
  6. package/dist/cjs/base/decorators.d.cts +2 -0
  7. package/dist/cjs/base/define.cjs +18 -0
  8. package/dist/cjs/base/define.d.cts +1 -0
  9. package/dist/cjs/base/index.cjs +8 -0
  10. package/dist/cjs/base/index.d.cts +3 -0
  11. package/dist/cjs/components/accordion/daikin-accordion.cjs +39 -6
  12. package/dist/cjs/components/accordion/daikin-accordion.d.cts +15 -2
  13. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +37 -77
  14. package/dist/cjs/components/accordion-item/daikin-accordion-item.d.cts +10 -16
  15. package/dist/cjs/components/avatar/daikin-avatar.cjs +160 -0
  16. package/dist/cjs/components/avatar/daikin-avatar.d.cts +64 -0
  17. package/dist/cjs/components/avatar/index.cjs +7 -0
  18. package/dist/cjs/components/avatar/index.d.cts +1 -0
  19. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +8 -5
  20. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +2 -2
  21. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +8 -5
  22. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +2 -2
  23. package/dist/cjs/components/button/daikin-button.cjs +20 -8
  24. package/dist/cjs/components/button/daikin-button.d.cts +6 -3
  25. package/dist/cjs/components/card/daikin-card.cjs +11 -7
  26. package/dist/cjs/components/card/daikin-card.d.cts +8 -2
  27. package/dist/cjs/components/card-footer/daikin-card-footer.cjs +9 -9
  28. package/dist/cjs/components/card-footer/daikin-card-footer.d.cts +6 -2
  29. package/dist/cjs/components/card-header/daikin-card-header.cjs +10 -10
  30. package/dist/cjs/components/card-header/daikin-card-header.d.cts +6 -2
  31. package/dist/cjs/components/carousel/daikin-carousel.cjs +217 -0
  32. package/dist/cjs/components/carousel/daikin-carousel.d.cts +56 -0
  33. package/dist/cjs/components/carousel/index.cjs +7 -0
  34. package/dist/cjs/components/carousel/index.d.cts +1 -0
  35. package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +80 -0
  36. package/dist/cjs/components/carousel-item/daikin-carousel-item.d.cts +50 -0
  37. package/dist/cjs/components/carousel-item/index.cjs +7 -0
  38. package/dist/cjs/components/carousel-item/index.d.cts +1 -0
  39. package/dist/cjs/components/checkbox/daikin-checkbox.cjs +35 -16
  40. package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +8 -2
  41. package/dist/cjs/components/dropdown/daikin-dropdown.cjs +161 -74
  42. package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +64 -11
  43. package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +109 -41
  44. package/dist/cjs/components/dropdown-item/daikin-dropdown-item.d.cts +16 -3
  45. package/dist/cjs/components/icon/daikin-icon.cjs +8 -5
  46. package/dist/cjs/components/icon/daikin-icon.d.cts +2 -2
  47. package/dist/cjs/components/icon/icons.json.cjs +1 -70
  48. package/dist/cjs/components/icon/icons.json.d.cts +4 -8
  49. package/dist/cjs/components/icon-button/daikin-icon-button.cjs +8 -5
  50. package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +2 -2
  51. package/dist/cjs/components/index.cjs +33 -3
  52. package/dist/cjs/components/index.d.cts +7 -1
  53. package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +92 -0
  54. package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +55 -0
  55. package/dist/cjs/components/inline-notification/index.cjs +7 -0
  56. package/dist/cjs/components/inline-notification/index.d.cts +1 -0
  57. package/dist/cjs/components/input-group/daikin-input-group.cjs +12 -9
  58. package/dist/cjs/components/input-group/daikin-input-group.d.cts +15 -7
  59. package/dist/cjs/components/link/daikin-link.cjs +9 -6
  60. package/dist/cjs/components/link/daikin-link.d.cts +2 -2
  61. package/dist/cjs/components/list/daikin-list.cjs +9 -9
  62. package/dist/cjs/components/list/daikin-list.d.cts +7 -2
  63. package/dist/cjs/components/list-item/daikin-list-item.cjs +8 -5
  64. package/dist/cjs/components/list-item/daikin-list-item.d.cts +6 -2
  65. package/dist/cjs/components/loading/daikin-loading.cjs +91 -0
  66. package/dist/cjs/components/loading/daikin-loading.d.cts +32 -0
  67. package/dist/cjs/components/loading/index.cjs +7 -0
  68. package/dist/cjs/components/loading/index.d.cts +1 -0
  69. package/dist/cjs/components/pagination/daikin-pagination.cjs +22 -13
  70. package/dist/cjs/components/pagination/daikin-pagination.d.cts +6 -2
  71. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +13 -8
  72. package/dist/cjs/components/progress-bar/daikin-progress-bar.d.cts +3 -2
  73. package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +16 -20
  74. package/dist/cjs/components/progress-indicator/daikin-progress-indicator.d.cts +12 -5
  75. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +24 -25
  76. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +8 -4
  77. package/dist/cjs/components/radio/daikin-radio.cjs +45 -23
  78. package/dist/cjs/components/radio/daikin-radio.d.cts +18 -8
  79. package/dist/cjs/components/radio-group/daikin-radio-group.cjs +31 -11
  80. package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +20 -14
  81. package/dist/cjs/components/select/daikin-select.cjs +15 -6
  82. package/dist/cjs/components/select/daikin-select.d.cts +11 -2
  83. package/dist/cjs/components/tab/daikin-tab.cjs +25 -10
  84. package/dist/cjs/components/tab/daikin-tab.d.cts +7 -2
  85. package/dist/cjs/components/tab-panels/daikin-tab-panels.cjs +9 -7
  86. package/dist/cjs/components/tab-panels/daikin-tab-panels.d.cts +2 -2
  87. package/dist/cjs/components/table/daikin-table.cjs +9 -6
  88. package/dist/cjs/components/table/daikin-table.d.cts +9 -2
  89. package/dist/cjs/components/table-cell/daikin-table-cell.cjs +8 -5
  90. package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +6 -2
  91. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +8 -5
  92. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
  93. package/dist/cjs/components/tabs/daikin-tabs.cjs +25 -10
  94. package/dist/cjs/components/tabs/daikin-tabs.d.cts +8 -2
  95. package/dist/cjs/components/text-area/daikin-text-area.cjs +16 -7
  96. package/dist/cjs/components/text-area/daikin-text-area.d.cts +7 -2
  97. package/dist/cjs/components/text-field/daikin-text-field.cjs +16 -7
  98. package/dist/cjs/components/text-field/daikin-text-field.d.cts +7 -2
  99. package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +94 -0
  100. package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +69 -0
  101. package/dist/cjs/components/toast-notification/index.cjs +7 -0
  102. package/dist/cjs/components/toast-notification/index.d.cts +1 -0
  103. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +192 -0
  104. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +67 -0
  105. package/dist/cjs/components/toast-notification-manager/index.cjs +7 -0
  106. package/dist/cjs/components/toast-notification-manager/index.d.cts +1 -0
  107. package/dist/cjs/components/toggle/daikin-toggle.cjs +8 -5
  108. package/dist/cjs/components/toggle/daikin-toggle.d.cts +3 -2
  109. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +42 -30
  110. package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +16 -6
  111. package/dist/cjs/components/tree/daikin-tree.cjs +36 -37
  112. package/dist/cjs/components/tree/daikin-tree.d.cts +13 -14
  113. package/dist/cjs/components/tree-item/daikin-tree-item.cjs +22 -18
  114. package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +9 -9
  115. package/dist/cjs/components/tree-section/daikin-tree-section.cjs +26 -41
  116. package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +10 -20
  117. package/dist/cjs/controllers/click-outside.d.cts +1 -1
  118. package/dist/cjs/index.cjs +33 -3
  119. package/dist/cjs/tailwind.css.cjs +1 -1
  120. package/dist/cjs/utils/is-similar-to-click.cjs +4 -0
  121. package/dist/cjs/utils/is-similar-to-click.d.cts +1 -0
  122. package/dist/cjs/utils/notification-common.cjs +121 -0
  123. package/dist/cjs/utils/notification-common.d.cts +19 -0
  124. package/dist/cjs-dev/base/dds-element.cjs +8 -0
  125. package/dist/cjs-dev/base/dds-element.d.cts +4 -0
  126. package/dist/cjs-dev/base/decorators.cjs +13 -0
  127. package/dist/cjs-dev/base/decorators.d.cts +2 -0
  128. package/dist/cjs-dev/base/define.cjs +18 -0
  129. package/dist/cjs-dev/base/define.d.cts +1 -0
  130. package/dist/cjs-dev/base/index.cjs +8 -0
  131. package/dist/cjs-dev/base/index.d.cts +3 -0
  132. package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +46 -6
  133. package/dist/cjs-dev/components/accordion/daikin-accordion.d.cts +15 -2
  134. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +37 -77
  135. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.d.cts +10 -16
  136. package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +160 -0
  137. package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +64 -0
  138. package/dist/cjs-dev/components/avatar/index.cjs +7 -0
  139. package/dist/cjs-dev/components/avatar/index.d.cts +1 -0
  140. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +8 -5
  141. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +2 -2
  142. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +8 -5
  143. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +2 -2
  144. package/dist/cjs-dev/components/button/daikin-button.cjs +20 -8
  145. package/dist/cjs-dev/components/button/daikin-button.d.cts +6 -3
  146. package/dist/cjs-dev/components/card/daikin-card.cjs +11 -7
  147. package/dist/cjs-dev/components/card/daikin-card.d.cts +8 -2
  148. package/dist/cjs-dev/components/card-footer/daikin-card-footer.cjs +9 -9
  149. package/dist/cjs-dev/components/card-footer/daikin-card-footer.d.cts +6 -2
  150. package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +10 -10
  151. package/dist/cjs-dev/components/card-header/daikin-card-header.d.cts +6 -2
  152. package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +227 -0
  153. package/dist/cjs-dev/components/carousel/daikin-carousel.d.cts +56 -0
  154. package/dist/cjs-dev/components/carousel/index.cjs +7 -0
  155. package/dist/cjs-dev/components/carousel/index.d.cts +1 -0
  156. package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +80 -0
  157. package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.d.cts +50 -0
  158. package/dist/cjs-dev/components/carousel-item/index.cjs +7 -0
  159. package/dist/cjs-dev/components/carousel-item/index.d.cts +1 -0
  160. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +35 -16
  161. package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +8 -2
  162. package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +161 -74
  163. package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +64 -11
  164. package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +109 -41
  165. package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.d.cts +16 -3
  166. package/dist/cjs-dev/components/icon/daikin-icon.cjs +8 -5
  167. package/dist/cjs-dev/components/icon/daikin-icon.d.cts +2 -2
  168. package/dist/cjs-dev/components/icon/icons.json.cjs +1 -70
  169. package/dist/cjs-dev/components/icon/icons.json.d.cts +4 -8
  170. package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +8 -5
  171. package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +2 -2
  172. package/dist/cjs-dev/components/index.cjs +33 -3
  173. package/dist/cjs-dev/components/index.d.cts +7 -1
  174. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +92 -0
  175. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +55 -0
  176. package/dist/cjs-dev/components/inline-notification/index.cjs +7 -0
  177. package/dist/cjs-dev/components/inline-notification/index.d.cts +1 -0
  178. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +12 -9
  179. package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +15 -7
  180. package/dist/cjs-dev/components/link/daikin-link.cjs +9 -6
  181. package/dist/cjs-dev/components/link/daikin-link.d.cts +2 -2
  182. package/dist/cjs-dev/components/list/daikin-list.cjs +9 -9
  183. package/dist/cjs-dev/components/list/daikin-list.d.cts +7 -2
  184. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +8 -5
  185. package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +6 -2
  186. package/dist/cjs-dev/components/loading/daikin-loading.cjs +91 -0
  187. package/dist/cjs-dev/components/loading/daikin-loading.d.cts +32 -0
  188. package/dist/cjs-dev/components/loading/index.cjs +7 -0
  189. package/dist/cjs-dev/components/loading/index.d.cts +1 -0
  190. package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +22 -13
  191. package/dist/cjs-dev/components/pagination/daikin-pagination.d.cts +6 -2
  192. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +13 -8
  193. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.cts +3 -2
  194. package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.cjs +16 -30
  195. package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.d.cts +12 -5
  196. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +24 -25
  197. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +8 -4
  198. package/dist/cjs-dev/components/radio/daikin-radio.cjs +45 -23
  199. package/dist/cjs-dev/components/radio/daikin-radio.d.cts +18 -8
  200. package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +31 -11
  201. package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +20 -14
  202. package/dist/cjs-dev/components/select/daikin-select.cjs +15 -6
  203. package/dist/cjs-dev/components/select/daikin-select.d.cts +11 -2
  204. package/dist/cjs-dev/components/tab/daikin-tab.cjs +25 -10
  205. package/dist/cjs-dev/components/tab/daikin-tab.d.cts +7 -2
  206. package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.cjs +9 -7
  207. package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.d.cts +2 -2
  208. package/dist/cjs-dev/components/table/daikin-table.cjs +9 -6
  209. package/dist/cjs-dev/components/table/daikin-table.d.cts +9 -2
  210. package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +8 -5
  211. package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +6 -2
  212. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +8 -5
  213. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
  214. package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +25 -10
  215. package/dist/cjs-dev/components/tabs/daikin-tabs.d.cts +8 -2
  216. package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +16 -7
  217. package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +7 -2
  218. package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +16 -7
  219. package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +7 -2
  220. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +94 -0
  221. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +69 -0
  222. package/dist/cjs-dev/components/toast-notification/index.cjs +7 -0
  223. package/dist/cjs-dev/components/toast-notification/index.d.cts +1 -0
  224. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +192 -0
  225. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +67 -0
  226. package/dist/cjs-dev/components/toast-notification-manager/index.cjs +7 -0
  227. package/dist/cjs-dev/components/toast-notification-manager/index.d.cts +1 -0
  228. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +8 -5
  229. package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +3 -2
  230. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +42 -30
  231. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +16 -6
  232. package/dist/cjs-dev/components/tree/daikin-tree.cjs +36 -37
  233. package/dist/cjs-dev/components/tree/daikin-tree.d.cts +13 -14
  234. package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +22 -18
  235. package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +9 -9
  236. package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +26 -41
  237. package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +10 -20
  238. package/dist/cjs-dev/controllers/click-outside.d.cts +1 -1
  239. package/dist/cjs-dev/index.cjs +33 -3
  240. package/dist/cjs-dev/tailwind.css.cjs +1 -1
  241. package/dist/cjs-dev/utils/is-similar-to-click.cjs +4 -0
  242. package/dist/cjs-dev/utils/is-similar-to-click.d.cts +1 -0
  243. package/dist/cjs-dev/utils/notification-common.cjs +124 -0
  244. package/dist/cjs-dev/utils/notification-common.d.cts +19 -0
  245. package/dist/es/base/dds-element.d.ts +4 -0
  246. package/dist/es/base/dds-element.js +8 -0
  247. package/dist/es/base/decorators.d.ts +2 -0
  248. package/dist/es/base/decorators.js +13 -0
  249. package/dist/es/base/define.d.ts +1 -0
  250. package/dist/es/base/define.js +18 -0
  251. package/dist/es/base/index.d.ts +3 -0
  252. package/dist/es/base/index.js +8 -0
  253. package/dist/es/components/accordion/daikin-accordion.d.ts +15 -2
  254. package/dist/es/components/accordion/daikin-accordion.js +38 -5
  255. package/dist/es/components/accordion-item/daikin-accordion-item.d.ts +10 -16
  256. package/dist/es/components/accordion-item/daikin-accordion-item.js +36 -76
  257. package/dist/es/components/avatar/daikin-avatar.d.ts +64 -0
  258. package/dist/es/components/avatar/daikin-avatar.js +161 -0
  259. package/dist/es/components/avatar/index.d.ts +1 -0
  260. package/dist/es/components/avatar/index.js +4 -0
  261. package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +2 -2
  262. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +7 -4
  263. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +2 -2
  264. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +7 -4
  265. package/dist/es/components/button/daikin-button.d.ts +6 -3
  266. package/dist/es/components/button/daikin-button.js +19 -7
  267. package/dist/es/components/card/daikin-card.d.ts +8 -2
  268. package/dist/es/components/card/daikin-card.js +10 -6
  269. package/dist/es/components/card-footer/daikin-card-footer.d.ts +6 -2
  270. package/dist/es/components/card-footer/daikin-card-footer.js +7 -7
  271. package/dist/es/components/card-header/daikin-card-header.d.ts +6 -2
  272. package/dist/es/components/card-header/daikin-card-header.js +8 -8
  273. package/dist/es/components/carousel/daikin-carousel.d.ts +56 -0
  274. package/dist/es/components/carousel/daikin-carousel.js +218 -0
  275. package/dist/es/components/carousel/index.d.ts +1 -0
  276. package/dist/es/components/carousel/index.js +4 -0
  277. package/dist/es/components/carousel-item/daikin-carousel-item.d.ts +50 -0
  278. package/dist/es/components/carousel-item/daikin-carousel-item.js +81 -0
  279. package/dist/es/components/carousel-item/index.d.ts +1 -0
  280. package/dist/es/components/carousel-item/index.js +4 -0
  281. package/dist/es/components/checkbox/daikin-checkbox.d.ts +8 -2
  282. package/dist/es/components/checkbox/daikin-checkbox.js +34 -15
  283. package/dist/es/components/dropdown/daikin-dropdown.d.ts +64 -11
  284. package/dist/es/components/dropdown/daikin-dropdown.js +160 -73
  285. package/dist/es/components/dropdown-item/daikin-dropdown-item.d.ts +16 -3
  286. package/dist/es/components/dropdown-item/daikin-dropdown-item.js +108 -40
  287. package/dist/es/components/icon/daikin-icon.d.ts +2 -2
  288. package/dist/es/components/icon/daikin-icon.js +7 -4
  289. package/dist/es/components/icon/icons.json.d.ts +4 -8
  290. package/dist/es/components/icon/icons.json.js +1 -70
  291. package/dist/es/components/icon-button/daikin-icon-button.d.ts +2 -2
  292. package/dist/es/components/icon-button/daikin-icon-button.js +7 -4
  293. package/dist/es/components/index.d.ts +7 -1
  294. package/dist/es/components/index.js +14 -2
  295. package/dist/es/components/inline-notification/daikin-inline-notification.d.ts +55 -0
  296. package/dist/es/components/inline-notification/daikin-inline-notification.js +93 -0
  297. package/dist/es/components/inline-notification/index.d.ts +1 -0
  298. package/dist/es/components/inline-notification/index.js +4 -0
  299. package/dist/es/components/input-group/daikin-input-group.d.ts +15 -7
  300. package/dist/es/components/input-group/daikin-input-group.js +11 -8
  301. package/dist/es/components/link/daikin-link.d.ts +2 -2
  302. package/dist/es/components/link/daikin-link.js +8 -5
  303. package/dist/es/components/list/daikin-list.d.ts +7 -2
  304. package/dist/es/components/list/daikin-list.js +7 -7
  305. package/dist/es/components/list-item/daikin-list-item.d.ts +6 -2
  306. package/dist/es/components/list-item/daikin-list-item.js +7 -4
  307. package/dist/es/components/loading/daikin-loading.d.ts +32 -0
  308. package/dist/es/components/loading/daikin-loading.js +92 -0
  309. package/dist/es/components/loading/index.d.ts +1 -0
  310. package/dist/es/components/loading/index.js +4 -0
  311. package/dist/es/components/pagination/daikin-pagination.d.ts +6 -2
  312. package/dist/es/components/pagination/daikin-pagination.js +21 -12
  313. package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +3 -2
  314. package/dist/es/components/progress-bar/daikin-progress-bar.js +12 -7
  315. package/dist/es/components/progress-indicator/daikin-progress-indicator.d.ts +12 -5
  316. package/dist/es/components/progress-indicator/daikin-progress-indicator.js +15 -19
  317. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +8 -4
  318. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +23 -24
  319. package/dist/es/components/radio/daikin-radio.d.ts +18 -8
  320. package/dist/es/components/radio/daikin-radio.js +44 -22
  321. package/dist/es/components/radio-group/daikin-radio-group.d.ts +20 -14
  322. package/dist/es/components/radio-group/daikin-radio-group.js +30 -10
  323. package/dist/es/components/select/daikin-select.d.ts +11 -2
  324. package/dist/es/components/select/daikin-select.js +14 -5
  325. package/dist/es/components/tab/daikin-tab.d.ts +7 -2
  326. package/dist/es/components/tab/daikin-tab.js +24 -9
  327. package/dist/es/components/tab-panels/daikin-tab-panels.d.ts +2 -2
  328. package/dist/es/components/tab-panels/daikin-tab-panels.js +8 -6
  329. package/dist/es/components/table/daikin-table.d.ts +9 -2
  330. package/dist/es/components/table/daikin-table.js +8 -5
  331. package/dist/es/components/table-cell/daikin-table-cell.d.ts +6 -2
  332. package/dist/es/components/table-cell/daikin-table-cell.js +7 -4
  333. package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
  334. package/dist/es/components/table-header-cell/daikin-table-header-cell.js +7 -4
  335. package/dist/es/components/tabs/daikin-tabs.d.ts +8 -2
  336. package/dist/es/components/tabs/daikin-tabs.js +24 -9
  337. package/dist/es/components/text-area/daikin-text-area.d.ts +7 -2
  338. package/dist/es/components/text-area/daikin-text-area.js +15 -6
  339. package/dist/es/components/text-field/daikin-text-field.d.ts +7 -2
  340. package/dist/es/components/text-field/daikin-text-field.js +15 -6
  341. package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +69 -0
  342. package/dist/es/components/toast-notification/daikin-toast-notification.js +95 -0
  343. package/dist/es/components/toast-notification/index.d.ts +1 -0
  344. package/dist/es/components/toast-notification/index.js +4 -0
  345. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +67 -0
  346. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +193 -0
  347. package/dist/es/components/toast-notification-manager/index.d.ts +1 -0
  348. package/dist/es/components/toast-notification-manager/index.js +4 -0
  349. package/dist/es/components/toggle/daikin-toggle.d.ts +3 -2
  350. package/dist/es/components/toggle/daikin-toggle.js +7 -4
  351. package/dist/es/components/tooltip/daikin-tooltip.d.ts +16 -6
  352. package/dist/es/components/tooltip/daikin-tooltip.js +41 -29
  353. package/dist/es/components/tree/daikin-tree.d.ts +13 -14
  354. package/dist/es/components/tree/daikin-tree.js +35 -36
  355. package/dist/es/components/tree-item/daikin-tree-item.d.ts +9 -9
  356. package/dist/es/components/tree-item/daikin-tree-item.js +21 -17
  357. package/dist/es/components/tree-section/daikin-tree-section.d.ts +10 -20
  358. package/dist/es/components/tree-section/daikin-tree-section.js +25 -40
  359. package/dist/es/controllers/click-outside.d.ts +1 -1
  360. package/dist/es/index.js +14 -2
  361. package/dist/es/tailwind.css.js +1 -1
  362. package/dist/es/utils/is-similar-to-click.d.ts +1 -0
  363. package/dist/es/utils/is-similar-to-click.js +4 -0
  364. package/dist/es/utils/notification-common.d.ts +19 -0
  365. package/dist/es/utils/notification-common.js +121 -0
  366. package/dist/es-dev/base/dds-element.d.ts +4 -0
  367. package/dist/es-dev/base/dds-element.js +8 -0
  368. package/dist/es-dev/base/decorators.d.ts +2 -0
  369. package/dist/es-dev/base/decorators.js +13 -0
  370. package/dist/es-dev/base/define.d.ts +1 -0
  371. package/dist/es-dev/base/define.js +18 -0
  372. package/dist/es-dev/base/index.d.ts +3 -0
  373. package/dist/es-dev/base/index.js +8 -0
  374. package/dist/es-dev/components/accordion/daikin-accordion.d.ts +15 -2
  375. package/dist/es-dev/components/accordion/daikin-accordion.js +45 -5
  376. package/dist/es-dev/components/accordion-item/daikin-accordion-item.d.ts +10 -16
  377. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +36 -76
  378. package/dist/es-dev/components/avatar/daikin-avatar.d.ts +64 -0
  379. package/dist/es-dev/components/avatar/daikin-avatar.js +161 -0
  380. package/dist/es-dev/components/avatar/index.d.ts +1 -0
  381. package/dist/es-dev/components/avatar/index.js +4 -0
  382. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +2 -2
  383. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +7 -4
  384. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +2 -2
  385. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +7 -4
  386. package/dist/es-dev/components/button/daikin-button.d.ts +6 -3
  387. package/dist/es-dev/components/button/daikin-button.js +19 -7
  388. package/dist/es-dev/components/card/daikin-card.d.ts +8 -2
  389. package/dist/es-dev/components/card/daikin-card.js +10 -6
  390. package/dist/es-dev/components/card-footer/daikin-card-footer.d.ts +6 -2
  391. package/dist/es-dev/components/card-footer/daikin-card-footer.js +7 -7
  392. package/dist/es-dev/components/card-header/daikin-card-header.d.ts +6 -2
  393. package/dist/es-dev/components/card-header/daikin-card-header.js +8 -8
  394. package/dist/es-dev/components/carousel/daikin-carousel.d.ts +56 -0
  395. package/dist/es-dev/components/carousel/daikin-carousel.js +228 -0
  396. package/dist/es-dev/components/carousel/index.d.ts +1 -0
  397. package/dist/es-dev/components/carousel/index.js +4 -0
  398. package/dist/es-dev/components/carousel-item/daikin-carousel-item.d.ts +50 -0
  399. package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +81 -0
  400. package/dist/es-dev/components/carousel-item/index.d.ts +1 -0
  401. package/dist/es-dev/components/carousel-item/index.js +4 -0
  402. package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +8 -2
  403. package/dist/es-dev/components/checkbox/daikin-checkbox.js +34 -15
  404. package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +64 -11
  405. package/dist/es-dev/components/dropdown/daikin-dropdown.js +160 -73
  406. package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.d.ts +16 -3
  407. package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +108 -40
  408. package/dist/es-dev/components/icon/daikin-icon.d.ts +2 -2
  409. package/dist/es-dev/components/icon/daikin-icon.js +7 -4
  410. package/dist/es-dev/components/icon/icons.json.d.ts +4 -8
  411. package/dist/es-dev/components/icon/icons.json.js +1 -70
  412. package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +2 -2
  413. package/dist/es-dev/components/icon-button/daikin-icon-button.js +7 -4
  414. package/dist/es-dev/components/index.d.ts +7 -1
  415. package/dist/es-dev/components/index.js +14 -2
  416. package/dist/es-dev/components/inline-notification/daikin-inline-notification.d.ts +55 -0
  417. package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +93 -0
  418. package/dist/es-dev/components/inline-notification/index.d.ts +1 -0
  419. package/dist/es-dev/components/inline-notification/index.js +4 -0
  420. package/dist/es-dev/components/input-group/daikin-input-group.d.ts +15 -7
  421. package/dist/es-dev/components/input-group/daikin-input-group.js +11 -8
  422. package/dist/es-dev/components/link/daikin-link.d.ts +2 -2
  423. package/dist/es-dev/components/link/daikin-link.js +8 -5
  424. package/dist/es-dev/components/list/daikin-list.d.ts +7 -2
  425. package/dist/es-dev/components/list/daikin-list.js +7 -7
  426. package/dist/es-dev/components/list-item/daikin-list-item.d.ts +6 -2
  427. package/dist/es-dev/components/list-item/daikin-list-item.js +7 -4
  428. package/dist/es-dev/components/loading/daikin-loading.d.ts +32 -0
  429. package/dist/es-dev/components/loading/daikin-loading.js +92 -0
  430. package/dist/es-dev/components/loading/index.d.ts +1 -0
  431. package/dist/es-dev/components/loading/index.js +4 -0
  432. package/dist/es-dev/components/pagination/daikin-pagination.d.ts +6 -2
  433. package/dist/es-dev/components/pagination/daikin-pagination.js +21 -12
  434. package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +3 -2
  435. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +12 -7
  436. package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.d.ts +12 -5
  437. package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +15 -29
  438. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +8 -4
  439. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +23 -24
  440. package/dist/es-dev/components/radio/daikin-radio.d.ts +18 -8
  441. package/dist/es-dev/components/radio/daikin-radio.js +44 -22
  442. package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +20 -14
  443. package/dist/es-dev/components/radio-group/daikin-radio-group.js +30 -10
  444. package/dist/es-dev/components/select/daikin-select.d.ts +11 -2
  445. package/dist/es-dev/components/select/daikin-select.js +14 -5
  446. package/dist/es-dev/components/tab/daikin-tab.d.ts +7 -2
  447. package/dist/es-dev/components/tab/daikin-tab.js +24 -9
  448. package/dist/es-dev/components/tab-panels/daikin-tab-panels.d.ts +2 -2
  449. package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +8 -6
  450. package/dist/es-dev/components/table/daikin-table.d.ts +9 -2
  451. package/dist/es-dev/components/table/daikin-table.js +8 -5
  452. package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +6 -2
  453. package/dist/es-dev/components/table-cell/daikin-table-cell.js +7 -4
  454. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
  455. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +7 -4
  456. package/dist/es-dev/components/tabs/daikin-tabs.d.ts +8 -2
  457. package/dist/es-dev/components/tabs/daikin-tabs.js +24 -9
  458. package/dist/es-dev/components/text-area/daikin-text-area.d.ts +7 -2
  459. package/dist/es-dev/components/text-area/daikin-text-area.js +15 -6
  460. package/dist/es-dev/components/text-field/daikin-text-field.d.ts +7 -2
  461. package/dist/es-dev/components/text-field/daikin-text-field.js +15 -6
  462. package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +69 -0
  463. package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +95 -0
  464. package/dist/es-dev/components/toast-notification/index.d.ts +1 -0
  465. package/dist/es-dev/components/toast-notification/index.js +4 -0
  466. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +67 -0
  467. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +193 -0
  468. package/dist/es-dev/components/toast-notification-manager/index.d.ts +1 -0
  469. package/dist/es-dev/components/toast-notification-manager/index.js +4 -0
  470. package/dist/es-dev/components/toggle/daikin-toggle.d.ts +3 -2
  471. package/dist/es-dev/components/toggle/daikin-toggle.js +7 -4
  472. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +16 -6
  473. package/dist/es-dev/components/tooltip/daikin-tooltip.js +41 -29
  474. package/dist/es-dev/components/tree/daikin-tree.d.ts +13 -14
  475. package/dist/es-dev/components/tree/daikin-tree.js +35 -36
  476. package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +9 -9
  477. package/dist/es-dev/components/tree-item/daikin-tree-item.js +21 -17
  478. package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +10 -20
  479. package/dist/es-dev/components/tree-section/daikin-tree-section.js +25 -40
  480. package/dist/es-dev/controllers/click-outside.d.ts +1 -1
  481. package/dist/es-dev/index.js +14 -2
  482. package/dist/es-dev/tailwind.css.js +1 -1
  483. package/dist/es-dev/utils/is-similar-to-click.d.ts +1 -0
  484. package/dist/es-dev/utils/is-similar-to-click.js +4 -0
  485. package/dist/es-dev/utils/notification-common.d.ts +19 -0
  486. package/dist/es-dev/utils/notification-common.js +124 -0
  487. package/icons/checkbox-checked.svg +2 -3
  488. package/icons/profile.svg +4 -0
  489. package/icons/status-negative.svg +4 -2
  490. package/icons/status-warning.svg +2 -4
  491. package/package.json +54 -50
  492. package/dist/cjs/components/notification/daikin-notification.cjs +0 -196
  493. package/dist/cjs/components/notification/daikin-notification.d.cts +0 -77
  494. package/dist/cjs/components/notification/index.cjs +0 -7
  495. package/dist/cjs/components/notification/index.d.cts +0 -1
  496. package/dist/cjs/constants/events.cjs +0 -4
  497. package/dist/cjs-dev/components/notification/daikin-notification.cjs +0 -196
  498. package/dist/cjs-dev/components/notification/daikin-notification.d.cts +0 -77
  499. package/dist/cjs-dev/components/notification/index.cjs +0 -7
  500. package/dist/cjs-dev/components/notification/index.d.cts +0 -1
  501. package/dist/cjs-dev/constants/events.cjs +0 -4
  502. package/dist/es/components/notification/daikin-notification.d.ts +0 -77
  503. package/dist/es/components/notification/daikin-notification.js +0 -197
  504. package/dist/es/components/notification/index.d.ts +0 -1
  505. package/dist/es/components/notification/index.js +0 -4
  506. package/dist/es/constants/events.js +0 -4
  507. package/dist/es-dev/components/notification/daikin-notification.d.ts +0 -77
  508. package/dist/es-dev/components/notification/daikin-notification.js +0 -197
  509. package/dist/es-dev/components/notification/index.d.ts +0 -1
  510. package/dist/es-dev/components/notification/index.js +0 -4
  511. package/dist/es-dev/constants/events.js +0 -4
  512. package/icons/arrow-up.svg +0 -3
  513. package/icons/status-success.svg +0 -6
@@ -3,13 +3,18 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const classVarianceAuthority = require("class-variance-authority");
4
4
  const lit = require("lit");
5
5
  const decorators_js = require("lit/decorators.js");
6
+ const ddsElement = require("../../base/dds-element.cjs");
7
+ const decorators = require("../../base/decorators.cjs");
8
+ require("../../base/define.cjs");
6
9
  const tailwind = require("../../tailwind.css.cjs");
10
+ const isSimilarToClick = require("../../utils/is-similar-to-click.cjs");
11
+ require("../checkbox/daikin-checkbox.cjs");
7
12
  var __defProp = Object.defineProperty;
8
13
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
- var __decorateClass = (decorators, target, key, kind) => {
14
+ var __decorateClass = (decorators2, target, key, kind) => {
10
15
  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])
16
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
17
+ if (decorator = decorators2[i])
13
18
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14
19
  if (kind && result) __defProp(target, key, result);
15
20
  return result;
@@ -18,73 +23,133 @@ const cvaOption = classVarianceAuthority.cva(
18
23
  [
19
24
  "flex",
20
25
  "items-center",
21
- "justify-between",
22
- "w-full",
26
+ "gap-1",
27
+ "size-full",
23
28
  "min-h-12",
24
- "text-ddt-color-common-text-primary",
25
- "bg-ddt-color-common-background-default",
26
- "p-3",
27
29
  "font-daikinSerif",
28
- "leading-5",
30
+ "leading-[130%]",
29
31
  "text-left",
32
+ "relative",
30
33
  "focus-visible:outline",
31
34
  "focus-visible:outline-2",
32
35
  "focus-visible:-outline-offset-2",
33
- "focus-visible:outline-ddt-color-common-border-focus",
34
- "disabled:text-ddt-color-common-disabled"
36
+ "focus-visible:outline-ddt-color-common-border-focus"
35
37
  ],
36
38
  {
37
39
  variants: {
38
40
  selected: {
39
41
  false: [
40
- "enabled:hover:bg-ddt-color-common-surface-hover",
41
- "enabled:active:bg-ddt-color-common-surface-press"
42
+ "var-color-ddt-color-common-background-default/color-primary",
43
+ "hover:var-color-ddt-color-common-surface-hover/color-primary",
44
+ "active:var-color-ddt-color-common-surface-press/color-primary"
42
45
  ],
43
46
  true: [
44
- "enabled:bg-ddt-color-common-surface-selected-default",
45
- "enabled:hover:bg-ddt-color-common-surface-selected-hover",
46
- "enabled:active:bg-ddt-color-common-surface-selected-press",
47
+ "var-color-ddt-color-common-surface-selected-default/color-primary",
48
+ "hover:var-color-ddt-color-common-surface-selected-hover/color-primary",
49
+ "active:var-color-ddt-color-common-surface-selected-press/color-primary",
47
50
  "after:i-daikin-dropdown-check",
48
- "after:size-6"
51
+ "after:size-6",
52
+ "after:flex-none"
49
53
  ]
54
+ },
55
+ disabled: {
56
+ false: [
57
+ "text-ddt-color-common-text-primary",
58
+ "bg-[--color-primary]",
59
+ "cursor-pointer"
60
+ ],
61
+ true: [
62
+ "text-ddt-color-common-disabled",
63
+ "bg-ddt-color-common-background-default"
64
+ ]
65
+ },
66
+ multiple: {
67
+ false: ["justify-between", "p-3"],
68
+ true: ["after:hidden"]
50
69
  }
51
70
  }
52
71
  }
53
72
  );
54
- exports.DaikinDropdownItem = class DaikinDropdownItem extends lit.LitElement {
73
+ exports.DaikinDropdownItem = class DaikinDropdownItem extends ddsElement.DDSElement {
55
74
  constructor() {
56
75
  super(...arguments);
57
76
  this.value = "";
58
77
  this.disabled = false;
59
78
  this.selected = false;
79
+ this.selectable = false;
60
80
  }
61
- _handleClick() {
62
- if (this.disabled) {
81
+ _handleClick(event) {
82
+ if (this.disabled || event.target.tagName === "DAIKIN-CHECKBOX") {
63
83
  return;
64
84
  }
65
- this.dispatchEvent(
66
- new Event("select", {
67
- bubbles: true
68
- })
69
- );
85
+ this._emitSelect();
86
+ event.preventDefault();
87
+ }
88
+ _handleChange(event) {
89
+ this._emitSelect();
90
+ event.preventDefault();
91
+ }
92
+ _handleKeydown(event) {
93
+ if (!isSimilarToClick.isSimilarToClick(event.key) || this.disabled) {
94
+ return;
95
+ }
96
+ this._emitSelect();
97
+ event.preventDefault();
98
+ }
99
+ _handleMousedown(event) {
100
+ if (event.detail === 2) {
101
+ event.preventDefault();
102
+ }
103
+ }
104
+ _emitSelect() {
105
+ this.dispatchEvent(new Event("select", { bubbles: true }));
70
106
  }
71
107
  render() {
72
- return lit.html`<button
73
- type="button"
74
- class=${cvaOption({ selected: this.selected })}
75
- data-value=${this.value}
76
- role="option"
77
- aria-selected=${this.selected}
78
- tabindex="-1"
79
- ?disabled=${this.disabled}
80
- @click=${this._handleClick}
81
- >
82
- <slot></slot>
83
- </button>`;
108
+ const optionClassName = cvaOption({
109
+ selected: this.selected,
110
+ disabled: this.disabled,
111
+ multiple: this.selectable
112
+ });
113
+ return this.selectable ? lit.html`<span
114
+ class=${optionClassName}
115
+ data-value=${this.value}
116
+ role="option"
117
+ aria-selected=${this.selected}
118
+ tabindex="-1"
119
+ aria-disabled=${this.disabled}
120
+ @click=${this._handleClick}
121
+ @keydown=${this._handleKeydown}
122
+ @mousedown=${this._handleMousedown}
123
+ >
124
+ <daikin-checkbox
125
+ class="size-full part-[label]:p-2 part-[label]:cursor-pointer"
126
+ check-state=${this.selected ? "checked" : "unchecked"}
127
+ tabindex="-1"
128
+ ?disabled=${this.disabled}
129
+ @change=${this._handleChange}
130
+ >
131
+ <slot></slot>
132
+ </daikin-checkbox>
133
+ </span>` : lit.html`<button
134
+ type="button"
135
+ class=${optionClassName}
136
+ data-value=${this.value}
137
+ role="option"
138
+ aria-selected=${this.selected}
139
+ tabindex="-1"
140
+ ?disabled=${this.disabled}
141
+ @click=${this._handleClick}
142
+ >
143
+ <slot></slot>
144
+ </button>`;
84
145
  }
146
+ /**
147
+ * Focuses on the inner button.
148
+ * @param options focus options
149
+ */
85
150
  focus(options) {
86
151
  var _a;
87
- (_a = this._button) == null ? void 0 : _a.focus(options);
152
+ (_a = this._focusableElement) == null ? void 0 : _a.focus(options);
88
153
  }
89
154
  };
90
155
  exports.DaikinDropdownItem.styles = lit.css`
@@ -105,8 +170,11 @@ __decorateClass([
105
170
  decorators_js.property({ type: Boolean, reflect: true })
106
171
  ], exports.DaikinDropdownItem.prototype, "selected", 2);
107
172
  __decorateClass([
108
- decorators_js.query("button")
109
- ], exports.DaikinDropdownItem.prototype, "_button", 2);
173
+ decorators_js.property({ type: Boolean, reflect: true })
174
+ ], exports.DaikinDropdownItem.prototype, "selectable", 2);
175
+ __decorateClass([
176
+ decorators_js.query("button,span[role=option]")
177
+ ], exports.DaikinDropdownItem.prototype, "_focusableElement", 2);
110
178
  exports.DaikinDropdownItem = __decorateClass([
111
- decorators_js.customElement("daikin-dropdown-item")
179
+ decorators.ddsElement("daikin-dropdown-item")
112
180
  ], exports.DaikinDropdownItem);
@@ -1,4 +1,4 @@
1
- import { LitElement } from 'lit';
1
+ import { DDSElement } from "../../base/index.cjs";
2
2
  /**
3
3
  * The dropdown item (option) component that can be used within `daikin-dropdown` component.
4
4
  *
@@ -11,11 +11,15 @@ import { LitElement } from 'lit';
11
11
  *
12
12
  * @example
13
13
  *
14
+ * ```js
15
+ * import "@daikin-oss/design-system-web-components/components/dropdown-item/index.js";
16
+ * ```
17
+ *
14
18
  * ```html
15
19
  * <daikin-dropdown-item value="value">Dropdown item</daikin-dropdown-item>
16
20
  * ```
17
21
  */
18
- export declare class DaikinDropdownItem extends LitElement {
22
+ export declare class DaikinDropdownItem extends DDSElement {
19
23
  static readonly styles: import('lit').CSSResult;
20
24
  /**
21
25
  * Form value of the dropdown item.
@@ -30,9 +34,18 @@ export declare class DaikinDropdownItem extends LitElement {
30
34
  * Set automatically by `daikin-dropdown` component.
31
35
  */
32
36
  selected: boolean;
33
- private _button;
37
+ selectable: boolean;
38
+ private _focusableElement;
34
39
  private _handleClick;
40
+ private _handleChange;
41
+ private _handleKeydown;
42
+ private _handleMousedown;
43
+ private _emitSelect;
35
44
  render(): import('lit-html').TemplateResult<1>;
45
+ /**
46
+ * Focuses on the inner button.
47
+ * @param options focus options
48
+ */
36
49
  focus(options?: FocusOptions): void;
37
50
  }
38
51
  declare global {
@@ -3,14 +3,17 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const classVarianceAuthority = require("class-variance-authority");
4
4
  const lit = require("lit");
5
5
  const decorators_js = require("lit/decorators.js");
6
+ const ddsElement = require("../../base/dds-element.cjs");
7
+ const decorators = require("../../base/decorators.cjs");
8
+ require("../../base/define.cjs");
6
9
  const tailwind = require("../../tailwind.css.cjs");
7
10
  const icons = require("./icons.json.cjs");
8
11
  var __defProp = Object.defineProperty;
9
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
- var __decorateClass = (decorators, target, key, kind) => {
13
+ var __decorateClass = (decorators2, target, key, kind) => {
11
14
  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])
15
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
16
+ if (decorator = decorators2[i])
14
17
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
15
18
  if (kind && result) __defProp(target, key, result);
16
19
  return result;
@@ -31,7 +34,7 @@ const cvaIcon = classVarianceAuthority.cva(["block"], {
31
34
  }
32
35
  }
33
36
  });
34
- exports.DaikinIcon = class DaikinIcon extends lit.LitElement {
37
+ exports.DaikinIcon = class DaikinIcon extends ddsElement.DDSElement {
35
38
  constructor() {
36
39
  super(...arguments);
37
40
  this.icon = null;
@@ -86,6 +89,6 @@ __decorateClass([
86
89
  decorators_js.property({ type: String, reflect: true })
87
90
  ], exports.DaikinIcon.prototype, "size", 2);
88
91
  exports.DaikinIcon = __decorateClass([
89
- decorators_js.customElement("daikin-icon")
92
+ decorators.ddsElement("daikin-icon")
90
93
  ], exports.DaikinIcon);
91
94
  exports.iconList = iconList;
@@ -1,4 +1,4 @@
1
- import { LitElement } from 'lit';
1
+ import { DDSElement } from "../../base/index.cjs";
2
2
  import { MergeVariantProps } from "../../type-utils.cjs";
3
3
  import { icons } from "./icons.json.cjs";
4
4
  export declare const iconList: string[];
@@ -29,7 +29,7 @@ export type IconVariantProps = MergeVariantProps<typeof cvaIcon>;
29
29
  * <daikin-icon icon="information" color="black" size="m"></daikin-icon>
30
30
  * ```
31
31
  */
32
- export declare class DaikinIcon extends LitElement {
32
+ export declare class DaikinIcon extends DDSElement {
33
33
  static readonly styles: import('lit').CSSResult;
34
34
  /**
35
35
  * Specify the name of the icon
@@ -1,73 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const icons = {
4
- alarm: {
5
- "class": "i-daikin-status-alarm",
6
- color: null
7
- },
8
- close: {
9
- "class": "i-daikin-notification-close",
10
- color: "#a0a0a0"
11
- },
12
- information: {
13
- "class": "i-daikin-status-information",
14
- color: null
15
- },
16
- negative: {
17
- "class": "i-daikin-status-negative",
18
- color: null
19
- },
20
- positive: {
21
- "class": "i-daikin-status-positive",
22
- color: null
23
- },
24
- warning: {
25
- "class": "i-daikin-status-warning",
26
- color: null
27
- },
28
- "pagination-chevron-left": {
29
- "class": "i-daikin-pagination-chevron-left",
30
- color: "#414141"
31
- },
32
- "pagination-chevron-right": {
33
- "class": "i-daikin-pagination-chevron-right",
34
- color: "#414141"
35
- },
36
- arrowUp: {
37
- "class": "i-daikin-arrow-up",
38
- color: "#414141"
39
- },
40
- success: {
41
- "class": "i-daikin-status-success",
42
- color: "#0097E0"
43
- },
44
- error: {
45
- "class": "i-daikin-status-error",
46
- color: "#FF4949"
47
- },
48
- cross: {
49
- "class": "i-daikin-cross",
50
- color: null
51
- },
52
- "chevron-up": {
53
- "class": "i-daikin-chevron-up",
54
- color: null
55
- },
56
- "chevron-down": {
57
- "class": "i-daikin-chevron-down",
58
- color: null
59
- },
60
- "chevron-left": {
61
- "class": "i-daikin-chevron-left",
62
- color: null
63
- },
64
- "chevron-right": {
65
- "class": "i-daikin-chevron-right",
66
- color: null
67
- },
68
- sort: {
69
- "class": "i-daikin-sort",
70
- color: null
71
- }
72
- };
3
+ const icons = { "alarm": { "class": "i-daikin-status-alarm", "color": null }, "close": { "class": "i-daikin-notification-close", "color": "#a0a0a0" }, "information": { "class": "i-daikin-status-information", "color": null }, "negative": { "class": "i-daikin-status-negative", "color": null }, "positive": { "class": "i-daikin-status-positive", "color": null }, "warning": { "class": "i-daikin-status-warning", "color": null }, "pagination-chevron-left": { "class": "i-daikin-pagination-chevron-left", "color": "#414141" }, "pagination-chevron-right": { "class": "i-daikin-pagination-chevron-right", "color": "#414141" }, "error": { "class": "i-daikin-status-error", "color": "#FF4949" }, "cross": { "class": "i-daikin-cross", "color": null }, "profile": { "class": "i-daikin-profile", "color": null }, "chevron-up": { "class": "i-daikin-chevron-up", "color": null }, "chevron-down": { "class": "i-daikin-chevron-down", "color": null }, "chevron-left": { "class": "i-daikin-chevron-left", "color": null }, "chevron-right": { "class": "i-daikin-chevron-right", "color": null }, "sort": { "class": "i-daikin-sort", "color": null } };
73
4
  exports.icons = icons;
@@ -32,14 +32,6 @@ declare const _default: {
32
32
  "class": "i-daikin-pagination-chevron-right",
33
33
  "color": "#414141"
34
34
  },
35
- "arrowUp": {
36
- "class": "i-daikin-arrow-up",
37
- "color": "#414141"
38
- },
39
- "success": {
40
- "class": "i-daikin-status-success",
41
- "color": "#0097E0"
42
- },
43
35
  "error": {
44
36
  "class": "i-daikin-status-error",
45
37
  "color": "#FF4949"
@@ -48,6 +40,10 @@ declare const _default: {
48
40
  "class": "i-daikin-cross",
49
41
  "color": null
50
42
  },
43
+ "profile": {
44
+ "class": "i-daikin-profile",
45
+ "color": null
46
+ },
51
47
  "chevron-up": {
52
48
  "class": "i-daikin-chevron-up",
53
49
  "color": null
@@ -4,14 +4,17 @@ const classVarianceAuthority = require("class-variance-authority");
4
4
  const lit = require("lit");
5
5
  const decorators_js = require("lit/decorators.js");
6
6
  const ifDefined_js = require("lit/directives/if-defined.js");
7
+ const ddsElement = require("../../base/dds-element.cjs");
8
+ const decorators = require("../../base/decorators.cjs");
9
+ require("../../base/define.cjs");
7
10
  const tailwind = require("../../tailwind.css.cjs");
8
11
  require("../icon/daikin-icon.cjs");
9
12
  var __defProp = Object.defineProperty;
10
13
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11
- var __decorateClass = (decorators, target, key, kind) => {
14
+ var __decorateClass = (decorators2, target, key, kind) => {
12
15
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
13
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
14
- if (decorator = decorators[i])
16
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
17
+ if (decorator = decorators2[i])
15
18
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
16
19
  if (kind && result) __defProp(target, key, result);
17
20
  return result;
@@ -73,7 +76,7 @@ const cvaIconButton = classVarianceAuthority.cva(
73
76
  }
74
77
  }
75
78
  );
76
- exports.DaikinIconButton = class DaikinIconButton extends lit.LitElement {
79
+ exports.DaikinIconButton = class DaikinIconButton extends ddsElement.DDSElement {
77
80
  constructor() {
78
81
  super();
79
82
  this.variant = "fill";
@@ -162,5 +165,5 @@ __decorateClass([
162
165
  decorators_js.query("button")
163
166
  ], exports.DaikinIconButton.prototype, "_button", 2);
164
167
  exports.DaikinIconButton = __decorateClass([
165
- decorators_js.customElement("daikin-icon-button")
168
+ decorators.ddsElement("daikin-icon-button")
166
169
  ], exports.DaikinIconButton);
@@ -1,4 +1,4 @@
1
- import { LitElement } from 'lit';
1
+ import { DDSElement } from "../../base/index.cjs";
2
2
  import { ARIARole } from "../../lit-analyzer-types.cjs";
3
3
  import { MergeVariantProps } from "../../type-utils.cjs";
4
4
  declare const cvaIconButton: (props?: ({
@@ -32,7 +32,7 @@ type IconButtonVariantProps = MergeVariantProps<typeof cvaIconButton>;
32
32
  * </daikin-icon-button>
33
33
  * ```
34
34
  */
35
- export declare class DaikinIconButton extends LitElement {
35
+ export declare class DaikinIconButton extends DDSElement {
36
36
  static readonly styles: import('lit').CSSResult;
37
37
  /**
38
38
  * Variant of the button.
@@ -2,22 +2,26 @@
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 daikinAvatar = require("./avatar/daikin-avatar.cjs");
5
6
  const daikinBreadcrumb = require("./breadcrumb/daikin-breadcrumb.cjs");
6
7
  const daikinBreadcrumbItem = require("./breadcrumb-item/daikin-breadcrumb-item.cjs");
7
8
  const daikinButton = require("./button/daikin-button.cjs");
8
9
  const daikinCard = require("./card/daikin-card.cjs");
9
10
  const daikinCardFooter = require("./card-footer/daikin-card-footer.cjs");
10
11
  const daikinCardHeader = require("./card-header/daikin-card-header.cjs");
12
+ const daikinCarousel = require("./carousel/daikin-carousel.cjs");
13
+ const daikinCarouselItem = require("./carousel-item/daikin-carousel-item.cjs");
11
14
  const daikinCheckbox = require("./checkbox/daikin-checkbox.cjs");
12
15
  const daikinDropdown = require("./dropdown/daikin-dropdown.cjs");
13
16
  const daikinDropdownItem = require("./dropdown-item/daikin-dropdown-item.cjs");
14
17
  const daikinIcon = require("./icon/daikin-icon.cjs");
15
18
  const daikinIconButton = require("./icon-button/daikin-icon-button.cjs");
19
+ const daikinInlineNotification = require("./inline-notification/daikin-inline-notification.cjs");
16
20
  const daikinInputGroup = require("./input-group/daikin-input-group.cjs");
17
21
  const daikinLink = require("./link/daikin-link.cjs");
18
22
  const daikinList = require("./list/daikin-list.cjs");
19
23
  const daikinListItem = require("./list-item/daikin-list-item.cjs");
20
- const daikinNotification = require("./notification/daikin-notification.cjs");
24
+ const daikinLoading = require("./loading/daikin-loading.cjs");
21
25
  const daikinPagination = require("./pagination/daikin-pagination.cjs");
22
26
  const daikinProgressBar = require("./progress-bar/daikin-progress-bar.cjs");
23
27
  const daikinProgressIndicator = require("./progress-indicator/daikin-progress-indicator.cjs");
@@ -32,6 +36,8 @@ const daikinTableHeaderCell = require("./table-header-cell/daikin-table-header-c
32
36
  const daikinTabs = require("./tabs/daikin-tabs.cjs");
33
37
  const daikinTextArea = require("./text-area/daikin-text-area.cjs");
34
38
  const daikinTextField = require("./text-field/daikin-text-field.cjs");
39
+ const daikinToastNotification = require("./toast-notification/daikin-toast-notification.cjs");
40
+ const daikinToastNotificationManager = require("./toast-notification-manager/daikin-toast-notification-manager.cjs");
35
41
  const daikinToggle = require("./toggle/daikin-toggle.cjs");
36
42
  const daikinTooltip = require("./tooltip/daikin-tooltip.cjs");
37
43
  const daikinTree = require("./tree/daikin-tree.cjs");
@@ -45,6 +51,10 @@ Object.defineProperty(exports, "DaikinAccordionItem", {
45
51
  enumerable: true,
46
52
  get: () => daikinAccordionItem.DaikinAccordionItem
47
53
  });
54
+ Object.defineProperty(exports, "DaikinAvatar", {
55
+ enumerable: true,
56
+ get: () => daikinAvatar.DaikinAvatar
57
+ });
48
58
  Object.defineProperty(exports, "DaikinBreadcrumb", {
49
59
  enumerable: true,
50
60
  get: () => daikinBreadcrumb.DaikinBreadcrumb
@@ -69,6 +79,14 @@ Object.defineProperty(exports, "DaikinCardHeader", {
69
79
  enumerable: true,
70
80
  get: () => daikinCardHeader.DaikinCardHeader
71
81
  });
82
+ Object.defineProperty(exports, "DaikinCarousel", {
83
+ enumerable: true,
84
+ get: () => daikinCarousel.DaikinCarousel
85
+ });
86
+ Object.defineProperty(exports, "DaikinCarouselItem", {
87
+ enumerable: true,
88
+ get: () => daikinCarouselItem.DaikinCarouselItem
89
+ });
72
90
  Object.defineProperty(exports, "DaikinCheckbox", {
73
91
  enumerable: true,
74
92
  get: () => daikinCheckbox.DaikinCheckbox
@@ -90,6 +108,10 @@ Object.defineProperty(exports, "DaikinIconButton", {
90
108
  enumerable: true,
91
109
  get: () => daikinIconButton.DaikinIconButton
92
110
  });
111
+ Object.defineProperty(exports, "DaikinInlineNotification", {
112
+ enumerable: true,
113
+ get: () => daikinInlineNotification.DaikinInlineNotification
114
+ });
93
115
  Object.defineProperty(exports, "DaikinInputGroup", {
94
116
  enumerable: true,
95
117
  get: () => daikinInputGroup.DaikinInputGroup
@@ -106,9 +128,9 @@ Object.defineProperty(exports, "DaikinListItem", {
106
128
  enumerable: true,
107
129
  get: () => daikinListItem.DaikinListItem
108
130
  });
109
- Object.defineProperty(exports, "DaikinNotification", {
131
+ Object.defineProperty(exports, "DaikinLoading", {
110
132
  enumerable: true,
111
- get: () => daikinNotification.DaikinNotification
133
+ get: () => daikinLoading.DaikinLoading
112
134
  });
113
135
  Object.defineProperty(exports, "DaikinPagination", {
114
136
  enumerable: true,
@@ -166,6 +188,14 @@ Object.defineProperty(exports, "DaikinTextField", {
166
188
  enumerable: true,
167
189
  get: () => daikinTextField.DaikinTextField
168
190
  });
191
+ Object.defineProperty(exports, "DaikinToastNotification", {
192
+ enumerable: true,
193
+ get: () => daikinToastNotification.DaikinToastNotification
194
+ });
195
+ Object.defineProperty(exports, "DaikinToastNotificationManager", {
196
+ enumerable: true,
197
+ get: () => daikinToastNotificationManager.DaikinToastNotificationManager
198
+ });
169
199
  Object.defineProperty(exports, "DaikinToggle", {
170
200
  enumerable: true,
171
201
  get: () => daikinToggle.DaikinToggle
@@ -1,21 +1,25 @@
1
1
  export * from "./accordion/index.cjs";
2
2
  export * from "./accordion-item/index.cjs";
3
+ export * from "./avatar/index.cjs";
3
4
  export * from "./breadcrumb/index.cjs";
4
5
  export * from "./breadcrumb-item/index.cjs";
5
6
  export * from "./button/index.cjs";
6
7
  export * from "./card/index.cjs";
7
8
  export * from "./card-footer/index.cjs";
8
9
  export * from "./card-header/index.cjs";
10
+ export * from "./carousel/index.cjs";
11
+ export * from "./carousel-item/index.cjs";
9
12
  export * from "./checkbox/index.cjs";
10
13
  export * from "./dropdown/index.cjs";
11
14
  export * from "./dropdown-item/index.cjs";
12
15
  export * from "./icon/index.cjs";
13
16
  export * from "./icon-button/index.cjs";
17
+ export * from "./inline-notification/index.cjs";
14
18
  export * from "./input-group/index.cjs";
15
19
  export * from "./link/index.cjs";
16
20
  export * from "./list/index.cjs";
17
21
  export * from "./list-item/index.cjs";
18
- export * from "./notification/index.cjs";
22
+ export * from "./loading/index.cjs";
19
23
  export * from "./pagination/index.cjs";
20
24
  export * from "./progress-bar/index.cjs";
21
25
  export * from "./progress-indicator/index.cjs";
@@ -30,6 +34,8 @@ export * from "./table-header-cell/index.cjs";
30
34
  export * from "./tabs/index.cjs";
31
35
  export * from "./text-area/index.cjs";
32
36
  export * from "./text-field/index.cjs";
37
+ export * from "./toast-notification/index.cjs";
38
+ export * from "./toast-notification-manager/index.cjs";
33
39
  export * from "./toggle/index.cjs";
34
40
  export * from "./tooltip/index.cjs";
35
41
  export * from "./tree/index.cjs";