@skodaflow/web-library 2.1.10 → 3.1.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.
Files changed (32) hide show
  1. package/build/components/accordion/accordion.d.ts +0 -1
  2. package/build/components/button/button.d.ts +7 -2
  3. package/build/components/cardContainer/cardContainer.d.ts +8 -0
  4. package/build/components/cardMenu/styled/popperStyled.d.ts +1 -3
  5. package/build/components/labelFeature/labelFeature.d.ts +3 -2
  6. package/build/components/mobileStepper/index.d.ts +1 -0
  7. package/build/components/mobileStepper/mobileStepper.d.ts +41 -0
  8. package/build/components/modal/modal.d.ts +3 -3
  9. package/build/components/stepper/index.d.ts +1 -0
  10. package/build/components/stepper/stepper.d.ts +42 -0
  11. package/build/components/tab/tab.d.ts +1 -1
  12. package/build/design/skoda/components/theme.button.d.ts +4 -0
  13. package/build/design/skoda/components/theme.mobileStepper.d.ts +2 -0
  14. package/build/design/skoda/components/theme.pagination.d.ts +1 -0
  15. package/build/design/skoda/components/theme.stepper.d.ts +2 -0
  16. package/build/design/skoda/theme.palette-new-ci.d.ts +66 -0
  17. package/build/design/skoda/theme.palette.d.ts +0 -14
  18. package/build/index.d.ts +36 -34
  19. package/build/index.es.js +3 -3
  20. package/build/index.es.js.map +1 -1
  21. package/build/index.js +2 -2
  22. package/build/index.js.map +1 -1
  23. package/build/organisms/maps/hook/useMap.d.ts +1 -1
  24. package/build/organisms/maps/mapComponents/markerComponent.d.ts +2 -0
  25. package/build/organisms/maps/maps.d.ts +2 -0
  26. package/build/organisms/maps/utils/mapConfig.d.ts +10 -6
  27. package/build/organisms/maps/utils/mapIcons.d.ts +7 -7
  28. package/build/organisms/maps/utils/style.d.ts +10 -6
  29. package/build/utils/enum.d.ts +10 -0
  30. package/build/utils/utilities.d.ts +3 -1
  31. package/package.json +22 -22
  32. package/theme/skoda/globals.css +1 -1
@@ -13,7 +13,6 @@ export interface AccordionItem {
13
13
  title: string;
14
14
  content: string | React.ReactNode;
15
15
  isDefaultExpanded?: boolean;
16
- disabled?: boolean;
17
16
  }
18
17
  /**
19
18
  * @interface AccordionProps
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { ColourSheme } from '../../utils/enum';
2
3
  /**
3
4
  * @type ButtonVariants
4
5
  * @description The variants of the Button component.
@@ -17,7 +18,7 @@ export declare enum ButtonVariants {
17
18
  */
18
19
  export interface ButtonProps extends Omit<React.HTMLAttributes<HTMLButtonElement>, 'color' | 'size'> {
19
20
  /**
20
- * Varian of button defines different look and style
21
+ * Variant of button defines different look and style
21
22
  */
22
23
  variant?: ButtonVariants;
23
24
  /**
@@ -25,7 +26,11 @@ export interface ButtonProps extends Omit<React.HTMLAttributes<HTMLButtonElement
25
26
  */
26
27
  label?: string;
27
28
  /**
28
- * Icon name. For example "check". If no prefix is defined, default SKODA icon font is used
29
+ * Colour scheme button dark or light for primary and tertiary button variant
30
+ */
31
+ colourScheme?: ColourSheme;
32
+ /**
33
+ * Icon name. For example "heart".
29
34
  */
30
35
  icon?: string;
31
36
  /**
@@ -17,5 +17,13 @@ export interface CardContainerProps extends React.HTMLAttributes<HTMLDivElement>
17
17
  * Additional onClickCallback when the CardContainer is clicked. The onClickCallback works only if isClickable is true.
18
18
  */
19
19
  onClickCallback?: (state: boolean) => void;
20
+ /**
21
+ * If true, enable grey background variant
22
+ */
23
+ isGreyVariant?: boolean;
24
+ /**
25
+ * padding for cardContainer. Default 0
26
+ */
27
+ padding?: string;
20
28
  }
