@onewelcome/react-lib-components 1.0.1 → 1.2.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 (35) hide show
  1. package/dist/ProgressBar/ProgressBar.d.ts +5 -0
  2. package/dist/index.d.ts +2 -1
  3. package/dist/react-lib-components.cjs.development.js +157 -109
  4. package/dist/react-lib-components.cjs.development.js.map +1 -1
  5. package/dist/react-lib-components.cjs.production.min.js +1 -1
  6. package/dist/react-lib-components.cjs.production.min.js.map +1 -1
  7. package/dist/react-lib-components.esm.js +155 -110
  8. package/dist/react-lib-components.esm.js.map +1 -1
  9. package/dist/util/helper.d.ts +2 -0
  10. package/package.json +1 -1
  11. package/src/Form/Input/Input.module.scss +5 -5
  12. package/src/Form/Select/Select.module.scss +3 -2
  13. package/src/Form/Textarea/Textarea.module.scss +1 -1
  14. package/src/Form/Toggle/Toggle.module.scss +4 -2
  15. package/src/Form/Wrapper/InputWrapper/InputWrapper.module.scss +1 -1
  16. package/src/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss +1 -1
  17. package/src/Form/Wrapper/Wrapper/Wrapper.module.scss +3 -1
  18. package/src/Notifications/BaseModal/BaseModal.module.scss +3 -1
  19. package/src/Notifications/SlideInModal/SlideInModal.module.scss +3 -1
  20. package/src/Notifications/Snackbar/SnackbarContainer/SnackbarContainer.module.scss +2 -1
  21. package/src/Notifications/Snackbar/SnackbarItem/SnackbarItem.module.scss +3 -3
  22. package/src/Popover/Popover.module.scss +7 -4
  23. package/src/ProgressBar/ProgressBar.module.scss +56 -0
  24. package/src/ProgressBar/ProgressBar.test.tsx +58 -0
  25. package/src/ProgressBar/ProgressBar.tsx +38 -0
  26. package/src/Tabs/Tabs.module.scss +6 -3
  27. package/src/TextEllipsis/TextEllipsis.module.scss +1 -1
  28. package/src/Tiles/Tile.module.scss +1 -1
  29. package/src/Tooltip/Tooltip.module.scss +7 -4
  30. package/src/_BaseStyling_/BaseStyling.tsx +0 -3
  31. package/src/index.ts +2 -1
  32. package/src/mixins.module.scss +21 -5
  33. package/src/readyclasses.module.scss +8 -0
  34. package/src/util/helper.test.tsx +128 -1
  35. package/src/util/helper.tsx +28 -0
@@ -0,0 +1,5 @@
1
+ import React, { ComponentPropsWithRef } from "react";
2
+ export interface Props extends Omit<ComponentPropsWithRef<"span">, "children"> {
3
+ placeholderText: string;
4
+ }
5
+ export declare const ProgressBar: 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" | "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" | "placeholderText"> & React.RefAttributes<HTMLSpanElement>>;
package/dist/index.d.ts CHANGED
@@ -13,11 +13,12 @@ export { Tile, Props as TileProps } from "./Tiles/Tile";
13
13
  export { Tiles, Props as TilesProps } from "./Tiles/Tiles";
14
14
  export { Tooltip, Props as TooltipProps } from "./Tooltip/Tooltip";
15
15
  export { Typography, Variant, Props as TypographyProps } from "./Typography/Typography";
16
+ export { ProgressBar, Props as ProgressBarProps } from "./ProgressBar/ProgressBar";
16
17
  export { Skeleton, Props as SkeletonProps } from "./Skeleton/Skeleton";
17
18
  export { StatusIndicator, Props as StatusIndicatorProps } from "./StatusIndicator/StatusIndicator";
18
19
  export { Pagination, Props as PaginationProps, PageChangeLabels, PaginationTranslations, PageSize } from "./Pagination/Pagination";
19
20
  export { useRepeater } from "./hooks/useRepeater";
20
- export { generateID } from "./util/helper";
21
+ export { generateID, debounce, throttle } from "./util/helper";
21
22
  export { Modal, Props as ModalProps } from "./Notifications/Modal/Modal";
22
23
  export { useSnackbar } from "./Notifications/Snackbar/useSnackbar";
23
24
  export { Dialog, Props as DialogProps, Action as DialogAction } from "./Notifications/Dialog/Dialog";