@skodaflow/web-library 3.1.2 → 3.2.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.
- package/README.md +24 -10
- package/build/0.33dc9c4e7ff3674d9767.manager.bundle.js +2 -0
- package/build/0.33dc9c4e7ff3674d9767.manager.bundle.js.LICENSE.txt +8 -0
- package/build/0.766ec708.iframe.bundle.js +3 -0
- package/build/0.766ec708.iframe.bundle.js.LICENSE.txt +8 -0
- package/build/0.766ec708.iframe.bundle.js.map +1 -0
- package/build/1.df1e283b64c3b077d1d9.manager.bundle.js +1 -0
- package/build/1.e417aea4.iframe.bundle.js +1 -0
- package/build/2.cb77c95c.iframe.bundle.js +1 -0
- package/build/5.2eeada73a5a6c7b0cd1f.manager.bundle.js +2 -0
- package/build/5.2eeada73a5a6c7b0cd1f.manager.bundle.js.LICENSE.txt +31 -0
- package/build/6.3ce3c7ab.iframe.bundle.js +3 -0
- package/build/6.3ce3c7ab.iframe.bundle.js.LICENSE.txt +31 -0
- package/build/6.3ce3c7ab.iframe.bundle.js.map +1 -0
- package/build/6.a7507fca9c658216586f.manager.bundle.js +1 -0
- package/build/7.6a0a053da7ff8f1db3f2.manager.bundle.js +1 -0
- package/build/7.fee36cac.iframe.bundle.js +1 -0
- package/build/8.2d25d0a1.iframe.bundle.js +1 -0
- package/build/8.aa8ac6018b46273507aa.manager.bundle.js +2 -0
- package/build/8.aa8ac6018b46273507aa.manager.bundle.js.LICENSE.txt +12 -0
- package/build/9.204571e881c92f8a964c.manager.bundle.js +1 -0
- package/build/9.a687f48f.iframe.bundle.js +3 -0
- package/build/9.a687f48f.iframe.bundle.js.LICENSE.txt +12 -0
- package/build/9.a687f48f.iframe.bundle.js.map +1 -0
- package/build/README.md +24 -10
- package/build/components/cardMenu/cardMenu.d.ts +1 -1
- package/build/components/cardMenu/styled/menuListStyled.d.ts +3 -3
- package/build/components/chip/chipMultiselect/multiSelectChip.d.ts +1 -1
- package/build/components/common/imageComponent.d.ts +9 -1
- package/build/components/common/index.d.ts +1 -0
- package/build/components/common/type/ButtonVariant.d.ts +1 -1
- package/build/components/flag/availableFLags.d.ts +1 -1
- package/build/components/icon/index.d.ts +1 -0
- package/build/components/index.d.ts +40 -0
- package/build/components/menu/menu.d.ts +1 -1
- package/build/components/modal/index.d.ts +1 -0
- package/build/components/modal/modalTitle.d.ts +6 -0
- package/build/components/radioButton/radioButton.d.ts +1 -1
- package/build/components/selectInput/formControlSelectStyled.d.ts +3 -3
- package/build/components/slider/containerStyled.d.ts +1 -1
- package/build/components/slider/slider.d.ts +1 -1
- package/build/components/snackbar/snackbar.d.ts +1 -1
- package/build/components/snackbar/snackbarMessage.d.ts +1 -1
- package/build/components/tab/tabStyled.d.ts +6 -6
- package/build/components/table/index.d.ts +1 -0
- package/build/components/table/table.d.ts +28 -0
- package/build/components/table/tableStyled.d.ts +13 -0
- package/build/design/index.d.ts +1 -0
- package/build/design/skoda/components/theme.table.d.ts +2 -0
- package/build/design/skoda/index.d.ts +11 -0
- package/build/design/skoda/theme.typography.d.ts +14 -0
- package/build/favicon.ico +0 -0
- package/build/iframe.html +364 -0
- package/build/index.d.ts +4 -49
- package/build/index.es.js +2 -16
- package/build/index.es.js.map +1 -1
- package/build/index.html +61 -0
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/main.3840901df90dd083b4ea.manager.bundle.js +1 -0
- package/build/main.806934b5.iframe.bundle.js +3 -0
- package/build/main.806934b5.iframe.bundle.js.LICENSE.txt +1 -0
- package/build/main.806934b5.iframe.bundle.js.map +1 -0
- package/build/organisms/carousel/carousel.d.ts +1 -1
- package/build/organisms/common/cardOpacitylayer/cardOpacityTyping.d.ts +2 -2
- package/build/organisms/common/styled/cardStandardWrapperStyled.d.ts +4 -4
- package/build/organisms/index.d.ts +11 -0
- package/build/organisms/textCta/textCta.d.ts +1 -1
- package/build/project.json +1 -0
- package/build/runtime~main.b30bbf9c.iframe.bundle.js +1 -0
- package/build/runtime~main.ead85a8c1e113e6795fd.manager.bundle.js +1 -0
- package/build/static/media/SKODANextIcons-Filled.0e492d79.eot +0 -0
- package/build/static/media/SKODANextIcons-Filled.7317ebb2.woff +0 -0
- package/build/static/media/SKODANextIcons-Regular.3b094ecb.eot +0 -0
- package/build/static/media/SKODANextIcons-Regular.559f49af.woff +0 -0
- package/build/static/media/appStoreBadge.259ec290.svg +34 -0
- package/build/static/media/background.dbb870d5.png +0 -0
- package/build/static/media/carImage.055bf136.png +0 -0
- package/build/static/media/card-1.bec96667.png +0 -0
- package/build/static/media/card-10.dde832b5.png +0 -0
- package/build/static/media/card-11.c7f2cdba.png +0 -0
- package/build/static/media/card-12.84bc54c5.png +0 -0
- package/build/static/media/card-2.3f1df52e.png +0 -0
- package/build/static/media/card-3.59fa00a9.png +0 -0
- package/build/static/media/card-4.e6cac270.png +0 -0
- package/build/static/media/card-5.0583bfb0.png +0 -0
- package/build/static/media/card-6.aa115fc9.png +0 -0
- package/build/static/media/card-7.c2ea3f44.png +0 -0
- package/build/static/media/card-8.0dac5bed.png +0 -0
- package/build/static/media/card-9.9394bd2d.png +0 -0
- package/build/static/media/card.56079c63.png +0 -0
- package/build/static/media/defaultEnabledPin.15e223e5.svg +17 -0
- package/build/static/media/defaultHoverPin.ba85496f.svg +17 -0
- package/build/static/media/fallbackCarImage.164dad5c.png +0 -0
- package/build/static/media/lib-schema.c537fb5f.png +0 -0
- package/build/static/media/render-19.9abeffa5.png +0 -0
- package/build/static/media/result_location_pin_small.4286754f.svg +4 -0
- package/build/static/media/result_marker_small.b123df32.svg +4 -0
- package/build/static/media/selectedEnabledPin.bd1d7890.svg +18 -0
- package/build/static/media/selectedHoverPin.a83c18f1.svg +18 -0
- package/build/static/media/selected_location_pin_medium.39190b12.svg +5 -0
- package/build/static/media/selected_location_pin_small.5c681811.svg +6 -0
- package/build/static/media/skodaflow.93fe4ba0.svg +14 -0
- package/build/static/media/tile-1-fallback.d99932a6.png +0 -0
- package/build/static/media/tile-1-hover.53f80ebf.png +0 -0
- package/build/static/media/tile-1.a7da97b7.png +0 -0
- package/build/static/media/tile-2.fc057eeb.png +0 -0
- package/build/static/media/tile-5.b03b7f80.png +0 -0
- package/build/static/media/tile-6.47954eba.png +0 -0
- package/build/static/media/tile-7.5d2c5a2f.png +0 -0
- package/build/utils/index.d.ts +2 -0
- package/build/utils/types.d.ts +5 -5
- package/build/utils/useClosure.d.ts +12 -0
- package/build/vendors~main.6ecdd042.iframe.bundle.js +129 -0
- package/build/vendors~main.6ecdd042.iframe.bundle.js.LICENSE.txt +142 -0
- package/build/vendors~main.6ecdd042.iframe.bundle.js.map +1 -0
- package/build/vendors~main.e852c6caf159717e72f7.manager.bundle.js +2 -0
- package/build/vendors~main.e852c6caf159717e72f7.manager.bundle.js.LICENSE.txt +113 -0
- package/package.json +105 -112
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.ttf +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff2 +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.ttf +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff2 +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.ttf +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff2 +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.ttf +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff +0 -0
- package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff2 +0 -0
- package/theme/skoda/fonts.css +1 -1
- package/theme/skoda/globals.css +7415 -1
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff2 → build/static/media/SKODANext-Black.5dadff19.woff2} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff → build/static/media/SKODANext-Black.e4a12021.woff} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.ttf → build/static/media/SKODANext-Black.eb4d5073.ttf} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.ttf → build/static/media/SKODANext-Bold.1fc363da.ttf} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff2 → build/static/media/SKODANext-Bold.5f6753f2.woff2} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff → build/static/media/SKODANext-Bold.bacaaa7e.woff} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff → build/static/media/SKODANext-Light.05c1f271.woff} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.ttf → build/static/media/SKODANext-Light.28f48bb5.ttf} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff2 → build/static/media/SKODANext-Light.f27110cd.woff2} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff2 → build/static/media/SKODANext-Regular.d40ad0e0.woff2} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff → build/static/media/SKODANext-Regular.e53284b5.woff} +0 -0
- /package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.ttf → build/static/media/SKODANext-Regular.f2887f81.ttf} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type AvailableFlags = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'EU' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export * from './accordion';
|
|
2
|
+
export * from './backdrop';
|
|
3
|
+
export * from './button';
|
|
4
|
+
export * from './banner';
|
|
5
|
+
export * from './cardContainer';
|
|
6
|
+
export * from './cardMenu';
|
|
7
|
+
export * from './checkbox';
|
|
8
|
+
export * from './chip';
|
|
9
|
+
export * from './container';
|
|
10
|
+
export * from './controls';
|
|
11
|
+
export * from './divider';
|
|
12
|
+
export * from './drawer';
|
|
13
|
+
export * from './flag';
|
|
14
|
+
export * from './grid';
|
|
15
|
+
export * from './icon';
|
|
16
|
+
export * from './indicator';
|
|
17
|
+
export * from './label';
|
|
18
|
+
export * from './labelCO2';
|
|
19
|
+
export * from './labelFeature';
|
|
20
|
+
export * from './labelPromotional';
|
|
21
|
+
export * from './labelStatus';
|
|
22
|
+
export * from './menu';
|
|
23
|
+
export * from './menuItem';
|
|
24
|
+
export * from './mobileStepper';
|
|
25
|
+
export * from './modal';
|
|
26
|
+
export * from './numbering';
|
|
27
|
+
export * from './pagination';
|
|
28
|
+
export * from './progressBar';
|
|
29
|
+
export * from './radioButton';
|
|
30
|
+
export * from './selectInput';
|
|
31
|
+
export * from './slider';
|
|
32
|
+
export * from './snackbar';
|
|
33
|
+
export * from './stepper';
|
|
34
|
+
export * from './tab';
|
|
35
|
+
export * from './textArea';
|
|
36
|
+
export * from './textInput';
|
|
37
|
+
export * from './toggleSwitch';
|
|
38
|
+
export * from './tooltip';
|
|
39
|
+
export * from './common';
|
|
40
|
+
export { Typography } from '@mui/material';
|
|
@@ -9,7 +9,7 @@ export interface MenuItemObject {
|
|
|
9
9
|
flag: AvailableFlags;
|
|
10
10
|
title: string;
|
|
11
11
|
}
|
|
12
|
-
export
|
|
12
|
+
export type MenuItems = MenuItemObject[] | string[];
|
|
13
13
|
/**
|
|
14
14
|
* @interface MenuReactUseStateHook
|
|
15
15
|
* @description The use state hook that must be provided to the Menu component.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TypographyProps } from '@mui/material';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export type ModalTitleProps = Omit<TypographyProps, 'variant'>;
|
|
4
|
+
export declare const ModalTitle: import("@emotion/styled").StyledComponent<ModalTitleProps & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -44,4 +44,4 @@ export interface RadioButtonProps extends Omit<HTMLAttributes<HTMLButtonElement>
|
|
|
44
44
|
* @param props RadioButtonProps
|
|
45
45
|
* @returns React Functional Component
|
|
46
46
|
*/
|
|
47
|
-
export declare const RadioButton: React.ForwardRefExoticComponent<Pick<RadioButtonProps, "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "disabled" | "checked" | "error" | "required" | "value" | "label"> & React.RefAttributes<HTMLButtonElement>>;
|
|
47
|
+
export declare const RadioButton: React.ForwardRefExoticComponent<Pick<RadioButtonProps, "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "disabled" | "checked" | "error" | "required" | "value" | "label"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -13,9 +13,9 @@ export declare const FormControlSelectStyled: import("@emotion/styled").StyledCo
|
|
|
13
13
|
size?: "small" | "medium";
|
|
14
14
|
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
|
15
15
|
variant?: "standard" | "outlined" | "filled";
|
|
16
|
-
} & import("@mui/material/OverridableComponent").CommonProps &
|
|
17
|
-
ref?:
|
|
18
|
-
},
|
|
16
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
17
|
+
ref?: import("react").Ref<HTMLDivElement>;
|
|
18
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "children" | "disabled" | "error" | "fullWidth" | "focused" | "hiddenLabel" | "margin" | "required" | "size" | "sx" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
hasError?: boolean;
|
|
21
21
|
hideBg?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type ValueComponentType = 'default' | 'input' | 'labeledInput' | null;
|
|
3
3
|
/**
|
|
4
4
|
* @interface Base defintion of SkodaFlow Slider component independent on core implementation.
|
|
5
5
|
* Properties are inherited from HTML Span element and component functionality is taken from @mui/material/Slider v5.0.1.
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
* @type IconType
|
|
4
4
|
* @description The possible values for the icons.
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type IconType = 'alert' | 'warning' | 'success' | '';
|
|
7
7
|
/**
|
|
8
8
|
* @interface SnackbarProps
|
|
9
9
|
* @description Base definition of SkodaFlow Snackbar independent on core implementation.
|
|
@@ -7,13 +7,13 @@ declare const TabStyled: import("@emotion/styled").StyledComponent<{
|
|
|
7
7
|
classes?: Partial<import("@mui/material/Tab").TabClasses>;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
disableFocusRipple?: boolean;
|
|
10
|
-
icon?: string | import("react").ReactElement<any, string |
|
|
10
|
+
icon?: string | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
11
11
|
iconPosition?: "bottom" | "top" | "start" | "end";
|
|
12
12
|
label?: import("react").ReactNode;
|
|
13
13
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
14
14
|
value?: any;
|
|
15
15
|
wrapped?: boolean;
|
|
16
|
-
} &
|
|
16
|
+
} & Omit<{
|
|
17
17
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions>;
|
|
18
18
|
centerRipple?: boolean;
|
|
19
19
|
children?: import("react").ReactNode;
|
|
@@ -24,14 +24,14 @@ declare const TabStyled: import("@emotion/styled").StyledComponent<{
|
|
|
24
24
|
focusRipple?: boolean;
|
|
25
25
|
focusVisibleClassName?: string;
|
|
26
26
|
LinkComponent?: import("react").ElementType<any>;
|
|
27
|
-
onFocusVisible?:
|
|
27
|
+
onFocusVisible?: import("react").FocusEventHandler<any>;
|
|
28
28
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
29
29
|
tabIndex?: number;
|
|
30
30
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
|
|
31
31
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
|
32
|
-
}, "
|
|
33
|
-
ref?:
|
|
34
|
-
}, "
|
|
32
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
33
|
+
ref?: import("react").Ref<HTMLDivElement>;
|
|
34
|
+
}, "label" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "iconPosition" | "value" | "wrapped"> & {
|
|
35
35
|
theme?: import("@emotion/react").Theme;
|
|
36
36
|
} & {
|
|
37
37
|
isActive?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './table';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, { LegacyRef } from 'react';
|
|
2
|
+
import { AgGridReact } from 'ag-grid-react';
|
|
3
|
+
import { ColDef, ColGroupDef } from 'ag-grid-community';
|
|
4
|
+
export declare enum EnumTableCellPadding {
|
|
5
|
+
checkbox = "checkbox",
|
|
6
|
+
none = "none",
|
|
7
|
+
normal = "normal"
|
|
8
|
+
}
|
|
9
|
+
export declare enum EnumTableCellSize {
|
|
10
|
+
medium = "medium",
|
|
11
|
+
small = "small",
|
|
12
|
+
string = "string"
|
|
13
|
+
}
|
|
14
|
+
export interface TableProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
|
+
gridRef?: LegacyRef<AgGridReact<object>>;
|
|
16
|
+
columnDefs: (ColDef<object> | ColGroupDef<object>)[];
|
|
17
|
+
defaultColDef: object;
|
|
18
|
+
masterDetail: boolean;
|
|
19
|
+
detailCellRendererParams: object;
|
|
20
|
+
rowData: object[];
|
|
21
|
+
pagination: boolean;
|
|
22
|
+
paginationPageSize: number;
|
|
23
|
+
/**
|
|
24
|
+
* Override or extend the styles applied to the component.
|
|
25
|
+
*/
|
|
26
|
+
classes?: object;
|
|
27
|
+
}
|
|
28
|
+
export declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type Marks = boolean | {
|
|
3
|
+
value: number;
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const TableStyled: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: import("react").ElementType<any>;
|
|
9
|
+
} & {
|
|
10
|
+
value: any;
|
|
11
|
+
marks: Marks;
|
|
12
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './skoda';
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use `skodaTheme` object instead
|
|
5
|
+
*/
|
|
3
6
|
export declare const createSkodaTheme: () => Theme;
|
|
7
|
+
export declare const skodaTheme: Theme;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated use `SkodaThemeProvider` instead
|
|
10
|
+
*/
|
|
4
11
|
export declare class SkodaTheme extends React.Component {
|
|
5
12
|
private skodaTheme;
|
|
6
13
|
constructor(props: any);
|
|
7
14
|
render(): JSX.Element;
|
|
8
15
|
}
|
|
16
|
+
export type SkodaThemeProviderProps = {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
export declare const SkodaThemeProvider: React.FC<SkodaThemeProviderProps>;
|
|
@@ -17,6 +17,20 @@ declare module '@mui/material/styles/createTypography' {
|
|
|
17
17
|
subheadline?: CSSProperties;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
declare module '@mui/material/Typography' {
|
|
21
|
+
interface TypographyPropsVariantOverrides {
|
|
22
|
+
body: true;
|
|
23
|
+
h1: true;
|
|
24
|
+
h2: true;
|
|
25
|
+
h3: true;
|
|
26
|
+
h4: true;
|
|
27
|
+
subheadline: true;
|
|
28
|
+
display: true;
|
|
29
|
+
disclaimer: true;
|
|
30
|
+
caption1: true;
|
|
31
|
+
caption2: true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
20
34
|
export declare const getTypography: (element: string, size?: string) => any;
|
|
21
35
|
export declare const getResponsiveTypography: (theme: Theme, element: string) => any;
|
|
22
36
|
export declare const applyTypography: (t: Theme) => Theme;
|
|
Binary file
|