@banyan_cloud/roots 2.0.65 → 2.0.67

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 (123) hide show
  1. package/dist/cjs/index.js +485 -231
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/v2/index.js +2990 -401
  4. package/dist/cjs/v2/index.js.map +1 -1
  5. package/dist/esm/components/buttons/baseButton/types/index.d.ts +1 -1
  6. package/dist/esm/components/buttons/button/types/index.d.ts +2 -4
  7. package/dist/esm/components/charts/heatMapChart/HeatMapChartData.d.ts +531 -0
  8. package/dist/esm/components/datePicker/Story/DatePickerDoc.d.ts +2 -0
  9. package/dist/esm/components/docs/icons/index.d.ts +6 -0
  10. package/dist/esm/components/docs/index.d.ts +2 -0
  11. package/dist/esm/components/docs/linkHeader/LinkHeader.d.ts +5 -0
  12. package/dist/esm/components/docs/propsTable/PropsTable.d.ts +5 -0
  13. package/dist/esm/components/input/checkbox/types/index.d.ts +1 -1
  14. package/dist/esm/components/input/dropdown/Dropdown.d.ts +1 -1
  15. package/dist/esm/components/input/radio/Radio.d.ts +1 -0
  16. package/dist/esm/components/input/textField/TextField.d.ts +2 -6
  17. package/dist/esm/components/table/table/tableFilters/TableFilters.d.ts +1 -1
  18. package/dist/esm/components/tooltip/types/index.d.ts +1 -1
  19. package/dist/esm/components/v2/accordion/Story/AccordionDoc.d.ts +2 -0
  20. package/dist/esm/components/v2/alert/Story/AlertDoc.d.ts +2 -0
  21. package/dist/esm/components/v2/badges/Badge.d.ts +3 -0
  22. package/dist/esm/components/v2/badges/Story/BadgeDoc.d.ts +2 -0
  23. package/dist/esm/components/v2/badges/assets/ArrowLeftIcon.d.ts +8 -0
  24. package/dist/esm/components/v2/badges/assets/ArrowRightIcon.d.ts +8 -0
  25. package/dist/esm/components/v2/badges/assets/ArrowUpIcon.d.ts +8 -0
  26. package/dist/esm/components/v2/badges/assets/CrossIcon/CrossCricleIcon.d.ts +9 -0
  27. package/dist/esm/components/v2/badges/assets/CrossIcon/CrossFilledIcon.d.ts +10 -0
  28. package/dist/esm/components/v2/badges/assets/CrossIcon/CrossIcon.d.ts +8 -0
  29. package/dist/esm/components/v2/badges/assets/DotIcon.d.ts +8 -0
  30. package/dist/esm/components/v2/badges/assets/PlusIcon.d.ts +8 -0
  31. package/dist/esm/components/v2/badges/constants/index.d.ts +3 -0
  32. package/dist/esm/components/v2/badges/types/index.d.ts +19 -0
  33. package/dist/esm/components/v2/breadcrumbs/Breadcrumbs.d.ts +4 -0
  34. package/dist/esm/components/v2/breadcrumbs/InteractiveBreadcrumbs.d.ts +7 -0
  35. package/dist/esm/components/v2/breadcrumbs/Story/BreadcrumbDoc.d.ts +2 -0
  36. package/dist/esm/components/v2/breadcrumbs/assets/breadcrumbsArrow.d.ts +10 -0
  37. package/dist/esm/components/v2/breadcrumbs/assets/breadcrumbsHome.d.ts +10 -0
  38. package/dist/esm/components/v2/breadcrumbs/assets/breadcrumbsSplash.d.ts +10 -0
  39. package/dist/esm/components/v2/breadcrumbs/index.d.ts +2 -0
  40. package/dist/esm/components/v2/breadcrumbs/types/index.d.ts +30 -0
  41. package/dist/esm/components/v2/buttons/baseButton/Story/BaseButtonDoc.d.ts +2 -0
  42. package/dist/esm/components/v2/buttons/baseButton/types/index.d.ts +2 -2
  43. package/dist/esm/components/v2/buttons/button/Story/ButtonDoc.d.ts +2 -0
  44. package/dist/esm/components/v2/buttons/button/types/index.d.ts +4 -4
  45. package/dist/esm/components/v2/cell/Story/BaseCellDoc.d.ts +2 -0
  46. package/dist/esm/components/v2/checkbox/Story/CheckboxDoc.d.ts +2 -0
  47. package/dist/esm/components/v2/icons/chevron-down/ChevronDownIcon.d.ts +4 -0
  48. package/dist/esm/components/v2/icons/chevron-down/index.d.ts +1 -0
  49. package/dist/esm/components/v2/icons/error/Error.d.ts +1 -0
  50. package/dist/esm/components/v2/icons/help/Help.d.ts +8 -0
  51. package/dist/esm/components/v2/icons/help/index.d.ts +1 -0
  52. package/dist/esm/components/v2/icons/index.d.ts +5 -2
  53. package/dist/esm/components/v2/icons/search/Search.d.ts +5 -0
  54. package/dist/esm/components/v2/icons/search/index.d.ts +1 -0
  55. package/dist/esm/components/v2/icons/warning/Warning.d.ts +1 -0
  56. package/dist/esm/components/v2/index.d.ts +2 -0
  57. package/dist/esm/components/v2/inlineLoader/InlineLoader.d.ts +2 -0
  58. package/dist/esm/components/v2/inlineLoader/Story/InlineLoaderDoc.d.ts +2 -0
  59. package/dist/esm/components/v2/inlineLoader/index.d.ts +1 -0
  60. package/dist/esm/components/v2/inlineLoader/types/index.d.ts +14 -0
  61. package/dist/esm/components/v2/input/dropdown/Dropdown.d.ts +4 -0
  62. package/dist/esm/components/v2/input/dropdown/Story/DropdownDoc.d.ts +2 -0
  63. package/dist/esm/components/v2/input/dropdown/index.d.ts +2 -0
  64. package/dist/esm/components/v2/input/dropdown/types/index.d.ts +66 -0
  65. package/dist/esm/components/v2/input/index.d.ts +2 -0
  66. package/dist/esm/components/v2/input/radio/Story/RadioDoc.d.ts +2 -0
  67. package/dist/esm/components/v2/input/textfield/Story/TextFieldDoc.d.ts +2 -0
  68. package/dist/esm/components/v2/input/textfield/TextField.d.ts +4 -0
  69. package/dist/esm/components/v2/input/textfield/index.d.ts +2 -0
  70. package/dist/esm/components/v2/input/textfield/types/index.d.ts +55 -0
  71. package/dist/esm/components/v2/input/toggle/Story/ToggleDoc.d.ts +2 -0
  72. package/dist/esm/components/v2/input/toggle/Toggle.d.ts +1 -11
  73. package/dist/esm/components/v2/input/toggle/types/index.d.ts +12 -0
  74. package/dist/esm/components/v2/link/Link.d.ts +1 -2
  75. package/dist/esm/components/v2/link/Story/LinkDoc.d.ts +2 -0
  76. package/dist/esm/components/v2/link/types/index.d.ts +4 -1
  77. package/dist/esm/components/v2/modal/Story/BaseModalDoc.d.ts +2 -0
  78. package/dist/esm/components/v2/modal/dialogBox/Story/DialogDoc.d.ts +2 -0
  79. package/dist/esm/components/v2/pagination/Pagination.d.ts +7 -39
  80. package/dist/esm/components/v2/pagination/Story/PaginationDoc.d.ts +2 -0
  81. package/dist/esm/components/v2/pagination/types/index.d.ts +39 -0
  82. package/dist/esm/components/v2/skeleton/Skeleton.d.ts +1 -10
  83. package/dist/esm/components/v2/skeleton/Story/SkeletonDoc.d.ts +2 -0
  84. package/dist/esm/components/v2/skeleton/index.d.ts +1 -1
  85. package/dist/esm/components/v2/skeleton/types/index.d.ts +12 -0
  86. package/dist/esm/components/v2/stepper/Story/StepperDocs.d.ts +2 -0
  87. package/dist/esm/components/v2/table/baseTable/Story/BaseTableDoc.d.ts +2 -0
  88. package/dist/esm/components/v2/table/body/Story/TableBodyDoc.d.ts +2 -0
  89. package/dist/esm/components/v2/table/body/TableBody.d.ts +1 -11
  90. package/dist/esm/components/v2/table/body/types/index.d.ts +28 -0
  91. package/dist/esm/components/v2/table/cell/Story/CellDoc.d.ts +2 -0
  92. package/dist/esm/components/v2/table/header/Story/TableHeaderDoc.d.ts +2 -0
  93. package/dist/esm/components/v2/table/row/Story/RowDoc.d.ts +2 -0
  94. package/dist/esm/components/v2/table/table/Story/TableDoc.d.ts +2 -0
  95. package/dist/esm/components/v2/tabs/Story/TabsDoc.d.ts +2 -0
  96. package/dist/esm/components/v2/tags/Story/TagsDoc.d.ts +2 -0
  97. package/dist/esm/components/v2/tags/Tags.d.ts +4 -0
  98. package/dist/esm/components/v2/tags/assets/Indicator/Indicator.d.ts +4 -0
  99. package/dist/esm/components/v2/tags/assets/Indicator/types/index.d.ts +10 -0
  100. package/dist/esm/components/v2/tags/assets/TagCloser/TagCloserLg.d.ts +7 -0
  101. package/dist/esm/components/v2/tags/assets/TagCloser/TagCloserMd.d.ts +7 -0
  102. package/dist/esm/components/v2/tags/assets/TagCloser/TagCloserSm.d.ts +7 -0
  103. package/dist/esm/components/v2/tags/assets/TagCount/TagCountLg.d.ts +8 -0
  104. package/dist/esm/components/v2/tags/assets/TagCount/TagCountMd.d.ts +8 -0
  105. package/dist/esm/components/v2/tags/assets/TagCount/TagCountSm.d.ts +8 -0
  106. package/dist/esm/components/v2/tags/types/index.d.ts +31 -0
  107. package/dist/esm/components/v2/text/Story/TextDoc.d.ts +2 -0
  108. package/dist/esm/components/v2/tooltip/Story/TooltipDoc.d.ts +2 -0
  109. package/dist/esm/components/v2/tooltip/Tooltip.d.ts +3 -0
  110. package/dist/esm/components/v2/tooltip/index.d.ts +1 -0
  111. package/dist/esm/components/v2/tooltip/types/index.d.ts +42 -0
  112. package/dist/esm/components/widget/BaseWidgetStoriesData.d.ts +54 -0
  113. package/dist/esm/index.js +485 -231
  114. package/dist/esm/index.js.map +1 -1
  115. package/dist/esm/v2/index.js +2983 -401
  116. package/dist/esm/v2/index.js.map +1 -1
  117. package/package.json +28 -28
  118. package/src/styles/_responsive.scss +1 -1
  119. package/src/styles/main.css +0 -24
  120. package/dist/esm/components/v2/checkbox/types/Types.d.ts +0 -20
  121. package/src/styles/style-system/ComponentsFormat.stories.mdx +0 -30
  122. package/src/styles/style-system/Design.stories.mdx +0 -19
  123. package/src/styles/style-system/Style.stories.mdx +0 -110
