@daikin-oss/design-system-web-components 0.6.0 → 1.0.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 (550) hide show
  1. package/CHANGELOG.md +167 -12
  2. package/README.md +40 -23
  3. package/dist/cjs/base/dds-element.cjs +8 -0
  4. package/dist/cjs/base/dds-element.d.cts +4 -0
  5. package/dist/cjs/base/decorators.cjs +13 -0
  6. package/dist/cjs/base/decorators.d.cts +2 -0
  7. package/dist/cjs/base/define.cjs +18 -0
  8. package/dist/cjs/base/define.d.cts +1 -0
  9. package/dist/cjs/base/index.cjs +8 -0
  10. package/dist/cjs/base/index.d.cts +3 -0
  11. package/dist/cjs/components/accordion/daikin-accordion.cjs +39 -6
  12. package/dist/cjs/components/accordion/daikin-accordion.d.cts +15 -2
  13. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +45 -85
  14. package/dist/cjs/components/accordion-item/daikin-accordion-item.d.cts +10 -16
  15. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +27 -85
  16. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +12 -24
  17. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +33 -82
  18. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +16 -25
  19. package/dist/cjs/components/button/daikin-button.cjs +36 -23
  20. package/dist/cjs/components/button/daikin-button.d.cts +8 -5
  21. package/dist/cjs/components/card/daikin-card.cjs +67 -0
  22. package/dist/cjs/components/card/daikin-card.d.cts +48 -0
  23. package/dist/cjs/components/card/index.cjs +7 -0
  24. package/dist/cjs/components/card/index.d.cts +1 -0
  25. package/dist/cjs/components/card-footer/daikin-card-footer.cjs +33 -0
  26. package/dist/cjs/components/card-footer/daikin-card-footer.d.cts +33 -0
  27. package/dist/cjs/components/card-footer/index.cjs +7 -0
  28. package/dist/cjs/components/card-footer/index.d.cts +1 -0
  29. package/dist/cjs/components/card-header/daikin-card-header.cjs +59 -0
  30. package/dist/cjs/components/card-header/daikin-card-header.d.cts +35 -0
  31. package/dist/cjs/components/card-header/index.cjs +7 -0
  32. package/dist/cjs/components/card-header/index.d.cts +1 -0
  33. package/dist/cjs/components/carousel/daikin-carousel.cjs +217 -0
  34. package/dist/cjs/components/carousel/daikin-carousel.d.cts +56 -0
  35. package/dist/cjs/components/carousel/index.cjs +7 -0
  36. package/dist/cjs/components/carousel/index.d.cts +1 -0
  37. package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +80 -0
  38. package/dist/cjs/components/carousel-item/daikin-carousel-item.d.cts +50 -0
  39. package/dist/cjs/components/carousel-item/index.cjs +7 -0
  40. package/dist/cjs/components/carousel-item/index.d.cts +1 -0
  41. package/dist/cjs/components/checkbox/daikin-checkbox.cjs +63 -45
  42. package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +4 -2
  43. package/dist/cjs/components/dropdown/daikin-dropdown.cjs +30 -19
  44. package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +16 -2
  45. package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +21 -14
  46. package/dist/cjs/components/dropdown-item/daikin-dropdown-item.d.cts +10 -2
  47. package/dist/cjs/components/icon/daikin-icon.cjs +16 -13
  48. package/dist/cjs/components/icon/daikin-icon.d.cts +5 -5
  49. package/dist/cjs/components/icon/icons.json.cjs +1 -70
  50. package/dist/cjs/components/icon/icons.json.d.cts +0 -8
  51. package/dist/cjs/components/icon-button/daikin-icon-button.cjs +29 -25
  52. package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +2 -2
  53. package/dist/cjs/components/index.cjs +56 -5
  54. package/dist/cjs/components/index.d.cts +11 -1
  55. package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +92 -0
  56. package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +55 -0
  57. package/dist/cjs/components/inline-notification/index.cjs +7 -0
  58. package/dist/cjs/components/inline-notification/index.d.cts +1 -0
  59. package/dist/cjs/components/input-group/daikin-input-group.cjs +71 -52
  60. package/dist/cjs/components/input-group/daikin-input-group.d.cts +25 -8
  61. package/dist/cjs/components/link/daikin-link.cjs +40 -55
  62. package/dist/cjs/components/link/daikin-link.d.cts +2 -2
  63. package/dist/cjs/components/list/daikin-list.cjs +9 -9
  64. package/dist/cjs/components/list/daikin-list.d.cts +7 -2
  65. package/dist/cjs/components/list-item/daikin-list-item.cjs +16 -13
  66. package/dist/cjs/components/list-item/daikin-list-item.d.cts +6 -2
  67. package/dist/cjs/components/pagination/daikin-pagination.cjs +40 -33
  68. package/dist/cjs/components/pagination/daikin-pagination.d.cts +6 -2
  69. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +33 -18
  70. package/dist/cjs/components/progress-bar/daikin-progress-bar.d.cts +3 -2
  71. package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +17 -26
  72. package/dist/cjs/components/progress-indicator/daikin-progress-indicator.d.cts +12 -5
  73. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +28 -29
  74. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +8 -4
  75. package/dist/cjs/components/radio/daikin-radio.cjs +57 -33
  76. package/dist/cjs/components/radio/daikin-radio.d.cts +18 -8
  77. package/dist/cjs/components/radio-group/daikin-radio-group.cjs +31 -11
  78. package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +20 -14
  79. package/dist/cjs/components/select/daikin-select.cjs +25 -16
  80. package/dist/cjs/components/select/daikin-select.d.cts +11 -2
  81. package/dist/cjs/components/tab/daikin-tab.cjs +38 -23
  82. package/dist/cjs/components/tab/daikin-tab.d.cts +7 -2
  83. package/dist/cjs/components/tab-panels/daikin-tab-panels.cjs +9 -7
  84. package/dist/cjs/components/tab-panels/daikin-tab-panels.d.cts +2 -2
  85. package/dist/cjs/components/table/daikin-table.cjs +15 -12
  86. package/dist/cjs/components/table/daikin-table.d.cts +9 -2
  87. package/dist/cjs/components/table-cell/daikin-table-cell.cjs +10 -7
  88. package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +6 -2
  89. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +12 -10
  90. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
  91. package/dist/cjs/components/tabs/daikin-tabs.cjs +25 -10
  92. package/dist/cjs/components/tabs/daikin-tabs.d.cts +8 -2
  93. package/dist/cjs/components/text-area/daikin-text-area.cjs +31 -20
  94. package/dist/cjs/components/text-area/daikin-text-area.d.cts +7 -2
  95. package/dist/cjs/components/text-field/daikin-text-field.cjs +29 -19
  96. package/dist/cjs/components/text-field/daikin-text-field.d.cts +7 -2
  97. package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +94 -0
  98. package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +69 -0
  99. package/dist/cjs/components/toast-notification/index.cjs +7 -0
  100. package/dist/cjs/components/toast-notification/index.d.cts +1 -0
  101. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +192 -0
  102. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +67 -0
  103. package/dist/cjs/components/toast-notification-manager/index.cjs +7 -0
  104. package/dist/cjs/components/toast-notification-manager/index.d.cts +1 -0
  105. package/dist/cjs/components/toggle/daikin-toggle.cjs +18 -15
  106. package/dist/cjs/components/toggle/daikin-toggle.d.cts +3 -2
  107. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +45 -33
  108. package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +16 -6
  109. package/dist/cjs/components/tree/common.cjs +90 -0
  110. package/dist/cjs/components/tree/common.d.cts +32 -0
  111. package/dist/cjs/components/tree/daikin-tree.cjs +108 -0
  112. package/dist/cjs/components/tree/daikin-tree.d.cts +73 -0
  113. package/dist/cjs/components/tree/index.cjs +7 -0
  114. package/dist/cjs/components/tree/index.d.cts +1 -0
  115. package/dist/cjs/components/tree-item/daikin-tree-item.cjs +201 -0
  116. package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +95 -0
  117. package/dist/cjs/components/tree-item/index.cjs +8 -0
  118. package/dist/cjs/components/tree-item/index.d.cts +1 -0
  119. package/dist/cjs/components/tree-section/daikin-tree-section.cjs +230 -0
  120. package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +109 -0
  121. package/dist/cjs/components/tree-section/index.cjs +7 -0
  122. package/dist/cjs/components/tree-section/index.d.cts +1 -0
  123. package/dist/cjs/controllers/click-outside.d.cts +1 -1
  124. package/dist/cjs/index.cjs +56 -7
  125. package/dist/cjs/index.d.cts +0 -1
  126. package/dist/cjs/tailwind.css.cjs +1 -1
  127. package/dist/cjs/utils/is-simple-key.cjs +6 -0
  128. package/dist/cjs/utils/is-simple-key.d.cts +7 -0
  129. package/dist/cjs/utils/notification-common.cjs +121 -0
  130. package/dist/cjs/utils/notification-common.d.cts +19 -0
  131. package/dist/cjs-dev/base/dds-element.cjs +8 -0
  132. package/dist/cjs-dev/base/dds-element.d.cts +4 -0
  133. package/dist/cjs-dev/base/decorators.cjs +13 -0
  134. package/dist/cjs-dev/base/decorators.d.cts +2 -0
  135. package/dist/cjs-dev/base/define.cjs +18 -0
  136. package/dist/cjs-dev/base/define.d.cts +1 -0
  137. package/dist/cjs-dev/base/index.cjs +8 -0
  138. package/dist/cjs-dev/base/index.d.cts +3 -0
  139. package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +46 -6
  140. package/dist/cjs-dev/components/accordion/daikin-accordion.d.cts +15 -2
  141. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +45 -85
  142. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.d.cts +10 -16
  143. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +27 -85
  144. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +12 -24
  145. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +33 -82
  146. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +16 -25
  147. package/dist/cjs-dev/components/button/daikin-button.cjs +36 -23
  148. package/dist/cjs-dev/components/button/daikin-button.d.cts +8 -5
  149. package/dist/cjs-dev/components/card/daikin-card.cjs +67 -0
  150. package/dist/cjs-dev/components/card/daikin-card.d.cts +48 -0
  151. package/dist/cjs-dev/components/card/index.cjs +7 -0
  152. package/dist/cjs-dev/components/card/index.d.cts +1 -0
  153. package/dist/cjs-dev/components/card-footer/daikin-card-footer.cjs +33 -0
  154. package/dist/cjs-dev/components/card-footer/daikin-card-footer.d.cts +33 -0
  155. package/dist/cjs-dev/components/card-footer/index.cjs +7 -0
  156. package/dist/cjs-dev/components/card-footer/index.d.cts +1 -0
  157. package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +59 -0
  158. package/dist/cjs-dev/components/card-header/daikin-card-header.d.cts +35 -0
  159. package/dist/cjs-dev/components/card-header/index.cjs +7 -0
  160. package/dist/cjs-dev/components/card-header/index.d.cts +1 -0
  161. package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +227 -0
  162. package/dist/cjs-dev/components/carousel/daikin-carousel.d.cts +56 -0
  163. package/dist/cjs-dev/components/carousel/index.cjs +7 -0
  164. package/dist/cjs-dev/components/carousel/index.d.cts +1 -0
  165. package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +80 -0
  166. package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.d.cts +50 -0
  167. package/dist/cjs-dev/components/carousel-item/index.cjs +7 -0
  168. package/dist/cjs-dev/components/carousel-item/index.d.cts +1 -0
  169. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +63 -45
  170. package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +4 -2
  171. package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +30 -19
  172. package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +16 -2
  173. package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +21 -14
  174. package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.d.cts +10 -2
  175. package/dist/cjs-dev/components/icon/daikin-icon.cjs +16 -13
  176. package/dist/cjs-dev/components/icon/daikin-icon.d.cts +5 -5
  177. package/dist/cjs-dev/components/icon/icons.json.cjs +1 -70
  178. package/dist/cjs-dev/components/icon/icons.json.d.cts +0 -8
  179. package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +29 -25
  180. package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +2 -2
  181. package/dist/cjs-dev/components/index.cjs +56 -5
  182. package/dist/cjs-dev/components/index.d.cts +11 -1
  183. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +92 -0
  184. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +55 -0
  185. package/dist/cjs-dev/components/inline-notification/index.cjs +7 -0
  186. package/dist/cjs-dev/components/inline-notification/index.d.cts +1 -0
  187. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +71 -52
  188. package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +25 -8
  189. package/dist/cjs-dev/components/link/daikin-link.cjs +40 -55
  190. package/dist/cjs-dev/components/link/daikin-link.d.cts +2 -2
  191. package/dist/cjs-dev/components/list/daikin-list.cjs +9 -9
  192. package/dist/cjs-dev/components/list/daikin-list.d.cts +7 -2
  193. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +16 -13
  194. package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +6 -2
  195. package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +40 -33
  196. package/dist/cjs-dev/components/pagination/daikin-pagination.d.cts +6 -2
  197. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +33 -18
  198. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.cts +3 -2
  199. package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.cjs +17 -36
  200. package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.d.cts +12 -5
  201. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +28 -29
  202. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +8 -4
  203. package/dist/cjs-dev/components/radio/daikin-radio.cjs +57 -33
  204. package/dist/cjs-dev/components/radio/daikin-radio.d.cts +18 -8
  205. package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +31 -11
  206. package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +20 -14
  207. package/dist/cjs-dev/components/select/daikin-select.cjs +25 -16
  208. package/dist/cjs-dev/components/select/daikin-select.d.cts +11 -2
  209. package/dist/cjs-dev/components/tab/daikin-tab.cjs +38 -23
  210. package/dist/cjs-dev/components/tab/daikin-tab.d.cts +7 -2
  211. package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.cjs +9 -7
  212. package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.d.cts +2 -2
  213. package/dist/cjs-dev/components/table/daikin-table.cjs +15 -12
  214. package/dist/cjs-dev/components/table/daikin-table.d.cts +9 -2
  215. package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +10 -7
  216. package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +6 -2
  217. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +12 -10
  218. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
  219. package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +25 -10
  220. package/dist/cjs-dev/components/tabs/daikin-tabs.d.cts +8 -2
  221. package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +31 -20
  222. package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +7 -2
  223. package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +29 -19
  224. package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +7 -2
  225. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +94 -0
  226. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +69 -0
  227. package/dist/cjs-dev/components/toast-notification/index.cjs +7 -0
  228. package/dist/cjs-dev/components/toast-notification/index.d.cts +1 -0
  229. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +192 -0
  230. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +67 -0
  231. package/dist/cjs-dev/components/toast-notification-manager/index.cjs +7 -0
  232. package/dist/cjs-dev/components/toast-notification-manager/index.d.cts +1 -0
  233. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +18 -15
  234. package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +3 -2
  235. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +45 -33
  236. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +16 -6
  237. package/dist/cjs-dev/components/tree/common.cjs +90 -0
  238. package/dist/cjs-dev/components/tree/common.d.cts +32 -0
  239. package/dist/cjs-dev/components/tree/daikin-tree.cjs +108 -0
  240. package/dist/cjs-dev/components/tree/daikin-tree.d.cts +73 -0
  241. package/dist/cjs-dev/components/tree/index.cjs +7 -0
  242. package/dist/cjs-dev/components/tree/index.d.cts +1 -0
  243. package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +201 -0
  244. package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +95 -0
  245. package/dist/cjs-dev/components/tree-item/index.cjs +8 -0
  246. package/dist/cjs-dev/components/tree-item/index.d.cts +1 -0
  247. package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +230 -0
  248. package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +109 -0
  249. package/dist/cjs-dev/components/tree-section/index.cjs +7 -0
  250. package/dist/cjs-dev/components/tree-section/index.d.cts +1 -0
  251. package/dist/cjs-dev/controllers/click-outside.d.cts +1 -1
  252. package/dist/cjs-dev/index.cjs +56 -7
  253. package/dist/cjs-dev/index.d.cts +0 -1
  254. package/dist/cjs-dev/tailwind.css.cjs +1 -1
  255. package/dist/cjs-dev/utils/is-simple-key.cjs +6 -0
  256. package/dist/cjs-dev/utils/is-simple-key.d.cts +7 -0
  257. package/dist/cjs-dev/utils/notification-common.cjs +124 -0
  258. package/dist/cjs-dev/utils/notification-common.d.cts +19 -0
  259. package/dist/es/base/dds-element.d.ts +4 -0
  260. package/dist/es/base/dds-element.js +8 -0
  261. package/dist/es/base/decorators.d.ts +2 -0
  262. package/dist/es/base/decorators.js +13 -0
  263. package/dist/es/base/define.d.ts +1 -0
  264. package/dist/es/base/define.js +18 -0
  265. package/dist/es/base/index.d.ts +3 -0
  266. package/dist/es/base/index.js +8 -0
  267. package/dist/es/components/accordion/daikin-accordion.d.ts +15 -2
  268. package/dist/es/components/accordion/daikin-accordion.js +38 -5
  269. package/dist/es/components/accordion-item/daikin-accordion-item.d.ts +10 -16
  270. package/dist/es/components/accordion-item/daikin-accordion-item.js +44 -84
  271. package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +12 -24
  272. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +26 -84
  273. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +16 -25
  274. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +32 -81
  275. package/dist/es/components/button/daikin-button.d.ts +8 -5
  276. package/dist/es/components/button/daikin-button.js +35 -22
  277. package/dist/es/components/card/daikin-card.d.ts +48 -0
  278. package/dist/es/components/card/daikin-card.js +68 -0
  279. package/dist/es/components/card/index.d.ts +1 -0
  280. package/dist/es/components/card/index.js +4 -0
  281. package/dist/es/components/card-footer/daikin-card-footer.d.ts +33 -0
  282. package/dist/es/components/card-footer/daikin-card-footer.js +34 -0
  283. package/dist/es/components/card-footer/index.d.ts +1 -0
  284. package/dist/es/components/card-footer/index.js +4 -0
  285. package/dist/es/components/card-header/daikin-card-header.d.ts +35 -0
  286. package/dist/es/components/card-header/daikin-card-header.js +60 -0
  287. package/dist/es/components/card-header/index.d.ts +1 -0
  288. package/dist/es/components/card-header/index.js +4 -0
  289. package/dist/es/components/carousel/daikin-carousel.d.ts +56 -0
  290. package/dist/es/components/carousel/daikin-carousel.js +218 -0
  291. package/dist/es/components/carousel/index.d.ts +1 -0
  292. package/dist/es/components/carousel/index.js +4 -0
  293. package/dist/es/components/carousel-item/daikin-carousel-item.d.ts +50 -0
  294. package/dist/es/components/carousel-item/daikin-carousel-item.js +81 -0
  295. package/dist/es/components/carousel-item/index.d.ts +1 -0
  296. package/dist/es/components/carousel-item/index.js +4 -0
  297. package/dist/es/components/checkbox/daikin-checkbox.d.ts +4 -2
  298. package/dist/es/components/checkbox/daikin-checkbox.js +62 -44
  299. package/dist/es/components/dropdown/daikin-dropdown.d.ts +16 -2
  300. package/dist/es/components/dropdown/daikin-dropdown.js +29 -18
  301. package/dist/es/components/dropdown-item/daikin-dropdown-item.d.ts +10 -2
  302. package/dist/es/components/dropdown-item/daikin-dropdown-item.js +20 -13
  303. package/dist/es/components/icon/daikin-icon.d.ts +5 -5
  304. package/dist/es/components/icon/daikin-icon.js +15 -12
  305. package/dist/es/components/icon/icons.json.d.ts +0 -8
  306. package/dist/es/components/icon/icons.json.js +1 -70
  307. package/dist/es/components/icon-button/daikin-icon-button.d.ts +2 -2
  308. package/dist/es/components/icon-button/daikin-icon-button.js +28 -24
  309. package/dist/es/components/index.d.ts +11 -1
  310. package/dist/es/components/index.js +23 -2
  311. package/dist/es/components/inline-notification/daikin-inline-notification.d.ts +55 -0
  312. package/dist/es/components/inline-notification/daikin-inline-notification.js +93 -0
  313. package/dist/es/components/inline-notification/index.d.ts +1 -0
  314. package/dist/es/components/inline-notification/index.js +4 -0
  315. package/dist/es/components/input-group/daikin-input-group.d.ts +25 -8
  316. package/dist/es/components/input-group/daikin-input-group.js +70 -51
  317. package/dist/es/components/link/daikin-link.d.ts +2 -2
  318. package/dist/es/components/link/daikin-link.js +39 -54
  319. package/dist/es/components/list/daikin-list.d.ts +7 -2
  320. package/dist/es/components/list/daikin-list.js +7 -7
  321. package/dist/es/components/list-item/daikin-list-item.d.ts +6 -2
  322. package/dist/es/components/list-item/daikin-list-item.js +15 -12
  323. package/dist/es/components/pagination/daikin-pagination.d.ts +6 -2
  324. package/dist/es/components/pagination/daikin-pagination.js +39 -32
  325. package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +3 -2
  326. package/dist/es/components/progress-bar/daikin-progress-bar.js +32 -17
  327. package/dist/es/components/progress-indicator/daikin-progress-indicator.d.ts +12 -5
  328. package/dist/es/components/progress-indicator/daikin-progress-indicator.js +16 -25
  329. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +8 -4
  330. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +27 -28
  331. package/dist/es/components/radio/daikin-radio.d.ts +18 -8
  332. package/dist/es/components/radio/daikin-radio.js +56 -32
  333. package/dist/es/components/radio-group/daikin-radio-group.d.ts +20 -14
  334. package/dist/es/components/radio-group/daikin-radio-group.js +30 -10
  335. package/dist/es/components/select/daikin-select.d.ts +11 -2
  336. package/dist/es/components/select/daikin-select.js +24 -15
  337. package/dist/es/components/tab/daikin-tab.d.ts +7 -2
  338. package/dist/es/components/tab/daikin-tab.js +37 -22
  339. package/dist/es/components/tab-panels/daikin-tab-panels.d.ts +2 -2
  340. package/dist/es/components/tab-panels/daikin-tab-panels.js +8 -6
  341. package/dist/es/components/table/daikin-table.d.ts +9 -2
  342. package/dist/es/components/table/daikin-table.js +14 -11
  343. package/dist/es/components/table-cell/daikin-table-cell.d.ts +6 -2
  344. package/dist/es/components/table-cell/daikin-table-cell.js +9 -6
  345. package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
  346. package/dist/es/components/table-header-cell/daikin-table-header-cell.js +11 -9
  347. package/dist/es/components/tabs/daikin-tabs.d.ts +8 -2
  348. package/dist/es/components/tabs/daikin-tabs.js +24 -9
  349. package/dist/es/components/text-area/daikin-text-area.d.ts +7 -2
  350. package/dist/es/components/text-area/daikin-text-area.js +30 -19
  351. package/dist/es/components/text-field/daikin-text-field.d.ts +7 -2
  352. package/dist/es/components/text-field/daikin-text-field.js +28 -18
  353. package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +69 -0
  354. package/dist/es/components/toast-notification/daikin-toast-notification.js +95 -0
  355. package/dist/es/components/toast-notification/index.d.ts +1 -0
  356. package/dist/es/components/toast-notification/index.js +4 -0
  357. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +67 -0
  358. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +193 -0
  359. package/dist/es/components/toast-notification-manager/index.d.ts +1 -0
  360. package/dist/es/components/toast-notification-manager/index.js +4 -0
  361. package/dist/es/components/toggle/daikin-toggle.d.ts +3 -2
  362. package/dist/es/components/toggle/daikin-toggle.js +17 -14
  363. package/dist/es/components/tooltip/daikin-tooltip.d.ts +16 -6
  364. package/dist/es/components/tooltip/daikin-tooltip.js +44 -32
  365. package/dist/es/components/tree/common.d.ts +32 -0
  366. package/dist/es/components/tree/common.js +90 -0
  367. package/dist/es/components/tree/daikin-tree.d.ts +73 -0
  368. package/dist/es/components/tree/daikin-tree.js +109 -0
  369. package/dist/es/components/tree/index.d.ts +1 -0
  370. package/dist/es/components/tree/index.js +4 -0
  371. package/dist/es/components/tree-item/daikin-tree-item.d.ts +95 -0
  372. package/dist/es/components/tree-item/daikin-tree-item.js +202 -0
  373. package/dist/es/components/tree-item/index.d.ts +1 -0
  374. package/dist/es/components/tree-item/index.js +5 -0
  375. package/dist/es/components/tree-section/daikin-tree-section.d.ts +109 -0
  376. package/dist/es/components/tree-section/daikin-tree-section.js +231 -0
  377. package/dist/es/components/tree-section/index.d.ts +1 -0
  378. package/dist/es/components/tree-section/index.js +4 -0
  379. package/dist/es/controllers/click-outside.d.ts +1 -1
  380. package/dist/es/index.d.ts +0 -1
  381. package/dist/es/index.js +23 -4
  382. package/dist/es/tailwind.css.js +1 -1
  383. package/dist/es/utils/is-simple-key.d.ts +7 -0
  384. package/dist/es/utils/is-simple-key.js +6 -0
  385. package/dist/es/utils/notification-common.d.ts +19 -0
  386. package/dist/es/utils/notification-common.js +121 -0
  387. package/dist/es-dev/base/dds-element.d.ts +4 -0
  388. package/dist/es-dev/base/dds-element.js +8 -0
  389. package/dist/es-dev/base/decorators.d.ts +2 -0
  390. package/dist/es-dev/base/decorators.js +13 -0
  391. package/dist/es-dev/base/define.d.ts +1 -0
  392. package/dist/es-dev/base/define.js +18 -0
  393. package/dist/es-dev/base/index.d.ts +3 -0
  394. package/dist/es-dev/base/index.js +8 -0
  395. package/dist/es-dev/components/accordion/daikin-accordion.d.ts +15 -2
  396. package/dist/es-dev/components/accordion/daikin-accordion.js +45 -5
  397. package/dist/es-dev/components/accordion-item/daikin-accordion-item.d.ts +10 -16
  398. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +44 -84
  399. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +12 -24
  400. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +26 -84
  401. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +16 -25
  402. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +32 -81
  403. package/dist/es-dev/components/button/daikin-button.d.ts +8 -5
  404. package/dist/es-dev/components/button/daikin-button.js +35 -22
  405. package/dist/es-dev/components/card/daikin-card.d.ts +48 -0
  406. package/dist/es-dev/components/card/daikin-card.js +68 -0
  407. package/dist/es-dev/components/card/index.d.ts +1 -0
  408. package/dist/es-dev/components/card/index.js +4 -0
  409. package/dist/es-dev/components/card-footer/daikin-card-footer.d.ts +33 -0
  410. package/dist/es-dev/components/card-footer/daikin-card-footer.js +34 -0
  411. package/dist/es-dev/components/card-footer/index.d.ts +1 -0
  412. package/dist/es-dev/components/card-footer/index.js +4 -0
  413. package/dist/es-dev/components/card-header/daikin-card-header.d.ts +35 -0
  414. package/dist/es-dev/components/card-header/daikin-card-header.js +60 -0
  415. package/dist/es-dev/components/card-header/index.d.ts +1 -0
  416. package/dist/es-dev/components/card-header/index.js +4 -0
  417. package/dist/es-dev/components/carousel/daikin-carousel.d.ts +56 -0
  418. package/dist/es-dev/components/carousel/daikin-carousel.js +228 -0
  419. package/dist/es-dev/components/carousel/index.d.ts +1 -0
  420. package/dist/es-dev/components/carousel/index.js +4 -0
  421. package/dist/es-dev/components/carousel-item/daikin-carousel-item.d.ts +50 -0
  422. package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +81 -0
  423. package/dist/es-dev/components/carousel-item/index.d.ts +1 -0
  424. package/dist/es-dev/components/carousel-item/index.js +4 -0
  425. package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +4 -2
  426. package/dist/es-dev/components/checkbox/daikin-checkbox.js +62 -44
  427. package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +16 -2
  428. package/dist/es-dev/components/dropdown/daikin-dropdown.js +29 -18
  429. package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.d.ts +10 -2
  430. package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +20 -13
  431. package/dist/es-dev/components/icon/daikin-icon.d.ts +5 -5
  432. package/dist/es-dev/components/icon/daikin-icon.js +15 -12
  433. package/dist/es-dev/components/icon/icons.json.d.ts +0 -8
  434. package/dist/es-dev/components/icon/icons.json.js +1 -70
  435. package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +2 -2
  436. package/dist/es-dev/components/icon-button/daikin-icon-button.js +28 -24
  437. package/dist/es-dev/components/index.d.ts +11 -1
  438. package/dist/es-dev/components/index.js +23 -2
  439. package/dist/es-dev/components/inline-notification/daikin-inline-notification.d.ts +55 -0
  440. package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +93 -0
  441. package/dist/es-dev/components/inline-notification/index.d.ts +1 -0
  442. package/dist/es-dev/components/inline-notification/index.js +4 -0
  443. package/dist/es-dev/components/input-group/daikin-input-group.d.ts +25 -8
  444. package/dist/es-dev/components/input-group/daikin-input-group.js +70 -51
  445. package/dist/es-dev/components/link/daikin-link.d.ts +2 -2
  446. package/dist/es-dev/components/link/daikin-link.js +39 -54
  447. package/dist/es-dev/components/list/daikin-list.d.ts +7 -2
  448. package/dist/es-dev/components/list/daikin-list.js +7 -7
  449. package/dist/es-dev/components/list-item/daikin-list-item.d.ts +6 -2
  450. package/dist/es-dev/components/list-item/daikin-list-item.js +15 -12
  451. package/dist/es-dev/components/pagination/daikin-pagination.d.ts +6 -2
  452. package/dist/es-dev/components/pagination/daikin-pagination.js +39 -32
  453. package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +3 -2
  454. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +32 -17
  455. package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.d.ts +12 -5
  456. package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +16 -35
  457. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +8 -4
  458. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +27 -28
  459. package/dist/es-dev/components/radio/daikin-radio.d.ts +18 -8
  460. package/dist/es-dev/components/radio/daikin-radio.js +56 -32
  461. package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +20 -14
  462. package/dist/es-dev/components/radio-group/daikin-radio-group.js +30 -10
  463. package/dist/es-dev/components/select/daikin-select.d.ts +11 -2
  464. package/dist/es-dev/components/select/daikin-select.js +24 -15
  465. package/dist/es-dev/components/tab/daikin-tab.d.ts +7 -2
  466. package/dist/es-dev/components/tab/daikin-tab.js +37 -22
  467. package/dist/es-dev/components/tab-panels/daikin-tab-panels.d.ts +2 -2
  468. package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +8 -6
  469. package/dist/es-dev/components/table/daikin-table.d.ts +9 -2
  470. package/dist/es-dev/components/table/daikin-table.js +14 -11
  471. package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +6 -2
  472. package/dist/es-dev/components/table-cell/daikin-table-cell.js +9 -6
  473. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
  474. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +11 -9
  475. package/dist/es-dev/components/tabs/daikin-tabs.d.ts +8 -2
  476. package/dist/es-dev/components/tabs/daikin-tabs.js +24 -9
  477. package/dist/es-dev/components/text-area/daikin-text-area.d.ts +7 -2
  478. package/dist/es-dev/components/text-area/daikin-text-area.js +30 -19
  479. package/dist/es-dev/components/text-field/daikin-text-field.d.ts +7 -2
  480. package/dist/es-dev/components/text-field/daikin-text-field.js +28 -18
  481. package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +69 -0
  482. package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +95 -0
  483. package/dist/es-dev/components/toast-notification/index.d.ts +1 -0
  484. package/dist/es-dev/components/toast-notification/index.js +4 -0
  485. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +67 -0
  486. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +193 -0
  487. package/dist/es-dev/components/toast-notification-manager/index.d.ts +1 -0
  488. package/dist/es-dev/components/toast-notification-manager/index.js +4 -0
  489. package/dist/es-dev/components/toggle/daikin-toggle.d.ts +3 -2
  490. package/dist/es-dev/components/toggle/daikin-toggle.js +17 -14
  491. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +16 -6
  492. package/dist/es-dev/components/tooltip/daikin-tooltip.js +44 -32
  493. package/dist/es-dev/components/tree/common.d.ts +32 -0
  494. package/dist/es-dev/components/tree/common.js +90 -0
  495. package/dist/es-dev/components/tree/daikin-tree.d.ts +73 -0
  496. package/dist/es-dev/components/tree/daikin-tree.js +109 -0
  497. package/dist/es-dev/components/tree/index.d.ts +1 -0
  498. package/dist/es-dev/components/tree/index.js +4 -0
  499. package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +95 -0
  500. package/dist/es-dev/components/tree-item/daikin-tree-item.js +202 -0
  501. package/dist/es-dev/components/tree-item/index.d.ts +1 -0
  502. package/dist/es-dev/components/tree-item/index.js +5 -0
  503. package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +109 -0
  504. package/dist/es-dev/components/tree-section/daikin-tree-section.js +231 -0
  505. package/dist/es-dev/components/tree-section/index.d.ts +1 -0
  506. package/dist/es-dev/components/tree-section/index.js +4 -0
  507. package/dist/es-dev/controllers/click-outside.d.ts +1 -1
  508. package/dist/es-dev/index.d.ts +0 -1
  509. package/dist/es-dev/index.js +23 -4
  510. package/dist/es-dev/tailwind.css.js +1 -1
  511. package/dist/es-dev/utils/is-simple-key.d.ts +7 -0
  512. package/dist/es-dev/utils/is-simple-key.js +6 -0
  513. package/dist/es-dev/utils/notification-common.d.ts +19 -0
  514. package/dist/es-dev/utils/notification-common.js +124 -0
  515. package/icons/checkbox-checked.svg +2 -3
  516. package/icons/sort.svg +1 -1
  517. package/icons/status-error.svg +1 -1
  518. package/icons/status-negative.svg +4 -2
  519. package/icons/status-warning.svg +2 -4
  520. package/package.json +58 -49
  521. package/dist/cjs/colors.cjs +0 -80
  522. package/dist/cjs/colors.d.cts +0 -69
  523. package/dist/cjs/components/notification/daikin-notification.cjs +0 -197
  524. package/dist/cjs/components/notification/daikin-notification.d.cts +0 -77
  525. package/dist/cjs/components/notification/index.cjs +0 -7
  526. package/dist/cjs/components/notification/index.d.cts +0 -1
  527. package/dist/cjs/constants/events.cjs +0 -4
  528. package/dist/cjs-dev/colors.cjs +0 -80
  529. package/dist/cjs-dev/colors.d.cts +0 -69
  530. package/dist/cjs-dev/components/notification/daikin-notification.cjs +0 -197
  531. package/dist/cjs-dev/components/notification/daikin-notification.d.cts +0 -77
  532. package/dist/cjs-dev/components/notification/index.cjs +0 -7
  533. package/dist/cjs-dev/components/notification/index.d.cts +0 -1
  534. package/dist/cjs-dev/constants/events.cjs +0 -4
  535. package/dist/es/colors.d.ts +0 -69
  536. package/dist/es/colors.js +0 -80
  537. package/dist/es/components/notification/daikin-notification.d.ts +0 -77
  538. package/dist/es/components/notification/daikin-notification.js +0 -198
  539. package/dist/es/components/notification/index.d.ts +0 -1
  540. package/dist/es/components/notification/index.js +0 -4
  541. package/dist/es/constants/events.js +0 -4
  542. package/dist/es-dev/colors.d.ts +0 -69
  543. package/dist/es-dev/colors.js +0 -80
  544. package/dist/es-dev/components/notification/daikin-notification.d.ts +0 -77
  545. package/dist/es-dev/components/notification/daikin-notification.js +0 -198
  546. package/dist/es-dev/components/notification/index.d.ts +0 -1
  547. package/dist/es-dev/components/notification/index.js +0 -4
  548. package/dist/es-dev/constants/events.js +0 -4
  549. package/icons/arrow-up.svg +0 -3
  550. package/icons/status-success.svg +0 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,160 @@
