@zealicsolutions/web-ui 1.0.85 → 1.0.86-beta.1

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 (83) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/molecules/Avatar/Avatar.d.ts +5 -1
  4. package/dist/cjs/molecules/BasicTextField/BasicTextField.d.ts +5 -1
  5. package/dist/cjs/molecules/BinaryRadioButtons/BinaryRadioButtons.d.ts +4 -0
  6. package/dist/cjs/molecules/Button/Button.d.ts +15 -4
  7. package/dist/cjs/molecules/Button/Button.stories.d.ts +11 -2
  8. package/dist/cjs/molecules/Checkbox/Checkbox.d.ts +4 -0
  9. package/dist/cjs/molecules/Consent/Consent.stories.d.ts +15 -0
  10. package/dist/cjs/molecules/Consent/ConsentMolecule.d.ts +6 -1
  11. package/dist/cjs/molecules/CurrencyInputtField/CurrencyInputField.d.ts +5 -1
  12. package/dist/cjs/molecules/DatePicker/DatePicker.d.ts +4 -0
  13. package/dist/cjs/molecules/Drawer/types.d.ts +15 -2
  14. package/dist/cjs/molecules/EmailInputField/EmailInputField.d.ts +5 -1
  15. package/dist/cjs/molecules/Image/Image.d.ts +6 -1
  16. package/dist/cjs/molecules/Menu/Menu.d.ts +17 -4
  17. package/dist/cjs/molecules/NumericInputField/NumericInputField.d.ts +6 -1
  18. package/dist/cjs/molecules/PhoneNumberInputField/PhoneNumberInputField.d.ts +8 -2
  19. package/dist/cjs/molecules/Rating/Rating.d.ts +4 -0
  20. package/dist/cjs/molecules/Select/Select.d.ts +4 -0
  21. package/dist/cjs/molecules/Slider/Slider.d.ts +4 -0
  22. package/dist/cjs/molecules/Switch/Switch.d.ts +5 -1
  23. package/dist/esm/components/RichTextViewer/components/Leaf.js.map +1 -1
  24. package/dist/esm/molecules/Accordion/Accordion.js +1 -1
  25. package/dist/esm/molecules/Avatar/Avatar.d.ts +5 -1
  26. package/dist/esm/molecules/Avatar/Avatar.js +1 -1
  27. package/dist/esm/molecules/Avatar/Avatar.js.map +1 -1
  28. package/dist/esm/molecules/BasicTextField/BasicTextField.d.ts +5 -1
  29. package/dist/esm/molecules/BasicTextField/BasicTextField.js +1 -1
  30. package/dist/esm/molecules/BasicTextField/BasicTextField.js.map +1 -1
  31. package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.d.ts +4 -0
  32. package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js +1 -1
  33. package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js.map +1 -1
  34. package/dist/esm/molecules/Button/Button.d.ts +15 -4
  35. package/dist/esm/molecules/Button/Button.js +1 -1
  36. package/dist/esm/molecules/Button/Button.js.map +1 -1
  37. package/dist/esm/molecules/Button/Button.stories.d.ts +11 -2
  38. package/dist/esm/molecules/Checkbox/Checkbox.d.ts +4 -0
  39. package/dist/esm/molecules/Checkbox/Checkbox.js +1 -1
  40. package/dist/esm/molecules/Checkbox/Checkbox.js.map +1 -1
  41. package/dist/esm/molecules/Consent/Consent.stories.d.ts +15 -0
  42. package/dist/esm/molecules/Consent/ConsentMolecule.d.ts +6 -1
  43. package/dist/esm/molecules/Consent/ConsentMolecule.js +1 -1
  44. package/dist/esm/molecules/Consent/ConsentMolecule.js.map +1 -1
  45. package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.d.ts +5 -1
  46. package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js +1 -1
  47. package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js.map +1 -1
  48. package/dist/esm/molecules/DatePicker/DatePicker.d.ts +4 -0
  49. package/dist/esm/molecules/DatePicker/DatePicker.js +1 -1
  50. package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
  51. package/dist/esm/molecules/Drawer/Drawer.js +1 -1
  52. package/dist/esm/molecules/Drawer/Drawer.js.map +1 -1
  53. package/dist/esm/molecules/Drawer/types.d.ts +15 -2
  54. package/dist/esm/molecules/EmailInputField/EmailInputField.d.ts +5 -1
  55. package/dist/esm/molecules/EmailInputField/EmailInputField.js +1 -1
  56. package/dist/esm/molecules/EmailInputField/EmailInputField.js.map +1 -1
  57. package/dist/esm/molecules/Image/Image.d.ts +6 -1
  58. package/dist/esm/molecules/Image/Image.js +1 -1
  59. package/dist/esm/molecules/Image/Image.js.map +1 -1
  60. package/dist/esm/molecules/Menu/Menu.d.ts +17 -4
  61. package/dist/esm/molecules/Menu/Menu.js +1 -1
  62. package/dist/esm/molecules/Menu/Menu.js.map +1 -1
  63. package/dist/esm/molecules/NumericInputField/NumericInputField.d.ts +6 -1
  64. package/dist/esm/molecules/NumericInputField/NumericInputField.js +1 -1
  65. package/dist/esm/molecules/NumericInputField/NumericInputField.js.map +1 -1
  66. package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.d.ts +8 -2
  67. package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js +1 -1
  68. package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js.map +1 -1
  69. package/dist/esm/molecules/Rating/Rating.d.ts +4 -0
  70. package/dist/esm/molecules/Rating/Rating.js +1 -1
  71. package/dist/esm/molecules/Rating/Rating.js.map +1 -1
  72. package/dist/esm/molecules/Select/Select.d.ts +4 -0
  73. package/dist/esm/molecules/Select/Select.js +1 -1
  74. package/dist/esm/molecules/Select/Select.js.map +1 -1
  75. package/dist/esm/molecules/Slider/Slider.d.ts +4 -0
  76. package/dist/esm/molecules/Slider/Slider.js +1 -1
  77. package/dist/esm/molecules/Slider/Slider.js.map +1 -1
  78. package/dist/esm/molecules/Stepper/Stepper.js +1 -1
  79. package/dist/esm/molecules/Switch/Switch.d.ts +5 -1
  80. package/dist/esm/molecules/Switch/Switch.js +1 -1
  81. package/dist/esm/molecules/Switch/Switch.js.map +1 -1
  82. package/dist/index.d.ts +105 -11
  83. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { ConfigurationItemInfo } from 'containers';
