@onewelcome/react-lib-components 1.5.0 → 1.6.0

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 (77) hide show
  1. package/dist/Button/Button.d.ts +0 -1
  2. package/dist/DataGrid/datagrid.interfaces.d.ts +1 -0
  3. package/dist/Form/Checkbox/Checkbox.d.ts +1 -1
  4. package/dist/Form/FormHelperText/FormHelperText.d.ts +1 -1
  5. package/dist/Form/FormSelectorWrapper/FormSelectorWrapper.d.ts +1 -1
  6. package/dist/Form/Input/Input.d.ts +2 -2
  7. package/dist/Form/Radio/Radio.d.ts +1 -1
  8. package/dist/Form/Select/Select.d.ts +1 -1
  9. package/dist/Form/Textarea/Textarea.d.ts +1 -6
  10. package/dist/Form/Toggle/Toggle.d.ts +1 -1
  11. package/dist/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.d.ts +1 -1
  12. package/dist/Form/Wrapper/InputWrapper/InputWrapper.d.ts +1 -1
  13. package/dist/Form/Wrapper/RadioWrapper/RadioWrapper.d.ts +1 -1
  14. package/dist/Form/Wrapper/SelectWrapper/SelectWrapper.d.ts +1 -1
  15. package/dist/Form/Wrapper/TextareaWrapper/TextareaWrapper.d.ts +1 -1
  16. package/dist/Form/form.interfaces.d.ts +1 -0
  17. package/dist/Link/Link.d.ts +1 -2
  18. package/dist/Notifications/Banner/Banner.d.ts +11 -0
  19. package/dist/Tabs/TabButton.d.ts +0 -1
  20. package/dist/_BaseStyling_/BaseStyling.d.ts +2 -0
  21. package/dist/hooks/useDetermineStatusIcon.d.ts +3 -0
  22. package/dist/index.d.ts +1 -0
  23. package/dist/react-lib-components.cjs.development.js +416 -318
  24. package/dist/react-lib-components.cjs.development.js.map +1 -1
  25. package/dist/react-lib-components.cjs.production.min.js +1 -1
  26. package/dist/react-lib-components.cjs.production.min.js.map +1 -1
  27. package/dist/react-lib-components.esm.js +416 -319
  28. package/dist/react-lib-components.esm.js.map +1 -1
  29. package/package.json +11 -11
  30. package/src/Button/BaseButton.module.scss +2 -2
  31. package/src/Button/Button.module.scss +4 -5
  32. package/src/Button/Button.tsx +0 -1
  33. package/src/Button/IconButton.module.scss +4 -5
  34. package/src/DataGrid/DataGrid.tsx +3 -2
  35. package/src/DataGrid/DataGridActions/DataGridActions.tsx +16 -9
  36. package/src/DataGrid/DataGridBody/DataGridCell.module.scss +2 -2
  37. package/src/DataGrid/DataGridHeader/DataGridHeader.test.tsx +8 -3
  38. package/src/DataGrid/DataGridHeader/DataGridHeader.tsx +3 -1
  39. package/src/DataGrid/datagrid.interfaces.ts +1 -0
  40. package/src/Form/Input/Input.module.scss +36 -25
  41. package/src/Form/Input/Input.test.tsx +10 -0
  42. package/src/Form/Input/Input.tsx +7 -5
  43. package/src/Form/Select/Select.module.scss +9 -6
  44. package/src/Form/Select/Select.test.tsx +11 -0
  45. package/src/Form/Select/Select.tsx +5 -9
  46. package/src/Form/Select/SelectService.ts +2 -2
  47. package/src/Form/Textarea/Textarea.module.scss +21 -13
  48. package/src/Form/Textarea/Textarea.test.tsx +8 -0
  49. package/src/Form/Textarea/Textarea.tsx +6 -12
  50. package/src/Form/Toggle/Toggle.module.scss +3 -3
  51. package/src/Form/Wrapper/InputWrapper/InputWrapper.module.scss +7 -3
  52. package/src/Form/Wrapper/InputWrapper/InputWrapper.tsx +2 -0
  53. package/src/Form/Wrapper/SelectWrapper/SelectWrapper.tsx +12 -1
  54. package/src/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss +15 -14
  55. package/src/Form/Wrapper/TextareaWrapper/TextareaWrapper.tsx +2 -1
  56. package/src/Form/Wrapper/Wrapper/Wrapper.module.scss +2 -2
  57. package/src/Form/form.interfaces.ts +1 -0
  58. package/src/Link/Link.module.scss +5 -5
  59. package/src/Link/Link.tsx +14 -13
  60. package/src/Notifications/Banner/Banner.module.scss +76 -0
  61. package/src/Notifications/Banner/Banner.test.tsx +84 -0
  62. package/src/Notifications/Banner/Banner.tsx +78 -0
  63. package/src/Notifications/BaseModal/BaseModal.module.scss +2 -2
  64. package/src/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.scss +2 -2
  65. package/src/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.scss +4 -4
  66. package/src/Notifications/Snackbar/SnackbarItem/SnackbarItem.tsx +3 -2
  67. package/src/Popover/Popover.module.scss +2 -2
  68. package/src/Skeleton/Skeleton.module.scss +2 -2
  69. package/src/Tabs/TabButton.tsx +1 -2
  70. package/src/Tabs/Tabs.module.scss +2 -2
  71. package/src/Tabs/Tabs.tsx +13 -10
  72. package/src/Tiles/Tile.module.scss +4 -4
  73. package/src/Tooltip/Tooltip.module.scss +3 -3
  74. package/src/_BaseStyling_/BaseStyling.tsx +4 -0
  75. package/src/hooks/useDetermineStatusIcon.test.ts +28 -0
  76. package/src/hooks/useDetermineStatusIcon.tsx +35 -0
  77. package/src/index.ts +1 -0
