@skodaflow/web-library 3.2.3 → 3.2.4

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.
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { EmblaCarouselType, EmblaOptionsType } from 'embla-carousel-react';
3
3
  import { ControllerSize, ControlVariant, DarkLightOptions, IconsStyle } from '../../utils/types';
4
- export declare type CarouselPropType = {
4
+ export type CarouselPropType = {
5
5
  /**
6
6
  * Align the slides relative to the carousel viewport. Use one of the predefined alignments start, center or end. Alternatively, provide a number between 0 - 1 to align the slides, where 0.5 equals 50%.
7
7
  */
@@ -1,2 +1,2 @@
1
- export declare type DarkOpacity = 'opacity0' | 'opacity25' | 'opacity50' | 'opacity75' | string;
2
- export declare type LightOpacity = 'opacity0' | 'opacity25' | 'opacity50' | 'opacity75' | string;
1
+ export type DarkOpacity = 'opacity0' | 'opacity25' | 'opacity50' | 'opacity75' | string;
2
+ export type LightOpacity = 'opacity0' | 'opacity25' | 'opacity50' | 'opacity75' | string;
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const CardStandardWrapperStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/OverridableComponent").OverrideProps<import("@mui/material").PaperTypeMap<{}, "div">, "div">, "className" | "style" | "children" | "elevation" | "square" | "sx" | "variant" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
2
+ export declare const CardStandardWrapperStyled: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").PaperProps<"div", {}>, "classes"> & {
3
3
  classes?: Partial<import("@mui/material/Card").CardClasses>;
4
4
  raised?: boolean;
5
5
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
6
- } & import("@mui/material/OverridableComponent").CommonProps & Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "children" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
7
- ref?: ((instance: HTMLDivElement) => void) | import("react").RefObject<HTMLDivElement>;
8
- }, never> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
6
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
7
+ ref?: import("react").Ref<HTMLDivElement>;
8
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "elevation" | "square" | "sx" | "variant" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
9
9
  size?: any;
10
10
  isBorderRadius?: any;
11
11
  }, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ButtonProps } from '../../components/button';