1
1
  # @daikin-oss/design-system-web-components
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#156](https://github.com/dsv-rp/DDS/pull/156) [`bb71fa8`](https://github.com/dsv-rp/DDS/commit/bb71fa8316e179b8e7d8b1944123bc9198b51734) Thanks [@yodas7](https://github.com/yodas7)! - v1 Release.
8
+
9
+ ### Minor Changes
10
+
11
+ - [#98](https://github.com/dsv-rp/DDS/pull/98) [`b5d0822`](https://github.com/dsv-rp/DDS/commit/b5d08224b88151d9be875f3d2ccb195fe71ce9fe) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Tooltip: The `variant` attribute has been replaced by the `color` attribute, which accepts `default` and `inverse` instead of `light` and `dark`.
12
+ Tooltip: Replaced colors with design tokens (brings dark mode support).
13
+ Tooltip: Update appearance.
14
+
15
+ - [#143](https://github.com/dsv-rp/DDS/pull/143) [`42c0a7f`](https://github.com/dsv-rp/DDS/commit/42c0a7f06ae2b39e9207a554549fd52f95fc0649) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - **BREAKING CHANGE** Radio Group: Fixed an issue where the `"horizontal"` and `"vertical"` of the `orientation` property were switched. Also, the default value is now `"vertical"`.
16
+
17
+ - [#109](https://github.com/dsv-rp/DDS/pull/109) [`f08378f`](https://github.com/dsv-rp/DDS/commit/f08378f746e93529d10ce40f9075e4e783b7e7dc) Thanks [@poetrainy](https://github.com/poetrainy)! - Carousel: Initial Implementation. (DDS-1296)
18
+
19
+ - [#124](https://github.com/dsv-rp/DDS/pull/124) [`2695f01`](https://github.com/dsv-rp/DDS/commit/2695f0162180baeff767334de5a13a0128bad8bc) Thanks [@poetrainy](https://github.com/poetrainy)! - Carousel Item: Added `title` and `description` slots. (DDS-1820)
20
+
21
+ - [#117](https://github.com/dsv-rp/DDS/pull/117) [`b45a524`](https://github.com/dsv-rp/DDS/commit/b45a524ed060a415621a4a57e1de8efb3925723b) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Accordion Item: The `open` attribute is now controlled by the parent `<daikin-accordion>` element.
22
+ Accordion: The `openItems` and `exclusive` attributes have been added.
23
+ Accordion Item: The `name` attribute has been added.
24
+
25
+ - [#130](https://github.com/dsv-rp/DDS/pull/130) [`80374c3`](https://github.com/dsv-rp/DDS/commit/80374c3e3330798ccc5385eacbb5b8c91a53d0dd) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - **BREAKING CHANGE** Icon: Removed arrowUp icon. (DDS-1822)
26
+
27
+ - [#132](https://github.com/dsv-rp/DDS/pull/132) [`c8e2137`](https://github.com/dsv-rp/DDS/commit/c8e2137ada522398f0f88c7046db309542f56116) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Tree: The selection status of the tree items is now managed by `selectedItems` property of `daikin-tree`. (DDS-1869)
28
+ **BREAKING CHANGE** Tree: The `selected` property has been removed. Use `selectedItems` instead. (DDS-1869)
29
+ Tree: Updated appearance. (DDS-1869)
30
+
31
+ ### Patch Changes
32
+
33
+ - [#119](https://github.com/dsv-rp/DDS/pull/119) [`1071b92`](https://github.com/dsv-rp/DDS/commit/1071b9250ed147f76ddf4bb402368897078c9d4b) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Notification: The notification component has been removed and split into inline notification and toast notification.
34
+ Toast Notification: Initial Implementation. (DDS-1172)
35
+ Inline Notification: Initial Implementation. (DDS-1362)
36
+
37
+ - [#151](https://github.com/dsv-rp/DDS/pull/151) [`bc99ad1`](https://github.com/dsv-rp/DDS/commit/bc99ad16878f12a4003ea7374971faca3293cbbb) Thanks [@yodas7](https://github.com/yodas7)! - Detect multiple registrations and display a warning if the versions are different.
38
+
39
+ - [#116](https://github.com/dsv-rp/DDS/pull/116) [`49fbc4b`](https://github.com/dsv-rp/DDS/commit/49fbc4bb39d3c1c39d0486f43cc9f9945fdbe794) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Pagination: Updated appearance.
40
+
41
+ - [#128](https://github.com/dsv-rp/DDS/pull/128) [`9e27a56`](https://github.com/dsv-rp/DDS/commit/9e27a565eb2e2f6f9b6781645d6fb04640930a16) Thanks [@poetrainy](https://github.com/poetrainy)! - Progress Bar: Updated appearance. (DDS-1865)
42
+
43
+ - [#118](https://github.com/dsv-rp/DDS/pull/118) [`b3c90a8`](https://github.com/dsv-rp/DDS/commit/b3c90a8f69b1144e9631c258b7b96bc792e8b7f2) Thanks [@poetrainy](https://github.com/poetrainy)! - Progress Bar: Updated appearance.
44
+
45
+ - [#133](https://github.com/dsv-rp/DDS/pull/133) [`396b75f`](https://github.com/dsv-rp/DDS/commit/396b75f0e6d9b271024ac35f502596fd7324e933) Thanks [@poetrainy](https://github.com/poetrainy)! - Checkbox: Added a slot to override the label. The behavior does not change if the slot is not used. (DDS-1859)
46
+ Checkbox: Fixed an issue where the size of the component could not be changed. (DDS-1859)
47
+ Checkbox: Updated appearance. (DDS-1859)
48
+
49
+ - [#139](https://github.com/dsv-rp/DDS/pull/139) [`08c7ebb`](https://github.com/dsv-rp/DDS/commit/08c7ebbfc375e22fa6dec58afc8eda84fc2e2b98) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - List: Updated documentation. (DDS-1838)
50
+
51
+ - [#113](https://github.com/dsv-rp/DDS/pull/113) [`d379004`](https://github.com/dsv-rp/DDS/commit/d3790049271f9a7c120991335428a48f229bab65) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Checkbox: Fixed an issue where clicking the label triggers click event twice. (DDS-1679)
52
+ Radio Button: Fixed an issue where clicking the label triggers click event twice. (DDS-1679)
53
+
54
+ - [#125](https://github.com/dsv-rp/DDS/pull/125) [`551d75d`](https://github.com/dsv-rp/DDS/commit/551d75dfd75794e0761905921d927493dc18e8fb) Thanks [@poetrainy](https://github.com/poetrainy)! - Input Group: Updated appearance. (DDS-1862)
55
+
56
+ - [#137](https://github.com/dsv-rp/DDS/pull/137) [`a92d21b`](https://github.com/dsv-rp/DDS/commit/a92d21ba7f81e8b4e0dd110753e8bbc6df3bafb4) Thanks [@poetrainy](https://github.com/poetrainy)! - Tabs: The `sizing` attribute has been added. (DDS-1889)
57
+ Tab: Updated appearance. (DDS-1889)
58
+
59
+ - [#126](https://github.com/dsv-rp/DDS/pull/126) [`6f602fd`](https://github.com/dsv-rp/DDS/commit/6f602fd5c3fcab05fdb7d208d6a5aa298351a318) Thanks [@poetrainy](https://github.com/poetrainy)! - Radio Group: Updated appearance. (DDS-1860)
60
+ Radio: Added a slot to override the label. The behavior does not change if the slot is not used. (DDS-1860)
61
+ Radio: Fixed an issue where the size of the component could not be changed. (DDS-1860)
62
+
63
+ - [#123](https://github.com/dsv-rp/DDS/pull/123) [`5f75fc5`](https://github.com/dsv-rp/DDS/commit/5f75fc5fa9207762744e55d079ccfbdc74413a36) Thanks [@poetrainy](https://github.com/poetrainy)! - Card: Fixed an issue where the size of the component could not be changed. (DDS-1871)
64
+ Card: Updated appearance. (DDS-1871)
65
+
66
+ - [#127](https://github.com/dsv-rp/DDS/pull/127) [`146ce67`](https://github.com/dsv-rp/DDS/commit/146ce670de011022ae5fa70debea6bd5db436bcf) Thanks [@poetrainy](https://github.com/poetrainy)! - Select: Updated appearance. (DDS-1872)
67
+
68
+ - [#140](https://github.com/dsv-rp/DDS/pull/140) [`40d58de`](https://github.com/dsv-rp/DDS/commit/40d58de5f4d8e67d52878c116ef69df4006f1c16) Thanks [@poetrainy](https://github.com/poetrainy)! - Progress Indicator: The `status` property of `<daikin-progress-indicator-item>` is now controlled by the `currentItem` property of the parent `<daikin-progress-indicator>` element. (DDS-1866)
69
+
70
+ - [#138](https://github.com/dsv-rp/DDS/pull/138) [`4556342`](https://github.com/dsv-rp/DDS/commit/455634225da4fcabd79ca209b286d61700309d17) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Link: Fixed an issue where the color was incorrect in Firefox. (DDS-1823)
71
+
72
+ - [#131](https://github.com/dsv-rp/DDS/pull/131) [`cf6fa55`](https://github.com/dsv-rp/DDS/commit/cf6fa55a6f6b0700238fb031643fb4b50cf8d8a0) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Pagination: Updated appearance. (DDS-1845)
73
+ Pagination: Added ARIA role. (DDS-1845)
74
+
75
+ - [#149](https://github.com/dsv-rp/DDS/pull/149) [`9edd37a`](https://github.com/dsv-rp/DDS/commit/9edd37a53f1fcedb590fe1cab307123e2aac77a7) Thanks [@poetrainy](https://github.com/poetrainy)! - Link: Updated appearance.
76
+
77
+ - [#141](https://github.com/dsv-rp/DDS/pull/141) [`bca6b9f`](https://github.com/dsv-rp/DDS/commit/bca6b9fd9a39c6a1de93d195e3fe71354fb8d43c) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Storybook: Changed the order of the properties in the Controls tab. (DDS-1907)
78
+
79
+ - [#115](https://github.com/dsv-rp/DDS/pull/115) [`91b8fe9`](https://github.com/dsv-rp/DDS/commit/91b8fe94b3262bd6197428e66192d7b9555b1d09) Thanks [@poetrainy](https://github.com/poetrainy)! - Progress Indicator: Updated appearance.
80
+
81
+ - [#122](https://github.com/dsv-rp/DDS/pull/122) [`94e5885`](https://github.com/dsv-rp/DDS/commit/94e588554b5e11d41f5dc86cada75b2dd2d41c9d) Thanks [@yodas7](https://github.com/yodas7)! - Updated dependencies.
82
+ This also resolves the problem of some Storybook pages not being able to be opened in Safari.
83
+
84
+ - [#135](https://github.com/dsv-rp/DDS/pull/135) [`4423787`](https://github.com/dsv-rp/DDS/commit/4423787fcf28f297022690b8bbca3c135742b68f) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Accordion: Fixed bugs when viewing in Safari. (DDS-1837)
85
+ Accordion: The contents of closed accordions will no longer be found by in-page search.
86
+ Accordion: Updated appearance. (DDS-1837)
87
+
88
+ - [#129](https://github.com/dsv-rp/DDS/pull/129) [`9042252`](https://github.com/dsv-rp/DDS/commit/9042252d31641f7bd08bc4cc7f61634cff24b3d3) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Button: Set the maximum width by default. (DDS-1821)
89
+ Button: Fixed an issue where click events could be propagated through disabled links. (DDS-1821)
90
+
91
+ - [#134](https://github.com/dsv-rp/DDS/pull/134) [`4c49e5e`](https://github.com/dsv-rp/DDS/commit/4c49e5ee305b5f169186245441bd27da8352c748) Thanks [@poetrainy](https://github.com/poetrainy)! - Text Area: Updated appearance. (DDS-1863)
92
+
93
+ - [#152](https://github.com/dsv-rp/DDS/pull/152) [`65fb740`](https://github.com/dsv-rp/DDS/commit/65fb74071e23e13ca981b76662cff3877d051e79) Thanks [@poetrainy](https://github.com/poetrainy)! - Tabs: Updated appearance. (DDS-1931)
94
+
95
+ - [#145](https://github.com/dsv-rp/DDS/pull/145) [`fcba2a4`](https://github.com/dsv-rp/DDS/commit/fcba2a4161f164c4301fba97c00097dbffe1ccc0) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Radio Group: Added support for reflecting the `disabled` property of the Input Group component. (DDS-1829)
96
+ Radio Group: Elements now wrap rather than overflow when placed horizontally. (DDS-1829)
97
+
98
+ - [#136](https://github.com/dsv-rp/DDS/pull/136) [`a148bc4`](https://github.com/dsv-rp/DDS/commit/a148bc4fa4ea8ee2a44efc45f8739513d5dc6065) Thanks [@poetrainy](https://github.com/poetrainy)! - Table: Updated appearance. (DDS-1857)
99
+
100
+ ## 0.7.0
101
+
102
+ ### Minor Changes
103
+
104
+ - [#100](https://github.com/dsv-rp/DDS/pull/100) [`b26b122`](https://github.com/dsv-rp/DDS/commit/b26b122562a2dc6400d91026fd9e04e6d4b5f324) Thanks [@poetrainy](https://github.com/poetrainy)! - Progress Indicator: Updated appearance. (DDS-1302)
105
+
106
+ - [#104](https://github.com/dsv-rp/DDS/pull/104) [`c01e66d`](https://github.com/dsv-rp/DDS/commit/c01e66d51936cb04d46e5daf7ca6239ca85826ba) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Breadcrumb: The `trailing-slash` and `overflow` attributes have been removed. (DDS-1642)
107
+ **BREAKING CHANGE** Breadcrumb Item: The `trailing-slash` attribute has been removed. (DDS-1642)
108
+ **BREAKING CHANGE** Breadcrumb Item: The `ellipsis` value of the `variant` attribute has been removed. In addition, the `current` value has been added. (DDS-1642)
109
+ Breadcrumb: The `show-visited` attribute has been added. (DDS-1642)
110
+ Breadcrumb: Updated appearance. (DDS-1642)
111
+ Breadcrumb Item: The `show-visited` attribute has been added. (DDS-1642)
112
+ Breadcrumb Item: Updated appearance. (DDS-1642)
113
+
114
+ - [#105](https://github.com/dsv-rp/DDS/pull/105) [`63cf888`](https://github.com/dsv-rp/DDS/commit/63cf8884649d46837e4012b9d85913dd7bf0cd5f) Thanks [@yodas7](https://github.com/yodas7)! - **BREAKING CHANGE** The `@daikin-oss/design-system-web-components` package now requires `@daikin-oss/dds-tokens` package as a peer dependency.
115
+ **BREAKING CHANGE** The `colors.js` file, which exported colors, has been removed. Please use `@daikin-oss/dds-tokens` instead.
116
+ **BREAKING CHANGE** Icon, Tooltip: Changed the prefix for CSS custom properties to `--ddc-` from `--dds-` to avoid conflicts.
117
+
118
+ - [#73](https://github.com/dsv-rp/DDS/pull/73) [`18a71f6`](https://github.com/dsv-rp/DDS/commit/18a71f6a86fd4bc1cf04172b0e646a657048cd42) Thanks [@poetrainy](https://github.com/poetrainy)! - Tree: Initial Implementation.
119
+
120
+ - [#99](https://github.com/dsv-rp/DDS/pull/99) [`0efff7a`](https://github.com/dsv-rp/DDS/commit/0efff7a021f73388d22f50df96be833a4b446ae7) Thanks [@poetrainy](https://github.com/poetrainy)! - Input Group: Updated appearance.
121
+ Progress bar: Updated appearance.
122
+
123
+ - [#107](https://github.com/dsv-rp/DDS/pull/107) [`2af6462`](https://github.com/dsv-rp/DDS/commit/2af646292808a87f5095f7d97e7647dde3ac2260) Thanks [@yodas7](https://github.com/yodas7)! - Accordion: Replaced colors with design tokens (brings dark mode support).
124
+ Breadcrumb: Replaced colors with design tokens (brings dark mode support).
125
+ Button: Replaced colors with design tokens (brings dark mode support).
126
+ Checkbox: Replaced colors with design tokens (brings dark mode support).
127
+ Dropdown: Replaced colors with design tokens (brings dark mode support).
128
+ Icon: Replaced colors with design tokens (brings dark mode support).
129
+ Icon Button: Replaced colors with design tokens (brings dark mode support).
130
+ Input Group: Replaced colors with design tokens (brings dark mode support).
131
+ Link: Replaced colors with design tokens (brings dark mode support).
132
+ List: Replaced colors with design tokens (brings dark mode support).
133
+ Notification: Replaced colors with design tokens (brings dark mode support).
134
+ Pagination: Replaced colors with design tokens (brings dark mode support).
135
+ Progress Bar: Replaced colors with design tokens (brings dark mode support).
136
+ Progress Indicator: Replaced colors with design tokens (brings dark mode support).
137
+ Radio Button: Replaced colors with design tokens (brings dark mode support).
138
+ Select: Replaced colors with design tokens (brings dark mode support).
139
+ Tab: Replaced colors with design tokens (brings dark mode support).
140
+ Table: Replaced colors with design tokens (brings dark mode support).
141
+ Text Area: Replaced colors with design tokens (brings dark mode support).
142
+ Text Field: Replaced colors with design tokens (brings dark mode support).
143
+ Toggle: Replaced colors with design tokens (brings dark mode support).
144
+ Tree: Replaced colors with design tokens (brings dark mode support).
145
+
146
+ ### Patch Changes
147
+
148
+ - [#111](https://github.com/dsv-rp/DDS/pull/111) [`598656f`](https://github.com/dsv-rp/DDS/commit/598656fc3851ac15461ffff9ca228fa9ad904deb) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Card: Initial Implementation. (DDS-1209)
149
+
150
+ - [#110](https://github.com/dsv-rp/DDS/pull/110) [`5d5db6b`](https://github.com/dsv-rp/DDS/commit/5d5db6b2990aae84511f5c4e721d101dc7887153) Thanks [@poetrainy](https://github.com/poetrainy)! - Icon Button: Fixed the issue where the size could not be changed. (DDS-1650)
151
+
152
+ - [#101](https://github.com/dsv-rp/DDS/pull/101) [`5150ef1`](https://github.com/dsv-rp/DDS/commit/5150ef1db56729b0adabbc3b246303241af7eed6) Thanks [@poetrainy](https://github.com/poetrainy)! - Text Area: Updated appearance. (DDS-1290)
153
+
154
+ - [#103](https://github.com/dsv-rp/DDS/pull/103) [`12fcb40`](https://github.com/dsv-rp/DDS/commit/12fcb406567c1a436f3ac39887096e91d63130da) Thanks [@poetrainy](https://github.com/poetrainy)! - Link: Fixed underline not shown correctly with line breaks.
155
+
156
+ - [#112](https://github.com/dsv-rp/DDS/pull/112) [`ffdda1e`](https://github.com/dsv-rp/DDS/commit/ffdda1eabd3e3e19dd9fe0929c390c9b56ae3340) Thanks [@poetrainy](https://github.com/poetrainy)! - Button: Updated appearance.
157
+
3
158
  ## 0.6.0
4
159
 
5
160
  ### Minor Changes
@@ -23,7 +178,7 @@
23
178
 
24
179
  - [#88](https://github.com/dsv-rp/DDS/pull/88) [`90e1625`](https://github.com/dsv-rp/DDS/commit/90e1625f6455b60670920e397a51370eba70ace8) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Icon: The `size` attribute now defaults to `current`.
25
180
  Icon Button: Add Icon Button Component. (DDS-1536)
26
- Icon: The `size` attribute now accepts `current`, which references `--dds-icon-size` CSS variable.
181
+ Icon: The `size` attribute now accepts `current` , which references `--dds-icon-size` CSS variable.
27
182
 
28
183
  - [#96](https://github.com/dsv-rp/DDS/pull/96) [`bdd827f`](https://github.com/dsv-rp/DDS/commit/bdd827fe1bc400de68f11a63bb6312d368cdadd9) Thanks [@poetrainy](https://github.com/poetrainy)! - Accordion: Update appearance.
29
184
 
@@ -52,14 +207,14 @@
52
207
 
53
208
  - [#74](https://github.com/dsv-rp/DDS/pull/74) [`3151097`](https://github.com/dsv-rp/DDS/commit/3151097362d40e58e18e70914c5dd2ee83f6c430) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Tooltip: The `closeOnClick` attribute has been removed. (DDS-1501)
54
209
  **BREAKING CHANGE** Tooltip: The `trigger` and `tooltip` CSS parts have been removed. (DDS-1501)
55
- **BREAKING CHANGE** Tooltip: The `tooltip` slot has been renamed to `description`. (DDS-1501)
56
- Tooltip: The `trigger` attribute now accepts value of `"click"`. (DDS-1501)
210
+ **BREAKING CHANGE** Tooltip: The `tooltip` slot has been renamed to `description` . (DDS-1501)
211
+ Tooltip: The `trigger` attribute now accepts value of `"click"` . (DDS-1501)
57
212
  Tooltip: The `popover-value` attribute has been added. (DDS-1501)
58
213
 
59
214
  - [#64](https://github.com/dsv-rp/DDS/pull/64) [`d0c031d`](https://github.com/dsv-rp/DDS/commit/d0c031d28a6eeac5043546ee01209e86c9f5fc2a) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Text Area: Renamed Textarea (`daikin-textarea`) to Text Area (`daikin-text-area`). (DDS-1327)
60
215
  **BREAKING CHANGE** Text Area: The `maxlength` attribute have been removed. (DDS-1327)
61
216
  **BREAKING CHANGE** Input Group: The `textareaCounter` attribute has been removed and the `textareaMaxCount` attribute has been added. (DDS-1327)
62
- Text Area: The `resizable`, `name` and `error` attributes has been added. (DDS-1327)
217
+ Text Area: The `resizable` , `name` and `error` attributes has been added. (DDS-1327)
63
218
  Text Area: Updated appearance. (DDS-1327)
64
219
 
65
220
  - [#62](https://github.com/dsv-rp/DDS/pull/62) [`94d6548`](https://github.com/dsv-rp/DDS/commit/94d65484625bebb2f17f023bb55b565d29d8c972) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Text Field: Renamed Text Input to Text Field. (DDS-1325)
@@ -87,35 +242,35 @@
87
242
 
88
243
  - [#60](https://github.com/dsv-rp/DDS/pull/60) [`b6d7d9f`](https://github.com/dsv-rp/DDS/commit/b6d7d9f4bb5286bb9a8dc719628624dcca3c0f75) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Checkbox: The `readonly`, `size` and `error` property has been removed. (DDS-1288)
89
244
  **BREAKING CHANGE** Checkbox: The `labelPosition` property now removed `"left"` value. (DDS-1288)
90
- **BREAKING CHANGE** Checkbox: The `labelPosition` attribute (not property) has been renamed to `label-position`. (DDS-1288)
245
+ **BREAKING CHANGE** Checkbox: The `labelPosition` attribute (not property) has been renamed to `label-position` . (DDS-1288)
91
246
  Checkbox: The `labelPosition` property now accepts `"hidden"` value. (DDS-1288)
92
247
  Checkbox: Updated appearance. (DDS-1288)
93
248
 
94
249
  - [#75](https://github.com/dsv-rp/DDS/pull/75) [`3922068`](https://github.com/dsv-rp/DDS/commit/3922068e28efcd5786f576435f68c35983f252c2) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Improve breadcrumb accessibility. (DDS-1482)
95
- **BREAKING CHANGE** Remove `link` slot from `daikin-breadcrumb-item`.
250
+ **BREAKING CHANGE** Remove `link` slot from `daikin-breadcrumb-item` .
96
251
 
97
252
  - [#69](https://github.com/dsv-rp/DDS/pull/69) [`3fcbc38`](https://github.com/dsv-rp/DDS/commit/3fcbc38a1affb1f3d50dbfb4e1aeb1fd34f301a7) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Accordion: The `title` attribute has been removed and replaced with a `summary` slot. (DDS-1414)
98
253
  Accordion: Updated appearance. (DDS-1414)
99
254
  Accordion Item: Updated appearance. (DDS-1414)
100
255
 
101
256
  - [#61](https://github.com/dsv-rp/DDS/pull/61) [`36ef955`](https://github.com/dsv-rp/DDS/commit/36ef9551a504de318a51a738b9b6b58edfb7f6f9) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Radio: The `readonly`, `size` and `error` properties have been removed. (DDS-1350)
102
- **BREAKING CHANGE** Radio: The `labelPosition` property no longer supports `"left"`. Instead, it now supports `"hidden"`. (DDS-1350)
103
- **BREAKING CHANGE** Radio: The `labelPosition` attribute (not property) has been renamed to `label-position`.
257
+ **BREAKING CHANGE** Radio: The `labelPosition` property no longer supports `"left"` . Instead, it now supports `"hidden"` . (DDS-1350)
258
+ **BREAKING CHANGE** Radio: The `labelPosition` attribute (not property) has been renamed to `label-position` .
104
259
  Radio: Updated appearance. (DDS-1350)
105
260
 
106
261
  - [#56](https://github.com/dsv-rp/DDS/pull/56) [`a81916a`](https://github.com/dsv-rp/DDS/commit/a81916ac21c4fec5e85eb1e8bf9005137887a662) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Button: The `role` attribute/property is renamed to `button-role` attribute and `buttonRole` property to avoid conflicts with standard HTML attributes.
107
- **BREAKING CHANGE** Button: The `variant` attribute now accepts values of `"fill"`, `"outline"` and `"ghost"`, instead of `"primary"`, `"secondary"`, `"tertiary"` and `"primaryDanger"`.
262
+ **BREAKING CHANGE** Button: The `variant` attribute now accepts values of `"fill"` , `"outline"` and `"ghost"` , instead of `"primary"` , `"secondary"` , `"tertiary"` and `"primaryDanger"` .
108
263
  **BREAKING CHANGE** Button: The `isLoading` attribute has been removed.
109
264
  **BREAKING CHANGE** Button: The `leftIcon` and `rightIcon` attributes have been renamed to `left-icon` and `right-icon` respectively.
110
- **BREAKING CHANGE** Button: The `type` attribute now accepts `"link"`, and whether the button becomes a link is now determined by the `type` attribute, not by the presence of the `href` attribute. If `href` is omitted with `type="link"`, it is treated as a disabled state.
111
- Button: Added `color` attribute that accepts values of `"default"` and `"danger"`.
265
+ **BREAKING CHANGE** Button: The `type` attribute now accepts `"link"` , and whether the button becomes a link is now determined by the `type` attribute, not by the presence of the `href` attribute. If `href` is omitted with `type="link"` , it is treated as a disabled state.
266
+ Button: Added `color` attribute that accepts values of `"default"` and `"danger"` .
112
267
  Button: Updated appearance. (DDS-1284)
113
268
 
114
269
  - [#50](https://github.com/dsv-rp/DDS/pull/50) [`4a34db7`](https://github.com/dsv-rp/DDS/commit/4a34db738bc08e347a790c0620bc602bbf1eac5b) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Notification: The `title` and `description` attributes have been removed, and their contents are now specified using slots with the same names.
115
270
 
116
271
  - [#67](https://github.com/dsv-rp/DDS/pull/67) [`d377f50`](https://github.com/dsv-rp/DDS/commit/d377f5043f8d12c37a28772e44173b0e2a778003) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Tabs: The name of the component has been changed from `Tab Group` to `Tabs`. Use `<daikin-tabs>` instead of `<daikin-tab-group>`. (DDS-1450)
117
272
  **BREAKING CHANGE** Tabs: The signatures of the `beforechange` and `change` events have been updated to match those of other components. (DDS-1450)
118
- **BREAKING CHANGE** Tab Panels: The name of the component has been changed from `Panel Switcher` to `Tab panels`. Use `<daikin-tab-panels>` instead of `<daikin-panel-switcher>`. (DDS-1450)
273
+ **BREAKING CHANGE** Tab Panels: The name of the component has been changed from `Panel Switcher` to `Tab panels` . Use `<daikin-tab-panels>` instead of `<daikin-panel-switcher>` . (DDS-1450)
119
274
  **BREAKING CHANGE** Tab: The `size` property has been removed. (DDS-1450)
120
275
  Tab: Updated appearance. (DDS-1450)
121
276
 
package/README.md CHANGED
@@ -9,7 +9,14 @@ This project is an implementation of the Daikin Design Kit using Web Components.
9
9
  Start by installing the package:
10
10
 
11
11
  ```sh
12
- npm install @daikin-oss/design-system-web-components
12
+ npm install @daikin-oss/design-system-web-components @daikin-oss/dds-tokens
13
+ ```
14
+
15
+ To deploy the necessary CSS variables, import the CSS or SCSS from the `@daikin-oss/dds-tokens` package:
16
+ For details, please check the [dds-tokens repository](https://github.com/dsv-rp/dds-tokens?tab=readme-ov-file#readme).
17
+
18
+ ```js
19
+ import "@daikin-oss/dds-tokens/css/daikin/Light/variables.css";
13
20
  ```
14
21
 
15
22
  You can then import necessary components in your bundle (the .js extension is optional):
@@ -18,8 +25,6 @@ You can then import necessary components in your bundle (the .js extension is op
18
25
  import "@daikin-oss/design-system-web-components/components/button/index.js";
19
26
  ```
20
27
 
21
- By default, out-of-the-box, the styles are for Daikin brand in light mode.
22
-
23
28
  ### Fonts
24
29
 
25
30
  We use Roboto as the font for our UI components.
@@ -77,7 +82,7 @@ Reference the CSS in HTML:
77
82
  ```html
78
83
  <link
79
84
  rel="stylesheet"
80
- href="node_modules/@daikin-oss/dds-tokens/build/css/DKN/Dark/buttons.css"
85
+ href="node_modules/@daikin-oss/dds-tokens/build/css/DKN/Dark/variables.css"
81
86
  media="(prefers-color-scheme: dark)"
82
87
  />
83
88
  ```
@@ -85,7 +90,7 @@ Reference the CSS in HTML:
85
90
  Using CSS `@import` with `prefers-color-scheme`:
86
91
 
87
92
  ```css
88
- @import "@daikin-oss/dds-tokens/css/daikin/Dark/buttons.css"
93
+ @import "@daikin-oss/dds-tokens/css/daikin/Dark/variables.css"
89
94
  (prefers-color-scheme: dark);
90
95
  ```
91
96
 
@@ -96,12 +101,12 @@ Reference the CSS in HTML:
96
101
  ```html
97
102
  <link
98
103
  rel="stylesheet"
99
- href="node_modules/@daikin-oss/dds-tokens/build/css/AAF/Dark/buttons.css"
104
+ href="node_modules/@daikin-oss/dds-tokens/build/css/AAF/Dark/variables.css"
100
105
  media="(prefers-color-scheme: light)"
101
106
  />
102
107
  <link
103
108
  rel="stylesheet"
104
- href="node_modules/@daikin-oss/dds-tokens/build/css/AAF/Dark/buttons.css"
109
+ href="node_modules/@daikin-oss/dds-tokens/build/css/AAF/Dark/variables.css"
105
110
  media="(prefers-color-scheme: dark)"
106
111
  />
107
112
  ```
@@ -109,9 +114,9 @@ Reference the CSS in HTML:
109
114
  Using CSS `@import` with `prefers-color-scheme`:
110
115
 
111
116
  ```css
112
- @import "@daikin-oss/dds-tokens/css/aaf/Light/buttons.css"
117
+ @import "@daikin-oss/dds-tokens/css/aaf/Light/variables.css"
113
118
  (prefers-color-scheme: light);
114
- @import "@daikin-oss/dds-tokens/css/aaf/Dark/buttons.css"
119
+ @import "@daikin-oss/dds-tokens/css/aaf/Dark/variables.css"
115
120
  (prefers-color-scheme: dark);
116
121
  ```
117
122
 
@@ -219,27 +224,39 @@ If you encounter an `Unknown word` error, add the word to the `cspell-dictionary
219
224
 
220
225
  ### Design Tokens
221
226
 
222
- _We are looking for a more efficient way to import tokens._
227
+ We manage and use design tokens to ensure consistency in our design system.
223
228
 
224
- 1. **Source of Truth**: The `tokens` we use is the foundation of our design styles and was grabbed from https://github.com/dsv-rp/dds-tokens/tree/main.
229
+ 1. **Source of Truth**:
230
+ The tokens we use is the foundation of our design styles and was grabbed from https://github.com/dsv-rp/dds-tokens.
231
+ These design tokens are deployed as CSS variables.
225
232
 
226
- 2. **Using in Components**: For the most part, we use the js variables to apply as the default style:
233
+ 2. **Usage in Components**:
234
+ The components make use of design tokens by referencing CSS variables.
235
+ Since they are integrated with Tailwind CSS, they are mostly used as utility classes, but in some cases they are directly referenced using `var()`.
227
236
 
228
- ```javascript
229
- import {
230
- buttonColorBackgroundPrimaryActive
231
- } from '@daikin-oss/dds-tokens/js/daikin/Light/variables.js';
237
+ ```ts
238
+ @ddsElement("daikin-link")
239
+ export class DaikinLink extends DDSElement {
240
+ static override readonly styles = css`
241
+ ${unsafeCSS(tailwindStyles)}
232
242
 
233
- class DaikinButton extends LitElement implements DaikinButtonProps {
234
- static styles = css`
235
- :host {
236
- --defaultButtonColorBackgroundPrimaryActive: ${unsafeCSS(
237
- buttonColorBackgroundPrimaryActive
238
- )};
243
+ :host([show-visited]:not([disabled])) a:visited {
244
+ /* HERE */
245
+ color: var(--dds-color-link-text-visited-default);
239
246
  }
240
247
  `;
241
248
 
242
- /* ...rest of the code */
249
+ override render() {
250
+ /* AND HERE (`text-ddt-*` classes) */
251
+ return html`
252
+ <a
253
+ class="text-ddt-color-link-text-default hover:text-ddt-color-link-text-hover"
254
+ href="https://www.example.com/"
255
+ >
256
+ ...
257
+ </a>
258
+ `;
259
+ }
243
260
  }
244
261
  ```
245
262
 
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const lit = require("lit");
4
+ const _DDSElement = class _DDSElement extends lit.LitElement {
5
+ };
6
+ _DDSElement.version = "1.0.0";
7
+ let DDSElement = _DDSElement;
8
+ exports.DDSElement = DDSElement;
@@ -0,0 +1,4 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class DDSElement extends LitElement {
3
+ static readonly version: string;
4
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const define = require("./define.cjs");
4
+ const ddsElement = (tagName) => (classOrTarget, context) => {
5
+ if (context) {
6
+ context.addInitializer(() => {
7
+ define.defineDDSElement(classOrTarget, tagName);
8
+ });
9
+ } else {
10
+ define.defineDDSElement(classOrTarget, tagName);
11
+ }
12
+ };
13
+ exports.ddsElement = ddsElement;
@@ -0,0 +1,2 @@
1
+ import { DDSElement } from "./dds-element.cjs";
2
+ export declare const ddsElement: (tagName: string) => (classOrTarget: typeof DDSElement, context?: ClassDecoratorContext<typeof DDSElement>) => void;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const ddsElement = require("./dds-element.cjs");
4
+ const currentVersion = ddsElement.DDSElement.version;
5
+ function defineDDSElement(ctor, name) {
6
+ const existing = customElements.get(name);
7
+ if (existing) {
8
+ const existingVersion = existing.version ?? "unknown version";
9
+ if (existingVersion !== currentVersion) {
10
+ console.warn(
11
+ `<${name}> is already registered but the version does not match. (${existingVersion} vs ${currentVersion})`
12
+ );
13
+ }
14
+ return;
15
+ }
16
+ customElements.define(name, ctor);
17
+ }
18
+ exports.defineDDSElement = defineDDSElement;
@@ -0,0 +1 @@
1
+ export declare function defineDDSElement(ctor: CustomElementConstructor, name: string): void;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const ddsElement = require("./dds-element.cjs");
4
+ const decorators = require("./decorators.cjs");
5
+ const define = require("./define.cjs");
6
+ exports.DDSElement = ddsElement.DDSElement;
7
+ exports.ddsElement = decorators.ddsElement;
8
+ exports.defineDDSElement = define.defineDDSElement;
@@ -0,0 +1,3 @@
1
+ export * from "./dds-element.cjs";
2
+ export * from "./decorators.cjs";
3
+ export * from "./define.cjs";
@@ -2,18 +2,26 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const lit = require("lit");
4
4
  const decorators_js = require("lit/decorators.js");
5
+ const ddsElement = require("../../base/dds-element.cjs");
6
+ const decorators = require("../../base/decorators.cjs");
7
+ require("../../base/define.cjs");
5
8
  const tailwind = require("../../tailwind.css.cjs");
6
9
  var __defProp = Object.defineProperty;
7
10
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8
- var __decorateClass = (decorators, target, key, kind) => {
11
+ var __decorateClass = (decorators2, target, key, kind) => {
9
12
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
10
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
11
- if (decorator = decorators[i])
13
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
14
+ if (decorator = decorators2[i])
12
15
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13
16
  if (kind && result) __defProp(target, key, result);
14
17
  return result;
15
18
  };
16
- exports.DaikinAccordion = class DaikinAccordion extends lit.LitElement {
19
+ exports.DaikinAccordion = class DaikinAccordion extends ddsElement.DDSElement {
20
+ constructor() {
21
+ super(...arguments);
22
+ this.openItems = [];
23
+ this.exclusive = false;
24
+ }
17
25
  _handleMoveFocus(event) {
18
26
  const moveOffset = event.detail.direction === "up" ? -1 : 1;
19
27
  const items = this._items.filter(({ disabled }) => !disabled);
@@ -25,9 +33,28 @@ exports.DaikinAccordion = class DaikinAccordion extends lit.LitElement {
25
33
  const nextItem = items[(focusedItemIndex + moveOffset + items.length) % items.length];
26
34
  nextItem.focus();
27
35
  }
36
+ _handleToggle(event) {
37
+ const targetValue = event.target.name;
38
+ const opened = !event.target.open;
39
+ if (this.exclusive) {
40
+ this.openItems = opened ? [targetValue] : [];
41
+ } else {
42
+ this.openItems = opened ? [...this.openItems, targetValue] : this.openItems.filter((item) => item != targetValue);
43
+ }
44
+ this._reflectItemOpen();
45
+ }
46
+ _reflectItemOpen() {
47
+ for (const item of this._items) {
48
+ item.open = this.openItems.includes(item.name);
49
+ }
50
+ }
28
51
  render() {
29
52
  return lit.html`<div class="w-full">
30
- <slot @accordion-move-focus=${this._handleMoveFocus}></slot>
53
+ <slot
54
+ @accordion-move-focus=${this._handleMoveFocus}
55
+ @toggle=${this._handleToggle}
56
+ @slotchange=${this._reflectItemOpen}
57
+ ></slot>
31
58
  </div>`;
32
59
  }
33
60
  };
@@ -47,9 +74,15 @@ exports.DaikinAccordion.styles = lit.css`
47
74
  --divider-bottom-display: block;
48
75
  }
49
76
  `;
77
+ __decorateClass([
78
+ decorators_js.property({ type: Array, attribute: false })
79
+ ], exports.DaikinAccordion.prototype, "openItems", 2);
80
+ __decorateClass([
81
+ decorators_js.property({ type: Boolean, reflect: true })
82
+ ], exports.DaikinAccordion.prototype, "exclusive", 2);
50
83
  __decorateClass([
51
84
  decorators_js.queryAssignedElements({ selector: "daikin-accordion-item" })
52
85
  ], exports.DaikinAccordion.prototype, "_items", 2);
53
86
  exports.DaikinAccordion = __decorateClass([
54
- decorators_js.customElement("daikin-accordion")
87
+ decorators.ddsElement("daikin-accordion")
55
88
  ], exports.DaikinAccordion);
@@ -1,4 +1,4 @@
1
- import { LitElement } from 'lit';
1
+ import { DDSElement } from "../../base/index.cjs";
2
2
  /**
3
3
  * The accordion component serves as the parent element that organizes and manages the overall structure of the accordion.
4
4
  * Currently it only provides appropriate styles for individual accordion items.
@@ -12,6 +12,7 @@ import { LitElement } from 'lit';
12
12
  *
13
13
  * ```js
14
14
  * import "@daikin-oss/design-system-web-components/components/accordion/index.js";
15
+ * import "@daikin-oss/design-system-web-components/components/accordion-item/index.js";
15
16
  * ```
16
17
  *
17
18
  * ```html
@@ -31,10 +32,22 @@ import { LitElement } from 'lit';
31
32
  * </daikin-accordion>
32
33
  * ```
33
34
  */
34
- export declare class DaikinAccordion extends LitElement {
35
+ export declare class DaikinAccordion extends DDSElement {
35
36
  static readonly styles: import('lit').CSSResult;
37
+ /**
38
+ * A list of the names of the open items.
39
+ * If `exclusive` is true, the number of elements is 0 or 1.
40
+ */
41
+ openItems: string[];
42
+ /**
43
+ * Whether or not to make the accordion exclusive.
44
+ * If true, the number of items that can be open at once is limited to one.
45
+ */
46
+ exclusive: boolean;
36
47
  private readonly _items;
37
48
  private _handleMoveFocus;
49
+ private _handleToggle;
50
+ private _reflectItemOpen;
38
51
  render(): import('lit-html').TemplateResult<1>;
39
52
  }
40
53
  declare global {