@daikin-oss/design-system-web-components 1.5.1 → 1.5.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 (163) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/custom-elements.json +339 -26
  3. package/dist/cjs/base/dds-element.cjs +1 -1
  4. package/dist/cjs/components/accordion/daikin-accordion.cjs +29 -11
  5. package/dist/cjs/components/accordion/daikin-accordion.d.cts +1 -6
  6. package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +6 -0
  7. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +12 -1
  8. package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +7 -0
  9. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +12 -0
  10. package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +6 -0
  11. package/dist/cjs/components/button/daikin-button.cjs +51 -4
  12. package/dist/cjs/components/card/daikin-card.cjs +2 -3
  13. package/dist/cjs/components/card-header/daikin-card-header.cjs +4 -2
  14. package/dist/cjs/components/checkbox/daikin-checkbox.cjs +12 -1
  15. package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +6 -0
  16. package/dist/cjs/components/date-picker/daikin-date-picker.cjs +8 -0
  17. package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +5 -0
  18. package/dist/cjs/components/icon-button/daikin-icon-button.cjs +39 -3
  19. package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +1 -0
  20. package/dist/cjs/components/link/daikin-link.cjs +12 -0
  21. package/dist/cjs/components/link/daikin-link.d.cts +6 -0
  22. package/dist/cjs/components/menu/daikin-menu.cjs +11 -2
  23. package/dist/cjs/components/menu/daikin-menu.d.cts +11 -0
  24. package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +3 -2
  25. package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +1 -1
  26. package/dist/cjs/components/radio/daikin-radio.cjs +1 -1
  27. package/dist/cjs/components/slider/daikin-slider.cjs +8 -0
  28. package/dist/cjs/components/slider/daikin-slider.d.cts +5 -0
  29. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +19 -3
  30. package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +7 -0
  31. package/dist/cjs/components/text-area/daikin-text-area.cjs +11 -0
  32. package/dist/cjs/components/text-area/daikin-text-area.d.cts +6 -0
  33. package/dist/cjs/components/text-field/daikin-text-field.cjs +11 -0
  34. package/dist/cjs/components/text-field/daikin-text-field.d.cts +6 -0
  35. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +8 -0
  36. package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +5 -0
  37. package/dist/cjs/components/time-picker/daikin-time-picker.cjs +8 -0
  38. package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +5 -0
  39. package/dist/cjs/components/toggle/daikin-toggle.cjs +11 -0
  40. package/dist/cjs/components/toggle/daikin-toggle.d.cts +6 -0
  41. package/dist/cjs/components/tree-item/daikin-tree-item.cjs +1 -0
  42. package/dist/cjs/tailwind.css.cjs +1 -1
  43. package/dist/cjs-dev/base/dds-element.cjs +1 -1
  44. package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +29 -11
  45. package/dist/cjs-dev/components/accordion/daikin-accordion.d.cts +1 -6
  46. package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +6 -0
  47. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +12 -1
  48. package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +7 -0
  49. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +12 -0
  50. package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +6 -0
  51. package/dist/cjs-dev/components/button/daikin-button.cjs +51 -4
  52. package/dist/cjs-dev/components/card/daikin-card.cjs +2 -3
  53. package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +4 -2
  54. package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +12 -1
  55. package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +6 -0
  56. package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +8 -0
  57. package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +5 -0
  58. package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +39 -3
  59. package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +1 -0
  60. package/dist/cjs-dev/components/link/daikin-link.cjs +12 -0
  61. package/dist/cjs-dev/components/link/daikin-link.d.cts +6 -0
  62. package/dist/cjs-dev/components/menu/daikin-menu.cjs +11 -2
  63. package/dist/cjs-dev/components/menu/daikin-menu.d.cts +11 -0
  64. package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +3 -2
  65. package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +1 -1
  66. package/dist/cjs-dev/components/radio/daikin-radio.cjs +1 -1
  67. package/dist/cjs-dev/components/slider/daikin-slider.cjs +8 -0
  68. package/dist/cjs-dev/components/slider/daikin-slider.d.cts +5 -0
  69. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +19 -3
  70. package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +7 -0
  71. package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +11 -0
  72. package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +6 -0
  73. package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +11 -0
  74. package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +6 -0
  75. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +8 -0
  76. package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +5 -0
  77. package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +8 -0
  78. package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +5 -0
  79. package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +11 -0
  80. package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +6 -0
  81. package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +1 -0
  82. package/dist/cjs-dev/tailwind.css.cjs +1 -1
  83. package/dist/es/base/dds-element.js +1 -1
  84. package/dist/es/components/accordion/daikin-accordion.d.ts +1 -6
  85. package/dist/es/components/accordion/daikin-accordion.js +29 -11
  86. package/dist/es/components/accordion-item/daikin-accordion-item.js +6 -0
  87. package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +7 -0
  88. package/dist/es/components/breadcrumb/daikin-breadcrumb.js +12 -1
  89. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +6 -0
  90. package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +12 -0
  91. package/dist/es/components/button/daikin-button.js +51 -4
  92. package/dist/es/components/card/daikin-card.js +2 -3
  93. package/dist/es/components/card-header/daikin-card-header.js +4 -2
  94. package/dist/es/components/checkbox/daikin-checkbox.d.ts +6 -0
  95. package/dist/es/components/checkbox/daikin-checkbox.js +12 -1
  96. package/dist/es/components/date-picker/daikin-date-picker.d.ts +5 -0
  97. package/dist/es/components/date-picker/daikin-date-picker.js +8 -0
  98. package/dist/es/components/icon-button/daikin-icon-button.d.ts +1 -0
  99. package/dist/es/components/icon-button/daikin-icon-button.js +39 -3
  100. package/dist/es/components/link/daikin-link.d.ts +6 -0
  101. package/dist/es/components/link/daikin-link.js +12 -0
  102. package/dist/es/components/menu/daikin-menu.d.ts +11 -0
  103. package/dist/es/components/menu/daikin-menu.js +12 -3
  104. package/dist/es/components/progress-bar/daikin-progress-bar.js +3 -2
  105. package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +1 -1
  106. package/dist/es/components/radio/daikin-radio.js +1 -1
  107. package/dist/es/components/slider/daikin-slider.d.ts +5 -0
  108. package/dist/es/components/slider/daikin-slider.js +8 -0
  109. package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +7 -0
  110. package/dist/es/components/table-header-cell/daikin-table-header-cell.js +19 -3
  111. package/dist/es/components/text-area/daikin-text-area.d.ts +6 -0
  112. package/dist/es/components/text-area/daikin-text-area.js +11 -0
  113. package/dist/es/components/text-field/daikin-text-field.d.ts +6 -0
  114. package/dist/es/components/text-field/daikin-text-field.js +11 -0
  115. package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +5 -0
  116. package/dist/es/components/text-masked-field/daikin-text-masked-field.js +8 -0
  117. package/dist/es/components/time-picker/daikin-time-picker.d.ts +5 -0
  118. package/dist/es/components/time-picker/daikin-time-picker.js +8 -0
  119. package/dist/es/components/toggle/daikin-toggle.d.ts +6 -0
  120. package/dist/es/components/toggle/daikin-toggle.js +11 -0
  121. package/dist/es/components/tree-item/daikin-tree-item.js +1 -0
  122. package/dist/es/tailwind.css.js +1 -1
  123. package/dist/es-dev/base/dds-element.js +1 -1
  124. package/dist/es-dev/components/accordion/daikin-accordion.d.ts +1 -6
  125. package/dist/es-dev/components/accordion/daikin-accordion.js +29 -11
  126. package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +6 -0
  127. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +7 -0
  128. package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +12 -1
  129. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +6 -0
  130. package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +12 -0
  131. package/dist/es-dev/components/button/daikin-button.js +51 -4
  132. package/dist/es-dev/components/card/daikin-card.js +2 -3
  133. package/dist/es-dev/components/card-header/daikin-card-header.js +4 -2
  134. package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +6 -0
  135. package/dist/es-dev/components/checkbox/daikin-checkbox.js +12 -1
  136. package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +5 -0
  137. package/dist/es-dev/components/date-picker/daikin-date-picker.js +8 -0
  138. package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +1 -0
  139. package/dist/es-dev/components/icon-button/daikin-icon-button.js +39 -3
  140. package/dist/es-dev/components/link/daikin-link.d.ts +6 -0
  141. package/dist/es-dev/components/link/daikin-link.js +12 -0
  142. package/dist/es-dev/components/menu/daikin-menu.d.ts +11 -0
  143. package/dist/es-dev/components/menu/daikin-menu.js +12 -3
  144. package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +3 -2
  145. package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +1 -1
  146. package/dist/es-dev/components/radio/daikin-radio.js +1 -1
  147. package/dist/es-dev/components/slider/daikin-slider.d.ts +5 -0
  148. package/dist/es-dev/components/slider/daikin-slider.js +8 -0
  149. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +7 -0
  150. package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +19 -3
  151. package/dist/es-dev/components/text-area/daikin-text-area.d.ts +6 -0
  152. package/dist/es-dev/components/text-area/daikin-text-area.js +11 -0
  153. package/dist/es-dev/components/text-field/daikin-text-field.d.ts +6 -0
  154. package/dist/es-dev/components/text-field/daikin-text-field.js +11 -0
  155. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +5 -0
  156. package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +8 -0
  157. package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +5 -0
  158. package/dist/es-dev/components/time-picker/daikin-time-picker.js +8 -0
  159. package/dist/es-dev/components/toggle/daikin-toggle.d.ts +6 -0
  160. package/dist/es-dev/components/toggle/daikin-toggle.js +11 -0
  161. package/dist/es-dev/components/tree-item/daikin-tree-item.js +1 -0
  162. package/dist/es-dev/tailwind.css.js +1 -1
  163. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,95 @@
