@hexure/ui 1.13.41 → 1.13.43

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 (84) hide show
  1. package/dist/cjs/index.js +1791 -1791
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/Accordion/Accordion.d.ts +1 -1
  4. package/dist/cjs/types/components/ActionDialog/ActionDialog.d.ts +1 -1
  5. package/dist/cjs/types/components/Alert/Alert.d.ts +1 -1
  6. package/dist/cjs/types/components/AppHeader/AppHeader.d.ts +1 -1
  7. package/dist/cjs/types/components/AppMenu/AppMenu.d.ts +1 -1
  8. package/dist/cjs/types/components/BulkActionBar/BulkActionBar.d.ts +1 -1
  9. package/dist/cjs/types/components/Button/Button.d.ts +1 -1
  10. package/dist/cjs/types/components/ButtonMenu/ButtonMenu.d.ts +1 -1
  11. package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +2 -2
  12. package/dist/cjs/types/components/Checklist/Checklist.d.ts +1 -1
  13. package/dist/cjs/types/components/Copy/Copy.d.ts +1 -1
  14. package/dist/cjs/types/components/DatePicker/DatePicker.d.ts +1 -1
  15. package/dist/cjs/types/components/Drawer/Drawer.d.ts +1 -1
  16. package/dist/cjs/types/components/Field/Field.d.ts +2 -2
  17. package/dist/cjs/types/components/FieldGroup/FieldGroup.d.ts +1 -1
  18. package/dist/cjs/types/components/FileUpload/FileUpload.d.ts +1 -1
  19. package/dist/cjs/types/components/Heading/Heading.d.ts +1 -1
  20. package/dist/cjs/types/components/Input/Input.d.ts +1 -1
  21. package/dist/cjs/types/components/Link/Link.d.ts +1 -1
  22. package/dist/cjs/types/components/Loader/Loader.d.ts +1 -1
  23. package/dist/cjs/types/components/Logo/Logo.d.ts +1 -1
  24. package/dist/cjs/types/components/Modal/Modal.d.ts +1 -1
  25. package/dist/cjs/types/components/MoreMenu/MoreMenu.d.ts +1 -1
  26. package/dist/cjs/types/components/{MultiSelect → Multiselect}/MultiSelect.d.ts +1 -1
  27. package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +2 -1
  28. package/dist/cjs/types/components/Pagination/Pagination.d.ts +1 -1
  29. package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +1 -1
  30. package/dist/cjs/types/components/Radio/Radio.d.ts +2 -2
  31. package/dist/cjs/types/components/RadioList/RadioList.d.ts +1 -1
  32. package/dist/cjs/types/components/Select/Select.d.ts +1 -1
  33. package/dist/cjs/types/components/Table/Table.d.ts +2 -1
  34. package/dist/cjs/types/components/Tabs/Tabs.d.ts +1 -1
  35. package/dist/cjs/types/components/Tag/Tag.d.ts +1 -1
  36. package/dist/cjs/types/components/Toast/Toast.d.ts +1 -1
  37. package/dist/cjs/types/components/Toggle/Toggle.d.ts +1 -1
  38. package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +1 -1
  39. package/dist/cjs/types/components/ZeroState/ZeroState.d.ts +1 -1
  40. package/dist/cjs/types/utils/Accessibility.d.ts +2 -1
  41. package/dist/esm/index.js +1743 -1743
  42. package/dist/esm/index.js.map +1 -1
  43. package/dist/esm/types/components/Accordion/Accordion.d.ts +1 -1
  44. package/dist/esm/types/components/ActionDialog/ActionDialog.d.ts +1 -1
  45. package/dist/esm/types/components/Alert/Alert.d.ts +1 -1
  46. package/dist/esm/types/components/AppHeader/AppHeader.d.ts +1 -1
  47. package/dist/esm/types/components/AppMenu/AppMenu.d.ts +1 -1
  48. package/dist/esm/types/components/BulkActionBar/BulkActionBar.d.ts +1 -1
  49. package/dist/esm/types/components/Button/Button.d.ts +1 -1
  50. package/dist/esm/types/components/ButtonMenu/ButtonMenu.d.ts +1 -1
  51. package/dist/esm/types/components/Checkbox/Checkbox.d.ts +2 -2
  52. package/dist/esm/types/components/Checklist/Checklist.d.ts +1 -1
  53. package/dist/esm/types/components/Copy/Copy.d.ts +1 -1
  54. package/dist/esm/types/components/DatePicker/DatePicker.d.ts +1 -1
  55. package/dist/esm/types/components/Drawer/Drawer.d.ts +1 -1
  56. package/dist/esm/types/components/Field/Field.d.ts +2 -2
  57. package/dist/esm/types/components/FieldGroup/FieldGroup.d.ts +1 -1
  58. package/dist/esm/types/components/FileUpload/FileUpload.d.ts +1 -1
  59. package/dist/esm/types/components/Heading/Heading.d.ts +1 -1
  60. package/dist/esm/types/components/Input/Input.d.ts +1 -1
  61. package/dist/esm/types/components/Link/Link.d.ts +1 -1
  62. package/dist/esm/types/components/Loader/Loader.d.ts +1 -1
  63. package/dist/esm/types/components/Logo/Logo.d.ts +1 -1
  64. package/dist/esm/types/components/Modal/Modal.d.ts +1 -1
  65. package/dist/esm/types/components/MoreMenu/MoreMenu.d.ts +1 -1
  66. package/dist/esm/types/components/{MultiSelect → Multiselect}/MultiSelect.d.ts +1 -1
  67. package/dist/esm/types/components/PageHeader/PageHeader.d.ts +2 -1
  68. package/dist/esm/types/components/Pagination/Pagination.d.ts +1 -1
  69. package/dist/esm/types/components/ProgressBar/ProgressBar.d.ts +1 -1
  70. package/dist/esm/types/components/Radio/Radio.d.ts +2 -2
  71. package/dist/esm/types/components/RadioList/RadioList.d.ts +1 -1
  72. package/dist/esm/types/components/Select/Select.d.ts +1 -1
  73. package/dist/esm/types/components/Table/Table.d.ts +2 -1
  74. package/dist/esm/types/components/Tabs/Tabs.d.ts +1 -1
  75. package/dist/esm/types/components/Tag/Tag.d.ts +1 -1
  76. package/dist/esm/types/components/Toast/Toast.d.ts +1 -1
  77. package/dist/esm/types/components/Toggle/Toggle.d.ts +1 -1
  78. package/dist/esm/types/components/Tooltip/Tooltip.d.ts +1 -1
  79. package/dist/esm/types/components/ZeroState/ZeroState.d.ts +1 -1
  80. package/dist/esm/types/utils/Accessibility.d.ts +2 -1
  81. package/dist/index.d.ts +43 -40
  82. package/package.json +1 -1
  83. /package/dist/cjs/types/components/{MultiSelect → Multiselect}/index.d.ts +0 -0
  84. /package/dist/esm/types/components/{MultiSelect → Multiselect}/index.d.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
