@daikin-oss/design-system-web-components 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/CHANGELOG.md +150 -0
  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 +141 -9
  23. package/dist/cjs/components/icon/icons.json.cjs +5 -1
  24. package/dist/cjs/components/icon-button/daikin-icon-button.cjs +12 -2
  25. package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +8 -0
  26. package/dist/cjs/components/index.cjs +36 -0
  27. package/dist/cjs/components/index.d.cts +5 -0
  28. package/dist/cjs/components/input-group/daikin-input-group.cjs +1 -1
  29. package/dist/cjs/components/input-group/daikin-input-group.d.cts +40 -13
  30. package/dist/cjs/components/list-item/daikin-list-item.cjs +2 -2
  31. package/dist/cjs/components/modal-header/daikin-modal-header.cjs +1 -1
  32. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +3 -3
  33. package/dist/cjs/components/select/daikin-select.cjs +6 -1
  34. package/dist/cjs/components/tab/daikin-tab.cjs +1 -0
  35. package/dist/cjs/components/table/daikin-table.cjs +33 -12
  36. package/dist/cjs/components/table/daikin-table.d.cts +67 -34
  37. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +31 -6
  38. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +7 -0
  39. package/dist/cjs/components/text-field/daikin-text-field.cjs +191 -56
  40. package/dist/cjs/components/text-field/daikin-text-field.d.cts +32 -3
  41. package/dist/cjs/components/text-field/number-utils.cjs +61 -0
  42. package/dist/cjs/components/text-field/number-utils.d.cts +26 -0
  43. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +312 -0
  44. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +136 -0
  45. package/dist/cjs/components/text-masked-field/index.cjs +7 -0
  46. package/dist/cjs/components/text-masked-field/index.d.cts +1 -0
  47. package/dist/cjs/components/time-picker/daikin-time-picker.cjs +577 -0
  48. package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +165 -0
  49. package/dist/cjs/components/time-picker/index.cjs +17 -0
  50. package/dist/cjs/components/time-picker/index.d.cts +1 -0
  51. package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +1 -1
  52. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +12 -2
  53. package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +8 -1
  54. package/dist/cjs/controllers/floating-ui-auto-update.cjs +22 -4
  55. package/dist/cjs/controllers/floating-ui-auto-update.d.cts +12 -0
  56. package/dist/cjs/icon-registry.cjs +170 -0
  57. package/dist/cjs/icon-registry.d.cts +120 -0
  58. package/dist/cjs/index.cjs +39 -0
  59. package/dist/cjs/index.d.cts +1 -0
  60. package/dist/cjs/tailwind.css.cjs +1 -1
  61. package/dist/cjs/utils/notification-common.d.cts +1 -1
  62. package/dist/cjs-dev/base/dds-element.cjs +1 -1
  63. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +1 -0
  64. package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +1 -0
  65. package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +2 -0
  66. package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +1 -1
  67. package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +7 -3
  68. package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +2 -2
  69. package/dist/cjs-dev/components/chip/daikin-chip.cjs +106 -0
  70. package/dist/cjs-dev/components/chip/daikin-chip.d.cts +36 -0
  71. package/dist/cjs-dev/components/chip/index.cjs +7 -0
  72. package/dist/cjs-dev/components/chip/index.d.cts +1 -0
  73. package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +604 -0
  74. package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +134 -0
  75. package/dist/cjs-dev/components/combobox/index.cjs +8 -0
  76. package/dist/cjs-dev/components/combobox/index.d.cts +1 -0
  77. package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +31 -16
  78. package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +2 -1
  79. package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +52 -37
  80. package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +4 -3
  81. package/dist/cjs-dev/components/icon/daikin-icon.cjs +141 -16
  82. package/dist/cjs-dev/components/icon/daikin-icon.d.cts +141 -9
  83. package/dist/cjs-dev/components/icon/icons.json.cjs +5 -1
  84. package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +12 -2
  85. package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +8 -0
  86. package/dist/cjs-dev/components/index.cjs +36 -0
  87. package/dist/cjs-dev/components/index.d.cts +5 -0
  88. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +1 -1
  89. package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +40 -13
  90. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +2 -2
  91. package/dist/cjs-dev/components/modal-header/daikin-modal-header.cjs +1 -1
  92. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +3 -3
  93. package/dist/cjs-dev/components/select/daikin-select.cjs +6 -1
  94. package/dist/cjs-dev/components/tab/daikin-tab.cjs +1 -0
  95. package/dist/cjs-dev/components/table/daikin-table.cjs +36 -15
  96. package/dist/cjs-dev/components/table/daikin-table.d.cts +67 -34
  97. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +31 -6
  98. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +7 -0
  99. package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +191 -56
  100. package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +32 -3
  101. package/dist/cjs-dev/components/text-field/number-utils.cjs +64 -0
  102. package/dist/cjs-dev/components/text-field/number-utils.d.cts +26 -0
  103. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +312 -0
  104. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +136 -0
  105. package/dist/cjs-dev/components/text-masked-field/index.cjs +7 -0
  106. package/dist/cjs-dev/components/text-masked-field/index.d.cts +1 -0
  107. package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +589 -0
  108. package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +165 -0
  109. package/dist/cjs-dev/components/time-picker/index.cjs +17 -0
  110. package/dist/cjs-dev/components/time-picker/index.d.cts +1 -0
  111. package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +1 -1
  112. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +12 -2
  113. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +8 -1
  114. package/dist/cjs-dev/controllers/floating-ui-auto-update.cjs +22 -4
  115. package/dist/cjs-dev/controllers/floating-ui-auto-update.d.cts +12 -0
  116. package/dist/cjs-dev/icon-registry.cjs +170 -0
  117. package/dist/cjs-dev/icon-registry.d.cts +120 -0
  118. package/dist/cjs-dev/index.cjs +39 -0
  119. package/dist/cjs-dev/index.d.cts +1 -0
  120. package/dist/cjs-dev/tailwind.css.cjs +1 -1
  121. package/dist/cjs-dev/utils/notification-common.d.cts +1 -1
  122. package/dist/es/base/dds-element.js +1 -1
  123. package/dist/es/components/accordion-item/daikin-accordion-item.js +1 -0
  124. package/dist/es/components/avatar/daikin-avatar.js +1 -0
  125. package/dist/es/components/calendar/daikin-calendar.js +2 -0
  126. package/dist/es/components/card-header/daikin-card-header.js +1 -1
  127. package/dist/es/components/carousel/daikin-carousel.js +7 -3
  128. package/dist/es/components/carousel-item/daikin-carousel-item.js +2 -2
  129. package/dist/es/components/chip/daikin-chip.d.ts +36 -0
  130. package/dist/es/components/chip/daikin-chip.js +107 -0
  131. package/dist/es/components/chip/index.d.ts +1 -0
  132. package/dist/es/components/chip/index.js +4 -0
  133. package/dist/es/components/combobox/daikin-combobox.d.ts +134 -0
  134. package/dist/es/components/combobox/daikin-combobox.js +605 -0
  135. package/dist/es/components/combobox/index.d.ts +1 -0
  136. package/dist/es/components/combobox/index.js +5 -0
  137. package/dist/es/components/date-picker/daikin-date-picker.d.ts +2 -1
  138. package/dist/es/components/date-picker/daikin-date-picker.js +32 -17
  139. package/dist/es/components/dropdown/daikin-dropdown.d.ts +4 -3
  140. package/dist/es/components/dropdown/daikin-dropdown.js +52 -37
  141. package/dist/es/components/icon/daikin-icon.d.ts +141 -9
  142. package/dist/es/components/icon/daikin-icon.js +118 -13
  143. package/dist/es/components/icon/icons.json.js +4 -0
  144. package/dist/es/components/icon-button/daikin-icon-button.d.ts +8 -0
  145. package/dist/es/components/icon-button/daikin-icon-button.js +12 -2
  146. package/dist/es/components/index.d.ts +5 -0
  147. package/dist/es/components/index.js +22 -1
  148. package/dist/es/components/input-group/daikin-input-group.d.ts +40 -13
  149. package/dist/es/components/input-group/daikin-input-group.js +1 -1
  150. package/dist/es/components/list-item/daikin-list-item.js +2 -2
  151. package/dist/es/components/modal-header/daikin-modal-header.js +1 -1
  152. package/dist/es/components/progress-bar/daikin-progress-bar.js +3 -3
  153. package/dist/es/components/select/daikin-select.js +6 -1
  154. package/dist/es/components/tab/daikin-tab.js +1 -0
  155. package/dist/es/components/table/daikin-table.d.ts +67 -34
  156. package/dist/es/components/table/daikin-table.js +33 -12
  157. package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +7 -0
  158. package/dist/es/components/table-header-cell/daikin-table-header-cell.js +31 -6
  159. package/dist/es/components/text-field/daikin-text-field.d.ts +32 -3
  160. package/dist/es/components/text-field/daikin-text-field.js +191 -56
  161. package/dist/es/components/text-field/number-utils.d.ts +26 -0
  162. package/dist/es/components/text-field/number-utils.js +61 -0
  163. package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +136 -0
  164. package/dist/es/components/text-masked-field/daikin-text-masked-field.js +313 -0
  165. package/dist/es/components/text-masked-field/index.d.ts +1 -0
  166. package/dist/es/components/text-masked-field/index.js +4 -0
  167. package/dist/es/components/time-picker/daikin-time-picker.d.ts +165 -0
  168. package/dist/es/components/time-picker/daikin-time-picker.js +578 -0
  169. package/dist/es/components/time-picker/index.d.ts +1 -0
  170. package/dist/es/components/time-picker/index.js +14 -0
  171. package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +1 -1
  172. package/dist/es/components/tooltip/daikin-tooltip.d.ts +8 -1
  173. package/dist/es/components/tooltip/daikin-tooltip.js +12 -2
  174. package/dist/es/controllers/floating-ui-auto-update.d.ts +12 -0
  175. package/dist/es/controllers/floating-ui-auto-update.js +22 -4
  176. package/dist/es/icon-registry.d.ts +120 -0
  177. package/dist/es/icon-registry.js +170 -0
  178. package/dist/es/index.d.ts +1 -0
  179. package/dist/es/index.js +25 -1
  180. package/dist/es/tailwind.css.js +1 -1
  181. package/dist/es/utils/notification-common.d.ts +1 -1
  182. package/dist/es-dev/base/dds-element.js +1 -1
  183. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +1 -0
  184. package/dist/es-dev/components/avatar/daikin-avatar.js +1 -0
  185. package/dist/es-dev/components/calendar/daikin-calendar.js +2 -0
  186. package/dist/es-dev/components/card-header/daikin-card-header.js +1 -1
  187. package/dist/es-dev/components/carousel/daikin-carousel.js +7 -3
  188. package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +2 -2
  189. package/dist/es-dev/components/chip/daikin-chip.d.ts +36 -0
  190. package/dist/es-dev/components/chip/daikin-chip.js +107 -0
  191. package/dist/es-dev/components/chip/index.d.ts +1 -0
  192. package/dist/es-dev/components/chip/index.js +4 -0
  193. package/dist/es-dev/components/combobox/daikin-combobox.d.ts +134 -0
  194. package/dist/es-dev/components/combobox/daikin-combobox.js +605 -0
  195. package/dist/es-dev/components/combobox/index.d.ts +1 -0
  196. package/dist/es-dev/components/combobox/index.js +5 -0
  197. package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +2 -1
  198. package/dist/es-dev/components/date-picker/daikin-date-picker.js +32 -17
  199. package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +4 -3
  200. package/dist/es-dev/components/dropdown/daikin-dropdown.js +52 -37
  201. package/dist/es-dev/components/icon/daikin-icon.d.ts +141 -9
  202. package/dist/es-dev/components/icon/daikin-icon.js +142 -17
  203. package/dist/es-dev/components/icon/icons.json.js +4 -0
  204. package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +8 -0
  205. package/dist/es-dev/components/icon-button/daikin-icon-button.js +12 -2
  206. package/dist/es-dev/components/index.d.ts +5 -0
  207. package/dist/es-dev/components/index.js +22 -1
  208. package/dist/es-dev/components/input-group/daikin-input-group.d.ts +40 -13
  209. package/dist/es-dev/components/input-group/daikin-input-group.js +1 -1
  210. package/dist/es-dev/components/list-item/daikin-list-item.js +2 -2
  211. package/dist/es-dev/components/modal-header/daikin-modal-header.js +1 -1
  212. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +3 -3
  213. package/dist/es-dev/components/select/daikin-select.js +6 -1
  214. package/dist/es-dev/components/tab/daikin-tab.js +1 -0
  215. package/dist/es-dev/components/table/daikin-table.d.ts +67 -34
  216. package/dist/es-dev/components/table/daikin-table.js +36 -15
  217. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +7 -0
  218. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +31 -6
  219. package/dist/es-dev/components/text-field/daikin-text-field.d.ts +32 -3
  220. package/dist/es-dev/components/text-field/daikin-text-field.js +191 -56
  221. package/dist/es-dev/components/text-field/number-utils.d.ts +26 -0
  222. package/dist/es-dev/components/text-field/number-utils.js +64 -0
  223. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +136 -0
  224. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +313 -0
  225. package/dist/es-dev/components/text-masked-field/index.d.ts +1 -0
  226. package/dist/es-dev/components/text-masked-field/index.js +4 -0
  227. package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +165 -0
  228. package/dist/es-dev/components/time-picker/daikin-time-picker.js +590 -0
  229. package/dist/es-dev/components/time-picker/index.d.ts +1 -0
  230. package/dist/es-dev/components/time-picker/index.js +14 -0
  231. package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +1 -1
  232. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +8 -1
  233. package/dist/es-dev/components/tooltip/daikin-tooltip.js +12 -2
  234. package/dist/es-dev/controllers/floating-ui-auto-update.d.ts +12 -0
  235. package/dist/es-dev/controllers/floating-ui-auto-update.js +22 -4
  236. package/dist/es-dev/icon-registry.d.ts +120 -0
  237. package/dist/es-dev/icon-registry.js +170 -0
  238. package/dist/es-dev/index.d.ts +1 -0
  239. package/dist/es-dev/index.js +25 -1
  240. package/dist/es-dev/tailwind.css.js +1 -1
  241. package/dist/es-dev/utils/notification-common.d.ts +1 -1
  242. package/icons/number-minus.svg +5 -0
  243. package/icons/number-plus.svg +5 -0
  244. package/package.json +14 -4
  245. package/icons/dropdown-chevron-down.svg +0 -3
