@daikin-oss/design-system-web-components 0.3.1 → 0.4.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 (293) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/dist/cjs/components/accordion/daikin-accordion.cjs +31 -6
  3. package/dist/cjs/components/accordion/daikin-accordion.d.ts +15 -10
  4. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +105 -59
  5. package/dist/cjs/components/accordion-item/daikin-accordion-item.d.ts +28 -14
  6. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +121 -0
  7. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.ts +56 -0
  8. package/dist/cjs/components/breadcrumb/index.cjs +7 -0
  9. package/dist/cjs/components/breadcrumb/index.d.ts +1 -0
  10. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +124 -0
  11. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +72 -0
  12. package/dist/cjs/components/breadcrumb-item/index.cjs +7 -0
  13. package/dist/cjs/components/breadcrumb-item/index.d.ts +1 -0
  14. package/dist/cjs/components/button/daikin-button.cjs +89 -128
  15. package/dist/cjs/components/button/daikin-button.d.ts +30 -28
  16. package/dist/cjs/components/checkbox/daikin-checkbox.cjs +99 -119
  17. package/dist/cjs/components/checkbox/daikin-checkbox.d.ts +27 -39
  18. package/dist/cjs/components/icon/daikin-icon.d.ts +4 -1
  19. package/dist/cjs/components/icon/icons.json.cjs +20 -0
  20. package/dist/cjs/components/icon/icons.json.d.ts +20 -0
  21. package/dist/cjs/components/index.cjs +36 -6
  22. package/dist/cjs/components/index.d.ts +8 -2
  23. package/dist/cjs/components/input-group/daikin-input-group.cjs +1 -1
  24. package/dist/cjs/components/input-group/daikin-input-group.d.ts +6 -1
  25. package/dist/cjs/components/list/daikin-list.cjs +24 -0
  26. package/dist/cjs/components/list/daikin-list.d.ts +28 -0
  27. package/dist/cjs/components/list/index.cjs +7 -0
  28. package/dist/cjs/components/list/index.d.ts +1 -0
  29. package/dist/cjs/components/list-item/daikin-list-item.cjs +125 -0
  30. package/dist/cjs/components/list-item/daikin-list-item.d.ts +64 -0
  31. package/dist/cjs/components/list-item/index.cjs +7 -0
  32. package/dist/cjs/components/list-item/index.d.ts +1 -0
  33. package/dist/cjs/components/notification/daikin-notification.cjs +14 -15
  34. package/dist/cjs/components/notification/daikin-notification.d.ts +13 -12
  35. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +161 -0
  36. package/dist/cjs/components/progress-bar/daikin-progress-bar.d.ts +69 -0
  37. package/dist/cjs/components/progress-bar/index.cjs +7 -0
  38. package/dist/cjs/components/progress-bar/index.d.ts +1 -0
  39. package/dist/cjs/components/radio/daikin-radio.cjs +73 -92
  40. package/dist/cjs/components/radio/daikin-radio.d.ts +23 -40
  41. package/dist/cjs/components/tab/daikin-tab.cjs +41 -46
  42. package/dist/cjs/components/tab/daikin-tab.d.ts +12 -13
  43. package/dist/cjs/components/{panel-switcher/daikin-panel-switcher.cjs → tab-panels/daikin-tab-panels.cjs} +8 -8
  44. package/dist/{cjs-dev/components/panel-switcher/daikin-panel-switcher.d.ts → cjs/components/tab-panels/daikin-tab-panels.d.ts} +17 -12
  45. package/dist/cjs/components/tab-panels/index.cjs +7 -0
  46. package/dist/cjs/components/tab-panels/index.d.ts +1 -0
  47. package/dist/cjs/components/{tab-group/daikin-tab-group.cjs → tabs/daikin-tabs.cjs} +29 -35
  48. package/dist/cjs/components/{tab-group/daikin-tab-group.d.ts → tabs/daikin-tabs.d.ts} +27 -22
  49. package/dist/cjs/components/tabs/index.cjs +7 -0
  50. package/dist/cjs/components/tabs/index.d.ts +1 -0
  51. package/dist/cjs/components/text-input/daikin-text-input.cjs +4 -3
  52. package/dist/cjs/components/text-input/daikin-text-input.d.ts +5 -1
  53. package/dist/cjs/components/textarea/daikin-textarea.cjs +3 -3
  54. package/dist/cjs/components/textarea/daikin-textarea.d.ts +5 -1
  55. package/dist/cjs/components/toggle/daikin-toggle.cjs +44 -68
  56. package/dist/cjs/components/toggle/daikin-toggle.d.ts +15 -27
  57. package/dist/cjs/components/tooltip/daikin-tooltip.cjs +223 -0
  58. package/dist/cjs/components/tooltip/daikin-tooltip.d.ts +80 -0
  59. package/dist/cjs/components/tooltip/index.cjs +7 -0
  60. package/dist/cjs/components/tooltip/index.d.ts +1 -0
  61. package/dist/cjs/index.cjs +36 -6
  62. package/dist/cjs/is-client.cjs +5 -0
  63. package/dist/cjs/is-client.d.ts +1 -0
  64. package/dist/cjs/tailwind.css.cjs +2 -2
  65. package/dist/cjs/type-utils.d.ts +0 -1
  66. package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +31 -6
  67. package/dist/cjs-dev/components/accordion/daikin-accordion.d.ts +15 -10
  68. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +105 -59
  69. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.d.ts +28 -14
  70. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +121 -0
  71. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.ts +56 -0
  72. package/dist/cjs-dev/components/breadcrumb/index.cjs +7 -0
  73. package/dist/cjs-dev/components/breadcrumb/index.d.ts +1 -0
  74. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +124 -0
  75. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +72 -0
  76. package/dist/cjs-dev/components/breadcrumb-item/index.cjs +7 -0
  77. package/dist/cjs-dev/components/breadcrumb-item/index.d.ts +1 -0
  78. package/dist/cjs-dev/components/button/daikin-button.cjs +89 -128
  79. package/dist/cjs-dev/components/button/daikin-button.d.ts +30 -28
  80. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +99 -119
  81. package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.ts +27 -39
  82. package/dist/cjs-dev/components/icon/daikin-icon.d.ts +4 -1
  83. package/dist/cjs-dev/components/icon/icons.json.cjs +20 -0
  84. package/dist/cjs-dev/components/icon/icons.json.d.ts +20 -0
  85. package/dist/cjs-dev/components/index.cjs +36 -6
  86. package/dist/cjs-dev/components/index.d.ts +8 -2
  87. package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +1 -1
  88. package/dist/cjs-dev/components/input-group/daikin-input-group.d.ts +6 -1
  89. package/dist/cjs-dev/components/list/daikin-list.cjs +24 -0
  90. package/dist/cjs-dev/components/list/daikin-list.d.ts +28 -0
  91. package/dist/cjs-dev/components/list/index.cjs +7 -0
  92. package/dist/cjs-dev/components/list/index.d.ts +1 -0
  93. package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +125 -0
  94. package/dist/cjs-dev/components/list-item/daikin-list-item.d.ts +64 -0
  95. package/dist/cjs-dev/components/list-item/index.cjs +7 -0
  96. package/dist/cjs-dev/components/list-item/index.d.ts +1 -0
  97. package/dist/cjs-dev/components/notification/daikin-notification.cjs +14 -15
  98. package/dist/cjs-dev/components/notification/daikin-notification.d.ts +13 -12
  99. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +176 -0
  100. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.ts +69 -0
  101. package/dist/cjs-dev/components/progress-bar/index.cjs +7 -0
  102. package/dist/cjs-dev/components/progress-bar/index.d.ts +1 -0
  103. package/dist/cjs-dev/components/radio/daikin-radio.cjs +73 -92
  104. package/dist/cjs-dev/components/radio/daikin-radio.d.ts +23 -40
  105. package/dist/cjs-dev/components/tab/daikin-tab.cjs +41 -46
  106. package/dist/cjs-dev/components/tab/daikin-tab.d.ts +12 -13
  107. package/dist/cjs-dev/components/{panel-switcher/daikin-panel-switcher.cjs → tab-panels/daikin-tab-panels.cjs} +9 -9
  108. package/dist/{cjs/components/panel-switcher/daikin-panel-switcher.d.ts → cjs-dev/components/tab-panels/daikin-tab-panels.d.ts} +17 -12
  109. package/dist/cjs-dev/components/tab-panels/index.cjs +7 -0
  110. package/dist/cjs-dev/components/tab-panels/index.d.ts +1 -0
  111. package/dist/cjs-dev/components/{tab-group/daikin-tab-group.cjs → tabs/daikin-tabs.cjs} +31 -37
  112. package/dist/{es-dev/components/tab-group/daikin-tab-group.d.ts → cjs-dev/components/tabs/daikin-tabs.d.ts} +27 -22
  113. package/dist/cjs-dev/components/tabs/index.cjs +7 -0
  114. package/dist/cjs-dev/components/tabs/index.d.ts +1 -0
  115. package/dist/cjs-dev/components/text-input/daikin-text-input.cjs +4 -3
  116. package/dist/cjs-dev/components/text-input/daikin-text-input.d.ts +5 -1
  117. package/dist/cjs-dev/components/textarea/daikin-textarea.cjs +3 -3
  118. package/dist/cjs-dev/components/textarea/daikin-textarea.d.ts +5 -1
  119. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +44 -68
  120. package/dist/cjs-dev/components/toggle/daikin-toggle.d.ts +15 -27
  121. package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +223 -0
  122. package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.ts +80 -0
  123. package/dist/cjs-dev/components/tooltip/index.cjs +7 -0
  124. package/dist/cjs-dev/components/tooltip/index.d.ts +1 -0
  125. package/dist/cjs-dev/index.cjs +36 -6
  126. package/dist/cjs-dev/is-client.cjs +5 -0
  127. package/dist/cjs-dev/is-client.d.ts +1 -0
  128. package/dist/cjs-dev/tailwind.css.cjs +2 -2
  129. package/dist/cjs-dev/type-utils.d.ts +0 -1
  130. package/dist/es/components/accordion/daikin-accordion.d.ts +15 -10
  131. package/dist/es/components/accordion/daikin-accordion.js +32 -7
  132. package/dist/es/components/accordion-item/daikin-accordion-item.d.ts +28 -14
  133. package/dist/es/components/accordion-item/daikin-accordion-item.js +106 -60
  134. package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +56 -0
  135. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +122 -0
  136. package/dist/es/components/breadcrumb/index.d.ts +1 -0
  137. package/dist/es/components/breadcrumb/index.js +4 -0
  138. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +72 -0
  139. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +125 -0
  140. package/dist/es/components/breadcrumb-item/index.d.ts +1 -0
  141. package/dist/es/components/breadcrumb-item/index.js +4 -0
  142. package/dist/es/components/button/daikin-button.d.ts +30 -28
  143. package/dist/es/components/button/daikin-button.js +90 -129
  144. package/dist/es/components/checkbox/daikin-checkbox.d.ts +27 -39
  145. package/dist/es/components/checkbox/daikin-checkbox.js +101 -121
  146. package/dist/es/components/icon/daikin-icon.d.ts +4 -1
  147. package/dist/es/components/icon/icons.json.d.ts +20 -0
  148. package/dist/es/components/icon/icons.json.js +20 -0
  149. package/dist/es/components/index.d.ts +8 -2
  150. package/dist/es/components/index.js +16 -4
  151. package/dist/es/components/input-group/daikin-input-group.d.ts +6 -1
  152. package/dist/es/components/input-group/daikin-input-group.js +1 -1
  153. package/dist/es/components/list/daikin-list.d.ts +28 -0
  154. package/dist/es/components/list/daikin-list.js +25 -0
  155. package/dist/es/components/list/index.d.ts +1 -0
  156. package/dist/es/components/list/index.js +4 -0
  157. package/dist/es/components/list-item/daikin-list-item.d.ts +64 -0
  158. package/dist/es/components/list-item/daikin-list-item.js +126 -0
  159. package/dist/es/components/list-item/index.d.ts +1 -0
  160. package/dist/es/components/list-item/index.js +4 -0
  161. package/dist/es/components/notification/daikin-notification.d.ts +13 -12
  162. package/dist/es/components/notification/daikin-notification.js +15 -16
  163. package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +69 -0
  164. package/dist/es/components/progress-bar/daikin-progress-bar.js +162 -0
  165. package/dist/es/components/progress-bar/index.d.ts +1 -0
  166. package/dist/es/components/progress-bar/index.js +4 -0
  167. package/dist/es/components/radio/daikin-radio.d.ts +23 -40
  168. package/dist/es/components/radio/daikin-radio.js +74 -93
  169. package/dist/es/components/tab/daikin-tab.d.ts +12 -13
  170. package/dist/es/components/tab/daikin-tab.js +42 -47
  171. package/dist/es/components/{panel-switcher/daikin-panel-switcher.d.ts → tab-panels/daikin-tab-panels.d.ts} +17 -12
  172. package/dist/es/components/{panel-switcher/daikin-panel-switcher.js → tab-panels/daikin-tab-panels.js} +9 -9
  173. package/dist/es/components/tab-panels/index.d.ts +1 -0
  174. package/dist/es/components/tab-panels/index.js +4 -0
  175. package/dist/es/components/{tab-group/daikin-tab-group.d.ts → tabs/daikin-tabs.d.ts} +27 -22
  176. package/dist/es/components/{tab-group/daikin-tab-group.js → tabs/daikin-tabs.js} +30 -36
  177. package/dist/es/components/tabs/index.d.ts +1 -0
  178. package/dist/es/components/tabs/index.js +4 -0
  179. package/dist/es/components/text-input/daikin-text-input.d.ts +5 -1
  180. package/dist/es/components/text-input/daikin-text-input.js +4 -3
  181. package/dist/es/components/textarea/daikin-textarea.d.ts +5 -1
  182. package/dist/es/components/textarea/daikin-textarea.js +3 -3
  183. package/dist/es/components/toggle/daikin-toggle.d.ts +15 -27
  184. package/dist/es/components/toggle/daikin-toggle.js +45 -69
  185. package/dist/es/components/tooltip/daikin-tooltip.d.ts +80 -0
  186. package/dist/es/components/tooltip/daikin-tooltip.js +224 -0
  187. package/dist/es/components/tooltip/index.d.ts +1 -0
  188. package/dist/es/components/tooltip/index.js +4 -0
  189. package/dist/es/index.js +16 -4
  190. package/dist/es/is-client.d.ts +1 -0
  191. package/dist/es/is-client.js +5 -0
  192. package/dist/es/tailwind.css.js +2 -2
  193. package/dist/es/type-utils.d.ts +0 -1
  194. package/dist/es-dev/components/accordion/daikin-accordion.d.ts +15 -10
  195. package/dist/es-dev/components/accordion/daikin-accordion.js +32 -7
  196. package/dist/es-dev/components/accordion-item/daikin-accordion-item.d.ts +28 -14
  197. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +106 -60
  198. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +56 -0
  199. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +122 -0
  200. package/dist/es-dev/components/breadcrumb/index.d.ts +1 -0
  201. package/dist/es-dev/components/breadcrumb/index.js +4 -0
  202. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +72 -0
  203. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +125 -0
  204. package/dist/es-dev/components/breadcrumb-item/index.d.ts +1 -0
  205. package/dist/es-dev/components/breadcrumb-item/index.js +4 -0
  206. package/dist/es-dev/components/button/daikin-button.d.ts +30 -28
  207. package/dist/es-dev/components/button/daikin-button.js +90 -129
  208. package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +27 -39
  209. package/dist/es-dev/components/checkbox/daikin-checkbox.js +101 -121
  210. package/dist/es-dev/components/icon/daikin-icon.d.ts +4 -1
  211. package/dist/es-dev/components/icon/icons.json.d.ts +20 -0
  212. package/dist/es-dev/components/icon/icons.json.js +20 -0
  213. package/dist/es-dev/components/index.d.ts +8 -2
  214. package/dist/es-dev/components/index.js +16 -4
  215. package/dist/es-dev/components/input-group/daikin-input-group.d.ts +6 -1
  216. package/dist/es-dev/components/input-group/daikin-input-group.js +1 -1
  217. package/dist/es-dev/components/list/daikin-list.d.ts +28 -0
  218. package/dist/es-dev/components/list/daikin-list.js +25 -0
  219. package/dist/es-dev/components/list/index.d.ts +1 -0
  220. package/dist/es-dev/components/list/index.js +4 -0
  221. package/dist/es-dev/components/list-item/daikin-list-item.d.ts +64 -0
  222. package/dist/es-dev/components/list-item/daikin-list-item.js +126 -0
  223. package/dist/es-dev/components/list-item/index.d.ts +1 -0
  224. package/dist/es-dev/components/list-item/index.js +4 -0
  225. package/dist/es-dev/components/notification/daikin-notification.d.ts +13 -12
  226. package/dist/es-dev/components/notification/daikin-notification.js +15 -16
  227. package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +69 -0
  228. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +177 -0
  229. package/dist/es-dev/components/progress-bar/index.d.ts +1 -0
  230. package/dist/es-dev/components/progress-bar/index.js +4 -0
  231. package/dist/es-dev/components/radio/daikin-radio.d.ts +23 -40
  232. package/dist/es-dev/components/radio/daikin-radio.js +74 -93
  233. package/dist/es-dev/components/tab/daikin-tab.d.ts +12 -13
  234. package/dist/es-dev/components/tab/daikin-tab.js +42 -47
  235. package/dist/es-dev/components/{panel-switcher/daikin-panel-switcher.d.ts → tab-panels/daikin-tab-panels.d.ts} +17 -12
  236. package/dist/es-dev/components/{panel-switcher/daikin-panel-switcher.js → tab-panels/daikin-tab-panels.js} +10 -10
  237. package/dist/es-dev/components/tab-panels/index.d.ts +1 -0
  238. package/dist/es-dev/components/tab-panels/index.js +4 -0
  239. package/dist/{cjs-dev/components/tab-group/daikin-tab-group.d.ts → es-dev/components/tabs/daikin-tabs.d.ts} +27 -22
  240. package/dist/es-dev/components/{tab-group/daikin-tab-group.js → tabs/daikin-tabs.js} +32 -38
  241. package/dist/es-dev/components/tabs/index.d.ts +1 -0
  242. package/dist/es-dev/components/tabs/index.js +4 -0
  243. package/dist/es-dev/components/text-input/daikin-text-input.d.ts +5 -1
  244. package/dist/es-dev/components/text-input/daikin-text-input.js +4 -3
  245. package/dist/es-dev/components/textarea/daikin-textarea.d.ts +5 -1
  246. package/dist/es-dev/components/textarea/daikin-textarea.js +3 -3
  247. package/dist/es-dev/components/toggle/daikin-toggle.d.ts +15 -27
  248. package/dist/es-dev/components/toggle/daikin-toggle.js +45 -69
  249. package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +80 -0
  250. package/dist/es-dev/components/tooltip/daikin-tooltip.js +224 -0
  251. package/dist/es-dev/components/tooltip/index.d.ts +1 -0
  252. package/dist/es-dev/components/tooltip/index.js +4 -0
  253. package/dist/es-dev/index.js +16 -4
  254. package/dist/es-dev/is-client.d.ts +1 -0
  255. package/dist/es-dev/is-client.js +5 -0
  256. package/dist/es-dev/tailwind.css.js +2 -2
  257. package/dist/es-dev/type-utils.d.ts +0 -1
  258. package/icons/checkbox-indeterminate.svg +2 -2
  259. package/icons/chevron-down.svg +3 -0
  260. package/icons/chevron-left.svg +3 -0
  261. package/icons/chevron-right.svg +3 -0
  262. package/icons/chevron-up.svg +3 -0
  263. package/icons/status-error.svg +3 -0
  264. package/icons/status-positive.svg +15 -0
  265. package/package.json +47 -44
  266. package/dist/cjs/components/panel-switcher/index.cjs +0 -7
  267. package/dist/cjs/components/panel-switcher/index.d.ts +0 -1
  268. package/dist/cjs/components/tab-group/index.cjs +0 -7
  269. package/dist/cjs/components/tab-group/index.d.ts +0 -1
  270. package/dist/cjs-dev/components/panel-switcher/index.cjs +0 -7
  271. package/dist/cjs-dev/components/panel-switcher/index.d.ts +0 -1
  272. package/dist/cjs-dev/components/tab-group/index.cjs +0 -7
  273. package/dist/cjs-dev/components/tab-group/index.d.ts +0 -1
  274. package/dist/es/components/panel-switcher/index.d.ts +0 -1
  275. package/dist/es/components/panel-switcher/index.js +0 -4
  276. package/dist/es/components/tab-group/index.d.ts +0 -1
  277. package/dist/es/components/tab-group/index.js +0 -4
  278. package/dist/es-dev/components/panel-switcher/index.d.ts +0 -1
  279. package/dist/es-dev/components/panel-switcher/index.js +0 -4
  280. package/dist/es-dev/components/tab-group/index.d.ts +0 -1
  281. package/dist/es-dev/components/tab-group/index.js +0 -4
  282. package/icons/accordion-chevron-up.svg +0 -3
  283. package/icons/input-group-error.svg +0 -11
  284. package/icons/radio-checked.svg +0 -4
  285. package/icons/radio-unchecked.svg +0 -4
  286. /package/dist/cjs/components/{tab-group → tabs}/scroller.cjs +0 -0
  287. /package/dist/cjs/components/{tab-group → tabs}/scroller.d.ts +0 -0
  288. /package/dist/cjs-dev/components/{tab-group → tabs}/scroller.cjs +0 -0
  289. /package/dist/cjs-dev/components/{tab-group → tabs}/scroller.d.ts +0 -0
  290. /package/dist/es/components/{tab-group → tabs}/scroller.d.ts +0 -0
  291. /package/dist/es/components/{tab-group → tabs}/scroller.js +0 -0
  292. /package/dist/es-dev/components/{tab-group → tabs}/scroller.d.ts +0 -0
  293. /package/dist/es-dev/components/{tab-group → tabs}/scroller.js +0 -0
