@daikin-oss/design-system-web-components 1.2.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 (249) hide show
  1. package/CHANGELOG.md +85 -49
  2. package/dist/cjs/base/dds-element.cjs +1 -1
  3. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +1 -0
  4. package/dist/cjs/components/avatar/daikin-avatar.cjs +1 -0
  5. package/dist/cjs/components/calendar/daikin-calendar.cjs +2 -0
  6. package/dist/cjs/components/card-header/daikin-card-header.cjs +1 -1
  7. package/dist/cjs/components/carousel/daikin-carousel.cjs +7 -3
  8. package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +2 -2
  9. package/dist/cjs/components/chip/daikin-chip.cjs +106 -0
  10. package/dist/cjs/components/chip/daikin-chip.d.cts +36 -0
  11. package/dist/cjs/components/chip/index.cjs +7 -0
  12. package/dist/cjs/components/chip/index.d.cts +1 -0
  13. package/dist/cjs/components/combobox/daikin-combobox.cjs +604 -0
  14. package/dist/cjs/components/combobox/daikin-combobox.d.cts +134 -0
  15. package/dist/cjs/components/combobox/index.cjs +8 -0
  16. package/dist/cjs/components/combobox/index.d.cts +1 -0
  17. package/dist/cjs/components/date-picker/daikin-date-picker.cjs +31 -16
  18. package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +2 -1
  19. package/dist/cjs/components/dropdown/daikin-dropdown.cjs +52 -37
  20. package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +4 -3
  21. package/dist/cjs/components/icon/daikin-icon.cjs +117 -12
  22. package/dist/cjs/components/icon/daikin-icon.d.cts +129 -9
  23. package/dist/cjs/components/icon/icons.json.cjs +6 -2
  24. package/dist/cjs/components/icon/icons.json.d.cts +0 -12
  25. package/dist/cjs/components/icon-button/daikin-icon-button.cjs +12 -2
  26. package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +8 -0
  27. package/dist/cjs/components/index.cjs +36 -0
  28. package/dist/cjs/components/index.d.cts +5 -0
  29. package/dist/cjs/components/input-group/daikin-input-group.cjs +1 -1
  30. package/dist/cjs/components/input-group/daikin-input-group.d.cts +40 -13
  31. package/dist/cjs/components/list-item/daikin-list-item.cjs +2 -2
  32. package/dist/cjs/components/modal-header/daikin-modal-header.cjs +1 -1
  33. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +3 -3
  34. package/dist/cjs/components/select/daikin-select.cjs +6 -1
  35. package/dist/cjs/components/tab/daikin-tab.cjs +1 -0
  36. package/dist/cjs/components/table/daikin-table.cjs +33 -12
  37. package/dist/cjs/components/table/daikin-table.d.cts +67 -34
  38. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +31 -6
  39. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +7 -0
  40. package/dist/cjs/components/text-field/daikin-text-field.cjs +191 -56
  41. package/dist/cjs/components/text-field/daikin-text-field.d.cts +32 -3
  42. package/dist/cjs/components/text-field/number-utils.cjs +61 -0
  43. package/dist/cjs/components/text-field/number-utils.d.cts +26 -0
  44. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +312 -0
  45. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +136 -0
  46. package/dist/cjs/components/text-masked-field/index.cjs +7 -0
  47. package/dist/cjs/components/text-masked-field/index.d.cts +1 -0
  48. package/dist/cjs/components/time-picker/daikin-time-picker.cjs +577 -0
  49. package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +165 -0
  50. package/dist/cjs/components/time-picker/index.cjs +17 -0
  51. package/dist/cjs/components/time-picker/index.d.cts +1 -0
  52. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +1 -1
  53. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +12 -2
  54. package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +8 -1
  55. package/dist/cjs/controllers/floating-ui-auto-update.cjs +22 -4
  56. package/dist/cjs/controllers/floating-ui-auto-update.d.cts +12 -0
  57. package/dist/cjs/icon-registry.cjs +170 -0
  58. package/dist/cjs/icon-registry.d.cts +120 -0
  59. package/dist/cjs/index.cjs +39 -0
  60. package/dist/cjs/index.d.cts +1 -0
  61. package/dist/cjs/tailwind.css.cjs +1 -1
  62. package/dist/cjs/utils/notification-common.d.cts +2 -2
  63. package/dist/cjs-dev/base/dds-element.cjs +1 -1
  64. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +1 -0
  65. package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +1 -0
  66. package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +2 -0
  67. package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +1 -1
  68. package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +7 -3
  69. package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +2 -2
  70. package/dist/cjs-dev/components/chip/daikin-chip.cjs +106 -0
  71. package/dist/cjs-dev/components/chip/daikin-chip.d.cts +36 -0
  72. package/dist/cjs-dev/components/chip/index.cjs +7 -0
  73. package/dist/cjs-dev/components/chip/index.d.cts +1 -0
  74. package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +604 -0
  75. package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +134 -0
  76. package/dist/cjs-dev/components/combobox/index.cjs +8 -0
  77. package/dist/cjs-dev/components/combobox/index.d.cts +1 -0
  78. package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +31 -16
  79. package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +2 -1
  80. package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +52 -37
  81. package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +4 -3
  82. package/dist/cjs-dev/components/icon/daikin-icon.cjs +141 -16
  83. package/dist/cjs-dev/components/icon/daikin-icon.d.cts +129 -9
  84. package/dist/cjs-dev/components/icon/icons.json.cjs +6 -2
  85. package/dist/cjs-dev/components/icon/icons.json.d.cts +0 -12
  86. package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +12 -2
  87. package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +8 -0
  88. package/dist/cjs-dev/components/index.cjs +36 -0
  89. package/dist/cjs-dev/components/index.d.cts +5 -0
  90. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +1 -1
  91. package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +40 -13
  92. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +2 -2
  93. package/dist/cjs-dev/components/modal-header/daikin-modal-header.cjs +1 -1
  94. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +3 -3
  95. package/dist/cjs-dev/components/select/daikin-select.cjs +6 -1
  96. package/dist/cjs-dev/components/tab/daikin-tab.cjs +1 -0
  97. package/dist/cjs-dev/components/table/daikin-table.cjs +36 -15
  98. package/dist/cjs-dev/components/table/daikin-table.d.cts +67 -34
  99. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +31 -6
  100. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +7 -0
  101. package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +191 -56
  102. package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +32 -3
  103. package/dist/cjs-dev/components/text-field/number-utils.cjs +64 -0
  104. package/dist/cjs-dev/components/text-field/number-utils.d.cts +26 -0
  105. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +312 -0
  106. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +136 -0
  107. package/dist/cjs-dev/components/text-masked-field/index.cjs +7 -0
  108. package/dist/cjs-dev/components/text-masked-field/index.d.cts +1 -0
  109. package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +589 -0
  110. package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +165 -0
  111. package/dist/cjs-dev/components/time-picker/index.cjs +17 -0
  112. package/dist/cjs-dev/components/time-picker/index.d.cts +1 -0
  113. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +1 -1
  114. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +12 -2
  115. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +8 -1
  116. package/dist/cjs-dev/controllers/floating-ui-auto-update.cjs +22 -4
  117. package/dist/cjs-dev/controllers/floating-ui-auto-update.d.cts +12 -0
  118. package/dist/cjs-dev/icon-registry.cjs +170 -0
  119. package/dist/cjs-dev/icon-registry.d.cts +120 -0
  120. package/dist/cjs-dev/index.cjs +39 -0
  121. package/dist/cjs-dev/index.d.cts +1 -0
  122. package/dist/cjs-dev/tailwind.css.cjs +1 -1
  123. package/dist/cjs-dev/utils/notification-common.d.cts +2 -2
  124. package/dist/es/base/dds-element.js +1 -1
  125. package/dist/es/components/accordion-item/daikin-accordion-item.js +1 -0
  126. package/dist/es/components/avatar/daikin-avatar.js +1 -0
  127. package/dist/es/components/calendar/daikin-calendar.js +2 -0
  128. package/dist/es/components/card-header/daikin-card-header.js +1 -1
  129. package/dist/es/components/carousel/daikin-carousel.js +7 -3
  130. package/dist/es/components/carousel-item/daikin-carousel-item.js +2 -2
  131. package/dist/es/components/chip/daikin-chip.d.ts +36 -0
  132. package/dist/es/components/chip/daikin-chip.js +107 -0
  133. package/dist/es/components/chip/index.d.ts +1 -0
  134. package/dist/es/components/chip/index.js +4 -0
  135. package/dist/es/components/combobox/daikin-combobox.d.ts +134 -0
  136. package/dist/es/components/combobox/daikin-combobox.js +605 -0
  137. package/dist/es/components/combobox/index.d.ts +1 -0
  138. package/dist/es/components/combobox/index.js +5 -0
  139. package/dist/es/components/date-picker/daikin-date-picker.d.ts +2 -1
  140. package/dist/es/components/date-picker/daikin-date-picker.js +32 -17
  141. package/dist/es/components/dropdown/daikin-dropdown.d.ts +4 -3
  142. package/dist/es/components/dropdown/daikin-dropdown.js +52 -37
  143. package/dist/es/components/icon/daikin-icon.d.ts +129 -9
  144. package/dist/es/components/icon/daikin-icon.js +118 -13
  145. package/dist/es/components/icon/icons.json.d.ts +0 -12
  146. package/dist/es/components/icon/icons.json.js +5 -1
  147. package/dist/es/components/icon-button/daikin-icon-button.d.ts +8 -0
  148. package/dist/es/components/icon-button/daikin-icon-button.js +12 -2
  149. package/dist/es/components/index.d.ts +5 -0
  150. package/dist/es/components/index.js +22 -1
  151. package/dist/es/components/input-group/daikin-input-group.d.ts +40 -13
  152. package/dist/es/components/input-group/daikin-input-group.js +1 -1
  153. package/dist/es/components/list-item/daikin-list-item.js +2 -2
  154. package/dist/es/components/modal-header/daikin-modal-header.js +1 -1
  155. package/dist/es/components/progress-bar/daikin-progress-bar.js +3 -3
  156. package/dist/es/components/select/daikin-select.js +6 -1
  157. package/dist/es/components/tab/daikin-tab.js +1 -0
  158. package/dist/es/components/table/daikin-table.d.ts +67 -34
  159. package/dist/es/components/table/daikin-table.js +33 -12
  160. package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +7 -0
  161. package/dist/es/components/table-header-cell/daikin-table-header-cell.js +31 -6
  162. package/dist/es/components/text-field/daikin-text-field.d.ts +32 -3
  163. package/dist/es/components/text-field/daikin-text-field.js +191 -56
  164. package/dist/es/components/text-field/number-utils.d.ts +26 -0
  165. package/dist/es/components/text-field/number-utils.js +61 -0
  166. package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +136 -0
  167. package/dist/es/components/text-masked-field/daikin-text-masked-field.js +313 -0
  168. package/dist/es/components/text-masked-field/index.d.ts +1 -0
  169. package/dist/es/components/text-masked-field/index.js +4 -0
  170. package/dist/es/components/time-picker/daikin-time-picker.d.ts +165 -0
  171. package/dist/es/components/time-picker/daikin-time-picker.js +578 -0
  172. package/dist/es/components/time-picker/index.d.ts +1 -0
  173. package/dist/es/components/time-picker/index.js +14 -0
  174. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +1 -1
  175. package/dist/es/components/tooltip/daikin-tooltip.d.ts +8 -1
  176. package/dist/es/components/tooltip/daikin-tooltip.js +12 -2
  177. package/dist/es/controllers/floating-ui-auto-update.d.ts +12 -0
  178. package/dist/es/controllers/floating-ui-auto-update.js +22 -4
  179. package/dist/es/icon-registry.d.ts +120 -0
  180. package/dist/es/icon-registry.js +170 -0
  181. package/dist/es/index.d.ts +1 -0
  182. package/dist/es/index.js +25 -1
  183. package/dist/es/tailwind.css.js +1 -1
  184. package/dist/es/utils/notification-common.d.ts +2 -2
  185. package/dist/es-dev/base/dds-element.js +1 -1
  186. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +1 -0
  187. package/dist/es-dev/components/avatar/daikin-avatar.js +1 -0
  188. package/dist/es-dev/components/calendar/daikin-calendar.js +2 -0
  189. package/dist/es-dev/components/card-header/daikin-card-header.js +1 -1
  190. package/dist/es-dev/components/carousel/daikin-carousel.js +7 -3
  191. package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +2 -2
  192. package/dist/es-dev/components/chip/daikin-chip.d.ts +36 -0
  193. package/dist/es-dev/components/chip/daikin-chip.js +107 -0
  194. package/dist/es-dev/components/chip/index.d.ts +1 -0
  195. package/dist/es-dev/components/chip/index.js +4 -0
  196. package/dist/es-dev/components/combobox/daikin-combobox.d.ts +134 -0
  197. package/dist/es-dev/components/combobox/daikin-combobox.js +605 -0
  198. package/dist/es-dev/components/combobox/index.d.ts +1 -0
  199. package/dist/es-dev/components/combobox/index.js +5 -0
  200. package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +2 -1
  201. package/dist/es-dev/components/date-picker/daikin-date-picker.js +32 -17
  202. package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +4 -3
  203. package/dist/es-dev/components/dropdown/daikin-dropdown.js +52 -37
  204. package/dist/es-dev/components/icon/daikin-icon.d.ts +129 -9
  205. package/dist/es-dev/components/icon/daikin-icon.js +142 -17
  206. package/dist/es-dev/components/icon/icons.json.d.ts +0 -12
  207. package/dist/es-dev/components/icon/icons.json.js +5 -1
  208. package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +8 -0
  209. package/dist/es-dev/components/icon-button/daikin-icon-button.js +12 -2
  210. package/dist/es-dev/components/index.d.ts +5 -0
  211. package/dist/es-dev/components/index.js +22 -1
  212. package/dist/es-dev/components/input-group/daikin-input-group.d.ts +40 -13
  213. package/dist/es-dev/components/input-group/daikin-input-group.js +1 -1
  214. package/dist/es-dev/components/list-item/daikin-list-item.js +2 -2
  215. package/dist/es-dev/components/modal-header/daikin-modal-header.js +1 -1
  216. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +3 -3
  217. package/dist/es-dev/components/select/daikin-select.js +6 -1
  218. package/dist/es-dev/components/tab/daikin-tab.js +1 -0
  219. package/dist/es-dev/components/table/daikin-table.d.ts +67 -34
  220. package/dist/es-dev/components/table/daikin-table.js +36 -15
  221. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +7 -0
  222. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +31 -6
  223. package/dist/es-dev/components/text-field/daikin-text-field.d.ts +32 -3
  224. package/dist/es-dev/components/text-field/daikin-text-field.js +191 -56
  225. package/dist/es-dev/components/text-field/number-utils.d.ts +26 -0
  226. package/dist/es-dev/components/text-field/number-utils.js +64 -0
  227. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +136 -0
  228. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +313 -0
  229. package/dist/es-dev/components/text-masked-field/index.d.ts +1 -0
  230. package/dist/es-dev/components/text-masked-field/index.js +4 -0
  231. package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +165 -0
  232. package/dist/es-dev/components/time-picker/daikin-time-picker.js +590 -0
  233. package/dist/es-dev/components/time-picker/index.d.ts +1 -0
  234. package/dist/es-dev/components/time-picker/index.js +14 -0
  235. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +1 -1
  236. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +8 -1
  237. package/dist/es-dev/components/tooltip/daikin-tooltip.js +12 -2
  238. package/dist/es-dev/controllers/floating-ui-auto-update.d.ts +12 -0
  239. package/dist/es-dev/controllers/floating-ui-auto-update.js +22 -4
  240. package/dist/es-dev/icon-registry.d.ts +120 -0
  241. package/dist/es-dev/icon-registry.js +170 -0
  242. package/dist/es-dev/index.d.ts +1 -0
  243. package/dist/es-dev/index.js +25 -1
  244. package/dist/es-dev/tailwind.css.js +1 -1
  245. package/dist/es-dev/utils/notification-common.d.ts +2 -2
  246. package/icons/number-minus.svg +5 -0
  247. package/icons/number-plus.svg +5 -0
  248. package/package.json +14 -4
  249. package/icons/dropdown-chevron-down.svg +0 -3