3
- export declare type variants = 'subHeadline' | 'h1' | 'h2' | 'h3' | 'h4';
3
+ export type variants = 'subHeadline' | 'h1' | 'h2' | 'h3' | 'h4';
4
4
  export interface TextCtaProps {
5
5
  /**
6
6
  * label to be shown on the top of component
@@ -1,5 +1,5 @@
1
- export declare type DarkLightOptions = 'dark' | 'light';
2
- export declare type ControlVariant = 'standard' | 'outline';
3
- export declare type ControlsType = 'arrow-right' | 'arrow-left' | 'play-right' | 'pause';
4
- export declare type ControllerSize = 'small' | 'medium';
5
- export declare type IconsStyle = 'regular' | 'filled';
1
+ export type DarkLightOptions = 'dark' | 'light';
2
+ export type ControlVariant = 'standard' | 'outline';
3
+ export type ControlsType = 'arrow-right' | 'arrow-left' | 'play-right' | 'pause';
4
+ export type ControllerSize = 'small' | 'medium';
5
+ export type IconsStyle = 'regular' | 'filled';
package/package.json CHANGED
@@ -1,104 +1,104 @@
1
- {
2
- "name": "@skodaflow/web-library",
3
- "version": "3.2.3",
4
- "description": "Implementation of Skoda Flow Design System with Material UI as core library.",
5
- "author": "Skoda Auto",
6
- "license": "SEE LICENSE IN eula.txt",
7
- "main": "./build/index.js",
8
- "module": "./build/index.es.js",
9
- "types": "./build",
10
- "files": [
11
- "build",
12
- "theme"
13
- ],
14
- "scripts": {
15
- "build": "rollup --config build.library.config.js",
16
- "ci-build": "npm run build && npm run build-assets",
17
- "build-assets": "webpack --config build.assets.config.js --mode production --env destination=./build/theme/skoda",
18
- "lint": "eslint src/**",
19
- "lint-fix": "eslint src/** --fix",
20
- "lint-report-json": "eslint -f json -o eslint/results/LINT-web-library.json src",
21
- "lint-report-junit": "eslint -f @skodaflow/eslint-formatter-junit -o eslint/results/LINT-web-library.xml src",
22
- "lint-report-vs": "eslint -f visualstudio -o eslint/results/LINT-web-library.trx src",
23
- "lint-staged": "lint-staged",
24
- "test-junit-report-merge": "jrm cypress/results/TEST-web-library.junit.xml \"cypress/results/*.junit.xml\"",
25
- "test-sonar-report-merge": "srm cypress/results/TEST-web-library.sonar.xml \"cypress/results/*.sonar.xml\"",
26
- "test": "cypress run-ct",
27
- "test-watch": "cypress open-ct",
28
- "preci-test": "webpack --config cypress/utils/clean/config.js --mode none",
29
- "ci-test": "cypress run-ct --reporter ../../node_modules/mocha-multi-reporters --reporter-options configFile=cypress-reporters.json"
30
- },
31
- "peerDependencies": {
32
- "@emotion/react": "^11.4.1",
33
- "@emotion/styled": "^11.3.0",
34
- "@mui/material": "^5.9.0",
35
- "@mui/system": "^5.9.0",
36
- "react": "^17.0.2 || ^18.0.0"
37
- },
38
- "dependencies": {
39
- "@skodaflow/web-tokens": "^2.4.0",
40
- "@googlemaps/markerclusterer": "^1.0.22",
41
- "@googlemaps/react-wrapper": "^1.1.22",
42
- "ag-grid-community": "^29.1.0",
43
- "ag-grid-react": "^29.1.0",
44
- "country-flag-icons": "^1.4.17",
45
- "embla-carousel-auto-height": "^7.1.0",
46
- "embla-carousel-autoplay": "^7.1.0",
47
- "embla-carousel-class-names": "^7.1.0",
48
- "embla-carousel-react": "^7.1.0",
49
- "embla-carousel-wheel-gestures": "^3.0.0"
50
- },
51
- "devDependencies": {
52
- "@cypress/react": "5.12.5",
53
- "@cypress/webpack-dev-server": "^1.6.0",
54
- "@rollup/plugin-json": "^4.1.0",
55
- "@skodaflow/cypress-execution-sonar-reporter": "^1.0.1",
56
- "@skodaflow/eslint-config-react": "^1.0.3",
57
- "@skodaflow/eslint-formatter-junit": "^1.0.0",
58
- "@skodaflow/sonar-report-merger": "^1.0.1",
59
- "@types/cypress-image-snapshot": "^3.1.6",
60
- "@types/google.maps": "^3.47.4",
61
- "@types/lodash": "^4.14.191",
62
- "@types/react": "^17.0.15",
63
- "css-loader": "5.2.7",
64
- "cypress": "8.7.0",
65
- "cypress-image-snapshot": "4.0.1",
66
- "eslint": "^7.32.0",
67
- "extract-loader": "5.1.0",
68
- "file-loader": "6.2.0",
69
- "html-webpack-plugin": "^4.5.2",
70
- "jest": "26.6.3",
71
- "junit-report-merger": "^3.0.2",
72
- "lint-staged": "^11.1.2",
73
- "lodash": "^4.17.21",
74
- "mocha": "^9.1.3",
75
- "mocha-junit-reporter": "^2.0.2",
76
- "mocha-multi-reporters": "^1.5.1",
77
- "postcss-loader": "4.3.0",
78
- "prettier": "^2.3.2",
79
- "react-scripts": "^4.0.3",
80
- "remove-files-webpack-plugin": "1.4.5",
81
- "resolve-url-loader": "4.0.0",
82
- "rollup": "^2.55.0",
83
- "rollup-plugin-commonjs": "^10.1.0",
84
- "rollup-plugin-copy": "^3.4.0",
85
- "rollup-plugin-node-resolve": "^5.2.0",
86
- "rollup-plugin-peer-deps-external": "^2.2.4",
87
- "rollup-plugin-postcss": "3.1.8",
88
- "rollup-plugin-svg": "^2.0.0",
89
- "rollup-plugin-terser": "^7.0.2",
90
- "rollup-plugin-typescript2": "^0.30.0",
91
- "sass": "^1.43.5",
92
- "sass-loader": "10.1.1",
93
- "style-loader": "2.0.0",
94
- "ts-jest": "^27.0.4",
95
- "typescript": "4.1.6",
96
- "webpack": "^5.7.62",
97
- "webpack-cli": "^5.0.1",
98
- "webpack-dev-server": "^4.13.1"
99
- },
100
- "lint-staged": {
101
- "*.+(js|jsx|ts|tsx)": "eslint --fix",
102
- "*.+(json|css|md|scss|sass)": "prettier --write"
103
- }
104
- }
1
+ {
2
+ "name": "@skodaflow/web-library",
3
+ "version": "3.2.4",
4
+ "description": "Implementation of Skoda Flow Design System with Material UI as core library.",
5
+ "author": "Skoda Auto",
6
+ "license": "SEE LICENSE IN eula.txt",
7
+ "main": "./build/index.js",
8
+ "module": "./build/index.es.js",
9
+ "types": "./build",
10
+ "files": [
11
+ "build",
12
+ "theme"
13
+ ],
14
+ "scripts": {
15
+ "build": "rollup --config build.library.config.js",
16
+ "ci-build": "npm run build && npm run build-assets",
17
+ "build-assets": "webpack --config build.assets.config.js --mode production --env destination=./build/theme/skoda",
18
+ "lint": "eslint src/**",
19
+ "lint-fix": "eslint src/** --fix",
20
+ "lint-report-json": "eslint -f json -o eslint/results/LINT-web-library.json src",
21
+ "lint-report-junit": "eslint -f @skodaflow/eslint-formatter-junit -o eslint/results/LINT-web-library.xml src",
22
+ "lint-report-vs": "eslint -f visualstudio -o eslint/results/LINT-web-library.trx src",
23
+ "lint-staged": "lint-staged",
24
+ "test-junit-report-merge": "jrm cypress/results/TEST-web-library.junit.xml \"cypress/results/*.junit.xml\"",
25
+ "test-sonar-report-merge": "srm cypress/results/TEST-web-library.sonar.xml \"cypress/results/*.sonar.xml\"",
26
+ "test": "cypress run-ct",
27
+ "test-watch": "cypress open-ct",
28
+ "preci-test": "webpack --config cypress/utils/clean/config.js --mode none",
29
+ "ci-test": "cypress run-ct --reporter ../../node_modules/mocha-multi-reporters --reporter-options configFile=cypress-reporters.json"
30
+ },
31
+ "peerDependencies": {
32
+ "@emotion/react": "^11.4.1",
33
+ "@emotion/styled": "^11.3.0",
34
+ "@mui/material": "^5.9.0",
35
+ "@mui/system": "^5.9.0",
36
+ "react": "^17.0.2 || ^18.0.0"
37
+ },
38
+ "dependencies": {
39
+ "@skodaflow/web-tokens": "^2.4.0",
40
+ "@googlemaps/markerclusterer": "^1.0.22",
41
+ "@googlemaps/react-wrapper": "^1.1.22",
42
+ "ag-grid-community": "^29.1.0",
43
+ "ag-grid-react": "^29.1.0",
44
+ "country-flag-icons": "^1.4.17",
45
+ "embla-carousel-auto-height": "^7.1.0",
46
+ "embla-carousel-autoplay": "^7.1.0",
47
+ "embla-carousel-class-names": "^7.1.0",
48
+ "embla-carousel-react": "^7.1.0",
49
+ "embla-carousel-wheel-gestures": "^3.0.0"
50
+ },
51
+ "devDependencies": {
52
+ "@cypress/react": "5.12.5",
53
+ "@cypress/webpack-dev-server": "^1.6.0",
54
+ "@rollup/plugin-json": "^4.1.0",
55
+ "@skodaflow/cypress-execution-sonar-reporter": "^1.0.1",
56
+ "@skodaflow/eslint-config-react": "^1.0.3",
57
+ "@skodaflow/eslint-formatter-junit": "^1.0.0",
58
+ "@skodaflow/sonar-report-merger": "^1.0.1",
59
+ "@types/cypress-image-snapshot": "^3.1.6",
60
+ "@types/google.maps": "^3.47.4",
61
+ "@types/lodash": "^4.14.191",
62
+ "@types/react": "^17.0.15",
63
+ "css-loader": "5.2.7",
64
+ "cypress": "8.7.0",
65
+ "cypress-image-snapshot": "4.0.1",
66
+ "eslint": "^7.32.0",
67
+ "extract-loader": "5.1.0",
68
+ "file-loader": "6.2.0",
69
+ "html-webpack-plugin": "^4.5.2",
70
+ "jest": "26.6.3",
71
+ "junit-report-merger": "^3.0.2",
72
+ "lint-staged": "^11.1.2",
73
+ "lodash": "^4.17.21",
74
+ "mocha": "^9.1.3",
75
+ "mocha-junit-reporter": "^2.0.2",
76
+ "mocha-multi-reporters": "^1.5.1",
77
+ "postcss-loader": "4.3.0",
78
+ "prettier": "^2.3.2",
79
+ "react-scripts": "^4.0.3",
80
+ "remove-files-webpack-plugin": "1.4.5",
81
+ "resolve-url-loader": "4.0.0",
82
+ "rollup": "^2.55.0",
83
+ "rollup-plugin-commonjs": "^10.1.0",
84
+ "rollup-plugin-copy": "^3.4.0",
85
+ "rollup-plugin-node-resolve": "^5.2.0",
86
+ "rollup-plugin-peer-deps-external": "^2.2.4",
87
+ "rollup-plugin-postcss": "3.1.8",
88
+ "rollup-plugin-svg": "^2.0.0",
89
+ "rollup-plugin-terser": "^7.0.2",
90
+ "rollup-plugin-typescript2": "^0.31.0",
91
+ "sass": "^1.43.5",
92
+ "sass-loader": "10.1.1",
93
+ "style-loader": "2.0.0",
94
+ "ts-jest": "^27.0.4",
95
+ "typescript": "4.1.6",
96
+ "webpack": "^5.7.62",
97
+ "webpack-cli": "^5.0.1",
98
+ "webpack-dev-server": "^4.13.1"
99
+ },
100
+ "lint-staged": {
101
+ "*.+(js|jsx|ts|tsx)": "eslint --fix",
102
+ "*.+(json|css|md|scss|sass)": "prettier --write"
103
+ }
104
+ }