@daikin-oss/design-system-web-components 1.1.0 → 1.3.0-next.2

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 (588) hide show
  1. package/CHANGELOG.md +145 -0
  2. package/LICENSE +1 -1
  3. package/dist/cjs/base/dds-element.cjs +1 -1
  4. package/dist/cjs/base/dds-form-element.cjs +139 -0
  5. package/dist/cjs/base/dds-form-element.d.cts +100 -0
  6. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +7 -3
  7. package/dist/cjs/components/avatar/daikin-avatar.cjs +1 -0
  8. package/dist/cjs/components/avatar/daikin-avatar.d.cts +3 -0
  9. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +2 -0
  10. package/dist/cjs/components/button/daikin-button.cjs +35 -13
  11. package/dist/cjs/components/button/daikin-button.d.cts +20 -10
  12. package/dist/cjs/components/calendar/daikin-calendar.cjs +549 -0
  13. package/dist/cjs/components/calendar/daikin-calendar.d.cts +87 -0
  14. package/dist/cjs/components/calendar/index.cjs +7 -0
  15. package/dist/cjs/components/calendar/index.d.cts +1 -0
  16. package/dist/cjs/components/card/daikin-card.cjs +1 -1
  17. package/dist/cjs/components/card-header/daikin-card-header.cjs +1 -1
  18. package/dist/cjs/components/carousel/daikin-carousel.cjs +7 -3
  19. package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +2 -2
  20. package/dist/cjs/components/checkbox/daikin-checkbox.cjs +12 -16
  21. package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +9 -12
  22. package/dist/cjs/components/checkbox-group/daikin-checkbox-group.cjs +94 -0
  23. package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +69 -0
  24. package/dist/cjs/components/checkbox-group/index.cjs +7 -0
  25. package/dist/cjs/components/checkbox-group/index.d.cts +1 -0
  26. package/dist/cjs/components/chip/daikin-chip.cjs +106 -0
  27. package/dist/cjs/components/chip/daikin-chip.d.cts +36 -0
  28. package/dist/cjs/components/chip/index.cjs +7 -0
  29. package/dist/cjs/components/chip/index.d.cts +1 -0
  30. package/dist/cjs/components/combobox/daikin-combobox.cjs +604 -0
  31. package/dist/cjs/components/combobox/daikin-combobox.d.cts +134 -0
  32. package/dist/cjs/components/combobox/index.cjs +8 -0
  33. package/dist/cjs/components/combobox/index.d.cts +1 -0
  34. package/dist/cjs/components/date-picker/daikin-date-picker.cjs +626 -0
  35. package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +106 -0
  36. package/dist/cjs/components/date-picker/index.cjs +7 -0
  37. package/dist/cjs/components/date-picker/index.d.cts +1 -0
  38. package/dist/cjs/components/dropdown/daikin-dropdown.cjs +91 -57
  39. package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +7 -15
  40. package/dist/cjs/components/icon/daikin-icon.cjs +117 -12
  41. package/dist/cjs/components/icon/daikin-icon.d.cts +129 -9
  42. package/dist/cjs/components/icon/icons.json.cjs +6 -2
  43. package/dist/cjs/components/icon/icons.json.d.cts +16 -16
  44. package/dist/cjs/components/icon-button/daikin-icon-button.cjs +30 -4
  45. package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +20 -2
  46. package/dist/cjs/components/index.cjs +81 -0
  47. package/dist/cjs/components/index.d.cts +14 -0
  48. package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +13 -18
  49. package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +3 -1
  50. package/dist/cjs/components/input-group/daikin-input-group.cjs +4 -4
  51. package/dist/cjs/components/input-group/daikin-input-group.d.cts +50 -1
  52. package/dist/cjs/components/list/daikin-list.cjs +75 -3
  53. package/dist/cjs/components/list/daikin-list.d.cts +16 -0
  54. package/dist/cjs/components/list-item/daikin-list-item.cjs +27 -7
  55. package/dist/cjs/components/list-item/daikin-list-item.d.cts +9 -3
  56. package/dist/cjs/components/loading/daikin-loading.cjs +1 -1
  57. package/dist/cjs/components/loading/daikin-loading.d.cts +1 -0
  58. package/dist/cjs/components/logo/daikin-logo.cjs +105 -0
  59. package/dist/cjs/components/logo/daikin-logo.d.cts +54 -0
  60. package/dist/cjs/components/logo/index.cjs +7 -0
  61. package/dist/cjs/components/logo/index.d.cts +1 -0
  62. package/dist/cjs/components/menu/daikin-menu.cjs +205 -0
  63. package/dist/cjs/components/menu/daikin-menu.d.cts +89 -0
  64. package/dist/cjs/components/menu/index.cjs +7 -0
  65. package/dist/cjs/components/menu/index.d.cts +1 -0
  66. package/dist/cjs/components/modal/daikin-modal.cjs +115 -0
  67. package/dist/cjs/components/modal/daikin-modal.d.cts +61 -0
  68. package/dist/cjs/components/modal/index.cjs +7 -0
  69. package/dist/cjs/components/modal/index.d.cts +1 -0
  70. package/dist/cjs/components/modal-footer/daikin-modal-footer.cjs +40 -0
  71. package/dist/cjs/components/modal-footer/daikin-modal-footer.d.cts +33 -0
  72. package/dist/cjs/components/modal-footer/index.cjs +7 -0
  73. package/dist/cjs/components/modal-footer/index.d.cts +1 -0
  74. package/dist/cjs/components/modal-header/daikin-modal-header.cjs +96 -0
  75. package/dist/cjs/components/modal-header/daikin-modal-header.d.cts +43 -0
  76. package/dist/cjs/components/modal-header/index.cjs +7 -0
  77. package/dist/cjs/components/modal-header/index.d.cts +1 -0
  78. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +5 -5
  79. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +1 -1
  80. package/dist/cjs/components/radio/daikin-radio.cjs +4 -13
  81. package/dist/cjs/components/radio/daikin-radio.d.cts +2 -12
  82. package/dist/cjs/components/radio-group/daikin-radio-group.cjs +1 -1
  83. package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +2 -1
  84. package/dist/cjs/components/select/daikin-select.cjs +6 -1
  85. package/dist/cjs/components/slider/daikin-slider.cjs +263 -0
  86. package/dist/cjs/components/slider/daikin-slider.d.cts +67 -0
  87. package/dist/cjs/components/slider/index.cjs +7 -0
  88. package/dist/cjs/components/slider/index.d.cts +1 -0
  89. package/dist/cjs/components/slider/slider-utils.cjs +57 -0
  90. package/dist/cjs/components/slider/slider-utils.d.cts +37 -0
  91. package/dist/cjs/components/tab/daikin-tab.cjs +1 -0
  92. package/dist/cjs/components/table/daikin-table.cjs +74 -15
  93. package/dist/cjs/components/table/daikin-table.d.cts +72 -34
  94. package/dist/cjs/components/table-cell/daikin-table-cell.cjs +2 -1
  95. package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +1 -1
  96. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +31 -6
  97. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +8 -1
  98. package/dist/cjs/components/tabs/daikin-tabs.cjs +2 -2
  99. package/dist/cjs/components/text-area/daikin-text-area.cjs +4 -13
  100. package/dist/cjs/components/text-area/daikin-text-area.d.cts +2 -12
  101. package/dist/cjs/components/text-field/daikin-text-field.cjs +289 -57
  102. package/dist/cjs/components/text-field/daikin-text-field.d.cts +57 -18
  103. package/dist/cjs/components/text-field/number-utils.cjs +61 -0
  104. package/dist/cjs/components/text-field/number-utils.d.cts +26 -0
  105. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +312 -0
  106. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +136 -0
  107. package/dist/cjs/components/text-masked-field/index.cjs +7 -0
  108. package/dist/cjs/components/text-masked-field/index.d.cts +1 -0
  109. package/dist/cjs/components/time-picker/daikin-time-picker.cjs +577 -0
  110. package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +165 -0
  111. package/dist/cjs/components/time-picker/index.cjs +17 -0
  112. package/dist/cjs/components/time-picker/index.d.cts +1 -0
  113. package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +10 -7
  114. package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +2 -0
  115. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +1 -1
  116. package/dist/cjs/components/toggle/daikin-toggle.cjs +4 -13
  117. package/dist/cjs/components/toggle/daikin-toggle.d.cts +2 -12
  118. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +24 -8
  119. package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +11 -3
  120. package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +2 -0
  121. package/dist/cjs/controllers/click-outside.cjs +3 -1
  122. package/dist/cjs/controllers/floating-ui-auto-update.cjs +22 -4
  123. package/dist/cjs/controllers/floating-ui-auto-update.d.cts +12 -0
  124. package/dist/cjs/controllers/focus-trap.cjs +42 -0
  125. package/dist/cjs/controllers/focus-trap.d.cts +10 -0
  126. package/dist/cjs/icon-registry.cjs +170 -0
  127. package/dist/cjs/icon-registry.d.cts +120 -0
  128. package/dist/cjs/index.cjs +84 -0
  129. package/dist/cjs/index.d.cts +1 -0
  130. package/dist/cjs/tailwind.css.cjs +1 -1
  131. package/dist/cjs/utils/calendar-common.cjs +151 -0
  132. package/dist/cjs/utils/calendar-common.d.cts +64 -0
  133. package/dist/cjs/utils/notification-common.cjs +19 -15
  134. package/dist/cjs/utils/notification-common.d.cts +2 -2
  135. package/dist/cjs/{components/tabs → utils}/scroller.cjs +20 -12
  136. package/dist/cjs/{components/tabs → utils}/scroller.d.cts +2 -2
  137. package/dist/cjs-dev/base/dds-element.cjs +1 -1
  138. package/dist/cjs-dev/base/dds-form-element.cjs +139 -0
  139. package/dist/cjs-dev/base/dds-form-element.d.cts +100 -0
  140. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +7 -3
  141. package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +1 -0
  142. package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +3 -0
  143. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +2 -0
  144. package/dist/cjs-dev/components/button/daikin-button.cjs +35 -13
  145. package/dist/cjs-dev/components/button/daikin-button.d.cts +20 -10
  146. package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +560 -0
  147. package/dist/cjs-dev/components/calendar/daikin-calendar.d.cts +87 -0
  148. package/dist/cjs-dev/components/calendar/index.cjs +7 -0
  149. package/dist/cjs-dev/components/calendar/index.d.cts +1 -0
  150. package/dist/cjs-dev/components/card/daikin-card.cjs +1 -1
  151. package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +1 -1
  152. package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +7 -3
  153. package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +2 -2
  154. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +12 -16
  155. package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +9 -12
  156. package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.cjs +94 -0
  157. package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +69 -0
  158. package/dist/cjs-dev/components/checkbox-group/index.cjs +7 -0
  159. package/dist/cjs-dev/components/checkbox-group/index.d.cts +1 -0
  160. package/dist/cjs-dev/components/chip/daikin-chip.cjs +106 -0
  161. package/dist/cjs-dev/components/chip/daikin-chip.d.cts +36 -0
  162. package/dist/cjs-dev/components/chip/index.cjs +7 -0
  163. package/dist/cjs-dev/components/chip/index.d.cts +1 -0
  164. package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +604 -0
  165. package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +134 -0
  166. package/dist/cjs-dev/components/combobox/index.cjs +8 -0
  167. package/dist/cjs-dev/components/combobox/index.d.cts +1 -0
  168. package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +637 -0
  169. package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +106 -0
  170. package/dist/cjs-dev/components/date-picker/index.cjs +7 -0
  171. package/dist/cjs-dev/components/date-picker/index.d.cts +1 -0
  172. package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +91 -57
  173. package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +7 -15
  174. package/dist/cjs-dev/components/icon/daikin-icon.cjs +141 -16
  175. package/dist/cjs-dev/components/icon/daikin-icon.d.cts +129 -9
  176. package/dist/cjs-dev/components/icon/icons.json.cjs +6 -2
  177. package/dist/cjs-dev/components/icon/icons.json.d.cts +16 -16
  178. package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +30 -4
  179. package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +20 -2
  180. package/dist/cjs-dev/components/index.cjs +81 -0
  181. package/dist/cjs-dev/components/index.d.cts +14 -0
  182. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +13 -18
  183. package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +3 -1
  184. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +4 -4
  185. package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +50 -1
  186. package/dist/cjs-dev/components/list/daikin-list.cjs +75 -3
  187. package/dist/cjs-dev/components/list/daikin-list.d.cts +16 -0
  188. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +27 -7
  189. package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +9 -3
  190. package/dist/cjs-dev/components/loading/daikin-loading.cjs +1 -1
  191. package/dist/cjs-dev/components/loading/daikin-loading.d.cts +1 -0
  192. package/dist/cjs-dev/components/logo/daikin-logo.cjs +105 -0
  193. package/dist/cjs-dev/components/logo/daikin-logo.d.cts +54 -0
  194. package/dist/cjs-dev/components/logo/index.cjs +7 -0
  195. package/dist/cjs-dev/components/logo/index.d.cts +1 -0
  196. package/dist/cjs-dev/components/menu/daikin-menu.cjs +205 -0
  197. package/dist/cjs-dev/components/menu/daikin-menu.d.cts +89 -0
  198. package/dist/cjs-dev/components/menu/index.cjs +7 -0
  199. package/dist/cjs-dev/components/menu/index.d.cts +1 -0
  200. package/dist/cjs-dev/components/modal/daikin-modal.cjs +115 -0
  201. package/dist/cjs-dev/components/modal/daikin-modal.d.cts +61 -0
  202. package/dist/cjs-dev/components/modal/index.cjs +7 -0
  203. package/dist/cjs-dev/components/modal/index.d.cts +1 -0
  204. package/dist/cjs-dev/components/modal-footer/daikin-modal-footer.cjs +40 -0
  205. package/dist/cjs-dev/components/modal-footer/daikin-modal-footer.d.cts +33 -0
  206. package/dist/cjs-dev/components/modal-footer/index.cjs +7 -0
  207. package/dist/cjs-dev/components/modal-footer/index.d.cts +1 -0
  208. package/dist/cjs-dev/components/modal-header/daikin-modal-header.cjs +96 -0
  209. package/dist/cjs-dev/components/modal-header/daikin-modal-header.d.cts +43 -0
  210. package/dist/cjs-dev/components/modal-header/index.cjs +7 -0
  211. package/dist/cjs-dev/components/modal-header/index.d.cts +1 -0
  212. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +5 -5
  213. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +1 -1
  214. package/dist/cjs-dev/components/radio/daikin-radio.cjs +4 -13
  215. package/dist/cjs-dev/components/radio/daikin-radio.d.cts +2 -12
  216. package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +1 -1
  217. package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +2 -1
  218. package/dist/cjs-dev/components/select/daikin-select.cjs +6 -1
  219. package/dist/cjs-dev/components/slider/daikin-slider.cjs +263 -0
  220. package/dist/cjs-dev/components/slider/daikin-slider.d.cts +67 -0
  221. package/dist/cjs-dev/components/slider/index.cjs +7 -0
  222. package/dist/cjs-dev/components/slider/index.d.cts +1 -0
  223. package/dist/cjs-dev/components/slider/slider-utils.cjs +57 -0
  224. package/dist/cjs-dev/components/slider/slider-utils.d.cts +37 -0
  225. package/dist/cjs-dev/components/tab/daikin-tab.cjs +1 -0
  226. package/dist/cjs-dev/components/table/daikin-table.cjs +77 -18
  227. package/dist/cjs-dev/components/table/daikin-table.d.cts +72 -34
  228. package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +2 -1
  229. package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +1 -1
  230. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +31 -6
  231. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +8 -1
  232. package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +2 -2
  233. package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +4 -13
  234. package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +2 -12
  235. package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +289 -57
  236. package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +57 -18
  237. package/dist/cjs-dev/components/text-field/number-utils.cjs +64 -0
  238. package/dist/cjs-dev/components/text-field/number-utils.d.cts +26 -0
  239. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +312 -0
  240. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +136 -0
  241. package/dist/cjs-dev/components/text-masked-field/index.cjs +7 -0
  242. package/dist/cjs-dev/components/text-masked-field/index.d.cts +1 -0
  243. package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +589 -0
  244. package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +165 -0
  245. package/dist/cjs-dev/components/time-picker/index.cjs +17 -0
  246. package/dist/cjs-dev/components/time-picker/index.d.cts +1 -0
  247. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +10 -7
  248. package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +2 -0
  249. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +1 -1
  250. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +4 -13
  251. package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +2 -12
  252. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +24 -8
  253. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +11 -3
  254. package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +2 -0
  255. package/dist/cjs-dev/controllers/click-outside.cjs +3 -1
  256. package/dist/cjs-dev/controllers/floating-ui-auto-update.cjs +22 -4
  257. package/dist/cjs-dev/controllers/floating-ui-auto-update.d.cts +12 -0
  258. package/dist/cjs-dev/controllers/focus-trap.cjs +42 -0
  259. package/dist/cjs-dev/controllers/focus-trap.d.cts +10 -0
  260. package/dist/cjs-dev/icon-registry.cjs +170 -0
  261. package/dist/cjs-dev/icon-registry.d.cts +120 -0
  262. package/dist/cjs-dev/index.cjs +84 -0
  263. package/dist/cjs-dev/index.d.cts +1 -0
  264. package/dist/cjs-dev/tailwind.css.cjs +1 -1
  265. package/dist/cjs-dev/utils/calendar-common.cjs +151 -0
  266. package/dist/cjs-dev/utils/calendar-common.d.cts +64 -0
  267. package/dist/cjs-dev/utils/notification-common.cjs +19 -15
  268. package/dist/cjs-dev/utils/notification-common.d.cts +2 -2
  269. package/dist/cjs-dev/{components/tabs → utils}/scroller.cjs +20 -12
  270. package/dist/cjs-dev/{components/tabs → utils}/scroller.d.cts +2 -2
  271. package/dist/es/base/dds-element.js +1 -1
  272. package/dist/es/base/dds-form-element.d.ts +100 -0
  273. package/dist/es/base/dds-form-element.js +139 -0
  274. package/dist/es/components/accordion/daikin-accordion.js +1 -1
  275. package/dist/es/components/accordion-item/daikin-accordion-item.js +8 -4
  276. package/dist/es/components/avatar/daikin-avatar.d.ts +3 -0
  277. package/dist/es/components/avatar/daikin-avatar.js +2 -1
  278. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +1 -1
  279. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +3 -1
  280. package/dist/es/components/button/daikin-button.d.ts +20 -10
  281. package/dist/es/components/button/daikin-button.js +36 -14
  282. package/dist/es/components/calendar/daikin-calendar.d.ts +87 -0
  283. package/dist/es/components/calendar/daikin-calendar.js +550 -0
  284. package/dist/es/components/calendar/index.d.ts +1 -0
  285. package/dist/es/components/calendar/index.js +4 -0
  286. package/dist/es/components/card/daikin-card.js +2 -2
  287. package/dist/es/components/card-footer/daikin-card-footer.js +1 -1
  288. package/dist/es/components/card-header/daikin-card-header.js +2 -2
  289. package/dist/es/components/carousel/daikin-carousel.js +8 -4
  290. package/dist/es/components/carousel-item/daikin-carousel-item.js +3 -3
  291. package/dist/es/components/checkbox/daikin-checkbox.d.ts +9 -12
  292. package/dist/es/components/checkbox/daikin-checkbox.js +13 -17
  293. package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +69 -0
  294. package/dist/es/components/checkbox-group/daikin-checkbox-group.js +95 -0
  295. package/dist/es/components/checkbox-group/index.d.ts +1 -0
  296. package/dist/es/components/checkbox-group/index.js +4 -0
  297. package/dist/es/components/chip/daikin-chip.d.ts +36 -0
  298. package/dist/es/components/chip/daikin-chip.js +107 -0
  299. package/dist/es/components/chip/index.d.ts +1 -0
  300. package/dist/es/components/chip/index.js +4 -0
  301. package/dist/es/components/combobox/daikin-combobox.d.ts +134 -0
  302. package/dist/es/components/combobox/daikin-combobox.js +605 -0
  303. package/dist/es/components/combobox/index.d.ts +1 -0
  304. package/dist/es/components/combobox/index.js +5 -0
  305. package/dist/es/components/date-picker/daikin-date-picker.d.ts +106 -0
  306. package/dist/es/components/date-picker/daikin-date-picker.js +627 -0
  307. package/dist/es/components/date-picker/index.d.ts +1 -0
  308. package/dist/es/components/date-picker/index.js +4 -0
  309. package/dist/es/components/dropdown/daikin-dropdown.d.ts +7 -15
  310. package/dist/es/components/dropdown/daikin-dropdown.js +92 -58
  311. package/dist/es/components/dropdown-item/daikin-dropdown-item.js +1 -1
  312. package/dist/es/components/icon/daikin-icon.d.ts +129 -9
  313. package/dist/es/components/icon/daikin-icon.js +119 -14
  314. package/dist/es/components/icon/icons.json.d.ts +16 -16
  315. package/dist/es/components/icon/icons.json.js +5 -1
  316. package/dist/es/components/icon-button/daikin-icon-button.d.ts +20 -2
  317. package/dist/es/components/icon-button/daikin-icon-button.js +31 -5
  318. package/dist/es/components/index.d.ts +14 -0
  319. package/dist/es/components/index.js +40 -1
  320. package/dist/es/components/inline-notification/daikin-inline-notification.d.ts +3 -1
  321. package/dist/es/components/inline-notification/daikin-inline-notification.js +14 -19
  322. package/dist/es/components/input-group/daikin-input-group.d.ts +50 -1
  323. package/dist/es/components/input-group/daikin-input-group.js +5 -5
  324. package/dist/es/components/link/daikin-link.js +1 -1
  325. package/dist/es/components/list/daikin-list.d.ts +16 -0
  326. package/dist/es/components/list/daikin-list.js +76 -4
  327. package/dist/es/components/list-item/daikin-list-item.d.ts +9 -3
  328. package/dist/es/components/list-item/daikin-list-item.js +28 -8
  329. package/dist/es/components/loading/daikin-loading.d.ts +1 -0
  330. package/dist/es/components/loading/daikin-loading.js +2 -2
  331. package/dist/es/components/logo/daikin-logo.d.ts +54 -0
  332. package/dist/es/components/logo/daikin-logo.js +106 -0
  333. package/dist/es/components/logo/index.d.ts +1 -0
  334. package/dist/es/components/logo/index.js +4 -0
  335. package/dist/es/components/menu/daikin-menu.d.ts +89 -0
  336. package/dist/es/components/menu/daikin-menu.js +206 -0
  337. package/dist/es/components/menu/index.d.ts +1 -0
  338. package/dist/es/components/menu/index.js +4 -0
  339. package/dist/es/components/modal/daikin-modal.d.ts +61 -0
  340. package/dist/es/components/modal/daikin-modal.js +116 -0
  341. package/dist/es/components/modal/index.d.ts +1 -0
  342. package/dist/es/components/modal/index.js +4 -0
  343. package/dist/es/components/modal-footer/daikin-modal-footer.d.ts +33 -0
  344. package/dist/es/components/modal-footer/daikin-modal-footer.js +41 -0
  345. package/dist/es/components/modal-footer/index.d.ts +1 -0
  346. package/dist/es/components/modal-footer/index.js +4 -0
  347. package/dist/es/components/modal-header/daikin-modal-header.d.ts +43 -0
  348. package/dist/es/components/modal-header/daikin-modal-header.js +97 -0
  349. package/dist/es/components/modal-header/index.d.ts +1 -0
  350. package/dist/es/components/modal-header/index.js +4 -0
  351. package/dist/es/components/pagination/daikin-pagination.js +1 -1
  352. package/dist/es/components/progress-bar/daikin-progress-bar.js +6 -6
  353. package/dist/es/components/progress-indicator/daikin-progress-indicator.js +1 -1
  354. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +2 -2
  355. package/dist/es/components/radio/daikin-radio.d.ts +2 -12
  356. package/dist/es/components/radio/daikin-radio.js +5 -14
  357. package/dist/es/components/radio-group/daikin-radio-group.d.ts +2 -1
  358. package/dist/es/components/radio-group/daikin-radio-group.js +2 -2
  359. package/dist/es/components/select/daikin-select.js +7 -2
  360. package/dist/es/components/slider/daikin-slider.d.ts +67 -0
  361. package/dist/es/components/slider/daikin-slider.js +264 -0
  362. package/dist/es/components/slider/index.d.ts +1 -0
  363. package/dist/es/components/slider/index.js +4 -0
  364. package/dist/es/components/slider/slider-utils.d.ts +37 -0
  365. package/dist/es/components/slider/slider-utils.js +57 -0
  366. package/dist/es/components/tab/daikin-tab.js +2 -1
  367. package/dist/es/components/tab-panels/daikin-tab-panels.js +1 -1
  368. package/dist/es/components/table/daikin-table.d.ts +72 -34
  369. package/dist/es/components/table/daikin-table.js +75 -16
  370. package/dist/es/components/table-cell/daikin-table-cell.d.ts +1 -1
  371. package/dist/es/components/table-cell/daikin-table-cell.js +3 -2
  372. package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +8 -1
  373. package/dist/es/components/table-header-cell/daikin-table-header-cell.js +32 -7
  374. package/dist/es/components/tabs/daikin-tabs.js +3 -3
  375. package/dist/es/components/text-area/daikin-text-area.d.ts +2 -12
  376. package/dist/es/components/text-area/daikin-text-area.js +5 -14
  377. package/dist/es/components/text-field/daikin-text-field.d.ts +57 -18
  378. package/dist/es/components/text-field/daikin-text-field.js +290 -58
  379. package/dist/es/components/text-field/number-utils.d.ts +26 -0
  380. package/dist/es/components/text-field/number-utils.js +61 -0
  381. package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +136 -0
  382. package/dist/es/components/text-masked-field/daikin-text-masked-field.js +313 -0
  383. package/dist/es/components/text-masked-field/index.d.ts +1 -0
  384. package/dist/es/components/text-masked-field/index.js +4 -0
  385. package/dist/es/components/time-picker/daikin-time-picker.d.ts +165 -0
  386. package/dist/es/components/time-picker/daikin-time-picker.js +578 -0
  387. package/dist/es/components/time-picker/index.d.ts +1 -0
  388. package/dist/es/components/time-picker/index.js +14 -0
  389. package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +2 -0
  390. package/dist/es/components/toast-notification/daikin-toast-notification.js +11 -8
  391. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +2 -2
  392. package/dist/es/components/toggle/daikin-toggle.d.ts +2 -12
  393. package/dist/es/components/toggle/daikin-toggle.js +5 -14
  394. package/dist/es/components/tooltip/daikin-tooltip.d.ts +11 -3
  395. package/dist/es/components/tooltip/daikin-tooltip.js +25 -9
  396. package/dist/es/components/tree/daikin-tree.js +1 -1
  397. package/dist/es/components/tree-item/daikin-tree-item.js +1 -1
  398. package/dist/es/components/tree-section/daikin-tree-section.d.ts +2 -0
  399. package/dist/es/components/tree-section/daikin-tree-section.js +1 -1
  400. package/dist/es/controllers/click-outside.js +3 -1
  401. package/dist/es/controllers/floating-ui-auto-update.d.ts +12 -0
  402. package/dist/es/controllers/floating-ui-auto-update.js +22 -4
  403. package/dist/es/controllers/focus-trap.d.ts +10 -0
  404. package/dist/es/controllers/focus-trap.js +42 -0
  405. package/dist/es/icon-registry.d.ts +120 -0
  406. package/dist/es/icon-registry.js +170 -0
  407. package/dist/es/index.d.ts +1 -0
  408. package/dist/es/index.js +43 -1
  409. package/dist/es/tailwind.css.js +1 -1
  410. package/dist/es/utils/calendar-common.d.ts +64 -0
  411. package/dist/es/utils/calendar-common.js +151 -0
  412. package/dist/es/utils/notification-common.d.ts +2 -2
  413. package/dist/es/utils/notification-common.js +19 -15
  414. package/dist/es/{components/tabs → utils}/scroller.d.ts +2 -2
  415. package/dist/es/{components/tabs → utils}/scroller.js +20 -12
  416. package/dist/es-dev/base/dds-element.js +1 -1
  417. package/dist/es-dev/base/dds-form-element.d.ts +100 -0
  418. package/dist/es-dev/base/dds-form-element.js +139 -0
  419. package/dist/es-dev/components/accordion/daikin-accordion.js +1 -1
  420. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +8 -4
  421. package/dist/es-dev/components/avatar/daikin-avatar.d.ts +3 -0
  422. package/dist/es-dev/components/avatar/daikin-avatar.js +2 -1
  423. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +1 -1
  424. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +3 -1
  425. package/dist/es-dev/components/button/daikin-button.d.ts +20 -10
  426. package/dist/es-dev/components/button/daikin-button.js +36 -14
  427. package/dist/es-dev/components/calendar/daikin-calendar.d.ts +87 -0
  428. package/dist/es-dev/components/calendar/daikin-calendar.js +561 -0
  429. package/dist/es-dev/components/calendar/index.d.ts +1 -0
  430. package/dist/es-dev/components/calendar/index.js +4 -0
  431. package/dist/es-dev/components/card/daikin-card.js +2 -2
  432. package/dist/es-dev/components/card-footer/daikin-card-footer.js +1 -1
  433. package/dist/es-dev/components/card-header/daikin-card-header.js +2 -2
  434. package/dist/es-dev/components/carousel/daikin-carousel.js +8 -4
  435. package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +3 -3
  436. package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +9 -12
  437. package/dist/es-dev/components/checkbox/daikin-checkbox.js +13 -17
  438. package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +69 -0
  439. package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.js +95 -0
  440. package/dist/es-dev/components/checkbox-group/index.d.ts +1 -0
  441. package/dist/es-dev/components/checkbox-group/index.js +4 -0
  442. package/dist/es-dev/components/chip/daikin-chip.d.ts +36 -0
  443. package/dist/es-dev/components/chip/daikin-chip.js +107 -0
  444. package/dist/es-dev/components/chip/index.d.ts +1 -0
  445. package/dist/es-dev/components/chip/index.js +4 -0
  446. package/dist/es-dev/components/combobox/daikin-combobox.d.ts +134 -0
  447. package/dist/es-dev/components/combobox/daikin-combobox.js +605 -0
  448. package/dist/es-dev/components/combobox/index.d.ts +1 -0
  449. package/dist/es-dev/components/combobox/index.js +5 -0
  450. package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +106 -0
  451. package/dist/es-dev/components/date-picker/daikin-date-picker.js +638 -0
  452. package/dist/es-dev/components/date-picker/index.d.ts +1 -0
  453. package/dist/es-dev/components/date-picker/index.js +4 -0
  454. package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +7 -15
  455. package/dist/es-dev/components/dropdown/daikin-dropdown.js +92 -58
  456. package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +1 -1
  457. package/dist/es-dev/components/icon/daikin-icon.d.ts +129 -9
  458. package/dist/es-dev/components/icon/daikin-icon.js +143 -18
  459. package/dist/es-dev/components/icon/icons.json.d.ts +16 -16
  460. package/dist/es-dev/components/icon/icons.json.js +5 -1
  461. package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +20 -2
  462. package/dist/es-dev/components/icon-button/daikin-icon-button.js +31 -5
  463. package/dist/es-dev/components/index.d.ts +14 -0
  464. package/dist/es-dev/components/index.js +40 -1
  465. package/dist/es-dev/components/inline-notification/daikin-inline-notification.d.ts +3 -1
  466. package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +14 -19
  467. package/dist/es-dev/components/input-group/daikin-input-group.d.ts +50 -1
  468. package/dist/es-dev/components/input-group/daikin-input-group.js +5 -5
  469. package/dist/es-dev/components/link/daikin-link.js +1 -1
  470. package/dist/es-dev/components/list/daikin-list.d.ts +16 -0
  471. package/dist/es-dev/components/list/daikin-list.js +76 -4
  472. package/dist/es-dev/components/list-item/daikin-list-item.d.ts +9 -3
  473. package/dist/es-dev/components/list-item/daikin-list-item.js +28 -8
  474. package/dist/es-dev/components/loading/daikin-loading.d.ts +1 -0
  475. package/dist/es-dev/components/loading/daikin-loading.js +2 -2
  476. package/dist/es-dev/components/logo/daikin-logo.d.ts +54 -0
  477. package/dist/es-dev/components/logo/daikin-logo.js +106 -0
  478. package/dist/es-dev/components/logo/index.d.ts +1 -0
  479. package/dist/es-dev/components/logo/index.js +4 -0
  480. package/dist/es-dev/components/menu/daikin-menu.d.ts +89 -0
  481. package/dist/es-dev/components/menu/daikin-menu.js +206 -0
  482. package/dist/es-dev/components/menu/index.d.ts +1 -0
  483. package/dist/es-dev/components/menu/index.js +4 -0
  484. package/dist/es-dev/components/modal/daikin-modal.d.ts +61 -0
  485. package/dist/es-dev/components/modal/daikin-modal.js +116 -0
  486. package/dist/es-dev/components/modal/index.d.ts +1 -0
  487. package/dist/es-dev/components/modal/index.js +4 -0
  488. package/dist/es-dev/components/modal-footer/daikin-modal-footer.d.ts +33 -0
  489. package/dist/es-dev/components/modal-footer/daikin-modal-footer.js +41 -0
  490. package/dist/es-dev/components/modal-footer/index.d.ts +1 -0
  491. package/dist/es-dev/components/modal-footer/index.js +4 -0
  492. package/dist/es-dev/components/modal-header/daikin-modal-header.d.ts +43 -0
  493. package/dist/es-dev/components/modal-header/daikin-modal-header.js +97 -0
  494. package/dist/es-dev/components/modal-header/index.d.ts +1 -0
  495. package/dist/es-dev/components/modal-header/index.js +4 -0
  496. package/dist/es-dev/components/pagination/daikin-pagination.js +1 -1
  497. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +6 -6
  498. package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +1 -1
  499. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +2 -2
  500. package/dist/es-dev/components/radio/daikin-radio.d.ts +2 -12
  501. package/dist/es-dev/components/radio/daikin-radio.js +5 -14
  502. package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +2 -1
  503. package/dist/es-dev/components/radio-group/daikin-radio-group.js +2 -2
  504. package/dist/es-dev/components/select/daikin-select.js +7 -2
  505. package/dist/es-dev/components/slider/daikin-slider.d.ts +67 -0
  506. package/dist/es-dev/components/slider/daikin-slider.js +264 -0
  507. package/dist/es-dev/components/slider/index.d.ts +1 -0
  508. package/dist/es-dev/components/slider/index.js +4 -0
  509. package/dist/es-dev/components/slider/slider-utils.d.ts +37 -0
  510. package/dist/es-dev/components/slider/slider-utils.js +57 -0
  511. package/dist/es-dev/components/tab/daikin-tab.js +2 -1
  512. package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +1 -1
  513. package/dist/es-dev/components/table/daikin-table.d.ts +72 -34
  514. package/dist/es-dev/components/table/daikin-table.js +78 -19
  515. package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +1 -1
  516. package/dist/es-dev/components/table-cell/daikin-table-cell.js +3 -2
  517. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +8 -1
  518. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +32 -7
  519. package/dist/es-dev/components/tabs/daikin-tabs.js +3 -3
  520. package/dist/es-dev/components/text-area/daikin-text-area.d.ts +2 -12
  521. package/dist/es-dev/components/text-area/daikin-text-area.js +5 -14
  522. package/dist/es-dev/components/text-field/daikin-text-field.d.ts +57 -18
  523. package/dist/es-dev/components/text-field/daikin-text-field.js +290 -58
  524. package/dist/es-dev/components/text-field/number-utils.d.ts +26 -0
  525. package/dist/es-dev/components/text-field/number-utils.js +64 -0
  526. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +136 -0
  527. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +313 -0
  528. package/dist/es-dev/components/text-masked-field/index.d.ts +1 -0
  529. package/dist/es-dev/components/text-masked-field/index.js +4 -0
  530. package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +165 -0
  531. package/dist/es-dev/components/time-picker/daikin-time-picker.js +590 -0
  532. package/dist/es-dev/components/time-picker/index.d.ts +1 -0
  533. package/dist/es-dev/components/time-picker/index.js +14 -0
  534. package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +2 -0
  535. package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +11 -8
  536. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +2 -2
  537. package/dist/es-dev/components/toggle/daikin-toggle.d.ts +2 -12
  538. package/dist/es-dev/components/toggle/daikin-toggle.js +5 -14
  539. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +11 -3
  540. package/dist/es-dev/components/tooltip/daikin-tooltip.js +25 -9
  541. package/dist/es-dev/components/tree/daikin-tree.js +1 -1
  542. package/dist/es-dev/components/tree-item/daikin-tree-item.js +1 -1
  543. package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +2 -0
  544. package/dist/es-dev/components/tree-section/daikin-tree-section.js +1 -1
  545. package/dist/es-dev/controllers/click-outside.js +3 -1
  546. package/dist/es-dev/controllers/floating-ui-auto-update.d.ts +12 -0
  547. package/dist/es-dev/controllers/floating-ui-auto-update.js +22 -4
  548. package/dist/es-dev/controllers/focus-trap.d.ts +10 -0
  549. package/dist/es-dev/controllers/focus-trap.js +42 -0
  550. package/dist/es-dev/icon-registry.d.ts +120 -0
  551. package/dist/es-dev/icon-registry.js +170 -0
  552. package/dist/es-dev/index.d.ts +1 -0
  553. package/dist/es-dev/index.js +43 -1
  554. package/dist/es-dev/tailwind.css.js +1 -1
  555. package/dist/es-dev/utils/calendar-common.d.ts +64 -0
  556. package/dist/es-dev/utils/calendar-common.js +151 -0
  557. package/dist/es-dev/utils/notification-common.d.ts +2 -2
  558. package/dist/es-dev/utils/notification-common.js +19 -15
  559. package/dist/es-dev/{components/tabs → utils}/scroller.d.ts +2 -2
  560. package/dist/es-dev/{components/tabs → utils}/scroller.js +20 -12
  561. package/icons/alarm.svg +3 -0
  562. package/icons/calendar.svg +3 -0
  563. package/icons/chevron-down.svg +3 -3
  564. package/icons/chevron-left.svg +2 -2
  565. package/icons/chevron-right.svg +2 -2
  566. package/icons/chevron-up.svg +2 -2
  567. package/icons/close.svg +3 -0
  568. package/icons/error.svg +3 -0
  569. package/icons/information.svg +3 -0
  570. package/icons/logo-negative.svg +10 -0
  571. package/icons/logo-positive.svg +10 -0
  572. package/icons/{dropdown-chevron-down.svg → number-minus.svg} +3 -1
  573. package/icons/number-plus.svg +5 -0
  574. package/icons/password-hidden.svg +3 -0
  575. package/icons/password-visible.svg +3 -0
  576. package/icons/pulldown-down.svg +3 -0
  577. package/icons/search.svg +3 -0
  578. package/icons/success.svg +3 -0
  579. package/icons/warning.svg +3 -0
  580. package/package.json +20 -6
  581. package/icons/cross.svg +0 -3
  582. package/icons/notification-close.svg +0 -5
  583. package/icons/status-alarm.svg +0 -5
  584. package/icons/status-error.svg +0 -3
  585. package/icons/status-information.svg +0 -5
  586. package/icons/status-negative.svg +0 -5
  587. package/icons/status-positive.svg +0 -5
  588. package/icons/status-warning.svg +0 -3