2
+ import React from 'react';
3
3
  export interface AvatarMoleculeProps {
4
4
  /** Data‑model field to pull the display value from */
5
5
  sourceDataModelField?: string;
@@ -22,6 +22,10 @@ export interface AvatarMoleculeProps {
22
22
  paddingTop?: string;
23
23
  paddingRight?: string;
24
24
  paddingBottom?: string;
25
+ minHeight?: string;
26
+ maxHeight?: string;
27
+ minWidth?: string;
28
+ maxWidth?: string;
25
29
  /** Pass‑through for editor canvas etc. */
26
30
  configurationItemInfo?: ConfigurationItemInfo;
27
31
  }
@@ -1,6 +1,6 @@
1
- import React, { InputHTMLAttributes } from 'react';
2
1
  import { TextFieldProps as MuiTextFieldProps } from '@mui/material';
3
2
  import { ConfigurationItemInfo } from 'containers';
3
+ import React, { InputHTMLAttributes } from 'react';
4
4
  import { FieldValues, RegisterOptions } from 'react-hook-form';
5
5
  export interface BasicTextFieldProps extends MuiTextFieldProps {
6
6
  required?: boolean;
@@ -24,6 +24,10 @@ export interface BasicTextFieldProps extends MuiTextFieldProps {
24
24
  paddingTop?: string;
25
25
  paddingRight?: string;
26
26
  paddingBottom?: string;
27
+ minHeight?: string;
28
+ maxHeight?: string;
29
+ minWidth?: string;
30
+ maxWidth?: string;
27
31
  text?: string;
28
32
  placeholderText?: string;
29
33
  configurationItemInfo?: ConfigurationItemInfo;
@@ -36,6 +36,10 @@ export declare type BinaryRadioButtonsProps = {
36
36
  marginRight?: string;
37
37
  marginBottom?: string;
38
38
  marginLeft?: string;
39
+ minHeight?: string;
40
+ maxHeight?: string;
41
+ minWidth?: string;
42
+ maxWidth?: string;
39
43
  borderStyle?: string;
40
44
  borderWidth?: string;
41
45
  borderColor?: string;
@@ -20,13 +20,24 @@ export interface ButtonProps extends MuiButtonProps {
20
20
  paddingRight: string;
21
21
  paddingBottom: string;
22
22
  paddingLeft: string;
23
- elevated?: boolean;
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" | "elevated" | "disabledColor"> & import("react").RefAttributes<HTMLButtonElement>>;
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,4 +1,13 @@
1
- import { ButtonProps } from './Button';
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
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonProps>;
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>;
@@ -24,6 +24,11 @@ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import
24
24
  marginBottom?: string | undefined;
25
25
  marginLeft?: string | undefined;
26
26
  width?: string | number | undefined;
27
+ height?: string | number | undefined;
28
+ minHeight?: string | undefined;
29
+ maxHeight?: string | undefined;
30
+ minWidth?: string | undefined;
31
+ maxWidth?: string | undefined;
27
32
  }>;
28
33
  /** Consent with custom spacing */
29
34
  export declare const WithSpacing: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
@@ -49,6 +54,11 @@ export declare const WithSpacing: import("@storybook/types").AnnotatedStoryFn<im
49
54
  marginBottom?: string | undefined;
50
55
  marginLeft?: string | undefined;
51
56
  width?: string | number | undefined;
57
+ height?: string | number | undefined;
58
+ minHeight?: string | undefined;
59
+ maxHeight?: string | undefined;
60
+ minWidth?: string | undefined;
61
+ maxWidth?: string | undefined;
52
62
  }>;
53
63
  /** Consent with custom width */
54
64
  export declare const CustomWidth: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
@@ -74,4 +84,9 @@ export declare const CustomWidth: import("@storybook/types").AnnotatedStoryFn<im
74
84
  marginBottom?: string | undefined;
75
85
  marginLeft?: string | undefined;
76
86
  width?: string | number | undefined;
87
+ height?: string | number | undefined;
88
+ minHeight?: string | undefined;
89
+ maxHeight?: string | undefined;
90
+ minWidth?: string | undefined;
91
+ maxWidth?: string | undefined;
77
92
  }>;
@@ -13,6 +13,11 @@ declare type ConsentMoleculeProps = {
13
13
  marginBottom?: string;
14
14
  marginLeft?: string;
15
15
  width?: string | number;
16
+ height?: string | number;
17
+ minHeight?: string;
18
+ maxHeight?: string;
19
+ minWidth?: string;
20
+ maxWidth?: string;
16
21
  };
17
- export declare const ConsentMolecule: ({ properties, htmlElementId, configurationItemInfo, paddingTop, paddingRight, paddingBottom, paddingLeft, marginTop, marginRight, marginBottom, marginLeft, width, }: ConsentMoleculeProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
22
+ export declare const ConsentMolecule: ({ properties, htmlElementId, configurationItemInfo, paddingTop, paddingRight, paddingBottom, paddingLeft, marginTop, marginRight, marginBottom, marginLeft, width, height, minHeight, maxHeight, minWidth, maxWidth, }: ConsentMoleculeProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
18
23
  export {};
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { ConfigurationItemInfo } from 'containers';
2
+ import React from 'react';
3
3
  export interface CurrencyInputFieldProps {
4
4
  required?: boolean;
5
5
  requiredErrorText?: string;
@@ -20,6 +20,10 @@ export interface CurrencyInputFieldProps {
20
20
  paddingTop?: string;
21
21
  paddingRight?: string;
22
22
  paddingBottom?: string;
23
+ minHeight?: string;
24
+ maxHeight?: string;
25
+ minWidth?: string;
26
+ maxWidth?: string;
23
27
  text?: string;
24
28
  placeholderText?: string;
25
29
  configurationItemInfo?: ConfigurationItemInfo;
@@ -26,6 +26,10 @@ export interface DatePickerMoleculeProps extends Omit<MuiDatePickerProps<Date>,
26
26
  paddingTop?: string;
27
27
  paddingRight?: string;
28
28
  paddingBottom?: string;
29
+ minHeight?: string;
30
+ maxHeight?: string;
31
+ minWidth?: string;
32
+ maxWidth?: string;
29
33
  name: string;
30
34
  sourceDataModelField?: string;
31
35
  isDisplayOnly?: boolean;
@@ -120,13 +120,11 @@ export interface DrawerProps {
120
120
  withButton?: boolean;
121
121
  buttonText?: string;
122
122
  buttonVariant?: 'contained' | 'outlined' | 'text';
123
- buttonColor?: string;
124
123
  buttonTextColor?: string;
125
124
  buttonFontSize?: number | string;
126
125
  buttonFontWeight?: 'normal' | 'bold';
127
126
  buttonFontFamily?: string;
128
127
  buttonDisabled?: boolean;
129
- buttonDisabledColor?: string;
130
128
  buttonGap?: number | string;
131
129
  buttonStartIcon?: string;
132
130
  buttonEndIcon?: string;
@@ -139,6 +137,21 @@ export interface DrawerProps {
139
137
  buttonPaddingRight?: string;
140
138
  buttonPaddingBottom?: string;
141
139
  buttonPaddingLeft?: string;
140
+ buttonIconOnly?: boolean;
141
+ buttonElevation?: number;
142
+ buttonFillColor?: string;
143
+ buttonFillColorDisabled?: string;
144
+ buttonFillColorHover?: string;
145
+ buttonFillColorPressed?: string;
146
+ buttonBorderColor?: string;
147
+ buttonBorderColorDisabled?: string;
148
+ buttonBorderColorHover?: string;
149
+ buttonBorderColorPressed?: string;
150
+ buttonTextColorDisabled?: string;
151
+ buttonTextColorHover?: string;
152
+ buttonTextColorPressed?: string;
153
+ buttonColor?: string;
154
+ buttonDisabledColor?: string;
142
155
  withCloseIcon?: boolean;
143
156
  closeIconColor?: ThemeColors | string;
144
157
  closeIconName?: string;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { ConfigurationItemInfo } from 'containers';
2
+ import React from 'react';
3
3
  export interface EmailInputFieldProps {
4
4
  /** If true, show the email as text only (no editing). */
5
5
  isDisplayOnly?: boolean;
@@ -30,6 +30,10 @@ export interface EmailInputFieldProps {
30
30
  paddingTop?: string;
31
31
  paddingRight?: string;
32
32
  paddingBottom?: string;
33
+ minHeight?: string;
34
+ maxHeight?: string;
35
+ minWidth?: string;
36
+ maxWidth?: string;
33
37
  name: string;
34
38
  sourceDataModelField?: string;
35
39
  configurationItemInfo?: ConfigurationItemInfo;
@@ -1,10 +1,15 @@
1
- import { FC } from 'react';
2
1
  import { ConfigurationItemInfo, MetadataType } from 'containers';
2
+ import { FC } from 'react';
3
3
  export interface ImageProps {
4
4
  src: string;
5
5
  alt?: string;
6
6
  height?: number | string;
7
7
  width?: number | string;
8
+ minHeight?: string;
9
+ maxHeight?: string;
10
+ minWidth?: string;
11
+ maxWidth?: string;
12
+ autoSize?: boolean;
8
13
  rounded?: boolean;
9
14
  raised?: boolean;
10
15
  margin?: string;
@@ -1,7 +1,7 @@
1
- import { FC } from 'react';
2
1
  import { ConfigurationItemInfo, LinkProperties } from 'containers';
2
+ import { FC } from 'react';
3
3
  /**
4
- * Each item can have optional icons, text style, etc.
4
+ * Each item now has minimal properties, with styling controlled at molecule level
5
5
  */
6
6
  export declare type MenuItemType = {
7
7
  id: string;
@@ -14,8 +14,8 @@ export declare type MenuItemType = {
14
14
  fontSize?: string;
15
15
  fontWeight?: 'normal' | 'bold';
16
16
  fontFamily?: string;
17
- wrap?: boolean;
18
17
  textAlign?: 'left' | 'center' | 'right' | 'justify';
18
+ wrap?: boolean;
19
19
  backgroundColor?: string;
20
20
  paddingTop?: string;
21
21
  paddingRight?: string;
@@ -43,7 +43,6 @@ export interface MenuProps {
43
43
  borderWeight?: string;
44
44
  buttonText?: string;
45
45
  buttonVariant?: 'contained' | 'outlined' | 'text';
46
- buttonColor?: string;
47
46
  buttonTextColor?: string;
48
47
  buttonFontSize?: number | string;
49
48
  buttonFontWeight?: 'normal' | 'bold';
@@ -61,6 +60,20 @@ export interface MenuProps {
61
60
  buttonPaddingRight?: string;
62
61
  buttonPaddingBottom?: string;
63
62
  buttonPaddingLeft?: string;
63
+ buttonIconOnly?: boolean;
64
+ buttonElevation?: number;
65
+ buttonFillColor?: string;
66
+ buttonFillColorDisabled?: string;
67
+ buttonFillColorHover?: string;
68
+ buttonFillColorPressed?: string;
69
+ buttonBorderColor?: string;
70
+ buttonBorderColorDisabled?: string;
71
+ buttonBorderColorHover?: string;
72
+ buttonBorderColorPressed?: string;
73
+ buttonTextColorDisabled?: string;
74
+ buttonTextColorHover?: string;
75
+ buttonTextColorPressed?: string;
76
+ buttonColor?: string;
64
77
  anchorOriginVertical?: 'top' | 'center' | 'bottom';
65
78
  anchorOriginHorizontal?: 'left' | 'center' | 'right';
66
79
  transformOriginVertical?: 'top' | 'center' | 'bottom';
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { ConfigurationItemInfo } from 'containers';
2
+ import React from 'react';
3
3
  export interface NumericInputFieldProps {
4
4
  /** If true, the field shows as text-only (no editing). */
5
5
  isDisplayOnly?: boolean;
@@ -32,6 +32,11 @@ export interface NumericInputFieldProps {
32
32
  paddingRight?: string;
33
33
  paddingBottom?: string;
34
34
  configurationItemInfo?: ConfigurationItemInfo;
35
+ textAlign?: 'inherit' | 'left' | 'center' | 'right' | 'justify';
36
+ minHeight?: string;
37
+ maxHeight?: string;
38
+ minWidth?: string;
39
+ maxWidth?: string;
35
40
  }
36
41
  /**
37
42
  * Main NumericInputField component
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { ConfigurationItemInfo } from 'containers';
2
+ import React from 'react';
3
3
  /**
4
4
  * formatPhoneDisplay(value):
5
5
  * Takes a raw string (possibly containing digits and non-digits)
@@ -21,13 +21,15 @@ export interface PhoneNumberInputFieldProps {
21
21
  text?: string;
22
22
  placeholderText?: string;
23
23
  masked?: boolean;
24
+ multiLine?: boolean;
24
25
  /** Basic style props */
25
26
  backgroundColor?: string;
26
27
  borderColor?: string;
27
28
  textColor?: string;
28
29
  fontSize?: number | string;
29
30
  fontFamily?: string;
30
- fontWeight?: 'normal' | 'bold' | number;
31
+ fontWeight?: 'normal' | 'bold';
32
+ textAlign?: 'inherit' | 'left' | 'center' | 'right' | 'justify';
31
33
  /** Spacing */
32
34
  marginLeft?: string;
33
35
  marginTop?: string;
@@ -37,6 +39,10 @@ export interface PhoneNumberInputFieldProps {
37
39
  paddingTop?: string;
38
40
  paddingRight?: string;
39
41
  paddingBottom?: string;
42
+ minHeight?: string;
43
+ maxHeight?: string;
44
+ minWidth?: string;
45
+ maxWidth?: string;
40
46
  name: string;
41
47
  sourceDataModelField?: string;
42
48
  configurationItemInfo?: ConfigurationItemInfo;
@@ -25,6 +25,10 @@ export interface RatingMoleculeProps extends Omit<RatingProps, 'onChange'> {
25
25
  paddingTop?: string;
26
26
  paddingRight?: string;
27
27
  paddingBottom?: string;
28
+ minHeight?: string;
29
+ maxHeight?: string;
30
+ minWidth?: string;
31
+ maxWidth?: string;
28
32
  placement?: 'right' | 'left';
29
33
  configurationItemInfo?: Record<string, unknown>;
30
34
  disabled?: boolean;
@@ -30,6 +30,10 @@ export interface SelectMoleculeProps {
30
30
  paddingTop?: string;
31
31
  paddingRight?: string;
32
32
  paddingBottom?: string;
33
+ minHeight?: string;
34
+ maxHeight?: string;
35
+ minWidth?: string;
36
+ maxWidth?: string;
33
37
  configurationItemInfo?: ConfigurationItemInfo;
34
38
  name: string;
35
39
  sourceDataModelField?: string;
@@ -36,6 +36,10 @@ export interface SliderMoleculeProps extends Omit<SliderProps, 'onChange'> {
36
36
  paddingTop?: string;
37
37
  paddingRight?: string;
38
38
  paddingBottom?: string;
39
+ minHeight?: string;
40
+ maxHeight?: string;
41
+ minWidth?: string;
42
+ maxWidth?: string;
39
43
  configurationItemInfo?: ConfigurationItemInfo;
40
44
  sourceDataModelField?: string;
41
45
  }
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
1
  import { SwitchProps } from '@mui/material';
3
2
  import { ConfigurationItemInfo } from 'containers';
3
+ import React from 'react';
4
4
  export interface SwitchMoleculeProps extends Omit<SwitchProps, 'onChange'> {
5
5
  /** If true, switch is shown but disabled, with a text next to it that indicates ON/OFF. */
6
6
  isDisplayOnly?: boolean;
@@ -24,6 +24,10 @@ export interface SwitchMoleculeProps extends Omit<SwitchProps, 'onChange'> {
24
24
  paddingTop?: string;
25
25
  paddingRight?: string;
26
26
  paddingBottom?: string;
27
+ minHeight?: string;
28
+ maxHeight?: string;
29
+ minWidth?: string;
30
+ maxWidth?: string;
27
31
  /** For hooking up with react-hook-form */
28
32
  name: string;
29
33
  sourceDataModelField?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Leaf.js","sources":["../../../../../../src/components/RichTextViewer/components/Leaf.tsx"],"sourcesContent":[null],"names":["TypographySpan","styled","span","templateObject_2","__makeTemplateObject","_a","$color","$backgroundColor","$fontSize","$fontFamily","$letterSpacing","$lineHeight","css","templateObject_1","concat","Leaf","leaf","children","attributes","_e","useMlrRichTextViewerContext","showAnnotations","annotationsList","isMLRReview","_f","useOrganismContext","isPreview","localStateObject","stateConfig","useStateContext","stateObject","tag","annotationTagIndex","tags","findIndex","id","_b","_jsxs","Stack","__assign","component","display","direction","alignItems","gap","MATRIX_MESSAGE_ELEMENT_ID","MATRIX_MESSAGE_DATA_ID","_d","_jsx","style","backgroundColor","Circle","index","label","_c","type","bold","fontWeight","strikethrough","italic","fontStyle","underline","color","bgColor","fontSize","fontFamily","letterSpacing","lineHeight","variable","VariableFormatter","communicationLink","_g","url_1","url","isInternalLink","link","addInternalParamsToCurrentLink","annotationLinkIndex","links","annotationLink","text","_Fragment","marginBottom","COMMUNICATION_LINK_ELEMENT_ID","COMMUNICATION_LINK_DATA_URL","COMMUNICATION_LINK_DATA_TEXT","defaultTheme","colors","blue","href","target"],"mappings":"8xjHAkBA,QAAMA,EAAiBC,EAAOC,KAO5BC,IAAAA,EAAAC,EAAA,CAAA,OAAA,MAAA,CAAA,OAeC,SAdC,SAACC,GAAE,IAAAC,EAAMD,EAAAC,OAAEC,EAAgBF,EAAAE,iBAAEC,EAASH,EAA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B,EACjBoB,EAAOD,EAAiBE,EAA+BJ,EAAK9C,GAAa8C,EACzEK,EACJvD,EAAgBwD,MAAM5C,WACpB,SAAC6C,GAAmB,OAAAP,IAAQO,EAAeN,KAAOzD,EAAKgE,OAASD,EAAeC,IAA3D,IAClB,EAEN/D,EACE+B,EAAAiC,EAAA,CAAAhE,SACGM,GAAeF,GAAqBwD,EACnCxC,EAACC,KACCE,UAAU,OACVC,QAAQ,cACRE,WAAW,SACXC,IAAK,GACLsC,aAAc,GACd/C,GAAIgD,IAA6B7B,EAAA,CAAA,EAE/BA,EAAC,QAAQxC,OAAAsE,IAAgCZ,EACzClB,EAAC,eAAQ+B,IAAiCrE,EAAKgE,mBAGjDhC,EAAChD,EACYuC,EAAA,CAAA/B,UAAAQ,EAAKgD,SACHvD,YAAAO,EAAKiD,WACFvD,eAAAM,EAAKkD,cACRvD,YAAAK,EAAKmD,WACV7D,OAAAU,EAAK8C,OAASwB,EAAaC,OAAOC,MAE1C,CAAAvE,SAAA+B,EAAA,IAAAT,EAAA,GACMrB,EAAU,CACduE,KAAMd,EACNe,OAAQhB,EAAiB,QAAU,UAAQ,CAAAzD,SAE1CA,QAGL+B,EAACG,EAAO,CAAAC,MAAOyB,EAAqBtB,KAAK,aAG3CP,EAAChD,EACYuC,EAAA,CAAA/B,UAAAQ,EAAKgD,SACHvD,YAAAO,EAAKiD,WACFvD,eAAAM,EAAKkD,cACRvD,YAAAK,EAAKmD,WACV7D,OAAAU,EAAK8C,OAASwB,EAAaC,OAAOC,MAE1C,CAAAvE,SAAA+B,EAAA,IAAAT,EAAA,GACMrB,EAAU,CACduE,KAAMd,EACNe,OAAQhB,EAAiB,QAAU,UAAQ,CAAAzD,SAE1CA,SAMZ,CAED,OAAO+B,EAAU,OAAAT,EAAA,CAAA,EAAArB,EAAa,CAAAD,SAAAA,IAChC"}
1
+ {"version":3,"file":"Leaf.js","sources":["../../../../../../src/components/RichTextViewer/components/Leaf.tsx"],"sourcesContent":[null],"names":["TypographySpan","styled","span","templateObject_2","__makeTemplateObject","_a","$color","$backgroundColor","$fontSize","$fontFamily","$letterSpacing","$lineHeight","css","templateObject_1","concat","Leaf","leaf","children","attributes","_e","useMlrRichTextViewerContext","showAnnotations","annotationsList","isMLRReview","_f","useOrganismContext","isPreview","localStateObject","stateConfig","useStateContext","stateObject","tag","annotationTagIndex","tags","findIndex","id","_b","_jsxs","Stack","__assign","component","display","direction","alignItems","gap","MATRIX_MESSAGE_ELEMENT_ID","MATRIX_MESSAGE_DATA_ID","_d","_jsx","style","backgroundColor","Circle","index","label","_c","type","bold","fontWeight","strikethrough","italic","fontStyle","underline","color","bgColor","fontSize","fontFamily","letterSpacing","lineHeight","variable","VariableFormatter","communicationLink","_g","url_1","url","isInternalLink","link","addInternalParamsToCurrentLink","annotationLinkIndex","links","annotationLink","text","_Fragment","marginBottom","COMMUNICATION_LINK_ELEMENT_ID","COMMUNICATION_LINK_DATA_URL","COMMUNICATION_LINK_DATA_TEXT","defaultTheme","colors","blue","href","target"],"mappings":"8xjHAkBA,QAAMA,EAAiBC,EAAOC,KAO5BC,IAAAA,EAAAC,EAAA,CAAA,OAAA,MAAA,CAAA,OAgBC,SAfC,SAACC,GAAE,IAAAC,EAAMD,EAAAC,OAAEC,EAAgBF,EAAAE,iBAAEC,EAASH,EAAAG,UAAEC,gBAAaC,EAAcL,EAAAK,eAAEC,EAAWN,EAAAM,YAAO,OAAAC,EAAGC,IAAAA,EAAAT,EAAA,CAAA,SAAA,SAAA,SAAA,SAAA,SAAA,SAAA,QAAA,CAAA,SAChD,SAC+B,SACrB,SASnD,SACkE,SACT,UAbxDE,GAAU,UAAAQ,OAAUR,EAAM,gBAC1BC,GAAoB,qBAAqBO,OAAAP,EAA8B,gBACvEC,GAAa,cAAAM,OAAcN,EAAS,gBACpCC,GACF,wBAAAK,OACiBL,EAAW,oJAAAK,OAITL,EAAW,+BAG5BC,GAAkB,mBAAmBI,OAAAJ,kBACrCC,GAAe,gBAAAG,OAAgBH,EAAy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