@wallarm-org/design-system 2.1.1 → 2.1.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.
|
@@ -14,7 +14,7 @@ const CLEAR_KEYS = new Set([
|
|
|
14
14
|
"Delete"
|
|
15
15
|
]);
|
|
16
16
|
const FilterCascadeTrigger = (t0)=>{
|
|
17
|
-
const $ = c(
|
|
17
|
+
const $ = c(68);
|
|
18
18
|
let ariaLabel;
|
|
19
19
|
let children;
|
|
20
20
|
let className;
|
|
@@ -79,6 +79,7 @@ const FilterCascadeTrigger = (t0)=>{
|
|
|
79
79
|
$[16] = api;
|
|
80
80
|
$[17] = t4;
|
|
81
81
|
} else t4 = $[17];
|
|
82
|
+
const controlProps = t4;
|
|
82
83
|
let t5;
|
|
83
84
|
if ($[18] !== isSet) {
|
|
84
85
|
t5 = cn(filterDropdownControlVariants({
|
|
@@ -216,9 +217,9 @@ const FilterCascadeTrigger = (t0)=>{
|
|
|
216
217
|
$[50] = t16;
|
|
217
218
|
} else t16 = $[50];
|
|
218
219
|
let t17;
|
|
219
|
-
if ($[51] !==
|
|
220
|
+
if ($[51] !== controlProps || $[52] !== controlTestId || $[53] !== t15 || $[54] !== t16 || $[55] !== t5) {
|
|
220
221
|
t17 = /*#__PURE__*/ jsxs("div", {
|
|
221
|
-
...
|
|
222
|
+
...controlProps,
|
|
222
223
|
"data-slot": "filter-cascade-control",
|
|
223
224
|
"data-testid": controlTestId,
|
|
224
225
|
className: t5,
|
|
@@ -227,50 +228,60 @@ const FilterCascadeTrigger = (t0)=>{
|
|
|
227
228
|
t16
|
|
228
229
|
]
|
|
229
230
|
});
|
|
230
|
-
$[51] =
|
|
231
|
-
$[52] =
|
|
232
|
-
$[53] =
|
|
233
|
-
$[54] =
|
|
231
|
+
$[51] = controlProps;
|
|
232
|
+
$[52] = controlTestId;
|
|
233
|
+
$[53] = t15;
|
|
234
|
+
$[54] = t16;
|
|
234
235
|
$[55] = t5;
|
|
235
236
|
$[56] = t17;
|
|
236
237
|
} else t17 = $[56];
|
|
237
238
|
const control = t17;
|
|
238
239
|
if (!isSet) return control;
|
|
239
240
|
let t18;
|
|
240
|
-
if ($[57] !==
|
|
241
|
-
t18 =
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
$[57] = control;
|
|
241
|
+
if ($[57] !== controlProps.id) {
|
|
242
|
+
t18 = {
|
|
243
|
+
trigger: controlProps.id
|
|
244
|
+
};
|
|
245
|
+
$[57] = controlProps.id;
|
|
246
246
|
$[58] = t18;
|
|
247
247
|
} else t18 = $[58];
|
|
248
248
|
let t19;
|
|
249
|
-
if ($[59] !==
|
|
250
|
-
t19 = /*#__PURE__*/
|
|
249
|
+
if ($[59] !== control) {
|
|
250
|
+
t19 = /*#__PURE__*/ jsx(TooltipTrigger, {
|
|
251
|
+
asChild: true,
|
|
252
|
+
children: control
|
|
253
|
+
});
|
|
254
|
+
$[59] = control;
|
|
255
|
+
$[60] = t19;
|
|
256
|
+
} else t19 = $[60];
|
|
257
|
+
let t20;
|
|
258
|
+
if ($[61] !== fullPath || $[62] !== label) {
|
|
259
|
+
t20 = /*#__PURE__*/ jsxs(TooltipContent, {
|
|
251
260
|
children: [
|
|
252
261
|
label,
|
|
253
262
|
" — ",
|
|
254
263
|
fullPath
|
|
255
264
|
]
|
|
256
265
|
});
|
|
257
|
-
$[
|
|
258
|
-
$[
|
|
259
|
-
$[
|
|
260
|
-
} else
|
|
261
|
-
let
|
|
262
|
-
if ($[
|
|
263
|
-
|
|
266
|
+
$[61] = fullPath;
|
|
267
|
+
$[62] = label;
|
|
268
|
+
$[63] = t20;
|
|
269
|
+
} else t20 = $[63];
|
|
270
|
+
let t21;
|
|
271
|
+
if ($[64] !== t18 || $[65] !== t19 || $[66] !== t20) {
|
|
272
|
+
t21 = /*#__PURE__*/ jsxs(Tooltip, {
|
|
273
|
+
ids: t18,
|
|
264
274
|
children: [
|
|
265
|
-
|
|
266
|
-
|
|
275
|
+
t19,
|
|
276
|
+
t20
|
|
267
277
|
]
|
|
268
278
|
});
|
|
269
|
-
$[
|
|
270
|
-
$[
|
|
271
|
-
$[
|
|
272
|
-
|
|
273
|
-
|
|
279
|
+
$[64] = t18;
|
|
280
|
+
$[65] = t19;
|
|
281
|
+
$[66] = t20;
|
|
282
|
+
$[67] = t21;
|
|
283
|
+
} else t21 = $[67];
|
|
284
|
+
return t21;
|
|
274
285
|
};
|
|
275
286
|
FilterCascadeTrigger.displayName = "FilterCascadeTrigger";
|
|
276
287
|
function _temp(node) {
|