package/CHANGELOG.md CHANGED
@@ -1,9 +1,133 @@
1
1
  # @daikin-oss/design-system-web-components
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
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)
8
+
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)
10
+
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)
12
+
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.
14
+
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.3.0-next.2
65
+
66
+ ### Minor Changes
67
+
68
+ - [#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)
69
+
70
+ - [#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)
71
+
72
+ - [#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)
73
+
74
+ - [#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.
75
+
76
+ - [#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)
77
+
78
+ - [#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)
79
+
80
+ - [#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)
81
+
82
+ - [#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)
83
+
84
+ ### Patch Changes
85
+
86
+ - [#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)
87
+ Dropdown: Fixed an issue where the dropdown would not open on iOS Safari.
88
+ Time Picker: Added a story and test cases for the component's ​error state​. (DDS-2595)
89
+ Time Picker: Update min and max property docs​. (DDS-2594)
90
+
91
+ - [#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.
92
+ Dropdown: Fixed the issue where the unstable open state on touch devices.
93
+
94
+ - [#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)
95
+
96
+ - [#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.
97
+
98
+ - [#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)
99
+ 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)
100
+
101
+ - [#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)
102
+ Table Header Cell: Added an `order` property to control the sort icon display. (DDS-2503)
103
+
104
+ - [#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)
105
+
106
+ - [#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)
107
+
108
+ - [#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)
109
+ Tooltip: Updated the component documentation. (DDS-2496)
110
+ 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)
111
+ Radio Group: Fixed an issue where components were not exported from the root file.
112
+ Chip: Fixed an issue where components were not exported from the root file.
113
+ Card: Fixed the appearance of the card footer button to use the outline variant.
114
+ Dropdown: Fixed an issue where the dropdown's ​scrollbar overlapped a portion of the border radius. (DDS-2544)
115
+ Combobox: Fixed an issue where the dropdown's ​scrollbar overlapped a portion of the border radius. (DDS-2544)
116
+
117
+ - [#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.
118
+
119
+ - daikin-accordion-item
120
+ - daikin-avatar
121
+ - daikin-calendar
122
+ - daikin-carousel
123
+ - daikin-tab
124
+
3
125
  ## 1.2.0
4
126
 
5
127
  ### Minor Changes
6
128
 
129
+ - [#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)
130
+
7
131
  - [#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
132
  Data Display: Add Recipe. (DDS-2284)
9
133
 
@@ -93,6 +217,32 @@
93
217
 
94
218
  - [#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)
95
219
 
220
+ ## 1.2.0-next.0
221
+
222
+ ### Minor Changes
223
+
224
+ - [#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)
225
+ Inline Notification: Updated appearance. (DDS-1981)
226
+ **BREAKING CHANGE** Toast Notification: The `description` slot has been replaced with the default slot. (DDS-1982)
227
+ Toast Notification: Updated appearance. (DDS-1982)
228
+
229
+ - [#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)
230
+
231
+ - [#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)
232
+
233
+ - [#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)
234
+
235
+ - [#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)
236
+
237
+ - [#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)
238
+ Text Field: The `type` attribute now accepts `search` . (DDS-1709)
239
+
240
+ ### Patch Changes
241
+
242
+ - [#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)
243
+ Dropdown: Update story appearance.
244
+ Dropdown: Update appearance when content overflow. (DDS-1983)
245
+
96
246
  - [#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
247
 
98
248
  - [#172](https://github.com/dsv-rp/DDS/pull/172) [`8bb6dde`](https://github.com/dsv-rp/DDS/commit/8bb6ddef0db41b3c220bdd34f41dce95f6b15d89) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Avatar: Added a comment to the `disabled` property. (DDS-2105)
@@ -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";
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";