@@ -1,11 +1,13 @@
1
1
  import { cva } from "class-variance-authority";
2
- import { css, unsafeCSS, html } from "lit";
3
- import { property } from "lit/decorators.js";
2
+ import { unsafeCSS, css, html } from "lit";
3
+ import { property, state } from "lit/decorators.js";
4
+ import { unsafeHTML } from "lit/directives/unsafe-html.js";
4
5
  import { DDSElement } from "../../base/dds-element.js";
5
6
  import { ddsElement } from "../../base/decorators.js";
6
7
  import "../../base/define.js";
8
+ import { iconRegistry } from "../../icon-registry.js";
7
9
  import tailwindStyles from "../../tailwind.css.js";
8
- import { icons } from "./icons.json.js";
10
+ import iconsJson from "./icons.json.js";
9
11
  var __defProp = Object.defineProperty;
10
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11
13
  var __decorateClass = (decorators, target, key, kind) => {
@@ -16,47 +18,164 @@ var __decorateClass = (decorators, target, key, kind) => {
16
18
  if (kind && result) __defProp(target, key, result);
17
19
  return result;
18
20
  };
19
- const iconList = Object.keys(icons);
20
- const iconClassMap = Object.fromEntries(
21
- Object.entries(icons).map(([name, object]) => [name, object.class])
21
+ const { icons } = iconsJson;
22
+ const iconList = Object.keys(icons).filter(
23
+ (key) => key !== "logo-positive" && key !== "logo-negative"
22
24
  );
23
- const cvaIcon = cva(["block"], {
25
+ function svgToDataUrl(svg) {
26
+ const encoded = encodeURIComponent(svg).replaceAll("'", "%27");
27
+ return `url("data:image/svg+xml,${encoded}")`;
28
+ }
29
+ const cvaIcon = cva(["inline-flex size-full"], {
24
30
  variants: {
25
- icon: iconClassMap,
26
31
  color: {
27
32
  black: ["text-ddt-color-common-background-overlay"],
28
33
  white: ["text-ddt-color-common-text-inverse"],
29
34
  default: ["text-[--default-color]"],
30
35
  current: []
31
36
  // uses `currentColor`
37
+ },
38
+ mode: {
39
+ inline: [],
40
+ mask: [
41
+ "bg-current",
42
+ "[mask-size:100%_100%]",
43
+ "[-webkit-mask-size:100%_100%]",
44
+ "[mask-repeat:no-repeat]",
45
+ "[-webkit-mask-repeat:no-repeat]",
46
+ "[mask-image:var(--svg)]",
47
+ "[-webkit-mask-image:var(--svg)]"
48
+ ],
49
+ background: [
50
+ "bg-no-repeat",
51
+ "bg-[length:100%_100%]",
52
+ "bg-[image:var(--svg)]"
53
+ ],
54
+ static: []
55
+ // for static icons from icons.json
32
56
  }
33
57
  }
34
58
  });
35
59
  let DaikinIcon = class extends DDSElement {
36
60
  constructor() {
37
61
  super(...arguments);
62
+ this.registry = iconRegistry;
38
63
  this.icon = null;
39
64
  this.color = "default";
40
65
  this.size = "current";
66
+ this._iconData = null;
67
+ }
68
+ connectedCallback() {
69
+ super.connectedCallback();
70
+ this.loadIcon().catch((error) => {
71
+ {
72
+ console.warn(
73
+ `Error loading icon${this.icon ? ` "${this.icon}"` : ""} in <${this.tagName.toLowerCase()}>:`,
74
+ error
75
+ );
76
+ }
77
+ });
78
+ }
79
+ updated(changedProperties) {
80
+ if (changedProperties.has("icon")) {
81
+ this.loadIcon().catch((error) => {
82
+ {
83
+ console.warn(
84
+ `Error loading icon${this.icon ? ` "${this.icon}"` : ""} in <${this.tagName.toLowerCase()}>:`,
85
+ error
86
+ );
87
+ }
88
+ });
89
+ }
90
+ }
91
+ async loadIcon() {
92
+ if (!this.icon) {
93
+ this._iconData = null;
94
+ return;
95
+ }
96
+ const staticIcon = icons[this.icon];
97
+ if (staticIcon) {
98
+ this._iconData = {
99
+ mode: "static",
100
+ defaultColor: staticIcon.color,
101
+ class: staticIcon.class
102
+ };
103
+ return;
104
+ }
105
+ try {
106
+ const iconData = await this.registry.getIcon(this.icon);
107
+ if (true) {
108
+ if (!iconData) {
109
+ console.warn(`Icon "${this.icon}" not found in registry`);
110
+ }
111
+ }
112
+ this._iconData = iconData;
113
+ } catch (error) {
114
+ {
115
+ console.warn(`Failed to load custom icon "${this.icon}":`, error);
116
+ }
117
+ this._iconData = null;
118
+ }
41
119
  }
42
120
  render() {
43
- var _a;
44
- const defaultColor = (_a = icons[this.icon ?? ""]) == null ? void 0 : _a.color;
45
121
  {
46
122
  if (!this.icon) {
47
- console.warn("icon property is not specified");
48
- } else if (!(this.icon in icons)) {
49
- console.warn(`There is no icon named "${this.icon}".`);
50
- } else if (this.color === "default" && !defaultColor) {
123
+ console.warn("icon property is not specified for daikin-icon");
124
+ }
125
+ }
126
+ if (!this.icon) {
127
+ return html`<span
128
+ class=${cvaIcon({
129
+ color: this.color,
130
+ mode: "static"
131
+ })}
132
+ title="Unknown icon"
133
+ ></span>`;
134
+ }
135
+ if (!this._iconData) {
136
+ return html`<span
137
+ class=${cvaIcon({
138
+ color: this.color,
139
+ mode: "inline"
140
+ })}
141
+ title=${this.icon || "Unknown icon"}
142
+ ></span>`;
143
+ }
144
+ const defaultColor = this._iconData.defaultColor;
145
+ {
146
+ if (this.color === "default" && !defaultColor) {
51
147
  console.warn(`The icon "${this.icon}" does not have a default color.`);
52
148
  }
53
149
  }
150
+ if (this._iconData.mode === "static") {
151
+ return html`<span
152
+ class="${cvaIcon({
153
+ color: this.color,
154
+ mode: "static"
155
+ })} ${this._iconData.class}"
156
+ style=${`--default-color:${defaultColor ?? "#000000"}`}
157
+ role="presentation"
158
+ ></span>`;
159
+ }
160
+ const mode = this._iconData.mode ?? "mask";
161
+ if (mode === "inline") {
162
+ return html`<span
163
+ class=${cvaIcon({
164
+ color: this.color,
165
+ mode
166
+ })}
167
+ style=${`--default-color:${defaultColor ?? "#000000"}`}
168
+ role="presentation"
169
+ >${unsafeHTML(this._iconData.svg)}</span
170
+ >`;
171
+ }
172
+ const svgDataUrl = svgToDataUrl(this._iconData.svg);
54
173
  return html`<span
55
174
  class=${cvaIcon({
56
- icon: this.icon,
57
- color: this.color
175
+ color: this.color,
176
+ mode
58
177
  })}
59
- style=${`--default-color:${defaultColor ?? "#000000"}`}
178
+ style=${`--default-color:${defaultColor ?? "#000000"};--svg:${svgDataUrl}`}
60
179
  role="presentation"
61
180
  ></span>`;
62
181
  }
@@ -65,7 +184,7 @@ DaikinIcon.styles = css`
65
184
  ${unsafeCSS(tailwindStyles)}
66
185
 
67
186
  :host {
68
- display: inline-block;
187
+ display: inline-flex;
69
188
  width: var(--ddc-icon-size, 100%);
70
189
  height: var(--ddc-icon-size, 100%);
71
190
  }
@@ -86,6 +205,9 @@ DaikinIcon.styles = css`
86
205
  --ddc-icon-size: 24px;
87
206
  }
88
207
  `;
208
+ __decorateClass([
209
+ property({ attribute: false })
210
+ ], DaikinIcon.prototype, "registry", 2);
89
211
  __decorateClass([
90
212
  property({ type: String, reflect: true })
91
213
  ], DaikinIcon.prototype, "icon", 2);
@@ -95,6 +217,9 @@ __decorateClass([
95
217
  __decorateClass([
96
218
  property({ type: String, reflect: true })
97
219
  ], DaikinIcon.prototype, "size", 2);
220
+ __decorateClass([
221
+ state()
222
+ ], DaikinIcon.prototype, "_iconData", 2);
98
223
  DaikinIcon = __decorateClass([
99
224
  ddsElement("daikin-icon")
100
225
  ], DaikinIcon);
@@ -1,27 +1,35 @@
1
1
  declare const _default: {
2
2
  "icons": {
3
+ "logo-positive": {
4
+ "class": "i-daikin-logo-positive",
5
+ "color": null
6
+ },
7
+ "logo-negative": {
8
+ "class": "i-daikin-logo-negative",
9
+ "color": null
10
+ },
3
11
  "alarm": {
4
- "class": "i-daikin-status-alarm",
12
+ "class": "i-daikin-alarm",
5
13
  "color": null
6
14
  },
7
15
  "close": {
8
- "class": "i-daikin-notification-close",
16
+ "class": "i-daikin-close",
9
17
  "color": "#a0a0a0"
10
18
  },
11
19
  "information": {
12
- "class": "i-daikin-status-information",
20
+ "class": "i-daikin-information",
13
21
  "color": null
14
22
  },
15
- "negative": {
16
- "class": "i-daikin-status-negative",
23
+ "error": {
24
+ "class": "i-daikin-error",
17
25
  "color": null
18
26
  },
19
- "positive": {
20
- "class": "i-daikin-status-positive",
27
+ "success": {
28
+ "class": "i-daikin-success",
21
29
  "color": null
22
30
  },
23
31
  "warning": {
24
- "class": "i-daikin-status-warning",
32
+ "class": "i-daikin-warning",
25
33
  "color": null
26
34
  },
27
35
  "pagination-chevron-left": {
@@ -32,14 +40,6 @@ declare const _default: {
32
40
  "class": "i-daikin-pagination-chevron-right",
33
41
  "color": "#414141"
34
42
  },
35
- "error": {
36
- "class": "i-daikin-status-error",
37
- "color": "#FF4949"
38
- },
39
- "cross": {
40
- "class": "i-daikin-cross",
41
- "color": null
42
- },
43
43
  "profile": {
44
44
  "class": "i-daikin-profile",
45
45
  "color": null
@@ -1,4 +1,8 @@
1
- const icons = { "alarm": { "class": "i-daikin-status-alarm", "color": null }, "close": { "class": "i-daikin-notification-close", "color": "#a0a0a0" }, "information": { "class": "i-daikin-status-information", "color": null }, "negative": { "class": "i-daikin-status-negative", "color": null }, "positive": { "class": "i-daikin-status-positive", "color": null }, "warning": { "class": "i-daikin-status-warning", "color": null }, "pagination-chevron-left": { "class": "i-daikin-pagination-chevron-left", "color": "#414141" }, "pagination-chevron-right": { "class": "i-daikin-pagination-chevron-right", "color": "#414141" }, "error": { "class": "i-daikin-status-error", "color": "#FF4949" }, "cross": { "class": "i-daikin-cross", "color": null }, "profile": { "class": "i-daikin-profile", "color": null }, "chevron-up": { "class": "i-daikin-chevron-up", "color": null }, "chevron-down": { "class": "i-daikin-chevron-down", "color": null }, "chevron-left": { "class": "i-daikin-chevron-left", "color": null }, "chevron-right": { "class": "i-daikin-chevron-right", "color": null }, "sort": { "class": "i-daikin-sort", "color": null } };
1
+ const icons = { "logo-positive": { "class": "i-daikin-logo-positive", "color": null }, "logo-negative": { "class": "i-daikin-logo-negative", "color": null }, "alarm": { "class": "i-daikin-alarm", "color": null }, "close": { "class": "i-daikin-close", "color": "#a0a0a0" }, "information": { "class": "i-daikin-information", "color": null }, "error": { "class": "i-daikin-error", "color": null }, "success": { "class": "i-daikin-success", "color": null }, "warning": { "class": "i-daikin-warning", "color": null }, "pagination-chevron-left": { "class": "i-daikin-pagination-chevron-left", "color": "#414141" }, "pagination-chevron-right": { "class": "i-daikin-pagination-chevron-right", "color": "#414141" }, "profile": { "class": "i-daikin-profile", "color": null }, "chevron-up": { "class": "i-daikin-chevron-up", "color": null }, "chevron-down": { "class": "i-daikin-chevron-down", "color": null }, "chevron-left": { "class": "i-daikin-chevron-left", "color": null }, "chevron-right": { "class": "i-daikin-chevron-right", "color": null }, "sort": { "class": "i-daikin-sort", "color": null } };
2
+ const iconsJson = {
3
+ icons
4
+ };
2
5
  export {
6
+ iconsJson as default,
3
7
  icons
4
8
  };
@@ -1,6 +1,6 @@
1
- import { DDSElement } from "../../base/index.js";
2
1
  import { ARIARole } from "../../lit-analyzer-types.js";
3
2
  import { MergeVariantProps } from "../../type-utils.js";
3
+ import { DDSFormSubmitElement } from "../../base/dds-form-element.js";
4
4
  declare const cvaIconButton: (props?: ({
5
5
  color?: "default" | "danger" | "neutral" | null | undefined;
6
6
  variant?: "fill" | "outline" | "ghost" | null | undefined;
@@ -32,7 +32,7 @@ type IconButtonVariantProps = MergeVariantProps<typeof cvaIconButton>;
32
32
  * </daikin-icon-button>
33
33
  * ```
34
34
  */
35
- export declare class DaikinIconButton extends DDSElement {
35
+ export declare class DaikinIconButton extends DDSFormSubmitElement {
36
36
  static readonly styles: import('lit').CSSResult;
37
37
  /**
38
38
  * Variant of the button.
@@ -65,6 +65,24 @@ export declare class DaikinIconButton extends DDSElement {
65
65
  * Optional ARIA role of the button.
66
66
  */
67
67
  buttonRole: ARIARole | null;
68
+ /**
69
+ * The aria-haspopup of the icon button when `type="button"`.
70
+ * When used within a daikin-menu component, this property is automatically assigned the value `buttonAriaHaspopup="menu"`.
71
+ */
72
+ buttonAriaHaspopup: "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | null;
73
+ /**
74
+ * The aria-expanded of icon button when `type="button"`.
75
+ * When used within a daikin-menu component, this property will be controlled by daikin-menu, so you don't need to specify it explicitly.
76
+ */
77
+ buttonAriaExpanded: boolean | null;
78
+ /**
79
+ * Size of the button.
80
+ * - `s`: 32px * 32px
81
+ * - `m`: 48px * 48px
82
+ *
83
+ * Default is `s`.
84
+ */
85
+ size: "s" | "m";
68
86
  private _button;
69
87
  constructor();
70
88
  render(): import('lit-html').TemplateResult<1>;
@@ -1,11 +1,12 @@
1
1
  import { cva } from "class-variance-authority";
2
- import { css, unsafeCSS, html } from "lit";
2
+ import { unsafeCSS, css, html } from "lit";
3
3
  import { property, query } from "lit/decorators.js";
4
4
  import { ifDefined } from "lit/directives/if-defined.js";
5
- import { DDSElement } from "../../base/dds-element.js";
5
+ import "../../base/dds-element.js";
6
6
  import { ddsElement } from "../../base/decorators.js";
7
7
  import "../../base/define.js";
8
8
  import tailwindStyles from "../../tailwind.css.js";
9
+ import { DDSFormSubmitElement } from "../../base/dds-form-element.js";
9
10
  import "../icon/daikin-icon.js";
10
11
  var __defProp = Object.defineProperty;
11
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -74,7 +75,7 @@ const cvaIconButton = cva(
74
75
  }
75
76
  }
76
77
  );
77
- let DaikinIconButton = class extends DDSElement {
78
+ let DaikinIconButton = class extends DDSFormSubmitElement {
78
79
  constructor() {
79
80
  super();
80
81
  this.variant = "fill";
@@ -84,10 +85,18 @@ let DaikinIconButton = class extends DDSElement {
84
85
  this.type = "button";
85
86
  this.buttonAriaLabel = null;
86
87
  this.buttonRole = null;
88
+ this.buttonAriaHaspopup = null;
89
+ this.buttonAriaExpanded = null;
90
+ this.size = "s";
87
91
  this.addEventListener("click", (event) => {
88
92
  if (this.disabled) {
89
93
  event.stopImmediatePropagation();
90
94
  }
95
+ if (this.type === "submit") {
96
+ this.requestSubmit();
97
+ } else if (this.type === "reset") {
98
+ this.reset();
99
+ }
91
100
  });
92
101
  }
93
102
  render() {
@@ -115,6 +124,8 @@ let DaikinIconButton = class extends DDSElement {
115
124
  type=${this.type}
116
125
  aria-label=${this.buttonAriaLabel ?? ""}
117
126
  ?disabled=${this.disabled}
127
+ aria-haspopup=${ifDefined(this.buttonAriaHaspopup ?? void 0)}
128
+ aria-expanded=${ifDefined(this.buttonAriaExpanded ?? void 0)}
118
129
  >
119
130
  <slot class="icon-size-full"></slot>
120
131
  </button>
@@ -134,8 +145,14 @@ DaikinIconButton.styles = css`
134
145
 
135
146
  :host {
136
147
  display: inline-block;
137
- width: 2rem;
138
- height: 2rem;
148
+ width: var(--ddc-icon-button-size, 2rem);
149
+ height: var(--ddc-icon-button-size, 2rem);
150
+ }
151
+ :host([size="s"]) {
152
+ --ddc-icon-button-size: 2rem; /* 32px */
153
+ }
154
+ :host([size="m"]) {
155
+ --ddc-icon-button-size: 3rem; /* 48px */
139
156
  }
140
157
  `;
141
158
  __decorateClass([
@@ -159,6 +176,15 @@ __decorateClass([
159
176
  __decorateClass([
160
177
  property({ type: String, reflect: true, attribute: "button-role" })
161
178
  ], DaikinIconButton.prototype, "buttonRole", 2);
179
+ __decorateClass([
180
+ property({ type: String, reflect: true, attribute: "button-aria-haspopup" })
181
+ ], DaikinIconButton.prototype, "buttonAriaHaspopup", 2);
182
+ __decorateClass([
183
+ property({ type: Boolean, reflect: true, attribute: "button-aria-expanded" })
184
+ ], DaikinIconButton.prototype, "buttonAriaExpanded", 2);
185
+ __decorateClass([
186
+ property({ type: String, reflect: true })
187
+ ], DaikinIconButton.prototype, "size", 2);
162
188
  __decorateClass([
163
189
  query("button")
164
190
  ], DaikinIconButton.prototype, "_button", 2);
@@ -4,12 +4,17 @@ export * from "./avatar/index.js";
4
4
  export * from "./breadcrumb/index.js";
5
5
  export * from "./breadcrumb-item/index.js";
6
6
  export * from "./button/index.js";
7
+ export * from "./calendar/index.js";
7
8
  export * from "./card/index.js";
8
9
  export * from "./card-footer/index.js";
9
10
  export * from "./card-header/index.js";
10
11
  export * from "./carousel/index.js";
11
12
  export * from "./carousel-item/index.js";
12
13
  export * from "./checkbox/index.js";
14
+ export * from "./checkbox-group/index.js";
15
+ export * from "./chip/index.js";
16
+ export * from "./combobox/index.js";
17
+ export * from "./date-picker/index.js";
13
18
  export * from "./dropdown/index.js";
14
19
  export * from "./dropdown-item/index.js";
15
20
  export * from "./icon/index.js";
@@ -20,12 +25,19 @@ export * from "./link/index.js";
20
25
  export * from "./list/index.js";
21
26
  export * from "./list-item/index.js";
22
27
  export * from "./loading/index.js";
28
+ export * from "./logo/index.js";
29
+ export * from "./menu/index.js";
30
+ export * from "./modal/index.js";
31
+ export * from "./modal-footer/index.js";
32
+ export * from "./modal-header/index.js";
23
33
  export * from "./pagination/index.js";
24
34
  export * from "./progress-bar/index.js";
25
35
  export * from "./progress-indicator/index.js";
26
36
  export * from "./progress-indicator-item/index.js";
27
37
  export * from "./radio/index.js";
38
+ export * from "./radio-group/index.js";
28
39
  export * from "./select/index.js";
40
+ export * from "./slider/index.js";
29
41
  export * from "./tab/index.js";
30
42
  export * from "./tab-panels/index.js";
31
43
  export * from "./table/index.js";
@@ -34,6 +46,8 @@ export * from "./table-header-cell/index.js";
34
46
  export * from "./tabs/index.js";
35
47
  export * from "./text-area/index.js";
36
48
  export * from "./text-field/index.js";
49
+ export * from "./text-masked-field/index.js";
50
+ export * from "./time-picker/index.js";
37
51
  export * from "./toast-notification/index.js";
38
52
  export * from "./toast-notification-manager/index.js";
39
53
  export * from "./toggle/index.js";
@@ -4,12 +4,17 @@ import { DaikinAvatar } from "./avatar/daikin-avatar.js";
4
4
  import { DaikinBreadcrumb } from "./breadcrumb/daikin-breadcrumb.js";
5
5
  import { DaikinBreadcrumbItem } from "./breadcrumb-item/daikin-breadcrumb-item.js";
6
6
  import { DaikinButton } from "./button/daikin-button.js";
7
+ import { DaikinCalendar } from "./calendar/daikin-calendar.js";
7
8
  import { DaikinCard } from "./card/daikin-card.js";
8
9
  import { DaikinCardFooter } from "./card-footer/daikin-card-footer.js";
9
10
  import { DaikinCardHeader } from "./card-header/daikin-card-header.js";
10
11
  import { DaikinCarousel } from "./carousel/daikin-carousel.js";
11
12
  import { DaikinCarouselItem } from "./carousel-item/daikin-carousel-item.js";
12
13
  import { DaikinCheckbox } from "./checkbox/daikin-checkbox.js";
14
+ import { DaikinCheckboxGroup } from "./checkbox-group/daikin-checkbox-group.js";
15
+ import { DaikinChip } from "./chip/daikin-chip.js";
16
+ import { DaikinCombobox, defaultFilterFn } from "./combobox/daikin-combobox.js";
17
+ import { DaikinDatePicker } from "./date-picker/daikin-date-picker.js";
13
18
  import { DaikinDropdown } from "./dropdown/daikin-dropdown.js";
14
19
  import { DaikinDropdownItem } from "./dropdown-item/daikin-dropdown-item.js";
15
20
  import { DaikinIcon, iconList } from "./icon/daikin-icon.js";
@@ -20,12 +25,19 @@ import { DaikinLink } from "./link/daikin-link.js";
20
25
  import { DaikinList } from "./list/daikin-list.js";
21
26
  import { DaikinListItem } from "./list-item/daikin-list-item.js";
22
27
  import { DaikinLoading } from "./loading/daikin-loading.js";
28
+ import { DaikinLogo } from "./logo/daikin-logo.js";
29
+ import { DaikinMenu } from "./menu/daikin-menu.js";
30
+ import { DaikinModal } from "./modal/daikin-modal.js";
31
+ import { DaikinModalFooter } from "./modal-footer/daikin-modal-footer.js";
32
+ import { DaikinModalHeader } from "./modal-header/daikin-modal-header.js";
23
33
  import { DaikinPagination } from "./pagination/daikin-pagination.js";
24
34
  import { DaikinProgressBar } from "./progress-bar/daikin-progress-bar.js";
25
35
  import { DaikinProgressIndicator } from "./progress-indicator/daikin-progress-indicator.js";
26
36
  import { DaikinProgressIndicatorItem } from "./progress-indicator-item/daikin-progress-indicator-item.js";
27
37
  import { DaikinRadio } from "./radio/daikin-radio.js";
38
+ import { DaikinRadioGroup } from "./radio-group/daikin-radio-group.js";
28
39
  import { DaikinSelect } from "./select/daikin-select.js";
40
+ import { DaikinSlider } from "./slider/daikin-slider.js";
29
41
  import { DaikinTab } from "./tab/daikin-tab.js";
30
42
  import { DaikinTabPanels } from "./tab-panels/daikin-tab-panels.js";
31
43
  import { DaikinTable } from "./table/daikin-table.js";
@@ -34,6 +46,8 @@ import { DaikinTableHeaderCell } from "./table-header-cell/daikin-table-header-c
34
46
  import { DaikinTabs } from "./tabs/daikin-tabs.js";
35
47
  import { DaikinTextArea } from "./text-area/daikin-text-area.js";
36
48
  import { DaikinTextField } from "./text-field/daikin-text-field.js";
49
+ import { DaikinTextMaskedField } from "./text-masked-field/daikin-text-masked-field.js";
50
+ import { DaikinTimePicker, calcDigitInput, formatPartsForUI, formatTimeForUI, from24HourFormat, getTimeItemInSelection, isTimeOutOfRange, isValidValueTime, parsePartsFromUIValue, to24HourFormat, tryParseTimeFromUIValue } from "./time-picker/daikin-time-picker.js";
37
51
  import { DaikinToastNotification } from "./toast-notification/daikin-toast-notification.js";
38
52
  import { DaikinToastNotificationManager } from "./toast-notification-manager/daikin-toast-notification-manager.js";
39
53
  import { DaikinToggle } from "./toggle/daikin-toggle.js";
@@ -48,12 +62,17 @@ export {
48
62
  DaikinBreadcrumb,
49
63
  DaikinBreadcrumbItem,
50
64
  DaikinButton,
65
+ DaikinCalendar,
51
66
  DaikinCard,
52
67
  DaikinCardFooter,
53
68
  DaikinCardHeader,
54
69
  DaikinCarousel,
55
70
  DaikinCarouselItem,
56
71
  DaikinCheckbox,
72
+ DaikinCheckboxGroup,
73
+ DaikinChip,
74
+ DaikinCombobox,
75
+ DaikinDatePicker,
57
76
  DaikinDropdown,
58
77
  DaikinDropdownItem,
59
78
  DaikinIcon,
@@ -64,12 +83,19 @@ export {
64
83
  DaikinList,
65
84
  DaikinListItem,
66
85
  DaikinLoading,
86
+ DaikinLogo,
87
+ DaikinMenu,
88
+ DaikinModal,
89
+ DaikinModalFooter,
90
+ DaikinModalHeader,
67
91
  DaikinPagination,
68
92
  DaikinProgressBar,
69
93
  DaikinProgressIndicator,
70
94
  DaikinProgressIndicatorItem,
71
95
  DaikinRadio,
96
+ DaikinRadioGroup,
72
97
  DaikinSelect,
98
+ DaikinSlider,
73
99
  DaikinTab,
74
100
  DaikinTabPanels,
75
101
  DaikinTable,
@@ -78,6 +104,8 @@ export {
78
104
  DaikinTabs,
79
105
  DaikinTextArea,
80
106
  DaikinTextField,
107
+ DaikinTextMaskedField,
108
+ DaikinTimePicker,
81
109
  DaikinToastNotification,
82
110
  DaikinToastNotificationManager,
83
111
  DaikinToggle,
@@ -85,6 +113,17 @@ export {
85
113
  DaikinTree,
86
114
  DaikinTreeItem,
87
115
  DaikinTreeSection,
116
+ calcDigitInput,
88
117
  cvaTreeChildren,
89
- iconList
118
+ defaultFilterFn,
119
+ formatPartsForUI,
120
+ formatTimeForUI,
121
+ from24HourFormat,
122
+ getTimeItemInSelection,
123
+ iconList,
124
+ isTimeOutOfRange,
125
+ isValidValueTime,
126
+ parsePartsFromUIValue,
127
+ to24HourFormat,
128
+ tryParseTimeFromUIValue
90
129
  };
@@ -6,10 +6,12 @@ import { ToastNotificationVariantProps } from "../toast-notification/index.js";
6
6
  * An inline notification appears within the content of the application, usually embedded directly within a page or section.
7
7
  * Inline notification is more persistent than toast notification and are used to highlight important information or status updates that should remain visible to the user until they are acknowledged or the issue is resolved.
8
8
  *
9
+ * @tokenImports ../../utils/notification-common.ts
10
+ *
9
11
  * @fires close - A custom event emitted when a user clicks the close button.
10
12
  *
13
+ * @slot A slot for the inline notification description content.
11
14
  * @slot title - A slot for the title content.
12
- * @slot description - A slot for the description content.
13
15
  *
14
16
  * @example
15
17
  *
@@ -1,10 +1,11 @@
1
- import { css, unsafeCSS, html, nothing } from "lit";
1
+ import { unsafeCSS, css, nothing, html } from "lit";
2
2
  import { property } from "lit/decorators.js";
3
3
  import { DDSElement } from "../../base/dds-element.js";
4
4
  import { ddsElement } from "../../base/decorators.js";
5
5
  import "../../base/define.js";
6
6
  import tailwindStyles from "../../tailwind.css.js";
7
7
  import { formatDate, cvaContainer, cvaContent, cvaTitle, cvaDescription, cvaTimestamp } from "../../utils/notification-common.js";
8
+ import "../icon-button/daikin-icon-button.js";
8
9
  var __defProp = Object.defineProperty;
9
10
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
11
  var __decorateClass = (decorators, target, key, kind) => {
@@ -34,30 +35,24 @@ let DaikinInlineNotification = class extends DDSElement {
34
35
  const formattedTimestamp = this.timestamp ? formatDate(this.timestamp) : null;
35
36
  return html`<aside
36
37
  class=${cvaContainer({ variant: "inline", status: this.status })}
37
- role="status"
38
38
  >
39
39
  <div class=${cvaContent({ layout: this.layout })}>
40
40
  <slot class=${cvaTitle({ layout: this.layout })} name="title"></slot>
41
- <slot
42
- class=${cvaDescription({ layout: this.layout })}
43
- name="description"
44
- ></slot>
41
+ <slot class=${cvaDescription({ layout: this.layout })}></slot>
45
42
  ${formattedTimestamp ? html`<span class=${cvaTimestamp({ layout: this.layout })}
46
43
  >${formattedTimestamp}</span
47
44
  >` : nothing}
48
45
  </div>
49
46
  <slot name="action" class="flex-none"></slot>
50
- ${this.closable ? html`
51
- <daikin-icon-button
52
- variant="ghost"
53
- button-aria-label="Close"
54
- @click=${this._handleClickClose}
55
- >
56
- <span
57
- class="flex size-6 text-ddt-color-common-text-secondary relative i-daikin-cross"
58
- ></span>
59
- </daikin-icon-button>
60
- ` : nothing}
47
+ ${this.closable ? html`<daikin-icon-button
48
+ variant="ghost"
49
+ button-aria-label="Close"
50
+ @click=${this._handleClickClose}
51
+ >
52
+ <span
53
+ class="flex size-6 text-ddt-color-common-text-secondary relative i-daikin-close"
54
+ ></span>
55
+ </daikin-icon-button>` : nothing}
61
56
  </aside>`;
62
57
  }
63
58
  };
@@ -74,10 +69,10 @@ DaikinInlineNotification.styles = css`
74
69
  }
75
70
  `;
76
71
  __decorateClass([
77
- property({ type: String })
72
+ property({ type: String, reflect: true })
78
73
  ], DaikinInlineNotification.prototype, "status", 2);
79
74
  __decorateClass([
80
- property({ type: String })
75
+ property({ type: String, reflect: true })
81
76
  ], DaikinInlineNotification.prototype, "layout", 2);
82
77
  __decorateClass([
83
78
  property({ type: Boolean, reflect: true })