1
1
  # @daikin-oss/design-system-web-components
2
2
 
3
+ ## 1.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#398](https://github.com/dsv-rp/DDS/pull/398) [`65a352d`](https://github.com/dsv-rp/DDS/commit/65a352dbd6d59af7d59b9bf5f1669296fd9cd7a2) Thanks [@yodas7](https://github.com/yodas7)! - Added `focus()` method override to delegate focus to the inner focusable element via the host element.
8
+
9
+ - Breadcrumb Item
10
+ - Checkbox
11
+ - Date Picker
12
+ - Link
13
+ - Slider
14
+ - Table Header Cell
15
+ - Text Area
16
+ - Text Field
17
+ - Text Masked Field
18
+ - Time Picker
19
+ - Toggle
20
+
21
+ - [#399](https://github.com/dsv-rp/DDS/pull/399) [`38579fe`](https://github.com/dsv-rp/DDS/commit/38579fe1b71103817ca3dbb28f516a1929b0f2ef) Thanks [@dk-wei](https://github.com/dk-wei)! - Navigation (Storybook): Added kitchen sink page.
22
+
23
+ - [#402](https://github.com/dsv-rp/DDS/pull/402) [`7c71f50`](https://github.com/dsv-rp/DDS/commit/7c71f50b7a00c5195b42e5a8ce20d84c2a3dbdcb) Thanks [@dk-wei](https://github.com/dk-wei)! - Modal Footer (Storybook): Added kitchen sink page.
24
+
25
+ - [#394](https://github.com/dsv-rp/DDS/pull/394) [`dd7b1d3`](https://github.com/dsv-rp/DDS/commit/dd7b1d35f2286b500356c7a6fbe5d2790cb4ad78) Thanks [@dk-wei](https://github.com/dk-wei)! - Tag (Storybook): Added kitchen sink page.
26
+
27
+ - [#381](https://github.com/dsv-rp/DDS/pull/381) [`a89336c`](https://github.com/dsv-rp/DDS/commit/a89336c3016930fda3de0cf9aa62c9065a1a30cb) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Unified the text wrapping strategy within the following components. (DDS-2959)
28
+
29
+ - Card Header
30
+ - Checkbox
31
+ - Link
32
+ - Progress Bar
33
+ - Progress Indicator Item
34
+ - Radio Button
35
+ - Table Header Cell
36
+ - Tree Item
37
+
38
+ Table Header: Fixed an issue where the left icon was being compressed when the text was too long. (DDS-2963)
39
+ Fixed an issue where the content shifted when toggling the component borders. (DDS-2960)
40
+
41
+ - Card
42
+ - Accordion
43
+ - Icon Button
44
+ - Button
45
+
46
+ - [#397](https://github.com/dsv-rp/DDS/pull/397) [`311297a`](https://github.com/dsv-rp/DDS/commit/311297a587ea23578f414f8e55011bc0e33f206d) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Menu: Prevent the menu from flipping or shifting when used with a navigation item. (DDS-2978)
47
+
48
+ ## 1.5.2-next.0
49
+
50
+ ### Patch Changes
51
+
52
+ - [#398](https://github.com/dsv-rp/DDS/pull/398) [`65a352d`](https://github.com/dsv-rp/DDS/commit/65a352dbd6d59af7d59b9bf5f1669296fd9cd7a2) Thanks [@yodas7](https://github.com/yodas7)! - Added `focus()` method override to delegate focus to the inner focusable element via the host element.
53
+
54
+ - Breadcrumb Item
55
+ - Checkbox
56
+ - Date Picker
57
+ - Link
58
+ - Slider
59
+ - Table Header Cell
60
+ - Text Area
61
+ - Text Field
62
+ - Text Masked Field
63
+ - Time Picker
64
+ - Toggle
65
+
66
+ - [#399](https://github.com/dsv-rp/DDS/pull/399) [`38579fe`](https://github.com/dsv-rp/DDS/commit/38579fe1b71103817ca3dbb28f516a1929b0f2ef) Thanks [@dk-wei](https://github.com/dk-wei)! - Navigation (Storybook): Added kitchen sink page.
67
+
68
+ - [#402](https://github.com/dsv-rp/DDS/pull/402) [`7c71f50`](https://github.com/dsv-rp/DDS/commit/7c71f50b7a00c5195b42e5a8ce20d84c2a3dbdcb) Thanks [@dk-wei](https://github.com/dk-wei)! - Modal Footer (Storybook): Added kitchen sink page.
69
+
70
+ - [#394](https://github.com/dsv-rp/DDS/pull/394) [`dd7b1d3`](https://github.com/dsv-rp/DDS/commit/dd7b1d35f2286b500356c7a6fbe5d2790cb4ad78) Thanks [@dk-wei](https://github.com/dk-wei)! - Tag (Storybook): Added kitchen sink page.
71
+
72
+ - [#381](https://github.com/dsv-rp/DDS/pull/381) [`a89336c`](https://github.com/dsv-rp/DDS/commit/a89336c3016930fda3de0cf9aa62c9065a1a30cb) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Unified the text wrapping strategy within the following components. (DDS-2959)
73
+
74
+ - Card Header
75
+ - Checkbox
76
+ - Link
77
+ - Progress Bar
78
+ - Progress Indicator Item
79
+ - Radio Button
80
+ - Table Header Cell
81
+ - Tree Item
82
+
83
+ Table Header: Fixed an issue where the left icon was being compressed when the text was too long. (DDS-2963)
84
+ Fixed an issue where the content shifted when toggling the component borders. (DDS-2960)
85
+
86
+ - Card
87
+ - Accordion
88
+ - Icon Button
89
+ - Button
90
+
91
+ - [#397](https://github.com/dsv-rp/DDS/pull/397) [`311297a`](https://github.com/dsv-rp/DDS/commit/311297a587ea23578f414f8e55011bc0e33f206d) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Menu: Prevent the menu from flipping or shifting when used with a navigation item. (DDS-2978)
92
+
3
93
  ## 1.5.1
4
94
 
5
95
  ### Patch Changes
@@ -1171,30 +1171,6 @@
1171
1171
  }
1172
1172
  ]
1173
1173
  },
1174
- {
1175
- "kind": "javascript-module",
1176
- "path": "dist/es/constants/events.js",
1177
- "declarations": [
1178
- {
1179
- "kind": "variable",
1180
- "name": "EVENT_CLOSE",
1181
- "type": {
1182
- "text": "string"
1183
- },
1184
- "default": "\"close\""
1185
- }
1186
- ],
1187
- "exports": [
1188
- {
1189
- "kind": "js",
1190
- "name": "EVENT_CLOSE",
1191
- "declaration": {
1192
- "name": "EVENT_CLOSE",
1193
- "module": "src/constants/events.ts"
1194
- }
1195
- }
1196
- ]
1197
- },
1198
1174
  {
1199
1175
  "kind": "javascript-module",
1200
1176
  "path": "dist/es/components/index.js",
@@ -1706,6 +1682,30 @@
1706
1682
  }
1707
1683
  ]
1708
1684
  },
1685
+ {
1686
+ "kind": "javascript-module",
1687
+ "path": "dist/es/constants/events.js",
1688
+ "declarations": [
1689
+ {
1690
+ "kind": "variable",
1691
+ "name": "EVENT_CLOSE",
1692
+ "type": {
1693
+ "text": "string"
1694
+ },
1695
+ "default": "\"close\""
1696
+ }
1697
+ ],
1698
+ "exports": [
1699
+ {
1700
+ "kind": "js",
1701
+ "name": "EVENT_CLOSE",
1702
+ "declaration": {
1703
+ "name": "EVENT_CLOSE",
1704
+ "module": "src/constants/events.ts"
1705
+ }
1706
+ }
1707
+ ]
1708
+ },
1709
1709
  {
1710
1710
  "kind": "javascript-module",
1711
1711
  "path": "dist/es/controllers/click-outside.js",
@@ -2766,7 +2766,7 @@
2766
2766
  "kind": "field",
2767
2767
  "name": "border",
2768
2768
  "type": {
2769
- "text": "AccordionVariantProps[\"border\"]"
2769
+ "text": "\"vertical\" | \"all\" | \"none\""
2770
2770
  },
2771
2771
  "default": "\"vertical\"",
2772
2772
  "description": "The border type of the accordion.\n- `vertical`: Display the top and bottom border style.\n- `all`: Box border style.\n- `none`: No border style.",
@@ -2923,7 +2923,7 @@
2923
2923
  {
2924
2924
  "name": "border",
2925
2925
  "type": {
2926
- "text": "AccordionVariantProps[\"border\"]"
2926
+ "text": "\"vertical\" | \"all\" | \"none\""
2927
2927
  },
2928
2928
  "default": "\"vertical\"",
2929
2929
  "description": "The border type of the accordion.\n- `vertical`: Display the top and bottom border style.\n- `all`: Box border style.\n- `none`: No border style.",
@@ -3858,6 +3858,17 @@
3858
3858
  "attribute": "show-visited",
3859
3859
  "reflects": true
3860
3860
  },
3861
+ {
3862
+ "kind": "field",
3863
+ "name": "breadcrumbAriaLabel",
3864
+ "type": {
3865
+ "text": "string"
3866
+ },
3867
+ "description": "The aria-label of the breadcrumb.\nIt's recommended to provide a more specific aria-label for the breadcrumb, especially when there are multiple breadcrumb components on the same page, to help users distinguish between them.",
3868
+ "default": "\"Breadcrumb\"",
3869
+ "attribute": "breadcrumb-aria-label",
3870
+ "reflects": true
3871
+ },
3861
3872
  {
3862
3873
  "kind": "field",
3863
3874
  "name": "_items",
@@ -3985,6 +3996,15 @@
3985
3996
  "default": "false",
3986
3997
  "description": "Whether or not to change the color of visited links.",
3987
3998
  "fieldName": "showVisited"
3999
+ },
4000
+ {
4001
+ "name": "breadcrumb-aria-label",
4002
+ "type": {
4003
+ "text": "string"
4004
+ },
4005
+ "description": "The aria-label of the breadcrumb.\nIt's recommended to provide a more specific aria-label for the breadcrumb, especially when there are multiple breadcrumb components on the same page, to help users distinguish between them.",
4006
+ "default": "\"Breadcrumb\"",
4007
+ "fieldName": "breadcrumbAriaLabel"
3988
4008
  }
3989
4009
  ],
3990
4010
  "superclass": {
@@ -4122,6 +4142,35 @@
4122
4142
  "attribute": "breadcrumb-aria-expanded",
4123
4143
  "reflects": true
4124
4144
  },
4145
+ {
4146
+ "kind": "field",
4147
+ "name": "_focusableRef",
4148
+ "type": {
4149
+ "text": "Ref<HTMLElement>"
4150
+ },
4151
+ "privacy": "private",
4152
+ "readonly": true
4153
+ },
4154
+ {
4155
+ "kind": "method",
4156
+ "name": "focus",
4157
+ "return": {
4158
+ "type": {
4159
+ "text": "void"
4160
+ }
4161
+ },
4162
+ "parameters": [
4163
+ {
4164
+ "name": "options",
4165
+ "optional": true,
4166
+ "type": {
4167
+ "text": "FocusOptions"
4168
+ },
4169
+ "description": "focus options"
4170
+ }
4171
+ ],
4172
+ "description": "Focuses on the inner focusable element."
4173
+ },
4125
4174
  {
4126
4175
  "kind": "method",
4127
4176
  "name": "getDDSNavigationTarget",
@@ -6385,6 +6434,35 @@
6385
6434
  "description": "Specify the checkbox disabled state controlled by the parent component.\nControlled by `daikin-checkbox-group`.",
6386
6435
  "privacy": "private"
6387
6436
  },
6437
+ {
6438
+ "kind": "field",
6439
+ "name": "_inputRef",
6440
+ "type": {
6441
+ "text": "Ref<HTMLInputElement>"
6442
+ },
6443
+ "privacy": "private",
6444
+ "readonly": true
6445
+ },
6446
+ {
6447
+ "kind": "method",
6448
+ "name": "focus",
6449
+ "return": {
6450
+ "type": {
6451
+ "text": "void"
6452
+ }
6453
+ },
6454
+ "parameters": [
6455
+ {
6456
+ "name": "options",
6457
+ "optional": true,
6458
+ "type": {
6459
+ "text": "FocusOptions"
6460
+ },
6461
+ "description": "focus options"
6462
+ }
6463
+ ],
6464
+ "description": "Focuses on the inner checkbox."
6465
+ },
6388
6466
  {
6389
6467
  "kind": "field",
6390
6468
  "name": "checked",
@@ -8566,6 +8644,26 @@
8566
8644
  },
8567
8645
  "default": "null"
8568
8646
  },
8647
+ {
8648
+ "kind": "method",
8649
+ "name": "focus",
8650
+ "return": {
8651
+ "type": {
8652
+ "text": "void"
8653
+ }
8654
+ },
8655
+ "parameters": [
8656
+ {
8657
+ "name": "options",
8658
+ "optional": true,
8659
+ "type": {
8660
+ "text": "FocusOptions"
8661
+ },
8662
+ "description": "focus options"
8663
+ }
8664
+ ],
8665
+ "description": "Focuses on the inner date input."
8666
+ },
8569
8667
  {
8570
8668
  "kind": "method",
8571
8669
  "name": "reflectInputGroup",
@@ -11714,6 +11812,35 @@
11714
11812
  "attribute": "no-underline",
11715
11813
  "reflects": true
11716
11814
  },
11815
+ {
11816
+ "kind": "field",
11817
+ "name": "_anchorRef",
11818
+ "type": {
11819
+ "text": "Ref<HTMLAnchorElement>"
11820
+ },
11821
+ "privacy": "private",
11822
+ "readonly": true
11823
+ },
11824
+ {
11825
+ "kind": "method",
11826
+ "name": "focus",
11827
+ "return": {
11828
+ "type": {
11829
+ "text": "void"
11830
+ }
11831
+ },
11832
+ "parameters": [
11833
+ {
11834
+ "name": "options",
11835
+ "optional": true,
11836
+ "type": {
11837
+ "text": "FocusOptions"
11838
+ },
11839
+ "description": "focus options"
11840
+ }
11841
+ ],
11842
+ "description": "Focuses on the inner anchor."
11843
+ },
11717
11844
  {
11718
11845
  "kind": "method",
11719
11846
  "name": "getDDSNavigationTarget",
@@ -12963,6 +13090,16 @@
12963
13090
  "name": "_hostStyles",
12964
13091
  "privacy": "private"
12965
13092
  },
13093
+ {
13094
+ "kind": "field",
13095
+ "name": "_staticPlacement",
13096
+ "type": {
13097
+ "text": "boolean"
13098
+ },
13099
+ "privacy": "private",
13100
+ "default": "false",
13101
+ "description": "Controls whether the floating-ui `flip()` and `shift()` middleware are active.\n\n- **`flip()`** — When there is insufficient space on the side specified by `placement`, the menu\n is automatically repositioned to the opposite side (e.g. `bottom` → `top`).\n- **`shift()`** — Keeps the menu within the viewport by nudging it along the cross-axis when it\n would otherwise overflow the screen edge.\n\nBoth middlewares are disabled when the trigger element is a `daikin-navigation-item`."
13102
+ },
12966
13103
  {
12967
13104
  "kind": "field",
12968
13105
  "name": "triggerElement",
@@ -16579,6 +16716,26 @@
16579
16716
  }
16580
16717
  ]
16581
16718
  },
16719
+ {
16720
+ "kind": "method",
16721
+ "name": "focus",
16722
+ "return": {
16723
+ "type": {
16724
+ "text": "void"
16725
+ }
16726
+ },
16727
+ "parameters": [
16728
+ {
16729
+ "name": "options",
16730
+ "optional": true,
16731
+ "type": {
16732
+ "text": "FocusOptions"
16733
+ },
16734
+ "description": "focus options"
16735
+ }
16736
+ ],
16737
+ "description": "Focuses on the inner slider thumb."
16738
+ },
16582
16739
  {
16583
16740
  "kind": "field",
16584
16741
  "name": "value",
@@ -18442,6 +18599,35 @@
18442
18599
  "attribute": "order",
18443
18600
  "reflects": true
18444
18601
  },
18602
+ {
18603
+ "kind": "field",
18604
+ "name": "_focusableRef",
18605
+ "type": {
18606
+ "text": "Ref<HTMLButtonElement>"
18607
+ },
18608
+ "privacy": "private",
18609
+ "readonly": true
18610
+ },
18611
+ {
18612
+ "kind": "method",
18613
+ "name": "focus",
18614
+ "return": {
18615
+ "type": {
18616
+ "text": "void"
18617
+ }
18618
+ },
18619
+ "parameters": [
18620
+ {
18621
+ "name": "options",
18622
+ "optional": true,
18623
+ "type": {
18624
+ "text": "FocusOptions"
18625
+ },
18626
+ "description": "focus options"
18627
+ }
18628
+ ],
18629
+ "description": "Focuses on the inner button.\nOnly effective when `sortable` is `true`."
18630
+ },
18445
18631
  {
18446
18632
  "kind": "field",
18447
18633
  "name": "version",
@@ -19309,6 +19495,15 @@
19309
19495
  "default": "null",
19310
19496
  "description": "The label text used as the value of aria-label.\nSet automatically by `reflectInputGroup` method."
19311
19497
  },
19498
+ {
19499
+ "kind": "field",
19500
+ "name": "_textareaRef",
19501
+ "type": {
19502
+ "text": "Ref<HTMLTextAreaElement>"
19503
+ },
19504
+ "privacy": "private",
19505
+ "readonly": true
19506
+ },
19312
19507
  {
19313
19508
  "kind": "field",
19314
19509
  "name": "count",
@@ -19353,6 +19548,26 @@
19353
19548
  }
19354
19549
  ]
19355
19550
  },
19551
+ {
19552
+ "kind": "method",
19553
+ "name": "focus",
19554
+ "return": {
19555
+ "type": {
19556
+ "text": "void"
19557
+ }
19558
+ },
19559
+ "parameters": [
19560
+ {
19561
+ "name": "options",
19562
+ "optional": true,
19563
+ "type": {
19564
+ "text": "FocusOptions"
19565
+ },
19566
+ "description": "focus options"
19567
+ }
19568
+ ],
19569
+ "description": "Focuses on the inner textarea."
19570
+ },
19356
19571
  {
19357
19572
  "kind": "method",
19358
19573
  "name": "reflectInputGroup",
@@ -19964,6 +20179,35 @@
19964
20179
  "privacy": "private",
19965
20180
  "default": "false"
19966
20181
  },
20182
+ {
20183
+ "kind": "field",
20184
+ "name": "_inputRef",
20185
+ "type": {
20186
+ "text": "Ref<HTMLInputElement>"
20187
+ },
20188
+ "privacy": "private",
20189
+ "readonly": true
20190
+ },
20191
+ {
20192
+ "kind": "method",
20193
+ "name": "focus",
20194
+ "return": {
20195
+ "type": {
20196
+ "text": "void"
20197
+ }
20198
+ },
20199
+ "parameters": [
20200
+ {
20201
+ "name": "options",
20202
+ "optional": true,
20203
+ "type": {
20204
+ "text": "FocusOptions"
20205
+ },
20206
+ "description": "focus options"
20207
+ }
20208
+ ],
20209
+ "description": "Focuses on the inner input."
20210
+ },
19967
20211
  {
19968
20212
  "kind": "method",
19969
20213
  "name": "_handleChange",
@@ -20856,6 +21100,26 @@
20856
21100
  }
20857
21101
  ]
