@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
@@ -0,0 +1 @@
1
+ No third-party libraries are included in the final bundle, so the list appears empty.
@@ -84,6 +84,6 @@ const _DDSElement = class _DDSElement extends lit.LitElement {
84
84
  return this[key];
85
85
  }
86
86
  };
87
- _DDSElement.version = "1.4.1";
87
+ _DDSElement.version = "1.5.0";
88
88
  let DDSElement = _DDSElement;
89
89
  exports.DDSElement = DDSElement;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Describes a navigation destination for DDS components.
3
+ */
4
+ export interface NavigationTarget {
5
+ /** The destination URL. */
6
+ href: string;
7
+ /** The target browsing context, or null for default behavior. */
8
+ target: string | null;
9
+ }
10
+ /**
11
+ * Interface for DDS components that provide navigation capabilities.
12
+ */
13
+ export interface DDSNavigable extends HTMLElement {
14
+ /** Returns the navigation target derived from the element state. */
15
+ getDDSNavigationTarget(): NavigationTarget | null;
16
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./dds-element.cjs";
2
2
  export * from "./dds-form-element.cjs";
3
+ export * from "./dds-navigable.cjs";
3
4
  export * from "./dds-property.cjs";
4
5
  export * from "./decorators.cjs";
5
6
  export * from "./define.cjs";
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const classVarianceAuthority = require("class-variance-authority");
3
4
  const lit = require("lit");
4
5
  const decorators_js = require("lit/decorators.js");
5
6
  const ddsElement = require("../../base/dds-element.cjs");
@@ -18,9 +19,19 @@ var __decorateClass = (decorators2, target, key, kind) => {
18
19
  if (kind && result) __defProp(target, key, result);
19
20
  return result;
20
21
  };
22
+ const cvaAccordion = classVarianceAuthority.cva(["w-full"], {
23
+ variants: {
24
+ border: {
25
+ vertical: ["border-y border-ddt-color-divider"],
26
+ all: ["border border-ddt-color-divider"],
27
+ none: []
28
+ }
29
+ }
30
+ });
21
31
  exports.DaikinAccordion = class DaikinAccordion extends ddsElement.DDSElement {
22
32
  constructor() {
23
33
  super(...arguments);
34
+ this.border = "vertical";
24
35
  this.openItems = [];
25
36
  this.exclusive = false;
26
37
  }
@@ -51,7 +62,7 @@ exports.DaikinAccordion = class DaikinAccordion extends ddsElement.DDSElement {
51
62
  }
52
63
  }
53
64
  render() {
54
- return lit.html`<div class="w-full">
65
+ return lit.html`<div class=${cvaAccordion({ border: this.border })}>
55
66
  <slot
56
67
  @accordion-move-focus=${this._handleMoveFocus}
57
68
  @toggle=${this._handleToggle}
@@ -67,15 +78,27 @@ exports.DaikinAccordion.styles = lit.css`
67
78
  min-width: 10rem;
68
79
  }
69
80
 
70
- ::slotted(daikin-accordion-item) {
81
+ :host(:not([border="none"])) ::slotted(daikin-accordion-item) {
71
82
  --divider-top-display: block;
72
- --divider-bottom-display: none;
73
83
  }
74
84
 
75
- ::slotted(daikin-accordion-item:last-child) {
76
- --divider-bottom-display: block;
85
+ :host(:not([border="none"])) ::slotted(daikin-accordion-item:first-child) {
86
+ --divider-top-display: none;
77
87
  }
78
88
  `;
89
+ __decorateClass([
90
+ ddsProperty.property({
91
+ type: String,
92
+ reflect: true,
93
+ attribute: "border",
94
+ fallbackValue: "vertical",
95
+ isAllowedValue: ddsProperty.oneOf([
96
+ "vertical",
97
+ "all",
98
+ "none"
99
+ ])
100
+ })
101
+ ], exports.DaikinAccordion.prototype, "border", 2);
79
102
  __decorateClass([
80
103
  ddsProperty.property({ type: Array, attribute: false })
81
104
  ], exports.DaikinAccordion.prototype, "openItems", 2);
@@ -1,4 +1,9 @@
1
1
  import { DDSElement } from "../../base/index.cjs";
2
+ import { MergeVariantProps } from "../../type-utils.cjs";
3
+ declare const cvaAccordion: (props?: ({
4
+ border?: "vertical" | "all" | "none" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ type AccordionVariantProps = MergeVariantProps<typeof cvaAccordion>;
2
7
  /**
3
8
  * The accordion component serves as the parent element that organizes and manages the overall structure of the accordion.
4
9
  * Currently it only provides appropriate styles for individual accordion items.
@@ -34,6 +39,15 @@ import { DDSElement } from "../../base/index.cjs";
34
39
  */
35
40
  export declare class DaikinAccordion extends DDSElement {
36
41
  static readonly styles: import('lit').CSSResult;
42
+ /**
43
+ * The border type of the accordion.
44
+ * - `vertical`: Display the top and bottom border style.
45
+ * - `all`: Box border style.
46
+ * - `none`: No border style.
47
+ *
48
+ * @default "vertical"
49
+ */
50
+ border: AccordionVariantProps["border"];
37
51
  /**
38
52
  * A list of the names of the open items.
39
53
  * If `exclusive` is true, the number of elements is 0 or 1.
@@ -30,13 +30,13 @@ const cvaSummary = classVarianceAuthority.cva(
30
30
  "p-3",
31
31
  "natural-break",
32
32
  "text-left",
33
- "focus-visible:outline",
33
+ "focus-visible:outline-solid",
34
34
  "focus-visible:outline-2",
35
35
  "focus-visible:-outline-offset-2",
36
36
  "focus-visible:outline-ddt-color-common-border-focus",
37
37
  "after:size-6",
38
38
  "after:transition-all",
39
- "after:i-daikin-chevron-down",
39
+ "after:icon-[daikin--chevron-down]",
40
40
  "after:flex-none"
41
41
  ],
42
42
  {
@@ -59,7 +59,7 @@ const cvaSummary = classVarianceAuthority.cva(
59
59
  }
60
60
  }
61
61
  );
62
- const cvaContent = classVarianceAuthority.cva(["grid", "duration-[250ms]", "ease-in-out"], {
62
+ const cvaContent = classVarianceAuthority.cva(["grid", "duration-250", "ease-in-out"], {
63
63
  variants: {
64
64
  open: {
65
65
  false: ["grid-rows-[0fr]"],
@@ -128,7 +128,7 @@ exports.DaikinAccordionItem = class DaikinAccordionItem extends ddsElement.DDSEl
128
128
  role="region"
129
129
  class=${cvaContent({ open })}
130
130
  aria-labelledby="summary"
131
- ?hidden=${!open}
131
+ ?inert=${!open}
132
132
  >
133
133
  <div class="overflow-hidden">
134
134
  <div class="pt-2 px-3 pb-3">
@@ -28,7 +28,7 @@ const cvaWrapper = classVarianceAuthority.cva(
28
28
  "overflow-hidden",
29
29
  "box-border",
30
30
  "size-full",
31
- "focus-visible:outline",
31
+ "focus-visible:outline-solid",
32
32
  "focus-visible:outline-2",
33
33
  "focus-visible:outline-offset-2",
34
34
  "focus-visible:outline-ddt-color-common-border-focus"
@@ -53,10 +53,10 @@ const cvaWrapper = classVarianceAuthority.cva(
53
53
  link: [
54
54
  "link-enabled:bg-ddt-color-common-neutral-default",
55
55
  "link-enabled:text-ddt-color-common-surface-default",
56
- "link-enabled:hover:bg-ddt-color-common-neutral-hover",
57
- "link-enabled:hover:text-ddt-color-common-surface-hover",
58
- "link-enabled:active:bg-ddt-color-common-neutral-press",
59
- "link-enabled:active:text-ddt-color-common-surface-press",
56
+ "hover:link-enabled:bg-ddt-color-common-neutral-hover",
57
+ "hover:link-enabled:text-ddt-color-common-surface-hover",
58
+ "active:link-enabled:bg-ddt-color-common-neutral-press",
59
+ "active:link-enabled:text-ddt-color-common-surface-press",
60
60
  "link-disabled:bg-ddt-color-common-disabled",
61
61
  "link-disabled:text-ddt-color-common-surface-default"
62
62
  ]
@@ -78,10 +78,28 @@ exports.DaikinAvatar = class DaikinAvatar extends ddsElement.DDSElement {
78
78
  }
79
79
  });
80
80
  }
81
+ /**
82
+ * _Internal use._
83
+ * Returns the navigation target information.
84
+ * Used by navigation handling utilities.
85
+ *
86
+ * @returns Navigation target information or `null` if not navigable.
87
+ *
88
+ * @private
89
+ */
90
+ getDDSNavigationTarget() {
91
+ if (this.href == null || this.disabled || this.type !== "link") {
92
+ return null;
93
+ }
94
+ return {
95
+ href: this.href,
96
+ target: null
97
+ };
98
+ }
81
99
  render() {
82
100
  const icon = lit.html`
83
101
  <span
84
- class="i-daikin-profile"
102
+ class="icon-[daikin--profile] size-10"
85
103
  >
86
104
  </span>
87
105
  </daikin-icon>`;
@@ -1,4 +1,4 @@
1
- import { DDSElement } from "../../base/index.cjs";
1
+ import { DDSElement, DDSNavigable, NavigationTarget } from "../../base/index.cjs";
2
2
  import { MergeVariantProps } from "../../type-utils.cjs";
3
3
  declare const cvaWrapper: (props?: ({
4
4
  type?: "button" | "icon" | "link" | null | undefined;
@@ -19,7 +19,7 @@ type AvatarVariantProps = MergeVariantProps<typeof cvaWrapper>;
19
19
  * <daikin-avatar></daikin-avatar>
20
20
  * ```
21
21
  */
22
- export declare class DaikinAvatar extends DDSElement {
22
+ export declare class DaikinAvatar extends DDSElement implements DDSNavigable {
23
23
  static readonly styles: import('lit').CSSResult;
24
24
  /**
25
25
  * Replace the wrapping element.
@@ -52,8 +52,18 @@ export declare class DaikinAvatar extends DDSElement {
52
52
  * When used within a daikin-menu component, this property will be controlled by daikin-menu, so you don't need to specify it explicitly.
53
53
  */
54
54
  avatarAriaExpanded: "true" | "false" | "undefined" | null;
55
- private _focusableElement;
55
+ private readonly _focusableElement;
56
56
  constructor();
57
+ /**
58
+ * _Internal use._
59
+ * Returns the navigation target information.
60
+ * Used by navigation handling utilities.
61
+ *
62
+ * @returns Navigation target information or `null` if not navigable.
63
+ *
64
+ * @private
65
+ */
66
+ getDDSNavigationTarget(): NavigationTarget | null;
57
67
  render(): import('lit-html').TemplateResult<1>;
58
68
  /**
59
69
  * Focuses on the inner button or link.
@@ -32,8 +32,8 @@ const cvaBadge = classVarianceAuthority.cva(["absolute", "rounded-full"], {
32
32
  "flex",
33
33
  "items-center",
34
34
  "justify-center",
35
- "-top-[2px]",
36
- "-right-[2px]",
35
+ "-top-0.5",
36
+ "-right-0.5",
37
37
  "before:content-[attr(data-count)]",
38
38
  "before:leading-none",
39
39
  "before:whitespace-nowrap",
@@ -70,11 +70,6 @@ exports.DaikinBreadcrumb = class DaikinBreadcrumb extends ddsElement.DDSElement
70
70
  };
71
71
  exports.DaikinBreadcrumb.styles = lit.css`
72
72
  ${lit.unsafeCSS(tailwind.default)}
73
-
74
- :host {
75
- padding-top: 0.25rem;
76
- padding-bottom: 0.25rem;
77
- }
78
73
  `;
79
74
  __decorateClass([
80
75
  ddsProperty.property({ type: Boolean, reflect: true, attribute: "show-visited" })
@@ -31,7 +31,7 @@ const LINK_CLASS_NAME = classVarianceAuthority.cva([
31
31
  "hover:bg-ddt-color-common-surface-brand-hover",
32
32
  "active:text-ddt-color-link-text-press",
33
33
  "active:bg-ddt-color-common-surface-brand-press",
34
- "focus-visible:outline",
34
+ "focus-visible:outline-solid",
35
35
  "focus-visible:outline-2",
36
36
  "focus-visible:outline-ddt-color-common-border-focus",
37
37
  "focus-visible:outline-offset-2"
@@ -43,6 +43,26 @@ exports.DaikinBreadcrumbItem = class DaikinBreadcrumbItem extends ddsElement.DDS
43
43
  this.target = null;
44
44
  this.showVisited = false;
45
45
  this.appendDivider = false;
46
+ this.breadcrumbAriaHaspopup = null;
47
+ this.breadcrumbAriaExpanded = null;
48
+ }
49
+ /**
50
+ * _Internal use._
51
+ * Returns the navigation target information.
52
+ * Used by navigation handling utilities.
53
+ *
54
+ * @returns Navigation target information or `null` if not navigable.
55
+ *
56
+ * @private
57
+ */
58
+ getDDSNavigationTarget() {
59
+ if (this.href == null || this.variant !== "normal") {
60
+ return null;
61
+ }
62
+ return {
63
+ href: this.href,
64
+ target: this.target
65
+ };
46
66
  }
47
67
  render() {
48
68
  const link = this.variant === "normal" ? lit.html`<daikin-link
@@ -56,6 +76,8 @@ exports.DaikinBreadcrumbItem = class DaikinBreadcrumbItem extends ddsElement.DDS
56
76
  type="button"
57
77
  class=${LINK_CLASS_NAME}
58
78
  aria-label="Show more items"
79
+ aria-haspopup=${ifDefined_js.ifDefined(this.breadcrumbAriaHaspopup)}
80
+ aria-expanded=${ifDefined_js.ifDefined(this.breadcrumbAriaExpanded)}
59
81
  >
60
82
  ...
61
83
  </button>` : lit.html`<a
@@ -102,6 +124,20 @@ __decorateClass([
102
124
  __decorateClass([
103
125
  ddsProperty.property({ type: Boolean, reflect: true, attribute: "append-divider" })
104
126
  ], exports.DaikinBreadcrumbItem.prototype, "appendDivider", 2);
127
+ __decorateClass([
128
+ ddsProperty.property({
129
+ type: String,
130
+ reflect: true,
131
+ attribute: "breadcrumb-aria-haspopup"
132
+ })
133
+ ], exports.DaikinBreadcrumbItem.prototype, "breadcrumbAriaHaspopup", 2);
134
+ __decorateClass([
135
+ ddsProperty.property({
136
+ type: String,
137
+ reflect: true,
138
+ attribute: "breadcrumb-aria-expanded"
139
+ })
140
+ ], exports.DaikinBreadcrumbItem.prototype, "breadcrumbAriaExpanded", 2);
105
141
  exports.DaikinBreadcrumbItem = __decorateClass([
106
142
  decorators.ddsElement("daikin-breadcrumb-item")
107
143
  ], exports.DaikinBreadcrumbItem);
@@ -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 `daikin-breadcrumb-item` is a component used to represent each item of the breadcrumb list, and is used as a child element of the `daikin-breadcrumb` component.
4
4
  *
@@ -20,8 +20,8 @@ import { DDSElement } from "../../base/index.cjs";
20
20
  * </daikin-breadcrumb-item>
21
21
  * ```
22
22
  */
23
- export declare class DaikinBreadcrumbItem extends DDSElement {
24
- static styles: import('lit').CSSResult;
23
+ export declare class DaikinBreadcrumbItem extends DDSElement implements DDSNavigable {
24
+ static readonly styles: import('lit').CSSResult;
25
25
  /**
26
26
  * Specify link href.
27
27
  */
@@ -51,6 +51,26 @@ export declare class DaikinBreadcrumbItem extends DDSElement {
51
51
  * @private
52
52
  */
53
53
  appendDivider: boolean;
54
+ /**
55
+ * The aria-haspopup of the breadcrumb item when `variant="ellipsis"`.
56
+ * When used within a daikin-menu component, this property is automatically assigned the value `breadcrumbAriaHaspopup="menu"`.
57
+ */
58
+ breadcrumbAriaHaspopup: "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | null;
59
+ /**
60
+ * The aria-expanded of breadcrumb item when `variant="ellipsis"`.
61
+ * When used within a daikin-menu component, this property will be controlled by daikin-menu, so you don't need to specify it explicitly.
62
+ */
63
+ breadcrumbAriaExpanded: "true" | "false" | "undefined" | null;
64
+ /**
65
+ * _Internal use._
66
+ * Returns the navigation target information.
67
+ * Used by navigation handling utilities.
68
+ *
69
+ * @returns Navigation target information or `null` if not navigable.
70
+ *
71
+ * @private
72
+ */
73
+ getDDSNavigationTarget(): NavigationTarget | null;
54
74
  render(): import('lit-html').TemplateResult<1>;
55
75
  }
56
76
  declare global {
@@ -28,44 +28,44 @@ const cvaButton = classVarianceAuthority.cva(
28
28
  "size-full",
29
29
  "font-daikinSerif",
30
30
  "font-bold",
31
- "rounded",
31
+ "rounded-sm",
32
32
  "tracking-wide",
33
33
  "text-nowrap",
34
34
  "leading-[130%]",
35
- "focus-visible:outline",
35
+ "focus-visible:outline-solid",
36
36
  "focus-visible:outline-2",
37
37
  "focus-visible:outline-offset-2",
38
38
  "focus-visible:outline-ddt-color-common-border-focus",
39
- "var-color-transparent/color-secondary",
40
- "link-disabled:var-color-ddt-color-common-disabled/color-primary"
39
+ "[--color-secondary:transparent]",
40
+ "link-disabled:[--color-primary:var(--dds-color-common-disabled)]"
41
41
  ],
42
42
  {
43
43
  variants: {
44
44
  color: {
45
45
  default: [
46
- "link-enabled:var-color-ddt-color-common-brand-default/color-primary",
47
- "link-enabled:hover:var-color-ddt-color-common-brand-hover/color-primary",
48
- "link-enabled:hover:var-color-ddt-color-common-surface-brand-hover/color-secondary",
49
- "link-enabled:active:var-color-ddt-color-common-brand-press/color-primary",
50
- "link-enabled:active:var-color-ddt-color-common-surface-brand-press/color-secondary"
46
+ "link-enabled:[--color-primary:var(--dds-color-common-brand-default)]",
47
+ "hover:link-enabled:[--color-primary:var(--dds-color-common-brand-hover)]",
48
+ "hover:link-enabled:[--color-secondary:var(--dds-color-common-surface-brand-hover)]",
49
+ "active:link-enabled:[--color-primary:var(--dds-color-common-brand-press)]",
50
+ "active:link-enabled:[--color-secondary:var(--dds-color-common-surface-brand-press)]"
51
51
  ],
52
52
  danger: [
53
- "link-enabled:var-color-ddt-color-common-danger-default/color-primary",
54
- "link-enabled:hover:var-color-ddt-color-common-danger-hover/color-primary",
55
- "link-enabled:hover:var-color-ddt-color-common-surface-danger-hover/color-secondary",
56
- "link-enabled:active:var-color-ddt-color-common-danger-press/color-primary",
57
- "link-enabled:active:var-color-ddt-color-common-surface-danger-press/color-secondary"
53
+ "link-enabled:[--color-primary:var(--dds-color-common-danger-default)]",
54
+ "hover:link-enabled:[--color-primary:var(--dds-color-common-danger-hover)]",
55
+ "hover:link-enabled:[--color-secondary:var(--dds-color-common-surface-danger-hover)]",
56
+ "active:link-enabled:[--color-primary:var(--dds-color-common-danger-press)]",
57
+ "active:link-enabled:[--color-secondary:var(--dds-color-common-surface-danger-press)]"
58
58
  ]
59
59
  },
60
60
  variant: {
61
- fill: ["text-ddt-color-common-text-inverse", "bg-[--color-primary]"],
61
+ fill: ["text-ddt-color-common-text-inverse", "bg-(--color-primary)"],
62
62
  outline: [
63
63
  "border",
64
- "text-[--color-primary]",
65
- "bg-[--color-secondary]",
66
- "border-[--color-primary]"
64
+ "text-(--color-primary)",
65
+ "bg-(--color-secondary)",
66
+ "border-(--color-primary)"
67
67
  ],
68
- ghost: ["text-[--color-primary]", "bg-[--color-secondary]"]
68
+ ghost: ["text-(--color-primary)", "bg-(--color-secondary)"]
69
69
  },
70
70
  size: {
71
71
  small: ["px-2", "text-sm"],
@@ -104,6 +104,24 @@ exports.DaikinButton = class DaikinButton extends ddsFormElement.DDSFormSubmitEl
104
104
  }
105
105
  });
106
106
  }
107
+ /**
108
+ * _Internal use._
109
+ * Returns the navigation target information.
110
+ * Used by navigation handling utilities.
111
+ *
112
+ * @returns Navigation target information or `null` if not navigable.
113
+ *
114
+ * @private
115
+ */
116
+ getDDSNavigationTarget() {
117
+ if (this.href == null || this.disabled || this.type !== "link") {
118
+ return null;
119
+ }
120
+ return {
121
+ href: this.href,
122
+ target: null
123
+ };
124
+ }
107
125
  render() {
108
126
  const className = cvaButton({
109
127
  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 cvaButton: (props?: ({
@@ -35,7 +35,7 @@ type ButtonVariantProps = MergeVariantProps<typeof cvaButton | typeof cvaIcon>;
35
35
  * </daikin-button>
36
36
  * ```
37
37
  */
38
- export declare class DaikinButton extends DDSFormSubmitElement {
38
+ export declare class DaikinButton extends DDSFormSubmitElement implements DDSNavigable {
39
39
  static readonly styles: import('lit').CSSResult;
40
40
  /**
41
41
  * Variant of the button.
@@ -91,8 +91,18 @@ export declare class DaikinButton extends DDSFormSubmitElement {
91
91
  * This is useful when the button is part of a composite widget and accessible via other keys.
92
92
  */
93
93
  buttonTabIndex: number;
94
- private _focusableElement;
94
+ private readonly _focusableElement;
95
95
  constructor();
96
+ /**
97
+ * _Internal use._
98
+ * Returns the navigation target information.
99
+ * Used by navigation handling utilities.
100
+ *
101
+ * @returns Navigation target information or `null` if not navigable.
102
+ *
103
+ * @private
104
+ */
105
+ getDDSNavigationTarget(): NavigationTarget | null;
96
106
  render(): import('lit-html').TemplateResult<1>;
97
107
  /**
98
108
  * Focuses on the inner button or link.
@@ -54,18 +54,18 @@ const cvaContentButton = classVarianceAuthority.cva(
54
54
  "justify-center",
55
55
  "rounded-full",
56
56
  "text-sm",
57
- "outline",
57
+ "outline-solid",
58
58
  "outline-2",
59
59
  "outline-offset-2",
60
60
  "outline-transparent",
61
61
  "focus-visible:outline-ddt-color-common-border-focus",
62
- "enabled:bg-[var(--color-primary)]",
62
+ "enabled:bg-(--color-primary)",
63
63
  "disabled:text-ddt-color-common-disabled"
64
64
  ],
65
65
  {
66
66
  variants: {
67
67
  date: {
68
- false: ["w-[calc((100%_-_3rem)/3)]", "h-8", "px-2"],
68
+ false: ["w-[calc((100%-3rem)/3)]", "h-8", "px-2"],
69
69
  true: ["size-8"]
70
70
  },
71
71
  variant: {
@@ -73,14 +73,14 @@ const cvaContentButton = classVarianceAuthority.cva(
73
73
  "enabled:text-ddt-color-common-neutral-default",
74
74
  "enabled:hover:text-ddt-color-common-neutral-hover",
75
75
  "enabled:active:text-ddt-color-common-neutral-press",
76
- "enabled:hover:var-color-ddt-color-common-surface-neutral-hover/color-primary",
77
- "enabled:active:var-color-ddt-color-common-surface-neutral-press/color-primary"
76
+ "enabled:hover:[--color-primary:var(--dds-color-common-surface-neutral-hover)]",
77
+ "enabled:active:[--color-primary:var(--dds-color-common-surface-neutral-press)]"
78
78
  ],
79
79
  selected: [
80
80
  "enabled:text-ddt-color-common-text-inverse",
81
- "var-color-ddt-color-common-brand-default/color-primary",
82
- "hover:var-color-ddt-color-common-brand-hover/color-primary",
83
- "active:var-color-ddt-color-common-brand-press/color-primary"
81
+ "[--color-primary:var(--dds-color-common-brand-default)]",
82
+ "hover:[--color-primary:var(--dds-color-common-brand-hover)]",
83
+ "active:[--color-primary:var(--dds-color-common-brand-press)]"
84
84
  ],
85
85
  today: [
86
86
  "enabled:text-ddt-color-common-neutral-default",
@@ -88,15 +88,15 @@ const cvaContentButton = classVarianceAuthority.cva(
88
88
  "enabled:active:text-ddt-color-common-neutral-press",
89
89
  "enabled:border",
90
90
  "enabled:border-ddt-color-common-neutral-default",
91
- "enabled:hover:var-color-ddt-color-common-surface-neutral-hover/color-primary",
92
- "enabled:active:var-color-ddt-color-common-surface-neutral-press/color-primary"
91
+ "enabled:hover:[--color-primary:var(--dds-color-common-surface-neutral-hover)]",
92
+ "enabled:active:[--color-primary:var(--dds-color-common-surface-neutral-press)]"
93
93
  ]
94
94
  }
95
95
  }
96
96
  }
97
97
  );
98
98
  function getToday() {
99
- return calendarCommon.normalizeDate(/* @__PURE__ */ new Date());
99
+ return calendarCommon.parseDateFromProperty(calendarCommon.getTodayForProperty());
100
100
  }
101
101
  function getNextFocusDateByKey(date, event) {
102
102
  const cloned = calendarCommon.cloneDate(date);
@@ -450,7 +450,7 @@ exports.DaikinCalendar = class DaikinCalendar extends ddsElement.DDSElement {
450
450
  day: this._createDatePicker
451
451
  }[view].call(this, renderState);
452
452
  return lit.html`<div
453
- class="flex items-stretch flex-col gap-2 w-[17.5rem] h-max pt-3 bg-ddt-color-common-background-default outline outline-1 -outline-offset-1 outline-ddt-color-divider rounded font-daikinSerif"
453
+ class="flex items-stretch flex-col gap-2 w-70 h-max pt-3 bg-ddt-color-common-background-default outline-solid outline-1 -outline-offset-1 outline-ddt-color-divider rounded-sm font-daikinSerif"
454
454
  >
455
455
  <div class="flex justify-between items-center pl-4 pr-3">
456
456
  <div class="flex items-center gap-2">
@@ -5,6 +5,7 @@ import { DDSElement } from "../../base/index.cjs";
5
5
  * Hierarchy:
6
6
  * - `daikin-card` > `daikin-card-header`
7
7
  * - `daikin-card` > `daikin-card-footer`
8
+ * - `daikin-card` > `daikin-empty-state`
8
9
  *
9
10
  * @slot - A slot for card header, body, card footer. Place `daikin-card-header`, custom body content, `daikin-card-footer` here in order.
10
11
  *
@@ -35,8 +35,8 @@ const cvaButton = classVarianceAuthority.cva(
35
35
  {
36
36
  variants: {
37
37
  intent: {
38
- previous: ["i-daikin-chevron-left"],
39
- next: ["i-daikin-chevron-right"]
38
+ previous: ["icon-[daikin--chevron-left]"],
39
+ next: ["icon-[daikin--chevron-right]"]
40
40
  }
41
41
  }
42
42
  }
@@ -58,7 +58,7 @@ const INDICATOR_CLASS_NAME = classVarianceAuthority.cva([
58
58
  "aria-selected:after:bg-ddt-color-common-brand-default",
59
59
  "aria-selected:after:absolute",
60
60
  "aria-selected:after:rounded-full",
61
- "aria-selected:focus-visible:after:outline",
61
+ "aria-selected:focus-visible:after:outline-solid",
62
62
  "aria-selected:focus-visible:after:outline-1",
63
63
  "aria-selected:focus-visible:after:outline-offset-1",
64
64
  "aria-selected:focus-visible:after:outline-ddt-color-common-border-focus"
@@ -145,11 +145,11 @@ exports.DaikinCarousel = class DaikinCarousel extends ddsElement.DDSElement {
145
145
  <span class=${cvaButton({ intent: "previous" })}></span>
146
146
  </daikin-icon-button>
147
147
  <div
148
- class="w-full overflow-clip relative focus-within:outline focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-ddt-color-common-border-focus [container-type:inline-size]"
148
+ class="w-full overflow-clip relative focus-within:outline-solid focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-ddt-color-common-border-focus @container"
149
149
  aria-live="polite"
150
150
  >
151
151
  <div
152
- class="flex w-[calc(100cqw*var(--total))] transition-transform translate-x-[calc(-100%*var(--current)/var(--total))] duration-[--ddc-transition-duration]"
152
+ class="flex w-[calc(100cqw*var(--total))] transition-transform translate-x-[calc(-100%*var(--current)/var(--total))] duration-(--ddc-transition-duration)"
153
153
  >
154
154
  <slot
155
155
  class="slotted:w-[calc(100%/var(--total))]"