@digital-ai/dot-components 2.23.0 → 2.24.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.
Files changed (33) hide show
  1. package/index.esm.js +86 -13
  2. package/package.json +1 -1
  3. package/src/lib/components/CommonProps.d.ts +4 -2
  4. package/src/lib/components/accordion/Accordion.d.ts +1 -1
  5. package/src/lib/components/alert-banner/AlertBanner.d.ts +1 -1
  6. package/src/lib/components/app-switcher/AppSwitcher.styles.d.ts +1 -1
  7. package/src/lib/components/app-toolbar/AppToolbar.styles.d.ts +1 -1
  8. package/src/lib/components/auto-complete/AutoComplete.d.ts +1 -1
  9. package/src/lib/components/button/CopyButton.d.ts +1 -1
  10. package/src/lib/components/button/IconButton.d.ts +1 -1
  11. package/src/lib/components/button-toggle/ButtonToggle.d.ts +1 -1
  12. package/src/lib/components/checkbox/Checkbox.d.ts +1 -1
  13. package/src/lib/components/chip/Chip.d.ts +1 -1
  14. package/src/lib/components/confirmation-dialog/ConfirmationDialog.d.ts +1 -1
  15. package/src/lib/components/css-grid/CssCell.d.ts +2 -3
  16. package/src/lib/components/date-picker/DatePicker.d.ts +1 -1
  17. package/src/lib/components/dialog/Dialog.d.ts +1 -1
  18. package/src/lib/components/draggable-list/DraggableList.d.ts +1 -1
  19. package/src/lib/components/drawer/Drawer.d.ts +1 -1
  20. package/src/lib/components/file-upload/FileUpload.d.ts +1 -1
  21. package/src/lib/components/inline-edit/InlineEdit.d.ts +1 -1
  22. package/src/lib/components/input-form-fields/InputSelect.d.ts +1 -1
  23. package/src/lib/components/input-form-fields/InputText.d.ts +1 -1
  24. package/src/lib/components/link/Link.d.ts +1 -1
  25. package/src/lib/components/list/ListItem.d.ts +1 -1
  26. package/src/lib/components/list/NestedList.styles.d.ts +1 -1
  27. package/src/lib/components/menu/Menu.d.ts +2 -0
  28. package/src/lib/components/progress-button/ProgressButton.d.ts +1 -1
  29. package/src/lib/components/radio/RadioButton.d.ts +1 -1
  30. package/src/lib/components/split-button/SplitButton.d.ts +1 -1
  31. package/src/lib/components/switch/Switch.d.ts +1 -1
  32. package/src/lib/components/tabs/Tabs.d.ts +1 -1
  33. package/src/lib/components/time-picker/TimePicker.d.ts +1 -1
