@zealicsolutions/web-ui 1.0.85 → 1.0.86-beta.2
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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Avatar/Avatar.d.ts +7 -1
- package/dist/cjs/molecules/BasicTextField/BasicTextField.d.ts +7 -1
- package/dist/cjs/molecules/BinaryRadioButtons/BinaryRadioButtons.d.ts +4 -0
- package/dist/cjs/molecules/Button/Button.d.ts +15 -4
- package/dist/cjs/molecules/Button/Button.stories.d.ts +11 -2
- package/dist/cjs/molecules/Checkbox/Checkbox.d.ts +4 -0
- package/dist/cjs/molecules/Consent/Consent.stories.d.ts +15 -0
- package/dist/cjs/molecules/Consent/ConsentMolecule.d.ts +6 -1
- package/dist/cjs/molecules/CurrencyInputtField/CurrencyInputField.d.ts +7 -1
- package/dist/cjs/molecules/DatePicker/DatePicker.d.ts +5 -0
- package/dist/cjs/molecules/Drawer/types.d.ts +15 -2
- package/dist/cjs/molecules/EmailInputField/EmailInputField.d.ts +7 -1
- package/dist/cjs/molecules/Image/Image.d.ts +6 -1
- package/dist/cjs/molecules/Menu/Menu.d.ts +17 -4
- package/dist/cjs/molecules/NumericInputField/NumericInputField.d.ts +8 -1
- package/dist/cjs/molecules/PasswordSetup/PasswordSetup.d.ts +11 -1
- package/dist/cjs/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/cjs/molecules/PhoneNumberInputField/PhoneNumberInputField.d.ts +10 -2
- package/dist/cjs/molecules/Rating/Rating.d.ts +6 -0
- package/dist/cjs/molecules/Select/Select.d.ts +5 -0
- package/dist/cjs/molecules/Slider/Slider.d.ts +5 -0
- package/dist/cjs/molecules/Switch/Switch.d.ts +6 -1
- package/dist/esm/components/RichTextViewer/components/Leaf.js.map +1 -1
- package/dist/esm/molecules/Accordion/Accordion.js +1 -1
- package/dist/esm/molecules/Avatar/Avatar.d.ts +7 -1
- package/dist/esm/molecules/Avatar/Avatar.js +1 -1
- package/dist/esm/molecules/Avatar/Avatar.js.map +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.d.ts +7 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js.map +1 -1
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.d.ts +4 -0
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js +1 -1
- package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js.map +1 -1
- package/dist/esm/molecules/Button/Button.d.ts +15 -4
- package/dist/esm/molecules/Button/Button.js +1 -1
- package/dist/esm/molecules/Button/Button.js.map +1 -1
- package/dist/esm/molecules/Button/Button.stories.d.ts +11 -2
- package/dist/esm/molecules/Checkbox/Checkbox.d.ts +4 -0
- package/dist/esm/molecules/Checkbox/Checkbox.js +1 -1
- package/dist/esm/molecules/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/molecules/Consent/Consent.stories.d.ts +15 -0
- package/dist/esm/molecules/Consent/ConsentMolecule.d.ts +6 -1
- package/dist/esm/molecules/Consent/ConsentMolecule.js +1 -1
- package/dist/esm/molecules/Consent/ConsentMolecule.js.map +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.d.ts +7 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js.map +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.d.ts +5 -0
- package/dist/esm/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/molecules/Drawer/Drawer.js +1 -1
- package/dist/esm/molecules/Drawer/Drawer.js.map +1 -1
- package/dist/esm/molecules/Drawer/types.d.ts +15 -2
- package/dist/esm/molecules/EmailInputField/EmailInputField.d.ts +7 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js +1 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js.map +1 -1
- package/dist/esm/molecules/Image/Image.d.ts +6 -1
- package/dist/esm/molecules/Image/Image.js +1 -1
- package/dist/esm/molecules/Image/Image.js.map +1 -1
- package/dist/esm/molecules/Menu/Menu.d.ts +17 -4
- package/dist/esm/molecules/Menu/Menu.js +1 -1
- package/dist/esm/molecules/Menu/Menu.js.map +1 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.d.ts +8 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.js +1 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.js.map +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.d.ts +11 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js.map +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.d.ts +10 -2
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js.map +1 -1
- package/dist/esm/molecules/Rating/Rating.d.ts +6 -0
- package/dist/esm/molecules/Rating/Rating.js +1 -1
- package/dist/esm/molecules/Rating/Rating.js.map +1 -1
- package/dist/esm/molecules/Select/Select.d.ts +5 -0
- package/dist/esm/molecules/Select/Select.js +1 -1
- package/dist/esm/molecules/Select/Select.js.map +1 -1
- package/dist/esm/molecules/Slider/Slider.d.ts +5 -0
- package/dist/esm/molecules/Slider/Slider.js +1 -1
- package/dist/esm/molecules/Slider/Slider.js.map +1 -1
- package/dist/esm/molecules/Stepper/Stepper.js +1 -1
- package/dist/esm/molecules/Switch/Switch.d.ts +6 -1
- package/dist/esm/molecules/Switch/Switch.js +1 -1
- package/dist/esm/molecules/Switch/Switch.js.map +1 -1
- package/dist/index.d.ts +132 -12
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BinaryRadioButtons.js","sources":["../../../../../src/molecules/BinaryRadioButtons/BinaryRadioButtons.tsx"],"sourcesContent":[null],"names":["BinaryRadioButtons","_a","moleculeId","name","_c","confirmText","_d","rejectText","_e","confirmTextColor","_f","rejectTextColor","_g","confirmIconName","_h","confirmSelectedIconName","_j","confirmIconColor","_k","confirmSelectedIconColor","_l","rejectIconName","_m","rejectSelectedIconName","_o","rejectIconColor","_p","rejectSelectedIconColor","_q","width","_r","fontSize","fontFamily","_s","fontWeight","_t","textAlign","_u","disabled","_v","required","_w","requiredErrorText","validationErrorText","iconSize","_y","labelPlacement","_z","layout","_0","gap","_1","paddingTop","_2","paddingRight","_3","paddingBottom","_4","paddingLeft","_5","marginTop","_6","marginRight","_7","marginBottom","_8","marginLeft","_9","borderStyle","_10","borderWidth","_11","borderColor","_12","borderRadius","backgroundColor","sourceDataModelField","configurationItemInfo","_13","isDisplayOnly","formContext","useFormContext","control","isInFormContext","localStateObject","useOrganismContext","stateConfig","useStateContext","stateObject","dataModelFieldValue","_b","value","undefined","useEffect","boolValue","Boolean","setValue","s","rules","sizePx","small","medium","large","fallbackUnselectedIcon","_jsx","Circle","size","fallbackSelectedIcon","CheckCircle","getIcon","iconName","isSelected","selectedIconName","targetIconName","IconRenderer","confirmUnselectedIcon","confirmSelectedIcon","rejectUnselectedIcon","rejectSelectedIcon","wrapperSx","
|
1
|
+
{"version":3,"file":"BinaryRadioButtons.js","sources":["../../../../../src/molecules/BinaryRadioButtons/BinaryRadioButtons.tsx"],"sourcesContent":[null],"names":["BinaryRadioButtons","_a","moleculeId","name","_c","confirmText","_d","rejectText","_e","confirmTextColor","_f","rejectTextColor","_g","confirmIconName","_h","confirmSelectedIconName","_j","confirmIconColor","_k","confirmSelectedIconColor","_l","rejectIconName","_m","rejectSelectedIconName","_o","rejectIconColor","_p","rejectSelectedIconColor","_q","width","_r","fontSize","fontFamily","_s","fontWeight","_t","textAlign","_u","disabled","_v","required","_w","requiredErrorText","validationErrorText","iconSize","_y","labelPlacement","_z","layout","_0","gap","_1","paddingTop","_2","paddingRight","_3","paddingBottom","_4","paddingLeft","_5","marginTop","_6","marginRight","_7","marginBottom","_8","marginLeft","minHeight","maxHeight","minWidth","maxWidth","_9","borderStyle","_10","borderWidth","_11","borderColor","_12","borderRadius","backgroundColor","sourceDataModelField","configurationItemInfo","_13","isDisplayOnly","formContext","useFormContext","control","isInFormContext","localStateObject","useOrganismContext","stateConfig","useStateContext","stateObject","dataModelFieldValue","_b","value","undefined","useEffect","boolValue","Boolean","setValue","s","rules","sizePx","small","medium","large","fallbackUnselectedIcon","_jsx","Circle","size","fallbackSelectedIcon","CheckCircle","getIcon","iconName","isSelected","selectedIconName","targetIconName","IconRenderer","confirmUnselectedIcon","confirmSelectedIcon","rejectUnselectedIcon","rejectSelectedIcon","wrapperSx","display","flexDirection","radioGroupSx","currentValue","watch","Box","__assign","sx","children","FormControl","_jsxs","RadioGroup","FormControlLabel","Radio","icon","React","cloneElement","color","checkedIcon","label","Controller","render","field","error","fieldState","onChange","event","target","FormHelperText","message"],"mappings":"o06GAmEA,IAGaA,EAAkD,SAACC,SACpDA,EAAAC,WACV,IAAAC,EAAIF,EAAAE,KACJC,EAAmBH,EAAAI,YAAnBA,OAAc,IAAAD,EAAA,MAAKA,EACnBE,EAAiBL,EAAAM,WAAjBA,OAAU,IAAAD,EAAG,KAAIA,EACjBE,EAA4BP,EAAAQ,iBAA5BA,OAAgB,IAAAD,EAAG,UAASA,EAC5BE,EAA2BT,EAAAU,gBAA3BA,OAAe,IAAAD,EAAG,UAASA,EAC3BE,EAA0BX,EAAAY,gBAA1BA,OAAkB,IAAAD,EAAA,SAAQA,EAC1BE,EAAwCb,EAAAc,wBAAxCA,OAAuB,IAAAD,EAAG,eAAcA,EACxCE,EAA4Bf,EAAAgB,iBAA5BA,OAAgB,IAAAD,EAAG,UAASA,EAC5BE,EAAoCjB,EAAAkB,yBAApC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oB,SAAQA,EACRC,WAAUA,EACVE,WAAUA,EACVE,UAASA,UAKhB+G,GAASvC,EAAC4C,EAAgB,CAAApB,SAAAe,EAAMM,gBAGtC,GAGP"}
|
@@ -20,13 +20,24 @@ export interface ButtonProps extends MuiButtonProps {
|
|
20
20
|
paddingRight: string;
|
21
21
|
paddingBottom: string;
|
22
22
|
paddingLeft: string;
|
23
|
-
|
23
|
+
iconOnly?: boolean;
|
24
|
+
elevation?: number;
|
25
|
+
fillColor?: string;
|
26
|
+
fillColorDisabled?: string;
|
27
|
+
fillColorHover?: string;
|
28
|
+
fillColorPressed?: string;
|
29
|
+
borderColor?: string;
|
30
|
+
borderColorDisabled?: string;
|
31
|
+
borderColorHover?: string;
|
32
|
+
borderColorPressed?: string;
|
33
|
+
textColor?: string;
|
34
|
+
textColorDisabled?: string;
|
35
|
+
textColorHover?: string;
|
36
|
+
textColorPressed?: string;
|
24
37
|
fontSize?: number | string;
|
25
38
|
fontWeight?: 'normal' | 'bold';
|
26
39
|
fontFamily?: TypographyProps['fontFamily'];
|
27
40
|
textAlign?: TypographyProps['textAlign'];
|
28
|
-
textColor?: string;
|
29
|
-
disabledColor?: string;
|
30
41
|
height?: string;
|
31
42
|
width?: string;
|
32
43
|
}
|
@@ -34,4 +45,4 @@ export interface ButtonProps extends MuiButtonProps {
|
|
34
45
|
* We use `forwardRef` so that the ref passed from parent Component (Menu)
|
35
46
|
* will correctly point to the underlying <MuiButton> element.
|
36
47
|
*/
|
37
|
-
export declare const Button: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "color" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "width" | "borderRadius" | "gap" | "action" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "form" | "link" | "slot" | "title" | "text" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "component" | "value" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "textColor" | "configurationItemInfo" | "moleculeId" | "wrapText" | "
|
48
|
+
export declare const Button: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "color" | "fontFamily" | "fontSize" | "fontWeight" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "textAlign" | "translate" | "width" | "borderColor" | "borderRadius" | "gap" | "action" | "className" | "style" | "classes" | "children" | "elevation" | "sx" | "variant" | "form" | "link" | "slot" | "title" | "text" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "component" | "value" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "textColor" | "iconOnly" | "configurationItemInfo" | "moleculeId" | "wrapText" | "fillColor" | "fillColorDisabled" | "fillColorHover" | "fillColorPressed" | "borderColorDisabled" | "borderColorHover" | "borderColorPressed" | "textColorDisabled" | "textColorHover" | "textColorPressed"> & import("react").RefAttributes<HTMLButtonElement>>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{__rest as o,__assign as
|
1
|
+
import{__rest as o,__assign as r}from"../../node_modules/tslib/tslib.es6.js";import{jsx as e}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import{useStateModifierHandler as t}from"../../containers/hooks/useStateModifierHandler.js";import{IconRenderer as i}from"../Icon/IconRenderer.js";import{forwardRef as d}from"react";import{defaultTheme as n}from"../../theme/theme.js";import"../../theme/provider.js";import"../../theme/toastStyles.js";import{getTintColor as l,getMaterialElevation as a}from"../../helpers/styles.js";import s from"../../node_modules/@mui/material/IconButton/IconButton.js";import m from"../../node_modules/@mui/material/Typography/Typography.js";import g from"../../node_modules/@mui/material/Button/Button.js";var c=d((function(d,c){var p=d.gap,b=d.moleculeId,f=d.configurationItemInfo,h=d.fontSize,C=d.fontWeight,u=d.fontFamily,v=d.textAlign,x=d.text,y=d.wrapText,k=void 0!==y&&y,I=d.borderRadius,j=void 0===I?0:I,B=d.endIcon,R=d.startIcon,T=d.fullWidth,w=void 0!==T&&T,S=d.height,W=d.width,L=d.iconOnly,H=void 0!==L&&L,D=d.elevation,P=void 0===D?0:D,N=d.fillColor,_=void 0===N?"primary":N,z=d.fillColorDisabled,A=d.fillColorHover,F=d.fillColorPressed,M=d.borderColor,E=d.borderColorDisabled,O=d.borderColorHover,q=d.borderColorPressed,G=d.textColor,J=d.textColorDisabled,K=d.textColorHover,Q=d.textColorPressed,U=d.variant,V=void 0===U?"contained":U,X=d.color,Y=void 0===X?"primary":X,Z=d.disabled,$=void 0!==Z&&Z,oo=d.link,ro=d.onClick,eo=d.marginTop,to=void 0===eo?"0":eo,io=d.marginRight,no=void 0===io?"0":io,lo=d.marginBottom,ao=void 0===lo?"0":lo,so=d.marginLeft,mo=void 0===so?"0":so,go=d.paddingTop,co=void 0===go?"0":go,po=d.paddingRight,bo=void 0===po?"0":po,fo=d.paddingBottom,ho=void 0===fo?"0":fo,Co=d.paddingLeft,uo=void 0===Co?"0":Co,vo=o(d,["gap","moleculeId","configurationItemInfo","fontSize","fontWeight","fontFamily","textAlign","text","wrapText","borderRadius","endIcon","startIcon","fullWidth","height","width","iconOnly","elevation","fillColor","fillColorDisabled","fillColorHover","fillColorPressed","borderColor","borderColorDisabled","borderColorHover","borderColorPressed","textColor","textColorDisabled","textColorHover","textColorPressed","variant","color","disabled","link","onClick","marginTop","marginRight","marginBottom","marginLeft","paddingTop","paddingRight","paddingBottom","paddingLeft"]),xo=t().onStateChange,yo=function(o){$||(null==ro||ro(o),xo({id:b,type:"clicked"}))},ko=_||Y,Io="contained"===V,jo=z||l(ko,.5),Bo=J||l(G||n.colors.gray2,.5),Ro=E||l(M||ko,.5),To=$?Bo:G,wo=M||ko,So={style:{width:h,height:h,strokeWidth:"bold"===C?2.5:1.5}};return H?e(s,r({ref:c,id:b,href:oo,disabled:$,onClick:yo,sx:{width:W,height:S,marginTop:to,marginRight:no,marginBottom:ao,marginLeft:mo,paddingTop:co,paddingRight:bo,paddingBottom:ho,paddingLeft:uo,borderRadius:j,backgroundColor:Io?ko:"transparent",borderWidth:"bold"===C?2:1.5,borderStyle:"solid",borderColor:wo,color:To,boxShadow:a(P),"&:hover":{backgroundColor:A||l(ko,.8),borderColor:O||l(wo,.8),color:K||To},"&:active":{backgroundColor:F||l(ko,.6),borderColor:q||l(wo,.6),color:Q||To},"&.Mui-disabled":{backgroundColor:Io?jo:"transparent",borderColor:Ro,color:Bo}}},f,vo,{children:e(i,r({iconName:R||"circle-power",color:To},So))})):e(g,r({ref:c,id:b,href:oo,variant:V,disabled:$,fullWidth:w,onClick:yo,disableElevation:0===P,endIcon:B&&e(i,r({color:To,iconName:B},So)),startIcon:R&&e(i,r({color:To,iconName:R},So)),sx:r(r({},w?{}:{width:W,height:S}),{gap:p,alignItems:"center",justifyContent:v,pointerEvents:$?"none":"auto",marginTop:to,marginRight:no,marginBottom:ao,marginLeft:mo,paddingTop:co,paddingRight:bo,paddingBottom:ho,paddingLeft:uo,borderRadius:j,borderWidth:"bold"===C?2:1.5,borderStyle:"solid",borderColor:wo,textTransform:"none",backgroundColor:Io?ko:"transparent",color:To,boxShadow:a(P),"&:hover":{backgroundColor:A||(Io?l(ko,.8):"transparent"),borderColor:O||l(wo,.8),color:K||To},"&:active":{backgroundColor:F||(Io?l(ko,.6):"transparent"),borderColor:q||l(wo,.6),color:Q||To},"&.Mui-disabled":{backgroundColor:Io?jo:"transparent",borderColor:Ro,color:Bo}})},f,vo,{children:x&&e(m,r({component:"span",noWrap:!k,sx:{fontSize:h,fontWeight:C,fontFamily:u,textAlign:v,color:"inherit"}},{children:x}))}))}));c.displayName="NewButton";export{c as Button};
|
2
2
|
//# sourceMappingURL=Button.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../../../../src/molecules/Button/Button.tsx"],"sourcesContent":[null],"names":["Button","forwardRef","_a","ref","gap","moleculeId","configurationItemInfo","fontSize","fontWeight","fontFamily","textAlign","text","_b","wrapText","_c","borderRadius","endIcon","startIcon","_d","fullWidth","height","width","_e","
|
1
|
+
{"version":3,"file":"Button.js","sources":["../../../../../src/molecules/Button/Button.tsx"],"sourcesContent":[null],"names":["Button","forwardRef","_a","ref","gap","moleculeId","configurationItemInfo","fontSize","fontWeight","fontFamily","textAlign","text","_b","wrapText","_c","borderRadius","endIcon","startIcon","_d","fullWidth","height","width","_e","iconOnly","_f","elevation","_g","fillColor","fillColorDisabled","fillColorHover","fillColorPressed","borderColor","borderColorDisabled","borderColorHover","borderColorPressed","textColor","textColorDisabled","textColorHover","textColorPressed","_h","variant","_j","color","_k","disabled","link","onClick","_l","marginTop","_m","marginRight","_o","marginBottom","_p","marginLeft","_q","paddingTop","_r","paddingRight","_s","paddingBottom","_t","paddingLeft","rest","__rest","onStateChange","useStateModifierHandler","clickHandler","event","id","type","activeFillColor","shouldShowBackground","disabledFillColor","getTintColor","disabledTextColor","defaultTheme","colors","gray2","disabledBorderColor","activeTextColor","activeBorderColor","iconProps","style","strokeWidth","_jsx","MuiIconButton","__assign","href","sx","backgroundColor","borderWidth","borderStyle","boxShadow","getMaterialElevation","children","IconRenderer","iconName","MuiButton","disableElevation","alignItems","justifyContent","pointerEvents","textTransform","Typography","component","noWrap","displayName"],"mappings":"4wBAqEaA,EAASC,GACpB,SACEC,EAgDAC,GA/CE,IAAAC,EAAGF,EAAAE,IACHC,EAAUH,EAAAG,WACVC,EAAqBJ,EAAAI,sBACrBC,EAAQL,EAAAK,SACRC,EAAUN,EAAAM,WACVC,EAAUP,EAAAO,WACVC,EAASR,EAAAQ,UACTC,EAAIT,EAAAS,KACJC,EAAAV,EAAAW,SAAAA,cAAgBD,EAChBE,EAAAZ,EAAAa,aAAAA,OAAe,IAAAD,EAAA,EAACA,EAChBE,EAAOd,EAAAc,QACPC,cACAC,EAAAhB,EAAAiB,UAAAA,OAAY,IAAAD,GAAKA,EACjBE,EAAMlB,EAAAkB,OACNC,EAAKnB,EAAAmB,MAGLC,EAAgBpB,EAAAqB,SAAhBA,OAAQ,IAAAD,GAAQA,EAChBE,EAAAtB,EAAAuB,UAAAA,OAAY,IAAAD,EAAA,EAACA,EACbE,EAAqBxB,EAAAyB,UAArBA,OAAS,IAAAD,EAAG,UAASA,EACrBE,EAAiB1B,EAAA0B,kBACjBC,EAAc3B,EAAA2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EAAYT,EAAA,CACX7C,MAAOsC,GACPiB,SAAUhF,GACNiE,KAIVO,GAAEF,EAAAA,EAAA,CAAA,EACIpE,EACA,CAAE,EACF,CACAE,MAAKA,EACLD,OAAMA,IACN,CACJhB,IAAGA,EACHgG,WAAY,SACZC,eAAgB3F,EAChB4F,cAAe1D,EAAW,OAAS,OACnCI,UAASA,GACTE,YAAWA,GACXE,aAAYA,GACZE,WAAUA,GACVE,cACAE,gBACAE,iBACAE,YAAWA,GACX/C,aAAYA,EACZ4E,YAA4B,SAAfnF,EAAwB,EAAI,IACzCoF,YAAa,QACb7D,YAAakD,GACbsB,cAAe,OACfb,gBAAiBlB,GAAuBD,GAAkB,cAC1D7B,MAAOsC,GACPa,UAAWC,EAAqBrE,GAChC,UAAW,CACTiE,gBAAiB7D,IAAmB2C,GAAuBE,EAAaH,GAAiB,IAAO,eAChGxC,YAAaE,GAAoByC,EAAaO,GAAmB,IACjEvC,MAAOL,GAAkB2C,IAE3B,WAAY,CACVU,gBAAiB5D,IAAqB0C,GAAuBE,EAAaH,GAAiB,IAAO,eAClGxC,YAAaG,GAAsBwC,EAAaO,GAAmB,IACnEvC,MAAOJ,GAAoB0C,IAE7B,iBAAkB,CAChBU,gBAAiBlB,GAAuBC,GAAoB,cAC5D1C,YAAagD,GACbrC,MAAOiC,OAGNrE,EACDyD,GAAI,CAAAgC,SAEPpF,GACC0E,EAACmB,EAAUjB,EAAA,CACTkB,UAAU,OACVC,QAAS7F,EACT4E,GAAI,CACFlF,SAAQA,EACRC,WAAUA,EACVC,WAAUA,EACVC,UAASA,EACTgC,MAAO,YACR,CAAAqD,SAEApF,OAKX,IAGFX,EAAO2G,YAAc"}
|
@@ -1,4 +1,13 @@
|
|
1
|
-
import {
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
2
|
+
import { Button } from './Button';
|
2
3
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
3
4
|
export default _default;
|
4
|
-
|
5
|
+
declare type Story = StoryObj<typeof Button>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const IconOnly: Story;
|
8
|
+
export declare const StatefulColors: Story;
|
9
|
+
export declare const HighElevation: Story;
|
10
|
+
export declare const OutlinedCustom: Story;
|
11
|
+
export declare const Disabled: Story;
|
12
|
+
export declare const TextVariant: Story;
|
13
|
+
export declare const Large: Story;
|
@@ -31,5 +31,9 @@ export declare type CheckboxProps = {
|
|
31
31
|
sourceDataModelField?: string;
|
32
32
|
configurationItemInfo?: ConfigurationItemInfo;
|
33
33
|
isDisplayOnly?: boolean;
|
34
|
+
minHeight?: string;
|
35
|
+
maxHeight?: string;
|
36
|
+
minWidth?: string;
|
37
|
+
maxWidth?: string;
|
34
38
|
};
|
35
39
|
export declare const Checkbox: FC<CheckboxProps>;
|