2
 
3
3
  interface AccessibleProps {
4
- /** Set the css id for the main wrapping html element */
4
+ /** Set the css data-itemid for the main wrapping html element */
5
5
  id?: string;
6
+ dataItemid?: string;
6
7
  /** Set the css class for the main wrapping html element */
7
8
  className?: string;
8
9
  /** Set the name attrbute on the main wrapping html element */
@@ -16,7 +17,7 @@ interface AccessibleProps {
16
17
  }
17
18
 
18
19
  interface AccordionProps extends AccessibleProps {
19
- id?: string;
20
+ dataItemid?: string;
20
21
  title?: string;
21
22
  /** Define the content to be displayed */
22
23
  children: ReactNode;
@@ -48,7 +49,7 @@ interface ActionDialogProps extends AccessibleProps {
48
49
  /** Set the tertiary action for the dialog. This should only be defined after a secondary action is defined */
49
50
  tertiaryButton?: ButtonProps$4;
50
51
  /** Optional ID for automation purposes */
51
- id?: string;
52
+ dataItemid?: string;
52
53
  }
53
54
  interface CustomStyle {
54
55
  [key: string]: string | number;
@@ -70,7 +71,7 @@ interface AlertProps extends AccessibleProps {
70
71
  /** Show a condensed, smaller version of the alert. The title and action props will be ignore if this is set to true */
71
72
  small?: boolean;
72
73
  /** Optional ID for automation purposes */
73
- id?: string;
74
+ dataItemid?: string;
74
75
  }
75
76
  declare const Alert: FC<AlertProps>;
76
77
 
@@ -84,7 +85,7 @@ interface TooltipProps {
84
85
  /** The element to display that triggers the tooltip content */
85
86
  trigger?: any;
86
87
  /** Optional ID for automation purposes */
87
- id?: string;
88
+ dataItemid?: string;
88
89
  }
89
90
  declare const Tooltip: FC<TooltipProps>;
90
91
 
@@ -115,7 +116,7 @@ interface ButtonProps$3 extends AccessibleProps {
115
116
  /** Set the title of the button on hover */
116
117
  title?: string;
117
118
  /** Optional ID for automation purposes */
118
- id?: string;
119
+ dataItemid?: string;
119
120
  }
120
121
  declare const Button: FC<ButtonProps$3>;
121
122
 
@@ -123,7 +124,7 @@ interface AppHeaderProps {
123
124
  logoUrl?: string;
124
125
  buttons: ButtonProps$3[];
125
126
  /** Optional ID for automation purposes */
126
- id?: string;
127
+ dataItemid?: string;
127
128
  }
128
129
  declare const AppHeader: FC<AppHeaderProps>;
129
130
 
@@ -145,7 +146,7 @@ interface AppMenuProps extends AccessibleProps {
145
146
  footerTag?: string;
146
147
  defaultWidth?: string;
147
148
  /** Optional ID for automation purposes */
148
- id?: string;
149
+ dataItemid?: string;
149
150
  }
150
151
  declare const AppMenu: FC<AppMenuProps>;
151
152
 
@@ -161,7 +162,7 @@ interface BulkActionBarProps extends AccessibleProps {
161
162
  onClear: (e?: any) => void;
162
163
  selectedCount?: number;
163
164
  /** Optional ID for automation purposes */
164
- id?: string;
165
+ dataItemid?: string;
165
166
  }
166
167
  declare const BulkActionBar: FC<BulkActionBarProps>;
167
168
 
@@ -175,7 +176,7 @@ interface MoreMenuProps extends AccessibleProps {
175
176
  menuItems: MenuItemProps[];
176
177
  maxHeight?: string | number;
177
178
  /** Optional ID for automation purposes */
178
- id?: string;
179
+ dataItemid?: string;
179
180
  }
180
181
  declare const MoreMenu: FC<MoreMenuProps>;
181
182
 
@@ -192,7 +193,7 @@ interface ButtonMenuProps {
192
193
  enableClick?: boolean;
193
194
  show?: boolean;
194
195
  /** Optional ID for automation purposes */
195
- id?: string;
196
+ dataItemid?: string;
196
197
  }
197
198
  declare const ButtonMenu: FC<ButtonMenuProps>;
198
199
 
@@ -202,7 +203,7 @@ interface CheckboxProps extends AccessibleProps {
202
203
  /** It is used to disable checkbox. */
203
204
  disabled?: boolean;
204
205
  color?: string;
205
- /** If it's value id true then checkbox is default checked. */
206
+ /** If it's value data-itemid true then checkbox is default checked. */
206
207
  checked?: boolean;
207
208
  /** It is used to change value of checkbox. */
208
209
  onChange: (e?: any) => void;
@@ -211,7 +212,7 @@ interface CheckboxProps extends AccessibleProps {
211
212
  /** Display a tooltip next to the label */
212
213
  tooltip?: TooltipProps;
213
214
  /** Optional ID for automation purposes */
214
- id?: string;
215
+ dataItemid?: string;
215
216
  }
216
217
  declare const Checkbox: FC<CheckboxProps>;
217
218
 
@@ -227,7 +228,7 @@ interface ChecklistProps extends AccessibleProps {
227
228
  selected: (string | number)[];
228
229
  showSelectAll?: boolean;
229
230
  /** Optional ID for automation purposes */
230
- id?: string;
231
+ dataItemid?: string;
231
232
  }
232
233
  declare const Checklist: FC<ChecklistProps>;
233
234
 
@@ -244,7 +245,7 @@ interface CopyProps extends AccessibleProps {
244
245
  /** Set the color of the copy based on the design system color palette */
245
246
  color?: 'PRIMARY' | 'GREEN' | 'RED' | 'YELLOW' | 'BLACK' | 'GRAY' | 'MEDIUM_GRAY' | 'LIGHT_GRAY';
246
247
  /** Optional ID for automation purposes */
247
- id?: string;
248
+ dataItemid?: string;
248
249
  }
249
250
  declare const Copy: FC<CopyProps>;
250
251
 
@@ -260,7 +261,7 @@ interface DateProps extends AccessibleProps {
260
261
  onChange?: (e: any) => void;
261
262
  style?: styleProps$3;
262
263
  /** Optional ID for automation purposes */
263
- id?: string;
264
+ dataItemid?: string;
264
265
  }
265
266
  declare const DatePicker: FC<DateProps>;
266
267
 
@@ -292,12 +293,12 @@ interface DrawerProps extends AccessibleProps {
292
293
  /** It is used to close drawer. */
293
294
  onClose: (e?: any) => void;
294
295
  /** Optional ID for automation purposes */
295
- id?: string;
296
+ dataItemid?: string;
296
297
  }
297
298
  declare const Drawer: FC<DrawerProps>;
298
299
 
299
300
  interface ActionProps {
300
- id?: string;
301
+ dataItemid?: string;
301
302
  label: string;
302
303
  onClick: (e?: any) => void;
303
304
  }
@@ -318,7 +319,7 @@ interface FieldProps extends AccessibleProps {
318
319
  /** Display a tooltip next to the label */
319
320
  tooltip?: TooltipProps;
320
321
  /** Optional ID for automation purposes */
321
- id?: string;
322
+ dataItemid?: string;
322
323
  }
323
324
  declare const Field: FC<FieldProps>;
324
325
 
@@ -328,7 +329,7 @@ interface FieldGroupProps {
328
329
  /** The content of the field group...usually a set of Field components */
329
330
  children: any;
330
331
  /** Optional ID for automation purposes */
331
- id?: string;
332
+ dataItemid?: string;
332
333
  }
333
334
  declare const FieldGroup: FC<FieldGroupProps>;
334
335
 
@@ -350,7 +351,7 @@ interface FileUploadProps {
350
351
  /** A method that will be run against each file to determine if it's valid before being added. Must return a boolean. */
351
352
  validateFile?: (file: File) => boolean;
352
353
  /** Optional ID for automation purposes */
353
- id?: string;
354
+ dataItemid?: string;
354
355
  }
355
356
  interface ErrorObject {
356
357
  file: File;
@@ -370,7 +371,7 @@ interface HeadingProps extends AccessibleProps {
370
371
  /** Set the type of heading to display: primary, secondary, tertiary */
371
372
  type?: 'primary' | 'secondary' | 'tertiary';
372
373
  /** Optional ID for automation purposes */
373
- id?: string;
374
+ dataItemid?: string;
374
375
  }
375
376
  declare const Heading: FC<HeadingProps>;
376
377
 
@@ -404,7 +405,7 @@ interface InputProps extends AccessibleProps {
404
405
  innerRef?: any;
405
406
  isAutoComplete?: boolean;
406
407
  /** Optional ID for automation purposes */
407
- id?: string;
408
+ dataItemid?: string;
408
409
  }
409
410
  declare const Input: FC<InputProps>;
410
411
 
@@ -416,13 +417,13 @@ interface LinkProps extends AccessibleProps {
416
417
  /** A method to execute when this component is clicked */
417
418
  onClick?: (e?: any) => void;
418
419
  /** Optional ID for automation purposes */
419
- id?: string;
420
+ dataItemid?: string;
420
421
  }
421
422
  declare const Link: FC<LinkProps>;
422
423
 
423
424
  interface LoaderProps {
424
425
  /** Optional ID for automation purposes */
425
- id?: string;
426
+ dataItemid?: string;
426
427
  }
427
428
  declare const Loader: FC<LoaderProps>;
428
429
 
@@ -430,7 +431,7 @@ interface LogoProps extends AccessibleProps {
430
431
  type?: 'mark_red' | 'mark_white' | 'standard_white' | 'standard_black' | 'standard_full' | 'standard_reversed';
431
432
  height?: string;
432
433
  /** Optional ID for automation purposes */
433
- id?: string;
434
+ dataItemid?: string;
434
435
  }
435
436
  declare const Logo: FC<LogoProps>;
436
437
 
@@ -443,7 +444,7 @@ interface ProgressBarProps {
443
444
  steps: StepProps[];
444
445
  showStepLine?: boolean;
445
446
  /** Optional ID for automation purposes */
446
- id?: string;
447
+ dataItemid?: string;
447
448
  }
448
449
  declare const ProgressBar: FC<ProgressBarProps>;
449
450
 
@@ -478,7 +479,7 @@ interface ModalProps extends AccessibleProps {
478
479
  /** Display steps at the top of the modal */
479
480
  steps?: StepProps[];
480
481
  /** Optional ID for automation purposes */
481
- id?: string;
482
+ dataItemid?: string;
482
483
  }
483
484
  declare const Modal: FC<ModalProps>;
484
485
 
@@ -501,7 +502,7 @@ interface MultiSelectProps extends AccessibleProps {
501
502
  style?: styleProps$1;
502
503
  searchable?: boolean;
503
504
  /** Optional ID for automation purposes */
504
- id?: string;
505
+ dataItemid?: string;
505
506
  }
506
507
  declare const MultiSelect: FC<MultiSelectProps>;
507
508
 
@@ -515,7 +516,7 @@ interface TagProps extends AccessibleProps {
515
516
  /** It is callback function called when user wants to close the tag. */
516
517
  removable?: boolean;
517
518
  /** Optional ID for automation purposes */
518
- id?: string;
519
+ dataItemid?: string;
519
520
  }
520
521
  declare const Tag: FC<TagProps>;
521
522
 
@@ -542,10 +543,11 @@ interface PageHeaderProps {
542
543
  label: string;
543
544
  menuItems: Array<MenuItemProps>;
544
545
  show?: boolean;
546
+ maxHeight?: string;
545
547
  };
546
548
  tag?: TagProps;
547
549
  /** Optional ID for automation purposes */
548
- id?: string;
550
+ dataItemid?: string;
549
551
  }
550
552
  declare const PageHeader: FC<PageHeaderProps>;
551
553
 
@@ -554,7 +556,7 @@ interface PaginationProps extends AccessibleProps {
554
556
  onClick: (e?: any) => void;
555
557
  pageCount: number;
556
558
  /** Optional ID for automation purposes */
557
- id?: string;
559
+ dataItemid?: string;
558
560
  }
559
561
  declare const Pagination: FC<PaginationProps>;
560
562
 
@@ -563,7 +565,7 @@ interface RadioProps extends AccessibleProps {
563
565
  children: string | number;
564
566
  /** It is used to disable radio. */
565
567
  disabled?: boolean;
566
- /** If it's value id true then radio is default checked. */
568
+ /** If it's value data-itemid true then radio is default checked. */
567
569
  checked?: boolean;
568
570
  /** It is used to change value of radio. */
569
571
  onChange: (e?: any) => void;
@@ -574,7 +576,7 @@ interface RadioProps extends AccessibleProps {
574
576
  /** Display a tooltip next to the label */
575
577
  tooltip?: TooltipProps;
576
578
  /** Optional ID for automation purposes */
577
- id?: string;
579
+ dataItemid?: string;
578
580
  }
579
581
  declare const Radio: FC<RadioProps>;
580
582
 
@@ -588,7 +590,7 @@ interface RadioListProps extends AccessibleProps {
588
590
  options: OptionProps$1[];
589
591
  value: string;
590
592
  /** Optional ID for automation purposes */
591
- id?: string;
593
+ dataItemid?: string;
592
594
  }
593
595
  declare const RadioList: FC<RadioListProps>;
594
596
 
@@ -620,7 +622,7 @@ interface SelectProps extends AccessibleProps {
620
622
  onBlur?: (e: any) => void;
621
623
  onSearch?: (searchTerm: string) => void;
622
624
  /** Optional ID for automation purposes */
623
- id?: string;
625
+ dataItemid?: string;
624
626
  }
625
627
  declare const Select: FC<SelectProps>;
626
628
 
@@ -629,6 +631,7 @@ interface RowObject {
629
631
  }
630
632
  interface ColumnProps {
631
633
  id: string;
634
+ dataItemid?: string;
632
635
  isSortable?: boolean;
633
636
  label: React.ReactNode;
634
637
  render?: (row: RowObject) => void;
@@ -646,7 +649,7 @@ interface TableProps extends AccessibleProps {
646
649
  onSortChange?: (e?: any) => void;
647
650
  tableLayout?: string;
648
651
  /** Optional ID for automation purposes */
649
- id?: string;
652
+ dataItemid?: string;
650
653
  }
651
654
  declare const Table: FC<TableProps>;
652
655
 
@@ -660,7 +663,7 @@ interface TabProps extends AccessibleProps {
660
663
  interface TabsProps extends AccessibleProps {
661
664
  tabs: TabProps[];
662
665
  /** Optional ID for automation purposes */
663
- id?: string;
666
+ dataItemid?: string;
664
667
  }
665
668
  declare const Tabs: FC<TabsProps>;
666
669
 
@@ -670,7 +673,7 @@ interface ToggleProps extends AccessibleProps {
670
673
  /** Pass a callback then fires when user change value */
671
674
  onClick: (e?: any) => void;
672
675
  /** Optional ID for automation purposes */
673
- id?: string;
676
+ dataItemid?: string;
674
677
  }
675
678
  declare const Toggle: FC<ToggleProps>;
676
679
 
@@ -690,7 +693,7 @@ interface ZeroStateProps extends AccessibleProps {
690
693
  disabled?: boolean;
691
694
  };
692
695
  /** Optional ID for automation purposes */
693
- id?: string;
696
+ dataItemid?: string;
694
697
  }
695
698
  declare const ZeroState: FC<ZeroStateProps>;
696
699
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.13.41",
3
+ "version": "1.13.43",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",