@@ -1,5 +1,4 @@
1
1
  import { LitElement } from 'lit';
2
-
3
2
  /**
4
3
  * The accordion component serves as the parent element that organizes and manages the overall structure of the accordion.
5
4
  * Currently it only provides appropriate styles for individual accordion items.
@@ -11,25 +10,31 @@ import { LitElement } from 'lit';
11
10
  *
12
11
  * @example
13
12
  *
13
+ * ```js
14
+ * import "@daikin-oss/design-system-web-components/components/accordion/index.js";
15
+ * ```
16
+ *
14
17
  * ```html
15
18
  * <daikin-accordion>
16
- * <daikin-accordion-item title="The first accordion item">
17
- * Accordion 1 content.
18
- * </daikin-accordion-item>
19
- * <daikin-accordion-item title="The second accordion item" open>
20
- * Accordion 2 content.
19
+ * <daikin-accordion-item>
20
+ * <span slot="summary">Accordion summary 1</span>
21
+ * Accordion content 1
21
22
  * </daikin-accordion-item>
22
- * <daikin-accordion-item title="The third accordion item" disabled>
23
- * Accordion 3 content.
23
+ * <daikin-accordion-item open>
24
+ * <span slot="summary">Accordion summary 2</span>
25
+ * Accordion content 2
24
26
  * </daikin-accordion-item>
25
- * <daikin-accordion-item title="The fourth accordion item" open disabled>
26
- * Accordion 4 content.
27
+ * <daikin-accordion-item disabled>
28
+ * <span slot="summary">Accordion summary 3</span>
29
+ * Accordion content 3
27
30
  * </daikin-accordion-item>
28
31
  * </daikin-accordion>
29
32
  * ```
30
33
  */