@@ -11,4 +11,4 @@ export interface Props extends Omit<ComponentPropsWithRef<"div">, "onFocus" | "o
11
11
  onMouseEnter?: (event: React.MouseEvent<HTMLTextAreaElement>) => void;
12
12
  onMouseLeave?: (event: React.MouseEvent<HTMLTextAreaElement>) => void;
13
13
  }
14
- export declare const TextareaWrapper: React.ForwardRefExoticComponent<Pick<Props, "label" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "errorMessage" | "helperText" | "helperProps" | "name" | "required" | "disabled" | "error" | "textareaProps" | "value"> & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const TextareaWrapper: React.ForwardRefExoticComponent<Pick<Props, "label" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "errorMessage" | "helperText" | "helperProps" | "name" | "required" | "disabled" | "error" | "success" | "textareaProps" | "value"> & React.RefAttributes<HTMLDivElement>>;
@@ -9,5 +9,6 @@ export interface FormSelector extends FormElement {
9
9
  /** Default form elements */
10
10
  export interface FormElement {
11
11
  error?: boolean;
12
+ success?: boolean;
12
13
  [dataAttribute: DataAttributeKey]: unknown;
13
14
  }
@@ -1,7 +1,6 @@
1
- import React, { ComponentPropsWithRef, ForwardRefExoticComponent, ReactNode } from "react";
1
+ import React, { ComponentPropsWithRef, ForwardRefExoticComponent } from "react";
2
2
  export type AnchorType = "external" | "internal" | "download";
3
3
  export interface Props extends ComponentPropsWithRef<"a"> {
4
- children?: ReactNode;
5
4
  color?: "primary" | "secondary" | "tertiary";
6
5
  display?: "link" | "button";
7
6
  buttonVariant?: "outline" | "text" | "fill";
@@ -0,0 +1,11 @@
1
+ import React, { AriaAttributes, AriaRole, ComponentPropsWithRef } from "react";
2
+ export type BannerType = "error" | "warning" | "info";
3
+ export interface Props extends ComponentPropsWithRef<"section"> {
4
+ children: string;
5
+ ariaRole?: AriaRole;
6
+ ariaLive?: AriaAttributes["aria-live"];
7
+ ariaLabel?: AriaAttributes["aria-label"];
8
+ type: BannerType;
9
+ title: string;
10
+ }
11
+ export declare const Banner: React.ForwardRefExoticComponent<Pick<Props, "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ariaLabel" | "ariaRole" | "ariaLive" | "type"> & React.RefAttributes<HTMLElement>>;
@@ -1,6 +1,5 @@
1
1
  import React, { ComponentPropsWithRef } from "react";
2
2
  export interface Props extends ComponentPropsWithRef<"button"> {
3
- children?: string;
4
3
  tabActive?: boolean;
5
4
  focused?: boolean;
6
5
  }
@@ -31,6 +31,7 @@ interface CSSProperties {
31
31
  snackbarSuccessBackgroundColor?: string;
32
32
  snackbarErrorBackgroundColor?: string;
33
33
  snackbarBorderRadius?: string;
34
+ bannerBorderRadius?: string;
34
35
  dataGridRowBackgroundColor?: string;
35
36
  dataGridRowHoverBackgroundColor?: string;
36
37
  tabsBackgroundColor?: string;
@@ -43,6 +44,7 @@ interface CSSProperties {
43
44
  default?: string;
44
45
  success?: string;
45
46
  error?: string;
47
+ info?: string;
46
48
  disabled?: string;
47
49
  greyedOut?: string;
48
50
  lightGreyBorder?: string;
@@ -0,0 +1,3 @@
1
+ import { FormElement } from "../Form/form.interfaces";
2
+ import { ReactElement } from "react";
3
+ export declare const useDetermineStatusIcon: (params: Partial<FormElement>) => ReactElement | null;
package/dist/index.d.ts CHANGED
@@ -58,3 +58,4 @@ export { HeaderCell } from "./DataGrid/datagrid.interfaces";
58
58
  export { DataGrid, Props as DataGridProps } from "./DataGrid/DataGrid";
59
59
  export { DataGridRow, Props as DataGridRowProps } from "./DataGrid/DataGridBody/DataGridRow";
60
60
  export { DataGridCell, Props as DataGridCellProps } from "./DataGrid/DataGridBody/DataGridCell";
61
+ export { Banner, Props as BannerProps } from "./Notifications/Banner/Banner";