20858
21102
  },
21103
+ {
21104
+ "kind": "method",
21105
+ "name": "focus",
21106
+ "return": {
21107
+ "type": {
21108
+ "text": "void"
21109
+ }
21110
+ },
21111
+ "parameters": [
21112
+ {
21113
+ "name": "options",
21114
+ "optional": true,
21115
+ "type": {
21116
+ "text": "FocusOptions"
21117
+ },
21118
+ "description": "focus options"
21119
+ }
21120
+ ],
21121
+ "description": "Focuses on the inner input."
21122
+ },
20859
21123
  {
20860
21124
  "kind": "method",
20861
21125
  "name": "_createIcon",
@@ -21893,6 +22157,26 @@
21893
22157
  }
21894
22158
  ]
21895
22159
  },
22160
+ {
22161
+ "kind": "method",
22162
+ "name": "focus",
22163
+ "return": {
22164
+ "type": {
22165
+ "text": "void"
22166
+ }
22167
+ },
22168
+ "parameters": [
22169
+ {
22170
+ "name": "options",
22171
+ "optional": true,
22172
+ "type": {
22173
+ "text": "FocusOptions"
22174
+ },
22175
+ "description": "focus options"
22176
+ }
22177
+ ],
22178
+ "description": "Focuses on the inner time input."
22179
+ },
21896
22180
  {
21897
22181
  "kind": "method",
21898
22182
  "name": "reflectInputGroup",
@@ -22976,6 +23260,35 @@
22976
23260
  "attribute": "disabled",
22977
23261
  "reflects": true
22978
23262
  },