21
29
  export declare const CardContainer: React.ForwardRefExoticComponent<CardContainerProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const PopperStyled: import("@emotion/styled").StyledComponent<Pick<Pick<import("@mui/base").PopperUnstyledProps, "slot" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "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" | "ref" | "anchorEl" | "container" | "disablePortal" | "keepMounted" | "modifiers" | "open" | "placement" | "popperOptions" | "popperRef" | "transition"> & {
3
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
4
- }, "slot" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "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" | "anchorEl" | "container" | "disablePortal" | "keepMounted" | "modifiers" | "open" | "placement" | "popperOptions" | "popperRef" | "transition" | "sx"> & import("react").RefAttributes<HTMLDivElement> & {
2
+ export declare const PopperStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/Popper").PopperProps, "slot" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "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" | "anchorEl" | "container" | "disablePortal" | "keepMounted" | "modifiers" | "open" | "placement" | "popperOptions" | "popperRef" | "transition" | "sx"> & import("react").RefAttributes<HTMLDivElement> & {
5
3
  theme?: import("@emotion/react").Theme;
6
4
  } & {
7
5
  theme?: any;
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { LabelProps } from '../label';
3
+ import { VariantType } from '../../utils/enum';
3
4
  /**
4
5
  * @interface LabelFeatureProps
5
6
  * @description Base defintion of SkodaFlow LabelFeature component independent on core implemenation.
@@ -7,9 +8,9 @@ import { LabelProps } from '../label';
7
8
  */
8
9
  export interface LabelFeatureProps extends LabelProps {
9
10
  /**
10
- * Label variant
11
+ * Label variant (primary - neutral)
11
12
  */
12
- variant?: 'primary' | 'neutral' | 'secondary' | string;
13
+ variant?: 'primary' | 'neutral' | string | VariantType;
13
14
  }
14
15
  /**
15
16
  * @description Styled SkodaFlow LabelFeature component.
@@ -0,0 +1 @@
1
+ export * from './mobileStepper';
@@ -0,0 +1,41 @@
1
+ import React from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ export interface MobileStepperProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * The number of steps.
6
+ */
7
+ steps?: number;
8
+ /**
9
+ * The activeStep of a stepper.
10
+ */
11
+ activeStep?: number;
12
+ /**
13
+ * The variant to use.
14
+ */
15
+ variant?: 'progress';
16
+ /**
17
+ * A back button element. For instance, it can be a Button or an IconButton.
18
+ */
19
+ backButton?: Node;
20
+ /**
21
+ * A next button element. For instance, it can be a Button or an IconButton.
22
+ */
23
+ nextButton?: Node;
24
+ /**
25
+ * The system prop that allows defining system overrides as well as additional CSS styles.
26
+ */
27
+ sx?: SxProps<Theme>;
28
+ /**
29
+ * Props applied to the LinearProgress element.
30
+ */
31
+ LinearProgressProps?: object;
32
+ /**
33
+ * The label of previous button.
34
+ */
35
+ prevButtonLabel?: string;
36
+ /**
37
+ * The label of next button.
38
+ */
39
+ nextButtonLabel?: string;
40
+ }
41
+ export declare const MobileStepper: React.ForwardRefExoticComponent<MobileStepperProps & React.RefAttributes<HTMLDivElement>>;
@@ -11,15 +11,15 @@ export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
11
11
  /**
12
12
  * Callback used to close the modal.
13
13
  */
14
- handleClose: () => void;
14
+ handleClose?: () => void;
15
15
  /**
16
16
  * Callback for the top button.
17
17
  */
18
- onClickTopButton: () => void;
18
+ onClickTopButton?: () => void;
19
19
  /**
20
20
  * Callback for the bottom button.
21
21
  */
22
- onClickBottomButton: () => void;
22
+ onClickBottomButton?: () => void;
23
23
  /**
24
24
  * Accessibility.
25
25
  */
