@daikin-oss/design-system-web-components 1.4.1 → 1.5.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 (381) hide show
  1. package/CHANGELOG.md +136 -0
  2. package/custom-elements.json +25044 -0
  3. package/dist/THIRDPARTY.txt +1 -0
  4. package/dist/cjs/base/dds-element.cjs +1 -1
  5. package/dist/cjs/base/dds-navigable.d.cts +16 -0
  6. package/dist/cjs/base/index.d.cts +1 -0
  7. package/dist/cjs/components/accordion/daikin-accordion.cjs +28 -5
  8. package/dist/cjs/components/accordion/daikin-accordion.d.cts +14 -0
  9. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +4 -4
  10. package/dist/cjs/components/avatar/daikin-avatar.cjs +24 -6
  11. package/dist/cjs/components/avatar/daikin-avatar.d.cts +13 -3
  12. package/dist/cjs/components/badge/daikin-badge.cjs +2 -2
  13. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +0 -5
  14. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +37 -1
  15. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +23 -3
  16. package/dist/cjs/components/button/daikin-button.cjs +37 -19
  17. package/dist/cjs/components/button/daikin-button.d.cts +13 -3
  18. package/dist/cjs/components/calendar/daikin-calendar.cjs +12 -12
  19. package/dist/cjs/components/card/daikin-card.d.cts +1 -0
  20. package/dist/cjs/components/carousel/daikin-carousel.cjs +5 -5
  21. package/dist/cjs/components/checkbox/daikin-checkbox.cjs +20 -20
  22. package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +1 -1
  23. package/dist/cjs/components/chip/daikin-chip.cjs +261 -51
  24. package/dist/cjs/components/chip/daikin-chip.d.cts +45 -3
  25. package/dist/cjs/components/combobox/daikin-combobox.cjs +27 -30
  26. package/dist/cjs/components/date-picker/daikin-date-picker.cjs +10 -10
  27. package/dist/cjs/components/dropdown/daikin-dropdown.cjs +10 -10
  28. package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +10 -10
  29. package/dist/cjs/components/empty-state/daikin-empty-state.cjs +49 -0
  30. package/dist/cjs/components/empty-state/daikin-empty-state.d.cts +34 -0
  31. package/dist/cjs/components/empty-state/index.cjs +7 -0
  32. package/dist/cjs/components/empty-state/index.d.cts +1 -0
  33. package/dist/cjs/components/icon/daikin-icon.cjs +6 -12
  34. package/dist/cjs/components/icon/daikin-icon.d.cts +4 -0
  35. package/dist/cjs/components/icon/icons.json.cjs +1 -1
  36. package/dist/cjs/components/icon/icons.json.d.cts +26 -22
  37. package/dist/cjs/components/icon-button/daikin-icon-button.cjs +42 -24
  38. package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +13 -3
  39. package/dist/cjs/components/index.cjs +20 -0
  40. package/dist/cjs/components/index.d.cts +4 -0
  41. package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +13 -10
  42. package/dist/cjs/components/input-group/daikin-input-group.cjs +2 -2
  43. package/dist/cjs/components/link/daikin-link.cjs +29 -10
  44. package/dist/cjs/components/link/daikin-link.d.cts +12 -2
  45. package/dist/cjs/components/list-item/daikin-list-item.cjs +23 -5
  46. package/dist/cjs/components/list-item/daikin-list-item.d.cts +13 -3
  47. package/dist/cjs/components/loading/daikin-loading.cjs +2 -2
  48. package/dist/cjs/components/logo/daikin-logo.cjs +22 -4
  49. package/dist/cjs/components/logo/daikin-logo.d.cts +13 -3
  50. package/dist/cjs/components/menu/daikin-menu.cjs +18 -4
  51. package/dist/cjs/components/menu/daikin-menu.d.cts +3 -1
  52. package/dist/cjs/components/modal/daikin-modal.cjs +15 -8
  53. package/dist/cjs/components/modal/daikin-modal.d.cts +2 -0
  54. package/dist/cjs/components/navigation/daikin-navigation.cjs +47 -0
  55. package/dist/cjs/components/navigation/daikin-navigation.d.cts +56 -0
  56. package/dist/cjs/components/navigation/index.cjs +7 -0
  57. package/dist/cjs/components/navigation/index.d.cts +1 -0
  58. package/dist/cjs/components/navigation-item/daikin-navigation-item.cjs +219 -0
  59. package/dist/cjs/components/navigation-item/daikin-navigation-item.d.cts +89 -0
  60. package/dist/cjs/components/navigation-item/index.cjs +7 -0
  61. package/dist/cjs/components/navigation-item/index.d.cts +1 -0
  62. package/dist/cjs/components/pagination/daikin-pagination.cjs +7 -7
  63. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +3 -3
  64. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +2 -2
  65. package/dist/cjs/components/radio/daikin-radio.cjs +7 -7
  66. package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +1 -1
  67. package/dist/cjs/components/select/daikin-select.cjs +34 -34
  68. package/dist/cjs/components/slider/daikin-slider.cjs +4 -4
  69. package/dist/cjs/components/status-message/daikin-status-message.cjs +4 -4
  70. package/dist/cjs/components/tab/daikin-tab.cjs +3 -3
  71. package/dist/cjs/components/table/daikin-table.cjs +12 -5
  72. package/dist/cjs/components/table/daikin-table.d.cts +2 -0
  73. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +4 -4
  74. package/dist/cjs/components/tabs/daikin-tabs.cjs +1 -1
  75. package/dist/cjs/components/tabs/daikin-tabs.d.cts +2 -2
  76. package/dist/cjs/components/tag/daikin-tag.cjs +126 -0
  77. package/dist/cjs/components/tag/daikin-tag.d.cts +46 -0
  78. package/dist/cjs/components/tag/index.cjs +7 -0
  79. package/dist/cjs/components/tag/index.d.cts +1 -0
  80. package/dist/cjs/components/text-area/daikin-text-area.cjs +11 -11
  81. package/dist/cjs/components/text-field/daikin-text-field.cjs +20 -20
  82. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +12 -12
  83. package/dist/cjs/components/time-picker/daikin-time-picker.cjs +11 -11
  84. package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +28 -36
  85. package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +2 -2
  86. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +3 -3
  87. package/dist/cjs/components/toggle/daikin-toggle.cjs +3 -3
  88. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +3 -3
  89. package/dist/cjs/components/tree-item/daikin-tree-item.cjs +11 -10
  90. package/dist/cjs/index.cjs +25 -0
  91. package/dist/cjs/index.d.cts +1 -0
  92. package/dist/cjs/navigation.cjs +62 -0
  93. package/dist/cjs/navigation.d.cts +33 -0
  94. package/dist/cjs/tailwind.css.cjs +3 -2
  95. package/dist/cjs/utils/calendar-common.cjs +15 -10
  96. package/dist/cjs/utils/calendar-common.d.cts +8 -3
  97. package/dist/cjs/utils/notification-common.d.cts +1 -1
  98. package/dist/cjs-dev/base/dds-element.cjs +1 -1
  99. package/dist/cjs-dev/base/dds-navigable.d.cts +16 -0
  100. package/dist/cjs-dev/base/index.d.cts +1 -0
  101. package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +28 -5
  102. package/dist/cjs-dev/components/accordion/daikin-accordion.d.cts +14 -0
  103. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +4 -4
  104. package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +24 -6
  105. package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +13 -3
  106. package/dist/cjs-dev/components/badge/daikin-badge.cjs +2 -2
  107. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +0 -5
  108. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +37 -1
  109. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +23 -3
  110. package/dist/cjs-dev/components/button/daikin-button.cjs +37 -19
  111. package/dist/cjs-dev/components/button/daikin-button.d.cts +13 -3
  112. package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +12 -12
  113. package/dist/cjs-dev/components/card/daikin-card.d.cts +1 -0
  114. package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +5 -5
  115. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +20 -20
  116. package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +1 -1
  117. package/dist/cjs-dev/components/chip/daikin-chip.cjs +261 -51
  118. package/dist/cjs-dev/components/chip/daikin-chip.d.cts +45 -3
  119. package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +27 -30
  120. package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +10 -10
  121. package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +10 -10
  122. package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +10 -10
  123. package/dist/cjs-dev/components/empty-state/daikin-empty-state.cjs +49 -0
  124. package/dist/cjs-dev/components/empty-state/daikin-empty-state.d.cts +34 -0
  125. package/dist/cjs-dev/components/empty-state/index.cjs +7 -0
  126. package/dist/cjs-dev/components/empty-state/index.d.cts +1 -0
  127. package/dist/cjs-dev/components/icon/daikin-icon.cjs +6 -12
  128. package/dist/cjs-dev/components/icon/daikin-icon.d.cts +4 -0
  129. package/dist/cjs-dev/components/icon/icons.json.cjs +1 -1
  130. package/dist/cjs-dev/components/icon/icons.json.d.cts +26 -22
  131. package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +42 -24
  132. package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +13 -3
  133. package/dist/cjs-dev/components/index.cjs +20 -0
  134. package/dist/cjs-dev/components/index.d.cts +4 -0
  135. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +13 -10
  136. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +2 -2
  137. package/dist/cjs-dev/components/link/daikin-link.cjs +29 -10
  138. package/dist/cjs-dev/components/link/daikin-link.d.cts +12 -2
  139. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +23 -5
  140. package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +13 -3
  141. package/dist/cjs-dev/components/loading/daikin-loading.cjs +2 -2
  142. package/dist/cjs-dev/components/logo/daikin-logo.cjs +22 -4
  143. package/dist/cjs-dev/components/logo/daikin-logo.d.cts +13 -3
  144. package/dist/cjs-dev/components/menu/daikin-menu.cjs +18 -4
  145. package/dist/cjs-dev/components/menu/daikin-menu.d.cts +3 -1
  146. package/dist/cjs-dev/components/modal/daikin-modal.cjs +15 -8
  147. package/dist/cjs-dev/components/modal/daikin-modal.d.cts +2 -0
  148. package/dist/cjs-dev/components/navigation/daikin-navigation.cjs +47 -0
  149. package/dist/cjs-dev/components/navigation/daikin-navigation.d.cts +56 -0
  150. package/dist/cjs-dev/components/navigation/index.cjs +7 -0
  151. package/dist/cjs-dev/components/navigation/index.d.cts +1 -0
  152. package/dist/cjs-dev/components/navigation-item/daikin-navigation-item.cjs +219 -0
  153. package/dist/cjs-dev/components/navigation-item/daikin-navigation-item.d.cts +89 -0
  154. package/dist/cjs-dev/components/navigation-item/index.cjs +7 -0
  155. package/dist/cjs-dev/components/navigation-item/index.d.cts +1 -0
  156. package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +7 -7
  157. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +3 -3
  158. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +2 -2
  159. package/dist/cjs-dev/components/radio/daikin-radio.cjs +7 -7
  160. package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +1 -1
  161. package/dist/cjs-dev/components/select/daikin-select.cjs +34 -34
  162. package/dist/cjs-dev/components/slider/daikin-slider.cjs +4 -4
  163. package/dist/cjs-dev/components/status-message/daikin-status-message.cjs +4 -4
  164. package/dist/cjs-dev/components/tab/daikin-tab.cjs +3 -3
  165. package/dist/cjs-dev/components/table/daikin-table.cjs +12 -5
  166. package/dist/cjs-dev/components/table/daikin-table.d.cts +2 -0
  167. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +4 -4
  168. package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +1 -1
  169. package/dist/cjs-dev/components/tabs/daikin-tabs.d.cts +2 -2
  170. package/dist/cjs-dev/components/tag/daikin-tag.cjs +126 -0
  171. package/dist/cjs-dev/components/tag/daikin-tag.d.cts +46 -0
  172. package/dist/cjs-dev/components/tag/index.cjs +7 -0
  173. package/dist/cjs-dev/components/tag/index.d.cts +1 -0
  174. package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +11 -11
  175. package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +20 -20
  176. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +12 -12
  177. package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +11 -11
  178. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +28 -36
  179. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +2 -2
  180. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +3 -3
  181. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +3 -3
  182. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +3 -3
  183. package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +11 -10
  184. package/dist/cjs-dev/index.cjs +25 -0
  185. package/dist/cjs-dev/index.d.cts +1 -0
  186. package/dist/cjs-dev/navigation.cjs +62 -0
  187. package/dist/cjs-dev/navigation.d.cts +33 -0
  188. package/dist/cjs-dev/tailwind.css.cjs +3 -2
  189. package/dist/cjs-dev/utils/calendar-common.cjs +15 -10
  190. package/dist/cjs-dev/utils/calendar-common.d.cts +8 -3
  191. package/dist/cjs-dev/utils/notification-common.d.cts +1 -1
  192. package/dist/es/base/dds-element.js +1 -1
  193. package/dist/es/base/dds-navigable.d.ts +16 -0
  194. package/dist/es/base/index.d.ts +1 -0
  195. package/dist/es/components/accordion/daikin-accordion.d.ts +14 -0
  196. package/dist/es/components/accordion/daikin-accordion.js +29 -6
  197. package/dist/es/components/accordion-item/daikin-accordion-item.js +4 -4
  198. package/dist/es/components/avatar/daikin-avatar.d.ts +13 -3
  199. package/dist/es/components/avatar/daikin-avatar.js +24 -6
  200. package/dist/es/components/badge/daikin-badge.js +2 -2
  201. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +0 -5
  202. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +23 -3
  203. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +37 -1
  204. package/dist/es/components/button/daikin-button.d.ts +13 -3
  205. package/dist/es/components/button/daikin-button.js +37 -19
  206. package/dist/es/components/calendar/daikin-calendar.js +13 -13
  207. package/dist/es/components/card/daikin-card.d.ts +1 -0
  208. package/dist/es/components/carousel/daikin-carousel.js +5 -5
  209. package/dist/es/components/checkbox/daikin-checkbox.js +20 -20
  210. package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +1 -1
  211. package/dist/es/components/chip/daikin-chip.d.ts +45 -3
  212. package/dist/es/components/chip/daikin-chip.js +263 -53
  213. package/dist/es/components/combobox/daikin-combobox.js +27 -30
  214. package/dist/es/components/date-picker/daikin-date-picker.js +10 -10
  215. package/dist/es/components/dropdown/daikin-dropdown.js +10 -10
  216. package/dist/es/components/dropdown-item/daikin-dropdown-item.js +10 -10
  217. package/dist/es/components/empty-state/daikin-empty-state.d.ts +34 -0
  218. package/dist/es/components/empty-state/daikin-empty-state.js +50 -0
  219. package/dist/es/components/empty-state/index.d.ts +1 -0
  220. package/dist/es/components/empty-state/index.js +4 -0
  221. package/dist/es/components/icon/daikin-icon.d.ts +4 -0
  222. package/dist/es/components/icon/daikin-icon.js +6 -12
  223. package/dist/es/components/icon/icons.json.d.ts +26 -22
  224. package/dist/es/components/icon/icons.json.js +1 -1
  225. package/dist/es/components/icon-button/daikin-icon-button.d.ts +13 -3
  226. package/dist/es/components/icon-button/daikin-icon-button.js +42 -24
  227. package/dist/es/components/index.d.ts +4 -0
  228. package/dist/es/components/index.js +8 -0
  229. package/dist/es/components/inline-notification/daikin-inline-notification.js +13 -10
  230. package/dist/es/components/input-group/daikin-input-group.js +2 -2
  231. package/dist/es/components/link/daikin-link.d.ts +12 -2
  232. package/dist/es/components/link/daikin-link.js +29 -10
  233. package/dist/es/components/list-item/daikin-list-item.d.ts +13 -3
  234. package/dist/es/components/list-item/daikin-list-item.js +23 -5
  235. package/dist/es/components/loading/daikin-loading.js +2 -2
  236. package/dist/es/components/logo/daikin-logo.d.ts +13 -3
  237. package/dist/es/components/logo/daikin-logo.js +22 -4
  238. package/dist/es/components/menu/daikin-menu.d.ts +3 -1
  239. package/dist/es/components/menu/daikin-menu.js +18 -4
  240. package/dist/es/components/modal/daikin-modal.d.ts +2 -0
  241. package/dist/es/components/modal/daikin-modal.js +15 -8
  242. package/dist/es/components/navigation/daikin-navigation.d.ts +56 -0
  243. package/dist/es/components/navigation/daikin-navigation.js +48 -0
  244. package/dist/es/components/navigation/index.d.ts +1 -0
  245. package/dist/es/components/navigation/index.js +4 -0
  246. package/dist/es/components/navigation-item/daikin-navigation-item.d.ts +89 -0
  247. package/dist/es/components/navigation-item/daikin-navigation-item.js +220 -0
  248. package/dist/es/components/navigation-item/index.d.ts +1 -0
  249. package/dist/es/components/navigation-item/index.js +4 -0
  250. package/dist/es/components/pagination/daikin-pagination.js +7 -7
  251. package/dist/es/components/progress-bar/daikin-progress-bar.js +3 -3
  252. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +2 -2
  253. package/dist/es/components/radio/daikin-radio.js +7 -7
  254. package/dist/es/components/radio-group/daikin-radio-group.d.ts +1 -1
  255. package/dist/es/components/select/daikin-select.js +34 -34
  256. package/dist/es/components/slider/daikin-slider.js +4 -4
  257. package/dist/es/components/status-message/daikin-status-message.js +4 -4
  258. package/dist/es/components/tab/daikin-tab.js +3 -3
  259. package/dist/es/components/table/daikin-table.d.ts +2 -0
  260. package/dist/es/components/table/daikin-table.js +12 -5
  261. package/dist/es/components/table-header-cell/daikin-table-header-cell.js +4 -4
  262. package/dist/es/components/tabs/daikin-tabs.d.ts +2 -2
  263. package/dist/es/components/tabs/daikin-tabs.js +1 -1
  264. package/dist/es/components/tag/daikin-tag.d.ts +46 -0
  265. package/dist/es/components/tag/daikin-tag.js +127 -0
  266. package/dist/es/components/tag/index.d.ts +1 -0
  267. package/dist/es/components/tag/index.js +4 -0
  268. package/dist/es/components/text-area/daikin-text-area.js +11 -11
  269. package/dist/es/components/text-field/daikin-text-field.js +20 -20
  270. package/dist/es/components/text-masked-field/daikin-text-masked-field.js +12 -12
  271. package/dist/es/components/time-picker/daikin-time-picker.js +11 -11
  272. package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +2 -2
  273. package/dist/es/components/toast-notification/daikin-toast-notification.js +28 -36
  274. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +3 -3
  275. package/dist/es/components/toggle/daikin-toggle.js +3 -3
  276. package/dist/es/components/tooltip/daikin-tooltip.js +3 -3
  277. package/dist/es/components/tree-item/daikin-tree-item.js +11 -10
  278. package/dist/es/index.d.ts +1 -0
  279. package/dist/es/index.js +13 -0
  280. package/dist/es/navigation.d.ts +33 -0
  281. package/dist/es/navigation.js +62 -0
  282. package/dist/es/tailwind.css.js +3 -2
  283. package/dist/es/utils/calendar-common.d.ts +8 -3
  284. package/dist/es/utils/calendar-common.js +15 -10
  285. package/dist/es/utils/notification-common.d.ts +1 -1
  286. package/dist/es-dev/base/dds-element.js +1 -1
  287. package/dist/es-dev/base/dds-navigable.d.ts +16 -0
  288. package/dist/es-dev/base/index.d.ts +1 -0
  289. package/dist/es-dev/components/accordion/daikin-accordion.d.ts +14 -0
  290. package/dist/es-dev/components/accordion/daikin-accordion.js +29 -6
  291. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +4 -4
  292. package/dist/es-dev/components/avatar/daikin-avatar.d.ts +13 -3
  293. package/dist/es-dev/components/avatar/daikin-avatar.js +24 -6
  294. package/dist/es-dev/components/badge/daikin-badge.js +2 -2
  295. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +0 -5
  296. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +23 -3
  297. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +37 -1
  298. package/dist/es-dev/components/button/daikin-button.d.ts +13 -3
  299. package/dist/es-dev/components/button/daikin-button.js +37 -19
  300. package/dist/es-dev/components/calendar/daikin-calendar.js +13 -13
  301. package/dist/es-dev/components/card/daikin-card.d.ts +1 -0
  302. package/dist/es-dev/components/carousel/daikin-carousel.js +5 -5
  303. package/dist/es-dev/components/checkbox/daikin-checkbox.js +20 -20
  304. package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +1 -1
  305. package/dist/es-dev/components/chip/daikin-chip.d.ts +45 -3
  306. package/dist/es-dev/components/chip/daikin-chip.js +263 -53
  307. package/dist/es-dev/components/combobox/daikin-combobox.js +27 -30
  308. package/dist/es-dev/components/date-picker/daikin-date-picker.js +10 -10
  309. package/dist/es-dev/components/dropdown/daikin-dropdown.js +10 -10
  310. package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +10 -10
  311. package/dist/es-dev/components/empty-state/daikin-empty-state.d.ts +34 -0
  312. package/dist/es-dev/components/empty-state/daikin-empty-state.js +50 -0
  313. package/dist/es-dev/components/empty-state/index.d.ts +1 -0
  314. package/dist/es-dev/components/empty-state/index.js +4 -0
  315. package/dist/es-dev/components/icon/daikin-icon.d.ts +4 -0
  316. package/dist/es-dev/components/icon/daikin-icon.js +6 -12
  317. package/dist/es-dev/components/icon/icons.json.d.ts +26 -22
  318. package/dist/es-dev/components/icon/icons.json.js +1 -1
  319. package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +13 -3
  320. package/dist/es-dev/components/icon-button/daikin-icon-button.js +42 -24
  321. package/dist/es-dev/components/index.d.ts +4 -0
  322. package/dist/es-dev/components/index.js +8 -0
  323. package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +13 -10
  324. package/dist/es-dev/components/input-group/daikin-input-group.js +2 -2
  325. package/dist/es-dev/components/link/daikin-link.d.ts +12 -2
  326. package/dist/es-dev/components/link/daikin-link.js +29 -10
  327. package/dist/es-dev/components/list-item/daikin-list-item.d.ts +13 -3
  328. package/dist/es-dev/components/list-item/daikin-list-item.js +23 -5
  329. package/dist/es-dev/components/loading/daikin-loading.js +2 -2
  330. package/dist/es-dev/components/logo/daikin-logo.d.ts +13 -3
  331. package/dist/es-dev/components/logo/daikin-logo.js +22 -4
  332. package/dist/es-dev/components/menu/daikin-menu.d.ts +3 -1
  333. package/dist/es-dev/components/menu/daikin-menu.js +18 -4
  334. package/dist/es-dev/components/modal/daikin-modal.d.ts +2 -0
  335. package/dist/es-dev/components/modal/daikin-modal.js +15 -8
  336. package/dist/es-dev/components/navigation/daikin-navigation.d.ts +56 -0
  337. package/dist/es-dev/components/navigation/daikin-navigation.js +48 -0
  338. package/dist/es-dev/components/navigation/index.d.ts +1 -0
  339. package/dist/es-dev/components/navigation/index.js +4 -0
  340. package/dist/es-dev/components/navigation-item/daikin-navigation-item.d.ts +89 -0
  341. package/dist/es-dev/components/navigation-item/daikin-navigation-item.js +220 -0
  342. package/dist/es-dev/components/navigation-item/index.d.ts +1 -0
  343. package/dist/es-dev/components/navigation-item/index.js +4 -0
  344. package/dist/es-dev/components/pagination/daikin-pagination.js +7 -7
  345. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +3 -3
  346. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +2 -2
  347. package/dist/es-dev/components/radio/daikin-radio.js +7 -7
  348. package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +1 -1
  349. package/dist/es-dev/components/select/daikin-select.js +34 -34
  350. package/dist/es-dev/components/slider/daikin-slider.js +4 -4
  351. package/dist/es-dev/components/status-message/daikin-status-message.js +4 -4
  352. package/dist/es-dev/components/tab/daikin-tab.js +3 -3
  353. package/dist/es-dev/components/table/daikin-table.d.ts +2 -0
  354. package/dist/es-dev/components/table/daikin-table.js +12 -5
  355. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +4 -4
  356. package/dist/es-dev/components/tabs/daikin-tabs.d.ts +2 -2
  357. package/dist/es-dev/components/tabs/daikin-tabs.js +1 -1
  358. package/dist/es-dev/components/tag/daikin-tag.d.ts +46 -0
  359. package/dist/es-dev/components/tag/daikin-tag.js +127 -0
  360. package/dist/es-dev/components/tag/index.d.ts +1 -0
  361. package/dist/es-dev/components/tag/index.js +4 -0
  362. package/dist/es-dev/components/text-area/daikin-text-area.js +11 -11
  363. package/dist/es-dev/components/text-field/daikin-text-field.js +20 -20
  364. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +12 -12
  365. package/dist/es-dev/components/time-picker/daikin-time-picker.js +11 -11
  366. package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +2 -2
  367. package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +28 -36
  368. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +3 -3
  369. package/dist/es-dev/components/toggle/daikin-toggle.js +3 -3
  370. package/dist/es-dev/components/tooltip/daikin-tooltip.js +3 -3
  371. package/dist/es-dev/components/tree-item/daikin-tree-item.js +11 -10
  372. package/dist/es-dev/index.d.ts +1 -0
  373. package/dist/es-dev/index.js +13 -0
  374. package/dist/es-dev/navigation.d.ts +33 -0
  375. package/dist/es-dev/navigation.js +62 -0
  376. package/dist/es-dev/tailwind.css.js +3 -2
  377. package/dist/es-dev/utils/calendar-common.d.ts +8 -3
  378. package/dist/es-dev/utils/calendar-common.js +15 -10
  379. package/dist/es-dev/utils/notification-common.d.ts +1 -1
  380. package/icons/check.svg +3 -0
  381. package/package.json +26 -9