31
34
  export declare class DaikinAccordion extends LitElement {
32
35
  static readonly styles: import('lit').CSSResult;
36
+ private readonly _items;
37
+ private _handleMoveFocus;
33
38
  render(): import('lit-html').TemplateResult<1>;
34
39
  }
35
40
  declare global {
@@ -1,5 +1,5 @@
1
1
  import { css, unsafeCSS, LitElement, html } from "lit";
2
- import { customElement } from "lit/decorators.js";
2
+ import { queryAssignedElements, customElement } from "lit/decorators.js";
3
3
  import tailwindStyles from "../../tailwind.css.js";
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -12,9 +12,27 @@ var __decorateClass = (decorators, target, key, kind) => {
12
12
  return result;
13
13
  };
14
14
  let DaikinAccordion = class extends LitElement {
15
+ _handleMoveFocus(event) {
16
+ const moveOffset = event.detail.direction === "up" ? -1 : 1;
17
+ const items = this._items;
18
+ const activeElement = document.activeElement;
19
+ const focusedItemIndex = activeElement ? items.findIndex((item) => item === activeElement) : -1;
20
+ if (focusedItemIndex < 0) {
21
+ return;
22
+ }
23
+ for (let index = focusedItemIndex + moveOffset, i = 0; i < items.length; index += moveOffset, i++) {
24
+ index = Math.sign(index % items.length) === -1 ? items.length - 1 : index % items.length;
25
+ const item = items[index];
26
+ if (item.disabled) {
27
+ continue;
28
+ }
29
+ item.focus();
30
+ break;
31
+ }
32
+ }
15
33
  render() {
16
- return html`<div class="w-full border-y-[1px] border-y-[#CECECE]">
17
- <slot></slot>
34
+ return html`<div class="w-full">
35
+ <slot @accordion-move-focus=${this._handleMoveFocus}></slot>
18
36
  </div>`;
19
37
  }
20
38
  };
@@ -22,14 +40,21 @@ DaikinAccordion.styles = css`
22
40
  ${unsafeCSS(tailwindStyles)}
23
41
 
24
42
  :host {
25
- display: block;
26
- width: 100%;
43
+ min-width: 160px;
44
+ }
45
+
46
+ ::slotted(daikin-accordion-item) {
47
+ --divider-top-display: block;
48
+ --divider-bottom-display: none;
27
49
  }
28
50
 
29
- ::slotted(daikin-accordion-item:not(:last-child)) {
30
- border-bottom: 1px solid #cecece;
51
+ ::slotted(daikin-accordion-item:last-child) {
52
+ --divider-bottom-display: block;
31
53
  }
32
54
  `;
55
+ __decorateClass([
56
+ queryAssignedElements({ selector: "daikin-accordion-item" })
57
+ ], DaikinAccordion.prototype, "_items", 2);
33
58
  DaikinAccordion = __decorateClass([
34
59
  customElement("daikin-accordion")
35
60
  ], DaikinAccordion);
@@ -1,5 +1,4 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
-
3
2
  /**
4
3
  * The accordion item component is a child element within the `daikin-accordion` component.
5
4
  * It functions similarly to the HTML `<details>` and `<summary>` tag, allowing users to expand or collapse the associated content by clicking on the header.
@@ -9,12 +8,21 @@ import { LitElement, PropertyValues } from 'lit';
9
8
  * - `daikin-accordion` > `daikin-accordion-item`
10
9
  *
11
10
  * @slot - A slot for the accordion item content.
11
+ * @slot summary - A slot for the accordion item summary content.
12
+ *
13
+ * @cssprop [--divider-top-display=none] - The `display` property of the top divider. Must be either `block` or `none`. Set automatically by `daikin-accordion` component.
14
+ * @cssprop [--divider-bottom-display=none] - The `display` property of the bottom divider. Must be either `block` or `none`. Set automatically by `daikin-accordion` component.
12
15
  *
13
16
  * @example
14
17
  *
18
+ * ```js
19
+ * import "@daikin-oss/design-system-web-components/components/accordion-item/index.js";
20
+ * ```
21
+ *
15
22
  * ```html
16
- * <daikin-accordion-item title="The first accordion item">
17
- * Accordion 1 content.
23
+ * <daikin-accordion-item>
24
+ * <span slot="Accordion summary">
25
+ * Accordion content
18
26
  * </daikin-accordion-item>
19
27
  * ```
20
28
  */
@@ -22,31 +30,37 @@ export declare class DaikinAccordionItem extends LitElement {
22
30
  static readonly styles: import('lit').CSSResult;
23
31
  private _contentRef;
24
32
  /**
25
- * Heading of accordion
26
- */
27
- title: string;
28
- /**
29
- * Whether the accordion is open
33
+ * Whether the accordion item is open.
34
+ * Ignored if `disabled` is `true`.
30
35
  */
31
36
  open: boolean;
32
37
  /**
33
- * Whether the accordion is disabled
38
+ * Whether the accordion item is disabled.
39
+ * If this is set to `true`, the accordion item will always be closed.
34
40
  */
35
41
  disabled: boolean;
42
+ private _summary;
36
43
  /**
37
- * Open attribute of the actual details element
38
- *
39
- * The default `open` attribute of the default details element does not allow the display of content to have transitions.
40
- * To solve this, the `open` property that `daikin-accordion-item` receives manages the opening and closing of items independently of the open attribute.
44
+ * Actual presence of `open` attribute of the `<details>` element.
41
45
  *
42
- * The `open` attribute, which should be present, is taken over by `_detailsOpen`.
46
+ * The `<details>` element does not support animation on changing the `open` attribute.
47
+ * In other words, the content is hidden immediately when the `open` attribute is removed.
48
+ * To enable animation for an accordion, we need to run the animation while maintaining the `open` attribute, and then remove the `open` attribute at the end of the animation.
49
+ * Treated as `false` if `disabled` is `true`.
43
50
  */
44
51
  private _detailsOpen;
45
52
  private _contentAnimate;
46
53
  private _handleSummaryClick;
54
+ private _handleKeyDown;
55
+ private _handleToggle;
47
56
  render(): import('lit-html').TemplateResult<1>;
48
57
  protected firstUpdated(): void;
49
58
  protected updated(changedProperties: PropertyValues<this>): void;
59
+ /**
60
+ * Focuses on the inner summary.
61
+ * @param options focus options
62
+ */
63
+ focus(options?: FocusOptions | undefined): void;
50
64
  }
51
65
  declare global {
52
66
  interface HTMLElementTagNameMap {
@@ -1,6 +1,6 @@
1
1
  import { cva } from "class-variance-authority";
2
2
  import { css, unsafeCSS, LitElement, html } from "lit";
3
- import { property, state, customElement } from "lit/decorators.js";
3
+ import { property, query, state, customElement } from "lit/decorators.js";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
5
  import tailwindStyles from "../../tailwind.css.js";
6
6
  var __defProp = Object.defineProperty;
@@ -13,55 +13,38 @@ var __decorateClass = (decorators, target, key, kind) => {
13
13
  if (kind && result) __defProp(target, key, result);
14
14
  return result;
15
15
  };
16
- const cvaDetails = cva(
17
- ["flex", "w-full", "h-max", "bg-white", "font-daikinSerif", "overflow-clip"],
18
- {
19
- variants: {
20
- status: {
21
- enabled: [],
22
- disabled: ["text-[#DCDCDC]"]
23
- }
24
- }
25
- }
26
- );
27
16
  const cvaSummary = cva(
28
17
  [
29
18
  "flex",
19
+ "justify-between",
30
20
  "items-center",
21
+ "gap-2",
31
22
  "w-full",
32
- "h-12",
33
- "px-5",
34
- "outline-none",
35
- "relative",
36
- "after:block",
37
- "after:w-5",
38
- "after:h-5",
39
- "after:m-auto",
40
- "after:top-0",
41
- "after:right-4",
42
- "after:bottom-0",
43
- "after:absolute",
44
- "after:i-daikin-accordion-chevron-up",
45
- "after:transition-all"
23
+ "min-h-12",
24
+ "py-3",
25
+ "pr-3",
26
+ "pl-4",
27
+ "focus-visible:outline",
28
+ "focus-visible:outline-2",
29
+ "focus-visible:-outline-offset-2",
30
+ "focus-visible:outline-daikinBlue-700",
31
+ "after:size-6",
32
+ "after:transition-all",
33
+ "after:i-daikin-chevron-down"
46
34
  ],
47
35
  {
48
36
  variants: {
49
- visible: {
50
- open: ["after:rotate-0"],
51
- close: ["after:-rotate-180"]
37
+ open: {
38
+ false: ["after:rotate-0"],
39
+ true: ["after:rotate-180"]
52
40
  },
53
- status: {
54
- enabled: [
55
- "hover:bg-[#DCDCDC]",
56
- "hover:bg-[#DCDCDC]",
57
- "hover:cursor-pointer",
58
- "focus-visible:outline",
59
- "focus-visible:outline-[2px]",
60
- "focus-visible:outline-[#0097E0]",
61
- "focus-visible:outline-offset-[-2px]",
62
- "after:text-[#828282]"
41
+ disabled: {
42
+ false: [
43
+ "hover:bg-daikinNeutral-100",
44
+ "cursor-pointer",
45
+ "active:bg-daikinNeutral-200"
63
46
  ],
64
- disabled: ["text-[#DCDCDC]", "after:text-[#DCDCDC]"]
47
+ true: ["text-daikinNeutral-200", "after:text-daikinNeutral-200"]
65
48
  }
66
49
  }
67
50
  }
@@ -80,7 +63,6 @@ let DaikinAccordionItem = class extends LitElement {
80
63
  constructor() {
81
64
  super(...arguments);
82
65
  this._contentRef = createRef();
83
- this.title = "";
84
66
  this.open = false;
85
67
  this.disabled = false;
86
68
  this._detailsOpen = false;
@@ -106,36 +88,69 @@ let DaikinAccordionItem = class extends LitElement {
106
88
  };
107
89
  }
108
90
  }
109
- _handleSummaryClick(e) {
110
- e.preventDefault();
91
+ _handleSummaryClick(event) {
92
+ event.preventDefault();
111
93
  if (this.disabled) {
112
94
  return;
113
95
  }
114
96
  this.open = !this.open;
115
97
  }
98
+ _handleKeyDown(event) {
99
+ const direction = {
100
+ ArrowDown: "down",
101
+ ArrowUp: "up"
102
+ }[event.key];
103
+ if (!direction) {
104
+ return;
105
+ }
106
+ event.preventDefault();
107
+ this.dispatchEvent(
108
+ new CustomEvent("accordion-move-focus", {
109
+ detail: {
110
+ direction
111
+ },
112
+ bubbles: true
113
+ })
114
+ );
115
+ }
116
+ // When using the in-page search, the `<details>` element may open without clicking on the `<summary>`.
117
+ // In order to handle such cases, it is necessary to respond to the "toggle" event.
118
+ _handleToggle(event) {
119
+ event.preventDefault();
120
+ if (this.disabled) {
121
+ return;
122
+ }
123
+ this.open = event.newState === "open";
124
+ }
116
125
  render() {
117
- const accordionDetailsClassName = cvaDetails({
118
- status: this.disabled ? "disabled" : "enabled"
119
- });
120
- const accordionSummaryClassName = cvaSummary({
121
- status: this.disabled ? "disabled" : "enabled",
122
- visible: this.open ? "open" : "close"
123
- });
126
+ const detailsOpen = !this.disabled && this._detailsOpen;
127
+ const open = !this.disabled && this.open;
124
128
  return html`<details
125
- class=${accordionDetailsClassName}
126
- ?open=${this._detailsOpen}
127
- ?data-open=${this.open}
129
+ class="flex w-full bg-white font-daikinSerif overflow-clip"
130
+ ?open=${detailsOpen}
131
+ ?data-open=${open}
128
132
  aria-disabled=${this.disabled}
133
+ @toggle=${this._handleToggle}
129
134
  >
130
135
  <summary
131
- class=${accordionSummaryClassName}
136
+ id="summary"
137
+ class=${cvaSummary({
138
+ open,
139
+ disabled: this.disabled
140
+ })}
132
141
  tabindex=${this.disabled ? -1 : 0}
133
142
  @click=${this._handleSummaryClick}
143
+ @keydown=${this._handleKeyDown}
134
144
  >
135
- ${this.title}
145
+ <slot name="summary"></slot>
136
146
  </summary>
137
- <div ${ref(this._contentRef)}>
138
- <div class="pt-2 pb-6 px-5 text-sm">
147
+ <div
148
+ ${ref(this._contentRef)}
149
+ role="region"
150
+ aria-labelledby="summary"
151
+ ?hidden=${this.disabled}
152
+ >
153
+ <div class="pt-2 pr-3 pb-3 pl-4">
139
154
  <slot></slot>
140
155
  </div>
141
156
  </div>
@@ -149,24 +164,55 @@ let DaikinAccordionItem = class extends LitElement {
149
164
  this._contentAnimate();
150
165
  }
151
166
  }
167
+ /**
168
+ * Focuses on the inner summary.
169
+ * @param options focus options
170
+ */
171
+ focus(options) {
172
+ var _a;
173
+ (_a = this._summary) == null ? void 0 : _a.focus(options);
174
+ }
152
175
  };
153
176
  DaikinAccordionItem.styles = css`
154
177
  ${unsafeCSS(tailwindStyles)}
155
178
 
156
179
  :host {
180
+ --divider-top-display: none;
181
+ --divider-bottom-display: none;
182
+
157
183
  display: block;
184
+ position: relative;
185
+ }
186
+
187
+ :host::before {
188
+ content: "";
189
+ display: var(--divider-top-display, none);
158
190
  width: 100%;
191
+ height: 1px;
192
+ background: #828282;
193
+ position: absolute;
194
+ top: 0;
195
+ }
196
+
197
+ :host::after {
198
+ content: "";
199
+ display: var(--divider-bottom-display, none);
200
+ width: 100%;
201
+ height: 1px;
202
+ background: #828282;
203
+ position: absolute;
204
+ bottom: 0;
159
205
  }
160
206
  `;
161
- __decorateClass([
162
- property({ type: String })
163
- ], DaikinAccordionItem.prototype, "title", 2);
164
207
  __decorateClass([
165
208
  property({ type: Boolean, reflect: true })
166
209
  ], DaikinAccordionItem.prototype, "open", 2);
167
210
  __decorateClass([
168
211
  property({ type: Boolean, reflect: true })
169
212
  ], DaikinAccordionItem.prototype, "disabled", 2);
213
+ __decorateClass([
214
+ query("summary")
215
+ ], DaikinAccordionItem.prototype, "_summary", 2);
170
216
  __decorateClass([
171
217
  state()
172
218
  ], DaikinAccordionItem.prototype, "_detailsOpen", 2);
@@ -0,0 +1,56 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ /**
3
+ * `daikin-breadcrumb` is a component for representing a breadcrumb list, and is used together with the `daikin-breadcrumb-item` component.
4
+ *
5
+ * Hierarchy:
6
+ * - `daikin-breadcrumb` > `daikin-breadcrumb-item`
7
+ *
8
+ * @slot - A slot for breadcrumb items. Place `breadcrumb-item` elements here.
9
+ *
10
+ * @example
11
+ *
12
+ * ```js
13
+ * import "@daikin-oss/design-system-web-components/components/breadcrumb/index.js";
14
+ * ```
15
+ *
16
+ * ```html
17
+ * <daikin-breadcrumb>
18
+ * <daikin-breadcrumb-item href="#">
19
+ * Breadcrumb Item 1
20
+ * </daikin-breadcrumb-item>
21
+ * <daikin-breadcrumb-item href="#">
22
+ * Breadcrumb Item 2
23
+ * </daikin-breadcrumb-item>
24
+ * </daikin-breadcrumb>
25
+ * ```
26
+ */
27
+ export declare class DaikinBreadcrumb extends LitElement {
28
+ static readonly styles: import('lit').CSSResult;
29
+ private resizeObserver;
30
+ private _slottedDaikinBreadCrumbItems;
31
+ private _divWrapRef;
32
+ /**
33
+ * Whether the last breadcrumb item should have trailing slash.
34
+ */
35
+ trailingSlash: boolean;
36
+ /**
37
+ * Specifies overflow.
38
+ * If `ellipsis`, some breadcrumb items will be omitted when the total width exceeds the container width.
39
+ */
40
+ overflow: "visible" | "ellipsis";
41
+ private _expandedContentWidth;
42
+ private omitted;
43
+ get _isEllipsis(): boolean;
44
+ private _omit;
45
+ private _updateBreadcrumbs;
46
+ private _handleChange;
47
+ private _handleResizeObserver;
48
+ render(): import('lit-html').TemplateResult<1>;
49
+ updated(changedProperties: PropertyValues<this>): void;
50
+ firstUpdated(): void;
51
+ }
52
+ declare global {
53
+ interface HTMLElementTagNameMap {
54
+ "daikin-breadcrumb": DaikinBreadcrumb;
55
+ }
56
+ }
@@ -0,0 +1,122 @@
1
+ import { css, unsafeCSS, LitElement, html } from "lit";
2
+ import { queryAssignedElements, property, customElement } from "lit/decorators.js";
3
+ import { createRef, ref } from "lit/directives/ref.js";
4
+ import tailwindStyles from "../../tailwind.css.js";
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __decorateClass = (decorators, target, key, kind) => {
8
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
9
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
10
+ if (decorator = decorators[i])
11
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12
+ if (kind && result) __defProp(target, key, result);
13
+ return result;
14
+ };
15
+ let DaikinBreadcrumb = class extends LitElement {
16
+ constructor() {
17
+ super(...arguments);
18
+ this.resizeObserver = new ResizeObserver(() => {
19
+ this._omit();
20
+ });
21
+ this._divWrapRef = createRef();
22
+ this.trailingSlash = false;
23
+ this.overflow = "visible";
24
+ this._expandedContentWidth = 0;
25
+ this.omitted = false;
26
+ }
27
+ get _isEllipsis() {
28
+ return this.overflow === "ellipsis";
29
+ }
30
+ _omit() {
31
+ const shouldOmit = this._isEllipsis && this.offsetWidth < this._expandedContentWidth;
32
+ if (this.omitted === shouldOmit) {
33
+ return;
34
+ }
35
+ this.omitted = shouldOmit;
36
+ const daikinBreadCrumbItems = this._slottedDaikinBreadCrumbItems;
37
+ for (const [index, item] of daikinBreadCrumbItems.entries()) {
38
+ let mode = "normal";
39
+ if (shouldOmit) {
40
+ if (index === 0 || index >= daikinBreadCrumbItems.length - 2) {
41
+ continue;
42
+ } else if (index === 1) {
43
+ mode = "ellipsis";
44
+ } else {
45
+ mode = "hidden";
46
+ }
47
+ }
48
+ item.hidden = mode === "hidden";
49
+ item.variant = mode === "ellipsis" ? "ellipsis" : "normal";
50
+ }
51
+ }
52
+ _updateBreadcrumbs() {
53
+ const daikinBreadCrumbItems = this._slottedDaikinBreadCrumbItems;
54
+ for (const [index, item] of daikinBreadCrumbItems.entries()) {
55
+ const isLast = index === daikinBreadCrumbItems.length - 1;
56
+ item.trailingSlash = !isLast || this.trailingSlash;
57
+ item.last = isLast;
58
+ }
59
+ }
60
+ _handleChange() {
61
+ this._updateBreadcrumbs();
62
+ }
63
+ _handleResizeObserver() {
64
+ if (this._isEllipsis) {
65
+ this.resizeObserver.observe(this);
66
+ } else {
67
+ this.resizeObserver.disconnect();
68
+ }
69
+ }
70
+ render() {
71
+ return html`
72
+ <div class="flex gap-2" ${ref(this._divWrapRef)}>
73
+ <slot @slotchange=${this._handleChange}></slot>
74
+ </div>
75
+ `;
76
+ }
77
+ updated(changedProperties) {
78
+ if (changedProperties.has("trailingSlash")) {
79
+ this._updateBreadcrumbs();
80
+ }
81
+ if (changedProperties.has("overflow")) {
82
+ this._omit();
83
+ this._handleResizeObserver();
84
+ }
85
+ }
86
+ firstUpdated() {
87
+ this._updateBreadcrumbs();
88
+ this._omit();
89
+ this._handleResizeObserver();
90
+ this.updateComplete.then(() => {
91
+ const divElement = this._divWrapRef.value;
92
+ if (!divElement) {
93
+ return;
94
+ }
95
+ this._expandedContentWidth = divElement.offsetWidth;
96
+ }).catch(() => {
97
+ });
98
+ }
99
+ };
100
+ DaikinBreadcrumb.styles = css`
101
+ ${unsafeCSS(tailwindStyles)}
102
+
103
+ :host {
104
+ display: flex;
105
+ align-items: center;
106
+ }
107
+ `;
108
+ __decorateClass([
109
+ queryAssignedElements()
110
+ ], DaikinBreadcrumb.prototype, "_slottedDaikinBreadCrumbItems", 2);
111
+ __decorateClass([
112
+ property({ type: Boolean, reflect: true, attribute: "trailing-slash" })
113
+ ], DaikinBreadcrumb.prototype, "trailingSlash", 2);
114
+ __decorateClass([
115
+ property({ type: String, reflect: true })
116
+ ], DaikinBreadcrumb.prototype, "overflow", 2);
117
+ DaikinBreadcrumb = __decorateClass([
118
+ customElement("daikin-breadcrumb")
119
+ ], DaikinBreadcrumb);
120
+ export {
121
+ DaikinBreadcrumb
122
+ };
@@ -0,0 +1 @@
1
+ export * from './daikin-breadcrumb';
@@ -0,0 +1,4 @@
1
+ import { DaikinBreadcrumb } from "./daikin-breadcrumb.js";
2
+ export {
3
+ DaikinBreadcrumb
4
+ };
@@ -0,0 +1,72 @@
1
+ import { LitElement } from 'lit';
2
+ import { MergeVariantProps } from '../../type-utils';
3
+ declare const cvaLink: (props?: ({
4
+ variant?: "normal" | "ellipsis" | null | undefined;
5
+ disabled?: boolean | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ type LinkVariantProps = MergeVariantProps<typeof cvaLink>;
8
+ /**
9
+ * The `daikin-breadcrumb-item` is a component used to represent each item of the breadcrumb list, and is used as a child element of the `daikin-breadcrumb` component.
10
+ *
11
+ * Hierarchy:
12
+ * - `daikin-breadcrumb` > `daikin-breadcrumb-item`
13
+ *
14
+ * @slot - A slot for the breadcrumb item content.
15
+ *
16
+ * @example
17
+ *
18
+ * ```js
19
+ * import "@daikin-oss/design-system-web-components/components/breadcrumb-item/index.js";
20
+ * ```
21
+ *
22
+ * ```html
23
+ * <!-- See `daikin-breadcrumb` component for complete example. -->
24
+ * <daikin-breadcrumb-item href="#">
25
+ * Breadcrumb Item 1
26
+ * </daikin-breadcrumb-item>
27
+ * ```
28
+ */
29
+ export declare class DaikinBreadcrumbItem extends LitElement {
30
+ static styles: import('lit').CSSResult;
31
+ /**
32
+ * Specify link href
33
+ */
34
+ href: string;
35
+ /**
36
+ * Specifies the display content.
37
+ * If `ellipsis`, the "..." will be displayed instead of the link.
38
+ * Set automatically by `daikin-breadcrumb`.
39
+ */
40
+ variant: LinkVariantProps["variant"];
41
+ /**
42
+ * Specify whether the link should be disabled
43
+ */
44
+ disabled: boolean;
45
+ /**
46
+ * Specify the link target
47
+ */
48
+ target: string | null;
49
+ /**
50
+ * Whether the slash after the link should shown.
51
+ * Set automatically by `daikin-breadcrumb`.
52
+ */
53
+ trailingSlash: boolean;
54
+ /**
55
+ * Whether the item is the last one.
56
+ * When set to `true`, the item will also be considered to be the current page and the link will be disabled.
57
+ * Automatically set by `daikin-breadcrumb` component.
58
+ */
59
+ last: boolean;
60
+ /**
61
+ * Whether the link should be hidden when ellipsis mode.
62
+ * Set automatically by `daikin-breadcrumb`.
63
+ */
64
+ hidden: boolean;
65
+ render(): import('lit-html').TemplateResult<1>;
66
+ }
67
+ declare global {
68
+ interface HTMLElementTagNameMap {
69
+ "daikin-breadcrumb-item": DaikinBreadcrumbItem;
70
+ }
71
+ }
72
+ export {};