@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
@@ -1,101 +1,55 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const classVarianceAuthority = require("class-variance-authority");
4
3
  const lit = require("lit");
5
4
  const decorators_js = require("lit/decorators.js");
6
5
  const ifDefined_js = require("lit/directives/if-defined.js");
6
+ const ddsElement = require("../../base/dds-element.cjs");
7
+ const decorators = require("../../base/decorators.cjs");
8
+ require("../../base/define.cjs");
7
9
  const tailwind = require("../../tailwind.css.cjs");
10
+ require("../link/daikin-link.cjs");
8
11
  var __defProp = Object.defineProperty;
9
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
- var __decorateClass = (decorators, target, key, kind) => {
13
+ var __decorateClass = (decorators2, target, key, kind) => {
11
14
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
12
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
13
- if (decorator = decorators[i])
15
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
16
+ if (decorator = decorators2[i])
14
17
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
15
18
  if (kind && result) __defProp(target, key, result);
16
19
  return result;
17
20
  };
18
- const cvaLink = classVarianceAuthority.cva(
19
- [
20
- "h-8",
21
- "font-normal",
22
- "not-italic",
23
- "leading-8",
24
- "text-sm",
25
- "text-daikinBlue-500",
26
- "outline-none",
27
- "font-daikinSerif"
28
- ],
29
- {
30
- variants: {
31
- variant: {
32
- normal: [
33
- "hover:text-daikinBlue-300",
34
- "active:text-daikinNeutral-800",
35
- "focus-visible:text-daikinBlue-700"
36
- ],
37
- ellipsis: ["hover:text-daikinBlue-300"]
38
- },
39
- disabled: {
40
- true: [
41
- "!text-daikinNeutral-800",
42
- "pointer-events-none",
43
- "cursor-default",
44
- "focus-visible:!text-daikinNeutral-800"
45
- ],
46
- false: []
47
- }
48
- }
49
- }
50
- );
51
- exports.DaikinBreadcrumbItem = class DaikinBreadcrumbItem extends lit.LitElement {
21
+ exports.DaikinBreadcrumbItem = class DaikinBreadcrumbItem extends ddsElement.DDSElement {
52
22
  constructor() {
53
23
  super(...arguments);
54
- this.href = "";
24
+ this.href = null;
55
25
  this.variant = "normal";
56
- this.disabled = false;
57
26
  this.target = null;
58
- this.trailingSlash = false;
59
- this.last = false;
27
+ this.showVisited = false;
28
+ this.appendDivider = false;
60
29
  }
61
30
  render() {
62
- const slash = this.trailingSlash ? lit.html`<span
63
- class="text-daikinNeutral-800 font-daikinSerif"
31
+ const link = this.variant === "normal" ? lit.html`<daikin-link
32
+ class="text-sm"
33
+ href=${ifDefined_js.ifDefined(this.href ?? void 0)}
34
+ ?show-visited=${this.showVisited}
35
+ ><slot></slot
36
+ ></daikin-link>` : lit.html`<a
37
+ class="text-sm font-daikinSerif text-ddt-color-common-text-primary"
38
+ aria-disabled="true"
39
+ aria-current="true"
40
+ role="link"
41
+ ><slot></slot
42
+ ></a>`;
43
+ const divider = this.appendDivider ? lit.html`<span
44
+ class="text-ddt-color-common-text-primary mx-2 text-sm"
64
45
  aria-hidden="true"
65
- >
66
- /
67
- </span>` : null;
68
- const isDisabled = this.last || this.disabled;
69
- return lit.html`
70
- ${this.variant === "normal" ? lit.html`<a
71
- class=${cvaLink({ variant: this.variant, disabled: isDisabled })}
72
- href=${ifDefined_js.ifDefined(!isDisabled && this.href || void 0)}
73
- target=${// eslint-disable-next-line @typescript-eslint/no-explicit-any -- workaround lit-analyzer checking
74
- ifDefined_js.ifDefined(this.target)}
75
- aria-disabled=${ifDefined_js.ifDefined(isDisabled || void 0)}
76
- aria-current=${ifDefined_js.ifDefined(this.last || void 0)}
77
- >
78
- <slot></slot>
79
- </a>` : lit.html`<span class=${cvaLink(this)} aria-label="…">
80
- <span>. . .</span>
81
- </span> `}
82
- ${slash}
83
- `;
46
+ >/</span
47
+ >` : lit.nothing;
48
+ return lit.html`<div class="inline" role="listitem">${link}${divider}</div>`;
84
49
  }
85
50
  };
86
51
  exports.DaikinBreadcrumbItem.styles = lit.css`
87
52
  ${lit.unsafeCSS(tailwind.default)}
88
-
89
- :host {
90
- display: inline-flex;
91
- align-items: center;
92
- gap: 0.5rem;
93
- flex-shrink: 0;
94
- }
95
-
96
- :host([hidden]) {
97
- display: none;
98
- }
99
53
  `;
100
54
  __decorateClass([
101
55
  decorators_js.property({ type: String, reflect: true })
@@ -103,18 +57,15 @@ __decorateClass([
103
57
  __decorateClass([
104
58
  decorators_js.property({ type: String, reflect: true })
105
59
  ], exports.DaikinBreadcrumbItem.prototype, "variant", 2);
106
- __decorateClass([
107
- decorators_js.property({ type: Boolean, reflect: true })
108
- ], exports.DaikinBreadcrumbItem.prototype, "disabled", 2);
109
60
  __decorateClass([
110
61
  decorators_js.property({ type: String, reflect: true })
111
62
  ], exports.DaikinBreadcrumbItem.prototype, "target", 2);
112
63
  __decorateClass([
113
- decorators_js.property({ type: Boolean, reflect: true, attribute: "trailing-slash" })
114
- ], exports.DaikinBreadcrumbItem.prototype, "trailingSlash", 2);
64
+ decorators_js.property({ type: Boolean, reflect: true, attribute: "show-visited" })
65
+ ], exports.DaikinBreadcrumbItem.prototype, "showVisited", 2);
115
66
  __decorateClass([
116
- decorators_js.property({ type: Boolean, reflect: true })
117
- ], exports.DaikinBreadcrumbItem.prototype, "last", 2);
67
+ decorators_js.property({ type: Boolean, reflect: true, attribute: "append-divider" })
68
+ ], exports.DaikinBreadcrumbItem.prototype, "appendDivider", 2);
118
69
  exports.DaikinBreadcrumbItem = __decorateClass([
119
- decorators_js.customElement("daikin-breadcrumb-item")
70
+ decorators.ddsElement("daikin-breadcrumb-item")
120
71
  ], exports.DaikinBreadcrumbItem);
@@ -1,10 +1,4 @@
1
- import { LitElement } from 'lit';
2
- import { MergeVariantProps } from "../../type-utils.cjs";
3
- declare const cvaLink: (props?: ({
4
- variant?: "normal" | "ellipsis" | null | undefined;
5
- disabled?: boolean | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- type LinkVariantProps = MergeVariantProps<typeof cvaLink>;
1
+ import { DDSElement } from "../../base/index.cjs";
8
2
  /**
9
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.
10
4
  *
@@ -21,42 +15,40 @@ type LinkVariantProps = MergeVariantProps<typeof cvaLink>;
21
15
  *
22
16
  * ```html
23
17
  * <!-- See `daikin-breadcrumb` component for complete example. -->
24
- * <daikin-breadcrumb-item href="#">
25
- * Breadcrumb Item 1
18
+ * <daikin-breadcrumb-item href="https://www.example.com">
19
+ * Breadcrumb item
26
20
  * </daikin-breadcrumb-item>
27
21
  * ```
28
22
  */
29
- export declare class DaikinBreadcrumbItem extends LitElement {
23
+ export declare class DaikinBreadcrumbItem extends DDSElement {
30
24
  static styles: import('lit').CSSResult;
31
25
  /**
32
- * Specify link href
26
+ * Specify link href.
33
27
  */
34
- href: string;
28
+ href: string | null;
35
29
  /**
36
30
  * Specifies the display content.
37
31
  * If `ellipsis`, the "..." will be displayed instead of the link.
38
32
  * Set automatically by `daikin-breadcrumb`.
39
33
  */
40
- variant: LinkVariantProps["variant"];
34
+ variant: "normal" | "current";
41
35
  /**
42
- * Specify whether the link should be disabled
43
- */
44
- disabled: boolean;
45
- /**
46
- * Specify the link target
36
+ * Specify the link target.
47
37
  */
48
38
  target: string | null;
49
39
  /**
50
- * Whether the slash after the link should shown.
40
+ * Whether or not to change the color of visited links.
51
41
  * Set automatically by `daikin-breadcrumb`.
52
42
  */
53
- trailingSlash: boolean;
43
+ showVisited: boolean;
54
44
  /**
55
- * Whether the item is the last one.
56
- * When set to `true`, the item will also be considered to be the current page and the link will be disabled.
57
- * Automatically set by `daikin-breadcrumb` component.
45
+ * _Internal use._
46
+ * Whether or not to display the divider on the right.
47
+ * Set automatically by `daikin-breadcrumb`.
48
+ *
49
+ * @private
58
50
  */
59
- last: boolean;
51
+ appendDivider: boolean;
60
52
  render(): import('lit-html').TemplateResult<1>;
61
53
  }
62
54
  declare global {
@@ -64,4 +56,3 @@ declare global {
64
56
  "daikin-breadcrumb-item": DaikinBreadcrumbItem;
65
57
  }
66
58
  }
67
- export {};
@@ -4,13 +4,16 @@ const classVarianceAuthority = require("class-variance-authority");
4
4
  const lit = require("lit");
5
5
  const decorators_js = require("lit/decorators.js");
6
6
  const ifDefined_js = require("lit/directives/if-defined.js");
7
+ const ddsElement = require("../../base/dds-element.cjs");
8
+ const decorators = require("../../base/decorators.cjs");
9
+ require("../../base/define.cjs");
7
10
  const tailwind = require("../../tailwind.css.cjs");
8
11
  var __defProp = Object.defineProperty;
9
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
- var __decorateClass = (decorators, target, key, kind) => {
13
+ var __decorateClass = (decorators2, target, key, kind) => {
11
14
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
12
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
13
- if (decorator = decorators[i])
15
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
16
+ if (decorator = decorators2[i])
14
17
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
15
18
  if (kind && result) __defProp(target, key, result);
16
19
  return result;
@@ -27,33 +30,34 @@ const cvaButton = classVarianceAuthority.cva(
27
30
  "px-3",
28
31
  "tracking-wide",
29
32
  "text-nowrap",
33
+ "leading-[130%]",
30
34
  "focus-visible:outline",
31
35
  "focus-visible:outline-2",
32
36
  "focus-visible:outline-offset-2",
33
- "focus-visible:outline-system-state-focus",
37
+ "focus-visible:outline-ddt-color-common-border-focus",
34
38
  "var-color-transparent/color-secondary",
35
- "link-disabled:var-color-system-state-disabled/color-primary"
39
+ "link-disabled:var-color-ddt-color-common-disabled/color-primary"
36
40
  ],
37
41
  {
38
42
  variants: {
39
43
  color: {
40
44
  default: [
41
- "link-enabled:var-color-system-state-primary-active/color-primary",
42
- "link-enabled:hover:var-color-system-state-primary-hover/color-primary",
43
- "link-enabled:hover:var-color-system-state-primary-surface-hover/color-secondary",
44
- "link-enabled:active:var-color-system-state-primary-press/color-primary",
45
- "link-enabled:active:var-color-system-state-primary-surface-press/color-secondary"
45
+ "link-enabled:var-color-ddt-color-common-brand-default/color-primary",
46
+ "link-enabled:hover:var-color-ddt-color-common-brand-hover/color-primary",
47
+ "link-enabled:hover:var-color-ddt-color-common-surface-brand-hover/color-secondary",
48
+ "link-enabled:active:var-color-ddt-color-common-brand-press/color-primary",
49
+ "link-enabled:active:var-color-ddt-color-common-surface-brand-press/color-secondary"
46
50
  ],
47
51
  danger: [
48
- "link-enabled:var-color-system-state-error-active/color-primary",
49
- "link-enabled:hover:var-color-system-state-error-hover/color-primary",
50
- "link-enabled:hover:var-color-system-state-error-surface-hover/color-secondary",
51
- "link-enabled:active:var-color-system-state-error-press/color-primary",
52
- "link-enabled:active:var-color-system-state-error-surface-press/color-secondary"
52
+ "link-enabled:var-color-ddt-color-common-danger-default/color-primary",
53
+ "link-enabled:hover:var-color-ddt-color-common-danger-hover/color-primary",
54
+ "link-enabled:hover:var-color-ddt-color-common-surface-danger-hover/color-secondary",
55
+ "link-enabled:active:var-color-ddt-color-common-danger-press/color-primary",
56
+ "link-enabled:active:var-color-ddt-color-common-surface-danger-press/color-secondary"
53
57
  ]
54
58
  },
55
59
  variant: {
56
- fill: ["text-system-element-text-inverse", "bg-[--color-primary]"],
60
+ fill: ["text-ddt-color-common-text-inverse", "bg-[--color-primary]"],
57
61
  outline: [
58
62
  "border",
59
63
  "text-[--color-primary]",
@@ -64,12 +68,20 @@ const cvaButton = classVarianceAuthority.cva(
64
68
  },
65
69
  size: {
66
70
  small: ["text-sm"],
67
- medium: ["text-sm"]
71
+ medium: []
68
72
  }
69
73
  }
70
74
  }
71
75
  );
72
- exports.DaikinButton = class DaikinButton extends lit.LitElement {
76
+ const cvaIcon = classVarianceAuthority.cva([], {
77
+ variants: {
78
+ size: {
79
+ small: ["icon-size-4"],
80
+ medium: ["icon-size-6"]
81
+ }
82
+ }
83
+ });
84
+ exports.DaikinButton = class DaikinButton extends ddsElement.DDSElement {
73
85
  constructor() {
74
86
  super();
75
87
  this.variant = "fill";
@@ -80,7 +92,7 @@ exports.DaikinButton = class DaikinButton extends lit.LitElement {
80
92
  this.type = "button";
81
93
  this.buttonRole = null;
82
94
  this.addEventListener("click", (event) => {
83
- if (this.disabled) {
95
+ if (this.disabled || this.type === "link" && this.href == null) {
84
96
  event.stopImmediatePropagation();
85
97
  }
86
98
  });
@@ -117,11 +129,11 @@ exports.DaikinButton = class DaikinButton extends lit.LitElement {
117
129
  type=${this.type}
118
130
  role=${ifDefined_js.ifDefined(this.buttonRole ?? void 0)}
119
131
  >
120
- <slot name="left-icon" class="icon-size-6">
132
+ <slot name="left-icon" class=${cvaIcon({ size: this.size })}>
121
133
  <span class="block -ml-1"></span>
122
134
  </slot>
123
135
  <span class="px-2"><slot></slot></span>
124
- <slot name="right-icon" class="icon-size-6">
136
+ <slot name="right-icon" class=${cvaIcon({ size: this.size })}>
125
137
  <span class="block -mr-1"></span>
126
138
  </slot>
127
139
  </button>
@@ -140,7 +152,8 @@ exports.DaikinButton.styles = lit.css`
140
152
  ${lit.unsafeCSS(tailwind.default)}
141
153
 
142
154
  :host {
143
- display: inline-block;
155
+ display: inline-flex;
156
+ max-width: 100%;
144
157
  }
145
158
 
146
159
  :host([size="small"]) {
@@ -178,5 +191,5 @@ __decorateClass([
178
191
  decorators_js.query("a,button")
179
192
  ], exports.DaikinButton.prototype, "_focusableElement", 2);
180
193
  exports.DaikinButton = __decorateClass([
181
- decorators_js.customElement("daikin-button")
194
+ decorators.ddsElement("daikin-button")
182
195
  ], exports.DaikinButton);
@@ -1,4 +1,4 @@
1
- import { LitElement } from 'lit';
1
+ import { DDSElement } from "../../base/index.cjs";
2
2
  import { ARIARole } from "../../lit-analyzer-types.cjs";
3
3
  import { MergeVariantProps } from "../../type-utils.cjs";
4
4
  declare const cvaButton: (props?: ({
@@ -6,12 +6,15 @@ declare const cvaButton: (props?: ({
6
6
  variant?: "fill" | "outline" | "ghost" | null | undefined;
7
7
  size?: "small" | "medium" | null | undefined;
8
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
- type ButtonVariantProps = MergeVariantProps<typeof cvaButton>;
9
+ declare const cvaIcon: (props?: ({
10
+ size?: "small" | "medium" | null | undefined;
11
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
12
+ type ButtonVariantProps = MergeVariantProps<typeof cvaButton | typeof cvaIcon>;
10
13
  /**
11
14
  * The button component is a versatile UI element that triggers actions or submits forms when clicked.
12
15
  * It functions similarly to the HTML `<button>` tag, allowing users to initiate various operations such as submitting data, opening dialogs, or navigating to different sections of an application.
13
16
  *
14
- * @fires click - A retargeted event of a [click event](https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event) emitted from the inner `<button>` element. Suppressed if `disabled` is true,
17
+ * @fires click - A retargeted event of a [click event](https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event) emitted from the inner `<a>` or `<button>` element. Suppressed if `disabled` is true,
15
18
  *
16
19
  * @slot - A slot for the button content.
17
20
  * @slot left-icon - A slot for an icon to be placed to the left of the text. Place `daikin-icon` or something similar.
@@ -29,7 +32,7 @@ type ButtonVariantProps = MergeVariantProps<typeof cvaButton>;
29
32
  * </daikin-button>
30
33
  * ```
31
34
  */
32
- export declare class DaikinButton extends LitElement {
35
+ export declare class DaikinButton extends DDSElement {
33
36
  static readonly styles: import('lit').CSSResult;
34
37
  /**
35
38
  * Variant of the button.
@@ -55,7 +58,7 @@ export declare class DaikinButton extends LitElement {
55
58
  href: string | null;
56
59
  /**
57
60
  * Type of the button.
58
- * If `"link"` is specified, the button will be rendered as an `<a>` element or `<span>` element (if `disabled` is `true`).
61
+ * If `"link"` is specified, the button will be rendered as an `<a>` element.
59
62
  */
60
63
  type: "button" | "submit" | "reset" | "link";
61
64
  /**
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const classVarianceAuthority = require("class-variance-authority");
4
+ const lit = require("lit");
5
+ const decorators_js = require("lit/decorators.js");
6
+ const ddsElement = require("../../base/dds-element.cjs");
7
+ const decorators = require("../../base/decorators.cjs");
8
+ require("../../base/define.cjs");
9
+ const tailwind = require("../../tailwind.css.cjs");
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __decorateClass = (decorators2, target, key, kind) => {
13
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
14
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
15
+ if (decorator = decorators2[i])
16
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
17
+ if (kind && result) __defProp(target, key, result);
18
+ return result;
19
+ };
20
+ const cvaContainer = classVarianceAuthority.cva(
21
+ [
22
+ "flex",
23
+ "flex-col",
24
+ "gap-4",
25
+ "size-full",
26
+ "p-4",
27
+ "rounded-lg",
28
+ "bg-ddt-color-common-background-default"
29
+ ],
30
+ {
31
+ variants: {
32
+ outline: {
33
+ true: ["border", "border-ddt-color-divider"],
34
+ false: []
35
+ }
36
+ }
37
+ }
38
+ );
39
+ exports.DaikinCard = class DaikinCard extends ddsElement.DDSElement {
40
+ constructor() {
41
+ super(...arguments);
42
+ this.outline = false;
43
+ }
44
+ render() {
45
+ return lit.html`<div
46
+ class=${cvaContainer({
47
+ outline: this.outline
48
+ })}
49
+ >
50
+ <slot class="text-ddt-color-common-text-primary"></slot>
51
+ </div>`;
52
+ }
53
+ };
54
+ exports.DaikinCard.styles = lit.css`
55
+ ${lit.unsafeCSS(tailwind.default)}
56
+
57
+ :host {
58
+ display: block;
59
+ width: 100%;
60
+ }
61
+ `;
62
+ __decorateClass([
63
+ decorators_js.property({ type: Boolean, reflect: true })
64
+ ], exports.DaikinCard.prototype, "outline", 2);
65
+ exports.DaikinCard = __decorateClass([
66
+ decorators.ddsElement("daikin-card")
67
+ ], exports.DaikinCard);
@@ -0,0 +1,48 @@
1
+ import { DDSElement } from "../../base/index.cjs";
2
+ /**
3
+ * `daikin-card` is a component for display content related to a single subject. The content can consist of multiple elements of varying types and sizes.
4
+ *
5
+ * Hierarchy:
6
+ * - `daikin-card` > `daikin-card-header`
7
+ * - `daikin-card` > `daikin-card-footer`
8
+ *
9
+ * @slot - A slot for card header, body, card footer. Place `daikin-card-header`, custom body content, `daikin-card-footer` here in order.
10
+ *
11
+ * @example
12
+ *
13
+ * ```js
14
+ * import "@daikin-oss/design-system-web-components/components/card/index.js";
15
+ * import "@daikin-oss/design-system-web-components/components/card-footer/index.js";
16
+ * import "@daikin-oss/design-system-web-components/components/card-header/index.js";
17
+ * ```
18
+ *
19
+ * ```html
20
+ * <daikin-card outline>
21
+ * <daikin-card-header>
22
+ * <daikin-card-header>
23
+ * <daikin-icon slot="left-icon" icon="alarm" size="xl" color="current"></daikin-icon>
24
+ * <span slot="description">Description</span>
25
+ * <span>Card Title</span>
26
+ * <span slot="description">Description</span>
27
+ * </daikin-card-header>
28
+ * </daikin-card-header>
29
+ * <p>Card body.</p>
30
+ * <daikin-card-footer>
31
+ * <daikin-button size="small">Button</daikin-button>
32
+ * </daikin-card-footer>
33
+ * </daikin-card>
34
+ * ```
35
+ */
36
+ export declare class DaikinCard extends DDSElement {
37
+ static styles: import('lit').CSSResult;
38
+ /**
39
+ * Specify whether the card border to be visible or not.
40
+ */
41
+ outline: boolean;
42
+ render(): import('lit-html').TemplateResult<1>;
43
+ }
44
+ declare global {
45
+ interface HTMLElementTagNameMap {
46
+ "daikin-card": DaikinCard;
47
+ }
48
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const daikinCard = require("./daikin-card.cjs");
4
+ Object.defineProperty(exports, "DaikinCard", {
5
+ enumerable: true,
6
+ get: () => daikinCard.DaikinCard
7
+ });
@@ -0,0 +1 @@
1
+ export * from "./daikin-card.cjs";
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const lit = require("lit");
4
+ const ddsElement = require("../../base/dds-element.cjs");
5
+ const decorators = require("../../base/decorators.cjs");
6
+ require("../../base/define.cjs");
7
+ const tailwind = require("../../tailwind.css.cjs");
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __decorateClass = (decorators2, target, key, kind) => {
10
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
11
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
12
+ if (decorator = decorators2[i])
13
+ result = decorator(result) || result;
14
+ return result;
15
+ };
16
+ exports.DaikinCardFooter = class DaikinCardFooter extends ddsElement.DDSElement {
17
+ render() {
18
+ return lit.html`<slot></slot>`;
19
+ }
20
+ };
21
+ exports.DaikinCardFooter.styles = lit.css`
22
+ ${lit.unsafeCSS(tailwind.default)}
23
+
24
+ :host {
25
+ display: flex;
26
+ align-items: center;
27
+ width: 100%;
28
+ justify-content: flex-end;
29
+ }
30
+ `;
31
+ exports.DaikinCardFooter = __decorateClass([
32
+ decorators.ddsElement("daikin-card-footer")
33
+ ], exports.DaikinCardFooter);
@@ -0,0 +1,33 @@
1
+ import { DDSElement } from "../../base/index.cjs";
2
+ /**
3
+ * `daikin-card-footer` is used to represent footer of the card component, and is used as a child element of the `daikin-card` component.
4
+ *
5
+ * Hierarchy:
6
+ * - `daikin-card` > `daikin-card-footer`
7
+ *
8
+ * @slot A slot for card footer action element. Place a `daikin-button` or `daikin-link` element here.
9
+ *
10
+ * @example
11
+ *
12
+ * ```js
13
+ * import "@daikin-oss/design-system-web-components/components/card-footer/index.js";
14
+ * ```
15
+ *
16
+ * ```html
17
+ * <!-- See `daikin-card` component for complete example. -->
18
+ * <daikin-card-footer>
19
+ * <daikin-button size="small" color="default">
20
+ * Button
21
+ * </daikin-button>
22
+ * </daikin-card-footer>
23
+ * ```
24
+ */
25
+ export declare class DaikinCardFooter extends DDSElement {
26
+ static styles: import('lit').CSSResult;
27
+ render(): import('lit-html').TemplateResult<1>;
28
+ }
29
+ declare global {
30
+ interface HTMLElementTagNameMap {
31
+ "daikin-card-footer": DaikinCardFooter;
32
+ }
33
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const daikinCardFooter = require("./daikin-card-footer.cjs");
4
+ Object.defineProperty(exports, "DaikinCardFooter", {
5
+ enumerable: true,
6
+ get: () => daikinCardFooter.DaikinCardFooter
7
+ });
@@ -0,0 +1 @@
1
+ export * from "./daikin-card-footer.cjs";
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const classVarianceAuthority = require("class-variance-authority");
4
+ const lit = require("lit");
5
+ const ddsElement = require("../../base/dds-element.cjs");
6
+ const decorators = require("../../base/decorators.cjs");
7
+ require("../../base/define.cjs");
8
+ const tailwind = require("../../tailwind.css.cjs");
9
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
+ var __decorateClass = (decorators2, target, key, kind) => {
11
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
12
+ for (var i = decorators2.length - 1, decorator; i >= 0; i--)
13
+ if (decorator = decorators2[i])
14
+ result = decorator(result) || result;
15
+ return result;
16
+ };
17
+ const cvaTitle = classVarianceAuthority.cva([
18
+ "flex-none",
19
+ "text-ddt-color-common-text-primary",
20
+ "font-daikinSerif",
21
+ "text-base",
22
+ "leading-[1.3]",
23
+ "not-italic",
24
+ "font-bold"
25
+ ])();
26
+ const cvaDescription = classVarianceAuthority.cva([
27
+ "flex-none",
28
+ "text-ddt-color-common-text-secondary",
29
+ "font-daikinSerif",
30
+ "text-sm",
31
+ "leading-normal",
32
+ "not-italic",
33
+ "font-normal"
34
+ ])();
35
+ exports.DaikinCardHeader = class DaikinCardHeader extends ddsElement.DDSElement {
36
+ render() {
37
+ return lit.html`<div class="flex w-full gap-1">
38
+ <slot
39
+ name="left-icon"
40
+ class="flex-none icon-size-6 text-ddt-color-common-text-primary"
41
+ ></slot>
42
+ <div class="flex-1 flex flex-col pt-0.5 gap-1">
43
+ <slot class=${cvaTitle}></slot>
44
+ <slot name="description" class=${cvaDescription}></slot>
45
+ </div>
46
+ </div>`;
47
+ }
48
+ };
49
+ exports.DaikinCardHeader.styles = lit.css`
50
+ ${lit.unsafeCSS(tailwind.default)}
51
+
52
+ :host {
53
+ display: flex;
54
+ align-items: center;
55
+ }
56
+ `;
57
+ exports.DaikinCardHeader = __decorateClass([
58
+ decorators.ddsElement("daikin-card-header")
59
+ ], exports.DaikinCardHeader);