@@ -29,51 +29,51 @@ const cvaIconButton = classVarianceAuthority.cva(
29
29
  "size-full",
30
30
  "font-daikinSerif",
31
31
  "font-bold",
32
- "rounded",
32
+ "rounded-sm",
33
33
  "p-1",
34
34
  "tracking-wide",
35
35
  "text-nowrap",
36
- "focus-visible:outline",
36
+ "focus-visible:outline-solid",
37
37
  "focus-visible:outline-2",
38
38
  "focus-visible:outline-offset-2",
39
39
  "focus-visible:outline-ddt-color-common-border-focus",
40
- "var-color-transparent/color-secondary",
41
- "link-disabled:var-color-ddt-color-common-disabled/color-primary"
40
+ "[--color-secondary:transparent]",
41
+ "link-disabled:[--color-primary:var(--dds-color-common-disabled)]"
42
42
  ],
43
43
  {
44
44
  variants: {
45
45
  color: {
46
46
  default: [
47
- "link-enabled:var-color-ddt-color-common-brand-default/color-primary",
48
- "link-enabled:hover:var-color-ddt-color-common-brand-hover/color-primary",
49
- "link-enabled:hover:var-color-ddt-color-common-surface-brand-hover/color-secondary",
50
- "link-enabled:active:var-color-ddt-color-common-brand-press/color-primary",
51
- "link-enabled:active:var-color-ddt-color-common-surface-brand-press/color-secondary"
47
+ "link-enabled:[--color-primary:var(--dds-color-common-brand-default)]",
48
+ "hover:link-enabled:[--color-primary:var(--dds-color-common-brand-hover)]",
49
+ "hover:link-enabled:[--color-secondary:var(--dds-color-common-surface-brand-hover)]",
50
+ "active:link-enabled:[--color-primary:var(--dds-color-common-brand-press)]",
51
+ "active:link-enabled:[--color-secondary:var(--dds-color-common-surface-brand-press)]"
52
52
  ],
53
53
  neutral: [
54
- "link-enabled:var-color-ddt-color-common-neutral-default/color-primary",
55
- "link-enabled:hover:var-color-ddt-color-common-neutral-hover/color-primary",
56
- "link-enabled:hover:var-color-ddt-color-common-surface-neutral-hover/color-secondary",
57
- "link-enabled:active:var-color-ddt-color-common-neutral-press/color-primary",
58
- "link-enabled:active:var-color-ddt-color-common-surface-neutral-press/color-secondary"
54
+ "link-enabled:[--color-primary:var(--dds-color-common-neutral-default)]",
55
+ "hover:link-enabled:[--color-primary:var(--dds-color-common-neutral-hover)]",
56
+ "hover:link-enabled:[--color-secondary:var(--dds-color-common-surface-neutral-hover)]",
57
+ "active:link-enabled:[--color-primary:var(--dds-color-common-neutral-press)]",
58
+ "active:link-enabled:[--color-secondary:var(--dds-color-common-surface-neutral-press)]"
59
59
  ],
60
60
  danger: [
61
- "link-enabled:var-color-ddt-color-common-danger-default/color-primary",
62
- "link-enabled:hover:var-color-ddt-color-common-danger-hover/color-primary",
63
- "link-enabled:hover:var-color-ddt-color-common-surface-danger-hover/color-secondary",
64
- "link-enabled:active:var-color-ddt-color-common-danger-press/color-primary",
65
- "link-enabled:active:var-color-ddt-color-common-surface-danger-press/color-secondary"
61
+ "link-enabled:[--color-primary:var(--dds-color-common-danger-default)]",
62
+ "hover:link-enabled:[--color-primary:var(--dds-color-common-danger-hover)]",
63
+ "hover:link-enabled:[--color-secondary:var(--dds-color-common-surface-danger-hover)]",
64
+ "active:link-enabled:[--color-primary:var(--dds-color-common-danger-press)]",
65
+ "active:link-enabled:[--color-secondary:var(--dds-color-common-surface-danger-press)]"
66
66
  ]
67
67
  },
68
68
  variant: {
69
- fill: ["text-ddt-color-common-text-inverse", "bg-[--color-primary]"],
69
+ fill: ["text-ddt-color-common-text-inverse", "bg-(--color-primary)"],
70
70
  outline: [
71
71
  "border",
72
- "text-[--color-primary]",
73
- "bg-[--color-secondary]",
74
- "border-[--color-primary]"
72
+ "text-(--color-primary)",
73
+ "bg-(--color-secondary)",
74
+ "border-(--color-primary)"
75
75
  ],
76
- ghost: ["text-[--color-primary]", "bg-[--color-secondary]"]
76
+ ghost: ["text-(--color-primary)", "bg-(--color-secondary)"]
77
77
  }
78
78
  }
79
79
  }
