@daikin-oss/design-system-web-components 1.3.2 → 1.4.0-next.1

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 (485) hide show
  1. package/CHANGELOG.md +217 -0
  2. package/dist/cjs/base/dds-element.cjs +82 -1
  3. package/dist/cjs/base/dds-element.d.cts +40 -0
  4. package/dist/cjs/base/dds-form-element.cjs +15 -6
  5. package/dist/cjs/base/dds-form-element.d.cts +2 -2
  6. package/dist/cjs/base/dds-property.cjs +11 -0
  7. package/dist/cjs/base/dds-property.d.cts +92 -0
  8. package/dist/cjs/base/index.cjs +3 -0
  9. package/dist/cjs/base/index.d.cts +1 -0
  10. package/dist/cjs/components/accordion/daikin-accordion.cjs +3 -2
  11. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +6 -7
  12. package/dist/cjs/components/avatar/daikin-avatar.cjs +20 -15
  13. package/dist/cjs/components/avatar/daikin-avatar.d.cts +3 -1
  14. package/dist/cjs/components/badge/daikin-badge.cjs +154 -0
  15. package/dist/cjs/components/badge/daikin-badge.d.cts +91 -0
  16. package/dist/cjs/components/badge/index.cjs +7 -0
  17. package/dist/cjs/components/badge/index.d.cts +1 -0
  18. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +33 -7
  19. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +38 -6
  20. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +52 -19
  21. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +3 -1
  22. package/dist/cjs/components/button/daikin-button.cjs +57 -16
  23. package/dist/cjs/components/button/daikin-button.d.cts +18 -2
  24. package/dist/cjs/components/calendar/daikin-calendar.cjs +36 -15
  25. package/dist/cjs/components/calendar/daikin-calendar.d.cts +14 -3
  26. package/dist/cjs/components/card/daikin-card.cjs +2 -2
  27. package/dist/cjs/components/card-footer/daikin-card-footer.cjs +1 -0
  28. package/dist/cjs/components/card-header/daikin-card-header.cjs +1 -0
  29. package/dist/cjs/components/carousel/daikin-carousel.cjs +2 -1
  30. package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +3 -2
  31. package/dist/cjs/components/checkbox/daikin-checkbox.cjs +24 -10
  32. package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +12 -1
  33. package/dist/cjs/components/checkbox-group/daikin-checkbox-group.cjs +12 -3
  34. package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +2 -0
  35. package/dist/cjs/components/chip/daikin-chip.cjs +2 -1
  36. package/dist/cjs/components/combobox/daikin-combobox.cjs +34 -25
  37. package/dist/cjs/components/combobox/daikin-combobox.d.cts +9 -2
  38. package/dist/cjs/components/date-picker/daikin-date-picker.cjs +64 -26
  39. package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +18 -4
  40. package/dist/cjs/components/dropdown/daikin-dropdown.cjs +17 -19
  41. package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +7 -0
  42. package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +5 -4
  43. package/dist/cjs/components/icon/daikin-icon.cjs +24 -11
  44. package/dist/cjs/components/icon/daikin-icon.d.cts +96 -39
  45. package/dist/cjs/components/icon/icons.json.cjs +1 -1
  46. package/dist/cjs/components/icon/icons.json.d.cts +12 -0
  47. package/dist/cjs/components/icon-button/daikin-icon-button.cjs +58 -15
  48. package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +17 -3
  49. package/dist/cjs/components/index.cjs +10 -0
  50. package/dist/cjs/components/index.d.cts +2 -0
  51. package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +112 -11
  52. package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +8 -1
  53. package/dist/cjs/components/input-group/daikin-input-group.cjs +29 -13
  54. package/dist/cjs/components/link/daikin-link.cjs +28 -8
  55. package/dist/cjs/components/link/daikin-link.d.cts +11 -0
  56. package/dist/cjs/components/list/daikin-list.cjs +6 -2
  57. package/dist/cjs/components/list-item/daikin-list-item.cjs +19 -8
  58. package/dist/cjs/components/list-item/daikin-list-item.d.cts +4 -0
  59. package/dist/cjs/components/loading/daikin-loading.cjs +8 -3
  60. package/dist/cjs/components/logo/daikin-logo.cjs +18 -10
  61. package/dist/cjs/components/logo/daikin-logo.d.cts +4 -0
  62. package/dist/cjs/components/menu/daikin-menu.cjs +79 -28
  63. package/dist/cjs/components/menu/daikin-menu.d.cts +29 -2
  64. package/dist/cjs/components/modal/daikin-modal.cjs +11 -6
  65. package/dist/cjs/components/modal/daikin-modal.d.cts +2 -0
  66. package/dist/cjs/components/modal-footer/daikin-modal-footer.cjs +1 -0
  67. package/dist/cjs/components/modal-header/daikin-modal-header.cjs +3 -3
  68. package/dist/cjs/components/pagination/daikin-pagination.cjs +6 -5
  69. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +21 -9
  70. package/dist/cjs/components/progress-bar/daikin-progress-bar.d.cts +4 -0
  71. package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +2 -1
  72. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +13 -8
  73. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +2 -0
  74. package/dist/cjs/components/radio/daikin-radio.cjs +14 -9
  75. package/dist/cjs/components/radio/daikin-radio.d.cts +9 -0
  76. package/dist/cjs/components/radio-group/daikin-radio-group.cjs +15 -8
  77. package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +3 -1
  78. package/dist/cjs/components/select/daikin-select.cjs +4 -3
  79. package/dist/cjs/components/slider/daikin-slider.cjs +11 -9
  80. package/dist/cjs/components/slider/daikin-slider.d.cts +15 -0
  81. package/dist/cjs/components/status-message/daikin-status-message.cjs +123 -0
  82. package/dist/cjs/components/status-message/daikin-status-message.d.cts +55 -0
  83. package/dist/cjs/components/status-message/index.cjs +7 -0
  84. package/dist/cjs/components/status-message/index.d.cts +1 -0
  85. package/dist/cjs/components/tab/daikin-tab.cjs +10 -4
  86. package/dist/cjs/components/tab-panels/daikin-tab-panels.cjs +4 -4
  87. package/dist/cjs/components/table/daikin-table.cjs +11 -10
  88. package/dist/cjs/components/table-cell/daikin-table-cell.cjs +12 -7
  89. package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +5 -3
  90. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +13 -5
  91. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
  92. package/dist/cjs/components/tabs/daikin-tabs.cjs +9 -3
  93. package/dist/cjs/components/tabs/daikin-tabs.d.cts +2 -0
  94. package/dist/cjs/components/text-area/daikin-text-area.cjs +15 -12
  95. package/dist/cjs/components/text-area/daikin-text-area.d.cts +9 -2
  96. package/dist/cjs/components/text-field/daikin-text-field.cjs +28 -31
  97. package/dist/cjs/components/text-field/daikin-text-field.d.cts +11 -2
  98. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +22 -19
  99. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +9 -2
  100. package/dist/cjs/components/time-picker/daikin-time-picker.cjs +40 -19
  101. package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +23 -1
  102. package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +118 -13
  103. package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +15 -2
  104. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +14 -2
  105. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +3 -1
  106. package/dist/cjs/components/toggle/daikin-toggle.cjs +7 -6
  107. package/dist/cjs/components/toggle/daikin-toggle.d.cts +7 -0
  108. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +37 -12
  109. package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +9 -1
  110. package/dist/cjs/components/tree/daikin-tree.cjs +3 -2
  111. package/dist/cjs/components/tree/daikin-tree.d.cts +2 -1
  112. package/dist/cjs/components/tree-item/daikin-tree-item.cjs +6 -5
  113. package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +8 -1
  114. package/dist/cjs/components/tree-section/daikin-tree-section.cjs +6 -5
  115. package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +6 -1
  116. package/dist/cjs/index.cjs +10 -0
  117. package/dist/cjs/tailwind.css.cjs +1 -1
  118. package/dist/cjs/utils/calendar-common.cjs +6 -0
  119. package/dist/cjs/utils/calendar-common.d.cts +7 -0
  120. package/dist/cjs/utils/notification-common.cjs +0 -94
  121. package/dist/cjs/utils/notification-common.d.cts +0 -13
  122. package/dist/cjs-dev/base/dds-element.cjs +92 -1
  123. package/dist/cjs-dev/base/dds-element.d.cts +40 -0
  124. package/dist/cjs-dev/base/dds-form-element.cjs +15 -6
  125. package/dist/cjs-dev/base/dds-form-element.d.cts +2 -2
  126. package/dist/cjs-dev/base/dds-property.cjs +11 -0
  127. package/dist/cjs-dev/base/dds-property.d.cts +92 -0
  128. package/dist/cjs-dev/base/index.cjs +3 -0
  129. package/dist/cjs-dev/base/index.d.cts +1 -0
  130. package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +3 -2
  131. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +6 -7
  132. package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +20 -15
  133. package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +3 -1
  134. package/dist/cjs-dev/components/badge/daikin-badge.cjs +154 -0
  135. package/dist/cjs-dev/components/badge/daikin-badge.d.cts +91 -0
  136. package/dist/cjs-dev/components/badge/index.cjs +7 -0
  137. package/dist/cjs-dev/components/badge/index.d.cts +1 -0
  138. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +33 -7
  139. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +38 -6
  140. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +52 -19
  141. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +3 -1
  142. package/dist/cjs-dev/components/button/daikin-button.cjs +57 -16
  143. package/dist/cjs-dev/components/button/daikin-button.d.cts +18 -2
  144. package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +36 -15
  145. package/dist/cjs-dev/components/calendar/daikin-calendar.d.cts +14 -3
  146. package/dist/cjs-dev/components/card/daikin-card.cjs +2 -2
  147. package/dist/cjs-dev/components/card-footer/daikin-card-footer.cjs +1 -0
  148. package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +1 -0
  149. package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +2 -1
  150. package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +3 -2
  151. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +24 -10
  152. package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +12 -1
  153. package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.cjs +12 -3
  154. package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +2 -0
  155. package/dist/cjs-dev/components/chip/daikin-chip.cjs +2 -1
  156. package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +34 -25
  157. package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +9 -2
  158. package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +64 -26
  159. package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +18 -4
  160. package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +17 -19
  161. package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +7 -0
  162. package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +5 -4
  163. package/dist/cjs-dev/components/icon/daikin-icon.cjs +24 -11
  164. package/dist/cjs-dev/components/icon/daikin-icon.d.cts +96 -39
  165. package/dist/cjs-dev/components/icon/icons.json.cjs +1 -1
  166. package/dist/cjs-dev/components/icon/icons.json.d.cts +12 -0
  167. package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +58 -15
  168. package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +17 -3
  169. package/dist/cjs-dev/components/index.cjs +10 -0
  170. package/dist/cjs-dev/components/index.d.cts +2 -0
  171. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +112 -11
  172. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +8 -1
  173. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +29 -13
  174. package/dist/cjs-dev/components/link/daikin-link.cjs +28 -8
  175. package/dist/cjs-dev/components/link/daikin-link.d.cts +11 -0
  176. package/dist/cjs-dev/components/list/daikin-list.cjs +6 -2
  177. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +19 -8
  178. package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +4 -0
  179. package/dist/cjs-dev/components/loading/daikin-loading.cjs +8 -3
  180. package/dist/cjs-dev/components/logo/daikin-logo.cjs +18 -10
  181. package/dist/cjs-dev/components/logo/daikin-logo.d.cts +4 -0
  182. package/dist/cjs-dev/components/menu/daikin-menu.cjs +79 -28
  183. package/dist/cjs-dev/components/menu/daikin-menu.d.cts +29 -2
  184. package/dist/cjs-dev/components/modal/daikin-modal.cjs +11 -6
  185. package/dist/cjs-dev/components/modal/daikin-modal.d.cts +2 -0
  186. package/dist/cjs-dev/components/modal-footer/daikin-modal-footer.cjs +1 -0
  187. package/dist/cjs-dev/components/modal-header/daikin-modal-header.cjs +3 -3
  188. package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +6 -5
  189. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +21 -9
  190. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.cts +4 -0
  191. package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.cjs +2 -1
  192. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +13 -8
  193. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +2 -0
  194. package/dist/cjs-dev/components/radio/daikin-radio.cjs +14 -9
  195. package/dist/cjs-dev/components/radio/daikin-radio.d.cts +9 -0
  196. package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +15 -8
  197. package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +3 -1
  198. package/dist/cjs-dev/components/select/daikin-select.cjs +4 -3
  199. package/dist/cjs-dev/components/slider/daikin-slider.cjs +11 -9
  200. package/dist/cjs-dev/components/slider/daikin-slider.d.cts +15 -0
  201. package/dist/cjs-dev/components/status-message/daikin-status-message.cjs +123 -0
  202. package/dist/cjs-dev/components/status-message/daikin-status-message.d.cts +55 -0
  203. package/dist/cjs-dev/components/status-message/index.cjs +7 -0
  204. package/dist/cjs-dev/components/status-message/index.d.cts +1 -0
  205. package/dist/cjs-dev/components/tab/daikin-tab.cjs +10 -4
  206. package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.cjs +4 -4
  207. package/dist/cjs-dev/components/table/daikin-table.cjs +11 -10
  208. package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +12 -7
  209. package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +5 -3
  210. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +13 -5
  211. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
  212. package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +9 -3
  213. package/dist/cjs-dev/components/tabs/daikin-tabs.d.cts +2 -0
  214. package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +15 -12
  215. package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +9 -2
  216. package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +28 -31
  217. package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +11 -2
  218. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +22 -19
  219. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +9 -2
  220. package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +40 -19
  221. package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +23 -1
  222. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +118 -13
  223. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +15 -2
  224. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +14 -2
  225. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +3 -1
  226. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +7 -6
  227. package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +7 -0
  228. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +37 -12
  229. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +9 -1
  230. package/dist/cjs-dev/components/tree/daikin-tree.cjs +3 -2
  231. package/dist/cjs-dev/components/tree/daikin-tree.d.cts +2 -1
  232. package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +6 -5
  233. package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +8 -1
  234. package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +6 -5
  235. package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +6 -1
  236. package/dist/cjs-dev/index.cjs +10 -0
  237. package/dist/cjs-dev/tailwind.css.cjs +1 -1
  238. package/dist/cjs-dev/utils/calendar-common.cjs +6 -0
  239. package/dist/cjs-dev/utils/calendar-common.d.cts +7 -0
  240. package/dist/cjs-dev/utils/notification-common.cjs +0 -94
  241. package/dist/cjs-dev/utils/notification-common.d.cts +0 -13
  242. package/dist/es/base/dds-element.d.ts +40 -0
  243. package/dist/es/base/dds-element.js +82 -1
  244. package/dist/es/base/dds-form-element.d.ts +2 -2
  245. package/dist/es/base/dds-form-element.js +15 -6
  246. package/dist/es/base/dds-property.d.ts +92 -0
  247. package/dist/es/base/dds-property.js +11 -0
  248. package/dist/es/base/index.d.ts +1 -0
  249. package/dist/es/base/index.js +4 -1
  250. package/dist/es/components/accordion/daikin-accordion.js +2 -1
  251. package/dist/es/components/accordion-item/daikin-accordion-item.js +4 -5
  252. package/dist/es/components/avatar/daikin-avatar.d.ts +3 -1
  253. package/dist/es/components/avatar/daikin-avatar.js +18 -13
  254. package/dist/es/components/badge/daikin-badge.d.ts +91 -0
  255. package/dist/es/components/badge/daikin-badge.js +155 -0
  256. package/dist/es/components/badge/index.d.ts +1 -0
  257. package/dist/es/components/badge/index.js +4 -0
  258. package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +38 -6
  259. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +33 -7
  260. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +3 -1
  261. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +48 -15
  262. package/dist/es/components/button/daikin-button.d.ts +18 -2
  263. package/dist/es/components/button/daikin-button.js +54 -13
  264. package/dist/es/components/calendar/daikin-calendar.d.ts +14 -3
  265. package/dist/es/components/calendar/daikin-calendar.js +36 -15
  266. package/dist/es/components/card/daikin-card.js +1 -1
  267. package/dist/es/components/card-footer/daikin-card-footer.js +1 -0
  268. package/dist/es/components/card-header/daikin-card-header.js +1 -0
  269. package/dist/es/components/carousel/daikin-carousel.js +2 -1
  270. package/dist/es/components/carousel-item/daikin-carousel-item.js +2 -1
  271. package/dist/es/components/checkbox/daikin-checkbox.d.ts +12 -1
  272. package/dist/es/components/checkbox/daikin-checkbox.js +22 -8
  273. package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +2 -0
  274. package/dist/es/components/checkbox-group/daikin-checkbox-group.js +11 -2
  275. package/dist/es/components/chip/daikin-chip.js +2 -1
  276. package/dist/es/components/combobox/daikin-combobox.d.ts +9 -2
  277. package/dist/es/components/combobox/daikin-combobox.js +29 -20
  278. package/dist/es/components/date-picker/daikin-date-picker.d.ts +18 -4
  279. package/dist/es/components/date-picker/daikin-date-picker.js +61 -23
  280. package/dist/es/components/dropdown/daikin-dropdown.d.ts +7 -0
  281. package/dist/es/components/dropdown/daikin-dropdown.js +12 -14
  282. package/dist/es/components/dropdown-item/daikin-dropdown-item.js +2 -1
  283. package/dist/es/components/icon/daikin-icon.d.ts +96 -39
  284. package/dist/es/components/icon/daikin-icon.js +24 -11
  285. package/dist/es/components/icon/icons.json.d.ts +12 -0
  286. package/dist/es/components/icon/icons.json.js +1 -1
  287. package/dist/es/components/icon-button/daikin-icon-button.d.ts +17 -3
  288. package/dist/es/components/icon-button/daikin-icon-button.js +54 -11
  289. package/dist/es/components/index.d.ts +2 -0
  290. package/dist/es/components/index.js +4 -0
  291. package/dist/es/components/inline-notification/daikin-inline-notification.d.ts +8 -1
  292. package/dist/es/components/inline-notification/daikin-inline-notification.js +109 -8
  293. package/dist/es/components/input-group/daikin-input-group.js +23 -7
  294. package/dist/es/components/link/daikin-link.d.ts +11 -0
  295. package/dist/es/components/link/daikin-link.js +24 -4
  296. package/dist/es/components/list/daikin-list.js +6 -2
  297. package/dist/es/components/list-item/daikin-list-item.d.ts +4 -0
  298. package/dist/es/components/list-item/daikin-list-item.js +17 -6
  299. package/dist/es/components/loading/daikin-loading.js +7 -2
  300. package/dist/es/components/logo/daikin-logo.d.ts +4 -0
  301. package/dist/es/components/logo/daikin-logo.js +17 -9
  302. package/dist/es/components/menu/daikin-menu.d.ts +29 -2
  303. package/dist/es/components/menu/daikin-menu.js +79 -28
  304. package/dist/es/components/modal/daikin-modal.d.ts +2 -0
  305. package/dist/es/components/modal/daikin-modal.js +8 -3
  306. package/dist/es/components/modal-footer/daikin-modal-footer.js +1 -0
  307. package/dist/es/components/modal-header/daikin-modal-header.js +2 -2
  308. package/dist/es/components/pagination/daikin-pagination.js +3 -2
  309. package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +4 -0
  310. package/dist/es/components/progress-bar/daikin-progress-bar.js +19 -7
  311. package/dist/es/components/progress-indicator/daikin-progress-indicator.js +2 -1
  312. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +2 -0
  313. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +13 -8
  314. package/dist/es/components/radio/daikin-radio.d.ts +9 -0
  315. package/dist/es/components/radio/daikin-radio.js +11 -6
  316. package/dist/es/components/radio-group/daikin-radio-group.d.ts +3 -1
  317. package/dist/es/components/radio-group/daikin-radio-group.js +14 -7
  318. package/dist/es/components/select/daikin-select.js +2 -1
  319. package/dist/es/components/slider/daikin-slider.d.ts +15 -0
  320. package/dist/es/components/slider/daikin-slider.js +11 -9
  321. package/dist/es/components/status-message/daikin-status-message.d.ts +55 -0
  322. package/dist/es/components/status-message/daikin-status-message.js +124 -0
  323. package/dist/es/components/status-message/index.d.ts +1 -0
  324. package/dist/es/components/status-message/index.js +4 -0
  325. package/dist/es/components/tab/daikin-tab.js +9 -3
  326. package/dist/es/components/tab-panels/daikin-tab-panels.js +2 -2
  327. package/dist/es/components/table/daikin-table.js +4 -3
  328. package/dist/es/components/table-cell/daikin-table-cell.d.ts +5 -3
  329. package/dist/es/components/table-cell/daikin-table-cell.js +12 -7
  330. package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
  331. package/dist/es/components/table-header-cell/daikin-table-header-cell.js +11 -3
  332. package/dist/es/components/tabs/daikin-tabs.d.ts +2 -0
  333. package/dist/es/components/tabs/daikin-tabs.js +10 -4
  334. package/dist/es/components/text-area/daikin-text-area.d.ts +9 -2
  335. package/dist/es/components/text-area/daikin-text-area.js +11 -8
  336. package/dist/es/components/text-field/daikin-text-field.d.ts +11 -2
  337. package/dist/es/components/text-field/daikin-text-field.js +18 -21
  338. package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +9 -2
  339. package/dist/es/components/text-masked-field/daikin-text-masked-field.js +15 -12
  340. package/dist/es/components/time-picker/daikin-time-picker.d.ts +23 -1
  341. package/dist/es/components/time-picker/daikin-time-picker.js +38 -17
  342. package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +15 -2
  343. package/dist/es/components/toast-notification/daikin-toast-notification.js +112 -7
  344. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +3 -1
  345. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +15 -3
  346. package/dist/es/components/toggle/daikin-toggle.d.ts +7 -0
  347. package/dist/es/components/toggle/daikin-toggle.js +5 -4
  348. package/dist/es/components/tooltip/daikin-tooltip.d.ts +9 -1
  349. package/dist/es/components/tooltip/daikin-tooltip.js +36 -11
  350. package/dist/es/components/tree/daikin-tree.d.ts +2 -1
  351. package/dist/es/components/tree/daikin-tree.js +2 -1
  352. package/dist/es/components/tree-item/daikin-tree-item.d.ts +8 -1
  353. package/dist/es/components/tree-item/daikin-tree-item.js +2 -1
  354. package/dist/es/components/tree-section/daikin-tree-section.d.ts +6 -1
  355. package/dist/es/components/tree-section/daikin-tree-section.js +2 -1
  356. package/dist/es/index.js +4 -0
  357. package/dist/es/tailwind.css.js +1 -1
  358. package/dist/es/utils/calendar-common.d.ts +7 -0
  359. package/dist/es/utils/calendar-common.js +6 -0
  360. package/dist/es/utils/notification-common.d.ts +0 -13
  361. package/dist/es/utils/notification-common.js +0 -94
  362. package/dist/es-dev/base/dds-element.d.ts +40 -0
  363. package/dist/es-dev/base/dds-element.js +92 -1
  364. package/dist/es-dev/base/dds-form-element.d.ts +2 -2
  365. package/dist/es-dev/base/dds-form-element.js +15 -6
  366. package/dist/es-dev/base/dds-property.d.ts +92 -0
  367. package/dist/es-dev/base/dds-property.js +11 -0
  368. package/dist/es-dev/base/index.d.ts +1 -0
  369. package/dist/es-dev/base/index.js +4 -1
  370. package/dist/es-dev/components/accordion/daikin-accordion.js +2 -1
  371. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +4 -5
  372. package/dist/es-dev/components/avatar/daikin-avatar.d.ts +3 -1
  373. package/dist/es-dev/components/avatar/daikin-avatar.js +18 -13
  374. package/dist/es-dev/components/badge/daikin-badge.d.ts +91 -0
  375. package/dist/es-dev/components/badge/daikin-badge.js +155 -0
  376. package/dist/es-dev/components/badge/index.d.ts +1 -0
  377. package/dist/es-dev/components/badge/index.js +4 -0
  378. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +38 -6
  379. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +33 -7
  380. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +3 -1
  381. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +48 -15
  382. package/dist/es-dev/components/button/daikin-button.d.ts +18 -2
  383. package/dist/es-dev/components/button/daikin-button.js +54 -13
  384. package/dist/es-dev/components/calendar/daikin-calendar.d.ts +14 -3
  385. package/dist/es-dev/components/calendar/daikin-calendar.js +36 -15
  386. package/dist/es-dev/components/card/daikin-card.js +1 -1
  387. package/dist/es-dev/components/card-footer/daikin-card-footer.js +1 -0
  388. package/dist/es-dev/components/card-header/daikin-card-header.js +1 -0
  389. package/dist/es-dev/components/carousel/daikin-carousel.js +2 -1
  390. package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +2 -1
  391. package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +12 -1
  392. package/dist/es-dev/components/checkbox/daikin-checkbox.js +22 -8
  393. package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +2 -0
  394. package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.js +11 -2
  395. package/dist/es-dev/components/chip/daikin-chip.js +2 -1
  396. package/dist/es-dev/components/combobox/daikin-combobox.d.ts +9 -2
  397. package/dist/es-dev/components/combobox/daikin-combobox.js +29 -20
  398. package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +18 -4
  399. package/dist/es-dev/components/date-picker/daikin-date-picker.js +61 -23
  400. package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +7 -0
  401. package/dist/es-dev/components/dropdown/daikin-dropdown.js +12 -14
  402. package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +2 -1
  403. package/dist/es-dev/components/icon/daikin-icon.d.ts +96 -39
  404. package/dist/es-dev/components/icon/daikin-icon.js +24 -11
  405. package/dist/es-dev/components/icon/icons.json.d.ts +12 -0
  406. package/dist/es-dev/components/icon/icons.json.js +1 -1
  407. package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +17 -3
  408. package/dist/es-dev/components/icon-button/daikin-icon-button.js +54 -11
  409. package/dist/es-dev/components/index.d.ts +2 -0
  410. package/dist/es-dev/components/index.js +4 -0
  411. package/dist/es-dev/components/inline-notification/daikin-inline-notification.d.ts +8 -1
  412. package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +109 -8
  413. package/dist/es-dev/components/input-group/daikin-input-group.js +23 -7
  414. package/dist/es-dev/components/link/daikin-link.d.ts +11 -0
  415. package/dist/es-dev/components/link/daikin-link.js +24 -4
  416. package/dist/es-dev/components/list/daikin-list.js +6 -2
  417. package/dist/es-dev/components/list-item/daikin-list-item.d.ts +4 -0
  418. package/dist/es-dev/components/list-item/daikin-list-item.js +17 -6
  419. package/dist/es-dev/components/loading/daikin-loading.js +7 -2
  420. package/dist/es-dev/components/logo/daikin-logo.d.ts +4 -0
  421. package/dist/es-dev/components/logo/daikin-logo.js +17 -9
  422. package/dist/es-dev/components/menu/daikin-menu.d.ts +29 -2
  423. package/dist/es-dev/components/menu/daikin-menu.js +79 -28
  424. package/dist/es-dev/components/modal/daikin-modal.d.ts +2 -0
  425. package/dist/es-dev/components/modal/daikin-modal.js +8 -3
  426. package/dist/es-dev/components/modal-footer/daikin-modal-footer.js +1 -0
  427. package/dist/es-dev/components/modal-header/daikin-modal-header.js +2 -2
  428. package/dist/es-dev/components/pagination/daikin-pagination.js +3 -2
  429. package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +4 -0
  430. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +19 -7
  431. package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +2 -1
  432. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +2 -0
  433. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +13 -8
  434. package/dist/es-dev/components/radio/daikin-radio.d.ts +9 -0
  435. package/dist/es-dev/components/radio/daikin-radio.js +11 -6
  436. package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +3 -1
  437. package/dist/es-dev/components/radio-group/daikin-radio-group.js +14 -7
  438. package/dist/es-dev/components/select/daikin-select.js +2 -1
  439. package/dist/es-dev/components/slider/daikin-slider.d.ts +15 -0
  440. package/dist/es-dev/components/slider/daikin-slider.js +11 -9
  441. package/dist/es-dev/components/status-message/daikin-status-message.d.ts +55 -0
  442. package/dist/es-dev/components/status-message/daikin-status-message.js +124 -0
  443. package/dist/es-dev/components/status-message/index.d.ts +1 -0
  444. package/dist/es-dev/components/status-message/index.js +4 -0
  445. package/dist/es-dev/components/tab/daikin-tab.js +9 -3
  446. package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +2 -2
  447. package/dist/es-dev/components/table/daikin-table.js +4 -3
  448. package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +5 -3
  449. package/dist/es-dev/components/table-cell/daikin-table-cell.js +12 -7
  450. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
  451. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +11 -3
  452. package/dist/es-dev/components/tabs/daikin-tabs.d.ts +2 -0
  453. package/dist/es-dev/components/tabs/daikin-tabs.js +10 -4
  454. package/dist/es-dev/components/text-area/daikin-text-area.d.ts +9 -2
  455. package/dist/es-dev/components/text-area/daikin-text-area.js +11 -8
  456. package/dist/es-dev/components/text-field/daikin-text-field.d.ts +11 -2
  457. package/dist/es-dev/components/text-field/daikin-text-field.js +18 -21
  458. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +9 -2
  459. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +15 -12
  460. package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +23 -1
  461. package/dist/es-dev/components/time-picker/daikin-time-picker.js +38 -17
  462. package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +15 -2
  463. package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +112 -7
  464. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +3 -1
  465. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +15 -3
  466. package/dist/es-dev/components/toggle/daikin-toggle.d.ts +7 -0
  467. package/dist/es-dev/components/toggle/daikin-toggle.js +5 -4
  468. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +9 -1
  469. package/dist/es-dev/components/tooltip/daikin-tooltip.js +36 -11
  470. package/dist/es-dev/components/tree/daikin-tree.d.ts +2 -1
  471. package/dist/es-dev/components/tree/daikin-tree.js +2 -1
  472. package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +8 -1
  473. package/dist/es-dev/components/tree-item/daikin-tree-item.js +2 -1
  474. package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +6 -1
  475. package/dist/es-dev/components/tree-section/daikin-tree-section.js +2 -1
  476. package/dist/es-dev/index.js +4 -0
  477. package/dist/es-dev/tailwind.css.js +1 -1
  478. package/dist/es-dev/utils/calendar-common.d.ts +7 -0
  479. package/dist/es-dev/utils/calendar-common.js +6 -0
  480. package/dist/es-dev/utils/notification-common.d.ts +0 -13
  481. package/dist/es-dev/utils/notification-common.js +0 -94
  482. package/icons/download.svg +3 -0
  483. package/icons/neutral.svg +3 -0
  484. package/icons/notification.svg +3 -0
  485. package/package.json +18 -17
