@surveycake/rc 3.0.0-alpha.91 → 3.0.0-alpha.92

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [3.0.0-alpha.92](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.91...v3.0.0-alpha.92) (2023-07-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * create linear progress component ([ccdc703](https://fox.25sprout.com/surveycake/sdk/rc/commit/ccdc7036c74f77e525ef6eb217d948f4e41f5d4d))
11
+
5
12
  ## [3.0.0-alpha.91](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.90...v3.0.0-alpha.91) (2023-07-14)
6
13
 
7
14
 
@@ -0,0 +1,5 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Basic: Story;
5
+ export declare const Error: Story;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { LinearProgressProps as MUILinearProgressProps } from '@material-ui/core/LinearProgress';
3
+ interface LinearProgressProps extends MUILinearProgressProps {
4
+ }
5
+ declare const LinearProgress: React.ForwardRefExoticComponent<Pick<LinearProgressProps, "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "css" | "value" | "valueBuffer" | "variant" | "innerRef"> & React.RefAttributes<unknown>>;
6
+ export default LinearProgress;
@@ -0,0 +1,3 @@
1
+ import { StyleRules } from '@material-ui/core';
2
+ import { LinearProgressClassKey } from '@material-ui/core';
3
+ export declare const MuiLinearProgress: Partial<StyleRules<LinearProgressClassKey>>;
@@ -34,6 +34,7 @@ export { default as FormLabel } from './FormLabel';
34
34
  export { default as Grow } from './Grow';
35
35
  export { default as IconButton } from './IconButton';
36
36
  export { default as InputAdornment } from './InputAdornment';
37
+ export { default as LinearProgress } from './LinearProgress';
37
38
  export { default as Link } from './Link';
38
39
  export { default as LoadingButton } from './LoadingButton';
39
40
  export { default as MenuItem } from './MenuItem';
@@ -120,6 +120,7 @@ var MUIFormLabel = _interopDefault(require('@material-ui/core/FormLabel'));
120
120
  var MUIGrow = _interopDefault(require('@material-ui/core/Grow'));
121
121
  var MUIIconButton = _interopDefault(require('@material-ui/core/IconButton'));
122
122
  var MUIInputAdornment = _interopDefault(require('@material-ui/core/InputAdornment'));
123
+ var MUILinearProgress = _interopDefault(require('@material-ui/core/LinearProgress'));
123
124
  var MUILink = _interopDefault(require('@material-ui/core/Link'));
124
125
  var MuiMenuItem$1 = _interopDefault(require('@material-ui/core/MenuItem'));
125
126
  var MUIMenuList = _interopDefault(require('@material-ui/core/MenuList'));
@@ -799,6 +800,25 @@ var MuiIconButton = {
799
800
  }
800
801
  };
801
802
 
803
+ var MuiLinearProgress = {
804
+ root: {
805
+ height: 10,
806
+ borderRadius: 2
807
+ },
808
+ colorPrimary: {
809
+ backgroundColor: core.palette.grey[100]
810
+ },
811
+ colorSecondary: {
812
+ backgroundColor: core.palette.grey[100]
813
+ },
814
+ barColorPrimary: {
815
+ backgroundColor: core.palette.primary.main
816
+ },
817
+ barColorSecondary: {
818
+ backgroundColor: core.palette.error.main
819
+ }
820
+ };
821
+
802
822
  var MuiLink = {
803
823
  root: {
804
824
  '&:hover': {
@@ -1400,6 +1420,7 @@ styles$6.createTheme({
1400
1420
  MuiFormHelperText: MuiFormHelperText,
1401
1421
  MuiFormLabel: MuiFormLabel,
1402
1422
  MuiIconButton: MuiIconButton,
1423
+ MuiLinearProgress: MuiLinearProgress,
1403
1424
  MuiLink: MuiLink,
1404
1425
  MuiList: MuiList,
1405
1426
  MuiListSubheader: MuiListSubheader,
@@ -3000,6 +3021,15 @@ React.forwardRef(function (props, ref) {
3000
3021
  });
3001
3022
  InputAdornment.displayName = 'InputAdornment';
3002
3023
 
3024
+ var LinearProgress =
3025
+ /*#__PURE__*/
3026
+ React.forwardRef(function (props, ref) {
3027
+ return React__default.createElement(MUILinearProgress, Object.assign({}, props, {
3028
+ ref: ref
3029
+ }));
3030
+ });
3031
+ LinearProgress.displayName = 'Progress';
3032
+
3003
3033
  var Link =
3004
3034
  /*#__PURE__*/
3005
3035
  React.forwardRef(function (props, ref) {
@@ -3913,6 +3943,7 @@ var index = {
3913
3943
  Grow: Grow,
3914
3944
  IconButton: IconButton,
3915
3945
  InputAdornment: InputAdornment,
3946
+ LinearProgress: LinearProgress,
3916
3947
  Link: Link,
3917
3948
  LoadingButton: LoadingButton,
3918
3949
  MenuItem: MenuItem,