@@ -99,6 +99,24 @@ exports.DaikinIconButton = class DaikinIconButton extends ddsFormElement.DDSForm
99
99
  }
100
100
  });
101
101
  }
102
+ /**
103
+ * _Internal use._
104
+ * Returns the navigation target information.
105
+ * Used by navigation handling utilities.
106
+ *
107
+ * @returns Navigation target information or `null` if not navigable.
108
+ *
109
+ * @private
110
+ */
111
+ getDDSNavigationTarget() {
112
+ if (this.href == null || this.disabled || this.type !== "link") {
113
+ return null;
114
+ }
115
+ return {
116
+ href: this.href,
117
+ target: null
118
+ };
119
+ }
102
120
  render() {
103
121
  const iconButtonCN = cvaIconButton({
104
122
  variant: this.variant,
@@ -1,4 +1,4 @@
1
- import { DDSFormSubmitElement } from "../../base/index.cjs";
1
+ import { DDSFormSubmitElement, DDSNavigable, NavigationTarget } 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?: ({
@@ -35,7 +35,7 @@ type IconButtonVariantProps = MergeVariantProps<typeof cvaIconButton>;
35
35
  * </daikin-icon-button>
36
36
  * ```
37
37
  */
38
- export declare class DaikinIconButton extends DDSFormSubmitElement {
38
+ export declare class DaikinIconButton extends DDSFormSubmitElement implements DDSNavigable {
39
39
  static readonly styles: import('lit').CSSResult;
40
40
  /**
41
41
  * Variant of the button.
@@ -97,8 +97,18 @@ export declare class DaikinIconButton extends DDSFormSubmitElement {
97
97
  * - `m`: 48px * 48px
98
98
  */
99
99
  size: "s" | "m";
100
- private _button;
100
+ private readonly _button;
101
101
  constructor();
102
+ /**
103
+ * _Internal use._
104
+ * Returns the navigation target information.
105
+ * Used by navigation handling utilities.
106
+ *
107
+ * @returns Navigation target information or `null` if not navigable.
108
+ *
109
+ * @private
110
+ */
111
+ getDDSNavigationTarget(): NavigationTarget | null;
102
112
  render(): import('lit-html').TemplateResult<1>;
103
113
  /**
104
114
  * Focuses on the inner button.
@@ -20,6 +20,7 @@ const daikinCombobox = require("./combobox/daikin-combobox.cjs");
20
20
  const daikinDatePicker = require("./date-picker/daikin-date-picker.cjs");
21
21
  const daikinDropdown = require("./dropdown/daikin-dropdown.cjs");
22
22
  const daikinDropdownItem = require("./dropdown-item/daikin-dropdown-item.cjs");
23
+ const daikinEmptyState = require("./empty-state/daikin-empty-state.cjs");
23
24
  const daikinIcon = require("./icon/daikin-icon.cjs");
24
25
  const daikinIconButton = require("./icon-button/daikin-icon-button.cjs");
25
26
  const daikinInlineNotification = require("./inline-notification/daikin-inline-notification.cjs");
@@ -33,6 +34,8 @@ const daikinMenu = require("./menu/daikin-menu.cjs");
33
34
  const daikinModal = require("./modal/daikin-modal.cjs");
34
35
  const daikinModalFooter = require("./modal-footer/daikin-modal-footer.cjs");
35
36
  const daikinModalHeader = require("./modal-header/daikin-modal-header.cjs");
37
+ const daikinNavigation = require("./navigation/daikin-navigation.cjs");
38
+ const daikinNavigationItem = require("./navigation-item/daikin-navigation-item.cjs");
36
39
  const daikinPagination = require("./pagination/daikin-pagination.cjs");
37
40
  const daikinProgressBar = require("./progress-bar/daikin-progress-bar.cjs");
38
41
  const daikinProgressIndicator = require("./progress-indicator/daikin-progress-indicator.cjs");
@@ -48,6 +51,7 @@ const daikinTable = require("./table/daikin-table.cjs");
48
51
  const daikinTableCell = require("./table-cell/daikin-table-cell.cjs");
49
52
  const daikinTableHeaderCell = require("./table-header-cell/daikin-table-header-cell.cjs");
50
53
  const daikinTabs = require("./tabs/daikin-tabs.cjs");
54
+ const daikinTag = require("./tag/daikin-tag.cjs");
51
55
  const daikinTextArea = require("./text-area/daikin-text-area.cjs");
52
56
  const daikinTextField = require("./text-field/daikin-text-field.cjs");
53
57
  const daikinTextMaskedField = require("./text-masked-field/daikin-text-masked-field.cjs");
@@ -140,6 +144,10 @@ Object.defineProperty(exports, "DaikinDropdownItem", {
140
144
  enumerable: true,
141
145
  get: () => daikinDropdownItem.DaikinDropdownItem
142
146
  });
147
+ Object.defineProperty(exports, "DaikinEmptyState", {
148
+ enumerable: true,
149
+ get: () => daikinEmptyState.DaikinEmptyState
150
+ });
143
151
  Object.defineProperty(exports, "DaikinIcon", {
144
152
  enumerable: true,
145
153
  get: () => daikinIcon.DaikinIcon
@@ -193,6 +201,14 @@ Object.defineProperty(exports, "DaikinModalHeader", {
193
201
  enumerable: true,
194
202
  get: () => daikinModalHeader.DaikinModalHeader
195
203
  });
204
+ Object.defineProperty(exports, "DaikinNavigation", {
205
+ enumerable: true,
206
+ get: () => daikinNavigation.DaikinNavigation
207
+ });
208
+ Object.defineProperty(exports, "DaikinNavigationItem", {
209
+ enumerable: true,
210
+ get: () => daikinNavigationItem.DaikinNavigationItem
211
+ });
196
212
  Object.defineProperty(exports, "DaikinPagination", {
197
213
  enumerable: true,
198
214
  get: () => daikinPagination.DaikinPagination
@@ -253,6 +269,10 @@ Object.defineProperty(exports, "DaikinTabs", {
253
269
  enumerable: true,
254
270
  get: () => daikinTabs.DaikinTabs
255
271
  });
272
+ Object.defineProperty(exports, "DaikinTag", {
273
+ enumerable: true,
274
+ get: () => daikinTag.DaikinTag
275
+ });
256
276
  Object.defineProperty(exports, "DaikinTextArea", {
257
277
  enumerable: true,
258
278
  get: () => daikinTextArea.DaikinTextArea
@@ -18,6 +18,7 @@ export * from "./combobox/index.cjs";
18
18
  export * from "./date-picker/index.cjs";
19
19
  export * from "./dropdown/index.cjs";
20
20
  export * from "./dropdown-item/index.cjs";
21
+ export * from "./empty-state/index.cjs";
21
22
  export * from "./icon/index.cjs";
22
23
  export * from "./icon-button/index.cjs";
23
24
  export * from "./inline-notification/index.cjs";
@@ -31,6 +32,8 @@ export * from "./menu/index.cjs";
31
32
  export * from "./modal/index.cjs";
32
33
  export * from "./modal-footer/index.cjs";
33
34
  export * from "./modal-header/index.cjs";
35
+ export * from "./navigation/index.cjs";
36
+ export * from "./navigation-item/index.cjs";
34
37
  export * from "./pagination/index.cjs";
35
38
  export * from "./progress-bar/index.cjs";
36
39
  export * from "./progress-indicator/index.cjs";
@@ -46,6 +49,7 @@ export * from "./table/index.cjs";
46
49
  export * from "./table-cell/index.cjs";
47
50
  export * from "./table-header-cell/index.cjs";
48
51
  export * from "./tabs/index.cjs";
52
+ export * from "./tag/index.cjs";
49
53
  export * from "./text-area/index.cjs";
50
54
  export * from "./text-field/index.cjs";
51
55
  export * from "./text-masked-field/index.cjs";
@@ -44,31 +44,34 @@ const cvaContainer = classVarianceAuthority.cva(
44
44
  "rounded-lg",
45
45
  "border",
46
46
  "border-ddt-color-divider",
47
- "translate-x-[--move-offset-x,0]",
48
- "translate-y-[--move-offset-y,0]",
49
- "opacity-[--opacity,1]",
47
+ "translate-x-(--move-offset-x,0)",
48
+ "translate-y-(--move-offset-y,0)",
49
+ "opacity-(--opacity,1)",
50
50
  "[pointer-events:var(--pointer-events,auto)]",
51
- "[transition-duration:var(--transition-duration,var(--ddc-toast-animation-duration,0ms))]"
51
+ "duration-(--transition-duration,var(--ddc-toast-animation-duration,0ms))"
52
52
  ],
53
53
  inline: []
54
54
  },
55
55
  status: {
56
56
  positive: [
57
57
  "before:text-ddt-color-common-success",
58
- "before:i-daikin-success"
58
+ "before:icon-[daikin--success]"
59
59
  ],
60
60
  negative: [
61
61
  "before:text-ddt-color-common-danger-default",
62
- "before:i-daikin-error"
62
+ "before:icon-[daikin--error]"
63
63
  ],
64
64
  warning: [
65
65
  "before:text-ddt-color-common-warning",
66
- "before:i-daikin-warning"
66
+ "before:icon-[daikin--warning]"
67
+ ],
68
+ alarm: [
69
+ "before:text-ddt-color-common-alarm",
70
+ "before:icon-[daikin--alarm]"
67
71
  ],
68
- alarm: ["before:text-ddt-color-common-alarm", "before:i-daikin-alarm"],
69
72
  information: [
70
73
  "before:text-ddt-color-common-information",
71
- "before:i-daikin-information"
74
+ "before:icon-[daikin--information]"
72
75
  ]
73
76
  }
74
77
  }
@@ -135,7 +138,7 @@ exports.DaikinInlineNotification = class DaikinInlineNotification extends ddsEle
135
138
  @click=${this._handleClickClose}
136
139
  >
137
140
  <span
138
- class="flex size-6 text-ddt-color-common-text-secondary relative i-daikin-close"
141
+ class="flex size-6 text-ddt-color-common-text-secondary relative icon-[daikin--close]"
139
142
  ></span>
140
143
  </daikin-icon-button>` : lit.nothing}
141
144
  </aside>`;
@@ -39,14 +39,14 @@ const cvaHelper = classVarianceAuthority.cva(
39
39
  "text-ddt-color-common-danger-default",
40
40
  "font-bold",
41
41
  "before:size-4",
42
- "before:i-daikin-error",
42
+ "before:icon-[daikin--error]",
43
43
  "before:flex-none"
44
44
  ],
45
45
  textareaLimitExceedError: [
46
46
  "text-ddt-color-common-danger-default",
47
47
  "font-bold",
48
48
  "before:size-4",
49
- "before:i-daikin-error",
49
+ "before:icon-[daikin--error]",
50
50
  "before:flex-none"
51
51
  ],
52
52
  none: ["hidden"]
@@ -21,19 +21,20 @@ var __decorateClass = (decorators2, target, key, kind) => {
21
21
  };
22
22
  const LINK_CLASS_NAME = classVarianceAuthority.cva([
23
23
  "font-daikinSerif",
24
+ "leading-[130%]",
24
25
  "relative",
25
26
  "link-enabled:text-ddt-color-link-text-default",
26
- "link-enabled:hover:text-ddt-color-link-text-hover",
27
- "link-enabled:hover:bg-ddt-color-common-surface-brand-hover",
28
- "link-enabled:active:text-ddt-color-link-text-press",
29
- "link-enabled:active:bg-ddt-color-common-surface-brand-press",
27
+ "hover:link-enabled:text-ddt-color-link-text-hover",
28
+ "hover:link-enabled:bg-ddt-color-common-surface-brand-hover",
29
+ "active:link-enabled:text-ddt-color-link-text-press",
30
+ "active:link-enabled:bg-ddt-color-common-surface-brand-press",
30
31
  "link-disabled:text-ddt-color-common-disabled",
31
- "focus-visible:outline",
32
+ "focus-visible:outline-solid",
32
33
  "focus-visible:outline-2",
33
34
  "focus-visible:outline-ddt-color-common-border-focus",
34
35
  "focus-visible:outline-offset-2"
35
36
  ])();
36
- const cvaContent = classVarianceAuthority.cva(["leading-[130%]"], {
37
+ const cvaContent = classVarianceAuthority.cva([], {
37
38
  variants: {
38
39
  noUnderline: {
39
40
  true: [],
@@ -55,21 +56,39 @@ exports.DaikinLink = class DaikinLink extends ddsElement.DDSElement {
55
56
  this.size = "medium";
56
57
  this.noUnderline = false;
57
58
  }
59
+ /**
60
+ * _Internal use._
61
+ * Returns the navigation target information.
62
+ * Used by navigation handling utilities.
63
+ *
64
+ * @returns Navigation target information or `null` if not navigable.
65
+ *
66
+ * @private
67
+ */
68
+ getDDSNavigationTarget() {
69
+ if (this.href == null || this.disabled) {
70
+ return null;
71
+ }
72
+ return {
73
+ href: this.href,
74
+ target: this.target
75
+ };
76
+ }
58
77
  render() {
59
78
  return lit.html`<a
60
79
  class=${LINK_CLASS_NAME}
61
80
  href=${ifDefined_js.ifDefined(this.disabled ? void 0 : this.href ?? void 0)}
62
81
  target=${ifDefined_js.ifDefined(this.target ?? void 0)}
63
82
  aria-disabled=${ifDefined_js.ifDefined(this.disabled ? "true" : void 0)}
64
- ><span class="inline-flex mr-[0.125rem] align-sub">
83
+ ><span class="inline-flex mr-0.5 align-sub">
65
84
  <slot name="left-icon" class="icon-size-4"
66
- ><span class="-mr-[0.125rem]"></span></slot></span
85
+ ><span class="-mr-0.5"></span></slot></span
67
86
  ><span
68
87
  class=${cvaContent({ noUnderline: this.noUnderline, size: this.size })}
69
88
  ><slot></slot></span
70
- ><span class="inline-flex ml-[0.125rem] align-sub"
89
+ ><span class="inline-flex ml-0.5 align-sub"
71
90
  ><slot name="right-icon" class="icon-size-4"
72
- ><span class="-ml-[0.125rem]"></span></slot></span
91
+ ><span class="-ml-0.5"></span></slot></span
73
92
  ></a>`;
74
93
  }
75
94
  };
@@ -1,4 +1,4 @@
1
- import { DDSElement } from "../../base/index.cjs";
1
+ import { DDSElement, DDSNavigable, NavigationTarget } from "../../base/index.cjs";
2
2
  /**
3
3
  * The link component uses the standard HTML <a> tag. Unlike the link used in the button component, it provides the style of the text as it is.
4
4
  *
@@ -16,7 +16,7 @@ import { DDSElement } from "../../base/index.cjs";
16
16
  * </daikin-link>
17
17
  * ```
18
18
  */
19
- export declare class DaikinLink extends DDSElement {
19
+ export declare class DaikinLink extends DDSElement implements DDSNavigable {
20
20
  static readonly styles: import('lit').CSSResult;
21
21
  /**
22
22
  * Link `href`.
@@ -45,6 +45,16 @@ export declare class DaikinLink extends DDSElement {
45
45
  * Whether or not to display an underline.
46
46
  */
47
47
  noUnderline: boolean;
48
+ /**
49
+ * _Internal use._
50
+ * Returns the navigation target information.
51
+ * Used by navigation handling utilities.
52
+ *
53
+ * @returns Navigation target information or `null` if not navigable.
54
+ *
55
+ * @private
56
+ */
57
+ getDDSNavigationTarget(): NavigationTarget | null;
48
58
  render(): import('lit-html').TemplateResult<1>;
49
59
  }
50
60
  declare global {
@@ -26,16 +26,16 @@ const INNER_CN = classVarianceAuthority.cva([
26
26
  "before:inset-0",
27
27
  "before:w-full",
28
28
  "before:h-full",
29
- "focus-visible:outline-none",
30
- "focus-visible:before:outline",
29
+ "focus-visible:outline-hidden",
30
+ "focus-visible:before:outline-solid",
31
31
  "focus-visible:before:outline-2",
32
32
  "focus-visible:before:-outline-offset-2",
33
33
  "focus-visible:before:outline-ddt-color-common-border-focus",
34
34
  // For buttons and links
35
- "link-enabled:before:group-hover:[&:not(:active)]:bg-ddt-color-common-surface-hover",
36
- "link-enabled:before:active:bg-ddt-color-common-surface-press",
35
+ "not-active:group-hover:link-enabled:before:bg-ddt-color-common-surface-hover",
36
+ "active:link-enabled:before:bg-ddt-color-common-surface-press",
37
37
  // For text
38
- "[&:not(a,button)]:before:group-hover:bg-ddt-color-common-surface-hover"
38
+ "group-hover:[&:not(a,button)]:before:bg-ddt-color-common-surface-hover"
39
39
  ])();
40
40
  const cvaContent = classVarianceAuthority.cva(["block", "pl-2", "pr-3", "text-left"], {
41
41
  variants: {
@@ -91,6 +91,24 @@ exports.DaikinListItem = class DaikinListItem extends ddsElement.DDSElement {
91
91
  _handleClickAction(event) {
92
92
  event.stopPropagation();
93
93
  }
94
+ /**
95
+ * _Internal use._
96
+ * Returns the navigation target information.
97
+ * Used by navigation handling utilities.
98
+ *
99
+ * @returns Navigation target information or `null` if not navigable.
100
+ *
101
+ * @private
102
+ */
103
+ getDDSNavigationTarget() {
104
+ if (this.href == null || this.disabled || this.type !== "link") {
105
+ return null;
106
+ }
107
+ return {
108
+ href: this.href,
109
+ target: null
110
+ };
111
+ }
94
112
  render() {
95
113
  const disabled = this._disabled;
96
114
  const content = lit.html`<span class="flex items-center w-full relative">
@@ -1,4 +1,4 @@
1
- import { DDSElement } from "../../base/index.cjs";
1
+ import { DDSElement, DDSNavigable, NavigationTarget } from "../../base/index.cjs";
2
2
  /**
3
3
  * The list item component is used to represent a single item in a list. Please use it within the `daikin-list` component.
4
4
  *
@@ -31,7 +31,7 @@ import { DDSElement } from "../../base/index.cjs";
31
31
  * <daikin-list-item>List item label</daikin-list-item>
32
32
  * ```
33
33
  */
34
- export declare class DaikinListItem extends DDSElement {
34
+ export declare class DaikinListItem extends DDSElement implements DDSNavigable {
35
35
  static readonly styles: import('lit').CSSResult;
36
36
  /**
37
37
  * Type of the list item.
@@ -58,10 +58,20 @@ export declare class DaikinListItem extends DDSElement {
58
58
  * Ignored if the `type` is `"text"`.
59
59
  */
60
60
  disabled: boolean;
61
- private _focusableElement;
61
+ private readonly _focusableElement;
62
62
  private get _disabled();
63
63
  private _handleClickAction;
64
64
  constructor();
65
+ /**
66
+ * _Internal use._
67
+ * Returns the navigation target information.
68
+ * Used by navigation handling utilities.
69
+ *
70
+ * @returns Navigation target information or `null` if not navigable.
71
+ *
72
+ * @private
73
+ */
74
+ getDDSNavigationTarget(): NavigationTarget | null;
65
75
  render(): import('lit-html').TemplateResult<1>;
66
76
  /**
67
77
  * Focuses on the inner button or link.
@@ -24,7 +24,7 @@ const cvaLoadingContainer = classVarianceAuthority.cva(
24
24
  variants: {
25
25
  background: {
26
26
  false: ["bg-transparent"],
27
- true: ["bg-ddt-color-common-background-default", "rounded"]
27
+ true: ["bg-ddt-color-common-background-default", "rounded-sm"]
28
28
  }
29
29
  }
30
30
  }
@@ -42,7 +42,7 @@ const cvaLoading = classVarianceAuthority.cva(
42
42
  {
43
43
  variants: {
44
44
  size: {
45
- small: ["size-[1.125rem]", "border-2"],
45
+ small: ["size-4.5", "border-2"],
46
46
  medium: ["size-9", "border-4"]
47
47
  }
48
48
  }
@@ -34,15 +34,15 @@ const cvaWrapper = classVarianceAuthority.cva(
34
34
  type: {
35
35
  logo: [],
36
36
  link: [
37
- "focus-visible:outline",
37
+ "focus-visible:outline-solid",
38
38
  "focus-visible:outline-2",
39
39
  "focus-visible:outline-offset-2",
40
40
  "focus-visible:outline-ddt-color-common-border-focus"
41
41
  ]
42
42
  },
43
43
  mode: {
44
- positive: ["i-daikin-logo-positive"],
45
- negative: ["i-daikin-logo-negative"]
44
+ positive: ["icon-[daikin--logo-positive]"],
45
+ negative: ["icon-[daikin--logo-negative]"]
46
46
  }
47
47
  }
48
48
  }
@@ -53,8 +53,26 @@ exports.DaikinLogo = class DaikinLogo extends ddsElement.DDSElement {
53
53
  this.href = null;
54
54
  this.target = null;
55
55
  }
56
+ /**
57
+ * _Internal use._
58
+ * Returns the navigation target information.
59
+ * Used by navigation handling utilities.
60
+ *
61
+ * @returns Navigation target information or `null` if not navigable.
62
+ *
63
+ * @private
64
+ */
65
+ getDDSNavigationTarget() {
66
+ if (this.href == null) {
67
+ return null;
68
+ }
69
+ return {
70
+ href: this.href,
71
+ target: this.target
72
+ };
73
+ }
56
74
  render() {
57
- if (!this.href) {
75
+ if (this.href == null) {
58
76
  return lit.html`<span
59
77
  class=${cvaWrapper({ type: "logo", mode: this.mode })}
60
78
  role="img"
@@ -1,4 +1,4 @@
1
- import { DDSElement } from "../../base/index.cjs";
1
+ import { DDSElement, DDSNavigable, NavigationTarget } from "../../base/index.cjs";
2
2
  /**
3
3
  * The logo is a UI element that represents a brand, company or service. It serves as a visual identifier, helping users recognize and navigate within a specific application or website.
4
4
  *
@@ -18,7 +18,7 @@ import { DDSElement } from "../../base/index.cjs";
18
18
  * </div>
19
19
  * ```
20
20
  */
21
- export declare class DaikinLogo extends DDSElement {
21
+ export declare class DaikinLogo extends DDSElement implements DDSNavigable {
22
22
  static readonly styles: import('lit').CSSResult;
23
23
  /**
24
24
  * Link `href`.
@@ -43,7 +43,17 @@ export declare class DaikinLogo extends DDSElement {
43
43
  * @default "positive"
44
44
  */
45
45
  mode: "positive" | "negative";
46
- private _focusableElement;
46
+ private readonly _focusableElement;
47
+ /**
48
+ * _Internal use._
49
+ * Returns the navigation target information.
50
+ * Used by navigation handling utilities.
51
+ *
52
+ * @returns Navigation target information or `null` if not navigable.
53
+ *
54
+ * @private
55
+ */
56
+ getDDSNavigationTarget(): NavigationTarget | null;
47
57
  render(): import('lit-html').TemplateResult<1>;
48
58
  /**
49
59
  * Focuses on the inner link.
@@ -19,6 +19,7 @@ const daikinBreadcrumbItem = require("../breadcrumb-item/daikin-breadcrumb-item.
19
19
  const daikinButton = require("../button/daikin-button.cjs");
20
20
  const daikinIconButton = require("../icon-button/daikin-icon-button.cjs");
21
21
  const daikinListItem = require("../list-item/daikin-list-item.cjs");
22
+ const daikinNavigationItem = require("../navigation-item/daikin-navigation-item.cjs");
22
23
  var __defProp = Object.defineProperty;
23
24
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
24
25
  var __decorateClass = (decorators2, target, key, kind) => {
@@ -30,8 +31,8 @@ var __decorateClass = (decorators2, target, key, kind) => {
30
31
  return result;
31
32
  };
32
33
  const cvaMenu = classVarianceAuthority.cva([
33
- "left-[--floating-x,0]",
34
- "top-[--floating-y,0]",
34
+ "left-(--floating-x,0)",
35
+ "top-(--floating-y,0)",
35
36
  "w-max",
36
37
  "py-2",
37
38
  "border",
@@ -69,12 +70,13 @@ exports.DaikinMenu = class DaikinMenu extends ddsElement.DDSElement {
69
70
  * - `<daikin-icon-button>`
70
71
  * - `<daikin-avatar>`
71
72
  * - `<daikin-breadcrumb-item>`
73
+ * - `<daikin-navigation-item>`
72
74
  *
73
75
  * Returns the first matching element from the slot.
74
76
  */
75
77
  get triggerElement() {
76
78
  for (const control of this._controls) {
77
- if (control instanceof daikinButton.DaikinButton || control instanceof daikinIconButton.DaikinIconButton && control.type === "button" || control instanceof daikinAvatar.DaikinAvatar && control.type === "button" || control instanceof daikinBreadcrumbItem.DaikinBreadcrumbItem) {
79
+ if (control instanceof daikinButton.DaikinButton || control instanceof daikinIconButton.DaikinIconButton && control.type === "button" || control instanceof daikinAvatar.DaikinAvatar && control.type === "button" || control instanceof daikinBreadcrumbItem.DaikinBreadcrumbItem || control instanceof daikinNavigationItem.DaikinNavigationItem && control.type === "menu") {
78
80
  return control;
79
81
  }
80
82
  }
@@ -90,6 +92,10 @@ exports.DaikinMenu = class DaikinMenu extends ddsElement.DDSElement {
90
92
  control.buttonAriaHaspopup = "menu";
91
93
  } else if (control instanceof daikinAvatar.DaikinAvatar && control.type === "button") {
92
94
  control.avatarAriaHaspopup = "menu";
95
+ } else if (control instanceof daikinNavigationItem.DaikinNavigationItem && control.type === "menu") {
96
+ control.navigationItemAriaHaspopup = "menu";
97
+ } else if (control instanceof daikinBreadcrumbItem.DaikinBreadcrumbItem) {
98
+ control.breadcrumbAriaHaspopup = "menu";
93
99
  }
94
100
  }
95
101
  for (const daikinList of this._lists) {
@@ -106,6 +112,10 @@ exports.DaikinMenu = class DaikinMenu extends ddsElement.DDSElement {
106
112
  control.buttonAriaExpanded = `${this.open}`;
107
113
  } else if (control instanceof daikinAvatar.DaikinAvatar && control.type === "button") {
108
114
  control.avatarAriaExpanded = `${this.open}`;
115
+ } else if (control instanceof daikinNavigationItem.DaikinNavigationItem && control.type === "menu") {
116
+ control.navigationItemAriaExpanded = `${this.open}`;
117
+ } else if (control instanceof daikinBreadcrumbItem.DaikinBreadcrumbItem) {
118
+ control.breadcrumbAriaExpanded = `${this.open}`;
109
119
  }
110
120
  }
111
121
  }
@@ -201,13 +211,17 @@ exports.DaikinMenu.styles = lit.css`
201
211
 
202
212
  --ddc-menu-spacing: ${lit.unsafeCSS(DEFAULT_MENU_SPACING)};
203
213
  }
214
+
215
+ :host([open]) ::slotted(daikin-navigation-item) {
216
+ --chevron-rotation: 180deg;
217
+ }
204
218
  `;
205
219
  __decorateClass([
206
220
  decorators_js.queryAssignedElements({ slot: "menu", selector: "daikin-list" })
207
221
  ], exports.DaikinMenu.prototype, "_lists", 2);
208
222
  __decorateClass([
209
223
  decorators_js.queryAssignedElements({
210
- selector: "daikin-button,daikin-icon-button,daikin-avatar,daikin-breadcrumb-item"
224
+ selector: "daikin-button,daikin-icon-button,daikin-avatar,daikin-breadcrumb-item,daikin-navigation-item"
211
225
  })
212
226
  ], exports.DaikinMenu.prototype, "_controls", 2);
213
227
  __decorateClass([