23263
+ {
23264
+ "kind": "field",
23265
+ "name": "_inputRef",
23266
+ "type": {
23267
+ "text": "Ref<HTMLInputElement>"
23268
+ },
23269
+ "privacy": "private",
23270
+ "readonly": true
23271
+ },
23272
+ {
23273
+ "kind": "method",
23274
+ "name": "focus",
23275
+ "return": {
23276
+ "type": {
23277
+ "text": "void"
23278
+ }
23279
+ },
23280
+ "parameters": [
23281
+ {
23282
+ "name": "options",
23283
+ "optional": true,
23284
+ "type": {
23285
+ "text": "FocusOptions"
23286
+ },
23287
+ "description": "focus options"
23288
+ }
23289
+ ],
23290
+ "description": "Focuses on the inner input."
23291
+ },
22979
23292
  {
22980
23293
  "kind": "method",
22981
23294
  "name": "_updateFormValue",
@@ -84,6 +84,6 @@ const _DDSElement = class _DDSElement extends lit.LitElement {
84
84
  return this[key];
85
85
  }
86
86
  };
87
- _DDSElement.version = "1.5.1";
87
+ _DDSElement.version = "1.5.2";
88
88
  let DDSElement = _DDSElement;
89
89
  exports.DDSElement = DDSElement;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const classVarianceAuthority = require("class-variance-authority");