@@ -1,9 +1,10 @@
1
1
  import { cva } from "class-variance-authority";
2
2
  import { unsafeCSS, css, html } from "lit";
3
- import { property, query } from "lit/decorators.js";
3
+ import { query } from "lit/decorators.js";
4
4
  import { ifDefined } from "lit/directives/if-defined.js";
5
5
  import "../../base/dds-element.js";
6
6
  import { DDSFormSubmitElement } from "../../base/dds-form-element.js";
7
+ import { property, oneOf } from "../../base/dds-property.js";
7
8
  import { ddsElement } from "../../base/decorators.js";
8
9
  import "../../base/define.js";
9
10
  import tailwindStyles from "../../tailwind.css.js";
@@ -78,11 +79,8 @@ const cvaIconButton = cva(
78
79
  let DaikinIconButton = class extends DDSFormSubmitElement {
79
80
  constructor() {
80
81
  super();
81
- this.variant = "fill";
82
- this.color = "default";
83
82
  this.disabled = false;
84
83
  this.href = null;
85
- this.type = "button";
86
84
  this.buttonAriaLabel = null;
87
85
  this.buttonRole = null;
88
86
  this.buttonAriaHaspopup = null;
@@ -109,6 +107,7 @@ let DaikinIconButton = class extends DDSFormSubmitElement {
109
107
  return html`<a
110
108
  class=${iconButtonCN}
111
109
  href=${ifDefined(!linkDisabled ? this.href ?? void 0 : void 0)}
110
+ tabindex=${ifDefined(this.getBackingProperty("buttonTabIndex"))}
112
111
  role=${ifDefined(
113
112
  this.buttonRole ?? (linkDisabled ? "link" : void 0)
114
113
  )}
@@ -122,10 +121,11 @@ let DaikinIconButton = class extends DDSFormSubmitElement {
122
121
  <button
123
122
  class=${iconButtonCN}
124
123
  type=${this.type}
124
+ tabindex=${ifDefined(this.getBackingProperty("buttonTabIndex"))}
125
125
  aria-label=${this.buttonAriaLabel ?? ""}
126
126
  ?disabled=${this.disabled}
127
- aria-haspopup=${ifDefined(this.buttonAriaHaspopup ?? void 0)}
128
- aria-expanded=${ifDefined(this.buttonAriaExpanded ?? void 0)}
127
+ aria-expanded=${ifDefined(this.buttonAriaExpanded)}
128
+ aria-haspopup=${ifDefined(this.buttonAriaHaspopup)}
129
129
  >
130
130
  <slot class="icon-size-full"></slot>
131
131
  </button>
@@ -148,18 +148,38 @@ DaikinIconButton.styles = css`
148
148
  width: var(--ddc-icon-button-size, 2rem);
149
149
  height: var(--ddc-icon-button-size, 2rem);
150
150
  }
151
+
151
152
  :host([size="s"]) {
152
153
  --ddc-icon-button-size: 2rem; /* 32px */
153
154
  }
155
+
154
156
  :host([size="m"]) {
155
157
  --ddc-icon-button-size: 3rem; /* 48px */
156
158
  }
157
159
  `;
158
160
  __decorateClass([
159
- property({ type: String, reflect: true })
161
+ property({
162
+ type: String,
163
+ reflect: true,
164
+ fallbackValue: "fill",
165
+ isAllowedValue: oneOf([
166
+ "outline",
167
+ "fill",
168
+ "ghost"
169
+ ])
170
+ })
160
171
  ], DaikinIconButton.prototype, "variant", 2);
161
172
  __decorateClass([
162
- property({ type: String, reflect: true })
173
+ property({
174
+ type: String,
175
+ reflect: true,
176
+ fallbackValue: "default",
177
+ isAllowedValue: oneOf([
178
+ "default",
179
+ "neutral",
180
+ "danger"
181
+ ])
182
+ })
163
183
  ], DaikinIconButton.prototype, "color", 2);
164
184
  __decorateClass([
165
185
  property({ type: Boolean, reflect: true })
@@ -168,7 +188,17 @@ __decorateClass([
168
188
  property({ type: String, reflect: true })
169
189
  ], DaikinIconButton.prototype, "href", 2);
170
190
  __decorateClass([
171
- property({ type: String, reflect: true })
191
+ property({
192
+ type: String,
193
+ reflect: true,
194
+ fallbackValue: "button",
195
+ isAllowedValue: oneOf([
196
+ "button",
197
+ "submit",
198
+ "reset",
199
+ "link"
200
+ ])
201
+ })
172
202
  ], DaikinIconButton.prototype, "type", 2);
173
203
  __decorateClass([
174
204
  property({ type: String, reflect: true, attribute: "button-aria-label" })
@@ -180,10 +210,23 @@ __decorateClass([
180
210
  property({ type: String, reflect: true, attribute: "button-aria-haspopup" })
181
211
  ], DaikinIconButton.prototype, "buttonAriaHaspopup", 2);
182
212
  __decorateClass([
183
- property({ type: Boolean, reflect: true, attribute: "button-aria-expanded" })
213
+ property({ type: String, reflect: true, attribute: "button-aria-expanded" })
184
214
  ], DaikinIconButton.prototype, "buttonAriaExpanded", 2);
185
215
  __decorateClass([
186
- property({ type: String, reflect: true })
216
+ property({
217
+ type: Number,
218
+ reflect: true,
219
+ attribute: "button-tabindex",
220
+ fallbackValue: 0
221
+ })
222
+ ], DaikinIconButton.prototype, "buttonTabIndex", 2);
223
+ __decorateClass([
224
+ property({
225
+ type: String,
226
+ reflect: true,
227
+ fallbackValue: "s",
228
+ isAllowedValue: oneOf(["s", "m"])
229
+ })
187
230
  ], DaikinIconButton.prototype, "size", 2);
188
231
  __decorateClass([
189
232
  query("button")
@@ -1,6 +1,7 @@
1
1
  export * from "./accordion/index.js";
2
2
  export * from "./accordion-item/index.js";
3
3
  export * from "./avatar/index.js";
4
+ export * from "./badge/index.js";
4
5
  export * from "./breadcrumb/index.js";
5
6
  export * from "./breadcrumb-item/index.js";
6
7
  export * from "./button/index.js";
@@ -38,6 +39,7 @@ export * from "./radio/index.js";
38
39
  export * from "./radio-group/index.js";
39
40
  export * from "./select/index.js";
40
41
  export * from "./slider/index.js";
42
+ export * from "./status-message/index.js";
41
43
  export * from "./tab/index.js";
42
44
  export * from "./tab-panels/index.js";
43
45
  export * from "./table/index.js";
@@ -1,6 +1,7 @@
1
1
  import { DaikinAccordion } from "./accordion/daikin-accordion.js";
2
2
  import { DaikinAccordionItem } from "./accordion-item/daikin-accordion-item.js";
3
3
  import { DaikinAvatar } from "./avatar/daikin-avatar.js";
4
+ import { DaikinBadge } from "./badge/daikin-badge.js";
4
5
  import { DaikinBreadcrumb } from "./breadcrumb/daikin-breadcrumb.js";
5
6
  import { DaikinBreadcrumbItem } from "./breadcrumb-item/daikin-breadcrumb-item.js";
6
7
  import { DaikinButton } from "./button/daikin-button.js";
@@ -38,6 +39,7 @@ import { DaikinRadio } from "./radio/daikin-radio.js";
38
39
  import { DaikinRadioGroup } from "./radio-group/daikin-radio-group.js";
39
40
  import { DaikinSelect } from "./select/daikin-select.js";
40
41
  import { DaikinSlider } from "./slider/daikin-slider.js";
42
+ import { DaikinStatusMessage } from "./status-message/daikin-status-message.js";
41
43
  import { DaikinTab } from "./tab/daikin-tab.js";
42
44
  import { DaikinTabPanels } from "./tab-panels/daikin-tab-panels.js";
43
45
  import { DaikinTable } from "./table/daikin-table.js";
@@ -59,6 +61,7 @@ export {
59
61
  DaikinAccordion,
60
62
  DaikinAccordionItem,
61
63
  DaikinAvatar,
64
+ DaikinBadge,
62
65
  DaikinBreadcrumb,
63
66
  DaikinBreadcrumbItem,
64
67
  DaikinButton,
@@ -96,6 +99,7 @@ export {
96
99
  DaikinRadioGroup,
97
100
  DaikinSelect,
98
101
  DaikinSlider,
102
+ DaikinStatusMessage,
99
103
  DaikinTab,
100
104
  DaikinTabPanels,
101
105
  DaikinTable,
@@ -30,10 +30,14 @@ export declare class DaikinInlineNotification extends DDSElement {
30
30
  static readonly styles: import('lit').CSSResult;
31
31
  /**
32
32
  * Status of the notification.
33
+ *
34
+ * @default "positive"
33
35
  */
34
36
  status: ToastNotificationVariantProps["status"];
35
37
  /**
36
38
  * Specify how to arrange the elements.
39
+ *
40
+ * @default "horizontal"
37
41
  */
38
42
  layout: ToastNotificationVariantProps["layout"];
39
43
  /**
@@ -41,7 +45,10 @@ export declare class DaikinInlineNotification extends DDSElement {
41
45
  */
42
46
  closable: boolean;
43
47
  /**
44
- * The timestamp to display.
48
+ * The timestamp to display. Accepts a Date object and displays it in YYYY/MM/DD format.
49
+ *
50
+ * @example
51
+ * element.timestamp = new Date();
45
52
  */
46
53
  timestamp: Date | null;
47
54
  /**
@@ -1,11 +1,12 @@
1
+ import { cva } from "class-variance-authority";
1
2
  import { unsafeCSS, css, nothing, html } from "lit";
2
- import { property } from "lit/decorators.js";
3
3
  import { DDSElement } from "../../base/dds-element.js";
4
4
  import "../../base/dds-form-element.js";
5
+ import { property, oneOf } from "../../base/dds-property.js";
5
6
  import { ddsElement } from "../../base/decorators.js";
6
7
  import "../../base/define.js";
7
8
  import tailwindStyles from "../../tailwind.css.js";
8
- import { formatDate, cvaContainer, cvaContent, cvaTitle, cvaDescription, cvaTimestamp } from "../../utils/notification-common.js";
9
+ import { formatDate, cvaTimestamp } from "../../utils/notification-common.js";
9
10
  import "../icon-button/daikin-icon-button.js";
10
11
  var __defProp = Object.defineProperty;
11
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -17,11 +18,90 @@ var __decorateClass = (decorators, target, key, kind) => {
17
18
  if (kind && result) __defProp(target, key, result);
18
19
  return result;
19
20
  };
21
+ const cvaContainer = cva(
22
+ [
23
+ "flex",
24
+ "items-center",
25
+ "gap-3",
26
+ "w-full",
27
+ "h-full",
28
+ "text-ddt-color-common-text-primary",
29
+ "bg-ddt-color-common-background-default",
30
+ "p-4",
31
+ "overflow-hidden",
32
+ "font-daikinSerif",
33
+ "transition",
34
+ "box-border",
35
+ "before:size-6",
36
+ "before:flex-none"
37
+ ],
38
+ {
39
+ variants: {
40
+ variant: {
41
+ toast: [
42
+ "rounded-lg",
43
+ "border",
44
+ "border-ddt-color-divider",
45
+ "translate-x-[--move-offset-x,0]",
46
+ "translate-y-[--move-offset-y,0]",
47
+ "opacity-[--opacity,1]",
48
+ "[pointer-events:var(--pointer-events,auto)]",
49
+ "[transition-duration:var(--transition-duration,var(--ddc-toast-animation-duration,0ms))]"
50
+ ],
51
+ inline: []
52
+ },
53
+ status: {
54
+ positive: [
55
+ "before:text-ddt-color-common-success",
56
+ "before:i-daikin-success"
57
+ ],
58
+ negative: [
59
+ "before:text-ddt-color-common-danger-default",
60
+ "before:i-daikin-error"
61
+ ],
62
+ warning: [
63
+ "before:text-ddt-color-common-warning",
64
+ "before:i-daikin-warning"
65
+ ],
66
+ alarm: ["before:text-ddt-color-common-alarm", "before:i-daikin-alarm"],
67
+ information: [
68
+ "before:text-ddt-color-common-information",
69
+ "before:i-daikin-information"
70
+ ]
71
+ }
72
+ }
73
+ }
74
+ );
75
+ const cvaContent = cva(["flex", "items-center", "w-full", "justify-between"], {
76
+ variants: {
77
+ layout: {
78
+ horizontal: ["gap-3", "overflow-hidden"],
79
+ vertical: ["items-stretch", "flex-col", "gap-1"]
80
+ }
81
+ }
82
+ });
83
+ const cvaTextContent = cva(["flex"], {
84
+ variants: {
85
+ layout: {
86
+ horizontal: ["flex-row", "gap-3"],
87
+ vertical: ["flex-col", "gap-1"]
88
+ }
89
+ }
90
+ });
91
+ const TITLE_CLASS_NAME = cva([
92
+ "slotted:inline-block",
93
+ "font-bold",
94
+ "leading-[130%]",
95
+ "slotted:natural-break"
96
+ ])();
97
+ const DESCRIPTION_CLASS_NAME = cva([
98
+ "inline-block",
99
+ "leading-[130%]",
100
+ "natural-break"
101
+ ])();
20
102
  let DaikinInlineNotification = class extends DDSElement {
21
103
  constructor() {
22
104
  super(...arguments);
23
- this.status = "positive";
24
- this.layout = "horizontal";
25
105
  this.closable = false;
26
106
  this.timestamp = null;
27
107
  }
@@ -38,8 +118,10 @@ let DaikinInlineNotification = class extends DDSElement {
38
118
  class=${cvaContainer({ variant: "inline", status: this.status })}
39
119
  >
40
120
  <div class=${cvaContent({ layout: this.layout })}>
41
- <slot class=${cvaTitle({ layout: this.layout })} name="title"></slot>
42
- <slot class=${cvaDescription({ layout: this.layout })}></slot>
121
+ <div class=${cvaTextContent({ layout: this.layout })}>
122
+ <slot class=${TITLE_CLASS_NAME} name="title"></slot>
123
+ <slot class=${DESCRIPTION_CLASS_NAME}></slot>
124
+ </div>
43
125
  ${formattedTimestamp ? html`<span class=${cvaTimestamp({ layout: this.layout })}
44
126
  >${formattedTimestamp}</span
45
127
  >` : nothing}
@@ -70,10 +152,29 @@ DaikinInlineNotification.styles = css`
70
152
  }
71
153
  `;
72
154
  __decorateClass([
73
- property({ type: String, reflect: true })
155
+ property({
156
+ type: String,
157
+ reflect: true,
158
+ fallbackValue: "positive",
159
+ isAllowedValue: oneOf([
160
+ "positive",
161
+ "negative",
162
+ "warning",
163
+ "alarm",
164
+ "information"
165
+ ])
166
+ })
74
167
  ], DaikinInlineNotification.prototype, "status", 2);
75
168
  __decorateClass([
76
- property({ type: String, reflect: true })
169
+ property({
170
+ type: String,
171
+ reflect: true,
172
+ fallbackValue: "horizontal",
173
+ isAllowedValue: oneOf([
174
+ "horizontal",
175
+ "vertical"
176
+ ])
177
+ })
77
178
  ], DaikinInlineNotification.prototype, "layout", 2);
78
179
  __decorateClass([
79
180
  property({ type: Boolean, reflect: true })
@@ -1,11 +1,13 @@
1
1
  import { cva } from "class-variance-authority";
2
2
  import { unsafeCSS, css, nothing, html } from "lit";
3
- import { property, queryAssignedElements, state } from "lit/decorators.js";
3
+ import { queryAssignedElements, state } from "lit/decorators.js";
4
4
  import { DDSElement } from "../../base/dds-element.js";
5
5
  import "../../base/dds-form-element.js";
6
+ import { property } from "../../base/dds-property.js";
6
7
  import { ddsElement } from "../../base/decorators.js";
7
8
  import "../../base/define.js";
8
9
  import tailwindStyles from "../../tailwind.css.js";
10
+ import "../status-message/daikin-status-message.js";
9
11
  var __defProp = Object.defineProperty;
10
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11
13
  var __decorateClass = (decorators, target, key, kind) => {
@@ -110,6 +112,25 @@ let DaikinInputGroup = class extends DDSElement {
110
112
  textareaLimitExceedError: this.textareaLimitExceedError,
111
113
  none: ""
112
114
  }[helperTextVariant];
115
+ const formatHelperText = (helperTextVariant2, helperText2) => {
116
+ switch (helperTextVariant2) {
117
+ case "error":
118
+ case "textareaLimitExceedError":
119
+ return html`<daikin-status-message
120
+ status="negative"
121
+ status-message-role="alert"
122
+ size="small"
123
+ >
124
+ ${helperText2}
125
+ </daikin-status-message>`;
126
+ case "none":
127
+ return nothing;
128
+ default:
129
+ return html`<span class=${cvaHelper({ type: helperTextVariant2 })}>
130
+ ${helperText2}
131
+ </span>`;
132
+ }
133
+ };
113
134
  return html`<fieldset class="contents" ?disabled=${this.disabled}>
114
135
  <label
115
136
  class="flex flex-col justify-center gap-2 w-full text-ddt-color-common-text-primary font-daikinSerif"
@@ -122,12 +143,7 @@ let DaikinInputGroup = class extends DDSElement {
122
143
  ${this.required}
123
144
  </span>` : nothing}
124
145
  </div>
125
- <span
126
- class=${cvaHelper({ type: helperTextVariant })}
127
- aria-live=${helperTextVariant === "error" ? "polite" : "off"}
128
- >
129
- ${helperText}
130
- </span>
146
+ ${formatHelperText(helperTextVariant, helperText)}
131
147
  <slot
132
148
  @slotchange=${this._handleSlotChange}
133
149
  @input=${this._handleInput}
@@ -34,6 +34,17 @@ export declare class DaikinLink extends DDSElement {
34
34
  * Whether or not to change the color of visited links.
35
35
  */
36
36
  showVisited: boolean;
37
+ /**
38
+ * Link size. The default value is `'medium'`.
39
+ *
40
+ * - `'small'`: Smaller font size (`0.875rem`).
41
+ * - `'medium'`: Base font size (`1rem`).
42
+ */
43
+ size: "small" | "medium";
44
+ /**
45
+ * Whether or not to display an underline.
46
+ */
47
+ noUnderline: boolean;
37
48
  render(): import('lit-html').TemplateResult<1>;
38
49
  }
39
50
  declare global {
@@ -1,9 +1,9 @@
1
1
  import { cva } from "class-variance-authority";
2
2
  import { unsafeCSS, css, html } from "lit";
3
- import { property } from "lit/decorators.js";
4
3
  import { ifDefined } from "lit/directives/if-defined.js";
5
4
  import { DDSElement } from "../../base/dds-element.js";
6
5
  import "../../base/dds-form-element.js";
6
+ import { property } from "../../base/dds-property.js";
7
7
  import { ddsElement } from "../../base/decorators.js";
8
8
  import "../../base/define.js";
9
9
  import tailwindStyles from "../../tailwind.css.js";
@@ -20,8 +20,6 @@ var __decorateClass = (decorators, target, key, kind) => {
20
20
  const LINK_CLASS_NAME = cva([
21
21
  "font-daikinSerif",
22
22
  "relative",
23
- "border-b",
24
- "border-b-current",
25
23
  "link-enabled:text-ddt-color-link-text-default",
26
24
  "link-enabled:hover:text-ddt-color-link-text-hover",
27
25
  "link-enabled:hover:bg-ddt-color-common-surface-brand-hover",
@@ -33,6 +31,18 @@ const LINK_CLASS_NAME = cva([
33
31
  "focus-visible:outline-ddt-color-common-border-focus",
34
32
  "focus-visible:outline-offset-2"
35
33
  ])();
34
+ const cvaContent = cva(["leading-[130%]"], {
35
+ variants: {
36
+ noUnderline: {
37
+ true: [],
38
+ false: ["border-b", "border-b-current"]
39
+ },
40
+ size: {
41
+ small: ["text-sm"],
42
+ medium: ["text-base"]
43
+ }
44
+ }
45
+ });
36
46
  let DaikinLink = class extends DDSElement {
37
47
  constructor() {
38
48
  super(...arguments);
@@ -40,6 +50,8 @@ let DaikinLink = class extends DDSElement {
40
50
  this.target = null;
41
51
  this.disabled = false;
42
52
  this.showVisited = false;
53
+ this.size = "medium";
54
+ this.noUnderline = false;
43
55
  }
44
56
  render() {
45
57
  return html`<a
@@ -50,7 +62,9 @@ let DaikinLink = class extends DDSElement {
50
62
  ><span class="inline-flex mr-[0.125rem] align-sub">
51
63
  <slot name="left-icon" class="icon-size-4"
52
64
  ><span class="-mr-[0.125rem]"></span></slot></span
53
- ><slot></slot
65
+ ><span
66
+ class=${cvaContent({ noUnderline: this.noUnderline, size: this.size })}
67
+ ><slot></slot></span
54
68
  ><span class="inline-flex ml-[0.125rem] align-sub"
55
69
  ><slot name="right-icon" class="icon-size-4"
56
70
  ><span class="-ml-[0.125rem]"></span></slot></span
@@ -86,6 +100,12 @@ __decorateClass([
86
100
  __decorateClass([
87
101
  property({ type: Boolean, reflect: true, attribute: "show-visited" })
88
102
  ], DaikinLink.prototype, "showVisited", 2);
103
+ __decorateClass([
104
+ property({ type: String, reflect: true })
105
+ ], DaikinLink.prototype, "size", 2);
106
+ __decorateClass([
107
+ property({ type: Boolean, reflect: true, attribute: "no-underline" })
108
+ ], DaikinLink.prototype, "noUnderline", 2);
89
109
  DaikinLink = __decorateClass([
90
110
  ddsElement("daikin-link")
91
111
  ], DaikinLink);
@@ -1,7 +1,8 @@
1
1
  import { unsafeCSS, css, html } from "lit";
2
- import { property, queryAssignedElements } from "lit/decorators.js";
2
+ import { queryAssignedElements } from "lit/decorators.js";
3
3
  import { DDSElement } from "../../base/dds-element.js";
4
4
  import "../../base/dds-form-element.js";
5
+ import { property } from "../../base/dds-property.js";
5
6
  import { ddsElement } from "../../base/decorators.js";
6
7
  import "../../base/define.js";
7
8
  import tailwindStyles from "../../tailwind.css.js";
@@ -61,7 +62,10 @@ let DaikinList = class extends DDSElement {
61
62
  nextItem.focus();
62
63
  }
63
64
  render() {
64
- return html`<div role=${this.listRole}>
65
+ return html`<div
66
+ role=${this.listRole}
67
+ aria-label=${this.listRole === "menu" ? "Menu" : "List"}
68
+ >
65
69
  <slot
66
70
  @keydown=${this.handleKeyDown}
67
71
  @slotchange=${this._handleSlotChange}
@@ -19,6 +19,8 @@ import { DDSElement } from "../../base/index.js";
19
19
  * @slot left-icon - An optional slot for an icon to be placed to the left of the text. Place `daikin-icon` or something similar.
20
20
  * @slot right-icon - An optional slot for an icon to be placed to the left of the text. Ignored if `action` slot is used. Place `daikin-icon` or something similar.
21
21
  *
22
+ * @csspart item - CSS styles applied to the `item` part target the internal wrapper element (`<a>`, `<button>`, or `<span>`). For instance, setting `cursor: grab;` changes the hover cursor, signaling that the list item is draggable.
23
+ *
22
24
  * @example
23
25
  *
24
26
  * ```js
@@ -36,6 +38,8 @@ export declare class DaikinListItem extends DDSElement {
36
38
  * - `button` (default): The list item will be rendered as a `<button>` element.
37
39
  * - `link`: The list item will be rendered as an `<a>` element.
38
40
  * - `text`: The list item will be rendered as a `<span>` element. Use this if the list itself has no action.
41
+ *
42
+ * @default "button"
39
43
  */
40
44
  type: "button" | "link" | "text";
41
45
  /**
@@ -1,9 +1,10 @@
1
1
  import { cva } from "class-variance-authority";
2
2
  import { unsafeCSS, css, html } from "lit";
3
- import { property, query } from "lit/decorators.js";
3
+ import { query } from "lit/decorators.js";
4
4
  import { ifDefined } from "lit/directives/if-defined.js";
5
5
  import { DDSElement } from "../../base/dds-element.js";
6
6
  import "../../base/dds-form-element.js";
7
+ import { property, oneOf } from "../../base/dds-property.js";
7
8
  import { ddsElement } from "../../base/decorators.js";
8
9
  import "../../base/define.js";
9
10
  import tailwindStyles from "../../tailwind.css.js";
@@ -52,7 +53,7 @@ const WRAPPER = cva([
52
53
  "p-3",
53
54
  "text-left",
54
55
  "relative",
55
- "break-all"
56
+ "natural-break"
56
57
  ])();
57
58
  const cvaIcon = cva(["icon-size-6", "slotted:flex-none"], {
58
59
  variants: {
@@ -69,7 +70,6 @@ const cvaIcon = cva(["icon-size-6", "slotted:flex-none"], {
69
70
  let DaikinListItem = class extends DDSElement {
70
71
  constructor() {
71
72
  super();
72
- this.type = "button";
73
73
  this.listItemRole = "listitem";
74
74
  this.href = null;
75
75
  this.disabled = false;
@@ -101,10 +101,16 @@ let DaikinListItem = class extends DDSElement {
101
101
  <slot class=${cvaContent({ disabled: this.disabled })}></slot>
102
102
  </span>`;
103
103
  const list = {
104
- button: () => html`<button type="button" class=${INNER_CN} ?disabled=${disabled}>
104
+ button: () => html`<button
105
+ type="button"
106
+ part="item"
107
+ class=${INNER_CN}
108
+ ?disabled=${disabled}
109
+ >
105
110
  ${content}
106
111
  </button>`,
107
112
  link: () => html`<a
113
+ part="item"
108
114
  class=${INNER_CN}
109
115
  href=${ifDefined(!disabled ? this.href ?? void 0 : void 0)}
110
116
  role=${ifDefined(disabled ? "link" : void 0)}
@@ -112,7 +118,7 @@ let DaikinListItem = class extends DDSElement {
112
118
  >
113
119
  ${content}
114
120
  </a>`,
115
- text: () => html`<span class=${INNER_CN}>${content}</span>`
121
+ text: () => html`<span part="item" class=${INNER_CN}>${content}</span>`
116
122
  }[this.type]();
117
123
  return html`<div class=${WRAPPER} role=${this.listItemRole}>
118
124
  ${list}
@@ -149,7 +155,12 @@ DaikinListItem.styles = css`
149
155
  }
150
156
  `;
151
157
  __decorateClass([
152
- property({ type: String, reflect: true })
158
+ property({
159
+ type: String,
160
+ reflect: true,
161
+ fallbackValue: "button",
162
+ isAllowedValue: oneOf(["button", "link", "text"])
163
+ })
153
164
  ], DaikinListItem.prototype, "type", 2);
154
165
  __decorateClass([
155
166
  property({ type: String, attribute: false })
@@ -1,8 +1,8 @@
1
1
  import { cva } from "class-variance-authority";
2
2
  import { unsafeCSS, css, html } from "lit";
3
- import { property } from "lit/decorators.js";
4
3
  import { DDSElement } from "../../base/dds-element.js";
5
4
  import "../../base/dds-form-element.js";
5
+ import { property, oneOf } from "../../base/dds-property.js";
6
6
  import { ddsElement } from "../../base/decorators.js";
7
7
  import "../../base/define.js";
8
8
  import tailwindStyles from "../../tailwind.css.js";
@@ -83,7 +83,12 @@ DaikinLoading.styles = css`
83
83
  }
84
84
  `;
85
85
  __decorateClass([
86
- property({ type: String, reflect: true })
86
+ property({
87
+ type: String,
88
+ reflect: true,
89
+ fallbackValue: "medium",
90
+ isAllowedValue: oneOf(["small", "medium"])
91
+ })
87
92
  ], DaikinLoading.prototype, "size", 2);
88
93
  __decorateClass([
89
94
  property({ type: Boolean, reflect: true })
@@ -32,11 +32,15 @@ export declare class DaikinLogo extends DDSElement {
32
32
  target: string | null;
33
33
  /**
34
34
  * Provides an accessible name of the logo.
35
+ *
36
+ * @default "Logo of Daikin"
35
37
  */
36
38
  logoAriaLabel: string | null;
37
39
  /**
38
40
  * Specify the the logo mode.
39
41
  * Notice: Allow the use of a negative logo only when the positive logo is too close to the background to be legible.
42
+ *
43
+ * @default "positive"
40
44
  */
41
45
  mode: "positive" | "negative";
42
46
  private _focusableElement;