package/CHANGELOG.md CHANGED
@@ -1,19 +1,74 @@
1
1
  # @daikin-oss/design-system-web-components
2
2
 
3
- ## 1.2.0
3
+ ## 1.3.0-next.2
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - [#193](https://github.com/dsv-rp/DDS/pull/193) [`a726caa`](https://github.com/dsv-rp/DDS/commit/a726caa048f528aedda421ace0388683ebd3c804) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Header: Add Recipe. (DDS-2169)
8
- Data Display: Add Recipe. (DDS-2284)
7
+ - [#244](https://github.com/dsv-rp/DDS/pull/244) [`31675c7`](https://github.com/dsv-rp/DDS/commit/31675c78cd74ee25f2bcd48dbaa8818074e593e7) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Time Picker: Add Time Picker component. (DDS-2429)
9
8
 
10
- - [#144](https://github.com/dsv-rp/DDS/pull/144) [`bde7786`](https://github.com/dsv-rp/DDS/commit/bde778694815e551bcca77c190d13b7b0488728e) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Checkbox Group: Initial Implementation. (DDS-1732)
9
+ - [#227](https://github.com/dsv-rp/DDS/pull/227) [`1b2450a`](https://github.com/dsv-rp/DDS/commit/1b2450a37d5a8ecfbd3b5caf3ddd90ba80a69482) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Combobox: Initial Implementation. (DDS-1876)
11
10
 
12
- - [#161](https://github.com/dsv-rp/DDS/pull/161) [`c4f05f8`](https://github.com/dsv-rp/DDS/commit/c4f05f8c2b4feb1fee67bdd7449e3e5429e1d10a) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Menu: Initial Implementation. (DDS-1937)
11
+ - [#254](https://github.com/dsv-rp/DDS/pull/254) [`ee7ff8c`](https://github.com/dsv-rp/DDS/commit/ee7ff8cd6aa31c8355574a9ab54cd13149259909) Thanks [@dk-wei](https://github.com/dk-wei)! - Icon Button: Added the `size` attribute to support larger sizes. (DDS-2577)
13
12
 
14
- - [#180](https://github.com/dsv-rp/DDS/pull/180) [`2590eee`](https://github.com/dsv-rp/DDS/commit/2590eee5e2a51dd7a6d9342010c9ce91f101ed20) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Logo: Initial Implementation. (DDS-2122)
13
+ - [#238](https://github.com/dsv-rp/DDS/pull/238) [`4739419`](https://github.com/dsv-rp/DDS/commit/47394199565b8e08e4d64bb1bad9980069705020) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Date Range: Add date range recipe.
15
14
 
16
- - [#120](https://github.com/dsv-rp/DDS/pull/120) [`cd05582`](https://github.com/dsv-rp/DDS/commit/cd055823e21a54de02db36ba0a9cd0488b21c85f) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Slider: Initial Implementation. (DDS-1740)
15
+ - [#239](https://github.com/dsv-rp/DDS/pull/239) [`6356f23`](https://github.com/dsv-rp/DDS/commit/6356f2365d1035a96c7c7672be67c0053ad088b8) Thanks [@yodas7](https://github.com/yodas7)! - Icon: Added custom icon registration feature that allows registering and using custom icons via the icon registry. (DDS-2509)
16
+
17
+ - [#231](https://github.com/dsv-rp/DDS/pull/231) [`817ba1e`](https://github.com/dsv-rp/DDS/commit/817ba1e7cd386e67fadc7701b00124c66b802f07) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Chip: Initial Implementation. (DDS-2398)
18
+
19
+ - [#229](https://github.com/dsv-rp/DDS/pull/229) [`cd1a53e`](https://github.com/dsv-rp/DDS/commit/cd1a53e23d7116667905faf640814174f8bc21ba) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Login: Add Login Recipe. (DDS-2410)
20
+
21
+ - [#243](https://github.com/dsv-rp/DDS/pull/243) [`3a70b2c`](https://github.com/dsv-rp/DDS/commit/3a70b2cef781d5bea10f88689f4de8d24d8104c9) Thanks [@yodas7](https://github.com/yodas7)! - Text Masked Field: Initial Implementation. (DDS-2412)
22
+
23
+ ### Patch Changes
24
+
25
+ - [#256](https://github.com/dsv-rp/DDS/pull/256) [`c049117`](https://github.com/dsv-rp/DDS/commit/c049117b05e92c73827d84c50f953f6cc89491c9) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Dropdown: Fixed an issue where the dropdown would not close on Safari. (DDS-2593)
26
+ Dropdown: Fixed an issue where the dropdown would not open on iOS Safari.
27
+ Time Picker: Added a story and test cases for the component's ​error state​. (DDS-2595)
28
+ Time Picker: Update min and max property docs​. (DDS-2594)
29
+
30
+ - [#234](https://github.com/dsv-rp/DDS/pull/234) [`c39282e`](https://github.com/dsv-rp/DDS/commit/c39282e48b4e655a4852610bd36d25fa02bd0ef0) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Date Picker: Fixed the issue where the floating popup did not automatically adjust its position based on the component's location, as well as the unstable open state on touch devices.
31
+ Dropdown: Fixed the issue where the unstable open state on touch devices.
32
+
33
+ - [#226](https://github.com/dsv-rp/DDS/pull/226) [`1b008d4`](https://github.com/dsv-rp/DDS/commit/1b008d45846d7a7772b67d22e0cf952134e4abf1) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Storybook: Updated the code in the Show Code section of the data display docs to make it easier for users to reference. (DDS-2467)
34
+
35
+ - [#214](https://github.com/dsv-rp/DDS/pull/214) [`c5d8397`](https://github.com/dsv-rp/DDS/commit/c5d8397a978b657edaafc2bdf59b7063a5256b9b) Thanks [@dk-wei](https://github.com/dk-wei)! - Carousel: Wrap text in carousel items so that the size of the carousel items does not exceed the container.
36
+
37
+ - [#228](https://github.com/dsv-rp/DDS/pull/228) [`5a3273f`](https://github.com/dsv-rp/DDS/commit/5a3273fd29ce90e31b196ac4b8b2c60005e22f8c) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Table: Updated the docs for better user understanding. (DDS-2469)
38
+ Text Field: Fix the issue when click the clear button can't fire input event and it will get a wrong value from `event.target.value` . (DDS-2468)
39
+
40
+ - [#258](https://github.com/dsv-rp/DDS/pull/258) [`a17712c`](https://github.com/dsv-rp/DDS/commit/a17712ca5ccf6c5ba45cd46efba1ace4b1368d60) Thanks [@yodas7](https://github.com/yodas7)! - Table: The sort icon in table header rows now changes based on the sort state. (DDS-2503)
41
+ Table Header Cell: Added an `order` property to control the sort icon display. (DDS-2503)
42
+
43
+ - [#246](https://github.com/dsv-rp/DDS/pull/246) [`1c3c47e`](https://github.com/dsv-rp/DDS/commit/1c3c47e4aa329e6f670793a2ab041d3c8a37050f) Thanks [@yodas7](https://github.com/yodas7)! - Dropdown: Always set button labels to improve accessibility. (DDS-2539)
44
+
45
+ - [#221](https://github.com/dsv-rp/DDS/pull/221) [`8612e63`](https://github.com/dsv-rp/DDS/commit/8612e637b608a01b6276e186d86aca7af02032d9) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Storybook: Changed the control for icon-related properties in Controls from text input to a dropdown list. (DDS-2425)
46
+
47
+ - [#251](https://github.com/dsv-rp/DDS/pull/251) [`349f760`](https://github.com/dsv-rp/DDS/commit/349f7609be3e394ba7522a3b495072ed00f25c48) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - List Item: Fixed an issue where the left-side icon would shrink when the content was too long. (DDS-2492)
48
+ Tooltip: Updated the component documentation. (DDS-2496)
49
+ Tooltip: Fixed a bug where the popover would unintentionally open upon clicking the trigger when the tooltip was set to the manual control. (DDS-2559)
50
+ Radio Group: Fixed an issue where components were not exported from the root file.
51
+ Chip: Fixed an issue where components were not exported from the root file.
52
+ Card: Fixed the appearance of the card footer button to use the outline variant.
53
+ Dropdown: Fixed an issue where the dropdown's ​scrollbar overlapped a portion of the border radius. (DDS-2544)
54
+ Combobox: Fixed an issue where the dropdown's ​scrollbar overlapped a portion of the border radius. (DDS-2544)
55
+
56
+ - [#241](https://github.com/dsv-rp/DDS/pull/241) [`032b288`](https://github.com/dsv-rp/DDS/commit/032b288b4d57f53a2e14fc189e52f44b84a2a89d) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Explicitly set the `type` attribute of the `<button>` elements in the following components to `"button"` to avoid ambiguity and potential issues.
57
+
58
+ - daikin-accordion-item
59
+ - daikin-avatar
60
+ - daikin-calendar
61
+ - daikin-carousel
62
+ - daikin-tab
63
+
64
+ ## 1.2.0
65
+
66
+ ### Minor Changes
67
+
68
+ - [#190](https://github.com/dsv-rp/DDS/pull/190) [`9d1e55b`](https://github.com/dsv-rp/DDS/commit/9d1e55bda7a4032702332b2f894b26fb354a1751) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Using Material Icons as the source for the component icons and have standardized some of the icon names. (DDS-2249)
69
+
70
+ - [#193](https://github.com/dsv-rp/DDS/pull/193) [`a726caa`](https://github.com/dsv-rp/DDS/commit/a726caa048f528aedda421ace0388683ebd3c804) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Header: Add Recipe. (DDS-2169)
71
+ Data Display: Add Recipe. (DDS-2284)
17
72
 
18
73
  - [#194](https://github.com/dsv-rp/DDS/pull/194) [`3a0834a`](https://github.com/dsv-rp/DDS/commit/3a0834aade4661eb1b2df6a05a273a9c45c90568) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Button: Fixed an issue where the button did not function as a submit button.
19
74
  Icon Button: Fixed an issue where the button did not function as a submit button.
@@ -28,70 +83,51 @@
28
83
  Text Field: Added `form` attribute. (DDS-2254)
29
84
  Toggle: Added `form` attribute. (DDS-2254)
30
85
 
31
- - [#167](https://github.com/dsv-rp/DDS/pull/167) [`c9d2430`](https://github.com/dsv-rp/DDS/commit/c9d2430520890b3b2fdb9cefb7d552fd3d237d28) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Inline Notification: The `description` slot has been replaced with the default slot. (DDS-1981)
32
- Inline Notification: Updated appearance. (DDS-1981)
33
- **BREAKING CHANGE** Toast Notification: The `description` slot has been replaced with the default slot. (DDS-1982)
34
- Toast Notification: Updated appearance. (DDS-1982)
35
-
36
86
  - [#204](https://github.com/dsv-rp/DDS/pull/204) [`219547a`](https://github.com/dsv-rp/DDS/commit/219547afb633c0e05504307fa1638852e7b5ec52) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Button: Add large size variant. (DDS-2323)
37
87
 
38
88
  - [#202](https://github.com/dsv-rp/DDS/pull/202) [`415ddc5`](https://github.com/dsv-rp/DDS/commit/415ddc59a7cd3ca209f6a5c112fc0245bf2e17b6) Thanks [@yodas7](https://github.com/yodas7)! - Date Picker: Initial Implementation. (DDS-1703)
39
89
  Calender: Initial Implementation. (DDS-1704)
40
90
 
41
- - [#157](https://github.com/dsv-rp/DDS/pull/157) [`79b510a`](https://github.com/dsv-rp/DDS/commit/79b510a396435731ba8b2bec6b2fbe1bbcc780d6) Thanks [@poetrainy](https://github.com/poetrainy)! - Text Field: The `type` attribute now accepts `password` and `search` . (DDS-1707, DDS-1709)
42
- Text Field: The `type` attribute now accepts `search` . (DDS-1709)
43
-
44
- - [#219](https://github.com/dsv-rp/DDS/pull/219) [`36552b0`](https://github.com/dsv-rp/DDS/commit/36552b070cacda6e051ff233df78edfe817527a5) Thanks [@yodas7](https://github.com/yodas7)! - Release v1.2.0.
45
-
46
- The following (stable) components have been added in this release.
47
-
48
- - Slider
49
- - Logo
50
- - Menu
51
- - Checkbox Group
52
- - Date Picker
53
- - Calendar
54
- - Modal
55
-
56
- The following components have been promoted from experimental to stable in this release.
57
-
58
- - Loading
59
- - Avatar
60
- - Toast Notification
61
-
62
- No new experimental components were added in this release.
63
-
64
91
  - [#182](https://github.com/dsv-rp/DDS/pull/182) [`08cea1b`](https://github.com/dsv-rp/DDS/commit/08cea1bc3a7250a8cbad44363aeb8bb7d2bc084a) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Modal: Initial Implementation. (DDS-1723)
65
92
 
66
93
  ### Patch Changes
67
94
 
68
95
  - [#200](https://github.com/dsv-rp/DDS/pull/200) [`625ff76`](https://github.com/dsv-rp/DDS/commit/625ff763ee3a41bdf1d448575617b4faf18f0c16) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Loading: Update story appearance and comment about background property. (DDS-2099)
69
- Password: Update story appearance and fixed an issue where an extra eye icon appeared in input fields on Edge browser. (DDS-2095)
96
+ Password: Update story and fixed an issue where an extra eye icon appeared in input fields on Edge browser. (DDS-2095)
70
97
  Logo: Automatically select the appropriate logo variant based on the Storybook theme to prevent user confusion. (DDS-2150)
71
98
  Menu: Removed unnecessary items from the story controls and adjusted the text change line strategy. (DDS-2113)
72
99
 
73
- - [#171](https://github.com/dsv-rp/DDS/pull/171) [`48dd161`](https://github.com/dsv-rp/DDS/commit/48dd16156a8776e6fc13fc825bf4bb98270a4488) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Dropdown: Fixed bugs open properties not work in storybook doc. (DDS-1983)
74
- Dropdown: Update story appearance.
75
- Dropdown: Update appearance when content overflow. (DDS-1983)
76
-
77
100
  - [#182](https://github.com/dsv-rp/DDS/pull/182) [`08cea1b`](https://github.com/dsv-rp/DDS/commit/08cea1bc3a7250a8cbad44363aeb8bb7d2bc084a) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Card: Change padding from 16px to 12px.
78
101
 
79
102
  - [#212](https://github.com/dsv-rp/DDS/pull/212) [`b299a93`](https://github.com/dsv-rp/DDS/commit/b299a931eebafdddc36e5c3641fcef2c5fa368d1) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Tooltip: fix an issue that tooltip not work in touch device. (DDS-2303)
80
103
 
81
- - [#190](https://github.com/dsv-rp/DDS/pull/190) [`9d1e55b`](https://github.com/dsv-rp/DDS/commit/9d1e55bda7a4032702332b2f894b26fb354a1751) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Icon: Some icons have been updated. (DDS-2249)
104
+ - [#209](https://github.com/dsv-rp/DDS/pull/209) [`8fa51e0`](https://github.com/dsv-rp/DDS/commit/8fa51e071129190733dae441193ed0f34a1c207b) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Modal: Update story appearance and the text change line strategy. (DDS-2012)
82
105
 
83
- Icon: The following icons have been added. (DDS-2249)
106
+ ## 1.2.0-next.0
84
107
 
85
- - `success`
86
- - `error`
108
+ ### Minor Changes
87
109
 
88
- **DEPRECATED** Icon: The following icons are deprecated and will be removed in future versions. (DDS-2249)
110
+ - [#167](https://github.com/dsv-rp/DDS/pull/167) [`c9d2430`](https://github.com/dsv-rp/DDS/commit/c9d2430520890b3b2fdb9cefb7d552fd3d237d28) Thanks [@poetrainy](https://github.com/poetrainy)! - **BREAKING CHANGE** Inline Notification: The `description` slot has been replaced with the default slot. (DDS-1981)
111
+ Inline Notification: Updated appearance. (DDS-1981)
112
+ **BREAKING CHANGE** Toast Notification: The `description` slot has been replaced with the default slot. (DDS-1982)
113
+ Toast Notification: Updated appearance. (DDS-1982)
89
114
 
90
- - `positive` (Use `success` instead)
91
- - `negative` (Use `error` instead)
92
- - `cross` (Use `close` instead)
115
+ - [#144](https://github.com/dsv-rp/DDS/pull/144) [`bde7786`](https://github.com/dsv-rp/DDS/commit/bde778694815e551bcca77c190d13b7b0488728e) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Checkbox Group: Initial Implementation. (DDS-1732)
93
116
 
94
- - [#209](https://github.com/dsv-rp/DDS/pull/209) [`8fa51e0`](https://github.com/dsv-rp/DDS/commit/8fa51e071129190733dae441193ed0f34a1c207b) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Modal: Update story appearance and the text change line strategy. (DDS-2012)
117
+ - [#161](https://github.com/dsv-rp/DDS/pull/161) [`c4f05f8`](https://github.com/dsv-rp/DDS/commit/c4f05f8c2b4feb1fee67bdd7449e3e5429e1d10a) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Menu: Initial Implementation. (DDS-1937)
118
+
119
+ - [#180](https://github.com/dsv-rp/DDS/pull/180) [`2590eee`](https://github.com/dsv-rp/DDS/commit/2590eee5e2a51dd7a6d9342010c9ce91f101ed20) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Logo: Initial Implementation. (DDS-2122)
120
+
121
+ - [#120](https://github.com/dsv-rp/DDS/pull/120) [`cd05582`](https://github.com/dsv-rp/DDS/commit/cd055823e21a54de02db36ba0a9cd0488b21c85f) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Slider: Initial Implementation. (DDS-1740)
122
+
123
+ - [#157](https://github.com/dsv-rp/DDS/pull/157) [`79b510a`](https://github.com/dsv-rp/DDS/commit/79b510a396435731ba8b2bec6b2fbe1bbcc780d6) Thanks [@poetrainy](https://github.com/poetrainy)! - Text Field: The `type` attribute now accepts `password` and `search` . (DDS-1707, DDS-1709)
124
+ Text Field: The `type` attribute now accepts `search` . (DDS-1709)
125
+
126
+ ### Patch Changes
127
+
128
+ - [#171](https://github.com/dsv-rp/DDS/pull/171) [`48dd161`](https://github.com/dsv-rp/DDS/commit/48dd16156a8776e6fc13fc825bf4bb98270a4488) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Dropdown: Fixed bugs open properties not work in storybook doc. (DDS-1983)
129
+ Dropdown: Update story appearance.
130
+ Dropdown: Update appearance when content overflow. (DDS-1983)
95
131
 
96
132
  - [#183](https://github.com/dsv-rp/DDS/pull/183) [`707676d`](https://github.com/dsv-rp/DDS/commit/707676db9ad8cddab0c7c2e5e8e8a4f22167e14b) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Tooltip: Keep the tooltip component always centered in the storybook view. (DDS-2207)
97
133
 
@@ -3,6 +3,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const lit = require("lit");
4
4
  const _DDSElement = class _DDSElement extends lit.LitElement {
5
5
  };
6
- _DDSElement.version = "1.2.0";
6
+ _DDSElement.version = "1.3.0-next.2";
7
7
  let DDSElement = _DDSElement;
8
8
  exports.DDSElement = DDSElement;
@@ -107,6 +107,7 @@ exports.DaikinAccordionItem = class DaikinAccordionItem extends ddsElement.DDSEl
107
107
  >
108
108
  <button
109
109
  id="summary"
110
+ type="button"
110
111
  ${ref_js.ref(this._summaryRef)}
111
112
  class=${cvaSummary({
112
113
  open,
@@ -91,6 +91,7 @@ exports.DaikinAvatar = class DaikinAvatar extends lit.LitElement {
91
91
  </span>`;
92
92
  } else if (this.type === "button") {
93
93
  return lit.html`<button
94
+ type="button"
94
95
  class=${cvaWrapper({ type: "button" })}
95
96
  aria-label=${ifDefined_js.ifDefined(this.alt ?? void 0)}
96
97
  aria-haspopup=${ifDefined_js.ifDefined(this.avatarAriaHaspopup ?? void 0)}
@@ -263,6 +263,7 @@ exports.DaikinCalendar = class DaikinCalendar extends lit.LitElement {
263
263
  }) {
264
264
  const variant = selected ? "selected" : today ? "today" : "default";
265
265
  return lit.html`<button
266
+ type="button"
266
267
  class=${cvaContentButton({ variant, date: false })}
267
268
  ?disabled=${disabled}
268
269
  role="radio"
@@ -386,6 +387,7 @@ exports.DaikinCalendar = class DaikinCalendar extends lit.LitElement {
386
387
  week,
387
388
  (date) => date.getTime(),
388
389
  (date) => lit.html`<button
390
+ type="button"
389
391
  class=${cvaContentButton({
390
392
  variant: date.getTime() === (value == null ? void 0 : value.getTime()) ? "selected" : date.getTime() === today.getTime() ? "today" : "default",
391
393
  date: true
@@ -25,7 +25,7 @@ const cvaTitle = classVarianceAuthority.cva([
25
25
  ])();
26
26
  const cvaDescription = classVarianceAuthority.cva([
27
27
  "flex-none",
28
- "text-ddt-color-common-text-secondary",
28
+ "text-ddt-color-common-text-primary",
29
29
  "font-daikinSerif",
30
30
  "text-sm",
31
31
  "leading-normal",
@@ -143,13 +143,16 @@ exports.DaikinCarousel = class DaikinCarousel extends ddsElement.DDSElement {
143
143
  <span class=${cvaButton({ intent: "previous" })}></span>
144
144
  </daikin-icon-button>
145
145
  <div
146
- class="w-full overflow-clip relative focus-within:outline focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-ddt-color-common-border-focus"
146
+ class="w-full overflow-clip relative focus-within:outline focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-ddt-color-common-border-focus [container-type:inline-size]"
147
147
  aria-live="polite"
148
148
  >
149
149
  <div
150
- class="flex w-[calc(100%*var(--total))] transition-transform translate-x-[calc(-100%*var(--current)/var(--total))] duration-[--ddc-transition-duration]"
150
+ class="flex w-[calc(100cqw*var(--total))] transition-transform translate-x-[calc(-100%*var(--current)/var(--total))] duration-[--ddc-transition-duration]"
151
151
  >
152
- <slot @slotchange=${this._handleSlotchange}></slot>
152
+ <slot
153
+ class="slotted:w-[calc(100%/var(--total))]"
154
+ @slotchange=${this._handleSlotchange}
155
+ ></slot>
153
156
  </div>
154
157
  </div>
155
158
  <daikin-icon-button
@@ -174,6 +177,7 @@ exports.DaikinCarousel = class DaikinCarousel extends ddsElement.DDSElement {
174
177
  this._items,
175
178
  (_, index) => index,
176
179
  (_, index) => lit.html`<button
180
+ type="button"
177
181
  class=${INDICATOR_CLASS_NAME}
178
182
  aria-label="Slide ${index + 1}"
179
183
  aria-selected=${this.currentIndex === index}
@@ -40,12 +40,12 @@ exports.DaikinCarouselItem = class DaikinCarouselItem extends ddsElement.DDSElem
40
40
  >
41
41
  <slot
42
42
  name="title"
43
- class="leading-[130%] font-bold"
43
+ class="leading-[130%] font-bold natural-break"
44
44
  @slotchange=${this._handleFooterSlotChange}
45
45
  ></slot>
46
46
  <slot
47
47
  name="description"
48
- class="text-sm"
48
+ class="text-sm natural-break"
49
49
  @slotchange=${this._handleFooterSlotChange}
50
50
  ></slot>
51
51
  </div>
@@ -0,0 +1,106 @@
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 ifDefined_js = require("lit/directives/if-defined.js");
7
+ const tailwind = require("../../tailwind.css.cjs");
8
+ var __defProp = Object.defineProperty;
9
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
+ var __decorateClass = (decorators, target, key, kind) => {
11
+ 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])
14
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
15
+ if (kind && result) __defProp(target, key, result);
16
+ return result;
17
+ };
18
+ const cvaWrapper = classVarianceAuthority.cva([
19
+ "flex",
20
+ "items-center",
21
+ "rounded-[100px]",
22
+ "overflow-hidden",
23
+ "size-full",
24
+ "border",
25
+ "px-1",
26
+ "border-ddt-color-common-neutral-default"
27
+ ]);
28
+ const cvaRemoveButton = classVarianceAuthority.cva([
29
+ "w-4",
30
+ "h-4",
31
+ "flex",
32
+ "items-center",
33
+ "justify-center",
34
+ "rounded-full",
35
+ "overflow-hidden",
36
+ "focus-visible:outline",
37
+ "focus-visible:outline-2",
38
+ "focus-visible:outline-ddt-color-common-border-focus",
39
+ "enabled:var-color-ddt-color-common-neutral-default/color-primary",
40
+ "enabled:hover:var-color-ddt-color-common-neutral-hover/color-primary",
41
+ "enabled:hover:var-color-ddt-color-common-surface-neutral-hover/color-secondary",
42
+ "enabled:active:var-color-ddt-color-common-neutral-press/color-primary",
43
+ "enabled:active:var-color-ddt-color-common-surface-neutral-press/color-secondary",
44
+ "text-[--color-primary]",
45
+ "bg-[--color-secondary]"
46
+ ]);
47
+ exports.DaikinChip = class DaikinChip extends lit.LitElement {
48
+ constructor() {
49
+ super(...arguments);
50
+ this.chipAriaLabel = null;
51
+ }
52
+ _handleRemoveClick(event) {
53
+ event.stopPropagation();
54
+ this.dispatchEvent(new Event("remove", { bubbles: true, composed: true }));
55
+ }
56
+ render() {
57
+ return lit.html`
58
+ <div
59
+ role="group"
60
+ class=${cvaWrapper()}
61
+ aria-label=${ifDefined_js.ifDefined(this.chipAriaLabel)}
62
+ >
63
+ <slot
64
+ name="left-icon"
65
+ class="icon-size-4 text-ddt-color-common-text-primary"
66
+ ></slot>
67
+ <span class="text-ddt-color-common-text-primary px-1 mr-[2px]">
68
+ <slot></slot>
69
+ </span>
70
+ <button
71
+ type="button"
72
+ class=${cvaRemoveButton()}
73
+ aria-label="Remove"
74
+ @click=${this._handleRemoveClick}
75
+ >
76
+ <span class="i-daikin-close text-[--color-primary]"></span>
77
+ </button>
78
+ </div>
79
+ `;
80
+ }
81
+ /**
82
+ * Focuses on the inner remove button
83
+ * @param options focus options
84
+ */
85
+ focus(options) {
86
+ var _a;
87
+ (_a = this._focusableElement) == null ? void 0 : _a.focus(options);
88
+ }
89
+ };
90
+ exports.DaikinChip.styles = lit.css`
91
+ ${lit.unsafeCSS(tailwind.default)}
92
+
93
+ :host {
94
+ display: inline-flex;
95
+ width: max-content;
96
+ }
97
+ `;
98
+ __decorateClass([
99
+ decorators_js.property({ type: String, reflect: true, attribute: "chip-aria-label" })
100
+ ], exports.DaikinChip.prototype, "chipAriaLabel", 2);
101
+ __decorateClass([
102
+ decorators_js.query("button")
103
+ ], exports.DaikinChip.prototype, "_focusableElement", 2);
104
+ exports.DaikinChip = __decorateClass([
105
+ decorators_js.customElement("daikin-chip")
106
+ ], exports.DaikinChip);
@@ -0,0 +1,36 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * A chip is a small UI component that represents a single piece of information, a filter, or a contact. Think of it as a compact tag or a small, clickable token.
4
+ *
5
+ * @fires remove - A custom event emitted when a user clicks the remove button.
6
+ *
7
+ * @example
8
+ *
9
+ * ```js
10
+ * import "@daikin-oss/design-system-web-components/components/chip/index.js";
11
+ * ```
12
+ *
13
+ * ```html
14
+ * <daikin-chip chip-aria-label="Chip Text">Text</daikin-chip>
15
+ * ```
16
+ */
17
+ export declare class DaikinChip extends LitElement {
18
+ static readonly styles: import('lit').CSSResult;
19
+ /**
20
+ * Provides an accessible name of the chip.
21
+ */
22
+ chipAriaLabel: string | null;
23
+ private _focusableElement;
24
+ private _handleRemoveClick;
25
+ render(): import('lit-html').TemplateResult<1>;
26
+ /**
27
+ * Focuses on the inner remove button
28
+ * @param options focus options
29
+ */
30
+ focus(options?: FocusOptions): void;
31
+ }
32
+ declare global {
33
+ interface HTMLElementTagNameMap {
34
+ "daikin-chip": DaikinChip;
35
+ }
36
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const daikinChip = require("./daikin-chip.cjs");
4
+ Object.defineProperty(exports, "DaikinChip", {
5
+ enumerable: true,
6
+ get: () => daikinChip.DaikinChip
7
+ });
@@ -0,0 +1 @@
1
+ export * from "./daikin-chip.cjs";