@clayui/breadcrumb 3.106.0-alpha.0 → 3.106.1
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.
- package/CHANGELOG.md +437 -0
- package/lib/Item.d.ts +0 -0
- package/lib/index.d.ts +0 -0
- package/package.json +5 -5
- package/lib/Ellipsis.js +0 -58
- package/lib/Item.js.map +0 -1
- package/lib/index.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [3.106.1](https://github.com/liferay/clay/compare/v3.106.0...v3.106.1) (2023-10-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
9
|
+
|
|
10
|
+
# [3.106.0](https://github.com/liferay/clay/compare/v3.105.0...v3.106.0) (2023-10-25)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- remove 'src' dir from being packaged with npm ([9383e8d](https://github.com/liferay/clay/commit/9383e8d8abb25ca3396e7c6e4dfa53bbc72691c5))
|
|
15
|
+
- use package's directory for baseDir when generating type ([0a5c710](https://github.com/liferay/clay/commit/0a5c710092f36243bc8d5487f70e831295715072))
|
|
16
|
+
|
|
17
|
+
# [3.104.0](https://github.com/liferay/clay/compare/v3.103.1...v3.104.0) (2023-08-25)
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- **@clayui/breadcrumb:** the active item must not have the href ([4482a15](https://github.com/liferay/clay/commit/4482a15494fa4aef807bb4b023f18281e8cf54ed))
|
|
22
|
+
- **@clayui/breadcrumb:** updates colors to active state with link and expand button ([0313029](https://github.com/liferay/clay/commit/0313029dfe39c7689315919d9c3f36fdea8b97f9))
|
|
23
|
+
- **@clayui/breadcrumb:** use `breadcrumb-toggle` instead of `breadcrumb-item-expand` ([a94ba61](https://github.com/liferay/clay/commit/a94ba614e9742ea83767d93573fc75608871c95f))
|
|
24
|
+
|
|
25
|
+
# [3.101.0](https://github.com/liferay/clay/compare/v3.100.0...v3.101.0) (2023-07-28)
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
- **@clayui/breadcrumb:** fix focus visible in breadcrumb ([62b1a24](https://github.com/liferay/clay/commit/62b1a241b390f0e4bcea9aa97322f14dacb539db))
|
|
30
|
+
|
|
31
|
+
# [3.100.0](https://github.com/liferay/clay/compare/v3.99.4...v3.100.0) (2023-07-13)
|
|
32
|
+
|
|
33
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
34
|
+
|
|
35
|
+
# [3.92.0](https://github.com/liferay/clay/compare/v3.91.0...v3.92.0) (2023-04-06)
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
- **@clayui/breadcrumb:** changes the ellipse implementation to collapse ([5bbc5fc](https://github.com/liferay/clay/commit/5bbc5fc20572dce091e5dfb64836b83041014ab4))
|
|
40
|
+
- **@clayui/breadcrumb:** improve breadcrumb accessibility ([f3c6131](https://github.com/liferay/clay/commit/f3c61311dd55c68e3aeb772d8dff0c77a1287362))
|
|
41
|
+
|
|
42
|
+
# [3.91.0](https://github.com/liferay/clay/compare/v3.90.0...v3.91.0) (2023-03-24)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
45
|
+
|
|
46
|
+
# [3.90.0](https://github.com/liferay/clay/compare/v3.89.0...v3.90.0) (2023-03-15)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
49
|
+
|
|
50
|
+
# [3.89.0](https://github.com/liferay/clay/compare/v3.88.0...v3.89.0) (2023-03-01)
|
|
51
|
+
|
|
52
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
53
|
+
|
|
54
|
+
# [3.88.0](https://github.com/liferay/clay/compare/v3.87.2...v3.88.0) (2023-02-14)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
57
|
+
|
|
58
|
+
# [3.87.0](https://github.com/liferay/clay/compare/v3.86.1...v3.87.0) (2023-02-08)
|
|
59
|
+
|
|
60
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
61
|
+
|
|
62
|
+
## [3.86.1](https://github.com/liferay/clay/compare/v3.86.0...v3.86.1) (2023-02-02)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
65
|
+
|
|
66
|
+
# [3.86.0](https://github.com/liferay/clay/compare/v3.85.0...v3.86.0) (2023-01-31)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
69
|
+
|
|
70
|
+
# [3.85.0](https://github.com/liferay/clay/compare/v3.84.0...v3.85.0) (2023-01-23)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
73
|
+
|
|
74
|
+
# [3.84.0](https://github.com/liferay/clay/compare/v3.83.1...v3.84.0) (2022-12-23)
|
|
75
|
+
|
|
76
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
77
|
+
|
|
78
|
+
## [3.83.1](https://github.com/liferay/clay/compare/v3.83.0...v3.83.1) (2022-12-20)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
81
|
+
|
|
82
|
+
# [3.83.0](https://github.com/liferay/clay/compare/v3.82.0...v3.83.0) (2022-12-20)
|
|
83
|
+
|
|
84
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
85
|
+
|
|
86
|
+
# [3.82.0](https://github.com/liferay/clay/compare/v3.81.0...v3.82.0) (2022-12-07)
|
|
87
|
+
|
|
88
|
+
### Bug Fixes
|
|
89
|
+
|
|
90
|
+
- **@clayui/breadcrumb:** add `aria-label` and `title` to ellipsis ([7905087](https://github.com/liferay/clay/commit/7905087c927396c74f5a9230d9d5b29a6aeebb30))
|
|
91
|
+
|
|
92
|
+
# [3.81.0](https://github.com/liferay/clay/compare/v3.80.1...v3.81.0) (2022-11-30)
|
|
93
|
+
|
|
94
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
95
|
+
|
|
96
|
+
## [3.80.1](https://github.com/liferay/clay/compare/v3.80.0...v3.80.1) (2022-11-22)
|
|
97
|
+
|
|
98
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
99
|
+
|
|
100
|
+
# [3.80.0](https://github.com/liferay/clay/compare/v3.79.0...v3.80.0) (2022-11-21)
|
|
101
|
+
|
|
102
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
103
|
+
|
|
104
|
+
# [3.79.0](https://github.com/liferay/clay/compare/v3.78.2...v3.79.0) (2022-11-08)
|
|
105
|
+
|
|
106
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
107
|
+
|
|
108
|
+
## [3.78.2](https://github.com/liferay/clay/compare/v3.78.1...v3.78.2) (2022-10-25)
|
|
109
|
+
|
|
110
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
111
|
+
|
|
112
|
+
## [3.78.1](https://github.com/liferay/clay/compare/v3.78.0...v3.78.1) (2022-10-25)
|
|
113
|
+
|
|
114
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
115
|
+
|
|
116
|
+
# [3.78.0](https://github.com/liferay/clay/compare/v3.77.0...v3.78.0) (2022-10-25)
|
|
117
|
+
|
|
118
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
119
|
+
|
|
120
|
+
# [3.77.0](https://github.com/liferay/clay/compare/v3.76.0...v3.77.0) (2022-10-17)
|
|
121
|
+
|
|
122
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
123
|
+
|
|
124
|
+
## [3.75.2](https://github.com/liferay/clay/compare/v3.75.1...v3.75.2) (2022-09-29)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
127
|
+
|
|
128
|
+
# [3.75.0](https://github.com/liferay/clay/compare/v3.74.0...v3.75.0) (2022-09-28)
|
|
129
|
+
|
|
130
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
131
|
+
|
|
132
|
+
# [3.74.0](https://github.com/liferay/clay/compare/v3.73.0...v3.74.0) (2022-09-19)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
135
|
+
|
|
136
|
+
# [3.73.0](https://github.com/liferay/clay/compare/v3.72.0...v3.73.0) (2022-09-13)
|
|
137
|
+
|
|
138
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
139
|
+
|
|
140
|
+
# [3.72.0](https://github.com/liferay/clay/compare/v3.71.0...v3.72.0) (2022-09-05)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
143
|
+
|
|
144
|
+
# [3.71.0](https://github.com/liferay/clay/compare/v3.70.3...v3.71.0) (2022-08-30)
|
|
145
|
+
|
|
146
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
147
|
+
|
|
148
|
+
## [3.70.3](https://github.com/liferay/clay/compare/v3.70.2...v3.70.3) (2022-08-30)
|
|
149
|
+
|
|
150
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
151
|
+
|
|
152
|
+
## [3.70.2](https://github.com/liferay/clay/compare/v3.70.1...v3.70.2) (2022-08-30)
|
|
153
|
+
|
|
154
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
155
|
+
|
|
156
|
+
# [3.70.0](https://github.com/liferay/clay/compare/v3.69.0...v3.70.0) (2022-08-23)
|
|
157
|
+
|
|
158
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
159
|
+
|
|
160
|
+
# [3.69.0](https://github.com/liferay/clay/compare/v3.68.0...v3.69.0) (2022-08-16)
|
|
161
|
+
|
|
162
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
163
|
+
|
|
164
|
+
# [3.68.0](https://github.com/liferay/clay/compare/v3.67.0...v3.68.0) (2022-08-01)
|
|
165
|
+
|
|
166
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
167
|
+
|
|
168
|
+
# [3.67.0](https://github.com/liferay/clay/compare/v3.66.0...v3.67.0) (2022-07-25)
|
|
169
|
+
|
|
170
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
171
|
+
|
|
172
|
+
# [3.66.0](https://github.com/liferay/clay/compare/v3.65.2...v3.66.0) (2022-07-20)
|
|
173
|
+
|
|
174
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
175
|
+
|
|
176
|
+
## [3.65.2](https://github.com/liferay/clay/compare/v3.65.1...v3.65.2) (2022-07-19)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
179
|
+
|
|
180
|
+
## [3.65.1](https://github.com/liferay/clay/compare/v3.65.0...v3.65.1) (2022-07-11)
|
|
181
|
+
|
|
182
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
183
|
+
|
|
184
|
+
# [3.65.0](https://github.com/liferay/clay/compare/v3.64.0...v3.65.0) (2022-07-11)
|
|
185
|
+
|
|
186
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
187
|
+
|
|
188
|
+
# [3.64.0](https://github.com/liferay/clay/compare/v3.63.0...v3.64.0) (2022-07-04)
|
|
189
|
+
|
|
190
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
191
|
+
|
|
192
|
+
# [3.62.0](https://github.com/liferay/clay/compare/v3.61.0...v3.62.0) (2022-06-20)
|
|
193
|
+
|
|
194
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
195
|
+
|
|
196
|
+
# [3.58.0](https://github.com/liferay/clay/compare/v3.57.0...v3.58.0) (2022-05-23)
|
|
197
|
+
|
|
198
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
199
|
+
|
|
200
|
+
# [3.56.0](https://github.com/liferay/clay/compare/v3.55.0...v3.56.0) (2022-05-09)
|
|
201
|
+
|
|
202
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
203
|
+
|
|
204
|
+
# [3.55.0](https://github.com/liferay/clay/compare/v3.54.0...v3.55.0) (2022-05-02)
|
|
205
|
+
|
|
206
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
207
|
+
|
|
208
|
+
# [3.52.0](https://github.com/liferay/clay/compare/v3.51.0...v3.52.0) (2022-04-04)
|
|
209
|
+
|
|
210
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
211
|
+
|
|
212
|
+
# [3.49.0](https://github.com/liferay/clay/compare/v3.48.0...v3.49.0) (2022-03-15)
|
|
213
|
+
|
|
214
|
+
### Features
|
|
215
|
+
|
|
216
|
+
- **@clayui/drop-down:** make it possible to render the menu lazily ([1e4e565](https://github.com/liferay/clay/commit/1e4e5655503645358245a200e72c8ca711f72956))
|
|
217
|
+
|
|
218
|
+
# [3.48.0](https://github.com/liferay/clay/compare/v3.47.0...v3.48.0) (2022-03-07)
|
|
219
|
+
|
|
220
|
+
### Features
|
|
221
|
+
|
|
222
|
+
- **@clayui/drop-down:** Update tests ([ab564dd](https://github.com/liferay/clay/commit/ab564ddb95de1e01cb690cd458e5ac3aad634946))
|
|
223
|
+
|
|
224
|
+
# [3.47.0](https://github.com/liferay/clay/compare/v3.46.0...v3.47.0) (2022-02-23)
|
|
225
|
+
|
|
226
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
227
|
+
|
|
228
|
+
# [3.45.0](https://github.com/liferay/clay/compare/v3.44.2...v3.45.0) (2022-02-01)
|
|
229
|
+
|
|
230
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
231
|
+
|
|
232
|
+
# [3.43.0](https://github.com/liferay/clay/compare/v3.42.0...v3.43.0) (2021-12-29)
|
|
233
|
+
|
|
234
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
235
|
+
|
|
236
|
+
# [3.42.0](https://github.com/liferay/clay/compare/v3.41.0...v3.42.0) (2021-12-15)
|
|
237
|
+
|
|
238
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
239
|
+
|
|
240
|
+
# [3.41.0](https://github.com/liferay/clay/compare/v3.40.1...v3.41.0) (2021-12-02)
|
|
241
|
+
|
|
242
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
243
|
+
|
|
244
|
+
# [3.40.0](https://github.com/liferay/clay/compare/v3.39.0...v3.40.0) (2021-11-17)
|
|
245
|
+
|
|
246
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
247
|
+
|
|
248
|
+
# [3.39.0](https://github.com/liferay/clay/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
251
|
+
|
|
252
|
+
# [3.38.0](https://github.com/liferay/clay/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
253
|
+
|
|
254
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
255
|
+
|
|
256
|
+
# [3.37.0](https://github.com/liferay/clay/compare/v3.36.0...v3.37.0) (2021-10-06)
|
|
257
|
+
|
|
258
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
259
|
+
|
|
260
|
+
# [3.36.0](https://github.com/liferay/clay/compare/v3.35.3...v3.36.0) (2021-09-23)
|
|
261
|
+
|
|
262
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
263
|
+
|
|
264
|
+
## [3.35.3](https://github.com/liferay/clay/compare/v3.35.2...v3.35.3) (2021-09-09)
|
|
265
|
+
|
|
266
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
267
|
+
|
|
268
|
+
## [3.35.2](https://github.com/liferay/clay/compare/v3.35.1...v3.35.2) (2021-08-30)
|
|
269
|
+
|
|
270
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
271
|
+
|
|
272
|
+
## [3.35.1](https://github.com/liferay/clay/compare/v3.35.0...v3.35.1) (2021-08-30)
|
|
273
|
+
|
|
274
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
275
|
+
|
|
276
|
+
# [3.35.0](https://github.com/liferay/clay/compare/v3.34.0...v3.35.0) (2021-08-30)
|
|
277
|
+
|
|
278
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
279
|
+
|
|
280
|
+
# [3.32.0](https://github.com/liferay/clay/compare/v3.31.0...v3.32.0) (2021-07-28)
|
|
281
|
+
|
|
282
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
283
|
+
|
|
284
|
+
# [3.30.0](https://github.com/liferay/clay/compare/v3.29.0...v3.30.0) (2021-06-16)
|
|
285
|
+
|
|
286
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
287
|
+
|
|
288
|
+
# [3.29.0](https://github.com/liferay/clay/compare/v3.28.0...v3.29.0) (2021-05-28)
|
|
289
|
+
|
|
290
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
291
|
+
|
|
292
|
+
# [3.28.0](https://github.com/liferay/clay/compare/v3.27.0...v3.28.0) (2021-05-19)
|
|
293
|
+
|
|
294
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
295
|
+
|
|
296
|
+
# [3.27.0](https://github.com/liferay/clay/compare/v3.26.0...v3.27.0) (2021-05-05)
|
|
297
|
+
|
|
298
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
299
|
+
|
|
300
|
+
## [3.25.1](https://github.com/liferay/clay/compare/v3.25.0...v3.25.1) (2021-03-05)
|
|
301
|
+
|
|
302
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
303
|
+
|
|
304
|
+
# [3.25.0](https://github.com/liferay/clay/compare/v3.24.1...v3.25.0) (2021-02-23)
|
|
305
|
+
|
|
306
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
307
|
+
|
|
308
|
+
## [3.3.6](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.3.5...@clayui/breadcrumb@3.3.6) (2021-02-11)
|
|
309
|
+
|
|
310
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
311
|
+
|
|
312
|
+
## [3.3.5](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.3.4...@clayui/breadcrumb@3.3.5) (2021-01-27)
|
|
313
|
+
|
|
314
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
315
|
+
|
|
316
|
+
## [3.3.4](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.3.3...@clayui/breadcrumb@3.3.4) (2021-01-13)
|
|
317
|
+
|
|
318
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
319
|
+
|
|
320
|
+
## [3.3.3](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.3.2...@clayui/breadcrumb@3.3.3) (2020-12-29)
|
|
321
|
+
|
|
322
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
323
|
+
|
|
324
|
+
## [3.3.2](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.3.0...@clayui/breadcrumb@3.3.2) (2020-12-16)
|
|
325
|
+
|
|
326
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
327
|
+
|
|
328
|
+
## [3.3.1](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.3.0...@clayui/breadcrumb@3.3.1) (2020-12-02)
|
|
329
|
+
|
|
330
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
331
|
+
|
|
332
|
+
# [3.3.0](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.8...@clayui/breadcrumb@3.3.0) (2020-10-01)
|
|
333
|
+
|
|
334
|
+
### Features
|
|
335
|
+
|
|
336
|
+
- **clayui.com:** Move API tables to new files and update document tabs, rename files to use singular naming instead of plural, change mainTabURL of pagination-bar to a proper one ([d812ee9](https://github.com/liferay/clay/commit/d812ee9))
|
|
337
|
+
|
|
338
|
+
## [3.2.8](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.7...@clayui/breadcrumb@3.2.8) (2020-08-28)
|
|
339
|
+
|
|
340
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
341
|
+
|
|
342
|
+
## [3.2.7](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.6...@clayui/breadcrumb@3.2.7) (2020-08-26)
|
|
343
|
+
|
|
344
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
345
|
+
|
|
346
|
+
## [3.2.6](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.5...@clayui/breadcrumb@3.2.6) (2020-08-21)
|
|
347
|
+
|
|
348
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
349
|
+
|
|
350
|
+
## [3.2.5](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.4...@clayui/breadcrumb@3.2.5) (2020-08-11)
|
|
351
|
+
|
|
352
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
353
|
+
|
|
354
|
+
## [3.2.4](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.3...@clayui/breadcrumb@3.2.4) (2020-07-28)
|
|
355
|
+
|
|
356
|
+
### Bug Fixes
|
|
357
|
+
|
|
358
|
+
- update packages to appropriate dependencies ([0026168](https://github.com/liferay/clay/commit/0026168))
|
|
359
|
+
|
|
360
|
+
## [3.2.3](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.2...@clayui/breadcrumb@3.2.3) (2020-07-14)
|
|
361
|
+
|
|
362
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
363
|
+
|
|
364
|
+
## [3.2.2](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.1...@clayui/breadcrumb@3.2.2) (2020-07-07)
|
|
365
|
+
|
|
366
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
367
|
+
|
|
368
|
+
## [3.2.1](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.2.0...@clayui/breadcrumb@3.2.1) (2020-06-18)
|
|
369
|
+
|
|
370
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
371
|
+
|
|
372
|
+
# [3.2.0](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.1.3...@clayui/breadcrumb@3.2.0) (2020-05-21)
|
|
373
|
+
|
|
374
|
+
### Features
|
|
375
|
+
|
|
376
|
+
- **clayui.com:** Improve component docs by updating content - Badge, Breadcrumb, Dual List Box, Loading Indicator, Localized Input & Multi Step Nav ([c4ad126](https://github.com/liferay/clay/commit/c4ad126))
|
|
377
|
+
|
|
378
|
+
## [3.1.3](https://github.com/liferay/clay/compare/@clayui/breadcrumb@3.1.2...@clayui/breadcrumb@3.1.3) (2020-04-24)
|
|
379
|
+
|
|
380
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
381
|
+
|
|
382
|
+
## [3.1.2](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.1.1...@clayui/breadcrumb@3.1.2) (2020-03-26)
|
|
383
|
+
|
|
384
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
385
|
+
|
|
386
|
+
## [3.1.1](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.1.0...@clayui/breadcrumb@3.1.1) (2020-03-12)
|
|
387
|
+
|
|
388
|
+
### Bug Fixes
|
|
389
|
+
|
|
390
|
+
- **@clayui/breadcrumb:** use ClayLink over anchor tag ([047c3be](https://github.com/liferay/clay/commit/047c3be))
|
|
391
|
+
|
|
392
|
+
# 3.1.0 (2020-02-28)
|
|
393
|
+
|
|
394
|
+
### Bug Fixes
|
|
395
|
+
|
|
396
|
+
- **drop-down:** use dom-align instead of metal-position ([335ff38](https://github.com/liferay/clay/commit/335ff38))
|
|
397
|
+
- add missing dependency declarations ([c591e2f](https://github.com/liferay/clay/commit/c591e2f))
|
|
398
|
+
|
|
399
|
+
### Features
|
|
400
|
+
|
|
401
|
+
- **breadcrumb:** move breadcrumb to its own package ([0994158](https://github.com/liferay/clay/commit/0994158))
|
|
402
|
+
|
|
403
|
+
## [3.0.7](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.0.6...@clayui/breadcrumb@3.0.7) (2020-02-13)
|
|
404
|
+
|
|
405
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
406
|
+
|
|
407
|
+
## [3.0.6](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.0.3...@clayui/breadcrumb@3.0.6) (2020-01-31)
|
|
408
|
+
|
|
409
|
+
### Bug Fixes
|
|
410
|
+
|
|
411
|
+
- **drop-down:** use dom-align instead of metal-position ([335ff38](https://github.com/liferay/clay/commit/335ff38))
|
|
412
|
+
- add missing dependency declarations ([c591e2f](https://github.com/liferay/clay/commit/c591e2f))
|
|
413
|
+
|
|
414
|
+
## [3.0.5](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.0.3...@clayui/breadcrumb@3.0.5) (2020-01-20)
|
|
415
|
+
|
|
416
|
+
### Bug Fixes
|
|
417
|
+
|
|
418
|
+
- add missing dependency declarations ([c591e2f](https://github.com/liferay/clay/commit/c591e2f))
|
|
419
|
+
- **drop-down:** use dom-align instead of metal-position ([335ff38](https://github.com/liferay/clay/commit/335ff38))
|
|
420
|
+
|
|
421
|
+
## [3.0.4](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.0.3...@clayui/breadcrumb@3.0.4) (2019-12-05)
|
|
422
|
+
|
|
423
|
+
### Bug Fixes
|
|
424
|
+
|
|
425
|
+
- **drop-down:** use dom-align instead of metal-position ([335ff38](https://github.com/liferay/clay/commit/335ff38))
|
|
426
|
+
|
|
427
|
+
## [3.0.3](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.0.2...@clayui/breadcrumb@3.0.3) (2019-11-07)
|
|
428
|
+
|
|
429
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
430
|
+
|
|
431
|
+
## [3.0.2](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.0.1...@clayui/breadcrumb@3.0.2) (2019-11-01)
|
|
432
|
+
|
|
433
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
|
434
|
+
|
|
435
|
+
## [3.0.1](https://github.com/liferay/clay/tree/master/packages/clay-breadcrumb/compare/@clayui/breadcrumb@3.0.0...@clayui/breadcrumb@3.0.1) (2019-10-28)
|
|
436
|
+
|
|
437
|
+
**Note:** Version bump only for package @clayui/breadcrumb
|
package/lib/Item.d.ts
CHANGED
|
File without changes
|
package/lib/index.d.ts
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clayui/breadcrumb",
|
|
3
|
-
"version": "3.106.
|
|
3
|
+
"version": "3.106.1",
|
|
4
4
|
"description": "ClayBreadcrumb component",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"repository": "https://github.com/liferay/clay",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"react"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@clayui/button": "^3.106.
|
|
29
|
-
"@clayui/icon": "^3.106.
|
|
30
|
-
"@clayui/link": "^3.106.
|
|
28
|
+
"@clayui/button": "^3.106.1",
|
|
29
|
+
"@clayui/icon": "^3.106.1",
|
|
30
|
+
"@clayui/link": "^3.106.1",
|
|
31
31
|
"classnames": "^2.2.6",
|
|
32
32
|
"warning": "^4.0.3"
|
|
33
33
|
},
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"browserslist": [
|
|
40
40
|
"extends browserslist-config-clay"
|
|
41
41
|
],
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "b5345687d03988ed7d2409305d394434b9800b34"
|
|
43
43
|
}
|
package/lib/Ellipsis.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _button = _interopRequireDefault(require("@clayui/button"));
|
|
9
|
-
|
|
10
|
-
var _dropDown = _interopRequireDefault(require("@clayui/drop-down"));
|
|
11
|
-
|
|
12
|
-
var _icon = _interopRequireDefault(require("@clayui/icon"));
|
|
13
|
-
|
|
14
|
-
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
|
-
var _excluded = ["items", "spritemap"];
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
20
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
|
-
|
|
22
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
23
|
-
|
|
24
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
25
|
-
|
|
26
|
-
var Ellipsis = function Ellipsis(_ref) {
|
|
27
|
-
var items = _ref.items,
|
|
28
|
-
spritemap = _ref.spritemap,
|
|
29
|
-
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
30
|
-
|
|
31
|
-
return /*#__PURE__*/_react.default.createElement(_dropDown.default, _extends({
|
|
32
|
-
className: "breadcrumb-item",
|
|
33
|
-
containerElement: "li",
|
|
34
|
-
trigger: /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
35
|
-
className: "breadcrumb-link",
|
|
36
|
-
displayType: "unstyled"
|
|
37
|
-
}, /*#__PURE__*/_react.default.createElement(_icon.default, {
|
|
38
|
-
spritemap: spritemap,
|
|
39
|
-
symbol: "ellipsis-h"
|
|
40
|
-
}), /*#__PURE__*/_react.default.createElement(_icon.default, {
|
|
41
|
-
spritemap: spritemap,
|
|
42
|
-
symbol: "caret-bottom"
|
|
43
|
-
}))
|
|
44
|
-
}, otherProps), /*#__PURE__*/_react.default.createElement(_dropDown.default.ItemList, null, items.map(function (_ref2, i) {
|
|
45
|
-
var href = _ref2.href,
|
|
46
|
-
label = _ref2.label,
|
|
47
|
-
onClick = _ref2.onClick;
|
|
48
|
-
return /*#__PURE__*/_react.default.createElement(_dropDown.default.Item, {
|
|
49
|
-
href: href,
|
|
50
|
-
key: "breadcrumbEllipsisItem".concat(i),
|
|
51
|
-
onClick: onClick,
|
|
52
|
-
title: label
|
|
53
|
-
}, label);
|
|
54
|
-
})));
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
var _default = Ellipsis;
|
|
58
|
-
exports.default = _default;
|
package/lib/Item.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Item.js","names":["_link","_interopRequireDefault","require","_classnames","_react","_excluded","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","Item","_ref","active","href","label","onClick","otherProps","createElement","className","classNames","undefined","event","preventDefault","_default","exports"],"sources":["../src/Item.tsx"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport ClayLink from '@clayui/link';\nimport classNames from 'classnames';\nimport React from 'react';\n\ninterface IItem extends React.HTMLAttributes<HTMLLIElement> {\n\t/**\n\t * Flag to indicate if the Breadcrumb item is active or not.\n\t */\n\tactive?: boolean;\n\n\t/**\n\t * This value is used to be the target of the link.\n\t */\n\thref?: string;\n\n\t/**\n\t * Label of the Breadcrumb item\n\t */\n\tlabel: string;\n\n\t/**\n\t * Callback for when a Breadcrumb item is clicked.\n\t */\n\tonClick?: (event: React.SyntheticEvent) => void;\n}\n\nconst Item = ({active, href, label, onClick, ...otherProps}: IItem) => (\n\t<li\n\t\tclassName={classNames('breadcrumb-item', {\n\t\t\tactive,\n\t\t})}\n\t\t{...otherProps}\n\t>\n\t\t<ClayLink\n\t\t\taria-current={active ? 'page' : undefined}\n\t\t\tclassName=\"breadcrumb-link\"\n\t\t\tdata-testid={`testId${label}`}\n\t\t\thref={active ? '#' : href}\n\t\t\tonClick={(event) => {\n\t\t\t\tif (onClick) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tonClick(event);\n\t\t\t\t}\n\t\t\t}}\n\t\t>\n\t\t\t{label}\n\t\t</ClayLink>\n\t</li>\n);\n\nexport default Item;\n"],"mappings":";;;;;;AAKA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA0B,IAAAG,SAAA;AAP1B;AACA;AACA;AACA;AAHA,SAAAJ,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC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AG,SAAPA,IAAIA,CAAAC,IAAA;EAAA,IAAKC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAEC,IAAI,GAAAF,IAAA,CAAJE,IAAI;IAAEC,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAEC,QAAO,GAAAJ,IAAA,CAAPI,OAAO;IAAKC,UAAU,GAAAf,wBAAA,CAAAU,IAAA,EAAA5B,SAAA;EAAA,oBACzDD,MAAA,CAAAI,OAAA,CAAA+B,aAAA,OAAA9B,QAAA;IACC+B,SAAS,EAAE,IAAAC,mBAAU,EAAC,iBAAiB,EAAE;MACxCP,MAAM,EAANA;IACD,CAAC;EAAE,GACCI,UAAU,gBAEdlC,MAAA,CAAAI,OAAA,CAAA+B,aAAA,CAACvC,KAAA,CAAAQ,OAAQ;IACR,gBAAc0B,MAAM,GAAG,MAAM,GAAGQ,SAAU;IAC1CF,SAAS,EAAC,iBAAiB;IAE3BL,IAAI,EAAED,MAAM,GAAG,GAAG,GAAGC,IAAK;IAC1BE,OAAO,EAAE,SAAAA,QAACM,KAAK,EAAK;MACnB,IAAIN,QAAO,EAAE;QACZM,KAAK,CAACC,cAAc,CAAC,CAAC;QACtBP,QAAO,CAACM,KAAK,CAAC;MACf;IACD;EAAE,GAEDP,KACQ,CACP,CAAC;AAAA,CACL;AAAC,IAAAS,QAAA,GAEab,IAAI;AAAAc,OAAA,CAAAtC,OAAA,GAAAqC,QAAA"}
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_button","require","_classnames","_interopRequireDefault","_react","_interopRequireWildcard","_warning","_Item","_excluded","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","arr2","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","return","isArray","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","findActiveItems","items","filter","item","active","ClayBreadcrumb","_ref","_ref$ariaLabels","ariaLabels","breadcrumb","close","open","_ref$ellipsisBuffer","ellipsisBuffer","_ref$ellipsisProps","ellipsisProps","className","spritemap","otherProps","warning","_useState","useState","_useState2","collapsed","setCollapsed","createElement","ClayButtonWithIcon","displayType","onClick","size","symbol","title","classNames","Items","_ref2","Fragment","map","React","isValidElement","cloneElement","concat","href","label","_default","exports"],"sources":["../src/index.tsx"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {ClayButtonWithIcon} from '@clayui/button';\nimport classNames from 'classnames';\nimport React, {useState} from 'react';\nimport warning from 'warning';\n\nimport Item from './Item';\n\ntype TItem = React.ComponentProps<typeof Item>;\ntype TItems = Array<TItem>;\n\ninterface IProps extends React.HTMLAttributes<HTMLOListElement> {\n\t/**\n\t * Defines the aria label of component elements.\n\t */\n\tariaLabels?: {\n\t\tbreadcrumb: string;\n\t\topen: string;\n\t\tclose: string;\n\t};\n\n\t/**\n\t * The number of Breadcrumb Items to show on each side of the active Breadcrumb Item before\n\t * using an ellipsis dropdown.\n\t * @deprecated since v3.91.0 - It is no longer necessary.\n\t */\n\tellipsisBuffer?: number;\n\n\t/**\n\t * Use this property for defining `otherProps` that will be passed to ellipsis dropdown trigger.\n\t * @deprecated since v3.91.0 - It is no longer necessary.\n\t */\n\tellipsisProps?: Object;\n\n\t/**\n\t * Property to define Breadcrumb's items.\n\t */\n\titems: TItems;\n\n\t/**\n\t * Path to the location of the spritemap resource.\n\t */\n\tspritemap?: string;\n}\n\nconst findActiveItems = (items: TItems) => {\n\treturn items.filter((item) => {\n\t\treturn item.active;\n\t});\n};\n\nconst ClayBreadcrumb = ({\n\tariaLabels = {\n\t\tbreadcrumb: 'Breadcrumb',\n\t\tclose: 'Partially nest breadcrumbs',\n\t\topen: 'See full nested',\n\t},\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tellipsisBuffer = 1,\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tellipsisProps = {},\n\tclassName,\n\titems,\n\tspritemap,\n\t...otherProps\n}: IProps) => {\n\twarning(\n\t\tfindActiveItems(items).length === 1,\n\t\t'ClayBreadcrumb expects at least one `active` item on `items`.'\n\t);\n\n\tconst [collapsed, setCollapsed] = useState(false);\n\n\treturn (\n\t\t<nav\n\t\t\taria-label={ariaLabels.breadcrumb}\n\t\t\tclassName=\"align-items-center d-flex\"\n\t\t>\n\t\t\t{items.length > 3 && (\n\t\t\t\t<ClayButtonWithIcon\n\t\t\t\t\taria-expanded={collapsed}\n\t\t\t\t\taria-label={collapsed ? ariaLabels.close : ariaLabels.open}\n\t\t\t\t\tclassName=\"breadcrumb-toggle\"\n\t\t\t\t\tdisplayType={null}\n\t\t\t\t\tonClick={() => setCollapsed(!collapsed)}\n\t\t\t\t\tsize=\"xs\"\n\t\t\t\t\tspritemap={spritemap}\n\t\t\t\t\tsymbol={\n\t\t\t\t\t\tcollapsed ? 'angle-double-left' : 'angle-double-right'\n\t\t\t\t\t}\n\t\t\t\t\ttitle={collapsed ? ariaLabels.close : ariaLabels.open}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<ol {...otherProps} className={classNames('breadcrumb', className)}>\n\t\t\t\t{items.length > 3 && !collapsed ? (\n\t\t\t\t\t<Items\n\t\t\t\t\t\titems={[\n\t\t\t\t\t\t\titems[items.length - 2]!,\n\t\t\t\t\t\t\titems[items.length - 1]!,\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\t\t\t\t) : (\n\t\t\t\t\t<Items items={items} />\n\t\t\t\t)}\n\t\t\t</ol>\n\t\t</nav>\n\t);\n};\n\ntype ItemsProps = {\n\titems: TItems;\n};\n\nfunction Items({items}: ItemsProps) {\n\treturn (\n\t\t<>\n\t\t\t{items.map((item: TItem | React.ReactNode, i: number) =>\n\t\t\t\tReact.isValidElement(item) ? (\n\t\t\t\t\tReact.cloneElement(item, {key: `ellipsis${i}`})\n\t\t\t\t) : (\n\t\t\t\t\t<Item\n\t\t\t\t\t\tactive={(item as TItem).active}\n\t\t\t\t\t\thref={(item as TItem).href}\n\t\t\t\t\t\tkey={`breadcrumbItem${i}`}\n\t\t\t\t\t\tlabel={(item as TItem).label}\n\t\t\t\t\t\tonClick={(item as TItem).onClick}\n\t\t\t\t\t/>\n\t\t\t\t)\n\t\t\t)}\n\t\t</>\n\t);\n}\n\nexport default ClayBreadcrumb;\n"],"mappings":";;;;;;;AAKA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,uBAAA,CAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAH,sBAAA,CAAAF,OAAA;AAEA,IAAAM,KAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAA0B,IAAAO,SAAA;AAV1B;AACA;AACA;AACA;AAHA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAL,wBAAAS,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAE,OAAA,CAAAF,GAAA,yBAAAA,GAAA,4BAAAG,OAAA,EAAAH,GAAA,UAAAI,KAAA,GAAAT,wBAAA,CAAA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