package/dist/esm/index.js CHANGED
@@ -5367,18 +5367,27 @@ var Copy = function Copy(props) {
5367
5367
  width = props.width,
5368
5368
  height = props.height,
5369
5369
  color = props.color;
5370
- return jsx("svg", {
5371
- width: width !== null && width !== void 0 ? width : '1.5rem',
5372
- height: height !== null && height !== void 0 ? height : '1.5rem',
5373
- fill: color !== null && color !== void 0 ? color : 'black',
5370
+ return jsxs("svg", {
5371
+ width: width !== null && width !== void 0 ? width : '20',
5372
+ height: height !== null && height !== void 0 ? height : '20',
5374
5373
  className: className,
5375
- viewBox: '0 0 16 17',
5374
+ viewBox: '0 0 20 20',
5375
+ fill: 'none',
5376
5376
  xmlns: 'http://www.w3.org/2000/svg',
5377
- children: jsx("path", {
5378
- fillRule: 'evenodd',
5379
- clipRule: 'evenodd',
5380
- d: 'M2 9.5H1V2.5C1 1.94772 1.44772 1.5 2 1.5H9V2.5H2V9.5ZM14 5.5V14.5H5V5.5H14ZM5 4.5H14C14.5523 4.5 15 4.94772 15 5.5V14.5C15 15.0523 14.5523 15.5 14 15.5H5C4.44772 15.5 4 15.0523 4 14.5V5.5C4 4.94772 4.44772 4.5 5 4.5Z'
5381
- })
5377
+ children: [jsx("path", {
5378
+ d: 'M12.4997 5.41667V4.5C12.4997 3.39543 11.6042 2.5 10.4997 2.5H5.33301C4.22844 2.5 3.33301 3.39543 3.33301 4.5V10.5C3.33301 11.6046 4.22844 12.5 5.33301 12.5H5.41634',
5379
+ stroke: color !== null && color !== void 0 ? color : '#A4A7AE',
5380
+ "stroke-width": '1.67',
5381
+ "stroke-linecap": 'round'
5382
+ }), jsx("rect", {
5383
+ x: '7.5',
5384
+ y: '7.5',
5385
+ width: '9.16667',
5386
+ height: '10',
5387
+ rx: '2',
5388
+ stroke: color !== null && color !== void 0 ? color : '#A4A7AE',
5389
+ "stroke-width": '1.67'
5390
+ })]
5382
5391
  });
5383
5392
  };
5384
5393
 
@@ -6120,6 +6129,7 @@ function Accordion(props) {
6120
6129
  }), children, onExpand && jsx(Button, {
6121
6130
  size: 'auto',
6122
6131
  variant: 'text',
6132
+ dataTestId: 'accordion-expand-btn-test',
6123
6133
  onClick: function onClick() {
6124
6134
  onExpand();
6125
6135
  },
@@ -6150,10 +6160,6 @@ const oppositeSideMap = {
6150
6160
  bottom: 'top',
6151
6161
  top: 'bottom'
6152
6162
  };
6153
- const oppositeAlignmentMap = {
6154
- start: 'end',
6155
- end: 'start'
6156
- };
6157
6163
  function clamp(start, value, end) {
6158
6164
  return max(start, min(value, end));
6159
6165
  }
@@ -6172,9 +6178,9 @@ function getOppositeAxis(axis) {
6172
6178
  function getAxisLength(axis) {
6173
6179
  return axis === 'y' ? 'height' : 'width';
6174
6180
  }
6175
- const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
6176
6181
  function getSideAxis(placement) {
6177
- return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
6182
+ const firstChar = placement[0];
6183
+ return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
6178
6184
  }
6179
6185
  function getAlignmentAxis(placement) {
6180
6186
  return getOppositeAxis(getSideAxis(placement));
@@ -6197,7 +6203,7 @@ function getExpandedPlacements(placement) {
6197
6203
  return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
6198
6204
  }
6199
6205
  function getOppositeAlignmentPlacement(placement) {
6200
- return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
6206
+ return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
6201
6207
  }
6202
6208
  const lrPlacement = ['left', 'right'];
6203
6209
  const rlPlacement = ['right', 'left'];
@@ -6228,7 +6234,8 @@ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
6228
6234
  return list;
6229
6235
  }
6230
6236
  function getOppositePlacement(placement) {
6231
- return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
6237
+ const side = getSide(placement);
6238
+ return oppositeSideMap[side] + placement.slice(side.length);
6232
6239
  }
6233
6240
  function expandPaddingObject(padding) {
6234
6241
  return {
@@ -6322,6 +6329,74 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
6322
6329
  return coords;
6323
6330
  }
6324
6331
 
6332
+ /**
6333
+ * Resolves with an object of overflow side offsets that determine how much the
6334
+ * element is overflowing a given clipping boundary on each side.
6335
+ * - positive = overflowing the boundary by that number of pixels
6336
+ * - negative = how many pixels left before it will overflow
6337
+ * - 0 = lies flush with the boundary
6338
+ * @see https://floating-ui.com/docs/detectOverflow
6339
+ */
6340
+ async function detectOverflow(state, options) {
6341
+ var _await$platform$isEle;
6342
+ if (options === void 0) {
6343
+ options = {};
6344
+ }
6345
+ const {
6346
+ x,
6347
+ y,
6348
+ platform,
6349
+ rects,
6350
+ elements,
6351
+ strategy
6352
+ } = state;
6353
+ const {
6354
+ boundary = 'clippingAncestors',
6355
+ rootBoundary = 'viewport',
6356
+ elementContext = 'floating',
6357
+ altBoundary = false,
6358
+ padding = 0
6359
+ } = evaluate(options, state);
6360
+ const paddingObject = getPaddingObject(padding);
6361
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
6362
+ const element = elements[altBoundary ? altContext : elementContext];
6363
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
6364
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
6365
+ boundary,
6366
+ rootBoundary,
6367
+ strategy
6368
+ }));
6369
+ const rect = elementContext === 'floating' ? {
6370
+ x,
6371
+ y,
6372
+ width: rects.floating.width,
6373
+ height: rects.floating.height
6374
+ } : rects.reference;
6375
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
6376
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
6377
+ x: 1,
6378
+ y: 1
6379
+ } : {
6380
+ x: 1,
6381
+ y: 1
6382
+ };
6383
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
6384
+ elements,
6385
+ rect,
6386
+ offsetParent,
6387
+ strategy
6388
+ }) : rect);
6389
+ return {
6390
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
6391
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
6392
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
6393
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
6394
+ };
6395
+ }
6396
+
6397
+ // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
6398
+ const MAX_RESET_COUNT = 50;
6399
+
6325
6400
  /**
6326
6401
  * Computes the `x` and `y` coordinates that will place the floating element
6327
6402
  * next to a given reference element.
@@ -6336,7 +6411,10 @@ const computePosition$1 = async (reference, floating, config) => {
6336
6411
  middleware = [],
6337
6412
  platform
6338
6413
  } = config;
6339
- const validMiddleware = middleware.filter(Boolean);
6414
+ const platformWithDetectOverflow = platform.detectOverflow ? platform : {
6415
+ ...platform,
6416
+ detectOverflow
6417
+ };
6340
6418
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
6341
6419
  let rects = await platform.getElementRects({
6342
6420
  reference,
@@ -6348,13 +6426,17 @@ const computePosition$1 = async (reference, floating, config) => {
6348
6426
  y
6349
6427
  } = computeCoordsFromPlacement(rects, placement, rtl);
6350
6428
  let statefulPlacement = placement;
6351
- let middlewareData = {};
6352
6429
  let resetCount = 0;
6353
- for (let i = 0; i < validMiddleware.length; i++) {
6430
+ const middlewareData = {};
6431
+ for (let i = 0; i < middleware.length; i++) {
6432
+ const currentMiddleware = middleware[i];
6433
+ if (!currentMiddleware) {
6434
+ continue;
6435
+ }
6354
6436
  const {
6355
6437
  name,
6356
6438
  fn
6357
- } = validMiddleware[i];
6439
+ } = currentMiddleware;
6358
6440
  const {
6359
6441
  x: nextX,
6360
6442
  y: nextY,
@@ -6368,7 +6450,7 @@ const computePosition$1 = async (reference, floating, config) => {
6368
6450
  strategy,
6369
6451
  middlewareData,
6370
6452
  rects,
6371
- platform,
6453
+ platform: platformWithDetectOverflow,
6372
6454
  elements: {
6373
6455
  reference,
6374
6456
  floating
@@ -6376,14 +6458,11 @@ const computePosition$1 = async (reference, floating, config) => {
6376
6458
  });
6377
6459
  x = nextX != null ? nextX : x;
6378
6460
  y = nextY != null ? nextY : y;
6379
- middlewareData = {
6380
- ...middlewareData,
6381
- [name]: {
6382
- ...middlewareData[name],
6383
- ...data
6384
- }
6461
+ middlewareData[name] = {
6462
+ ...middlewareData[name],
6463
+ ...data
6385
6464
  };
6386
- if (reset && resetCount <= 50) {
6465
+ if (reset && resetCount < MAX_RESET_COUNT) {
6387
6466
  resetCount++;
6388
6467
  if (typeof reset === 'object') {
6389
6468
  if (reset.placement) {
@@ -6413,71 +6492,6 @@ const computePosition$1 = async (reference, floating, config) => {
6413
6492
  };
6414
6493
  };
6415
6494
 
6416
- /**
6417
- * Resolves with an object of overflow side offsets that determine how much the
6418
- * element is overflowing a given clipping boundary on each side.
6419
- * - positive = overflowing the boundary by that number of pixels
6420
- * - negative = how many pixels left before it will overflow
6421
- * - 0 = lies flush with the boundary
6422
- * @see https://floating-ui.com/docs/detectOverflow
6423
- */
6424
- async function detectOverflow(state, options) {
6425
- var _await$platform$isEle;
6426
- if (options === void 0) {
6427
- options = {};
6428
- }
6429
- const {
6430
- x,
6431
- y,
6432
- platform,
6433
- rects,
6434
- elements,
6435
- strategy
6436
- } = state;
6437
- const {
6438
- boundary = 'clippingAncestors',
6439
- rootBoundary = 'viewport',
6440
- elementContext = 'floating',
6441
- altBoundary = false,
6442
- padding = 0
6443
- } = evaluate(options, state);
6444
- const paddingObject = getPaddingObject(padding);
6445
- const altContext = elementContext === 'floating' ? 'reference' : 'floating';
6446
- const element = elements[altBoundary ? altContext : elementContext];
6447
- const clippingClientRect = rectToClientRect(await platform.getClippingRect({
6448
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
6449
- boundary,
6450
- rootBoundary,
6451
- strategy
6452
- }));
6453
- const rect = elementContext === 'floating' ? {
6454
- x,
6455
- y,
6456
- width: rects.floating.width,
6457
- height: rects.floating.height
6458
- } : rects.reference;
6459
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
6460
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
6461
- x: 1,
6462
- y: 1
6463
- } : {
6464
- x: 1,
6465
- y: 1
6466
- };
6467
- const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
6468
- elements,
6469
- rect,
6470
- offsetParent,
6471
- strategy
6472
- }) : rect);
6473
- return {
6474
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
6475
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
6476
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
6477
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
6478
- };
6479
- }
6480
-
6481
6495
  /**
6482
6496
  * Provides data to position an inner element of the floating element so that it
6483
6497
  * appears centered to the reference element.
@@ -6610,7 +6624,7 @@ const flip$1 = function (options) {
6610
6624
  fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
6611
6625
  }
6612
6626
  const placements = [initialPlacement, ...fallbackPlacements];
6613
- const overflow = await detectOverflow(state, detectOverflowOptions);
6627
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
6614
6628
  const overflows = [];
6615
6629
  let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
6616
6630
  if (checkMainAxis) {
@@ -6794,7 +6808,8 @@ const shift$1 = function (options) {
6794
6808
  const {
6795
6809
  x,
6796
6810
  y,
6797
- placement
6811
+ placement,
6812
+ platform
6798
6813
  } = state;
6799
6814
  const {
6800
6815
  mainAxis: checkMainAxis = true,
@@ -6817,7 +6832,7 @@ const shift$1 = function (options) {
6817
6832
  x,
6818
6833
  y
6819
6834
  };
6820
- const overflow = await detectOverflow(state, detectOverflowOptions);
6835
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
6821
6836
  const crossAxis = getSideAxis(getSide(placement));
6822
6837
  const mainAxis = getOppositeAxis(crossAxis);
6823
6838
  let mainAxisCoord = coords[mainAxis];
@@ -6881,7 +6896,7 @@ const size$1 = function (options) {
6881
6896
  apply = () => {},
6882
6897
  ...detectOverflowOptions
6883
6898
  } = evaluate(options, state);
6884
- const overflow = await detectOverflow(state, detectOverflowOptions);
6899
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
6885
6900
  const side = getSide(placement);
6886
6901
  const alignment = getAlignment(placement);
6887
6902
  const isYAxis = getSideAxis(placement) === 'y';
@@ -6984,7 +6999,6 @@ function isShadowRoot(value) {
6984
6999
  }
6985
7000
  return value instanceof ShadowRoot || value instanceof getWindow$1(value).ShadowRoot;
6986
7001
  }
6987
- const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
6988
7002
  function isOverflowElement(element) {
6989
7003
  const {
6990
7004
  overflow,
@@ -6992,32 +7006,35 @@ function isOverflowElement(element) {
6992
7006
  overflowY,
6993
7007
  display
6994
7008
  } = getComputedStyle$1(element);
6995
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
7009
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
6996
7010
  }
6997
- const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
6998
7011
  function isTableElement(element) {
6999
- return tableElements.has(getNodeName(element));
7012
+ return /^(table|td|th)$/.test(getNodeName(element));
7000
7013
  }
7001
- const topLayerSelectors = [':popover-open', ':modal'];
7002
7014
  function isTopLayer(element) {
7003
- return topLayerSelectors.some(selector => {
7004
- try {
7005
- return element.matches(selector);
7006
- } catch (_e) {
7007
- return false;
7015
+ try {
7016
+ if (element.matches(':popover-open')) {
7017
+ return true;
7008
7018
  }
7009
- });
7019
+ } catch (_e) {
7020
+ // no-op
7021
+ }
7022
+ try {
7023
+ return element.matches(':modal');
7024
+ } catch (_e) {
7025
+ return false;
7026
+ }
7010
7027
  }
7011
- const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
7012
- const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
7013
- const containValues = ['paint', 'layout', 'strict', 'content'];
7028
+ const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
7029
+ const containRe = /paint|layout|strict|content/;
7030
+ const isNotNone = value => !!value && value !== 'none';
7031
+ let isWebKitValue;
7014
7032
  function isContainingBlock(elementOrCss) {
7015
- const webkit = isWebKit();
7016
7033
  const css = isElement$1(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
7017
7034
 
7018
7035
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
7019
7036
  // https://drafts.csswg.org/css-transforms-2/#individual-transforms
7020
- return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
7037
+ return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
7021
7038
  }
7022
7039
  function getContainingBlock(element) {
7023
7040
  let currentNode = getParentNode(element);
@@ -7032,12 +7049,13 @@ function getContainingBlock(element) {
7032
7049
  return null;
7033
7050
  }
7034
7051
  function isWebKit() {
7035
- if (typeof CSS === 'undefined' || !CSS.supports) return false;
7036
- return CSS.supports('-webkit-backdrop-filter', 'none');
7052
+ if (isWebKitValue == null) {
7053
+ isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
7054
+ }
7055
+ return isWebKitValue;
7037
7056
  }
7038
- const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
7039
7057
  function isLastTraversableNode(node) {
7040
- return lastTraversableNodeNames.has(getNodeName(node));
7058
+ return /^(html|body|#document)$/.test(getNodeName(node));
7041
7059
  }
7042
7060
  function getComputedStyle$1(element) {
7043
7061
  return getWindow$1(element).getComputedStyle(element);
@@ -7093,8 +7111,9 @@ function getOverflowAncestors(node, list, traverseIframes) {
7093
7111
  if (isBody) {
7094
7112
  const frameElement = getFrameElement(win);
7095
7113
  return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
7114
+ } else {
7115
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
7096
7116
  }
7097
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
7098
7117
  }
7099
7118
  function getFrameElement(win) {
7100
7119
  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
@@ -7271,7 +7290,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
7271
7290
  if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
7272
7291
  scroll = getNodeScroll(offsetParent);
7273
7292
  }
7274
- if (isHTMLElement$1(offsetParent)) {
7293
+ if (isOffsetParentAnElement) {
7275
7294
  const offsetRect = getBoundingClientRect(offsetParent);
7276
7295
  scale = getScale(offsetParent);
7277
7296
  offsets.x = offsetRect.x + offsetParent.clientLeft;
@@ -7359,7 +7378,6 @@ function getViewportRect(element, strategy) {
7359
7378
  };
7360
7379
  }
7361
7380
 
7362
- const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
7363
7381
  // Returns the inner client rect, subtracting scrollbars if present.
7364
7382
  function getInnerBoundingClientRect(element, strategy) {
7365
7383
  const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
@@ -7424,7 +7442,7 @@ function getClippingElementAncestors(element, cache) {
7424
7442
  if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
7425
7443
  currentContainingBlockComputedStyle = null;
7426
7444
  }
7427
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
7445
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
7428
7446
  if (shouldDropCurrentNode) {
7429
7447
  // Drop non-containing blocks.
7430
7448
  result = result.filter(ancestor => ancestor !== currentNode);
@@ -7449,20 +7467,23 @@ function getClippingRect(_ref) {
7449
7467
  } = _ref;
7450
7468
  const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
7451
7469
  const clippingAncestors = [...elementClippingAncestors, rootBoundary];
7452
- const firstClippingAncestor = clippingAncestors[0];
7453
- const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
7454
- const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
7455
- accRect.top = max(rect.top, accRect.top);
7456
- accRect.right = min(rect.right, accRect.right);
7457
- accRect.bottom = min(rect.bottom, accRect.bottom);
7458
- accRect.left = max(rect.left, accRect.left);
7459
- return accRect;
7460
- }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
7470
+ const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
7471
+ let top = firstRect.top;
7472
+ let right = firstRect.right;
7473
+ let bottom = firstRect.bottom;
7474
+ let left = firstRect.left;
7475
+ for (let i = 1; i < clippingAncestors.length; i++) {
7476
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
7477
+ top = max(rect.top, top);
7478
+ right = min(rect.right, right);
7479
+ bottom = min(rect.bottom, bottom);
7480
+ left = max(rect.left, left);
7481
+ }
7461
7482
  return {
7462
- width: clippingRect.right - clippingRect.left,
7463
- height: clippingRect.bottom - clippingRect.top,
7464
- x: clippingRect.left,
7465
- y: clippingRect.top
7483
+ width: right - left,
7484
+ height: bottom - top,
7485
+ x: left,
7486
+ y: top
7466
7487
  };
7467
7488
  }
7468
7489
 
@@ -7713,7 +7734,7 @@ function autoUpdate(reference, floating, update, options) {
7713
7734
  animationFrame = false
7714
7735
  } = options;
7715
7736
  const referenceEl = unwrapElement(reference);
7716
- const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
7737
+ const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];
7717
7738
  ancestors.forEach(ancestor => {
7718
7739
  ancestorScroll && ancestor.addEventListener('scroll', update, {
7719
7740
  passive: true
@@ -7726,7 +7747,7 @@ function autoUpdate(reference, floating, update, options) {
7726
7747
  if (elementResize) {
7727
7748
  resizeObserver = new ResizeObserver(_ref => {
7728
7749
  let [firstEntry] = _ref;
7729
- if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
7750
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
7730
7751
  // Prevent update loops when using the `size` middleware.
7731
7752
  // https://github.com/floating-ui/floating-ui/issues/1740
7732
7753
  resizeObserver.unobserve(floating);
@@ -7741,7 +7762,9 @@ function autoUpdate(reference, floating, update, options) {
7741
7762
  if (referenceEl && !animationFrame) {
7742
7763
  resizeObserver.observe(referenceEl);
7743
7764
  }
7744
- resizeObserver.observe(floating);
7765
+ if (floating) {
7766
+ resizeObserver.observe(floating);
7767
+ }
7745
7768
  }
7746
7769
  let frameId;
7747
7770
  let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
@@ -8445,6 +8468,208 @@ function getChildren(nodes, id) {
8445
8468
  return allChildren;
8446
8469
  }
8447
8470
 
8471
+ function isPointInPolygon(point, polygon) {
8472
+ const [x, y] = point;
8473
+ let isInside = false;
8474
+ const length = polygon.length;
8475
+
8476
+ for (let i = 0, j = length - 1; i < length; j = i++) {
8477
+ const [xi, yi] = polygon[i] || [0, 0];
8478
+ const [xj, yj] = polygon[j] || [0, 0];
8479
+ const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;
8480
+
8481
+ if (intersect) {
8482
+ isInside = !isInside;
8483
+ }
8484
+ }
8485
+
8486
+ return isInside;
8487
+ }
8488
+
8489
+ function safePolygon(_temp) {
8490
+ let {
8491
+ restMs = 0,
8492
+ buffer = 0.5,
8493
+ blockPointerEvents = true,
8494
+ debug = null
8495
+ } = _temp === void 0 ? {} : _temp;
8496
+ let timeoutId;
8497
+ let polygonIsDestroyed = false;
8498
+
8499
+ const fn = _ref => {
8500
+ let {
8501
+ x,
8502
+ y,
8503
+ placement,
8504
+ refs,
8505
+ onClose,
8506
+ nodeId,
8507
+ tree,
8508
+ leave = false
8509
+ } = _ref;
8510
+ return function onPointerMove(event) {
8511
+ var _refs$domReference$cu, _refs$floating$curren, _refs$floating$curren2;
8512
+
8513
+ clearTimeout(timeoutId);
8514
+
8515
+ function close() {
8516
+ clearTimeout(timeoutId);
8517
+ onClose();
8518
+ }
8519
+
8520
+ if (event.pointerType && event.pointerType !== 'mouse') {
8521
+ return;
8522
+ }
8523
+
8524
+ const {
8525
+ clientX,
8526
+ clientY
8527
+ } = event;
8528
+ const target = 'composedPath' in event ? event.composedPath()[0] : event.target;
8529
+ const targetNode = target; // If the pointer is over the reference, there is no need to run the logic
8530
+
8531
+ if (event.type === 'pointermove' && (_refs$domReference$cu = refs.domReference.current) != null && _refs$domReference$cu.contains(targetNode)) {
8532
+ return;
8533
+ } // Prevent overlapping floating element from being stuck in an open-close
8534
+ // loop: https://github.com/floating-ui/floating-ui/issues/1910
8535
+
8536
+
8537
+ if (event.type === 'mouseleave' && isElement(event.relatedTarget) && (_refs$floating$curren = refs.floating.current) != null && _refs$floating$curren.contains(event.relatedTarget)) {
8538
+ return;
8539
+ } // If any nested child is open, abort.
8540
+
8541
+
8542
+ if (tree && getChildren(tree.nodesRef.current, nodeId).some(_ref2 => {
8543
+ let {
8544
+ context
8545
+ } = _ref2;
8546
+ return context == null ? void 0 : context.open;
8547
+ })) {
8548
+ return;
8549
+ } // The cursor landed, so we destroy the polygon logic
8550
+
8551
+
8552
+ if ((_refs$floating$curren2 = refs.floating.current) != null && _refs$floating$curren2.contains(targetNode) && !leave) {
8553
+ polygonIsDestroyed = true;
8554
+ return;
8555
+ }
8556
+
8557
+ if (!refs.domReference.current || !refs.floating.current || placement == null || x == null || y == null) {
8558
+ return;
8559
+ }
8560
+
8561
+ const refRect = refs.domReference.current.getBoundingClientRect();
8562
+ const rect = refs.floating.current.getBoundingClientRect();
8563
+ const side = placement.split('-')[0];
8564
+ const cursorLeaveFromRight = x > rect.right - rect.width / 2;
8565
+ const cursorLeaveFromBottom = y > rect.bottom - rect.height / 2; // If the pointer is leaving from the opposite side, the "buffer" logic
8566
+ // creates a point where the floating element remains open, but should be
8567
+ // ignored.
8568
+ // A constant of 1 handles floating point rounding errors.
8569
+
8570
+ if (side === 'top' && y >= refRect.bottom - 1 || side === 'bottom' && y <= refRect.top + 1 || side === 'left' && x >= refRect.right - 1 || side === 'right' && x <= refRect.left + 1) {
8571
+ return close();
8572
+ } // Ignore when the cursor is within the rectangular trough between the
8573
+ // two elements. Since the triangle is created from the cursor point,
8574
+ // which can start beyond the ref element's edge, traversing back and
8575
+ // forth from the ref to the floating element can cause it to close. This
8576
+ // ensures it always remains open in that case.
8577
+
8578
+
8579
+ switch (side) {
8580
+ case 'top':
8581
+ if (clientX >= rect.left && clientX <= rect.right && clientY >= rect.top && clientY <= refRect.top + 1) {
8582
+ return;
8583
+ }
8584
+
8585
+ break;
8586
+
8587
+ case 'bottom':
8588
+ if (clientX >= rect.left && clientX <= rect.right && clientY >= refRect.bottom - 1 && clientY <= rect.bottom) {
8589
+ return;
8590
+ }
8591
+
8592
+ break;
8593
+
8594
+ case 'left':
8595
+ if (clientX >= rect.left && clientX <= refRect.left + 1 && clientY >= rect.top && clientY <= rect.bottom) {
8596
+ return;
8597
+ }
8598
+
8599
+ break;
8600
+
8601
+ case 'right':
8602
+ if (clientX >= refRect.right - 1 && clientX <= rect.right && clientY >= rect.top && clientY <= rect.bottom) {
8603
+ return;
8604
+ }
8605
+
8606
+ break;
8607
+ }
8608
+
8609
+ if (polygonIsDestroyed) {
8610
+ return close();
8611
+ }
8612
+
8613
+ function getPolygon(_ref3) {
8614
+ let [x, y] = _ref3;
8615
+ const isFloatingWider = rect.width > refRect.width;
8616
+ const isFloatingTaller = rect.height > refRect.height;
8617
+
8618
+ switch (side) {
8619
+ case 'top':
8620
+ {
8621
+ const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];
8622
+ const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];
8623
+ const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];
8624
+ return [cursorPointOne, cursorPointTwo, ...commonPoints];
8625
+ }
8626
+
8627
+ case 'bottom':
8628
+ {
8629
+ const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];
8630
+ const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];
8631
+ const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];
8632
+ return [cursorPointOne, cursorPointTwo, ...commonPoints];
8633
+ }
8634
+
8635
+ case 'left':
8636
+ {
8637
+ const cursorPointOne = [x + buffer + 1, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
8638
+ const cursorPointTwo = [x + buffer + 1, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
8639
+ const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];
8640
+ return [...commonPoints, cursorPointOne, cursorPointTwo];
8641
+ }
8642
+
8643
+ case 'right':
8644
+ {
8645
+ const cursorPointOne = [x - buffer, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
8646
+ const cursorPointTwo = [x - buffer, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];
8647
+ const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];
8648
+ return [cursorPointOne, cursorPointTwo, ...commonPoints];
8649
+ }
8650
+ }
8651
+ }
8652
+
8653
+ const poly = getPolygon([x, y]);
8654
+
8655
+ if (process.env.NODE_ENV !== "production") {
8656
+ debug == null ? void 0 : debug(poly.slice(0, 4).join(', '));
8657
+ }
8658
+
8659
+ if (!isPointInPolygon([clientX, clientY], poly)) {
8660
+ close();
8661
+ } else if (restMs) {
8662
+ timeoutId = setTimeout(onClose, restMs);
8663
+ }
8664
+ };
8665
+ };
8666
+
8667
+ fn.__options = {
8668
+ blockPointerEvents
8669
+ };
8670
+ return fn;
8671
+ }
8672
+
8448
8673
  const DEFAULT_ID = 'floating-ui-root';
8449
8674
  const useFloatingPortalNode = function (_temp) {
8450
8675
  let {
@@ -10590,6 +10815,7 @@ var Alert = function Alert(_ref, ref) {
10590
10815
  children: [CustomAction && jsx(CustomAction, {}), onClose && !autoDismiss && jsx(Button, {
10591
10816
  title: '',
10592
10817
  size: 'auto',
10818
+ dataTestId: 'alert-close-btn-test',
10593
10819
  variant: 'text',
10594
10820
  onClick: function onClick() {
10595
10821
  onClose();
@@ -12100,13 +12326,13 @@ var BOXES = _toConsumableArray(Array(36).keys()).map(function () {
12100
12326
  var ChartSkeleton = function ChartSkeleton(_ref) {
12101
12327
  var theme = _ref.theme,
12102
12328
  fallback = _ref.fallback;
12103
- return /*#__PURE__*/jsx("div", {
12329
+ return jsx("div", {
12104
12330
  className: modules_37a5ff73$1.root,
12105
12331
  children: BOXES.map(function (box) {
12106
- return /*#__PURE__*/jsx(Skeleton, {
12332
+ return jsx(Skeleton, {
12107
12333
  theme: theme,
12108
12334
  className: modules_37a5ff73$1.box,
12109
- height: "100%",
12335
+ height: '100%',
12110
12336
  noAnimation: fallback
12111
12337
  }, box);
12112
12338
  })
@@ -12127,6 +12353,7 @@ var COLORS = Object.keys(modules_1722b0e5).reduce(function (acc, curr) {
12127
12353
  return acc;
12128
12354
  }, {});
12129
12355
 
12356
+ // Register the required components
12130
12357
  echarts.use([TitleComponent, TooltipComponent, GridComponent, DatasetComponent, LegendComponent, HeatmapChart, CanvasRenderer]);
12131
12358
  var HeatMapChart = function HeatMapChart(props) {
12132
12359
  var _seriesData$metaData$, _seriesData$metaData;
@@ -12155,7 +12382,7 @@ var HeatMapChart = function HeatMapChart(props) {
12155
12382
  theme = props.theme,
12156
12383
  fallback = props.fallback;
12157
12384
  if (loading || fallback) {
12158
- return /*#__PURE__*/jsx(ChartSkeleton, {
12385
+ return jsx(ChartSkeleton, {
12159
12386
  theme: theme,
12160
12387
  fallback: !loading && fallback
12161
12388
  });
@@ -12228,7 +12455,7 @@ var HeatMapChart = function HeatMapChart(props) {
12228
12455
  data: dataNew
12229
12456
  })];
12230
12457
  };
12231
- return /*#__PURE__*/jsx(EChartsReactCore, {
12458
+ return jsx(EChartsReactCore, {
12232
12459
  option: {
12233
12460
  title: {
12234
12461
  text: title
@@ -12421,6 +12648,7 @@ var CopyButton = function CopyButton(_ref) {
12421
12648
  };
12422
12649
  }();
12423
12650
  return jsx(Button, {
12651
+ dataTestId: 'code-snippet-copy-btn-test',
12424
12652
  title: jsx(AnimatePresence, {
12425
12653
  mode: 'popLayout',
12426
12654
  initial: false,
@@ -12573,84 +12801,84 @@ var modules_2dbfc50c = {"root":"ErrorBoundaryWrapper_module_root__d987e542","mes
12573
12801
  n(css$K,{});
12574
12802
 
12575
12803
  var ErrorBoundaryVector = function ErrorBoundaryVector() {
12576
- return /*#__PURE__*/jsxs("svg", {
12577
- width: "30rem",
12578
- height: "30rem",
12579
- viewBox: "0 0 500 500",
12580
- fill: "none",
12581
- xmlns: "http://www.w3.org/2000/svg",
12582
- children: [/*#__PURE__*/jsx("path", {
12583
- d: "M125.435 223.296C124.403 207.823 117.194 193.543 110.344 179.629C103.495 165.715 96.715 151.124 96.6398 135.618C96.5161 108.989 116.801 85.6721 140.828 74.1936C164.855 62.7151 192.167 60.7527 218.747 59.1613C246.532 57.4947 275.21 56.1506 301.387 65.613C316.478 71.0592 330.113 79.9087 342.892 89.6022C378.666 116.759 408.633 150.811 431.021 189.747C446.505 216.72 458.392 246.871 457.559 277.952C456.726 309.032 441.016 341.048 413.107 354.769C384.371 368.903 349.925 361.565 318.564 368.065C283.204 375.398 254.21 399.634 225.07 420.957C195.93 442.28 162.07 462.172 126.134 458.591C102.134 456.204 80.4838 443.559 60.3817 430.242C42.4785 418.393 23.5376 403.237 21.1451 381.909C19.586 367.995 25.6021 354.387 32.543 342.231C46.1755 318.43 63.8291 297.171 84.7204 279.398C103.624 263.317 127.366 252.032 125.435 223.296Z",
12584
- fill: "#EAE6FC"
12585
- }), /*#__PURE__*/jsx("path", {
12586
- d: "M491.935 461.704H444.763C444.05 461.704 443.367 461.421 442.863 460.917C442.358 460.413 442.075 459.729 442.075 459.016C442.075 458.303 442.358 457.619 442.863 457.115C443.367 456.611 444.05 456.328 444.763 456.328H491.935C492.648 456.328 493.332 456.611 493.836 457.115C494.34 457.619 494.624 458.303 494.624 459.016C494.624 459.729 494.34 460.413 493.836 460.917C493.332 461.421 492.648 461.704 491.935 461.704ZM55.2366 461.704H8.06451C7.35157 461.704 6.66782 461.421 6.16369 460.917C5.65956 460.413 5.37634 459.729 5.37634 459.016C5.37634 458.303 5.65956 457.619 6.16369 457.115C6.66782 456.611 7.35157 456.328 8.06451 456.328H55.2366C55.9495 456.328 56.6333 456.611 57.1374 457.115C57.6415 457.619 57.9247 458.303 57.9247 459.016C57.9247 459.729 57.6415 460.413 57.1374 460.917C56.6333 461.421 55.9495 461.704 55.2366 461.704Z",
12587
- fill: "#1E1E1E"
12588
- }), /*#__PURE__*/jsx("path", {
12589
- d: "M106.914 232.634V445.419H393.07V232.634C393.07 226.597 388.253 221.699 382.317 221.699H117.667C111.731 221.699 106.914 226.591 106.914 232.634Z",
12590
- fill: "#D3DCE3"
12591
- }), /*#__PURE__*/jsx("path", {
12592
- d: "M120.355 235.134H379.629V417.828H120.355V235.134ZM422.043 431.828V439.597C422.044 442.147 421.542 444.672 420.566 447.028C419.59 449.384 418.16 451.525 416.356 453.328C414.553 455.131 412.412 456.561 410.056 457.536C407.699 458.511 405.174 459.012 402.624 459.011H97.3656C94.8159 459.011 92.2911 458.51 89.9353 457.534C87.5796 456.559 85.4391 455.129 83.6362 453.326C81.8334 451.523 80.4034 449.383 79.428 447.027C78.4526 444.671 77.9509 442.146 77.9516 439.597V431.828H204.134C205.56 431.828 206.928 432.394 207.936 433.403C208.944 434.411 209.511 435.778 209.511 437.204V440.043C209.511 441.469 210.077 442.836 211.085 443.845C212.094 444.853 213.461 445.419 214.887 445.419H285.102C286.528 445.419 287.896 444.853 288.904 443.845C289.912 442.836 290.478 441.469 290.478 440.043V437.204C290.478 435.778 291.045 434.411 292.053 433.403C293.061 432.394 294.429 431.828 295.855 431.828H422.043Z",
12593
- fill: "white"
12594
- }), /*#__PURE__*/jsx("path", {
12595
- d: "M290.349 151.801H209.645L169.29 221.693L209.645 291.586H290.349L330.704 221.693L290.349 151.801Z",
12596
- fill: "#FFD200"
12597
- }), /*#__PURE__*/jsx("path", {
12598
- d: "M425.538 456.328H416.935C421.667 452.296 424.731 446.328 424.731 439.608V431.812C424.731 430.36 423.548 429.124 422.043 429.124H395.753V232.618C395.753 225.091 389.731 219.016 382.312 219.016H332.258L292.688 150.468C292.456 150.06 292.119 149.72 291.713 149.484C291.307 149.248 290.846 149.124 290.376 149.124H209.624C208.71 149.124 207.796 149.608 207.312 150.468L167.742 219.016H117.688C110.269 219.016 104.247 225.091 104.247 232.618V429.124H77.957C76.4516 429.124 75.2688 430.36 75.2688 431.812V439.608C75.2688 446.328 78.3333 452.296 83.1183 456.328H74.4623C72.957 456.328 71.7742 457.511 71.7742 459.016C71.7742 460.521 72.957 461.704 74.4623 461.704H425.538C427.043 461.704 428.226 460.521 428.226 459.016C428.226 457.511 427.043 456.328 425.538 456.328ZM211.183 154.5H288.817L327.581 221.704C318.935 236.731 326.258 224.038 288.817 288.909H211.183L172.419 221.704L211.183 154.5ZM324.462 237.833H376.935V415.145H123.064V237.833H175.538L207.312 292.941C207.796 293.747 208.71 294.285 209.624 294.285H290.376C291.29 294.285 292.204 293.747 292.688 292.941L324.462 237.833ZM109.624 232.618C109.624 228.102 113.226 224.392 117.688 224.392H167.742L172.419 232.457H120.376C118.871 232.457 117.688 233.64 117.688 235.145V417.833C117.688 419.339 118.871 420.522 120.376 420.522H379.624C381.129 420.522 382.312 419.339 382.312 417.833V235.145C382.312 233.64 381.129 232.457 379.624 232.457H327.581L332.258 224.392H382.312C386.774 224.392 390.376 228.102 390.376 232.618V429.124H295.86C291.398 429.124 287.796 432.78 287.796 437.188V440.038C287.796 441.543 286.613 442.726 285.108 442.726H214.892C213.387 442.726 212.204 441.543 212.204 440.038V437.188C212.204 432.78 208.602 429.124 204.14 429.124H109.624V232.618ZM402.634 456.328H97.3656C92.9354 456.314 88.6907 454.548 85.5581 451.415C82.4255 448.282 80.6593 444.038 80.6451 439.608V434.5H204.14C205.591 434.5 206.828 435.737 206.828 437.188V440.038C206.828 441.005 206.989 441.866 207.312 442.726C208.387 445.844 211.398 448.102 214.892 448.102H285.108C288.602 448.102 291.613 445.844 292.688 442.726C293.011 441.866 293.172 441.005 293.172 440.038V437.188C293.172 435.737 294.409 434.5 295.86 434.5H419.355V439.608C419.355 448.801 411.828 456.328 402.634 456.328Z",
12599
- fill: "#231F20"
12600
- }), /*#__PURE__*/jsx("path", {
12601
- d: "M265.941 185.468C265.941 192.059 257.07 224.376 252.554 240.323C251.801 242.871 248.194 242.871 247.446 240.323C242.93 224.376 234.054 192.059 234.054 185.468C234.057 181.239 235.738 177.185 238.727 174.195C241.717 171.205 245.772 169.524 250 169.521C254.227 169.526 258.28 171.207 261.269 174.197C264.258 177.187 265.938 181.24 265.941 185.468Z",
12602
- fill: "#231F20"
12603
- }), /*#__PURE__*/jsx("path", {
12604
- d: "M249.995 273.866C255.865 273.866 260.624 269.107 260.624 263.237C260.624 257.366 255.865 252.608 249.995 252.608C244.124 252.608 239.366 257.366 239.366 263.237C239.366 269.107 244.124 273.866 249.995 273.866Z",
12605
- fill: "#231F20"
12606
- }), /*#__PURE__*/jsx("path", {
12607
- d: "M278.962 363.986H267.49C267.022 363.986 266.64 364.353 266.616 364.82C266.065 375.483 255.461 383.488 244.099 379.535C239.585 377.964 236.011 374.389 234.442 369.875C230.384 358.207 238.937 347.338 250.028 347.338C250.04 347.338 250.052 347.338 250.064 347.338V335.011C250.064 334.514 249.652 334.118 249.156 334.132C243.299 334.301 237.867 336.158 233.326 339.232V316.221H220.159V363.787H220.201C220.185 366.681 220.58 369.674 221.445 372.708C224.171 382.271 231.696 389.801 241.258 392.529C261.155 398.208 279.253 383.759 279.841 364.897C279.857 364.4 279.459 363.986 278.962 363.986Z",
12608
- fill: "url(#paint0_linear_721_1222)"
12609
- }), /*#__PURE__*/jsx("path", {
12610
- d: "M265.296 362.302C265.632 362.638 266.207 362.447 266.277 361.978L268.601 346.254C268.657 345.87 268.328 345.541 267.944 345.597L252.22 347.921C251.751 347.991 251.56 348.566 251.896 348.902L265.297 362.303L265.296 362.302Z",
12611
- fill: "url(#paint1_linear_721_1222)"
12612
- }), /*#__PURE__*/jsx("path", {
12613
- d: "M275.706 351.91C276.038 352.243 276.607 352.055 276.675 351.59L279.002 335.845C279.059 335.466 278.733 335.14 278.353 335.196L262.609 337.523C262.144 337.592 261.956 338.161 262.288 338.493L275.706 351.91Z",
12614
- fill: "url(#paint2_linear_721_1222)"
12615
- }), /*#__PURE__*/jsxs("defs", {
12616
- children: [/*#__PURE__*/jsxs("linearGradient", {
12617
- id: "paint0_linear_721_1222",
12618
- x1: "213.909",
12619
- y1: "301.586",
12620
- x2: "278.196",
12621
- y2: "297.01",
12622
- gradientUnits: "userSpaceOnUse",
12623
- children: [/*#__PURE__*/jsx("stop", {
12624
- stopColor: "#FF1597"
12625
- }), /*#__PURE__*/jsx("stop", {
12626
- offset: "1",
12627
- stopColor: "#FF892A"
12804
+ return jsxs("svg", {
12805
+ width: '30rem',
12806
+ height: '30rem',
12807
+ viewBox: '0 0 500 500',
12808
+ fill: 'none',
12809
+ xmlns: 'http://www.w3.org/2000/svg',
12810
+ children: [jsx("path", {
12811
+ d: 'M125.435 223.296C124.403 207.823 117.194 193.543 110.344 179.629C103.495 165.715 96.715 151.124 96.6398 135.618C96.5161 108.989 116.801 85.6721 140.828 74.1936C164.855 62.7151 192.167 60.7527 218.747 59.1613C246.532 57.4947 275.21 56.1506 301.387 65.613C316.478 71.0592 330.113 79.9087 342.892 89.6022C378.666 116.759 408.633 150.811 431.021 189.747C446.505 216.72 458.392 246.871 457.559 277.952C456.726 309.032 441.016 341.048 413.107 354.769C384.371 368.903 349.925 361.565 318.564 368.065C283.204 375.398 254.21 399.634 225.07 420.957C195.93 442.28 162.07 462.172 126.134 458.591C102.134 456.204 80.4838 443.559 60.3817 430.242C42.4785 418.393 23.5376 403.237 21.1451 381.909C19.586 367.995 25.6021 354.387 32.543 342.231C46.1755 318.43 63.8291 297.171 84.7204 279.398C103.624 263.317 127.366 252.032 125.435 223.296Z',
12812
+ fill: '#EAE6FC'
12813
+ }), jsx("path", {
12814
+ d: 'M491.935 461.704H444.763C444.05 461.704 443.367 461.421 442.863 460.917C442.358 460.413 442.075 459.729 442.075 459.016C442.075 458.303 442.358 457.619 442.863 457.115C443.367 456.611 444.05 456.328 444.763 456.328H491.935C492.648 456.328 493.332 456.611 493.836 457.115C494.34 457.619 494.624 458.303 494.624 459.016C494.624 459.729 494.34 460.413 493.836 460.917C493.332 461.421 492.648 461.704 491.935 461.704ZM55.2366 461.704H8.06451C7.35157 461.704 6.66782 461.421 6.16369 460.917C5.65956 460.413 5.37634 459.729 5.37634 459.016C5.37634 458.303 5.65956 457.619 6.16369 457.115C6.66782 456.611 7.35157 456.328 8.06451 456.328H55.2366C55.9495 456.328 56.6333 456.611 57.1374 457.115C57.6415 457.619 57.9247 458.303 57.9247 459.016C57.9247 459.729 57.6415 460.413 57.1374 460.917C56.6333 461.421 55.9495 461.704 55.2366 461.704Z',
12815
+ fill: '#1E1E1E'
12816
+ }), jsx("path", {
12817
+ d: 'M106.914 232.634V445.419H393.07V232.634C393.07 226.597 388.253 221.699 382.317 221.699H117.667C111.731 221.699 106.914 226.591 106.914 232.634Z',
12818
+ fill: '#D3DCE3'
12819
+ }), jsx("path", {
12820
+ d: 'M120.355 235.134H379.629V417.828H120.355V235.134ZM422.043 431.828V439.597C422.044 442.147 421.542 444.672 420.566 447.028C419.59 449.384 418.16 451.525 416.356 453.328C414.553 455.131 412.412 456.561 410.056 457.536C407.699 458.511 405.174 459.012 402.624 459.011H97.3656C94.8159 459.011 92.2911 458.51 89.9353 457.534C87.5796 456.559 85.4391 455.129 83.6362 453.326C81.8334 451.523 80.4034 449.383 79.428 447.027C78.4526 444.671 77.9509 442.146 77.9516 439.597V431.828H204.134C205.56 431.828 206.928 432.394 207.936 433.403C208.944 434.411 209.511 435.778 209.511 437.204V440.043C209.511 441.469 210.077 442.836 211.085 443.845C212.094 444.853 213.461 445.419 214.887 445.419H285.102C286.528 445.419 287.896 444.853 288.904 443.845C289.912 442.836 290.478 441.469 290.478 440.043V437.204C290.478 435.778 291.045 434.411 292.053 433.403C293.061 432.394 294.429 431.828 295.855 431.828H422.043Z',
12821
+ fill: 'white'
12822
+ }), jsx("path", {
12823
+ d: 'M290.349 151.801H209.645L169.29 221.693L209.645 291.586H290.349L330.704 221.693L290.349 151.801Z',
12824
+ fill: '#FFD200'
12825
+ }), jsx("path", {
12826
+ d: 'M425.538 456.328H416.935C421.667 452.296 424.731 446.328 424.731 439.608V431.812C424.731 430.36 423.548 429.124 422.043 429.124H395.753V232.618C395.753 225.091 389.731 219.016 382.312 219.016H332.258L292.688 150.468C292.456 150.06 292.119 149.72 291.713 149.484C291.307 149.248 290.846 149.124 290.376 149.124H209.624C208.71 149.124 207.796 149.608 207.312 150.468L167.742 219.016H117.688C110.269 219.016 104.247 225.091 104.247 232.618V429.124H77.957C76.4516 429.124 75.2688 430.36 75.2688 431.812V439.608C75.2688 446.328 78.3333 452.296 83.1183 456.328H74.4623C72.957 456.328 71.7742 457.511 71.7742 459.016C71.7742 460.521 72.957 461.704 74.4623 461.704H425.538C427.043 461.704 428.226 460.521 428.226 459.016C428.226 457.511 427.043 456.328 425.538 456.328ZM211.183 154.5H288.817L327.581 221.704C318.935 236.731 326.258 224.038 288.817 288.909H211.183L172.419 221.704L211.183 154.5ZM324.462 237.833H376.935V415.145H123.064V237.833H175.538L207.312 292.941C207.796 293.747 208.71 294.285 209.624 294.285H290.376C291.29 294.285 292.204 293.747 292.688 292.941L324.462 237.833ZM109.624 232.618C109.624 228.102 113.226 224.392 117.688 224.392H167.742L172.419 232.457H120.376C118.871 232.457 117.688 233.64 117.688 235.145V417.833C117.688 419.339 118.871 420.522 120.376 420.522H379.624C381.129 420.522 382.312 419.339 382.312 417.833V235.145C382.312 233.64 381.129 232.457 379.624 232.457H327.581L332.258 224.392H382.312C386.774 224.392 390.376 228.102 390.376 232.618V429.124H295.86C291.398 429.124 287.796 432.78 287.796 437.188V440.038C287.796 441.543 286.613 442.726 285.108 442.726H214.892C213.387 442.726 212.204 441.543 212.204 440.038V437.188C212.204 432.78 208.602 429.124 204.14 429.124H109.624V232.618ZM402.634 456.328H97.3656C92.9354 456.314 88.6907 454.548 85.5581 451.415C82.4255 448.282 80.6593 444.038 80.6451 439.608V434.5H204.14C205.591 434.5 206.828 435.737 206.828 437.188V440.038C206.828 441.005 206.989 441.866 207.312 442.726C208.387 445.844 211.398 448.102 214.892 448.102H285.108C288.602 448.102 291.613 445.844 292.688 442.726C293.011 441.866 293.172 441.005 293.172 440.038V437.188C293.172 435.737 294.409 434.5 295.86 434.5H419.355V439.608C419.355 448.801 411.828 456.328 402.634 456.328Z',
12827
+ fill: '#231F20'
12828
+ }), jsx("path", {
12829
+ d: 'M265.941 185.468C265.941 192.059 257.07 224.376 252.554 240.323C251.801 242.871 248.194 242.871 247.446 240.323C242.93 224.376 234.054 192.059 234.054 185.468C234.057 181.239 235.738 177.185 238.727 174.195C241.717 171.205 245.772 169.524 250 169.521C254.227 169.526 258.28 171.207 261.269 174.197C264.258 177.187 265.938 181.24 265.941 185.468Z',
12830
+ fill: '#231F20'
12831
+ }), jsx("path", {
12832
+ d: 'M249.995 273.866C255.865 273.866 260.624 269.107 260.624 263.237C260.624 257.366 255.865 252.608 249.995 252.608C244.124 252.608 239.366 257.366 239.366 263.237C239.366 269.107 244.124 273.866 249.995 273.866Z',
12833
+ fill: '#231F20'
12834
+ }), jsx("path", {
12835
+ d: 'M278.962 363.986H267.49C267.022 363.986 266.64 364.353 266.616 364.82C266.065 375.483 255.461 383.488 244.099 379.535C239.585 377.964 236.011 374.389 234.442 369.875C230.384 358.207 238.937 347.338 250.028 347.338C250.04 347.338 250.052 347.338 250.064 347.338V335.011C250.064 334.514 249.652 334.118 249.156 334.132C243.299 334.301 237.867 336.158 233.326 339.232V316.221H220.159V363.787H220.201C220.185 366.681 220.58 369.674 221.445 372.708C224.171 382.271 231.696 389.801 241.258 392.529C261.155 398.208 279.253 383.759 279.841 364.897C279.857 364.4 279.459 363.986 278.962 363.986Z',
12836
+ fill: 'url(#paint0_linear_721_1222)'
12837
+ }), jsx("path", {
12838
+ d: 'M265.296 362.302C265.632 362.638 266.207 362.447 266.277 361.978L268.601 346.254C268.657 345.87 268.328 345.541 267.944 345.597L252.22 347.921C251.751 347.991 251.56 348.566 251.896 348.902L265.297 362.303L265.296 362.302Z',
12839
+ fill: 'url(#paint1_linear_721_1222)'
12840
+ }), jsx("path", {
12841
+ d: 'M275.706 351.91C276.038 352.243 276.607 352.055 276.675 351.59L279.002 335.845C279.059 335.466 278.733 335.14 278.353 335.196L262.609 337.523C262.144 337.592 261.956 338.161 262.288 338.493L275.706 351.91Z',
12842
+ fill: 'url(#paint2_linear_721_1222)'
12843
+ }), jsxs("defs", {
12844
+ children: [jsxs("linearGradient", {
12845
+ id: 'paint0_linear_721_1222',
12846
+ x1: '213.909',
12847
+ y1: '301.586',
12848
+ x2: '278.196',
12849
+ y2: '297.01',
12850
+ gradientUnits: 'userSpaceOnUse',
12851
+ children: [jsx("stop", {
12852
+ stopColor: '#FF1597'
12853
+ }), jsx("stop", {
12854
+ offset: '1',
12855
+ stopColor: '#FF892A'
12628
12856
  })]
12629
- }), /*#__PURE__*/jsxs("linearGradient", {
12630
- id: "paint1_linear_721_1222",
12631
- x1: "249.958",
12632
- y1: "342.406",
12633
- x2: "268.079",
12634
- y2: "340.729",
12635
- gradientUnits: "userSpaceOnUse",
12636
- children: [/*#__PURE__*/jsx("stop", {
12637
- stopColor: "#FF1597"
12638
- }), /*#__PURE__*/jsx("stop", {
12639
- offset: "1",
12640
- stopColor: "#FF892A"
12857
+ }), jsxs("linearGradient", {
12858
+ id: 'paint1_linear_721_1222',
12859
+ x1: '249.958',
12860
+ y1: '342.406',
12861
+ x2: '268.079',
12862
+ y2: '340.729',
12863
+ gradientUnits: 'userSpaceOnUse',
12864
+ children: [jsx("stop", {
12865
+ stopColor: '#FF1597'
12866
+ }), jsx("stop", {
12867
+ offset: '1',
12868
+ stopColor: '#FF892A'
12641
12869
  })]
12642
- }), /*#__PURE__*/jsxs("linearGradient", {
12643
- id: "paint2_linear_721_1222",
12644
- x1: "260.351",
12645
- y1: "332.003",
12646
- x2: "278.48",
12647
- y2: "330.326",
12648
- gradientUnits: "userSpaceOnUse",
12649
- children: [/*#__PURE__*/jsx("stop", {
12650
- stopColor: "#FF1597"
12651
- }), /*#__PURE__*/jsx("stop", {
12652
- offset: "1",
12653
- stopColor: "#FF892A"
12870
+ }), jsxs("linearGradient", {
12871
+ id: 'paint2_linear_721_1222',
12872
+ x1: '260.351',
12873
+ y1: '332.003',
12874
+ x2: '278.48',
12875
+ y2: '330.326',
12876
+ gradientUnits: 'userSpaceOnUse',
12877
+ children: [jsx("stop", {
12878
+ stopColor: '#FF1597'
12879
+ }), jsx("stop", {
12880
+ offset: '1',
12881
+ stopColor: '#FF892A'
12654
12882
  })]
12655
12883
  })]
12656
12884
  })]
@@ -13649,8 +13877,8 @@ var TimeSwitcher = function TimeSwitcher(props) {
13649
13877
  });
13650
13878
  };
13651
13879
 
13652
- var css$A = ".Header_module_root__9ef66d20 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 0rem;\n}\n.Header_module_root__9ef66d20 .Header_module_titleContainer__9ef66d20 {\n align-self: stretch;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 0rem 0rem;\n padding-bottom: 0rem;\n margin-left: calc(-2rem + 1px);\n margin-right: calc(-2rem + 1px);\n width: calc(100% + 4rem - 2px);\n}\n.Header_module_root__9ef66d20 .Header_module_titleContainer__9ef66d20 .Header_module_title__9ef66d20 {\n font-weight: 500;\n font-size: 0.875rem;\n color: var(--text-color);\n line-height: 1.3125rem;\n}\n.Header_module_root__9ef66d20 .Header_module_titleContainer__9ef66d20 .Header_module_icon__9ef66d20 {\n width: 1.5rem;\n height: 1.5rem;\n stroke: var(--text-color);\n stroke-width: 0.5px;\n cursor: pointer;\n}\n.Header_module_root__9ef66d20 .Header_module_dateTimeSwitch__9ef66d20 {\n width: 100%;\n}";
13653
- var modules_cf337dc1 = {"root":"Header_module_root__9ef66d20","title-container":"Header_module_titleContainer__9ef66d20","title":"Header_module_title__9ef66d20","icon":"Header_module_icon__9ef66d20","date-time-switch":"Header_module_dateTimeSwitch__9ef66d20"};
13880
+ var css$A = ".Header_module_root__63c71534 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 0rem;\n}\n.Header_module_root__63c71534 .Header_module_titleContainer__63c71534 {\n align-self: stretch;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 0rem 1rem;\n width: 100%;\n}\n.Header_module_root__63c71534 .Header_module_titleContainer__63c71534 .Header_module_title__63c71534 {\n font-weight: 500;\n font-size: 0.875rem;\n color: var(--text-color);\n line-height: 1.3125rem;\n}\n.Header_module_root__63c71534 .Header_module_titleContainer__63c71534 .Header_module_icon__63c71534 {\n width: 1.5rem;\n height: 1.5rem;\n stroke: var(--text-color);\n stroke-width: 0.5px;\n cursor: pointer;\n}\n.Header_module_root__63c71534 .Header_module_dateTimeSwitch__63c71534 {\n width: 100%;\n}";
13881
+ var modules_cf337dc1 = {"root":"Header_module_root__63c71534","title-container":"Header_module_titleContainer__63c71534","title":"Header_module_title__63c71534","icon":"Header_module_icon__63c71534","date-time-switch":"Header_module_dateTimeSwitch__63c71534"};
13654
13882
  n(css$A,{});
13655
13883
 
13656
13884
  var css$z = ".DateAndTimeSelection_module_root__f884539a {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 0.3125rem;\n padding-inline: 0.75rem;\n width: 100%;\n}\n.DateAndTimeSelection_module_root__f884539a > span {\n font-weight: 500;\n font-size: 0.875rem;\n line-height: 1.3125rem;\n color: var(--text-color);\n}\n.DateAndTimeSelection_module_root__f884539a > div {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n width: 100%;\n gap: 0.25rem;\n}\n.DateAndTimeSelection_module_root__f884539a > div button[data-elem=base-cell].DateAndTimeSelection_module_selector__f884539a {\n flex: 1;\n border: 1px solid var(--mono-color2) !important;\n border-radius: 4px;\n padding: 0.75rem 1rem;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n background-color: var(--light-color3) !important;\n}\n.DateAndTimeSelection_module_root__f884539a > div button[data-elem=base-cell].DateAndTimeSelection_module_selector__f884539a.DateAndTimeSelection_module_active__f884539a {\n background-color: var(--secondary-color2) !important;\n}\n.DateAndTimeSelection_module_root__f884539a > div button[data-elem=base-cell].DateAndTimeSelection_module_selector__f884539a.DateAndTimeSelection_module_active__f884539a > [data-elem=component2] > [data-elem=title] {\n color: var(--white);\n}\n.DateAndTimeSelection_module_root__f884539a > div button[data-elem=base-cell].DateAndTimeSelection_module_selector__f884539a:hover.DateAndTimeSelection_module_active__f884539a {\n background-color: var(--secondary-color2) !important;\n}\n.DateAndTimeSelection_module_root__f884539a > div button[data-elem=base-cell].DateAndTimeSelection_module_selector__f884539a:hover.DateAndTimeSelection_module_active__f884539a > [data-elem=component2] > [data-elem=title] {\n color: var(--white);\n}\n.DateAndTimeSelection_module_root__f884539a > div button[data-elem=base-cell].DateAndTimeSelection_module_selector__f884539a > [data-elem=component2] > [data-elem=title] {\n color: var(--text-color);\n}";
@@ -14426,6 +14654,7 @@ var DatePicker = function DatePicker(props) {
14426
14654
  ref: datePickerRef,
14427
14655
  children: [hasCustomRanges && !showCustomRanges && jsx(Button, _objectSpread2({
14428
14656
  "data-elem": 'custom-header',
14657
+ "data-testid": 'data-picker-custom-header-dpn-test',
14429
14658
  ref: customRangeFloatingReference.reference,
14430
14659
  leftComponent: function leftComponent() {
14431
14660
  return jsx(Clock, {
@@ -14443,6 +14672,7 @@ var DatePicker = function DatePicker(props) {
14443
14672
  "data-elem": 'header',
14444
14673
  ref: datePickerFloatingReference.reference,
14445
14674
  role: 'button',
14675
+ "data-testid": 'date-picker-header-dpn-test',
14446
14676
  tabIndex: 0,
14447
14677
  className: classes(modules_5b831cd1.container, disabled ? modules_5b831cd1.disabled : '', openDatePicker ? modules_5b831cd1.open : '', error ? modules_5b831cd1.error : '', customRanges ? modules_5b831cd1['with-custom'] : '', displayValue ? modules_5b831cd1.highlight : '', highlightOnSelect && value ? modules_5b831cd1.highlightOnSelect : '')
14448
14678
  }, datePickerInteractionProps.getReferenceProps()), {}, {
@@ -14611,7 +14841,7 @@ var Tooltip = /*#__PURE__*/forwardRef(function (props, propRef) {
14611
14841
  // Event listeners to change the open state
14612
14842
  var hover = useHover(context, {
14613
14843
  move: true,
14614
- enabled: !clickOutsideToClose
14844
+ handleClose: clickOutsideToClose ? safePolygon() : undefined
14615
14845
  });
14616
14846
  var focus = useFocus(context, {
14617
14847
  enabled: !clickOutsideToClose
@@ -14725,7 +14955,9 @@ var TextField = /*#__PURE__*/forwardRef(function (props, inputRef) {
14725
14955
  feedback = props.feedback,
14726
14956
  maxLength = props.maxLength,
14727
14957
  onKeyDown = props.onKeyDown,
14728
- autocompleteOptions = props.autocompleteOptions;
14958
+ autocompleteOptions = props.autocompleteOptions,
14959
+ _props$unstyled = props.unstyled,
14960
+ unstyled = _props$unstyled === void 0 ? false : _props$unstyled;
14729
14961
  var _useRef = useRef(value !== undefined),
14730
14962
  isControlled = _useRef.current;
14731
14963
  var _useState = useState(defaultValue),
@@ -14849,7 +15081,7 @@ var TextField = /*#__PURE__*/forwardRef(function (props, inputRef) {
14849
15081
  ref: o([inputRef]),
14850
15082
  value: inputValue,
14851
15083
  onChange: handleChange,
14852
- className: classes(modules_c1d23762[size], modules_c1d23762.input, feedback !== null && feedback !== void 0 && feedback.error ? modules_c1d23762.error : '')
15084
+ className: unstyled ? classes(modules_c1d23762.unstyled, className) : classes(modules_c1d23762[size], modules_c1d23762.input, feedback !== null && feedback !== void 0 && feedback.error ? modules_c1d23762.error : '')
14853
15085
  }, typeof maxLength === 'number' ? {
14854
15086
  maxLength: maxLength
14855
15087
  } : {});
@@ -14857,6 +15089,11 @@ var TextField = /*#__PURE__*/forwardRef(function (props, inputRef) {
14857
15089
  type: inputType,
14858
15090
  defaultValue: defaultValue
14859
15091
  }, inputProps));
15092
+ // ── Unstyled Return Path ─────────────────────────────────────────────
15093
+ if (unstyled) {
15094
+ return Input;
15095
+ }
15096
+ // ── Standard Return Path ─────────────────────────────────────────────
14860
15097
  var AutocompletePopover = autocompleteOptions === null || autocompleteOptions === void 0 ? void 0 : autocompleteOptions.render;
14861
15098
  return jsxs("div", {
14862
15099
  className: classes(modules_c1d23762.root, className),
@@ -15573,7 +15810,8 @@ var Checkbox = function Checkbox(props) {
15573
15810
  className = _props$className === void 0 ? '' : _props$className,
15574
15811
  disabled = props.disabled,
15575
15812
  disabledAsChild = props.disabledAsChild,
15576
- intermediate = props.intermediate;
15813
+ intermediate = props.intermediate,
15814
+ dataTestId = props.dataTestId;
15577
15815
  // Track controlled/uncontrolled mode once on first render
15578
15816
  var _useRef = useRef(checked !== undefined),
15579
15817
  isControlled = _useRef.current;
@@ -15600,6 +15838,7 @@ var Checkbox = function Checkbox(props) {
15600
15838
  children: [jsx("input", _objectSpread2(_objectSpread2({
15601
15839
  disabled: disabled,
15602
15840
  type: 'checkbox',
15841
+ "data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : label ? "checkbox-input-".concat(label, "-cb-test") : 'checkbox-input-cb-test',
15603
15842
  defaultChecked: defaultChecked
15604
15843
  }, isControlled ? {
15605
15844
  checked: !!checked
@@ -15663,7 +15902,8 @@ var Dropdown = /*#__PURE__*/forwardRef(function Dropdown(props, ref) {
15663
15902
  valueAsCount = props.valueAsCount,
15664
15903
  caretAsUpDown = props.caretAsUpDown,
15665
15904
  search = props.search,
15666
- hideValueOnSelect = props.hideValueOnSelect;
15905
+ hideValueOnSelect = props.hideValueOnSelect,
15906
+ dataTestId = props.dataTestId;
15667
15907
  var _useState = useState(false),
15668
15908
  _useState2 = _slicedToArray(_useState, 2),
15669
15909
  open = _useState2[0],
@@ -15986,6 +16226,7 @@ var Dropdown = /*#__PURE__*/forwardRef(function Dropdown(props, ref) {
15986
16226
  })
15987
16227
  }), jsxs("div", _objectSpread2(_objectSpread2({
15988
16228
  "data-elem": 'header',
16229
+ "data-testid": "dropdown-header-".concat(placeholder ? placeholder.toString() : dataTestId, "-dpn-test"),
15989
16230
  className: classes(modules_1b90f5ea.header, error ? modules_1b90f5ea.error : ' ', open ? modules_1b90f5ea.open : '', (Array.isArray(value) ? value.length > 0 : !!value) && highlightOnSelect ? modules_1b90f5ea.highlightOnSelect : ''),
15990
16231
  ref: reference
15991
16232
  }, getReferenceProps()), {}, {
@@ -16103,6 +16344,7 @@ var Dropdown = /*#__PURE__*/forwardRef(function Dropdown(props, ref) {
16103
16344
  className: modules_1b90f5ea['multi-clear'],
16104
16345
  blurOnClick: false,
16105
16346
  title: 'Clear',
16347
+ dataTestId: 'dropdown-clear-btn-test',
16106
16348
  size: 'auto',
16107
16349
  disabled: selectedOptions.length === 0,
16108
16350
  onClick: function onClick(event) {
@@ -16113,6 +16355,7 @@ var Dropdown = /*#__PURE__*/forwardRef(function Dropdown(props, ref) {
16113
16355
  }
16114
16356
  }), jsx(Button, {
16115
16357
  className: modules_1b90f5ea['multi-apply'],
16358
+ dataTestId: 'dropdown-apply-btn-test',
16116
16359
  title: selectedOptions.length === 0 ? 'Apply' : multiSelectActionTitle !== null && multiSelectActionTitle !== void 0 ? multiSelectActionTitle : 'Apply',
16117
16360
  size: 'auto',
16118
16361
  onClick: onApply
@@ -16138,7 +16381,8 @@ var Radio = function Radio(props) {
16138
16381
  _props$size = props.size,
16139
16382
  size = _props$size === void 0 ? 'sm' : _props$size,
16140
16383
  className = props.className,
16141
- disabled = props.disabled;
16384
+ disabled = props.disabled,
16385
+ dataTestId = props.dataTestId;
16142
16386
  // Lock controlled vs uncontrolled on first render
16143
16387
  var _useRef = useRef(checked !== undefined),
16144
16388
  isControlled = _useRef.current;
@@ -16168,7 +16412,8 @@ var Radio = function Radio(props) {
16168
16412
  type: 'radio',
16169
16413
  // Preserve original pattern: always pass checked (undefined keeps it uncontrolled)
16170
16414
  checked: isChecked,
16171
- onChange: handleChange
16415
+ onChange: handleChange,
16416
+ "data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : label ? "radio-input-".concat(label, "-rd-test") : 'radio-input-rd-test'
16172
16417
  }), isChecked ? jsx(CheckedIcon, {
16173
16418
  "data-elem": 'icon',
16174
16419
  className: classes(modules_3705961f["icon-".concat(size)], modules_3705961f.icon)
@@ -16337,8 +16582,8 @@ var DropdownItem = /*#__PURE__*/forwardRef(function (props, ref) {
16337
16582
  }));
16338
16583
  });
16339
16584
 
16340
- var css$m = ".BaseModal_module_root__627cb2d4 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n top: 50%;\n left: 50%;\n right: auto;\n bottom: auto;\n transform: translate(-50%, -50%);\n max-height: 100%;\n height: 43.75rem;\n width: 62.5rem;\n position: fixed;\n background: var(--light-color3);\n box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.13);\n border-radius: 8px;\n outline: none;\n}\n.BaseModal_module_root__627cb2d4 .BaseModal_module_body__627cb2d4 {\n overflow-y: scroll;\n padding: 1rem;\n -ms-overflow-style: none;\n scrollbar-width: none;\n color: var(--text-color);\n}\n.BaseModal_module_root__627cb2d4 .BaseModal_module_body__627cb2d4::-webkit-scrollbar {\n display: none;\n}\n.BaseModal_module_root__627cb2d4 .BaseModal_module_header__627cb2d4,\n.BaseModal_module_root__627cb2d4 .BaseModal_module_footer__627cb2d4 {\n padding: 1rem;\n color: var(--text-color);\n}\n.BaseModal_module_root__627cb2d4 .BaseModal_module_header__627cb2d4 {\n font-weight: 500;\n font-size: 1.375rem;\n box-shadow: 0px 0.1px 2px rgba(24, 24, 24, 0.08);\n}\n.BaseModal_module_root__627cb2d4 .BaseModal_module_footer__627cb2d4 {\n margin-top: auto;\n border-radius: 0 0 8px 8px;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n gap: 1rem;\n}\n.BaseModal_module_root__627cb2d4 .BaseModal_module_footer__627cb2d4 button.BaseModal_module_dismiss__627cb2d4[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: stretch;\n color: var(--mono-color1);\n background-color: var(--light-color2);\n border-radius: 0.25rem;\n outline: 1px solid var(--light-color2) !important;\n border: none;\n}\n.BaseModal_module_root__627cb2d4 .BaseModal_module_footer__627cb2d4 button.BaseModal_module_dismiss__627cb2d4[data-elem=base-cell]:hover {\n background-color: var(--light-color1);\n}\n.BaseModal_module_root__627cb2d4 button.BaseModal_module_close__627cb2d4[data-elem=base-cell] {\n position: absolute;\n right: 1rem;\n top: 1rem;\n padding: 0.25rem;\n height: auto;\n background: var(--light-color3);\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.25);\n}\n.BaseModal_module_root__627cb2d4 button.BaseModal_module_close__627cb2d4[data-elem=base-cell]:hover {\n box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);\n}\n.BaseModal_module_root__627cb2d4 button.BaseModal_module_close__627cb2d4[data-elem=base-cell] .BaseModal_module_icon__627cb2d4 {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--text-color);\n}";
16341
- var modules_f23ae002 = {"root":"BaseModal_module_root__627cb2d4","body":"BaseModal_module_body__627cb2d4","header":"BaseModal_module_header__627cb2d4","footer":"BaseModal_module_footer__627cb2d4","dismiss":"BaseModal_module_dismiss__627cb2d4","close":"BaseModal_module_close__627cb2d4","icon":"BaseModal_module_icon__627cb2d4"};
16585
+ var css$m = ".BaseModal_module_root__387071a4 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n top: 50%;\n left: 50%;\n right: auto;\n bottom: auto;\n transform: translate(-50%, -50%);\n max-height: 100%;\n height: 43.75rem;\n width: 62.5rem;\n position: fixed;\n background: var(--light-color3);\n box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.13);\n border-radius: 8px;\n outline: none;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_body__387071a4 {\n overflow-y: scroll;\n padding: 1rem;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_body__387071a4::-webkit-scrollbar {\n display: none;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_body__387071a4 {\n -ms-overflow-style: none;\n scrollbar-width: none;\n color: var(--text-color);\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_header__387071a4,\n.BaseModal_module_root__387071a4 .BaseModal_module_footer__387071a4 {\n padding: 1rem;\n color: var(--text-color);\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_header__387071a4 {\n font-weight: 500;\n font-size: 1.375rem;\n box-shadow: 0px 0.1px 2px rgba(24, 24, 24, 0.08);\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_footer__387071a4 {\n margin-top: auto;\n border-radius: 0 0 8px 8px;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n gap: 1rem;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_footer__387071a4 button.BaseModal_module_dismiss__387071a4[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: stretch;\n color: var(--mono-color1);\n background-color: var(--light-color2);\n border-radius: 0.25rem;\n outline: 1px solid var(--light-color2) !important;\n border: none;\n}\n.BaseModal_module_root__387071a4 .BaseModal_module_footer__387071a4 button.BaseModal_module_dismiss__387071a4[data-elem=base-cell]:hover {\n background-color: var(--light-color1);\n}\n.BaseModal_module_root__387071a4 button.BaseModal_module_close__387071a4[data-elem=base-cell] {\n position: absolute;\n right: 1rem;\n top: 1rem;\n padding: 0.25rem;\n height: auto;\n background: var(--light-color3);\n box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.25);\n}\n.BaseModal_module_root__387071a4 button.BaseModal_module_close__387071a4[data-elem=base-cell]:hover {\n box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);\n}\n.BaseModal_module_root__387071a4 button.BaseModal_module_close__387071a4[data-elem=base-cell] .BaseModal_module_icon__387071a4 {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--text-color);\n}";
16586
+ var modules_f23ae002 = {"root":"BaseModal_module_root__387071a4","body":"BaseModal_module_body__387071a4","header":"BaseModal_module_header__387071a4","footer":"BaseModal_module_footer__387071a4","dismiss":"BaseModal_module_dismiss__387071a4","close":"BaseModal_module_close__387071a4","icon":"BaseModal_module_icon__387071a4"};
16342
16587
  n(css$m,{});
16343
16588
 
16344
16589
  var MotionFooter = motion.footer;
@@ -16510,6 +16755,7 @@ var BaseModal = function BaseModal(props) {
16510
16755
  size: 'auto',
16511
16756
  variant: 'text',
16512
16757
  className: modules_f23ae002.close,
16758
+ dataTestId: 'modal-cross-dismiss-btn-test',
16513
16759
  onClick: function onClick() {
16514
16760
  toggle === null || toggle === void 0 || toggle(false);
16515
16761
  },
@@ -17466,6 +17712,7 @@ var Link = /*#__PURE__*/forwardRef(function (props, ref) {
17466
17712
  stroke: stroke,
17467
17713
  weight: weight,
17468
17714
  italic: italic,
17715
+ "data-testid": typeof children === 'string' ? "link-".concat(children, "-root-test") : 'link-root-test',
17469
17716
  className: classes(modules_475441e2.root, modules_475441e2["underline-".concat(underline)], className),
17470
17717
  attrs: _objectSpread2({
17471
17718
  href: href,
@@ -17778,6 +18025,7 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
17778
18025
  className: modules_a3d40e77.dropdown,
17779
18026
  popperClassName: modules_a3d40e77['dropdown-popper'],
17780
18027
  value: step.toString(),
18028
+ dataTestId: 'page-steps',
17781
18029
  placeholder: '',
17782
18030
  onChange: function onChange(_, newStep) {
17783
18031
  dispatch({
@@ -17853,12 +18101,14 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
17853
18101
  required: true,
17854
18102
  placeholder: ''
17855
18103
  },
18104
+ name: 'jump-to-page',
17856
18105
  ref: jumpPageRef,
17857
18106
  type: 'number',
17858
18107
  className: modules_a3d40e77.inputbox
17859
18108
  }),
17860
18109
  component2: jsx(Button, {
17861
18110
  size: 'auto',
18111
+ dataTestId: 'jump-to-page-btn-test',
17862
18112
  variant: 'contained',
17863
18113
  className: modules_a3d40e77.button,
17864
18114
  rightComponent: function rightComponent() {
@@ -18924,6 +19174,7 @@ var TableFilters = function TableFilters(props) {
18924
19174
  className: modules_a0fe63f9.search,
18925
19175
  placeholder: searchPlaceholder,
18926
19176
  value: search,
19177
+ name: 'table-search',
18927
19178
  onKeyDown: handleKeyDown,
18928
19179
  onChange: function onChange(e) {
18929
19180
  var _inputHelper = inputHelper(e),
@@ -18937,6 +19188,7 @@ var TableFilters = function TableFilters(props) {
18937
19188
  }
18938
19189
  }), jsx(Button, {
18939
19190
  className: classes(modules_a0fe63f9['search-button'], onClear && modules_a0fe63f9.clear),
19191
+ dataTestId: onClear ? 'table-clear-search-btn-test' : 'table-search-btn-test',
18940
19192
  onClick: function onClick() {
18941
19193
  if (onClear) {
18942
19194
  onClear();
@@ -18956,6 +19208,7 @@ var TableFilters = function TableFilters(props) {
18956
19208
  }), !disabledSearch && jsx(Button, _objectSpread2({
18957
19209
  size: 'auto',
18958
19210
  className: classes(modules_a0fe63f9['adv-filter'], filtersCount > 0 ? modules_a0fe63f9.filter : ''),
19211
+ dataTestId: 'table-advanced-filter-btn-test',
18959
19212
  title: jsx(Filter, {
18960
19213
  className: modules_a0fe63f9.icon,
18961
19214
  v2: true
@@ -18989,6 +19242,7 @@ var TableFilters = function TableFilters(props) {
18989
19242
  }
18990
19243
  },
18991
19244
  placeholder: '',
19245
+ dataTestId: 'column-filters',
18992
19246
  multi: true,
18993
19247
  multiSelectActionTitle: 'Hide',
18994
19248
  valueAsCount: true,