@@ -0,0 +1 @@
1
+ export * from './stepper';
@@ -0,0 +1,42 @@
1
+ import React from 'react';
2
+ import { SxProps } from '@mui/system';
3
+ import { Theme } from '@mui/material';
4
+ export interface StepperProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ /**
6
+ * The activeStep of a stepper.
7
+ */
8
+ activeStep?: number;
9
+ /**
10
+ * if true, orientation is horizontal, then the step label will be positioned under the icon..
11
+ */
12
+ alternativeLabel?: boolean;
13
+ /**
14
+ * The system prop that allows defining system overrides as well as additional CSS styles.
15
+ */
16
+ sx?: SxProps<Theme>;
17
+ /**
18
+ * Two or more <Step /> components.
19
+ */
20
+ children?: Node;
21
+ /**
22
+ * Override or extend the styles applied to the component.
23
+ */
24
+ classes?: object;
25
+ /**
26
+ * An element to be placed between each step.
27
+ */
28
+ connector?: Element;
29
+ /**
30
+ * If set the Stepper will not assist in controlling steps for linear flow.
31
+ */
32
+ nonLinear?: boolean;
33
+ /**
34
+ * The component orientation (layout flow direction).
35
+ */
36
+ orientation?: 'horizontal';
37
+ /**
38
+ * The total steps.
39
+ */
40
+ step?: Array<string>;
41
+ }
42
+ export declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLDivElement>>;
@@ -17,7 +17,7 @@ export interface TabProps {
17
17
  */
18
18
  href?: string;
19
19
  /**
20
- * Position of the icon
20
+ * target for the anchor tag
21
21
  */
22
22
  target?: string;
23
23
  /**
@@ -28,6 +28,10 @@ export declare const navigationButtonStyle: {
28
28
  };
29
29
  '&:disabled': {
30
30
  backgroundColor: string;
31
+ color: string;
32
+ '& .MuiIcon-root': {
33
+ color: string;
34
+ };
31
35
  };
32
36
  '.MuiButton-startIcon': {
33
37
  transition: string;
@@ -0,0 +1,2 @@
1
+ import { Components } from '@mui/material/styles/components';
2
+ export declare const flowMobileStepper: Components['MuiMobileStepper'];
@@ -1,2 +1,3 @@
1
1
  import { Components } from '@mui/material/styles';
2
2
  export declare const flowPaginationItem: Components['MuiPaginationItem'];
3
+ export declare const flowPagination: Components['MuiPagination'];
@@ -0,0 +1,2 @@
1
+ import { Components } from '@mui/material/styles/components';
2
+ export declare const flowStepper: Components['MuiStepper'];
@@ -0,0 +1,66 @@
1
+ import { Palette, PaletteOptions } from '@mui/material/styles';
2
+ import { PaletteColorOptions } from '@mui/material/styles/createPalette';
3
+ declare module '@mui/material/styles' {
4
+ interface PaletteOptions {
5
+ brand?: Palette['brand'];
6
+ brandHover?: Palette['brandHover'];
7
+ disabled?: Palette['disabled'];
8
+ transparent?: Palette['transparent'];
9
+ positive?: PaletteColorOptions;
10
+ alert?: PaletteColorOptions;
11
+ surface?: Palette['surface'];
12
+ onSurface?: Palette['onSurface'];
13
+ }
14
+ }
15
+ declare module '@mui/material/styles/createPalette' {
16
+ interface Palette {
17
+ brand: BrandColors;
18
+ brandHover?: BrandHoverColors;
19
+ disabled?: DisabledColors;
20
+ transparent: TransparerntColors;
21
+ surface: SurfaceColors;
22
+ onSurface: OnSurfaceColors;
23
+ alert?: PaletteColorOptions;
24
+ }
25
+ interface BrandColors {
26
+ primary: string;
27
+ secondary: string;
28
+ tertiary: string;
29
+ quarternary: string;
30
+ }
31
+ interface BrandHoverColors {
32
+ primary: string;
33
+ secondary: string;
34
+ }
35
+ interface DisabledColors {
36
+ primary: string;
37
+ secondary: string;
38
+ tertiary: string;
39
+ }
40
+ interface SurfaceColors {
41
+ primary?: string;
42
+ secondary?: string;
43
+ tertiary?: string;
44
+ quarternary?: string;
45
+ }
46
+ interface OnSurfaceColors {
47
+ os0: string;
48
+ os100: string;
49
+ os200: string;
50
+ os300: string;
51
+ os500: string;
52
+ os600: string;
53
+ os700: string;
54
+ os800: string;
55
+ os900: string;
56
+ }
57
+ interface TransparerntColors {
58
+ primary: string;
59
+ secondary: string;
60
+ backdrop: string;
61
+ }
62
+ interface TypeBackground {
63
+ primary: string;
64
+ }
65
+ }
66
+ export declare const flowColors: PaletteOptions;
@@ -1,14 +0,0 @@
1
- import { Palette, PaletteOptions } from '@mui/material/styles';
2
- declare module '@mui/material/styles' {
3
- interface PaletteOptions {
4
- neutrals: Palette['grey'];
5
- surface: Palette['common'];
6
- }
7
- }
8
- declare module '@mui/material/styles/createPalette' {
9
- interface Palette {
10
- neutrals: Palette['grey'];
11
- surface: Palette['common'];
12
- }
13
- }
14
- export declare const flowColors: PaletteOptions;
package/build/index.d.ts CHANGED
@@ -1,47 +1,49 @@
1
+ export * from './components/accordion';
2
+ export * from './components/backdrop';
1
3
  export * from './components/button';
2
- export * from './components/icon';
4
+ export * from './components/banner';
5
+ export * from './components/cardContainer';
6
+ export * from './components/cardMenu';
3
7
  export * from './components/checkbox';
4
- export * from './components/radioButton';
5
- export * from './components/toggleSwitch';
8
+ export * from './components/chip';
9
+ export * from './components/container';
10
+ export * from './components/controls';
11
+ export * from './components/divider';
12
+ export * from './components/drawer';
13
+ export * from './components/flag';
14
+ export * from './components/grid';
15
+ export * from './components/icon';
16
+ export * from './components/indicator';
6
17
  export * from './components/label';
7
18
  export * from './components/labelCO2';
8
19
  export * from './components/labelFeature';
20
+ export * from './components/labelPromotional';
9
21
  export * from './components/labelStatus';
10
- export * from './components/indicator';
11
- export * from './components/slider';
12
- export * from './components/tooltip';
13
22
  export * from './components/menu';
14
- export * from './components/flag';
15
- export * from './design/skoda/index';
16
- export * from './components/container';
17
- export * from './components/grid';
18
- export * from './components/textArea';
19
- export * from './components/textInput';
23
+ export * from './components/mobileStepper';
24
+ export * from './components/modal';
25
+ export * from './components/numbering';
26
+ export * from './components/pagination';
27
+ export * from './components/progressBar';
28
+ export * from './components/radioButton';
20
29
  export * from './components/selectInput';
21
- export * from './components/chip';
22
- export * from './components/labelPromotional';
23
- export * from './components/tab';
24
- export * from './components/divider';
30
+ export * from './components/slider';
25
31
  export * from './components/snackbar';
26
- export * from './components/backdrop';
27
- export * from './organisms/heroImageCard';
28
- export * from './organisms/shortcutLink';
29
- export * from './organisms/cardPhotoFixed';
30
- export * from './organisms/textCta';
31
- export * from './organisms/cardPhotoAdjustable';
32
+ export * from './components/stepper';
33
+ export * from './components/tab';
34
+ export * from './components/textArea';
35
+ export * from './components/textInput';
36
+ export * from './components/toggleSwitch';
37
+ export * from './components/tooltip';
38
+ export * from './design/skoda/index';
32
39
  export * from './organisms/cardOwnedVehicle';
33
- export * from './organisms/tile';
34
- export * from './components/progressBar';
40
+ export * from './organisms/cardPhotoAdjustable';
41
+ export * from './organisms/cardPhotoFixed';
35
42
  export * from './organisms/cardPromoVehicle';
36
43
  export * from './organisms/cardTypeOnly';
37
- export * from './components/modal';
38
- export * from './organisms/maps';
39
- export * from './components/pagination';
40
- export * from './components/drawer';
41
44
  export * from './organisms/carousel';
42
- export * from './components/controls';
43
- export * from './components/numbering';
44
- export * from './components/cardContainer';
45
- export * from './components/accordion';
46
- export * from './components/banner';
47
- export * from './components/cardMenu';
45
+ export * from './organisms/heroImageCard';
46
+ export * from './organisms/maps';
47
+ export * from './organisms/shortcutLink';
48
+ export * from './organisms/textCta';
49
+ export * from './organisms/tile';