@wallarm-org/design-system 2.1.1 → 2.1.2-rc-fix-filter-cascade-tooltip.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.
@@ -14,7 +14,7 @@ const CLEAR_KEYS = new Set([
14
14
  "Delete"
15
15
  ]);
16
16
  const FilterCascadeTrigger = (t0)=>{
17
- const $ = c(65);
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] !== controlTestId || $[52] !== t15 || $[53] !== t16 || $[54] !== t4 || $[55] !== t5) {
220
+ if ($[51] !== controlProps || $[52] !== controlTestId || $[53] !== t15 || $[54] !== t16 || $[55] !== t5) {
220
221
  t17 = /*#__PURE__*/ jsxs("div", {
221
- ...t4,
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] = controlTestId;
231
- $[52] = t15;
232
- $[53] = t16;
233
- $[54] = t4;
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] !== control) {
241
- t18 = /*#__PURE__*/ jsx(TooltipTrigger, {
242
- asChild: true,
243
- children: control
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] !== fullPath || $[60] !== label) {
250
- t19 = /*#__PURE__*/ jsxs(TooltipContent, {
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
- $[59] = fullPath;
258
- $[60] = label;
259
- $[61] = t19;
260
- } else t19 = $[61];
261
- let t20;
262
- if ($[62] !== t18 || $[63] !== t19) {
263
- t20 = /*#__PURE__*/ jsxs(Tooltip, {
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
- t18,
266
- t19
275
+ t19,
276
+ t20
267
277
  ]
268
278
  });
269
- $[62] = t18;
270
- $[63] = t19;
271
- $[64] = t20;
272
- } else t20 = $[64];
273
- return t20;
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) {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "2.1.0",
3
- "generatedAt": "2026-10-07T16:30:13.387Z",
2
+ "version": "2.1.1",
3
+ "generatedAt": "2026-10-08T07:30:13.430Z",
4
4
  "components": [
5
5
  {
6
6
  "name": "Accordion",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wallarm-org/design-system",
3
- "version": "2.1.1",
3
+ "version": "2.1.2-rc-fix-filter-cascade-tooltip.1",
4
4
  "description": "Core design system library with React components and Storybook documentation",
5
5
  "publishConfig": {
6
6
  "access": "public",