4
3
  const lit = require("lit");
5
4
  const decorators_js = require("lit/decorators.js");
6
5
  const ddsElement = require("../../base/dds-element.cjs");
@@ -19,15 +18,6 @@ var __decorateClass = (decorators2, target, key, kind) => {
19
18
  if (kind && result) __defProp(target, key, result);
20
19
  return result;
21
20
  };
22
- const cvaAccordion = classVarianceAuthority.cva(["w-full"], {
23
- variants: {
24
- border: {
25
- vertical: ["border-y border-ddt-color-divider"],
26
- all: ["border border-ddt-color-divider"],
27
- none: []
28
- }
29
- }
30
- });
31
21
  exports.DaikinAccordion = class DaikinAccordion extends ddsElement.DDSElement {
32
22
  constructor() {
33
23
  super(...arguments);
@@ -62,7 +52,7 @@ exports.DaikinAccordion = class DaikinAccordion extends ddsElement.DDSElement {
62
52
  }
63
53
  }
64
54
  render() {
65
- return lit.html`<div class=${cvaAccordion({ border: this.border })}>
55
+ return lit.html`<div class="w-full">
66
56
  <slot
67
57
  @accordion-move-focus=${this._handleMoveFocus}
68
58
  @toggle=${this._handleToggle}
@@ -76,6 +66,34 @@ exports.DaikinAccordion.styles = lit.css`
76
66
 
77
67
  :host {
78
68
  min-width: 10rem;
69
+ position: relative;
70
+ }
71
+
72
+ :host([border="vertical"])::before {
73
+ content: "";
74
+ display: block;
75
+ position: absolute;
76
+ width: 100%;
77
+ height: 100%;
78
+ inset: 0px;
79
+ border-top: 1px solid var(--dds-color-divider) !important;
80
+ border-bottom: 1px solid var(--dds-color-divider) !important;
81
+ z-index: 1;
82
+ isolation: isolate;
83
+ pointer-events: none;
84
+ }
85
+
86
+ :host([border="all"])::before {
87
+ content: "";
88
+ display: block;
89
+ position: absolute;
90
+ width: 100%;
91
+ height: 100%;
92
+ inset: 0px;
93
+ border: 1px solid var(--dds-color-divider) !important;
94
+ z-index: 1;
95
+ isolation: isolate;
96
+ pointer-events: none;
79
97
  }
80
98
 
81
99
  :host(:not([border="none"])) ::slotted(daikin-accordion-item) {
@@ -1,9 +1,4 @@
1
1
  import { DDSElement } from "../../base/index.cjs";
2
- import { MergeVariantProps } from "../../type-utils.cjs";
3
- declare const cvaAccordion: (props?: ({
4
- border?: "vertical" | "all" | "none" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
- type AccordionVariantProps = MergeVariantProps<typeof cvaAccordion>;
7
2
  /**
8
3
  * The accordion component serves as the parent element that organizes and manages the overall structure of the accordion.
9
4
  * Currently it only provides appropriate styles for individual accordion items.
@@ -47,7 +42,7 @@ export declare class DaikinAccordion extends DDSElement {
47
42
  *
48
43
  * @default "vertical"
49
44
  */
50
- border: AccordionVariantProps["border"];
45
+ border: "vertical" | "all" | "none";
51
46
  /**
52
47
  * A list of the names of the open items.
53
48
  * If `exclusive` is true, the number of elements is 0 or 1.