package/index.esm.js CHANGED
@@ -155,6 +155,7 @@ const DotAccordion = ({
155
155
  ariaLabel,
156
156
  children,
157
157
  className,
158
+ 'data-pendoid': dataPendoId = rootClassName$16,
158
159
  'data-testid': dataTestId = 'dot-accordion',
159
160
  disabled: _disabled = false,
160
161
  expanded,
@@ -178,6 +179,7 @@ const DotAccordion = ({
178
179
  return jsxs(StyledAccordion, {
179
180
  "aria-label": ariaLabel,
180
181
  className: rootClasses,
182
+ "data-pendoid": dataPendoId,
181
183
  "data-testid": dataTestId,
182
184
  disabled: _disabled,
183
185
  elevation: elevation,
@@ -1349,6 +1351,7 @@ const DotAlertBanner = ({
1349
1351
  ariaLabel,
1350
1352
  children,
1351
1353
  className,
1354
+ 'data-pendoid': dataPendoId = rootClassName$13,
1352
1355
  'data-testid': dataTestId,
1353
1356
  onClose,
1354
1357
  roundedCorners: _roundedCorners = true,
@@ -1375,6 +1378,7 @@ const DotAlertBanner = ({
1375
1378
  classes: {
1376
1379
  root: rootClasses
1377
1380
  },
1381
+ "data-pendoid": dataPendoId,
1378
1382
  "data-testid": dataTestId,
1379
1383
  iconMapping: AlertBannerIconMapping,
1380
1384
  onClose: onClose,
@@ -2154,6 +2158,7 @@ const DotButton = /*#__PURE__*/forwardRef(({
2154
2158
  autoFocus: _autoFocus = false,
2155
2159
  children,
2156
2160
  className,
2161
+ 'data-pendoid': dataPendoId = rootClassName$11,
2157
2162
  'data-testid': dataTestId,
2158
2163
  disabled: _disabled = false,
2159
2164
  disableRipple: _disableRipple = false,
@@ -2198,6 +2203,7 @@ const DotButton = /*#__PURE__*/forwardRef(({
2198
2203
  root: rootClasses
2199
2204
  },
2200
2205
  color: color,
2206
+ "data-pendoid": dataPendoId,
2201
2207
  "data-testid": dataTestId,
2202
2208
  disableRipple: _disableRipple,
2203
2209
  disabled: _disabled,
@@ -2229,6 +2235,7 @@ const DotLink = ({
2229
2235
  children,
2230
2236
  className,
2231
2237
  color: _color = 'primary',
2238
+ 'data-pendoid': dataPendoId = rootClassName$10,
2232
2239
  'data-testid': dataTestId,
2233
2240
  href,
2234
2241
  onClick,
@@ -2265,6 +2272,7 @@ const DotLink = ({
2265
2272
  root: rootClasses
2266
2273
  },
2267
2274
  color: _color === 'initial' ? 'inherit' : _color,
2275
+ "data-pendoid": dataPendoId,
2268
2276
  "data-testid": dataTestId,
2269
2277
  href: href,
2270
2278
  onClick: onClick,
@@ -2547,6 +2555,7 @@ const DotMenuList = /*#__PURE__*/forwardRef(({
2547
2555
  ariaLabel: itemAriaLabel,
2548
2556
  children,
2549
2557
  classes,
2558
+ 'data-pendoid': dataPendoId = 'dot-menu-list-item',
2550
2559
  disabled,
2551
2560
  divider,
2552
2561
  height,
@@ -2574,6 +2583,7 @@ const DotMenuList = /*#__PURE__*/forwardRef(({
2574
2583
  autoFocus: hasAutoFocus,
2575
2584
  "aria-label": itemAriaLabel,
2576
2585
  className: menuItemClasses,
2586
+ "data-pendoid": dataPendoId,
2577
2587
  disabled: disabled,
2578
2588
  disableRipple: hasSubmenu,
2579
2589
  divider: divider,
@@ -2732,14 +2742,16 @@ const StyledIconButton = styled(IconButton).withConfig({
2732
2742
  displayName: "IconButtonstyles__StyledIconButton",
2733
2743
  componentId: "eko0kb-0"
2734
2744
  })(["", ""], ({
2735
- theme
2736
- }) => css(["&.", "{color:", ";font-size:inherit;padding:10px;&:hover{background-color:", ";}&:active{background-color:", ";}&:focus{background-color:", ";}&.Mui-disabled .dot-icon{color:", ";}&.ripple-disabled{&:hover,&:focus{background:", ";}}&.shape-square{border-radius:4px;border:1px solid ", ";padding:", ";&:active{background:", ";}}.dot-icon.MuiIcon-fontSizeSmall{padding:1px;}&.MuiIconButton-sizeSmall{padding:3px;}"], rootClassName$U, theme.palette.figma.icon.black, theme.palette.figma.neutral.elevated, theme.palette.figma.neutral.ripple, theme.palette.figma.neutral.active, theme.palette.figma.icon.disabled, theme.palette.figma.neutral.elevated, theme.palette.figma.border.defaultButton, theme.spacing(1), theme.palette.figma.toggleTabs.bckg));
2745
+ theme,
2746
+ color
2747
+ }) => css(["&.", "{", " ", " font-size:inherit;padding:10px;&:hover{background-color:", ";}&:active{background-color:", ";}&:focus{background-color:", ";}&.Mui-disabled .dot-icon{color:", ";}&.ripple-disabled{&:hover,&:focus{background:", ";}}&.shape-square{border-radius:4px;border:1px solid ", ";padding:", ";&:active{background:", ";}}.dot-icon{color:inherit;}.dot-icon.MuiIcon-fontSizeSmall{padding:1px;}&.MuiIconButton-sizeSmall{padding:3px;}"], rootClassName$U, color === 'inherit' ? css(["color:inherit;"]) : '', color === 'default' ? css(["color:", ";"], theme.palette.figma.icon.black) : '', theme.palette.figma.neutral.elevated, theme.palette.figma.neutral.ripple, theme.palette.figma.neutral.active, theme.palette.figma.icon.disabled, theme.palette.figma.neutral.elevated, theme.palette.figma.border.defaultButton, theme.spacing(1), theme.palette.figma.toggleTabs.bckg));
2737
2748
 
2738
2749
  const DotIconButton = ({
2739
2750
  ariaLabel,
2740
2751
  ariaRole: _ariaRole = 'button',
2741
2752
  className,
2742
2753
  color: _color = 'inherit',
2754
+ 'data-pendoid': dataPendoId = rootClassName$U,
2743
2755
  'data-testid': dataTestId,
2744
2756
  disabled: _disabled = false,
2745
2757
  disableRipple: _disableRipple = false,
@@ -2761,6 +2773,7 @@ const DotIconButton = ({
2761
2773
  root: rootClasses
2762
2774
  },
2763
2775
  color: _color,
2776
+ "data-pendoid": dataPendoId,
2764
2777
  "data-testid": dataTestId,
2765
2778
  disableRipple: _disableRipple,
2766
2779
  disabled: _disabled,
@@ -2863,6 +2876,7 @@ const DotDrawer = ({
2863
2876
  ariaRole: _ariaRole = 'dialog',
2864
2877
  className,
2865
2878
  children,
2879
+ 'data-pendoid': dataPendoId = rootClassName$W,
2866
2880
  'data-testid': dataTestId,
2867
2881
  drawerBodyProps,
2868
2882
  drawerFooterProps,
@@ -2888,6 +2902,7 @@ const DotDrawer = ({
2888
2902
  const rootClasses = useStylesWithRootClass(rootClassName$W, className);
2889
2903
  const backdropEnabled = _variant === 'temporary' && !(ModalProps === null || ModalProps === void 0 ? void 0 : ModalProps.hideBackdrop);
2890
2904
  const headerExists = !!drawerHeaderProps;
2905
+ const bodyPendoId = drawerBodyProps ? drawerBodyProps['data-pendoid'] : 'drawer-body';
2891
2906
  const bodyTestId = drawerBodyProps ? drawerBodyProps[`data-testid`] : 'drawer-body';
2892
2907
  return jsxs(StyledDrawer, {
2893
2908
  ModalProps: ModalProps,
@@ -2902,6 +2917,7 @@ const DotDrawer = ({
2902
2917
  root: rootClasses,
2903
2918
  paper: 'dot-drawer-paper'
2904
2919
  },
2920
+ "data-pendoid": dataPendoId,
2905
2921
  "data-testid": dataTestId,
2906
2922
  height: height,
2907
2923
  onClose: handleClose,
@@ -2911,12 +2927,14 @@ const DotDrawer = ({
2911
2927
  width: _width,
2912
2928
  children: [drawerHeaderProps && jsx(DotDrawerHeader, {
2913
2929
  className: drawerHeaderProps.className,
2930
+ "data-pendoid": drawerHeaderProps['data-pendoid'],
2914
2931
  "data-testid": drawerHeaderProps[`data-testid`],
2915
2932
  onClose: handleClose,
2916
2933
  variant: _variant,
2917
2934
  children: drawerHeaderProps.children
2918
2935
  }), drawerBodyProps && jsx(DotDrawerBody, {
2919
2936
  className: drawerBodyProps === null || drawerBodyProps === void 0 ? void 0 : drawerBodyProps.className,
2937
+ "data-pendoid": bodyPendoId,
2920
2938
  "data-testid": bodyTestId,
2921
2939
  headerExists: headerExists,
2922
2940
  onClose: handleClose,
@@ -2924,6 +2942,7 @@ const DotDrawer = ({
2924
2942
  children: drawerBodyProps.children
2925
2943
  }), !drawerBodyProps && children, drawerFooterProps && jsx(DotDrawerFooter, {
2926
2944
  className: drawerFooterProps.className,
2945
+ "data-pendoid": drawerFooterProps['data-pendoid'],
2927
2946
  "data-testid": drawerFooterProps[`data-testid`],
2928
2947
  children: drawerFooterProps.children
2929
2948
  })]
@@ -3059,6 +3078,7 @@ const DotListItem = ({
3059
3078
  ariaRole: _ariaRole = 'listitem',
3060
3079
  className,
3061
3080
  component: _component = 'li',
3081
+ 'data-pendoid': dataPendoId = listItemRootClass,
3062
3082
  'data-testid': dataTestId,
3063
3083
  divider: _divider = false,
3064
3084
  endIcon,
@@ -3137,6 +3157,7 @@ const DotListItem = ({
3137
3157
  root: rootClasses
3138
3158
  },
3139
3159
  component: _component,
3160
+ "data-pendoid": dataPendoId,
3140
3161
  "data-testid": dataTestId,
3141
3162
  divider: _divider,
3142
3163
  href: onClick ? null : href,
@@ -3299,6 +3320,7 @@ const DotCopyButton = ({
3299
3320
  color: _color = 'inherit',
3300
3321
  copiedTooltip: _copiedTooltip = 'Copied!',
3301
3322
  copyTooltip: _copyTooltip = 'Copy to clipboard',
3323
+ 'data-pendoid': dataPendoId = rootClassName$R,
3302
3324
  'data-testid': dataTestId = 'dot-copy-button',
3303
3325
  disabled: _disabled = false,
3304
3326
  disableRipple: _disableRipple = false,
@@ -3353,6 +3375,7 @@ const DotCopyButton = ({
3353
3375
  ariaRole: _ariaRole,
3354
3376
  className: className,
3355
3377
  color: _color,
3378
+ "data-pendoid": dataPendoId,
3356
3379
  "data-testid": `${dataTestId}-button`,
3357
3380
  disabled: _disabled || timedDisabled,
3358
3381
  disableRipple: _disableRipple,
@@ -3434,6 +3457,7 @@ const DotInputText = ({
3434
3457
  autoFocus,
3435
3458
  className,
3436
3459
  defaultValue,
3460
+ 'data-pendoid': dataPendoId = rootClassName$15,
3437
3461
  'data-testid': dataTestId,
3438
3462
  disabled: _disabled = false,
3439
3463
  error: _error = false,
@@ -3584,6 +3608,7 @@ const DotInputText = ({
3584
3608
  },
3585
3609
  inputProps: {
3586
3610
  className: inputClassName,
3611
+ 'data-pendoid': dataPendoId,
3587
3612
  'data-testid': dataTestId,
3588
3613
  max,
3589
3614
  maxLength: maxLength,
@@ -4744,6 +4769,7 @@ const DotChip = ({
4744
4769
  charactersLimit: _charactersLimit = DEFAULT_CHARACTERS_LIMIT,
4745
4770
  children,
4746
4771
  className,
4772
+ 'data-pendoid': dataPendoId = rootClassName$J,
4747
4773
  'data-testid': dataTestId,
4748
4774
  disabled: _disabled = false,
4749
4775
  error: _error = false,
@@ -4774,6 +4800,7 @@ const DotChip = ({
4774
4800
  },
4775
4801
  clickable: _isClickable,
4776
4802
  color: "default",
4803
+ "data-pendoid": dataPendoId,
4777
4804
  "data-testid": dataTestId,
4778
4805
  disabled: _disabled,
4779
4806
  icon: avatar ? null : startIcon,
@@ -4852,6 +4879,7 @@ const DotAutoComplete = ({
4852
4879
  ariaLabel,
4853
4880
  autoFocus,
4854
4881
  className,
4882
+ 'data-pendoid': dataPendoId = rootClassName$K,
4855
4883
  'data-testid': dataTestId,
4856
4884
  defaultValue,
4857
4885
  dense: _dense = true,
@@ -5073,6 +5101,7 @@ const DotAutoComplete = ({
5073
5101
  root: rootClasses,
5074
5102
  inputRoot: inputRootClasses
5075
5103
  },
5104
+ "data-pendoid": dataPendoId,
5076
5105
  "data-testid": dataTestId,
5077
5106
  defaultValue: _multiple && isString$1(defaultValue) ? [defaultValue] : defaultValue,
5078
5107
  disabled: _disabled,
@@ -5548,6 +5577,7 @@ const DotButtonToggle = ({
5548
5577
  buttonOptions,
5549
5578
  className,
5550
5579
  color,
5580
+ 'data-pendoid': dataPendoId = rootClassName$G,
5551
5581
  'data-testid': dataTestId = 'dot-toggle',
5552
5582
  disableFocusRipple: _disableFocusRipple = false,
5553
5583
  disableRipple: _disableRipple = false,
@@ -5601,6 +5631,7 @@ const DotButtonToggle = ({
5601
5631
  root: rootClasses
5602
5632
  },
5603
5633
  color: color,
5634
+ "data-pendoid": dataPendoId,
5604
5635
  "data-testid": dataTestId,
5605
5636
  exclusive: _exclusive,
5606
5637
  onChange: onChange,
@@ -5747,6 +5778,7 @@ function DotCheckbox({
5747
5778
  ariaLabelledby,
5748
5779
  checked,
5749
5780
  className,
5781
+ 'data-pendoid': dataPendoId = rootClassName$D,
5750
5782
  'data-testid': dataTestId,
5751
5783
  disabled,
5752
5784
  disableRipple,
@@ -5771,6 +5803,7 @@ function DotCheckbox({
5771
5803
  root: rootClassName$C
5772
5804
  },
5773
5805
  color: "primary",
5806
+ "data-pendoid": dataPendoId,
5774
5807
  "data-testid": dataTestId,
5775
5808
  disableRipple: disableRipple,
5776
5809
  disabled: disabled,
@@ -5970,6 +6003,7 @@ const DotDialog = ({
5970
6003
  cancelButtonProps,
5971
6004
  cancelButtonVisible: _cancelButtonVisible = true,
5972
6005
  className,
6006
+ 'data-pendoid': dataPendoId = rootClassName$y,
5973
6007
  'data-testid': dataTestId,
5974
6008
  children,
5975
6009
  closeIconVisible,
@@ -6014,6 +6048,7 @@ const DotDialog = ({
6014
6048
  classes: {
6015
6049
  root: rootClasses
6016
6050
  },
6051
+ "data-pendoid": dataPendoId,
6017
6052
  "data-testid": dataTestId,
6018
6053
  onClose: handleClickAway,
6019
6054
  open: isOpen,
@@ -6039,6 +6074,7 @@ const DotDialog = ({
6039
6074
  children: [_cancelButtonVisible && jsx(DotButton, {
6040
6075
  autoFocus: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.autoFocus,
6041
6076
  className: cancelClasses,
6077
+ "data-pendoid": cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps['data-pendoid'],
6042
6078
  "data-testid": cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps['data-testid'],
6043
6079
  disableRipple: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.disableRipple,
6044
6080
  disabled: cancelButtonProps === null || cancelButtonProps === void 0 ? void 0 : cancelButtonProps.disabled,
@@ -6051,6 +6087,7 @@ const DotDialog = ({
6051
6087
  }), _hasPrimaryAction && jsx(DotButton, {
6052
6088
  autoFocus: submitButtonProps === null || submitButtonProps === void 0 ? void 0 : submitButtonProps.autoFocus,
6053
6089
  className: submitButtonProps === null || submitButtonProps === void 0 ? void 0 : submitButtonProps.className,
6090
+ "data-pendoid": submitButtonProps === null || submitButtonProps === void 0 ? void 0 : submitButtonProps['data-pendoid'],
6054
6091
  "data-testid": submitButtonProps === null || submitButtonProps === void 0 ? void 0 : submitButtonProps['data-testid'],
6055
6092
  disableRipple: submitButtonProps === null || submitButtonProps === void 0 ? void 0 : submitButtonProps.disableRipple,
6056
6093
  disabled: submitButtonProps === null || submitButtonProps === void 0 ? void 0 : submitButtonProps.disabled,
@@ -6069,6 +6106,7 @@ const DotConfirmationDialog = ({
6069
6106
  ariaLabel,
6070
6107
  cancelButtonProps,
6071
6108
  className,
6109
+ 'data-pendoid': dataPendoId = 'dot-confirmation-dialog',
6072
6110
  'data-testid': dataTestId,
6073
6111
  message: _message = '',
6074
6112
  onCancel,
@@ -6085,6 +6123,7 @@ const DotConfirmationDialog = ({
6085
6123
  ariaLabel: ariaLabel,
6086
6124
  cancelButtonProps: cancelButtonProps,
6087
6125
  className: rootClasses,
6126
+ "data-pendoid": dataPendoId,
6088
6127
  "data-testid": dataTestId,
6089
6128
  onCancel: onCancel,
6090
6129
  onSubmit: onSubmit,
@@ -6203,19 +6242,18 @@ const CssCell = styled(Cell).withConfig({
6203
6242
  middle: _middle = true,
6204
6243
  md,
6205
6244
  sm,
6206
- start,
6207
6245
  theme,
6208
6246
  top,
6209
- width,
6210
6247
  xl,
6248
+ xxl,
6211
6249
  xs
6212
- }) => css(["height:", ";min-width:0;box-sizing:border-box;", ";", ";", ";", ";grid-row-end:", ";", ";", ";", " ", " ", " ", " ", " ", " grid-column:", ";}"], height ? height : '100%', top && `grid-row-start: ${top}`, _center && `text-align: center`, !start && `grid-column-start: ${start}`, !width && `grid-column-end: span ${width}`, height && `span ${height}`, area && `grid-area: ${area}`, _middle && `
6250
+ }) => css(["height:", ";min-width:0;box-sizing:border-box;", ";", ";grid-row-end:", ";", ";", ";", " ", " ", " ", " ", " ", " grid-column:", ";}"], height ? height : '100%', top && `grid-row-start: ${top}`, _center && `text-align: center`, height && `span ${height}`, area && `grid-area: ${area}`, _middle && `
6213
6251
  display: inline-flex;
6214
6252
  flex-flow: column wrap;
6215
6253
  justify-content: ${_justifyContent};
6216
6254
  align-items: ${_alignItems};
6217
6255
  justify-self: stretch;
6218
- `, xs && breakpointsGetter(xs, theme, 'xs'), sm && breakpointsGetter(sm, theme, 'sm'), md && breakpointsGetter(md, theme, 'md'), lg && breakpointsGetter(lg, theme, 'lg'), lg && breakpointsGetter(lg, theme, 'lg'), xl && breakpointsGetter(lg, theme, 'xl'), gridColumn));
6256
+ `, xs && breakpointsGetter(xs, theme, 'xs'), sm && breakpointsGetter(sm, theme, 'sm'), md && breakpointsGetter(md, theme, 'md'), lg && breakpointsGetter(lg, theme, 'lg'), xl && breakpointsGetter(xl, theme, 'xl'), xxl && breakpointsGetter(xxl, theme, 'xxl'), gridColumn));
6219
6257
 
6220
6258
  const gridClassName = 'debug-grid';
6221
6259
  const gridClassContainer = 'debug-grid-container';
@@ -6306,13 +6344,9 @@ const CssGridDebug = ({
6306
6344
  }), jsx(StyledGridOverlay, {
6307
6345
  className: gridClassName,
6308
6346
  rows: "minmax(100vh, 100%)",
6309
- children: [...Array(columns)].map((item, i) => {
6310
- return jsx(CssCell, {
6311
- className: `${cellClassName}`,
6312
- start: i + 1,
6313
- width: 1
6314
- }, i);
6315
- })
6347
+ children: Array.from(Array(columns), (_item, i) => jsx(CssCell, {
6348
+ className: `${cellClassName}`
6349
+ }, i))
6316
6350
  })]
6317
6351
  });
6318
6352
  };
@@ -6583,6 +6617,7 @@ const DotInputSelect = ({
6583
6617
  ariaLabel,
6584
6618
  autoFocus,
6585
6619
  className,
6620
+ 'data-pendoid': dataPendoId = rootSelectClassName,
6586
6621
  'data-testid': dataTestId,
6587
6622
  defaultValue,
6588
6623
  disabled: _disabled = false,
@@ -6661,6 +6696,7 @@ const DotInputSelect = ({
6661
6696
  },
6662
6697
  inputProps: {
6663
6698
  'aria-label': ariaLabel,
6699
+ 'data-pendoid': dataPendoId,
6664
6700
  'data-testid': dataTestId,
6665
6701
  className: inputStyles,
6666
6702
  readOnly: _readOnly
@@ -6702,6 +6738,7 @@ const DotProgressButton = ({
6702
6738
  ariaLabel,
6703
6739
  children,
6704
6740
  className,
6741
+ 'data-pendoid': dataPendoId = rootClassName$t,
6705
6742
  'data-testid': dataTestId,
6706
6743
  disabled: _disabled = false,
6707
6744
  disableRipple: _disableRipple = false,
@@ -6721,6 +6758,7 @@ const DotProgressButton = ({
6721
6758
  return jsxs(StyledProgressButton, {
6722
6759
  ariaLabel: ariaLabel || tooltip,
6723
6760
  className: rootClasses,
6761
+ "data-pendoid": dataPendoId,
6724
6762
  "data-testid": dataTestId,
6725
6763
  disableRipple: _disableRipple,
6726
6764
  disabled: isButtonDisabled,
@@ -6753,6 +6791,7 @@ function DotRadioButton({
6753
6791
  ariaLabel,
6754
6792
  checked,
6755
6793
  className,
6794
+ 'data-pendoid': dataPendoId = rootClassName$D,
6756
6795
  'data-testid': dataTestId,
6757
6796
  disabled,
6758
6797
  id,
@@ -6776,6 +6815,7 @@ function DotRadioButton({
6776
6815
  root: rootClassName$s
6777
6816
  },
6778
6817
  color: "primary",
6818
+ "data-pendoid": dataPendoId,
6779
6819
  "data-testid": dataTestId,
6780
6820
  disabled: disabled,
6781
6821
  id: id,
@@ -6896,6 +6936,7 @@ const DotSwitch = ({
6896
6936
  checked,
6897
6937
  className,
6898
6938
  color,
6939
+ 'data-pendoid': dataPendoId = rootClassName$r,
6899
6940
  'data-testid': dataTestId,
6900
6941
  disabled: _disabled = false,
6901
6942
  id,
@@ -6922,6 +6963,7 @@ const DotSwitch = ({
6922
6963
  root: rootClasses
6923
6964
  },
6924
6965
  color: "primary",
6966
+ "data-pendoid": dataPendoId,
6925
6967
  "data-testid": dataTestId,
6926
6968
  disabled: _disabled,
6927
6969
  id: id,
@@ -7601,6 +7643,7 @@ const DotInlineEdit = ({
7601
7643
  bindings,
7602
7644
  charactersLimit,
7603
7645
  className,
7646
+ 'data-pendoid': dataPendoId = rootClassName$q,
7604
7647
  'data-testid': dataTestId,
7605
7648
  fullWidth: _fullWidth = true,
7606
7649
  hideActionButtons,
@@ -7750,6 +7793,7 @@ const DotInlineEdit = ({
7750
7793
  error: false,
7751
7794
  fullWidth: _fullWidth,
7752
7795
  inputProps: {
7796
+ 'data-pendoid': `${dataPendoId}-input`,
7753
7797
  'data-testid': `${dataTestId}-input`,
7754
7798
  className: 'dot-input',
7755
7799
  maxLength: charactersLimit === null || charactersLimit === void 0 ? void 0 : charactersLimit.maxLength
@@ -7766,6 +7810,7 @@ const DotInlineEdit = ({
7766
7810
  }), !hideActionButtons && jsxs("div", {
7767
7811
  className: editActionsClassName,
7768
7812
  children: [jsx(DotButton, {
7813
+ "data-pendoid": dataPendoId && `${dataPendoId}-cancel`,
7769
7814
  "data-testid": dataTestId && `${dataTestId}-cancel`,
7770
7815
  onClick: handleCancel,
7771
7816
  size: "small",
@@ -7775,6 +7820,7 @@ const DotInlineEdit = ({
7775
7820
  iconId: "close"
7776
7821
  })
7777
7822
  }), jsx(DotButton, {
7823
+ "data-pendoid": dataPendoId && `${dataPendoId}-save`,
7778
7824
  "data-testid": dataTestId && `${dataTestId}-save`,
7779
7825
  disabled: isSaveDisabled,
7780
7826
  onClick: handleSave,
@@ -7792,6 +7838,7 @@ const DotInlineEdit = ({
7792
7838
  "aria-expanded": editing ? true : false,
7793
7839
  "aria-label": ariaLabel,
7794
7840
  className: rootClasses,
7841
+ "data-pendoid": dataPendoId,
7795
7842
  "data-testid": dataTestId,
7796
7843
  fullWidth: _fullWidth,
7797
7844
  onBlur: !readOnly ? handleBlur : undefined,
@@ -8145,6 +8192,7 @@ const DotSplitButton = ({
8145
8192
  autoFocus: _autoFocus = false,
8146
8193
  ariaLabel,
8147
8194
  className,
8195
+ 'data-pendoid': dataPendoId = rootClassName$k,
8148
8196
  'data-testid': dataTestId,
8149
8197
  defaultMainOptionKey,
8150
8198
  disabled: _disabled = false,
@@ -8185,6 +8233,7 @@ const DotSplitButton = ({
8185
8233
  children: [jsx(DotButton, {
8186
8234
  autoFocus: _autoFocus,
8187
8235
  className: "label-button",
8236
+ "data-pendoid": dataPendoId,
8188
8237
  "data-testid": dataTestId,
8189
8238
  disableRipple: _disableRipple,
8190
8239
  disabled: isMainOptionDisabled,
@@ -8196,6 +8245,7 @@ const DotSplitButton = ({
8196
8245
  children: mainOptionChildren
8197
8246
  }), jsx(DotButton, {
8198
8247
  className: "expand-button",
8248
+ "data-pendoid": dataPendoId && `${dataPendoId}-expand`,
8199
8249
  "data-testid": dataTestId && `${dataTestId}-expand`,
8200
8250
  disableRipple: _disableRipple,
8201
8251
  disabled: isMenuButtonDisabled,
@@ -9804,6 +9854,7 @@ const DotTabs = ({
9804
9854
  centered: _centered = false,
9805
9855
  className,
9806
9856
  color,
9857
+ 'data-pendoid': dataPendoId = rootClassName$8,
9807
9858
  'data-testid': dataTestId,
9808
9859
  initialValue: _initialValue = 0,
9809
9860
  onChange,
@@ -9839,6 +9890,7 @@ const DotTabs = ({
9839
9890
  });
9840
9891
  const tabElement = jsx(Tab, {
9841
9892
  "aria-label": tab.ariaLabel,
9893
+ "data-pendoid": tab['data-pendoid'],
9842
9894
  "data-testid": tab['data-testid'],
9843
9895
  disableRipple: true,
9844
9896
  disabled: tab.disabled,
@@ -9853,6 +9905,7 @@ const DotTabs = ({
9853
9905
  classes: {
9854
9906
  root: rootClasses
9855
9907
  },
9908
+ "data-pendoid": dataPendoId,
9856
9909
  "data-testid": dataTestId,
9857
9910
  indicatorColor: "primary",
9858
9911
  onChange: handleChange,
@@ -10051,6 +10104,7 @@ const DotFileUpload = ({
10051
10104
  },
10052
10105
  buttonOnly: _buttonOnly = false,
10053
10106
  className,
10107
+ 'data-pendoid': dataPendoId = rootClassName$7,
10054
10108
  'data-testid': dataTestId,
10055
10109
  disabled,
10056
10110
  hideFilesList,
@@ -10117,6 +10171,7 @@ const DotFileUpload = ({
10117
10171
  children: [jsxs(StyledFileUpload, Object.assign({}, getRootProps(), {
10118
10172
  "aria-label": ariaLabel,
10119
10173
  className: rootClasses,
10174
+ "data-pendoid": dataPendoId,
10120
10175
  "data-testid": dataTestId,
10121
10176
  children: [jsx("input", Object.assign({}, getInputProps())), renderDropzoneContent({
10122
10177
  buttonProps: _buttonProps,
@@ -10248,6 +10303,7 @@ const ListGridLayout = WidthProvider(GridLayout);
10248
10303
  const DotDraggableList = ({
10249
10304
  ariaLabel,
10250
10305
  className,
10306
+ 'data-pendoid': dataPendoId = rootClassName$4,
10251
10307
  'data-testid': dataTestId,
10252
10308
  disableDrag,
10253
10309
  draggableHandle,
@@ -10273,6 +10329,7 @@ const DotDraggableList = ({
10273
10329
  return jsx(StyledDraggableList, {
10274
10330
  "aria-label": ariaLabel,
10275
10331
  className: rootClasses,
10332
+ "data-pendoid": dataPendoId,
10276
10333
  "data-testid": dataTestId,
10277
10334
  draggableHandle: draggableHandle,
10278
10335
  width: listWidth,
@@ -10293,6 +10350,7 @@ const DotDraggableList = ({
10293
10350
  children
10294
10351
  }) => {
10295
10352
  return jsx(ListItem, {
10353
+ "data-pendoid": dataPendoId && `${dataPendoId}-item`,
10296
10354
  "data-testid": dataTestId && `${dataTestId}-item`,
10297
10355
  button: true,
10298
10356
  children: renderNodeOrTypography(children),
@@ -10396,6 +10454,7 @@ const DotDatePicker = ({
10396
10454
  autoFocus: _autoFocus = false,
10397
10455
  className,
10398
10456
  closeOnSelect: _closeOnSelect = true,
10457
+ 'data-pendoid': dataPendoId = rootClassName$2,
10399
10458
  'data-testid': dataTestId,
10400
10459
  defaultValue,
10401
10460
  disableOpenPicker,
@@ -10492,10 +10551,12 @@ const DotDatePicker = ({
10492
10551
  };
10493
10552
  return jsx(StyledDatePickerContainer, {
10494
10553
  className: containerClasses,
10554
+ "data-pendoid": dataPendoId,
10495
10555
  "data-testid": dataTestId,
10496
10556
  children: jsxs(LocalizationProvider, {
10497
10557
  dateAdapter: AdapterDayjs,
10498
10558
  children: [persistentLabel && jsx(DotInputLabel, {
10559
+ 'data-pendoid': 'date-picker-persistent-label',
10499
10560
  'data-testid': 'date-picker-persistent-label',
10500
10561
  disabled,
10501
10562
  error,
@@ -10532,6 +10593,7 @@ const DotDatePicker = ({
10532
10593
  iconId: "error-solid"
10533
10594
  }), jsx(DotIconButton, {
10534
10595
  ariaLabel: "Open date picker",
10596
+ "data-pendoid": "date-picker-open-btn",
10535
10597
  "data-testid": "date-picker-open-btn",
10536
10598
  iconId: "calendar",
10537
10599
  onClick: pickerButtonProps.onClick,
@@ -10549,6 +10611,7 @@ const DotDatePicker = ({
10549
10611
  focused: isInputReadOnly ? false : undefined,
10550
10612
  inputProps: {
10551
10613
  className: 'dot-input',
10614
+ 'data-pendoid': 'dot-date-picker-input',
10552
10615
  'data-testid': 'dot-date-picker-input',
10553
10616
  onBlur
10554
10617
  },
@@ -10669,6 +10732,7 @@ const DotTimePicker = ({
10669
10732
  ariaLabel,
10670
10733
  autoFocus: _autoFocus = false,
10671
10734
  className,
10735
+ 'data-pendoid': dataPendoId = rootClassName$1,
10672
10736
  'data-testid': dataTestId,
10673
10737
  defaultValue,
10674
10738
  disableOpenPicker: _disableOpenPicker = false,
@@ -10839,6 +10903,7 @@ const DotTimePicker = ({
10839
10903
  const isSelected = pickerTime ? selectedPickerHour === hour : false;
10840
10904
  return jsx(DotButton, {
10841
10905
  className: "dot-picker-button",
10906
+ "data-pendoid": dataPendoId && `${dataPendoId}-hour-button-${hour}`,
10842
10907
  "data-testid": dataTestId && `${dataTestId}-hour-button-${hour}`,
10843
10908
  onClick: () => handleHourClick(hour),
10844
10909
  onKeyDown: handleTimeKeydown(hoursRef, index),
@@ -10851,6 +10916,7 @@ const DotTimePicker = ({
10851
10916
  const isSelected = pickerTime ? pickerTime.minute() === minute : false;
10852
10917
  return jsx(DotButton, {
10853
10918
  className: "dot-picker-button",
10919
+ "data-pendoid": dataPendoId && `${dataPendoId}-minute-button-${minute}`,
10854
10920
  "data-testid": dataTestId && `${dataTestId}-minute-button-${minute}`,
10855
10921
  type: isSelected ? 'primary' : 'text',
10856
10922
  onClick: () => handleMinuteClick(minute),
@@ -10862,12 +10928,14 @@ const DotTimePicker = ({
10862
10928
  const renderTimePickerActionButtons = () => jsxs("div", {
10863
10929
  className: "dot-time-picker-action-buttons",
10864
10930
  children: [jsx(DotButton, {
10931
+ "data-pendoid": dataPendoId && `${dataPendoId}-cancel`,
10865
10932
  "data-testid": dataTestId && `${dataTestId}-cancel`,
10866
10933
  onClick: handleCancel,
10867
10934
  size: "small",
10868
10935
  type: "text",
10869
10936
  children: "Cancel"
10870
10937
  }), jsx(DotButton, {
10938
+ "data-pendoid": dataPendoId && `${dataPendoId}-set`,
10871
10939
  "data-testid": dataTestId && `${dataTestId}-set`,
10872
10940
  onClick: handleSet,
10873
10941
  size: "small",
@@ -10880,6 +10948,7 @@ const DotTimePicker = ({
10880
10948
  ref: daytimeRef,
10881
10949
  children: [jsx(DotButton, {
10882
10950
  className: "dot-picker-button",
10951
+ "data-pendoid": dataPendoId && `${dataPendoId}-am-button`,
10883
10952
  "data-testid": dataTestId && `${dataTestId}-am-button`,
10884
10953
  onClick: () => handleDaytimeSelection(Daytime.AM),
10885
10954
  onKeyDown: handleTimeKeydown(daytimeRef, 0),
@@ -10888,6 +10957,7 @@ const DotTimePicker = ({
10888
10957
  children: Daytime.AM
10889
10958
  }, Daytime.AM), jsx(DotButton, {
10890
10959
  className: "dot-picker-button",
10960
+ "data-pendoid": dataPendoId && `${dataPendoId}-pm-button`,
10891
10961
  "data-testid": dataTestId && `${dataTestId}-pm-button`,
10892
10962
  onClick: () => handleDaytimeSelection(Daytime.PM),
10893
10963
  onKeyDown: handleTimeKeydown(daytimeRef, 1),
@@ -10914,6 +10984,7 @@ const DotTimePicker = ({
10914
10984
  });
10915
10985
  return jsxs(StyledTimePickerContainer, {
10916
10986
  className: containerClasses,
10987
+ "data-pendoid": dataPendoId,
10917
10988
  "data-testid": dataTestId,
10918
10989
  onKeyDown: handleTimePickerKeyDown,
10919
10990
  children: [jsxs(LocalizationProvider, {
@@ -10948,6 +11019,7 @@ const DotTimePicker = ({
10948
11019
  iconId: "error-solid"
10949
11020
  }), !_disableOpenPicker && !isComponentReadOnly && !disabled && jsx(DotIconButton, {
10950
11021
  ariaLabel: "Open time picker",
11022
+ "data-pendoid": dataPendoId && `${dataPendoId}-open-btn`,
10951
11023
  "data-testid": dataTestId && `${dataTestId}-open-btn`,
10952
11024
  iconId: "pending-clock",
10953
11025
  onClick: _event => handleTimePickerButtonClick(),
@@ -10957,6 +11029,7 @@ const DotTimePicker = ({
10957
11029
  },
10958
11030
  inputProps: {
10959
11031
  className: 'dot-input',
11032
+ 'data-pendoid': dataPendoId && `${dataPendoId}-input`,
10960
11033
  'data-testid': dataTestId && `${dataTestId}-input`,
10961
11034
  onBlur
10962
11035
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "2.23.0",
3
+ "version": "2.24.1",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -4,8 +4,10 @@ export interface CommonProps {
4
4
  ariaLabel?: string;
5
5
  /** The ARIA role attribute of the element **/
6
6
  ariaRole?: AriaRoles;
7
- /** classes to be attributed to the root of the component */
7
+ /** classes to be attributed to the root of the component **/
8
8
  className?: string;
9
- /** data attribute passed through for testing purposes ONLY */
9
+ /** data attribute passed through for pendo purposes ONLY **/
10
+ 'data-pendoid'?: string;
11
+ /** data attribute passed through for testing purposes ONLY **/
10
12
  'data-testid'?: string;
11
13
  }
@@ -25,4 +25,4 @@ export interface AccordionProps extends CommonProps {
25
25
  /** The text within the expanded Accordion */
26
26
  summary: ReactNode | string;
27
27
  }
28
- export declare const DotAccordion: ({ actions, ariaLabel, children, className, "data-testid": dataTestId, disabled, expanded, hasElevation, onChange, square, startIcon, summary, noWrap, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
28
+ export declare const DotAccordion: ({ actions, ariaLabel, children, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, expanded, hasElevation, onChange, square, startIcon, summary, noWrap, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
@@ -16,4 +16,4 @@ export interface AlertBannerProps extends CommonProps {
16
16
  /** when specified, will control the text that is used inside the alert banner */
17
17
  textVariant?: TypographyVariant;
18
18
  }
19
- export declare const DotAlertBanner: ({ action, ariaLabel, children, className, "data-testid": dataTestId, onClose, roundedCorners, severity, textVariant, }: AlertBannerProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const DotAlertBanner: ({ action, ariaLabel, children, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, onClose, roundedCorners, severity, textVariant, }: AlertBannerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export declare const rootClassName = "dot-app-switcher";
2
- export declare const StyledAppSwitcher: import("styled-components").StyledComponent<({ anchor, ariaLabel, ariaRole, className, children, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: import("../drawer/Drawer").DrawerProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
2
+ export declare const StyledAppSwitcher: import("styled-components").StyledComponent<({ anchor, ariaLabel, ariaRole, className, children, "data-pendoid": dataPendoId, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: import("../drawer/Drawer").DrawerProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
@@ -1,4 +1,4 @@
1
1
  export declare const rootClassName = "dot-app-toolbar";
2
2
  export declare const denseClassName = "dense";
3
- export declare const StyledMainMenu: import("styled-components").StyledComponent<({ anchor, ariaLabel, ariaRole, className, children, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: import("../drawer/Drawer").DrawerProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
3
+ export declare const StyledMainMenu: import("styled-components").StyledComponent<({ anchor, ariaLabel, ariaRole, className, children, "data-pendoid": dataPendoId, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: import("../drawer/Drawer").DrawerProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
4
4
  export declare const StyledAppToolbar: import("styled-components").StyledComponent<"header", any, {}, never>;
@@ -86,4 +86,4 @@ export interface AutoCompleteProps<T extends AutoCompleteOption = AutoCompleteOp
86
86
  /** If true, the label will be displayed in a warning state. */
87
87
  warning?: boolean;
88
88
  }
89
- export declare const DotAutoComplete: <T extends AutoCompleteOption>({ ListboxComponent, actionItem, ariaLabel, autoFocus, className, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterOptions, filterSelectedOptions, freesolo, checkIfOptionDisabled, group, helperText, inputId, inputRef, inputValue, isOptionEqualToValue, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, readOnly, renderOption, renderTags, required, size, value, warning, }: AutoCompleteProps<T>) => import("react/jsx-runtime").JSX.Element;
89
+ export declare const DotAutoComplete: <T extends AutoCompleteOption>({ ListboxComponent, actionItem, ariaLabel, autoFocus, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, dense, disabled, disablePortal, endAdornmentTooltip, error, filterOptions, filterSelectedOptions, freesolo, checkIfOptionDisabled, group, helperText, inputId, inputRef, inputValue, isOptionEqualToValue, label, loading, maxHeight, multiple, onBlur, onChange, onClose, onInputChange, onOpen, open, options, persistentLabel, placeholder, readOnly, renderOption, renderTags, required, size, value, warning, }: AutoCompleteProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -11,4 +11,4 @@ export interface CopyButtonProps extends CommonIconButtonProps {
11
11
  /** The content which will be copied to the clipboard */
12
12
  value: string;
13
13
  }
14
- export declare const DotCopyButton: ({ ariaLabel, ariaRole, className, color, copiedTooltip, copyTooltip, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, shape, showCopiedIcon, size, tooltip, value, }: CopyButtonProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const DotCopyButton: ({ ariaLabel, ariaRole, className, color, copiedTooltip, copyTooltip, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, shape, showCopiedIcon, size, tooltip, value, }: CopyButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -26,4 +26,4 @@ export interface IconButtonProps extends CommonIconButtonProps {
26
26
  /** The icon to display on the button */
27
27
  iconId: string;
28
28
  }
29
- export declare const DotIconButton: ({ ariaLabel, ariaRole, className, color, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, tooltip, shape, size, }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
29
+ export declare const DotIconButton: ({ ariaLabel, ariaRole, className, color, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, tooltip, shape, size, }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -21,4 +21,4 @@ export interface ButtonToggleProps extends CommonProps {
21
21
  /** The value to associate with the button when selected in a ToggleButtonGroup */
22
22
  value?: ButtonToggleValue;
23
23
  }
24
- export declare const DotButtonToggle: ({ ariaLabel, buttonOptions, className, color, "data-testid": dataTestId, disableFocusRipple, disableRipple, exclusive, onChange, orientation, size, value, }: ButtonToggleProps) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const DotButtonToggle: ({ ariaLabel, buttonOptions, className, color, "data-pendoid": dataPendoId, "data-testid": dataTestId, disableFocusRipple, disableRipple, exclusive, onChange, orientation, size, value, }: ButtonToggleProps) => import("react/jsx-runtime").JSX.Element;
@@ -9,4 +9,4 @@ export interface CheckboxProps extends RadioButtonProps {
9
9
  /** if true the checkbox will display with intermediate */
10
10
  indeterminate?: boolean;
11
11
  }
12
- export declare function DotCheckbox({ ariaLabel, ariaLabelledby, checked, className, 'data-testid': dataTestId, disabled, disableRipple, id, indeterminate, inputRef, label, labelPlacement, name, onChange, required, size, value, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function DotCheckbox({ ariaLabel, ariaLabelledby, checked, className, 'data-pendoid': dataPendoId, 'data-testid': dataTestId, disabled, disableRipple, id, indeterminate, inputRef, label, labelPlacement, name, onChange, required, size, value, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
@@ -26,4 +26,4 @@ export interface ChipProps extends CommonProps {
26
26
  /** The icon to display on the chip */
27
27
  startIcon?: ReactElement;
28
28
  }
29
- export declare const DotChip: ({ ariaLabel, avatar, charactersLimit, children, className, "data-testid": dataTestId, disabled, error, isClickable, isDeletable, onClick, onDelete, size, startIcon, }: ChipProps) => import("react/jsx-runtime").JSX.Element;
29
+ export declare const DotChip: ({ ariaLabel, avatar, charactersLimit, children, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, error, isClickable, isDeletable, onClick, onDelete, size, startIcon, }: ChipProps) => import("react/jsx-runtime").JSX.Element;
@@ -17,4 +17,4 @@ export interface ConfirmationDialogProps extends CommonProps {
17
17
  /** The dialog title */
18
18
  title?: ReactNode;
19
19
  }
20
- export declare const DotConfirmationDialog: ({ ariaLabel, cancelButtonProps, className, "data-testid": dataTestId, message, onCancel, onSubmit, submitButtonProps, open, title, }: ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const DotConfirmationDialog: ({ ariaLabel, cancelButtonProps, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, message, onCancel, onSubmit, submitButtonProps, open, title, }: ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
@@ -28,15 +28,14 @@ export interface CssCellProps extends CommonProps {
28
28
  middle?: boolean;
29
29
  /** Small column breakpoint */
30
30
  sm?: CellSize;
31
- /** Column start when Cell column breakpoints are not used */
32
- start?: number | string;
33
31
  /** Row start override */
34
32
  top?: number | string;
35
- width?: number;
36
33
  /** Extra large column breakpoint */
37
34
  xl?: CellSize;
38
35
  /** Extra small column breakpoint */
39
36
  xs?: CellSize;
37
+ /** Extra, extra large column breakpoint */
38
+ xxl?: CellSize;
40
39
  }
41
40
  export declare const Cell: ({ children, className }: CssCellProps) => import("react/jsx-runtime").JSX.Element;
42
41
  export declare const CssCell: import("styled-components").StyledComponent<({ children, className }: CssCellProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
@@ -80,4 +80,4 @@ export interface DatePickerProps extends CommonProps {
80
80
  /** The selected value. Used when the component is controlled. Date in ISO 8601 format, ie: YYYY-MM-DD */
81
81
  value?: string;
82
82
  }
83
- export declare const DotDatePicker: ({ ariaLabel, autoFocus, className, closeOnSelect, "data-testid": dataTestId, defaultValue, disableOpenPicker, disablePast, disablePortal, disabled, displayWeekNumber, displayClearButton, error, fixedWeekNumber, focusInputOnPopperOpened, format, fullWidth, helperText, inputId, inputName, label, locale, maxDate, minDate, onAccept, onBlur, onChange, onClose, onError, onKeyDown, onOpen, open, persistentLabel, readOnly, required, showDaysOutsideCurrentMonth, value, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
83
+ export declare const DotDatePicker: ({ ariaLabel, autoFocus, className, closeOnSelect, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, disableOpenPicker, disablePast, disablePortal, disabled, displayWeekNumber, displayClearButton, error, fixedWeekNumber, focusInputOnPopperOpened, format, fullWidth, helperText, inputId, inputName, label, locale, maxDate, minDate, onAccept, onBlur, onChange, onClose, onError, onKeyDown, onOpen, open, persistentLabel, readOnly, required, showDaysOutsideCurrentMonth, value, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -39,4 +39,4 @@ export interface DialogProps extends CommonProps {
39
39
  /** dialog heading */
40
40
  title: ReactNode;
41
41
  }
42
- export declare const DotDialog: ({ ariaLabel, cancelButtonProps, cancelButtonVisible, className, "data-testid": dataTestId, children, closeIconVisible, closeOnClickAway, closeOnSubmit, hasPrimaryAction, onCancel, onSubmit, open, submitButtonProps, title, }: DialogProps) => import("react/jsx-runtime").JSX.Element;
42
+ export declare const DotDialog: ({ ariaLabel, cancelButtonProps, cancelButtonVisible, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, children, closeIconVisible, closeOnClickAway, closeOnSubmit, hasPrimaryAction, onCancel, onSubmit, open, submitButtonProps, title, }: DialogProps) => import("react/jsx-runtime").JSX.Element;
@@ -20,4 +20,4 @@ export interface DraggableListProps extends CommonProps {
20
20
  /** Width of the draggable list, defaults to '100%' */
21
21
  width?: number | string;
22
22
  }
23
- export declare const DotDraggableList: ({ ariaLabel, className, "data-testid": dataTestId, disableDrag, draggableHandle, items, onChange, rowHeight, width, }: DraggableListProps) => import("react/jsx-runtime").JSX.Element;
23
+ export declare const DotDraggableList: ({ ariaLabel, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, disableDrag, draggableHandle, items, onChange, rowHeight, width, }: DraggableListProps) => import("react/jsx-runtime").JSX.Element;
@@ -42,4 +42,4 @@ export interface DrawerProps extends CommonProps {
42
42
  /** The width of the drawer when anchor is 'left' or 'right' */
43
43
  width?: string;
44
44
  }
45
- export declare const DotDrawer: ({ anchor, ariaLabel, ariaRole, className, children, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
45
+ export declare const DotDrawer: ({ anchor, ariaLabel, ariaRole, className, children, "data-pendoid": dataPendoId, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: DrawerProps) => import("react/jsx-runtime").JSX.Element;
@@ -33,5 +33,5 @@ export interface FileUploadProps extends CommonProps {
33
33
  /** Optional callback which gets triggered when the file (from the list) is clicked. */
34
34
  onFileClick?: (file: ListItemFile) => void;
35
35
  }
36
- export declare const DotFileUpload: ({ accept, ariaLabel, ariaRole, buttonProps, buttonOnly, className, "data-testid": dataTestId, disabled, hideFilesList, maxFiles, maxSize, onChange, onDragEnter, onFileClick, }: FileUploadProps) => import("react/jsx-runtime").JSX.Element;
36
+ export declare const DotFileUpload: ({ accept, ariaLabel, ariaRole, buttonProps, buttonOnly, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, hideFilesList, maxFiles, maxSize, onChange, onDragEnter, onFileClick, }: FileUploadProps) => import("react/jsx-runtime").JSX.Element;
37
37
  export {};
@@ -36,4 +36,4 @@ export interface InlineEditProps extends CommonProps {
36
36
  /**
37
37
  * @experimental This component is still in development
38
38
  */
39
- export declare const DotInlineEdit: ({ ariaLabel, ariaRole, bindings, charactersLimit, className, "data-testid": dataTestId, fullWidth, hideActionButtons, name, onChange, onEditStateChange, placeholder, readOnly, selectTextOnEdit, startEditable, tabIndex, tooltip, typography, value, }: InlineEditProps) => import("react/jsx-runtime").JSX.Element;
39
+ export declare const DotInlineEdit: ({ ariaLabel, ariaRole, bindings, charactersLimit, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, fullWidth, hideActionButtons, name, onChange, onEditStateChange, placeholder, readOnly, selectTextOnEdit, startEditable, tabIndex, tooltip, typography, value, }: InlineEditProps) => import("react/jsx-runtime").JSX.Element;
@@ -12,4 +12,4 @@ export interface InputSelectProps extends InputProps {
12
12
  /** options of select dropdown */
13
13
  options: Array<OptionType>;
14
14
  }
15
- export declare const DotInputSelect: ({ ariaLabel, autoFocus, className, "data-testid": dataTestId, defaultValue, disabled, endIcon, endText, error, fullWidth, helperText, id, inputRef, label, name, onBlur, onChange, onFocus, onKeyDown, options, persistentLabel, readOnly, required, shrink, size, startIcon, success, value, warning, }: InputSelectProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const DotInputSelect: ({ ariaLabel, autoFocus, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, disabled, endIcon, endText, error, fullWidth, helperText, id, inputRef, label, name, onBlur, onChange, onFocus, onKeyDown, options, persistentLabel, readOnly, required, shrink, size, startIcon, success, value, warning, }: InputSelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -36,4 +36,4 @@ export interface EndIconProps {
36
36
  success?: boolean;
37
37
  warning?: boolean;
38
38
  }
39
- export declare const DotInputText: ({ autoComplete, autoFocus, className, defaultValue, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, helperText, endIcon, endText, id, inputRef, label, max, maxLength, maxRows, min, minLength, minRows, multiline, name, onBlur, onChange, onClear, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required, shrink, startIcon, size, success, type, value, warning, }: InputTextProps) => import("react/jsx-runtime").JSX.Element;
39
+ export declare const DotInputText: ({ autoComplete, autoFocus, className, defaultValue, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, error, endAdornmentTooltip, fullWidth, hasDebounce, helperText, endIcon, endText, id, inputRef, label, max, maxLength, maxRows, min, minLength, minRows, multiline, name, onBlur, onChange, onClear, onFocus, onKeyDown, onMouseUp, persistentLabel, placeholder, readOnly, required, shrink, startIcon, size, success, type, value, warning, }: InputTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -27,4 +27,4 @@ export interface LinkProps extends CommonProps {
27
27
  /** underline the link */
28
28
  underline?: LinkUnderline;
29
29
  }
30
- export declare const DotLink: ({ ariaLabel, ariaRole, children, className, color, "data-testid": dataTestId, href, onClick, onMouseEnter, onPointerDown, rel, tabIndex, target, tooltip, underline, }: LinkProps) => import("react/jsx-runtime").JSX.Element;
30
+ export declare const DotLink: ({ ariaLabel, ariaRole, children, className, color, "data-pendoid": dataPendoId, "data-testid": dataTestId, href, onClick, onMouseEnter, onPointerDown, rel, tabIndex, target, tooltip, underline, }: LinkProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { ListItemProps } from './utils/models';
2
- export declare const DotListItem: ({ ariaLabel, ariaRole, className, component, "data-testid": dataTestId, divider, endIcon, href, isOpened, onClick, onMenuLeave, items, menuPlacement, nestedDrawerLeftSpacing, nestedListType, primaryText, secondaryText, selected, startIcon, target, text, tooltip, tooltipPlacement, }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const DotListItem: ({ ariaLabel, ariaRole, className, component, "data-pendoid": dataPendoId, "data-testid": dataTestId, divider, endIcon, href, isOpened, onClick, onMenuLeave, items, menuPlacement, nestedDrawerLeftSpacing, nestedListType, primaryText, secondaryText, selected, startIcon, target, text, tooltip, tooltipPlacement, }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare const StyledDotDrawer: import("styled-components").StyledComponent<({ anchor, ariaLabel, ariaRole, className, children, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: import("../drawer/Drawer").DrawerProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
1
+ export declare const StyledDotDrawer: import("styled-components").StyledComponent<({ anchor, ariaLabel, ariaRole, className, children, "data-pendoid": dataPendoId, "data-testid": dataTestId, drawerBodyProps, drawerFooterProps, drawerHeaderProps, height, ModalProps, onClose, open, PaperProps, variant, width, }: import("../drawer/Drawer").DrawerProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
@@ -36,6 +36,8 @@ export interface MenuItemProps {
36
36
  children?: ReactNode;
37
37
  /** Space delimited CSS classes to be attributed to the menu item */
38
38
  classes?: string;
39
+ /** data attribute passed through for pendo purposes ONLY **/
40
+ 'data-pendoid'?: string;
39
41
  /** If true, the item will be displayed in a disabled state. */
40
42
  disabled?: boolean;
41
43
  /** If true, a 1px light border is added to the bottom of the menu item. */
@@ -5,4 +5,4 @@ export interface ProgressButtonProps extends ButtonProps {
5
5
  /** Is spinner displayed */
6
6
  isLoading?: boolean;
7
7
  }
8
- export declare const DotProgressButton: ({ ariaLabel, children, className, "data-testid": dataTestId, disabled, disableRipple, fullWidth, isLoading, isSubmit, onClick, size, startIcon, tooltip, type, }: ProgressButtonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const DotProgressButton: ({ ariaLabel, children, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, disableRipple, fullWidth, isLoading, isSubmit, onClick, size, startIcon, tooltip, type, }: ProgressButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -28,4 +28,4 @@ export interface RadioButtonProps extends RadioButtonBaseProps {
28
28
  /** A function that should be executed when the value of the radio buttom changes */
29
29
  onChange?: (event: ChangeEvent<HTMLInputElement>, value: string) => void;
30
30
  }
31
- export declare function DotRadioButton({ ariaLabel, checked, className, 'data-testid': dataTestId, disabled, id, inputRef, label, labelPlacement, name, onChange, required, size, value, }: RadioButtonProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function DotRadioButton({ ariaLabel, checked, className, 'data-pendoid': dataPendoId, 'data-testid': dataTestId, disabled, id, inputRef, label, labelPlacement, name, onChange, required, size, value, }: RadioButtonProps): import("react/jsx-runtime").JSX.Element;
@@ -12,4 +12,4 @@ export interface SplitButtonProps extends BaseButtonProps {
12
12
  /**The options within the button dropdown */
13
13
  options: Array<MenuItemProps>;
14
14
  }
15
- export declare const DotSplitButton: ({ autoFocus, ariaLabel, className, "data-testid": dataTestId, defaultMainOptionKey, disabled, disablePortal, disableRipple, fullWidth, isSubmit, onOptionClick, options, size, tooltip, type, }: SplitButtonProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const DotSplitButton: ({ autoFocus, ariaLabel, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultMainOptionKey, disabled, disablePortal, disableRipple, fullWidth, isSubmit, onOptionClick, options, size, tooltip, type, }: SplitButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -23,4 +23,4 @@ export interface SwitchProps extends CommonProps {
23
23
  /** controls the size of the switch 'medium', 'small' */
24
24
  size?: SwitchSize;
25
25
  }
26
- export declare const DotSwitch: ({ ariaLabel, checked, className, color, "data-testid": dataTestId, disabled, id, inputRef, label, labelPlacement, onChange, size, }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
26
+ export declare const DotSwitch: ({ ariaLabel, checked, className, color, "data-pendoid": dataPendoId, "data-testid": dataTestId, disabled, id, inputRef, label, labelPlacement, onChange, size, }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
@@ -28,4 +28,4 @@ export interface TabsProps extends CommonProps {
28
28
  /** Determines additional display behavior of the tabs */
29
29
  variant?: TabsVariant;
30
30
  }
31
- export declare const DotTabs: ({ centered, className, color, "data-testid": dataTestId, initialValue, onChange, scrollButtons, tabs, variant, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
31
+ export declare const DotTabs: ({ centered, className, color, "data-pendoid": dataPendoId, "data-testid": dataTestId, initialValue, onChange, scrollButtons, tabs, variant, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
@@ -60,4 +60,4 @@ export interface TimePickerProps extends CommonProps {
60
60
  export declare const DEFAULT_PICKER_TIME_FORMAT = "HH:mm";
61
61
  export declare const DEFAULT_TIME_FORMAT = "HH:mm";
62
62
  export declare const DEFAULT_TIME = "01:00";
63
- export declare const DotTimePicker: ({ ampm, ariaLabel, autoFocus, className, "data-testid": dataTestId, defaultValue, disableOpenPicker, disableClickAwayListener, disabled, error, format, fullWidth, helperText, hideActionButtons, inputId, inputName, label, onAccept, onBlur, onCancel, onChange, onClose, onKeyDown, onOpen, onPopperTimeChange, open, persistentLabel, readOnly, required, value, }: TimePickerProps) => import("react/jsx-runtime").JSX.Element;
63
+ export declare const DotTimePicker: ({ ampm, ariaLabel, autoFocus, className, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, disableOpenPicker, disableClickAwayListener, disabled, error, format, fullWidth, helperText, hideActionButtons, inputId, inputName, label, onAccept, onBlur, onCancel, onChange, onClose, onKeyDown, onOpen, onPopperTimeChange, open, persistentLabel, readOnly, required, value, }: TimePickerProps) => import("react/jsx-runtime").JSX.Element;